@import url("./theme.css?v=20260820-1");

:root {
  color-scheme: light;
  --ink-950: var(--text-strong);
  --ink-900: #1c3439;
  --ink-800: var(--text);
  --ink-700: #3f5a60;
  --ink-600: #586f73;
  --ink-500: var(--text-muted);
  --surface: var(--brand-paper);
  --surface-soft: var(--brand-mist-light);
  --surface-blue: var(--brand-sky-pale);
  --line: var(--border);
  --line-strong: var(--border-strong);
  --blue-700: var(--brand-sky-deep);
  --blue-600: var(--brand-sky);
  --blue-500: #5598ad;
  --cyan-500: var(--brand-reflection);
  --green-600: var(--brand-grass-deep);
  --green-100: var(--brand-grass-pale);
  --amber-700: var(--warning);
  --amber-100: var(--warning-pale);
  --red-700: var(--danger);
  --red-100: var(--danger-pale);
  --shadow-sm: 0 1px 2px rgba(13, 43, 49, .06);
  --shadow-md: 0 18px 50px rgba(13, 43, 49, .16);
  --radius-sm: 5px;
  --radius: 8px;
  --radius-lg: 12px;
  --content: 1220px;
  font-family: "Segoe UI Variable", Aptos, "Segoe UI", ui-sans-serif, -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; color: var(--ink-950); background: var(--surface-soft); font-size: 14px; text-rendering: optimizeLegibility; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue-700); text-underline-offset: 3px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(107, 198, 184, .38); outline-offset: 2px; }

.srOnly { position: absolute!important; width: 1px!important; height: 1px!important; padding: 0!important; margin: -1px!important; overflow: hidden!important; clip: rect(0,0,0,0)!important; white-space: nowrap!important; border: 0!important; }
.brandMark { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid #285960; border-radius: 8px; background: var(--brand-pine); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .09em; box-shadow: inset 0 -4px var(--brand-reflection); }
.brandMark--small { width: 36px; height: 36px; border-radius: 6px; text-decoration: none; font-size: 9px; }
.button { display: inline-flex; min-height: 39px; align-items: center; justify-content: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--brand-paper); color: var(--ink-900); font-weight: 680; line-height: 1.1; text-decoration: none; cursor: pointer; transition: border-color .16s, background .16s, color .16s; }
.button:hover { border-color: var(--brand-pine-soft); background: #fff; }
.button--primary { border-color: var(--brand-pine); background: var(--brand-pine); color: #fff; }
.button--primary:hover { border-color: var(--brand-pine-deep); background: var(--brand-pine-deep); }
.button--secondary { border-color: #8fbab5; background: var(--brand-reflection-pale); color: var(--brand-pine); }
.button--secondary:hover { border-color: var(--brand-reflection-deep); background: #d3ede8; }
.button--ghost { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06); color: #fff; }
.button--ghost:hover { background: rgba(255,255,255,.12); }
.button--ghostDark { border-color: var(--line); background: transparent; color: var(--ink-700); }
.button--dangerGhost { border-color: #efc5c9; background: var(--red-100); color: var(--red-700); }
.button--compact { min-height: 33px; padding: 7px 10px; border-radius: 5px; font-size: 12px; }
.button--full { width: 100%; }
.iconButton { display: inline-grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border: 1px solid var(--line); border-radius: 5px; background: var(--brand-paper); color: var(--ink-800); font-size: 17px; cursor: pointer; }
.iconButton:hover { border-color: var(--brand-reflection-deep); background: var(--brand-reflection-pale); }
.iconButton--square { width: 38px; height: 38px; align-self: end; }
.tag { display: inline-flex; width: max-content; align-items: center; min-height: 22px; padding: 3px 7px; border-radius: 4px; background: var(--brand-mist); color: var(--ink-600); font-size: 10px; font-weight: 750; letter-spacing: .035em; text-transform: uppercase; }
.tag--success { background: var(--green-100); color: var(--green-600); }
.tag--warning { background: var(--amber-100); color: var(--amber-700); }
.eyebrow, .panelEyebrow { margin: 0 0 8px; color: var(--brand-grass-deep); font-size: 11px; font-weight: 760; letter-spacing: .065em; text-transform: uppercase; }
.panelEyebrow { margin-bottom: 3px; font-size: 9px; }
.emptyState { color: var(--ink-500); font-size: 13px; line-height: 1.55; }
.fieldLabel { display: grid; gap: 6px; color: var(--ink-600); font-size: 11px; font-weight: 700; }
.fieldLabel select, .searchField input, .axisField select { width: 100%; min-height: 38px; border: 1px solid var(--line-strong); border-radius: 5px; background: #fff; color: var(--ink-900); padding: 8px 10px; }
.fieldLabel--inline { display: flex; align-items: center; gap: 8px; }
.fieldLabel--inline select { min-width: 180px; }
.searchField { display: block; }
.searchField input::placeholder { color: #8a99a9; }
.toastRegion { position: fixed; z-index: 1000; right: 18px; bottom: 18px; display: grid; gap: 8px; pointer-events: none; }
.toast { max-width: 380px; padding: 12px 15px; border: 1px solid var(--brand-reflection); border-radius: 6px; background: var(--brand-pine-deep); color: #fff; box-shadow: var(--shadow-md); font-size: 13px; animation: toast-in .2s ease-out; }
.toast--error { border-color: #ee7a83; background: #671c25; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .001ms!important; transition-duration: .001ms!important; } }
