/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --primary: #009da4;
  --primary-dark: #007a80;
  --primary-darker: #00565a;
  --primary-light: #86ced1;
  --primary-lighter: #cfeced;
  --primary-transparent: #009da414;
  --lime: #0ef0ab;
  --ink: #1c2b2d;
  --text: #333;
  --text-muted: #6b7a7c;
  --grey-light: #f3f6f6;
  --grey: #e2e8e8;
  --grey-dark: #333;
  --bg: #f5f8f8;
  --card: #fff;
  --danger: #d64545;
  --danger-bg: #fbeaea;
  --warn: #c98a12;
  --warn-bg: #fdf3df;
  --ok: #1d9d63;
  --ok-bg: #e2f5ec;
  --info-bg: #e7f5f6;
  --radius: 10px;
  --shadow: 0 1px 3px #102a2c14, 0 4px 14px #102a2c0f;
  --sidebar-w: 248px;
}

* {
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  padding: 0;
  font-family: Segoe UI, system-ui, -apple-system, Roboto, Helvetica Neue, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

a {
  color: var(--primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h1 {
  color: var(--ink);
  margin: 0 0 .25rem;
  font-size: 1.5rem;
}

h2 {
  color: var(--ink);
  margin: 0 0 .75rem;
  font-size: 1.15rem;
}

h3 {
  color: var(--ink);
  margin: 0 0 .5rem;
  font-size: 1rem;
}

.page-subtitle {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  width: var(--sidebar-w);
  color: #d7ecec;
  z-index: 20;
  background: linear-gradient(#0b3d40 0%, #072a2c 100%);
  flex-direction: column;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.sidebar-brand {
  border-bottom: 1px solid #ffffff14;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 14px;
  display: flex;
}

.sidebar-brand img {
  background: #fff;
  border-radius: 6px;
  width: auto;
  height: 34px;
  padding: 3px 7px;
}

.sidebar-brand .brand-text {
  line-height: 1.15;
}

.sidebar-brand .brand-title {
  color: #fff;
  font-size: .95rem;
  font-weight: 700;
}

.sidebar-brand .brand-sub {
  color: #9fc9cb;
  letter-spacing: .04em;
  font-size: .72rem;
}

.sidebar nav {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  padding: 12px 10px;
  display: flex;
}

.nav-link {
  color: #cfe6e7;
  border-radius: 8px;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  font-size: .92rem;
  display: flex;
}

.nav-link:hover {
  background: #ffffff12;
  text-decoration: none;
}

.nav-link.active {
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}

.nav-link .nav-icon {
  text-align: center;
  width: 20px;
}

.sidebar-footer {
  color: #9fc9cb;
  border-top: 1px solid #ffffff14;
  flex-direction: column;
  gap: 6px;
  padding: 14px 18px;
  font-size: .8rem;
  display: flex;
}

.sidebar-footer button {
  color: #d7ecec;
  cursor: pointer;
  background: none;
  border: 1px solid #ffffff40;
  border-radius: 7px;
  padding: 6px 10px;
  font-size: .82rem;
}

.sidebar-footer button:hover {
  background: #ffffff14;
}

.main {
  margin-left: var(--sidebar-w);
  flex: 1;
  max-width: 1400px;
  padding: 28px 32px 60px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  padding: 20px;
}

.card.tight {
  padding: 14px 16px;
}

.grid {
  gap: 16px;
  display: grid;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.grid.cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 1300px) {
  .grid.cols-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .grid.cols-4, .grid.cols-3, .grid.cols-5 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .grid.cols-2, .grid.cols-3, .grid.cols-4, .grid.cols-5 {
    grid-template-columns: 1fr;
  }

  .main {
    padding: 18px 14px 60px;
  }
}

.stat {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

a.card.stat {
  color: inherit;
  text-decoration: none;
}

a.card.stat:hover {
  border-color: var(--primary);
}

.stat .stat-value {
  color: var(--primary-dark);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
}

.stat .stat-label {
  color: var(--text-muted);
  font-size: .85rem;
}

.table-wrap {
  overflow-x: auto;
}

table.data {
  border-collapse: collapse;
  width: 100%;
  font-size: .9rem;
}

table.data th {
  text-align: left;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  border-bottom: 2px solid var(--grey);
  white-space: nowrap;
  padding: 9px 12px;
  font-size: .78rem;
  font-weight: 600;
}

table.data td {
  border-bottom: 1px solid var(--grey-light);
  vertical-align: top;
  padding: 10px 12px;
}

table.data tr:hover td {
  background: var(--primary-transparent);
}

table.data tr.clickable {
  cursor: pointer;
}

.badge {
  white-space: nowrap;
  border-radius: 999px;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  font-size: .76rem;
  font-weight: 600;
  display: inline-flex;
}

.badge.neutral {
  background: var(--grey-light);
  color: var(--text-muted);
}

.badge.info {
  background: var(--info-bg);
  color: var(--primary-darker);
}

.badge.ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.badge.warn {
  background: var(--warn-bg);
  color: var(--warn);
}

.badge.danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.badge.primary {
  background: var(--primary);
  color: #fff;
}

.confidence {
  align-items: center;
  gap: 8px;
  display: inline-flex;
}

.confidence .bar {
  background: var(--grey);
  border-radius: 4px;
  flex-shrink: 0;
  width: 64px;
  height: 7px;
  overflow: hidden;
}

.confidence .bar > span {
  border-radius: 4px;
  height: 100%;
  display: block;
}

.confidence .pct {
  min-width: 38px;
  font-size: .8rem;
  font-weight: 600;
}

.btn {
  cursor: pointer;
  background: var(--primary);
  color: #fff;
  border: 1px solid #0000;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  font-size: .9rem;
  font-weight: 600;
  transition: background .15s;
  display: inline-flex;
}

.btn:hover {
  background: var(--primary-dark);
}

.btn:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.btn.secondary {
  color: var(--primary-dark);
  border-color: var(--primary);
  background: #fff;
}

.btn.secondary:hover {
  background: var(--primary-lighter);
}

.btn.ghost {
  color: var(--text-muted);
  border-color: var(--grey);
  background: none;
}

.btn.ghost:hover {
  background: var(--grey-light);
}

.btn.danger {
  background: var(--danger);
}

.btn.danger:hover {
  background: #b93a3a;
}

.btn.small {
  padding: 5px 11px;
  font-size: .8rem;
}

label.field {
  color: var(--ink);
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
  font-size: .86rem;
  font-weight: 600;
  display: flex;
}

label.field .hint {
  color: var(--text-muted);
  font-size: .78rem;
  font-weight: 400;
}

.grid > label.field {
  justify-content: flex-end;
  margin-bottom: 0;
}

.card .grid:not(:last-child) {
  margin-bottom: 18px;
}

.toggle {
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  display: inline-block;
  position: relative;
}

.toggle input {
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  position: absolute;
  inset: 0;
}

.toggle .slider {
  background: var(--grey);
  pointer-events: none;
  border-radius: 999px;
  transition: background .15s;
  position: absolute;
  inset: 0;
}

.toggle .slider:before {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  transition: transform .15s;
  position: absolute;
  top: 3px;
  left: 3px;
  box-shadow: 0 1px 3px #00000040;
}

.toggle input:checked + .slider {
  background: var(--primary);
}

.toggle input:checked + .slider:before {
  transform: translateX(20px);
}

.action-row {
  border-bottom: 1px solid var(--grey-light);
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 12px 0;
  display: flex;
}

.action-row:last-child {
  border-bottom: none;
}

.action-row .action-text {
  flex: 1;
  min-width: 0;
}

.action-row .action-title {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}

.action-row .action-desc {
  color: var(--text-muted);
  font-size: .8rem;
}

.action-row .btn {
  flex-shrink: 0;
}

input[type="text"], input[type="email"], input[type="password"], input[type="number"], select, textarea {
  border: 1px solid var(--grey);
  color: var(--text);
  background: #fff;
  border-radius: 8px;
  width: 100%;
  padding: 9px 12px;
  font-family: inherit;
  font-size: .92rem;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-transparent);
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

.switch-row {
  border-bottom: 1px solid var(--grey-light);
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  display: flex;
}

.switch-row:last-child {
  border-bottom: none;
}

.switch-row .switch-label {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}

.switch-row .switch-desc {
  color: var(--text-muted);
  font-size: .8rem;
  font-weight: 400;
}

.timeline {
  flex-direction: column;
  display: flex;
}

.tl-step {
  gap: 14px;
  padding-bottom: 20px;
  display: flex;
  position: relative;
}

.tl-step:last-child {
  padding-bottom: 0;
}

.tl-step:before {
  content: "";
  background: var(--grey);
  width: 2px;
  position: absolute;
  top: 34px;
  bottom: 0;
  left: 15px;
}

.tl-step:last-child:before {
  display: none;
}

.tl-dot {
  z-index: 1;
  background: var(--grey-light);
  width: 32px;
  height: 32px;
  color: var(--text-muted);
  border: 2px solid var(--grey);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: .9rem;
  font-weight: 700;
  display: flex;
}

.tl-step.done .tl-dot {
  background: var(--ok-bg);
  border-color: var(--ok);
  color: var(--ok);
}

.tl-step.error .tl-dot {
  background: var(--danger-bg);
  border-color: var(--danger);
  color: var(--danger);
}

.tl-step.waiting .tl-dot {
  background: var(--warn-bg);
  border-color: var(--warn);
  color: var(--warn);
}

.tl-step.running .tl-dot {
  background: var(--info-bg);
  border-color: var(--primary);
  color: var(--primary);
}

.tl-step.skipped .tl-dot {
  background: var(--grey-light);
  border-color: var(--grey);
  color: var(--text-muted);
}

.tl-content {
  flex: 1;
  min-width: 0;
}

.tl-title {
  color: var(--ink);
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  display: flex;
}

.tl-body {
  margin-top: 6px;
  font-size: .86rem;
}

.detail-box {
  background: var(--grey-light);
  border-radius: 8px;
  margin-top: 8px;
  padding: 10px 14px;
  font-size: .84rem;
  overflow-x: auto;
}

.detail-box dt {
  color: var(--ink);
  margin-top: 6px;
  font-weight: 600;
}

.detail-box dd {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0 0 2px;
}

.detail-box pre {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  font-family: Consolas, monospace;
  font-size: .8rem;
}

.alert {
  border-radius: 8px;
  margin-bottom: 14px;
  padding: 11px 14px;
  font-size: .88rem;
}

.alert.info {
  background: var(--info-bg);
  color: var(--primary-darker);
}

.alert.warn {
  background: var(--warn-bg);
  color: #7c5608;
}

.alert.danger {
  background: var(--danger-bg);
  color: var(--danger);
}

.alert.ok {
  background: var(--ok-bg);
  color: var(--ok);
}

.auth-wrap {
  background: linear-gradient(135deg, #072a2c 0%, #0b3d40 55%, #009da4 130%);
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  display: flex;
}

.auth-card {
  background: #fff;
  border-radius: 14px;
  width: 100%;
  max-width: 420px;
  padding: 36px;
  box-shadow: 0 20px 60px #00000059;
}

.auth-card .logo-row {
  justify-content: center;
  margin-bottom: 8px;
  display: flex;
}

.auth-card .logo-row img {
  height: 52px;
}

.auth-card h1 {
  text-align: center;
  font-size: 1.25rem;
}

.auth-card .auth-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 22px;
  font-size: .85rem;
}

.auth-footer {
  text-align: center;
  margin-top: 16px;
  font-size: .85rem;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.row.between {
  justify-content: space-between;
}

.muted {
  color: var(--text-muted);
}

.small {
  font-size: .82rem;
}

.mono {
  font-family: Consolas, monospace;
  font-size: .85em;
}

.mb-0 {
  margin-bottom: 0;
}

.mt-1 {
  margin-top: 8px;
}

.mt-2 {
  margin-top: 16px;
}

.section-title {
  justify-content: space-between;
  align-items: center;
  margin: 26px 0 12px;
  display: flex;
}

.section-title h2 {
  margin: 0;
}

.tabs {
  border-bottom: 2px solid var(--grey);
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 18px;
  display: flex;
}

.tabs button {
  cursor: pointer;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid #0000;
  margin-bottom: -2px;
  padding: 9px 16px;
  font-size: .9rem;
  font-weight: 600;
}

.tabs button.active {
  color: var(--primary-dark);
  border-bottom-color: var(--primary);
}

.spinner {
  border: 2px solid #fff6;
  border-top-color: #fff;
  border-radius: 50%;
  width: 16px;
  height: 16px;
  animation: .8s linear infinite spin;
  display: inline-block;
}

.spinner.dark {
  border-color: var(--grey);
  border-top-color: var(--primary);
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.doc-toolbar {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  display: flex;
}

.doc-meta {
  color: var(--text-muted);
  font-size: .82rem;
}

.doc-layout {
  grid-template-columns: 252px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
  display: grid;
}

@media (max-width: 1100px) {
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-toc {
    max-height: none !important;
    position: static !important;
  }
}

.doc-toc {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-height: calc(100vh - 40px);
  padding: 14px 12px;
  position: sticky;
  top: 18px;
  overflow-y: auto;
}

.doc-toc .toc-title {
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  padding: 0 8px 8px;
  font-size: .72rem;
  font-weight: 700;
}

.doc-toc a {
  color: var(--text);
  border-left: 3px solid #0000;
  border-radius: 6px;
  padding: 6px 8px;
  font-size: .83rem;
  line-height: 1.35;
  display: block;
}

.doc-toc a:hover {
  background: var(--primary-transparent);
  text-decoration: none;
}

.doc-toc a.active {
  border-left-color: var(--primary);
  color: var(--primary-dark);
  background: var(--primary-transparent);
  font-weight: 600;
}

.doc-panel {
  display: none;
}

.doc-panel.active {
  display: block;
}

.doc-section {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 18px;
  padding: 22px 24px;
  scroll-margin-top: 18px;
}

.doc-section > h2 {
  border-bottom: 2px solid var(--grey-light);
  margin-bottom: 14px;
  padding-bottom: 8px;
  font-size: 1.1rem;
}

.doc-section h3 {
  color: var(--primary-darker);
  margin: 20px 0 7px;
  font-size: .95rem;
}

.doc-section h4 {
  color: var(--ink);
  margin: 14px 0 5px;
  font-size: .88rem;
}

.doc-section p {
  margin: 0 0 10px;
}

.doc-section ul, .doc-section ol {
  margin: 0 0 12px;
  padding-left: 22px;
}

.doc-section li {
  margin-bottom: 5px;
}

.doc-section li > ul, .doc-section li > ol {
  margin-top: 5px;
}

.doc-section > :last-child {
  margin-bottom: 0;
}

.doc-lead {
  color: var(--text-muted);
}

dl.doc-kv {
  grid-template-columns: minmax(150px, 260px) 1fr;
  gap: 4px 16px;
  margin: 0 0 12px;
  display: grid;
}

dl.doc-kv dt {
  color: var(--ink);
  font-size: .88rem;
  font-weight: 600;
}

dl.doc-kv dd {
  margin: 0;
  font-size: .9rem;
}

@media (max-width: 760px) {
  dl.doc-kv {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  dl.doc-kv dd {
    margin: 0 0 9px;
  }
}

.doc-note {
  border-left: 3px solid var(--primary);
  background: var(--primary-transparent);
  border-radius: 0 8px 8px 0;
  margin: 0 0 12px;
  padding: 10px 14px;
  font-size: .88rem;
}

.doc-note.warn {
  border-left-color: var(--warn);
  background: var(--warn-bg);
}

.doc-note.danger {
  border-left-color: var(--danger);
  background: var(--danger-bg);
}

.doc-note.ok {
  border-left-color: var(--ok);
  background: var(--ok-bg);
}

.doc-note > :last-child {
  margin-bottom: 0;
}

pre.doc-tree {
  background: var(--grey-light);
  border-radius: 8px;
  margin: 0 0 12px;
  padding: 12px 14px;
  font-family: Consolas, monospace;
  font-size: .78rem;
  line-height: 1.55;
  overflow-x: auto;
}

.doc-flow {
  counter-reset: flow;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 14px;
  display: flex;
}

.doc-flow .flow-step {
  border: 1px solid var(--grey);
  border-radius: 8px;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 13px;
  display: flex;
}

.doc-flow .flow-num {
  background: var(--primary-lighter);
  width: 26px;
  height: 26px;
  color: var(--primary-darker);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
}

.doc-flow .flow-body {
  min-width: 0;
}

.doc-flow .flow-title {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}

.doc-flow .flow-key {
  color: var(--text-muted);
  font-family: Consolas, monospace;
  font-size: .76rem;
}

.doc-flow .flow-text {
  margin-top: 3px;
  font-size: .86rem;
}

table.doc-table {
  border-collapse: collapse;
  width: 100%;
  font-size: .85rem;
}

table.doc-table th {
  text-align: left;
  background: var(--grey-light);
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: .04em;
  border-bottom: 2px solid var(--grey);
  padding: 8px 10px;
  font-size: .76rem;
  font-weight: 600;
}

table.doc-table td {
  border-bottom: 1px solid var(--grey-light);
  vertical-align: top;
  padding: 8px 10px;
}

table.doc-table td:first-child {
  white-space: nowrap;
}

table.doc-table td.wrap:first-child {
  white-space: normal;
}

.doc-print-title {
  display: none;
}

@media print {
  .sidebar, .doc-toc, .tabs, .doc-toolbar, .no-print {
    display: none !important;
  }

  .doc-print-title {
    border-bottom: 2px solid #009da4;
    margin: 0 0 12px;
    padding-bottom: 6px;
    font-size: 1.3rem;
    display: block;
  }

  .main {
    max-width: none;
    margin-left: 0;
    padding: 0;
  }

  .doc-layout {
    display: block;
  }

  .doc-panel {
    display: block !important;
  }

  .doc-panel + .doc-panel {
    page-break-before: always;
  }

  .doc-section {
    box-shadow: none;
    break-inside: avoid;
    border: 1px solid #ccc;
    padding: 14px 16px;
  }

  body {
    background: #fff;
    font-size: 11px;
  }

  a {
    color: inherit;
    text-decoration: none;
  }
}

/*# sourceMappingURL=src_app_globals_0p2ml0n.css.map*/