/* [next]/internal/font/google/geist_a71539c9.module.css [app-client] (css) */
@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/fef07dbb0973bf53-s.12tyk43_3sh9u.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/8a480f0b521d4e75-s.0jzbimsg8vl84.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/53b9e256198e5412-s.0-wfv7uh4i7h9.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/7178b3e590c64307-s.0nx0ww8fni_q3.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Geist;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/caa3a2e1cccd8315-s.p.09~u27dqhyhd6.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Geist Fallback;
  src: local(Arial);
  ascent-override: 95.94%;
  descent-override: 28.16%;
  line-gap-override: 0.0%;
  size-adjust: 104.76%;
}

.geist_a71539c9-module__T19VSG__className {
  font-family: Geist, Geist Fallback;
  font-style: normal;
}

.geist_a71539c9-module__T19VSG__variable {
  --font-geist-sans: "Geist", "Geist Fallback";
}

/* [next]/internal/font/google/geist_mono_8d43a2aa.module.css [app-client] (css) */
@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/5ce348bf30bf5439-s.0zgw-jeven.3w.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/4fa387ec64143e14-s.0wkzw~je483f-.woff2") format("woff2");
  unicode-range: U+301, U+400-45F, U+490-491, U+4B0-4B1, U+2116;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/6306c77e7c8268e4-s.0rhz0arwfsn~5.woff2") format("woff2");
  unicode-range: U+2000-2001, U+2004-2008, U+200A, U+23B8-23BD, U+2500-259F;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/7d817b4c03b0c5f1-s.0l76wvqk9d84w.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/bbc41e54d2fcbd21-s.0k4k9394f2q-k.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Geist Mono;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/797e433ab948586e-s.p.08e28id.o-okb.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Geist Mono Fallback;
  src: local(Arial);
  ascent-override: 74.67%;
  descent-override: 21.92%;
  line-gap-override: 0.0%;
  size-adjust: 134.59%;
}

.geist_mono_8d43a2aa-module__8Li5zG__className {
  font-family: Geist Mono, Geist Mono Fallback;
  font-style: normal;
}

.geist_mono_8d43a2aa-module__8Li5zG__variable {
  --font-geist-mono: "Geist Mono", "Geist Mono Fallback";
}

/* [next]/internal/font/google/hanken_grotesk_e9cdc127.module.css [app-client] (css) */
@font-face {
  font-family: Hanken Grotesk;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/91bd2e40df15814e-s.0eq-h7p0~f2-i.woff2") format("woff2");
  unicode-range: U+460-52F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}

@font-face {
  font-family: Hanken Grotesk;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/a63431c4ac64ea8b-s.0-m28h~k~95g~.woff2") format("woff2");
  unicode-range: U+102-103, U+110-111, U+128-129, U+168-169, U+1A0-1A1, U+1AF-1B0, U+300-301, U+303-304, U+308-309, U+323, U+329, U+1EA0-1EF9, U+20AB;
}

@font-face {
  font-family: Hanken Grotesk;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/8b4ed0a90d903ab5-s.18283yqfiehau.woff2") format("woff2");
  unicode-range: U+100-2BA, U+2BD-2C5, U+2C7-2CC, U+2CE-2D7, U+2DD-2FF, U+304, U+308, U+329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: Hanken Grotesk;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../media/c47649aa31f9e140-s.p.11uo_35nso9mn.woff2") format("woff2");
  unicode-range: U+??, U+131, U+152-153, U+2BB-2BC, U+2C6, U+2DA, U+2DC, U+304, U+308, U+329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Hanken Grotesk Fallback;
  src: local(Arial);
  ascent-override: 99.07%;
  descent-override: 30.02%;
  line-gap-override: 0.0%;
  size-adjust: 100.94%;
}

.hanken_grotesk_e9cdc127-module__hr8OWG__className {
  font-family: Hanken Grotesk, Hanken Grotesk Fallback;
  font-style: normal;
}

.hanken_grotesk_e9cdc127-module__hr8OWG__variable {
  --font-hanken: "Hanken Grotesk", "Hanken Grotesk Fallback";
}

/* [project]/app/globals.css [app-client] (css) */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-ordinal: initial;
      --tw-slashed-zero: initial;
      --tw-numeric-figure: initial;
      --tw-numeric-spacing: initial;
      --tw-numeric-fraction: initial;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: var(--font-geist-sans);
    --font-mono: var(--font-geist-mono);
    --spacing: .25rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --shadow-xs: 0 1px 2px 0 #0000000d;
    --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --shadow-md: 0 4px 6px -1px #0000001a, 0 2px 4px -2px #0000001a;
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
    --font-headline-lg: var(--font-hanken);
    --font-headline-md: var(--font-hanken);
    --font-label-md: var(--font-sans);
    --text-headline-lg: 30px;
    --text-headline-md: 24px;
    --text-body-sm: 14px;
    --text-label-md: 14px;
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

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

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }

  :root, .theme-light {
    --bg: #fbfaf8;
    --bg-soft: #f5f3f0;
    --surface: #fff;
    --surface-2: #f8f6f4;
    --surface-hover: #f1f0ed;
    --surface-inset: var(--surface-2);
    --border: #e6e4e1;
    --border-soft: #eeecea;
    --border-strong: #d3d1cd;
    --text: #13161c;
    --text-soft: #494d54;
    --text-muted: #777a80;
    --text-faint: #a2a5aa;
    --text-invert: #fff;
    --accent: #105fa6;
    --accent-soft: #ddedff;
    --accent-hover: #005094;
    --accent-ink: #fff;
    --success: #2e9052;
    --success-soft: #d7f9de;
    --warning: #d79628;
    --warning-soft: #ffeed1;
    --danger: #cf4040;
    --danger-soft: #ffece9;
    --info: #338fc7;
    --info-soft: #ddf2ff;
    --shadow-xs: 0 1px 0 0 #14141e0a;
    --shadow-sm: 0 1px 2px 0 #14141e0f, 0 1px 1px 0 #14141e0a;
    --shadow-md: 0 4px 12px -2px #14141e14, 0 2px 4px -2px #14141e0f;
    --shadow-lg: 0 24px 48px -12px #14141e2e;
    --ring: 0 0 0 3px #105fa62e;
    --r-2xs: 3px;
    --r-xs: 4px;
    --r-sm: 6px;
    --r-md: 8px;
    --r-lg: 12px;
    --r-xl: 16px;
    --r-2xl: 20px;
    --r-full: 999px;
    --sp-1: 4px;
    --sp-2: 8px;
    --sp-3: 12px;
    --sp-4: 16px;
    --sp-5: 24px;
    --sp-6: 32px;
    --sp-7: 48px;
    --t-metric: 24px;
    --t-page: 17px;
    --t-section: 13.5px;
    --t-body: 13px;
    --t-secondary: 11.5px;
    --t-data: 12.5px;
    --t-label: 10px;
  }

  @supports (color: lab(0% 0 0)) {
    :root, .theme-light {
      --bg: lab(98.269% .167668 1.12768);
      --bg-soft: lab(95.9519% .224829 1.50441);
      --surface-2: lab(97.109% .167698 1.12771);
      --surface-hover: lab(94.7919% .224859 1.50445);
      --border: lab(90.7347% .282913 1.88171);
      --border-soft: lab(93.6319% .224918 1.50446);
      --border-strong: lab(83.7747% .28348 1.88205);
      --text: lab(7.18098% -.406697 -4.34435);
      --text-soft: lab(32.6778% -.556394 -4.44749);
      --text-muted: lab(51.2468% -.498146 -3.724);
      --text-faint: lab(67.4943% -.413299 -2.98729);
      --accent: lab(38.8558% -.864774 -45.7453);
      --accent-soft: lab(92.9671% -3.53342 -14.2585);
      --accent-hover: lab(32.8975% 1.46185 -47.2633);
      --success: lab(52.937% -40.2472 24.119);
      --success-soft: lab(94.8685% -15.116 8.87547);
      --warning: lab(67.3872% 18.7132 63.1076);
      --warning-soft: lab(95.4141% 6.08665 22.9223);
      --danger: lab(49.4737% 56.8232 34.3326);
      --danger-soft: lab(94.8951% 15.3713 8.32275);
      --info: lab(55.8048% -13.2252 -37.5663);
      --info-soft: lab(94.246% -6.20112 -13.0235);
      --ring: 0 0 0 3px lab(38.8558% -.864774 -45.7453 / .18);
    }
  }

  .theme-dark {
    --bg: #0b0e14;
    --bg-soft: #12151a;
    --surface: #14171d;
    --surface-2: #1b1e24;
    --surface-hover: #1f2329;
    --border: #25292f;
    --border-soft: #1d2126;
    --border-strong: #34383f;
    --text: #f3f5f9;
    --text-soft: #babec4;
    --text-muted: #82868d;
    --text-faint: #5a5e63;
    --text-invert: #0e1217;
    --accent: #5ea8f9;
    --accent-soft: #003362;
    --accent-hover: #7bbcff;
    --accent-ink: #0e1217;
    --success: #56bd78;
    --success-soft: #003918;
    --warning: #f2af48;
    --warning-soft: #492c00;
    --danger: #f66d67;
    --danger-soft: #5c1717;
    --info: #52b5f4;
    --info-soft: #00314d;
    --shadow-xs: 0 1px 0 0 #00000040;
    --shadow-sm: 0 1px 2px 0 #00000061, 0 1px 1px 0 #00000040;
    --shadow-md: 0 4px 12px -2px #00000070;
    --shadow-lg: 0 24px 48px -12px #0000008f;
    --ring: 0 0 0 3px #5ea8f940;
  }

  @supports (color: lab(0% 0 0)) {
    .theme-dark {
      --bg: lab(4.02513% -.24578 -3.15345);
      --bg-soft: lab(6.65439% -.381395 -4.24939);
      --surface: lab(7.73462% -.432767 -4.39254);
      --surface-2: lab(11.2132% -.472777 -4.4093);
      --surface-hover: lab(13.5293% -.512511 -4.77688);
      --border: lab(16.4303% -.531018 -4.78482);
      --border-soft: lab(12.3736% -.4806 -4.41263);
      --border-strong: lab(23.3878% -.59475 -5.16304);
      --text: lab(96.5044% -.267208 -1.87215);
      --text-soft: lab(76.7676% -.512481 -3.73178);
      --text-muted: lab(55.8834% -.546277 -4.09549);
      --text-faint: lab(39.6462% -.487268 -3.71822);
      --text-invert: lab(5.2302% -.310116 -3.72342);
      --accent: lab(66.8994% -5.34192 -47.9829);
      --accent-soft: lab(20.4456% .543341 -33.7922);
      --accent-hover: lab(73.8978% -6.07994 -48.1084);
      --accent-ink: lab(5.2302% -.310116 -3.72342);
      --success: lab(69.3189% -43.1329 25.7322);
      --success-soft: lab(19.8082% -24.9565 15.0682);
      --warning: lab(76.7033% 18.106 60.6421);
      --warning-soft: lab(20.8792% 15.7086 42.3073);
      --danger: lab(63.526% 53.3685 30.8739);
      --danger-soft: lab(20.1159% 31.5737 19.1086);
      --info: lab(69.7493% -15.0731 -40.8312);
      --info-soft: lab(18.634% -6.8495 -24.7751);
      --ring: 0 0 0 3px lab(66.8994% -5.34192 -47.9829 / .25);
    }
  }

  html {
    scroll-behavior: smooth;
    scroll-padding-top: 5.5rem;
  }

  html, body {
    height: 100%;
  }

  body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-geist-sans), -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizelegibility;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .inline-block {
    display: inline-block;
  }

  .inline-flex {
    display: inline-flex;
  }

  .table {
    display: table;
  }

  .h-2\.5 {
    height: calc(var(--spacing) * 2.5);
  }

  .h-3 {
    height: calc(var(--spacing) * 3);
  }

  .h-4 {
    height: calc(var(--spacing) * 4);
  }

  .h-5 {
    height: calc(var(--spacing) * 5);
  }

  .h-7 {
    height: calc(var(--spacing) * 7);
  }

  .h-9 {
    height: calc(var(--spacing) * 9);
  }

  .h-10 {
    height: calc(var(--spacing) * 10);
  }

  .h-20 {
    height: calc(var(--spacing) * 20);
  }

  .h-28 {
    height: calc(var(--spacing) * 28);
  }

  .h-72 {
    height: calc(var(--spacing) * 72);
  }

  .h-full {
    height: 100%;
  }

  .min-h-full {
    min-height: 100%;
  }

  .grow {
    flex-grow: 1;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .animate-pulse {
    animation: var(--animate-pulse);
  }

  .resize {
    resize: both;
  }

  .rounded {
    border-radius: .25rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .uppercase {
    text-transform: uppercase;
  }

  .tabular-nums {
    --tw-numeric-spacing: tabular-nums;
    font-variant-numeric: var(--tw-ordinal, ) var(--tw-slashed-zero, ) var(--tw-numeric-figure, ) var(--tw-numeric-spacing, ) var(--tw-numeric-fraction, );
  }

  .underline {
    text-decoration-line: underline;
  }

  .antialiased {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
  line-height: 1;
  display: inline-block;
}

.bg-mesh {
  background-color: #f8f9ff;
  background-image: radial-gradient(at 0 0, #0053940d 0, #0000 50%), radial-gradient(at 100% 0, #0053940d 0, #0000 50%);
}

.glass-card {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffffb3;
  border: 1px solid #ffffff4d;
}

.mono {
  font-family: var(--font-geist-mono), ui-monospace, "SF Mono", Menlo, monospace;
  font-feature-settings: "tnum";
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.t-metric {
  font-size: var(--t-metric);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}

.t-page {
  font-size: var(--t-page);
  letter-spacing: -.02em;
  font-weight: 600;
  line-height: 1.2;
}

.t-section {
  font-size: var(--t-section);
  letter-spacing: -.005em;
  font-weight: 600;
}

.t-body {
  font-size: var(--t-body);
  font-weight: 400;
}

.t-secondary {
  font-size: var(--t-secondary);
  color: var(--text-muted);
  font-weight: 400;
}

.t-data {
  font-size: var(--t-data);
  font-weight: 500;
  font-family: var(--font-geist-mono), ui-monospace, "SF Mono", Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

.t-label {
  font-size: var(--t-label);
  font-weight: 500;
  font-family: var(--font-geist-mono), ui-monospace, "SF Mono", Menlo, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.btn {
  border-radius: var(--r-md);
  letter-spacing: -.005em;
  cursor: pointer;
  white-space: nowrap;
  border: 1px solid #0000;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background .12s, border-color .12s, color .12s, box-shadow .12s;
  display: inline-flex;
}

.btn:focus-visible {
  box-shadow: var(--ring);
  outline: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: inset 0 1px 0 0 #00000014, var(--shadow-xs);
}

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

.btn-ghost {
  color: var(--text-soft);
  background: none;
}

.btn-ghost:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.btn-outline {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--surface-hover);
  border-color: var(--border-strong);
}

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

.btn-danger:hover {
  background: #b32228;
  background: lab(40.1691% 57.0293 36.0154);
}

.btn-danger-outline {
  background: var(--surface);
  color: var(--danger);
  border-color: var(--danger-soft);
}

.btn-danger-outline:hover {
  background: var(--danger-soft);
  border-color: var(--danger);
}

.btn-success {
  background: var(--success);
  color: #fff;
}

.btn-success:hover {
  background: #137d41;
  background: lab(45.9656% -40.4298 24.3351);
}

.btn-sm {
  border-radius: var(--r-sm);
  height: 30px;
  padding: 0 10px;
  font-size: 12.5px;
}

.btn-icon {
  justify-content: center;
  width: 36px;
  padding: 0;
}

.btn-icon.btn-sm {
  width: 30px;
}

.input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  height: 42px;
  color: var(--text);
  width: 100%;
  padding: 0 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  transition: border-color .12s, box-shadow .12s, background .12s;
}

.input::placeholder {
  color: var(--text-faint);
}

.input:hover {
  border-color: var(--border-strong);
}

.input:focus {
  border-color: var(--accent);
  box-shadow: var(--ring);
  outline: none;
}

.input-sm {
  height: 34px;
  padding: 0 10px;
  font-size: 13px;
}

.field-label {
  font-family: var(--font-label-md);
  font-size: var(--text-label-md);
  color: var(--text-soft);
  margin-bottom: 6px;
  font-weight: 600;
  line-height: 16px;
  display: block;
}

textarea.input {
  resize: vertical;
  height: auto;
  min-height: 84px;
  padding: 10px 14px;
  line-height: 1.5;
}

select.input {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%2398a0aa' stroke-width='1.5'><path d='M3 4.5l3 3 3-3'/></svg>");
  background-position: right 12px center;
  background-repeat: no-repeat;
  padding-right: 34px;
}

.badge {
  height: 20px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  font-family: var(--font-geist-mono), monospace;
  letter-spacing: .02em;
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--text-soft);
  border: 1px solid var(--border);
  align-items: center;
  gap: 4px;
  padding: 0 7px;
  display: inline-flex;
}

.badge-success {
  background: var(--success-soft);
  color: var(--success);
  border-color: #0000;
}

.badge-warning {
  background: var(--warning-soft);
  color: var(--warning);
  border-color: #0000;
}

.badge-danger {
  background: var(--danger-soft);
  color: var(--danger);
  border-color: #0000;
}

.badge-info {
  background: var(--info-soft);
  color: var(--info);
  border-color: #0000;
}

.kbd {
  font-family: var(--font-geist-mono), monospace;
  background: var(--surface-2);
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.card-head {
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px 12px;
  display: flex;
}

.card-head h3 {
  font-family: var(--font-headline-md);
  font-size: var(--text-headline-md);
  color: var(--text);
  letter-spacing: -.005em;
  margin: 0;
  font-weight: 600;
  line-height: 32px;
}

.card-sub {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.3;
}

.app-shell {
  flex-direction: row;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  display: flex;
}

.app-overlay {
  z-index: 90;
  cursor: pointer;
  background: #00000073;
  border: 0;
  padding: 0;
  display: none;
  position: fixed;
  inset: 0;
}

.app-main {
  background: var(--bg);
  flex-direction: column;
  flex: auto;
  min-width: 0;
  display: flex;
  overflow: hidden;
}

.page {
  flex: auto;
  padding: 28px 32px 40px;
  overflow-y: auto;
}

.page-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 24px;
  display: flex;
}

.page-title {
  font-family: var(--font-headline-lg);
  font-size: var(--text-headline-lg);
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0;
  font-weight: 600;
  line-height: 36px;
}

.page-subtitle {
  font-family: var(--font-sans);
  font-size: var(--text-body-sm);
  color: var(--text-soft);
  margin-top: 6px;
  line-height: 20px;
}

.sidebar {
  background: var(--surface);
  border-right: 1px solid var(--border);
  flex-direction: column;
  flex: 0 0 228px;
  width: 228px;
  height: 100vh;
  transition: width .2s, flex-basis .2s;
  display: flex;
  position: relative;
  overflow: hidden;
}

.sidebar.collapsed {
  flex-basis: 64px;
  width: 64px;
}

.sb-brand {
  border-bottom: 1px solid var(--border-soft);
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
  height: 56px;
  padding: 0 16px;
  display: flex;
}

.sb-brand-mark {
  border-radius: var(--r-md);
  background: var(--accent-soft);
  width: 40px;
  height: 40px;
  color: var(--accent);
  letter-spacing: -.02em;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  display: flex;
}

.sb-brand-text {
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  display: flex;
}

.sb-brand-name {
  font-size: var(--t-data);
  color: var(--text);
  letter-spacing: .01em;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  line-height: 1;
  overflow: hidden;
}

.sb-brand-unit {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
  overflow: hidden;
}

.sb-brand-tag {
  font-family: var(--font-geist-mono), monospace;
  color: var(--text-faint);
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

.sb-tenant {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  margin: 0 12px 24px;
  padding: 12px;
  transition: background .12s;
  display: flex;
}

.sb-tenant:hover {
  background: var(--surface-hover);
}

.sb-tenant-logo {
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  width: 32px;
  height: 32px;
  color: var(--accent);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  display: flex;
}

.sb-tenant-name {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.sb-tenant-meta {
  font-family: var(--font-geist-mono), monospace;
  color: var(--text-faint);
  letter-spacing: .02em;
  margin-top: 3px;
  font-size: 10px;
  font-weight: 400;
  line-height: 1;
}

.sb-section {
  padding: 4px 12px 0;
}

.sb-section-title {
  font-family: var(--font-geist-mono), monospace;
  font-weight: 500;
  font-size: var(--t-label);
  color: var(--text-muted);
  letter-spacing: .07em;
  text-transform: uppercase;
  justify-content: space-between;
  align-items: center;
  padding: 14px 10px 6px;
  line-height: 1;
  display: flex;
}

.sb-div {
  background: var(--border-soft);
  height: 1px;
  margin: var(--sp-4) 10px;
}

.sb-lock {
  color: var(--text-faint);
  flex-shrink: 0;
  display: inline-flex;
}

.sb-nav {
  gap: var(--sp-1);
  flex-direction: column;
  padding: 0;
  display: flex;
}

.sb-item {
  border-radius: var(--r-xs);
  height: 32px;
  font-weight: 450;
  font-size: var(--t-body);
  color: var(--text-soft);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 10px;
  font-family: inherit;
  line-height: 1;
  text-decoration: none;
  transition: background .12s, color .12s;
  display: flex;
  position: relative;
}

.sb-item:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.sb-item.active {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.sb-item.active:before {
  content: "";
  background: var(--accent);
  border-radius: 2px;
  width: 2px;
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 0;
}

.sb-icon {
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  flex-shrink: 0;
}

.sb-item:hover .sb-icon {
  color: var(--text);
}

.sb-item.active .sb-icon {
  color: var(--accent);
}

.sb-label {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: auto;
  min-width: 0;
  overflow: hidden;
}

.sb-pin {
  width: 18px;
  height: 18px;
  color: var(--text-faint);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: none;
}

.sb-item:hover .sb-pin {
  display: inline-flex;
}

.sb-pin:hover {
  color: var(--text);
  background: var(--surface-hover);
}

.sb-pin.pinned {
  color: var(--accent);
  display: inline-flex;
}

.sb-badge {
  background: var(--accent-soft);
  height: 17px;
  color: var(--accent);
  border-radius: var(--r-full);
  font-family: var(--font-geist-mono), monospace;
  flex-shrink: 0;
  align-items: center;
  padding: 0 6px;
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
}

.sb-badge-success {
  background: var(--success-soft);
  color: var(--success);
}

.sb-badge-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

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

.sb-scroll {
  padding-top: var(--sp-3);
  padding-bottom: var(--sp-2);
  flex: auto;
  overflow-y: auto;
}

.sb-foot {
  border-top: 1px solid var(--border-soft);
  padding: var(--sp-2);
  flex-shrink: 0;
}

.sb-foot .sb-item {
  height: 30px;
  color: var(--text-muted);
}

.sidebar.collapsed .sb-brand-name, .sidebar.collapsed .sb-brand-tag, .sidebar.collapsed .sb-tenant-info, .sidebar.collapsed .sb-section-title span, .sidebar.collapsed .sb-label, .sidebar.collapsed .sb-pin, .sidebar.collapsed .sb-badge {
  display: none;
}

.sidebar.collapsed .sb-item {
  justify-content: center;
  width: 40px;
  margin: 0 auto;
  padding: 0;
}

.sidebar.collapsed .sb-tenant {
  justify-content: center;
  width: 44px;
  margin: 10px auto;
  padding: 6px;
}

.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  height: 56px;
  padding: 0 var(--sp-5);
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  display: flex;
}

.topbar-title {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  color: var(--text);
  margin: 0;
  overflow: hidden;
}

.topbar-sep {
  background: var(--border);
  flex-shrink: 0;
  width: 1px;
  height: 18px;
}

.topbar-meta {
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12px;
  overflow: hidden;
}

.topbar-spacer {
  flex: auto;
}

.topbar-page-actions {
  align-items: center;
  gap: var(--sp-2);
  flex-shrink: 0;
  display: flex;
}

.topbar-page-actions:empty, .topbar-page-actions:empty + .topbar-sep-actions {
  display: none;
}

.topbar-sep-actions {
  margin: 0 4px 0 6px;
}

.topbar-back {
  border-radius: var(--r-xs);
  height: 30px;
  color: var(--text-soft);
  white-space: nowrap;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
}

.topbar-back:hover {
  background: var(--surface);
  color: var(--text);
}

.topbar-burger {
  border-radius: var(--r-md);
  width: 36px;
  height: 36px;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: 0;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-right: -4px;
  display: none;
}

.topbar-burger:hover {
  background: var(--surface-2);
}

.topbar-search .input {
  background: var(--surface-2);
  border-color: #0000;
  height: 36px;
  padding-left: 36px;
  font-size: 13px;
}

.topbar-search .input:focus {
  background: var(--surface);
  border-color: var(--accent);
}

.topbar-search .kbd {
  pointer-events: none;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

.topbar-actions {
  align-items: center;
  gap: 6px;
  margin-left: auto;
  display: flex;
}

.topbar-ico-btn {
  border-radius: var(--r-md);
  width: 34px;
  height: 34px;
  color: var(--text-soft);
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: center;
  align-items: center;
  transition: background .12s, color .12s;
  display: flex;
  position: relative;
}

.topbar-ico-btn:hover {
  background: var(--surface-2);
  color: var(--text);
}

.topbar-ico-btn .dot {
  background: var(--danger);
  border: 2px solid var(--bg);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 8px;
  right: 9px;
}

.notif-badge {
  background: var(--danger);
  color: #fff;
  border: 2px solid var(--bg);
  pointer-events: none;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  font-weight: 600;
  line-height: 12px;
  display: flex;
  position: absolute;
  top: 2px;
  right: 2px;
}

.notif-popover {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  width: 360px;
  max-width: calc(100vw - 24px);
  box-shadow: var(--shadow-md);
  z-index: 60;
  flex-direction: column;
  display: flex;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  overflow: hidden;
}

.notif-head {
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  display: flex;
}

.notif-list {
  flex-direction: column;
  max-height: 360px;
  display: flex;
  overflow-y: auto;
}

.notif-item {
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  cursor: pointer;
  background: none;
  grid-template-columns: 28px 1fr 12px;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  transition: background .12s;
  display: grid;
  position: relative;
}

.notif-item:last-child {
  border-bottom: 0;
}

.notif-item:hover {
  background: var(--surface-hover);
}

.notif-item-unread {
  background: var(--accent-soft);
}

@supports (color: color-mix(in lab, red, red)) {
  .notif-item-unread {
    background: color-mix(in oklch, var(--accent-soft) 40%, var(--surface));
  }
}

.notif-item-unread:hover {
  background: var(--accent-soft);
}

@supports (color: color-mix(in lab, red, red)) {
  .notif-item-unread:hover {
    background: color-mix(in oklch, var(--accent-soft) 60%, var(--surface));
  }
}

.notif-icon {
  border-radius: 999px;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  display: flex;
}

.notif-icon-info {
  background: var(--info-soft);
  color: var(--info);
}

.notif-icon-warning {
  background: var(--warning-soft);
  color: var(--warning);
}

.notif-icon-critical {
  background: var(--danger-soft);
  color: var(--danger);
}

.notif-content {
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  display: flex;
}

.notif-title {
  color: var(--text);
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.3;
}

.notif-body {
  color: var(--text-muted);
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.4;
}

.notif-meta {
  color: var(--text-faint);
  overflow-wrap: anywhere;
  margin-top: 2px;
  font-size: 11px;
}

.notif-dot {
  background: var(--accent);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-top: 6px;
}

.notif-foot {
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  display: flex;
}

@media (max-width: 640px) {
  .notif-popover {
    width: auto;
    max-width: none;
    position: fixed;
    top: 64px;
    left: 12px;
    right: 12px;
  }

  .notif-list {
    max-height: calc(100dvh - 220px);
  }
}

.user-menu {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  z-index: 60;
  width: 244px;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  overflow: hidden;
  box-shadow: 0 8px 24px -8px #14161e2e;
}

.user-menu-name {
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
}

.user-menu-role {
  color: var(--text-faint);
  text-transform: capitalize;
  margin-top: 2px;
  font-size: 11px;
}

.user-menu-item {
  border-radius: var(--r-xs);
  width: 100%;
  height: 32px;
  color: var(--text);
  font-size: var(--t-data);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 9px;
  padding: 0 10px;
  text-decoration: none;
  transition: background .12s, color .12s;
  display: flex;
}

.user-menu-item:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.user-menu-item-danger:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.user-menu-item-disabled, .user-menu-item-disabled:hover {
  color: var(--text-faint);
  cursor: default;
  background: none;
}

.user-menu-id {
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  display: flex;
}

.user-menu-avatar {
  background: var(--accent);
  width: 34px;
  height: 34px;
  color: var(--accent-ink);
  letter-spacing: .02em;
  border-radius: 5px;
  flex-shrink: 0;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  display: grid;
}

.user-menu-id-text {
  min-width: 0;
}

.user-menu-unit {
  border-bottom: 1px solid var(--border-soft);
  padding: 10px 14px;
}

.user-menu-unit-name {
  font-size: var(--t-data);
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 7px;
  font-weight: 500;
  overflow: hidden;
}

.user-menu-unit-swap {
  font-size: var(--t-secondary);
  color: var(--text-faint);
  cursor: default;
  margin-top: 8px;
  font-weight: 500;
  display: inline-block;
}

.user-menu-items {
  padding: var(--sp-1);
}

.user-menu-ico {
  color: var(--text-muted);
  flex-shrink: 0;
}

.user-menu-key {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-label);
  color: var(--text-muted);
}

.user-menu-item-danger {
  color: var(--danger);
  border-top: 1px solid var(--border-soft);
  border-radius: 0;
}

.user-menu-item-danger .user-menu-ico {
  color: var(--danger);
}

.notif-menu-foot {
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
  color: var(--accent);
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: block;
}

.notif-menu-foot:hover {
  background: var(--surface-hover);
}

.bell-count {
  border-radius: var(--r-full);
  background: var(--danger);
  color: #fff;
  min-width: 14px;
  height: 14px;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  text-align: center;
  padding: 0 3px;
  font-size: 9px;
  font-weight: 600;
  line-height: 14px;
  position: absolute;
  top: 3px;
  right: 3px;
}

.settings-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  display: grid;
}

.settings-card-link {
  color: inherit;
  text-decoration: none;
  display: block;
}

.settings-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  transition: border-color .12s, background .12s, transform .12s;
  display: grid;
}

.settings-card-link:hover .settings-card:not(.settings-card-disabled) {
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.settings-card-disabled {
  opacity: .6;
  cursor: not-allowed;
}

.settings-card-icon {
  border-radius: var(--r-md);
  background: var(--accent-soft);
  width: 44px;
  height: 44px;
  color: var(--accent);
  justify-content: center;
  align-items: center;
  display: flex;
}

.settings-card-title {
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
}

.settings-card-desc {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 12.5px;
  line-height: 1.45;
}

.settings-card-arrow {
  color: var(--text-faint);
}

.settings-row {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  display: flex;
}

.settings-row-title {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}

.settings-row-desc {
  color: var(--text-muted);
  margin-top: 3px;
  font-size: 12.5px;
  line-height: 1.4;
}

.avatar-preview {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 92px;
  height: 92px;
  display: flex;
  overflow: hidden;
}

.avatar-preview img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.avatar-preview-fallback {
  color: var(--text);
  background: linear-gradient(135deg, #d36d61, #bd404d);
  background: linear-gradient(135deg, lab(58.1888% 39.9895 25.7274), lab(46.0775% 51.5294 21.3935));
  -webkit-text-fill-color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-size: 28px;
  font-weight: 600;
}

.user-row-avatar {
  object-fit: cover;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: block;
}

.user-row-avatar-fallback {
  color: #fff;
  background: linear-gradient(135deg, #d36d61, #bd404d);
  background: linear-gradient(135deg, lab(58.1888% 39.9895 25.7274), lab(46.0775% 51.5294 21.3935));
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  display: flex;
}

.breadcrumbs a:hover {
  color: var(--text);
}

:is(.card:has( > .t-table), .card:has( > .t-table-wrap), .t-table-wrap) {
  -webkit-overflow-scrolling: touch;
  overflow-x: auto;
}

.t-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 13px;
}

.t-table th {
  text-align: left;
  font-family: var(--font-geist-mono), monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
  padding: 10px 14px;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
}

.t-table td {
  border-bottom: 1px solid var(--border-soft);
  color: var(--text);
  vertical-align: middle;
  padding: 12px 14px;
}

.t-table tbody tr:hover td {
  background: var(--surface-hover);
}

.t-table tbody tr:last-child td {
  border-bottom: none;
}

.t-table .t-num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dash-kpis, .dash-stats, .dash-bottom {
  gap: 14px;
  display: grid;
}

.dash-kpis {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 20px;
}

.dash-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 20px;
}

.dash-bottom {
  grid-template-columns: 1.4fr 1fr;
}

.dash-grid {
  grid-template-columns: 1.6fr 1fr;
  align-items: start;
  gap: 20px;
  display: grid;
}

.dash-stack {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.modal-backdrop {
  z-index: 100;
  background: #00000073;
  justify-content: center;
  align-items: center;
  padding: 16px;
  display: flex;
  position: fixed;
  inset: 0;
}

.modal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 420px;
  padding: 22px;
}

.modal-title {
  color: var(--text);
  letter-spacing: -.01em;
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 600;
}

.modal-actions {
  gap: 8px;
  margin-top: 16px;
  display: flex;
}

.modal-actions .btn {
  flex: 1 1 0;
  justify-content: center;
}

.card-body {
  padding: 14px 18px 18px;
}

.form-stack {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.form-field-full {
  grid-column: 1 / -1;
}

.form-field-span-2 {
  grid-column: span 2;
}

.form-field {
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  display: flex;
}

.form-field-error {
  color: var(--danger);
  margin: 2px 0 0;
  font-size: 12px;
}

.form-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 4px;
  display: flex;
}

.form-banner-error {
  background: var(--danger-soft);
  color: var(--danger);
  border-radius: var(--r-md);
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
}

.form-banner-success {
  background: var(--success-soft);
  color: var(--success);
  border-radius: var(--r-md);
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  display: flex;
}

.pdv-grid {
  grid-template-columns: minmax(0, 1fr) 400px;
  align-items: start;
  gap: 16px;
  display: grid;
}

.pdv-col {
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  display: flex;
}

.pdv-card-body {
  padding: 0 18px 16px;
}

.pdv-results {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  background: var(--surface);
  max-height: 320px;
  margin-top: 10px;
  overflow: hidden auto;
}

.pdv-result {
  border: 0;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  cursor: pointer;
  width: 100%;
  color: var(--text);
  background: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  font-family: inherit;
  transition: background .12s;
  display: flex;
}

.pdv-result:last-child {
  border-bottom: 0;
}

.pdv-result:hover:not(:disabled) {
  background: var(--surface-hover);
}

.pdv-result:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.pdv-result-info {
  min-width: 0;
}

.pdv-result-name {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
}

.pdv-result-meta {
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 3px;
  font-size: 11.5px;
  display: flex;
}

.pdv-result-meta .mono {
  font-size: 11px;
}

.pdv-result-empty {
  color: var(--danger);
}

.pdv-result-price {
  color: var(--text);
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 600;
}

.pdv-cart {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pdv-cart-row {
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  display: flex;
}

.pdv-cart-info {
  flex: 200px;
  min-width: 0;
}

.pdv-cart-name {
  color: var(--text);
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
}

.pdv-cart-sku {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 11px;
}

.pdv-cart-ctrl {
  flex-shrink: 0;
  align-items: flex-end;
  gap: 10px;
  display: flex;
}

.pdv-cart-field {
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.pdv-cart-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1;
}

.pdv-cart-field-total {
  align-items: flex-end;
}

.pdv-cart-price {
  text-align: right;
  width: 92px;
  padding: 0 8px;
}

.pdv-cart-qty {
  text-align: center;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  width: 44px;
  padding: 0 4px;
}

.pdv-cart-qty::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdv-cart-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.pdv-cart-qty {
  -moz-appearance: textfield;
}

.pdv-cart-stepper {
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--surface);
  align-items: stretch;
  height: 32px;
  display: inline-flex;
  overflow: hidden;
}

.pdv-cart-stepper:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 2px var(--accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .pdv-cart-stepper:focus-within {
    box-shadow: 0 0 0 2px color-mix(in oklch, var(--accent) 22%, transparent);
  }
}

.pdv-cart-stepper .pdv-cart-qty {
  background: none;
  border: 0;
  outline: none;
  width: 44px;
  height: 100%;
}

.pdv-cart-step-btn {
  background: var(--surface-2);
  width: 30px;
  color: var(--text);
  cursor: pointer;
  border: 0;
  justify-content: center;
  align-items: center;
  transition: background .12s, color .12s;
  display: inline-flex;
}

.pdv-cart-step-btn:hover:not(:disabled) {
  background: var(--surface-hover);
}

.pdv-cart-step-btn:disabled {
  color: var(--text-faint);
  cursor: not-allowed;
  opacity: .6;
}

.pdv-cart-total {
  min-width: 92px;
  height: 32px;
  color: var(--text);
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
}

.pdv-cart-remove {
  border-radius: var(--r-sm);
  width: 32px;
  height: 32px;
  color: var(--text-faint);
  cursor: pointer;
  background: none;
  border: 0;
  justify-content: center;
  align-self: flex-end;
  align-items: center;
  transition: background .12s, color .12s;
  display: inline-flex;
}

.pdv-cart-remove:hover {
  background: var(--danger-soft);
  color: var(--danger);
}

.pdv-discount {
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 18px;
  display: flex;
}

.pdv-totals {
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
  padding: 12px 18px 16px;
}

.pdv-totals-row {
  color: var(--text-soft);
  justify-content: space-between;
  padding: 3px 0;
  font-size: 13px;
  display: flex;
}

.pdv-totals-strong {
  border-top: 1px solid var(--border);
  color: var(--text);
  margin-top: 6px;
  padding-top: 8px;
  font-size: 16px;
  font-weight: 700;
}

.pdv-submit-wrap {
  display: flex;
}

.pdv-submit {
  justify-content: center;
  width: 100%;
  height: 48px;
  font-size: 15px;
  font-weight: 600;
}

.auth-shell {
  background: var(--bg);
  grid-template-columns: 1fr;
  min-height: 100dvh;
  display: grid;
}

@media (min-width: 900px) {
  .auth-shell {
    grid-template-columns: minmax(360px, 1fr) minmax(420px, 1fr);
  }
}

.auth-brand {
  display: none;
}

@media (min-width: 900px) {
  .auth-brand {
    background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
    border-right: 1px solid var(--border);
    flex-direction: column;
    justify-content: space-between;
    padding: 56px 56px 40px;
    display: flex;
  }
}

.auth-brand-row {
  align-items: center;
  gap: 12px;
  display: flex;
}

.auth-brand-mark {
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--accent), var(--accent-hover));
  width: 36px;
  height: 36px;
  color: var(--accent-ink);
  letter-spacing: -.02em;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  display: inline-flex;
}

.auth-brand-name {
  letter-spacing: -.01em;
  color: var(--text);
  font-size: 18px;
  font-weight: 600;
}

.auth-brand-tag {
  color: var(--text-muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 10px 0 0;
  font-size: 11.5px;
}

.auth-brand-pitch {
  max-width: 380px;
}

.auth-brand-headline {
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 26px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
}

.auth-brand-features {
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.auth-brand-features li {
  color: var(--text-soft);
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  display: flex;
}

.auth-brand-icon {
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  width: 26px;
  height: 26px;
  color: var(--accent);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  margin-top: 1px;
  display: inline-flex;
}

.auth-brand-foot {
  color: var(--text-faint);
  letter-spacing: .04em;
  margin: 0;
  font-size: 11.5px;
}

.auth-main {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  display: flex;
  position: relative;
}

.auth-topbar {
  position: absolute;
  top: 16px;
  right: 16px;
}

.auth-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  width: 100%;
  max-width: 380px;
  box-shadow: var(--shadow-md);
  padding: 32px 28px;
}

.auth-mobile-brand {
  color: var(--text);
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  font-size: 14px;
  font-weight: 600;
  display: flex;
}

.auth-mobile-brand .auth-brand-mark {
  border-radius: var(--r-sm);
  width: 28px;
  height: 28px;
  font-size: 14px;
}

@media (min-width: 900px) {
  .auth-mobile-brand {
    display: none;
  }
}

.auth-title {
  letter-spacing: -.015em;
  color: var(--text);
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 600;
}

.auth-sub {
  color: var(--text-muted);
  margin: 0;
  font-size: 13.5px;
  line-height: 1.45;
}

.auth-submit {
  justify-content: center;
  width: 100%;
  height: 42px;
  margin-top: 4px;
  font-size: 14px;
}

.auth-help {
  color: var(--text-faint);
  text-align: center;
  margin: 22px 0 0;
  font-size: 12px;
  line-height: 1.45;
}

.auth-foot-mobile {
  color: var(--text-faint);
  letter-spacing: .04em;
  margin-top: 24px;
  font-size: 11.5px;
}

@media (min-width: 900px) {
  .auth-foot-mobile {
    display: none;
  }
}

.flash-toast {
  z-index: 200;
  background: var(--surface);
  border: 1px solid var(--danger);
  border-radius: var(--r-md);
  max-width: 360px;
  box-shadow: var(--shadow-md);
  border-left-width: 4px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  animation: .18s ease-out flash-toast-in;
  display: flex;
  position: fixed;
  top: 76px;
  right: 16px;
}

.flash-toast-icon {
  background: var(--danger-soft);
  width: 24px;
  height: 24px;
  color: var(--danger);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  display: flex;
}

.flash-toast-msg {
  color: var(--text);
  flex: auto;
  font-size: 13px;
  line-height: 1.4;
}

.flash-toast-close {
  border-radius: var(--r-sm);
  width: 22px;
  height: 22px;
  color: var(--text-faint);
  cursor: pointer;
  background: none;
  border: 0;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  display: flex;
}

.flash-toast-close:hover {
  background: var(--surface-hover);
  color: var(--text);
}

@keyframes flash-toast-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal-on-scroll {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
  transform: translateY(24px);
}

.reveal-left {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
  transform: translateX(-40px);
}

.reveal-right {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .8s cubic-bezier(.16, 1, .3, 1), transform .8s cubic-bezier(.16, 1, .3, 1);
  transform: translateX(40px);
}

.reveal-visible {
  opacity: 1;
  transform: translate(0) !important;
}

.delay-100 {
  transition-delay: .1s;
}

.delay-200 {
  transition-delay: .2s;
}

.delay-300 {
  transition-delay: .3s;
}

.delay-500 {
  transition-delay: .5s;
}

.sb-brand-logo {
  border-radius: var(--r-md);
  background: var(--accent-soft);
  width: 40px;
  height: 40px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  padding: 4px;
  display: flex;
}

.sb-brand-logo img {
  object-fit: contain;
  width: 32px;
  height: 32px;
}

.sb-brand-name {
  font-family: var(--font-headline-md, var(--font-sans));
  color: var(--text);
  letter-spacing: -.005em;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.sb-brand-name b {
  letter-spacing: .04em;
  text-transform: uppercase;
  font-weight: 800;
}

.sb-item-disabled {
  color: var(--text-faint);
  cursor: not-allowed;
  pointer-events: auto;
}

.sb-item-disabled .sb-icon {
  opacity: .6;
}

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

.sb-collapse-btn:hover {
  color: var(--text);
}

.user-chip {
  border-radius: var(--r-md);
  height: 32px;
  color: var(--text);
  cursor: pointer;
  background: none;
  border: 1px solid #0000;
  align-items: center;
  gap: 8px;
  padding: 0 8px 0 4px;
  transition: background .12s, border-color .12s;
  display: inline-flex;
}

.user-chip:hover {
  background: var(--surface-hover);
  border-color: var(--border);
}

.user-chip-avatar {
  background: var(--accent);
  width: 26px;
  height: 26px;
  color: var(--accent-ink);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  display: inline-flex;
}

.user-chip-name {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: 140px;
  font-size: 13px;
  font-weight: 500;
  overflow: hidden;
}

.topbar-divider {
  background: var(--border);
  width: 1px;
  height: 22px;
  margin: 0 4px;
}

.user-menu-email {
  color: var(--text-muted);
  word-break: break-all;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.3;
}

.sb-item-wrap {
  align-items: center;
  display: flex;
  position: relative;
}

.sb-item-wrap .sb-item {
  flex: 1;
  min-width: 0;
}

.sb-pin {
  width: 22px;
  height: 22px;
  color: var(--text-faint);
  border-radius: var(--r-sm);
  cursor: pointer;
  opacity: 0;
  background: none;
  border: 0;
  place-items: center;
  transition: opacity .12s, background .12s, color .12s;
  display: grid;
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
}

.sb-item-wrap:hover .sb-pin, .sb-pin.pinned {
  opacity: 1;
}

.sb-pin:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.sb-pin.pinned {
  color: var(--accent);
}

.sidebar.collapsed .sb-pin {
  display: none;
}

.topbar-search {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  height: 32px;
  color: var(--text-muted);
  cursor: text;
  text-align: left;
  align-items: center;
  gap: 8px;
  width: 100%;
  max-width: 320px;
  padding: 0 10px;
  transition: background .12s, border-color .12s;
  display: inline-flex;
}

.topbar-search-icon, .topbar-search .kbd {
  flex-shrink: 0;
}

.notif-menu {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  min-width: 320px;
  max-width: 380px;
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 420px;
  padding: 6px;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  overflow-y: auto;
}

.notif-menu-head {
  border-bottom: 1px solid var(--border-soft);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding: 8px 10px 10px;
  display: flex;
}

.notif-row {
  border-radius: var(--r-sm);
  color: var(--text);
  padding: 10px 12px;
  text-decoration: none;
  transition: background .12s;
  display: block;
}

.notif-row:hover {
  background: var(--surface-hover);
}

.notif-row-title {
  font-size: 13px;
  font-weight: 500;
}

.notif-row-body {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.4;
}

.notif-empty {
  text-align: center;
  color: var(--text-muted);
  padding: 24px 16px;
  font-size: 13px;
}

.toast-stack {
  z-index: 200;
  pointer-events: none;
  flex-direction: column;
  gap: 8px;
  display: flex;
  position: fixed;
  top: 16px;
  right: 16px;
}

.toast {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--text-muted);
  border-radius: var(--r-md);
  min-width: 240px;
  max-width: 380px;
  box-shadow: var(--shadow-md);
  color: var(--text);
  pointer-events: auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 13px;
  animation: .22s toast-in;
  display: flex;
}

.toast-success {
  border-left-color: var(--success);
  color: var(--text);
}

.toast-info {
  border-left-color: var(--info);
}

.toast-warning {
  border-left-color: var(--warning);
}

.toast-danger {
  border-left-color: var(--danger);
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.modal-backdrop {
  z-index: 150;
  background: #00000073;
  background: lab(0% 0 0 / .45);
  place-items: center;
  padding: 24px;
  animation: .16s modal-fade;
  display: grid;
  position: fixed;
  inset: 0;
}

@keyframes modal-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 520px;
  max-height: calc(100dvh - 48px);
  padding: 24px;
  animation: .18s cubic-bezier(.16, 1, .3, 1) modal-in;
  overflow-y: auto;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(8px)scale(.98);
  }

  to {
    opacity: 1;
    transform: translateY(0)scale(1);
  }
}

.modal-title {
  letter-spacing: -.01em;
  color: var(--text);
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
}

.modal-sub {
  color: var(--text-muted);
  margin: 0 0 18px;
  font-size: 13.5px;
  line-height: 1.5;
}

.modal-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 20px;
  display: flex;
}

.drawer-backdrop {
  z-index: 140;
  background: #0006;
  background: lab(0% 0 0 / .4);
  justify-content: flex-end;
  animation: .18s modal-fade;
  display: flex;
  position: fixed;
  inset: 0;
}

.drawer-panel {
  background: var(--surface);
  border-left: 1px solid var(--border);
  height: 100dvh;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  max-width: 96vw;
  animation: .24s cubic-bezier(.16, 1, .3, 1) drawer-in;
  display: flex;
}

@keyframes drawer-in {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.drawer-head {
  border-bottom: 1px solid var(--border-soft);
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 22px;
  display: flex;
}

.drawer-eyebrow {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 11.5px;
  font-family: var(--font-mono);
  font-weight: 500;
}

.drawer-title {
  letter-spacing: -.01em;
  color: var(--text);
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 600;
}

.drawer-body {
  flex: 1;
  padding: 22px;
  overflow-y: auto;
}

.drawer-section + .drawer-section {
  margin-top: 22px;
}

.drawer-h {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 10px;
  font-size: 11.5px;
  font-weight: 600;
}

.drawer-foot {
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 22px;
  display: flex;
}

.skeleton {
  background: var(--surface-2);
  position: relative;
  overflow: hidden;
}

.skeleton:after {
  content: "";
  background: linear-gradient(90deg, #0000, #ffffff0d, #0000);
  background: linear-gradient(90deg, #0000, lab(100% 0 0 / .05), #0000);
  animation: 1.4s linear infinite skeleton-shimmer;
  position: absolute;
  inset: 0;
}

@keyframes skeleton-shimmer {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(100%);
  }
}

.empty {
  text-align: center;
  color: var(--text-muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 36px 24px;
  display: flex;
}

.empty-title {
  color: var(--text);
  margin-top: 6px;
  font-size: 14px;
  font-weight: 600;
}

.empty-sub {
  color: var(--text-muted);
  max-width: 320px;
  font-size: 13px;
}

.empty-action {
  margin-top: 12px;
}

.field-hint {
  color: var(--text-muted);
  margin-top: 4px;
  font-size: 12px;
}

.field-error {
  color: var(--danger);
  margin-top: 4px;
  font-size: 12px;
}

.input-group {
  align-items: center;
  display: flex;
  position: relative;
}

.input-group .ig-icon {
  pointer-events: none;
  color: var(--text-muted);
  align-items: center;
  display: inline-flex;
  position: absolute;
  left: 10px;
}

.input-group .input, .input-group input {
  padding-left: 32px;
}

.checkbox {
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
  color: var(--text);
  align-items: center;
  gap: 8px;
  font-size: 13px;
  display: inline-flex;
}

.checkbox input[type="checkbox"] {
  opacity: 0;
  pointer-events: none;
  position: absolute;
}

.checkbox .box {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  border-radius: 4px;
  place-items: center;
  width: 16px;
  height: 16px;
  transition: background .12s, border-color .12s;
  display: inline-grid;
}

.checkbox input:checked + .box {
  background: var(--accent);
  border-color: var(--accent);
}

.checkbox input:checked + .box:after {
  content: "";
  border: 2px solid var(--accent-ink);
  border-top: 0;
  border-right: 0;
  width: 9px;
  height: 5px;
  transform: rotate(-45deg)translate(1px, -1px);
}

.checkbox input:focus-visible + .box {
  box-shadow: 0 0 0 3px var(--ring);
}

.badge-accent {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #0000;
}

.btn-ghost-x {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  border-radius: var(--r-sm);
  cursor: pointer;
  background: none;
  border: 0;
  place-items: center;
  transition: background .12s, color .12s;
  display: inline-grid;
}

.btn-ghost-x:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.command-palette {
  max-width: 600px;
  padding: 0;
  overflow: hidden;
}

.command-palette-input {
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  display: flex;
}

.command-palette-input .input {
  color: var(--text);
  background: none;
  border: 0;
  flex: 1;
  height: auto;
  padding: 0;
  font-size: 15px;
}

.command-palette-input .input:focus {
  box-shadow: none;
  outline: none;
}

.command-palette-body {
  min-height: 200px;
  max-height: 60dvh;
  padding: 8px;
  overflow-y: auto;
}

.kbd {
  font-family: var(--font-mono);
  background: var(--surface-inset, var(--surface-2));
  border: 1px solid var(--border);
  color: var(--text-muted);
  letter-spacing: .04em;
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 10.5px;
  font-weight: 500;
}

.form-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  display: grid;
}

.settings-layout {
  grid-template-columns: 220px 1fr;
  align-items: start;
  gap: 24px;
  display: grid;
}

.settings-nav {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  flex-direction: column;
  gap: 2px;
  padding: 6px;
  display: flex;
  position: sticky;
  top: 20px;
}

.settings-nav-item {
  border-radius: var(--r-md);
  height: 36px;
  color: var(--text-soft);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 0;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 0 10px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .12s, color .12s;
  display: flex;
}

.settings-nav-item:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.settings-nav-item.on {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}

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

.list-row {
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  transition: background .12s;
  display: flex;
}

.list-row:last-child {
  border-bottom: 0;
}

.list-row:hover {
  background: var(--surface-hover);
}

.list-row .grow {
  flex: 1;
  min-width: 0;
}

.list-row .title {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 500;
}

.list-row .sub {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 12px;
}

.list-row .meta {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  font-size: 12px;
}

.avatar-sm {
  background: var(--surface-2);
  width: 32px;
  height: 32px;
  color: var(--text-soft);
  letter-spacing: -.02em;
  border-radius: 50%;
  flex-shrink: 0;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  display: inline-grid;
  overflow: hidden;
}

.avatar-sm img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.avatar-sm.a-1 {
  color: #604100;
  color: lab(30.3383% 11.7981 51.2807);
  background: #f5e2c0;
  background: lab(90.8506% 2.9456 19.4581);
}

.avatar-sm.a-2 {
  color: #00512a;
  color: lab(29.363% -32.2878 16.7087);
  background: #d1f1db;
  background: lab(92.486% -13.97 7.15996);
}

.avatar-sm.a-3 {
  color: #004d75;
  color: lab(30.2185% -9.13744 -31.0345);
  background: #cbe9ff;
  background: lab(90.7677% -6.89405 -14.6157);
}

.avatar-sm.a-4 {
  color: #5f3369;
  color: lab(28.8932% 27.0332 -23.2222);
  background: #f7defd;
  background: lab(91.2086% 13.1693 -11.9559);
}

.avatar-sm.a-5 {
  color: #822b2a;
  color: lab(31.524% 37.8087 22.4439);
  background: #ffdad7;
  background: lab(90.302% 13.8282 7.48261);
}

.avatar-sm.a-6 {
  color: #005358;
  color: lab(31.3499% -31.0288 -12.6693);
  background: #c3eef0;
  background: lab(91.1653% -14.2111 -5.92352);
}

.theme-dark .avatar-sm.a-1 {
  color: #f2cb83;
  color: lab(83.9262% 7.54759 40.9995);
  background: #442f00;
  background: lab(21.1352% 6.99346 31.6861);
}

.theme-dark .avatar-sm.a-2 {
  color: #95deae;
  color: lab(82.7647% -31.3871 16.1222);
  background: #0f3620;
  background: lab(19.5805% -19.113 9.85245);
}

.theme-dark .avatar-sm.a-3 {
  color: #91d3ff;
  color: lab(81.451% -13.3351 -31.8042);
  background: #0a3149;
  background: lab(18.7367% -6.48668 -18.7621);
}

.theme-dark .avatar-sm.a-4 {
  color: #e8b6f3;
  color: lab(80.0458% 26.5512 -23.6218);
  background: #3d2143;
  background: lab(17.7558% 18.8774 -16.2834);
}

.theme-dark .avatar-sm.a-5 {
  color: #ffbab3;
  color: lab(82.6137% 37.288 20.6504);
  background: #4f1a18;
  background: lab(18.0069% 25.1663 14.7585);
}

.theme-dark .avatar-sm.a-6 {
  color: #72dee4;
  color: lab(82.4158% -31.4208 -12.9654);
  background: #003538;
  background: lab(19.3759% -18.7171 -7.66354);
}

.toggle-btn {
  border-radius: var(--r-full);
  background: var(--border-strong);
  cursor: pointer;
  border: 0;
  flex-shrink: 0;
  width: 32px;
  height: 18px;
  transition: background .15s;
  position: relative;
}

.toggle-btn[aria-pressed="true"] {
  background: var(--accent);
}

.toggle-btn:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  transition: left .15s;
  position: absolute;
  top: 2px;
  left: 2px;
  box-shadow: 0 1px 2px #0003;
}

.toggle-btn[aria-pressed="true"]:after {
  left: 16px;
}

.integrations-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
  display: grid;
}

.settings-card-foot {
  border-top: 1px solid var(--border-soft);
  justify-content: flex-end;
  padding: 12px 18px;
  display: flex;
}

.cat-pill {
  border-radius: var(--r-full);
  height: 30px;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  font-size: 13px;
  font-weight: 500;
  transition: background .12s, color .12s, border-color .12s;
  display: inline-flex;
}

.cat-pill:hover {
  background: var(--surface-hover);
  color: var(--text);
  border-color: var(--border-strong);
}

.cat-pill.on {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #0000;
  font-weight: 600;
}

.cat-count {
  border-radius: var(--r-full);
  background: var(--surface-2);
  color: var(--text-muted);
  text-align: center;
  min-width: 20px;
  padding: 1px 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.cat-pill.on .cat-count {
  background: var(--accent);
  color: var(--accent-ink);
}

.plans-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  display: grid;
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  flex-direction: column;
  padding: 20px;
  transition: box-shadow .12s, border-color .12s;
  display: flex;
  position: relative;
}

.plan-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.plan-card-new {
  cursor: pointer;
  text-align: center;
  background: none;
  border-style: dashed;
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.plan-card-new:hover {
  background: var(--surface-hover);
  border-style: solid;
  border-color: var(--border-strong);
}

.plan-badge {
  border-radius: 0 0 var(--r-sm) var(--r-sm);
  background: var(--accent);
  color: var(--accent-ink);
  letter-spacing: .02em;
  text-transform: uppercase;
  padding: 2px 8px;
  font-size: 10.5px;
  font-weight: 700;
  display: inline-block;
  position: absolute;
  top: -1px;
  right: 14px;
}

.plan-badge-discount {
  background: var(--success);
  color: #fff;
  left: 14px;
  right: auto;
}

.plan-features {
  flex-direction: column;
  flex: 1;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.plan-features li {
  color: var(--text-soft);
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  line-height: 1.4;
  display: flex;
}

.plan-feat-icon {
  color: var(--success);
  flex-shrink: 0;
  margin-top: 2px;
}

.modal-body {
  flex-direction: column;
  gap: 14px;
  padding: 4px 0 8px;
  display: flex;
}

.modal-panel.wide {
  max-width: 600px;
}

.modal-panel.xwide {
  max-width: min(1120px, 96vw);
}

.modal-panel.xwide:has(.modal-scroll) > .modal-scroll {
  min-height: min(62dvh, 460px);
}

.modal-panel.xwide .wizard-steps {
  overflow: visible;
}

.modal-panel.xwide .wizard-step {
  flex: 1 1 0;
  justify-content: center;
  padding: 10px 6px;
}

.modal-scroll {
  min-height: 0;
  overflow-y: auto;
}

.modal-panel:has(.modal-scroll) {
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.modal-panel:has(.modal-scroll) > .modal-scroll {
  flex: auto;
  max-height: none;
}

.modal-panel:has(.modal-scroll) > .modal-actions {
  border-top: 1px solid var(--border-soft);
  margin-top: 0;
  padding-top: 14px;
}

.modal-tabs {
  border-bottom: 1px solid var(--border-soft);
  flex-direction: row;
  gap: 2px;
  margin: 14px 0 0;
  display: flex;
}

.modal-tabs button {
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: 7px;
  margin-bottom: -1px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 500;
  transition: color .15s, border-color .15s;
  display: inline-flex;
}

.modal-tabs button:hover {
  color: var(--text);
}

.modal-tabs button.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.form-section-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  border-top: 1px solid var(--border-soft);
  margin-top: 8px;
  padding: 4px 0 2px;
  font-size: 11.5px;
  font-weight: 600;
}

.plan-hint {
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  display: flex;
}

.plan-hint-icon {
  border-radius: var(--r-sm);
  background: var(--accent);
  color: #fff;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.edit-scope {
  flex-direction: column;
  gap: 8px;
  display: flex;
}

.scope-opt {
  border-radius: var(--r-md);
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  text-align: left;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  transition: border-color .15s, background .15s;
  display: flex;
}

.scope-opt:hover {
  border-color: var(--border-strong);
}

.scope-opt.on {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.scope-radio {
  border: 2px solid var(--border-strong);
  border-radius: 50%;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  transition: border-color .15s;
  position: relative;
}

.scope-opt.on .scope-radio {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px var(--surface);
}

.scope-title {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.scope-sub {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 12px;
}

.recipients {
  flex-flow: wrap;
  align-items: center;
  gap: 4px;
  display: flex;
}

.recipients-more {
  color: var(--text-muted);
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 600;
}

.field-warn {
  color: var(--warning);
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 12px;
  display: flex;
}

.daypills {
  flex-flow: wrap;
  gap: 6px;
  display: flex;
}

.daypill {
  border-radius: var(--r-md);
  color: var(--text-soft);
  background: var(--surface-inset);
  border: 1px solid var(--border);
  cursor: pointer;
  padding: 5px 10px;
  font-size: 12.5px;
  font-weight: 500;
  transition: background .15s, color .15s, border-color .15s;
}

.daypill:hover {
  border-color: var(--border-strong);
  color: var(--text);
}

.daypill.on {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.student-chip-sel {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  display: flex;
}

.student-search-wrap {
  position: relative;
}

.student-dropdown {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  z-index: 50;
  max-height: 260px;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  overflow: hidden auto;
}

.student-opt {
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  transition: background .1s;
  display: flex;
}

.student-opt:hover {
  background: var(--surface-inset);
}

.preview-chips {
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  display: flex;
}

.preview-chip {
  border-radius: var(--r-sm);
  background: var(--accent-soft);
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding: 3px 8px;
  font-size: 11.5px;
  font-weight: 500;
}

.preview-chip.more {
  background: var(--surface-inset);
  color: var(--text-muted);
}

.enroll-list {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.enroll-row {
  border-radius: var(--r-sm);
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  transition: background .1s;
  display: flex;
}

.enroll-row:hover {
  background: var(--surface-inset);
}

.checkin-btn {
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  cursor: pointer;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 26px;
  height: 26px;
  transition: background .15s, border-color .15s;
  display: flex;
}

.checkin-btn:hover {
  border-color: var(--success);
}

.checkin-btn.on {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.checkin-empty {
  background: var(--border-strong);
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

.occ-track {
  background: var(--surface-inset);
  border-radius: 3px;
  height: 6px;
  overflow: hidden;
}

.occ-fill {
  border-radius: 3px;
  height: 100%;
  transition: width .3s;
}

.wizard-steps {
  border-bottom: 1px solid var(--border-soft);
  flex-direction: row;
  gap: 0;
  margin: 16px 0 0;
  display: flex;
  overflow-x: auto;
}

.wizard-step {
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  margin-bottom: -1px;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 500;
  transition: color .15s;
  display: flex;
}

.wizard-step:hover {
  color: var(--text);
}

.wizard-step.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.wizard-step.done {
  color: var(--success);
}

.wizard-dot {
  background: var(--surface-inset);
  border: 1.5px solid var(--border-strong);
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 20px;
  height: 20px;
  font-size: 10px;
  font-weight: 700;
  transition: background .15s, border-color .15s, color .15s;
  display: flex;
}

.wizard-step.on .wizard-dot {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.wizard-step.done .wizard-dot {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.wizard-label {
  font-size: 12px;
}

.eva-range {
  width: 100%;
  accent-color: var(--accent);
  cursor: pointer;
  height: 4px;
}

.posture-row {
  align-items: center;
  gap: 14px;
  padding: 8px 4px;
  display: flex;
}

.test-row {
  align-items: center;
  gap: 10px;
  padding: 8px 4px;
  display: flex;
}

.compare-grid {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  flex-direction: column;
  display: flex;
  overflow: hidden;
}

.compare-head {
  color: var(--text-muted);
  background: var(--surface-inset);
  text-transform: uppercase;
  letter-spacing: .04em;
  grid-template-columns: 1fr 80px 80px 70px;
  gap: 8px;
  padding: 8px 14px;
  font-size: 11.5px;
  font-weight: 600;
  display: grid;
}

.compare-row {
  border-top: 1px solid var(--border-soft);
  grid-template-columns: 1fr 80px 80px 70px;
  gap: 8px;
  padding: 10px 14px;
  font-size: 13px;
  display: grid;
}

.compare-row:hover {
  background: var(--surface-inset);
}

.login {
  background: var(--bg);
  flex-direction: row;
  min-height: 100dvh;
  display: flex;
}

.login-brand {
  background: #050a0f;
  background: lab(2.45887% -.457458 -2.86106);
  flex-direction: column;
  flex-shrink: 0;
  justify-content: space-between;
  width: 440px;
  min-width: 360px;
  padding: 48px 48px 40px;
  display: none;
  position: relative;
  overflow: hidden;
}

.theme-dark .login-brand {
  background: #020306;
  background: lab(.896849% -.161096 -.964466);
}

@media (min-width: 900px) {
  .login-brand {
    display: flex;
  }
}

.login-brand-top {
  align-items: center;
  gap: 12px;
  display: flex;
}

.login-brand-mark {
  background: #ffeccc;
  background: lab(94.3094% 3.50529 19.3343);
  border-radius: 50%;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  overflow: hidden;
}

.login-brand-mark img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.login-brand-name {
  color: #fff;
  letter-spacing: -.01em;
  font-size: 18px;
  font-weight: 600;
}

.login-brand-name b {
  font-weight: 800;
}

.login-brand-hero {
  flex-direction: column;
  gap: 32px;
  display: flex;
}

.login-brand-card {
  background: #0f171fb3;
  background: lab(7.17479% -1.28882 -6.94574 / .7);
  border: 1px solid #ffffff14;
  border: 1px solid lab(100% 0 0 / .08);
  border-radius: 16px;
  flex-direction: column;
  align-items: flex-start;
  padding: 28px 24px;
  display: flex;
}

.login-hero-quote {
  color: #fff;
  letter-spacing: -.01em;
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.45;
}

.login-hero-quote em {
  color: #eac992;
  color: lab(82.724% 6.50713 31.9344);
  font-style: italic;
}

.login-hero-sub {
  color: #ffffff8c;
  color: lab(100% 0 0 / .55);
  font-size: 13px;
  line-height: 1.6;
}

.login-stats {
  border-top: 1px solid #ffffff14;
  border-top: 1px solid lab(100% 0 0 / .08);
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0 0;
  display: grid;
}

.login-stat-val {
  color: #fff;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  font-size: 22px;
  font-weight: 700;
}

.login-stat-label {
  color: #ffffff73;
  color: lab(100% 0 0 / .45);
  margin-top: 2px;
  font-size: 12px;
}

.login-form-wrap {
  background: var(--bg);
  flex-direction: column;
  flex: 1;
  justify-content: center;
  align-items: center;
  padding: 40px 24px;
  display: flex;
  position: relative;
}

.login-form {
  flex-direction: column;
  gap: 14px;
  width: 100%;
  max-width: 360px;
  display: flex;
}

.login-form-head {
  margin-bottom: 6px;
}

.login-form-head h1 {
  letter-spacing: -.02em;
  color: var(--text);
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
}

.login-form-head p {
  color: var(--text-muted);
  margin: 0;
  font-size: 13.5px;
}

.login-form-row {
  flex-direction: column;
  gap: 12px;
  display: flex;
}

.login-form-foot {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  display: flex;
}

.divider {
  color: var(--text-muted);
  align-items: center;
  gap: 10px;
  margin: 2px 0;
  font-size: 12px;
  display: flex;
}

.divider:before, .divider:after {
  content: "";
  background: var(--border-soft);
  flex: 1;
  height: 1px;
}

.btn-sso {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--surface);
  width: 100%;
  height: 40px;
  color: var(--text);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  transition: background .15s, border-color .15s;
  display: flex;
}

.btn-sso:hover {
  background: var(--surface-inset);
  border-color: var(--border-strong);
}

.login-legal {
  color: var(--text-muted);
  text-align: center;
  margin-top: 4px;
  font-size: 11.5px;
  line-height: 1.6;
}

.login-legal a {
  color: var(--text-soft);
  text-decoration: underline;
}

.report-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
  display: grid;
}

.report-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  cursor: pointer;
  text-align: left;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  transition: border-color .15s, background .15s, box-shadow .15s;
  display: flex;
}

.report-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2, var(--surface-inset));
}

.report-card.on {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: 0 0 0 1px var(--accent);
}

.report-card-icon {
  border-radius: var(--r-md);
  background: var(--surface-inset);
  width: 38px;
  height: 38px;
  color: var(--text-soft);
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  transition: background .15s, color .15s;
  display: flex;
}

.report-card.on .report-card-icon {
  background: var(--accent);
  color: #fff;
}

.report-card-label {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.report-card-desc {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 11.5px;
  line-height: 1.4;
}

.rev-chart {
  flex-direction: row;
  align-items: flex-end;
  gap: 8px;
  height: 180px;
  display: flex;
}

.rev-bar-col {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 4px;
  display: flex;
}

.rev-bar-val {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  align-items: flex-end;
  height: 14px;
  font-size: 10px;
  display: flex;
}

.rev-bar-vis {
  flex-direction: column;
  flex: 1;
  justify-content: flex-end;
  gap: 2px;
  width: 100%;
  display: flex;
}

.rev-bar-shop {
  background: #0079b4;
  background: lab(47.5913% -12.4826 -40.4206);
  border-radius: 3px 3px 0 0;
  width: 100%;
  min-height: 2px;
  transition: height .3s;
}

.rev-bar-classes {
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  width: 100%;
  min-height: 2px;
  transition: height .3s;
}

.rev-bar-month {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  font-size: 10px;
}

.cat-bar-row {
  grid-template-columns: 160px 1fr 90px 42px;
  align-items: center;
  gap: 10px;
  display: grid;
}

.cat-bar-label {
  color: var(--text-soft);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 12.5px;
  font-weight: 500;
  overflow: hidden;
}

.cat-bar-value {
  color: var(--text);
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
  font-size: 12.5px;
  font-weight: 500;
}

.cat-bar-pct {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  text-align: right;
  font-size: 12px;
}

.seg {
  background: var(--surface-inset);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  flex-direction: row;
  gap: 2px;
  padding: 2px;
  display: flex;
}

.seg button {
  border-radius: var(--r-2xs);
  height: 26px;
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  align-items: center;
  gap: 6px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 500;
  transition: background .15s, color .15s;
  display: inline-flex;
}

.seg button:hover {
  color: var(--text);
}

.seg-count {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-size: 10.5px;
}

.seg button.on .seg-count {
  color: var(--accent);
}

.seg-rooms {
  scrollbar-width: none;
  max-width: 100%;
  overflow-x: auto;
}

.seg-rooms::-webkit-scrollbar {
  display: none;
}

.seg button.on {
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 1px 3px #0000001a;
}

.sched-toolbar {
  flex-flow: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  display: flex;
}

.sched-nav {
  flex-direction: row;
  align-items: center;
  gap: 4px;
  display: flex;
}

.sched-current {
  font-size: var(--t-section);
  color: var(--text);
  letter-spacing: -.01em;
  font-weight: 600;
}

.sched-meta {
  color: var(--text-muted);
  font-size: 12px;
}

.page-head-actions-only {
  margin-bottom: var(--sp-3);
  justify-content: flex-end;
}

.sched-room-tabs {
  border-bottom: 1px solid var(--border-soft);
  scrollbar-width: none;
  flex-direction: row;
  display: flex;
  overflow-x: auto;
}

.sched-room-tabs::-webkit-scrollbar {
  display: none;
}

.sched-room-tab {
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  margin-bottom: -1px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  transition: color .15s, border-color .15s;
  display: flex;
}

.sched-room-tab:hover {
  color: var(--text);
}

.sched-room-tab.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.sched-room-tab .count {
  color: var(--text-muted);
  background: var(--surface-inset);
  border-radius: 10px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 600;
}

.sched-room-tab.on .count {
  color: var(--accent);
  background: var(--accent-soft);
}

.sched-day-list {
  display: none;
}

.sched-day-card {
  border-left: 3px solid #0000;
  border-bottom: 1px solid var(--border-soft);
  flex-direction: row;
  gap: 14px;
  padding: 12px 18px;
  display: flex;
}

.sched-day-card:last-child {
  border-bottom: 0;
}

.sched-day-time {
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 40px;
  font-size: 13px;
  font-weight: 600;
}

.sched-day-meta {
  flex-direction: column;
  gap: 2px;
  display: flex;
}

.sched-day-title {
  color: var(--text);
  font-size: 13.5px;
  font-weight: 600;
}

.sched-day-sub {
  color: var(--text-muted);
  font-size: 12px;
}

.sched-grid-wrap {
  min-height: 300px;
  max-height: calc(100dvh - 330px);
  overflow: auto;
}

.sched-grid-wrap::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.sched-grid-wrap::-webkit-scrollbar-track {
  background: none;
}

.sched-grid-wrap::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 3px;
}

.dw-title {
  font-size: var(--t-page);
  letter-spacing: -.02em;
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

.dw-metric {
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  margin-top: 2px;
  font-size: 28px;
  font-weight: 600;
}

.dw-metric-of {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 400;
}

.dw-name {
  font-size: var(--t-section);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  overflow: hidden;
}

.dw-strong {
  font-size: var(--t-section);
  font-weight: 500;
}

.dw-sub {
  font-size: var(--t-secondary);
  color: var(--text-muted);
}

.dw-hint {
  color: var(--text-muted);
  margin-bottom: var(--sp-1);
  font-size: 12px;
}

.dw-inline {
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--t-data);
  color: var(--text-soft);
  display: inline-flex;
}

.dw-empty {
  padding: var(--sp-5);
  text-align: center;
  font-size: var(--t-body);
  color: var(--text-muted);
}

.dw-grid-2 {
  gap: var(--sp-2);
  grid-template-columns: 1fr 1fr;
  display: grid;
}

.st-views {
  margin-bottom: var(--sp-4);
}

.st-toolbar {
  align-items: center;
  gap: var(--sp-2);
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface);
  min-height: 52px;
  padding: 10px 14px;
  transition: background .15s;
  display: flex;
}

.st-toolbar.has-selection {
  background: var(--accent-soft);
}

.st-filters {
  align-items: center;
  gap: var(--sp-2);
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
  display: flex;
}

.st-search {
  width: 280px;
  max-width: 100%;
}

.st-search .input {
  background: var(--surface-2);
  height: 32px;
}

.st-toggle {
  border: 1px solid var(--border);
  border-radius: var(--r-xs);
  background: var(--surface);
  height: 32px;
  font-size: var(--t-data);
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  -webkit-user-select: none;
  user-select: none;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  font-weight: 500;
  display: inline-flex;
}

.st-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.st-toggle.on {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: #0000;
}

.st-toggle:hover {
  border-color: var(--border-strong);
}

.st-more {
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-xs);
  height: 32px;
  font-size: var(--t-data);
  color: var(--text-muted);
  cursor: pointer;
  background: none;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  display: inline-flex;
}

.st-more:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

.st-result {
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: auto;
  font-size: 12px;
}

.st-sel-count {
  font-size: var(--t-data);
  white-space: nowrap;
  font-weight: 600;
}

.st-sel-clear {
  color: var(--accent);
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
}

.st-sel-div {
  background: var(--accent);
  opacity: .25;
  width: 1px;
  height: 16px;
  margin: 0 2px;
}

.st-sel-danger {
  color: var(--danger);
}

.st-table th.st-th-cb {
  width: 44px;
  padding-right: 0;
}

.st-table th.st-th-act {
  width: 44px;
}

.st-table td {
  height: 50px;
  padding-top: 0;
  padding-bottom: 0;
}

.st-table td.st-td-cb {
  width: 44px;
  padding-right: 0;
}

.st-table td.st-td-act {
  text-align: right;
  padding: 0 12px 0 0;
}

.st-row:hover td {
  background: var(--surface-2);
}

.st-who {
  align-items: center;
  gap: 10px;
  min-width: 0;
  display: flex;
}

.st-table .avatar-sm {
  border-radius: var(--r-xs);
  width: 30px;
  height: 30px;
  font-size: 11px;
}

.st-name {
  font-size: var(--t-body);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 500;
  line-height: 1.25;
  overflow: hidden;
}

.st-sub {
  font-size: var(--t-secondary);
  color: var(--text-muted);
  white-space: nowrap;
  margin-top: 2px;
}

.st-plan {
  font-size: var(--t-data);
}

.st-status {
  font-size: var(--t-data);
  align-items: center;
  gap: 7px;
  display: flex;
}

.st-dot {
  border-radius: var(--r-full);
  background: currentColor;
  flex-shrink: 0;
  width: 6px;
  height: 6px;
}

.st-status-success {
  color: var(--success);
}

.st-status-danger {
  color: var(--danger);
}

.st-status-warning {
  color: var(--warning);
}

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

.st-since {
  padding-left: 13px;
}

.st-freq {
  align-items: center;
  gap: 9px;
  display: flex;
}

.st-freq-num {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-data);
  font-variant-numeric: tabular-nums;
  width: 34px;
  font-weight: 500;
}

.st-freq-track {
  background: var(--surface-hover);
  border-radius: 2px;
  flex-shrink: 0;
  width: 54px;
  height: 3px;
  display: block;
  overflow: hidden;
}

.st-freq-fill {
  border-radius: 2px;
  height: 100%;
  display: block;
}

.st-money {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-data);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  font-weight: 500;
}

.st-money.is-due {
  color: var(--danger);
}

.t-right {
  text-align: right;
}

@media (max-width: 900px) {
  .st-search {
    width: 100%;
  }

  .st-result {
    display: none;
  }
}

.btn-ghost-x.is-open {
  background: var(--surface-hover);
  color: var(--text);
}

.row-menu {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-sm);
  z-index: 60;
  text-align: left;
  padding: 4px;
  position: fixed;
  box-shadow: 0 8px 24px -8px #14161e2e;
}

.row-menu-item {
  border-radius: var(--r-xs);
  width: 100%;
  height: 30px;
  color: var(--text);
  font-size: var(--t-data);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  align-items: center;
  gap: 9px;
  padding: 0 9px;
  font-family: inherit;
  text-decoration: none;
  display: flex;
}

.row-menu-item:hover {
  background: var(--surface-hover);
  color: var(--text);
}

.row-menu-item.has-sep {
  border-top: 1px solid var(--border-soft);
  margin-top: 4px;
}

.row-menu-ico {
  width: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  display: inline-flex;
}

.row-menu-item.is-danger, .row-menu-item.is-danger .row-menu-ico {
  color: var(--danger);
}

.row-menu-item.is-danger:hover {
  background: var(--danger-soft);
}

.row-menu-key {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-label);
  color: var(--text-muted);
}

.sf-layout {
  gap: var(--sp-5);
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
  display: grid;
}

.sf-main {
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  display: flex;
}

.sf-alert {
  background: var(--danger-soft);
  border: 1px solid var(--danger);
  align-items: flex-start;
  gap: 10px;
  padding: 11px 14px;
  display: flex;
}

@supports (color: color-mix(in lab, red, red)) {
  .sf-alert {
    border: 1px solid color-mix(in oklch, var(--danger) 25%, transparent);
  }
}

.sf-alert {
  border-radius: var(--r-sm);
  color: var(--danger);
}

.sf-alert-ico {
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-flex;
}

.sf-alert-title {
  font-size: var(--t-data);
  font-weight: 600;
}

.sf-alert-text {
  opacity: .85;
  margin-top: 3px;
  font-size: 12px;
}

.sf-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.sf-section {
  border: 0;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.sf-section + .sf-section {
  border-top: 1px solid var(--border-soft);
}

.sf-section-head {
  align-items: center;
  gap: 10px;
  padding: 13px 18px 0;
  display: flex;
}

.sf-section-head legend {
  float: left;
  padding: 0;
}

.sf-section-rule {
  background: var(--border-soft);
  flex: 1;
  height: 1px;
}

.sf-section-hint {
  font-size: var(--t-secondary);
  color: var(--text-muted);
  white-space: nowrap;
}

.sf-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px 16px;
  padding: 14px 18px 18px;
  display: grid;
}

.sf-stack {
  flex-direction: column;
  gap: 14px;
  padding: 14px 18px 18px;
  display: flex;
}

.sf-field {
  flex-direction: column;
  gap: 5px;
  min-width: 0;
  display: flex;
}

.sf-span-1 {
  grid-column: span 1;
}

.sf-span-2 {
  grid-column: span 2;
}

.sf-span-3 {
  grid-column: span 3;
}

.sf-span-6 {
  grid-column: span 6;
}

.sf-label {
  font-size: var(--t-secondary);
  color: var(--text-soft);
  letter-spacing: .005em;
  align-items: center;
  gap: 4px;
  font-weight: 600;
  display: flex;
}

.sf-req {
  color: var(--danger);
}

.sf-form .input {
  height: 34px;
  font-size: var(--t-body);
  border-radius: var(--r-xs);
  padding: 0 10px;
}

.sf-form textarea.input {
  resize: vertical;
  height: auto;
  padding: 9px 10px;
  line-height: 1.5;
}

.sf-form select.input:disabled, .sf-form .input:disabled {
  background: var(--surface-2);
  color: var(--text-muted);
  cursor: not-allowed;
}

.sf-field.has-error .input {
  border-color: var(--danger);
  background: var(--danger-soft);
}

@supports (color: color-mix(in lab, red, red)) {
  .sf-field.has-error .input {
    background: color-mix(in oklch, var(--danger-soft) 40%, var(--surface));
  }
}

.sf-msg {
  font-size: var(--t-secondary);
  color: var(--text-muted);
  min-height: 1em;
}

.sf-msg.is-error {
  color: var(--danger);
}

.sf-side {
  flex-direction: column;
  gap: 14px;
  display: flex;
  position: sticky;
  top: 0;
}

.sf-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.sf-id {
  border-bottom: 1px solid var(--border-soft);
  align-items: center;
  gap: 12px;
  padding: 16px;
  display: flex;
}

.sf-avatar {
  border-radius: var(--r-sm);
  background: var(--surface-2);
  width: 44px;
  height: 44px;
  color: var(--text-muted);
  border: 1px solid #0000;
  flex-shrink: 0;
  place-items: center;
  font-size: 15px;
  font-weight: 600;
  display: grid;
}

.sf-avatar.is-draft {
  border: 1px dashed var(--border-strong);
}

.sf-id-text {
  min-width: 0;
}

.sf-id-name {
  font-size: var(--t-section);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: 600;
  overflow: hidden;
}

.sf-id-name.is-draft {
  color: var(--text-muted);
}

.sf-id-status {
  color: var(--text-muted);
  align-items: center;
  gap: 6px;
  margin-top: 3px;
  font-size: 12px;
  display: flex;
}

.sf-id-status.is-active {
  color: var(--success);
}

.sf-id-status .st-dot {
  background: currentColor;
}

.sf-summary {
  padding: 4px 0;
}

.sf-summary-row {
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  display: flex;
}

.sf-summary-label {
  color: var(--text-muted);
  flex: 1;
  font-size: 12px;
}

.sf-summary-value {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-size: 12px;
  font-weight: 500;
}

.sf-summary-value.is-muted {
  color: var(--text-muted);
}

.sf-summary-value.is-success {
  color: var(--success);
}

.sf-summary-value.is-warning {
  color: var(--warning);
}

.sf-summary-value.is-danger {
  color: var(--danger);
}

.sf-check {
  padding: 14px 16px;
}

.sf-check-list {
  flex-direction: column;
  gap: 9px;
  margin-top: 12px;
  display: flex;
}

.sf-check-item {
  font-size: var(--t-data);
  color: var(--text-muted);
  align-items: center;
  gap: 8px;
  display: flex;
}

.sf-check-box {
  border-radius: var(--r-2xs);
  background: var(--surface-hover);
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  flex-shrink: 0;
  place-items: center;
  display: grid;
}

.sf-check-box .sf-check-pending {
  border-radius: var(--r-full);
  border: 1.5px solid var(--text-faint);
  width: 5px;
  height: 5px;
  display: block;
}

.sf-check-item.is-ok {
  color: var(--text-soft);
}

.sf-check-item.is-ok .sf-check-box {
  background: var(--success-soft);
  color: var(--success);
}

.sf-check-item.is-fail {
  color: var(--danger);
}

.sf-check-item.is-fail .sf-check-box {
  background: var(--danger-soft);
  color: var(--danger);
}

.sf-actions {
  gap: var(--sp-2);
  flex-direction: column;
  display: flex;
}

.sf-actions .btn {
  border-radius: var(--r-xs);
  justify-content: center;
}

.sf-actions .btn-primary {
  gap: 7px;
  width: 100%;
  height: 36px;
}

.sf-actions-row {
  gap: var(--sp-2);
  display: flex;
}

.sf-actions-row .btn {
  flex: 1;
  height: 32px;
  padding: 0 10px;
  font-size: 12.5px;
}

.sf-actions-row form {
  flex: 1;
  display: flex;
}

.sf-kbd {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  opacity: .7;
  letter-spacing: .04em;
  font-size: 10px;
}

.sf-footnote {
  font-size: var(--t-secondary);
  color: var(--text-muted);
  text-align: center;
  margin-top: 2px;
}

@media (max-width: 1023px) {
  .sf-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .sf-side {
    position: static;
  }
}

@media (max-width: 640px) {
  .sf-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .sf-span-1, .sf-span-2, .sf-span-3, .sf-span-6 {
    grid-column: span 1;
  }
}

.sched-month {
  min-width: 640px;
}

.sched-month-head, .sched-month-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  display: grid;
}

.sched-month-wd {
  text-align: center;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border-soft);
  padding: 8px 6px 9px;
  font-weight: 500;
}

.sched-month-wd:last-child {
  border-right: 0;
}

.sched-month-cell {
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  cursor: pointer;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
  min-height: 92px;
  padding: 10px 12px;
  transition: background .1s;
  display: flex;
}

.sched-month-cell:nth-child(7n) {
  border-right: 0;
}

.sched-month-cell:hover {
  background: var(--surface-2);
}

.sched-month-cell.is-out {
  background: var(--bg);
  cursor: default;
}

.sched-month-cell.is-out:hover {
  background: var(--bg);
}

.sched-month-cell.is-today {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.sched-month-top {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-2);
  display: flex;
}

.sched-month-num {
  font-size: var(--t-body);
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-weight: 600;
}

.sched-month-cell.is-today .sched-month-num {
  color: var(--accent);
}

.sched-month-pct {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-secondary);
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
}

.sched-month-track {
  background: var(--surface-hover);
  border-radius: 2px;
  height: 3px;
  overflow: hidden;
}

.sched-month-fill {
  border-radius: 2px;
  height: 100%;
}

.sched-month-count {
  font-size: var(--t-secondary);
  color: var(--text-muted);
}

.sched-month-ghost {
  background: var(--border-soft);
  border-radius: 2px;
  width: 70%;
  height: 3px;
  margin-top: 25px;
}

.sched-layout {
  gap: var(--sp-4);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  display: grid;
}

.sched-layout.has-drawer {
  grid-template-columns: minmax(0, 1fr) 360px;
}

.sched-drawer {
  top: var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  min-width: 0;
  max-height: calc(100vh - 190px);
  display: flex;
  position: sticky;
  overflow: hidden;
}

.sched-drawer-inner {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow-y: auto;
}

@media (max-width: 1199px) {
  .sched-layout.has-drawer {
    grid-template-columns: minmax(0, 1fr);
  }

  .sched-drawer {
    max-height: none;
    position: static;
  }
}

.sched-grid {
  grid-template-columns: 54px repeat(7, minmax(0, 1fr));
  min-width: 640px;
  display: grid;
}

.sched-hour {
  height: 56px;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
  background: var(--surface);
  border-right: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
  z-index: 2;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 4px 8px 0;
  font-size: 10.5px;
  font-weight: 500;
  display: flex;
  position: sticky;
  left: 0;
}

.sched-corner, .sched-header-spacer {
  z-index: 3;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  position: sticky;
  top: 0;
}

.day-name {
  z-index: 3;
  background: var(--surface);
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3px;
  padding: 8px 0 9px;
  display: flex;
  position: sticky;
  top: 0;
}

.day-wd {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-label);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.day-num {
  letter-spacing: -.01em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
}

.day-name.is-today .day-wd {
  color: var(--accent);
}

.day-name.is-today .day-num {
  border-radius: var(--r-full);
  background: var(--accent);
  width: 24px;
  height: 24px;
  color: var(--accent-ink);
  justify-content: center;
  align-items: center;
  display: flex;
}

.day-occ {
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
  display: flex;
}

.day-occ-track {
  background: var(--surface-hover);
  border-radius: 2px;
  width: 34px;
  height: 3px;
  overflow: hidden;
}

.day-occ-fill {
  border-radius: 2px;
  height: 100%;
  display: block;
}

.day-occ-pct {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-label);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.day-num {
  width: 28px;
  height: 28px;
  color: var(--text);
  font-variant-numeric: tabular-nums;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
}

.day-num.today {
  background: var(--accent);
  color: var(--accent-fg, #fff);
}

.sched-time {
  color: var(--text-muted);
  text-align: right;
  border-right: 1px solid var(--border-soft);
  font-variant-numeric: tabular-nums;
  background: var(--surface);
  z-index: 2;
  align-items: flex-start;
  height: 56px;
  padding: 6px 8px 0;
  font-size: 11px;
  font-weight: 500;
  display: flex;
  position: sticky;
  left: 0;
}

.sched-slot {
  border-bottom: 1px solid var(--border-soft);
  border-right: 1px solid var(--border-soft);
  cursor: pointer;
  height: 56px;
  transition: background .1s;
  position: relative;
}

.sched-slot:hover {
  background: var(--surface-inset);
}

.sched-slot.now {
  background: #e9f3ff4d;
  background: lab(95.3304% -1.89704 -7.1913 / .3);
}

.sched-now-line {
  background: var(--accent);
  z-index: 2;
  border-radius: 1px;
  height: 2px;
  position: absolute;
  left: 0;
  right: 0;
}

.sched-now-line:before {
  content: "";
  background: var(--accent);
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  top: -3px;
  left: -4px;
}

.sched-event {
  border-radius: var(--r-xs);
  border: 1px solid var(--ev-color);
  background: var(--ev-wash);
  color: var(--text);
  z-index: 1;
  cursor: pointer;
  transition: filter .1s;
  display: flex;
  position: absolute;
  left: 3px;
  right: 3px;
  overflow: hidden;
}

.sched-event:hover {
  filter: brightness(.92);
}

.ev-pilates {
  --ev-color: #ba8400;
  --ev-wash: #fff2db;
}

@supports (color: lab(0% 0 0)) {
  .ev-pilates {
    --ev-color: lab(59.3768% 15.4837 68.6741);
    --ev-wash: lab(96.0256% 2.29272 13.3952);
  }
}

.ev-fisio {
  --ev-color: #0079b4;
  --ev-wash: #e6f5ff;
}

@supports (color: lab(0% 0 0)) {
  .ev-fisio {
    --ev-color: lab(47.5913% -12.4826 -40.4206);
    --ev-wash: lab(95.629% -4.43685 -9.16122);
  }
}

.ev-aval {
  --ev-color: #14874e;
  --ev-wash: #e5f8ea;
}

@supports (color: lab(0% 0 0)) {
  .ev-aval {
    --ev-color: lab(49.4776% -41.7249 21.5535);
    --ev-wash: lab(95.9708% -8.66881 4.4408);
  }
}

.ev-particular {
  --ev-color: #9256a0;
  --ev-wash: #fcecff;
}

@supports (color: lab(0% 0 0)) {
  .ev-particular {
    --ev-color: lab(45.8572% 35.0733 -30.231);
    --ev-wash: lab(95.1943% 7.88081 -7.20909);
  }
}

.theme-dark .ev-pilates {
  --ev-color: #cf9a35;
  --ev-wash: #362607;
}

@supports (color: lab(0% 0 0)) {
  .theme-dark .ev-pilates {
    --ev-color: lab(67.5597% 13.356 58.1654);
    --ev-wash: lab(16.4966% 5.11387 20.9617);
  }
}

.theme-dark .ev-fisio {
  --ev-color: #48a1db;
  --ev-wash: #0b293c;
}

@supports (color: lab(0% 0 0)) {
  .theme-dark .ev-fisio {
    --ev-color: lab(62.7949% -13.8832 -37.6846);
    --ev-wash: lab(15.2782% -5.64541 -15.6762);
  }
}

.theme-dark .ev-aval {
  --ev-color: #53ae77;
  --ev-wash: #0f2e1b;
}

@supports (color: lab(0% 0 0)) {
  .theme-dark .ev-aval {
    --ev-color: lab(64.4491% -38.0516 19.5921);
    --ev-wash: lab(15.9725% -15.8813 8.18039);
  }
}

.theme-dark .ev-particular {
  --ev-color: #b97fc6;
  --ev-wash: #311e36;
}

@supports (color: lab(0% 0 0)) {
  .theme-dark .ev-particular {
    --ev-color: lab(61.1496% 32.1041 -28.1049);
    --ev-wash: lab(14.5953% 13.3927 -11.697);
  }
}

.ev-rail {
  background: var(--ev-color);
  flex-shrink: 0;
  width: 3px;
}

.ev-body {
  flex-direction: column;
  flex: 1;
  gap: 1px;
  min-width: 0;
  padding: 4px 6px;
  display: flex;
}

.ev-head {
  align-items: baseline;
  gap: 4px;
  min-width: 0;
  display: flex;
}

.ev-cap {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
  color: var(--text-soft);
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 600;
}

.theme-dark .ev-pilates {
  color: #fad18a;
  color: lab(86.2059% 8.64077 40.6685);
  background: #3f2900;
  background: lab(18.7719% 8.01353 30.0822);
}

.theme-dark .ev-fisio {
  color: #abdfff;
  color: lab(86.0985% -13.4951 -31.8482);
  background: #042c43;
  background: lab(16.4038% -6.20483 -18.7179);
}

.theme-dark .ev-aval {
  color: #a1ecbb;
  color: lab(87.4063% -31.3588 16.1046);
  background: #09311b;
  background: lab(17.258% -19.1683 9.88864);
}

.theme-dark .ev-particular {
  color: #f4c3ff;
  color: lab(84.6901% 26.5329 -23.6432);
  background: #381c3e;
  background: lab(15.4252% 18.9233 -16.2555);
}

.ev-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
}

.ev-meta {
  color: var(--text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 10.5px;
  overflow: hidden;
}

.legend {
  flex-flow: wrap;
  align-items: center;
  gap: 16px;
  display: flex;
}

.btn-icon {
  padding-left: 8px;
  padding-right: 8px;
}

.eval-head {
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  margin-bottom: 0;
  padding: 0;
  display: flex;
}

.eval-head-main {
  flex-direction: row;
  flex: 1;
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 20px 24px;
  display: flex;
}

.eval-head-actions {
  border-left: 1px solid var(--border-soft);
  flex-flow: wrap;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  display: flex;
}

.eval-tabs {
  border-bottom: 1px solid var(--border-soft);
  flex-flow: row;
  gap: 2px;
  margin: 16px 0 0;
  display: flex;
  overflow-x: auto;
}

.eval-tab {
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  flex-direction: row;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  margin-bottom: -1px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  transition: color .15s, border-color .15s;
  display: flex;
}

.eval-tab:hover {
  color: var(--text);
}

.eval-tab.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.body-diagram {
  justify-content: center;
  gap: 16px;
  display: flex;
}

.body-view {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 6px;
  max-width: 120px;
  display: flex;
}

.body-view-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-size: 11px;
}

.legend-item {
  color: var(--text-soft);
  align-items: center;
  gap: 6px;
  font-size: 12px;
  display: flex;
}

.legend-swatch {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
}

.cat-bar-track {
  background: var(--surface-inset);
  border-radius: 3px;
  height: 6px;
  overflow: hidden;
}

.cat-bar-fill {
  border-radius: 3px;
  height: 100%;
  transition: width .4s;
}

.invoice-hero {
  border-radius: var(--r-md);
  background: var(--surface-inset);
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  padding: 16px 20px;
  display: flex;
}

.invoice-grid {
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
  display: grid;
}

.invoice-lines {
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  overflow: hidden;
}

.invoice-line {
  border-bottom: 1px solid var(--border-soft);
  align-items: flex-start;
  gap: 16px;
  padding: 12px 16px;
  display: flex;
}

.invoice-totals {
  background: var(--surface-inset);
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px;
  display: flex;
}

.ct-row {
  color: var(--text-soft);
  font-variant-numeric: tabular-nums;
  justify-content: space-between;
  font-size: 13px;
  display: flex;
}

.ct-total {
  color: var(--text);
  border-top: 1px solid var(--border-soft);
  margin-top: 4px;
  padding-top: 6px;
  font-size: 14px;
  font-weight: 600;
}

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

.timeline-row {
  align-items: flex-start;
  gap: 14px;
  padding: 10px 0;
  display: flex;
  position: relative;
}

.timeline-row:not(:last-child):after {
  content: "";
  background: var(--border-soft);
  width: 1px;
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 15px;
}

.timeline-dot {
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 32px;
  height: 32px;
  display: flex;
}

.kpi-delta {
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 12px;
  display: inline-flex;
}

.kpi-delta.up {
  color: var(--success);
}

.kpi-delta.down {
  color: var(--danger);
}

.kpi-delta .vs {
  color: var(--text-muted);
  margin-left: 2px;
}

.kpi-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
  display: grid;
}

.kpi {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  display: flex;
}

.kpi-card {
  flex-direction: column;
  gap: 4px;
  padding: 16px 20px;
  display: flex;
}

.kpi-head {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  display: flex;
}

.kpi-icon {
  color: var(--text-muted);
  align-items: center;
  display: flex;
}

.kpi-label {
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: 12px;
  font-weight: 500;
}

.kpi-value {
  color: var(--text);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.1;
}

.kpi-sub {
  color: var(--text-muted);
  margin-top: 2px;
  font-size: 12px;
}

.avatar-lg {
  letter-spacing: -.02em;
  border-radius: 50%;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  width: 72px;
  height: 72px;
  font-size: 22px;
  font-weight: 700;
  display: flex;
  position: relative;
  overflow: hidden;
}

.avatar-lg img {
  object-fit: cover;
  border-radius: 50%;
  width: 100%;
  height: 100%;
}

.avatar-lg.a-1 {
  color: #604100;
  color: lab(30.3383% 11.7981 51.2807);
  background: #f5e2c0;
  background: lab(90.8506% 2.9456 19.4581);
}

.avatar-lg.a-2 {
  color: #00512a;
  color: lab(29.363% -32.2878 16.7087);
  background: #d1f1db;
  background: lab(92.486% -13.97 7.15996);
}

.avatar-lg.a-3 {
  color: #004d75;
  color: lab(30.2185% -9.13744 -31.0345);
  background: #cbe9ff;
  background: lab(90.7677% -6.89405 -14.6157);
}

.avatar-lg.a-4 {
  color: #5f3369;
  color: lab(28.8932% 27.0332 -23.2222);
  background: #f7defd;
  background: lab(91.2086% 13.1693 -11.9559);
}

.avatar-lg.a-5 {
  color: #822b2a;
  color: lab(31.524% 37.8087 22.4439);
  background: #ffdad7;
  background: lab(90.302% 13.8282 7.48261);
}

.avatar-lg.a-6 {
  color: #005358;
  color: lab(31.3499% -31.0288 -12.6693);
  background: #c3eef0;
  background: lab(91.1653% -14.2111 -5.92352);
}

.theme-dark .avatar-lg.a-1 {
  color: #f2cb83;
  color: lab(83.9262% 7.54759 40.9995);
  background: #442f00;
  background: lab(21.1352% 6.99346 31.6861);
}

.theme-dark .avatar-lg.a-2 {
  color: #95deae;
  color: lab(82.7647% -31.3871 16.1222);
  background: #0f3620;
  background: lab(19.5805% -19.113 9.85245);
}

.theme-dark .avatar-lg.a-3 {
  color: #91d3ff;
  color: lab(81.451% -13.3351 -31.8042);
  background: #0a3149;
  background: lab(18.7367% -6.48668 -18.7621);
}

.theme-dark .avatar-lg.a-4 {
  color: #e8b6f3;
  color: lab(80.0458% 26.5512 -23.6218);
  background: #3d2143;
  background: lab(17.7558% 18.8774 -16.2834);
}

.theme-dark .avatar-lg.a-5 {
  color: #ffbab3;
  color: lab(82.6137% 37.288 20.6504);
  background: #4f1a18;
  background: lab(18.0069% 25.1663 14.7585);
}

.theme-dark .avatar-lg.a-6 {
  color: #72dee4;
  color: lab(82.4158% -31.4208 -12.9654);
  background: #003538;
  background: lab(19.3759% -18.7171 -7.66354);
}

.status-dot {
  border: 2px solid var(--surface);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  position: absolute;
  bottom: 2px;
  right: 2px;
}

.status-dot.status-active {
  background: var(--success);
}

.status-dot.status-overdue {
  background: var(--danger);
}

.status-dot.status-paused {
  background: var(--warning);
}

.status-dot.status-inactive {
  background: var(--border-strong);
}

.student-detail {
  flex-direction: column;
  gap: 0;
  display: flex;
}

.student-head {
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  display: flex;
}

.student-head-info {
  flex: 1;
  min-width: 0;
}

.student-head-actions {
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  gap: 8px;
  display: flex;
}

.student-tabs {
  border-bottom: 1px solid var(--border-soft);
  gap: 2px;
  margin-bottom: 20px;
  display: flex;
}

.student-tab {
  color: var(--text-soft);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  border-bottom: 2px solid #0000;
  align-items: center;
  gap: 7px;
  margin-bottom: -1px;
  padding: 10px 14px;
  font-size: 13.5px;
  font-weight: 500;
  transition: color .15s, border-color .15s;
  display: inline-flex;
}

.student-tab:hover {
  color: var(--text);
}

.student-tab.on {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.student-tab-content {
  min-height: 300px;
}

.freq-bar {
  background: var(--surface-inset);
  border-radius: 3px;
  flex: 1;
  min-width: 60px;
  height: 6px;
  overflow: hidden;
}

.freq-fill {
  border-radius: 3px;
  height: 100%;
  transition: width .3s;
}

.freq-chart {
  align-items: flex-end;
  gap: 8px;
  height: 100px;
  display: flex;
}

.freq-bar-col {
  flex-direction: column;
  flex: 1;
  align-items: center;
  gap: 6px;
  display: flex;
}

.freq-bar-vis {
  flex: 1;
  align-items: flex-end;
  width: 100%;
  display: flex;
  position: relative;
}

.freq-bar-bg {
  background: var(--surface-inset);
  border-radius: 3px;
  position: absolute;
  inset: 0;
}

.freq-bar-fg {
  border-radius: 3px;
  width: 100%;
  min-height: 4px;
  position: relative;
}

.freq-bar-label {
  color: var(--text-muted);
  font-size: 10px;
}

.batch-bar {
  background: var(--accent-soft);
  border-bottom: 1px solid var(--border-soft);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  display: flex;
}

.batch-count {
  background: var(--accent);
  min-width: 22px;
  height: 22px;
  color: var(--accent-fg);
  border-radius: 11px;
  justify-content: center;
  align-items: center;
  padding: 0 6px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
}

.data-grid {
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  display: grid;
}

.dash-stats {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  margin-bottom: var(--sp-4);
  display: flex;
  overflow: hidden;
}

.dash-stat {
  border-left: 1px solid var(--border-soft);
  flex: 1;
  min-width: 0;
  padding: 14px 18px;
}

.dash-stat:first-child {
  border-left: 0;
}

.dash-stat-value {
  align-items: baseline;
  gap: 7px;
  margin-top: 7px;
  display: flex;
}

.dash-stat-num {
  font-size: var(--t-metric);
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  font-weight: 600;
  line-height: 1;
}

.dash-stat-unit {
  color: var(--text-muted);
  font-size: 12px;
}

.dash-stat-note {
  font-size: var(--t-secondary);
  color: var(--text-muted);
  margin-top: 6px;
}

.dash-stat-note.warn {
  color: var(--warning);
}

.dash-grid {
  gap: var(--sp-4);
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  align-items: start;
  display: grid;
}

.dash-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.dash-card-head {
  align-items: center;
  gap: var(--sp-3);
  border-bottom: 1px solid var(--border-soft);
  padding: 13px 18px;
  display: flex;
}

.dash-card-title {
  font-size: var(--t-section);
  letter-spacing: -.005em;
  margin: 0;
  font-weight: 600;
}

.dash-card-meta {
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  font-size: 12px;
  overflow: hidden;
}

.dash-card-link {
  color: var(--accent);
  flex-shrink: 0;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
}

.dash-card-foot {
  background: var(--surface-2);
  color: var(--accent);
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  display: block;
}

.dash-card-foot:hover {
  background: var(--surface-hover);
}

.dash-empty {
  text-align: center;
  font-size: var(--t-secondary);
  color: var(--text-muted);
  padding: 28px 18px;
}

.agenda-row {
  border-bottom: 1px solid var(--border-soft);
  align-items: stretch;
  display: flex;
}

.agenda-row:last-child {
  border-bottom: 0;
}

.agenda-time {
  width: 66px;
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-data);
  font-variant-numeric: tabular-nums;
  color: var(--text);
  flex-shrink: 0;
  padding: 13px 0 13px 18px;
  font-weight: 500;
}

.agenda-rule {
  background: var(--border-soft);
  flex-shrink: 0;
  width: 1px;
  position: relative;
}

.agenda-dot {
  border-radius: var(--r-full);
  border: 2px solid var(--surface);
  box-sizing: content-box;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 16px;
  left: -3px;
}

.agenda-main {
  flex: 1;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 12px 16px;
  display: flex;
}

.agenda-info {
  flex: 1;
  min-width: 0;
}

.agenda-title {
  font-size: var(--t-body);
  align-items: center;
  gap: 7px;
  font-weight: 500;
  display: flex;
}

.agenda-chip {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  letter-spacing: .05em;
  text-transform: uppercase;
  border-radius: var(--r-2xs);
  background: var(--surface-2);
  color: var(--text-muted);
  padding: 1px 5px;
  font-size: 9.5px;
  font-weight: 500;
}

.agenda-meta {
  font-size: var(--t-secondary);
  color: var(--text-muted);
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 3px;
  overflow: hidden;
}

.agenda-cap {
  flex-shrink: 0;
  width: 96px;
}

.agenda-cap-num {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-data);
  font-variant-numeric: tabular-nums;
  justify-content: flex-end;
  align-items: baseline;
  gap: 3px;
  display: flex;
}

.agenda-cap-track {
  background: var(--surface-hover);
  border-radius: 2px;
  height: 3px;
  margin-top: 6px;
  overflow: hidden;
}

.agenda-cap-fill {
  border-radius: 2px;
  height: 100%;
}

.attn-row {
  border-bottom: 1px solid var(--border-soft);
  align-items: flex-start;
  gap: 10px;
  padding: 12px 18px;
  text-decoration: none;
  display: flex;
}

.attn-row:last-child {
  border-bottom: 0;
}

.attn-row:hover {
  background: var(--surface-2);
}

.attn-ico {
  border-radius: var(--r-xs);
  flex-shrink: 0;
  place-items: center;
  width: 26px;
  height: 26px;
  display: grid;
}

.attn-title {
  font-size: var(--t-body);
  color: var(--text);
  font-weight: 500;
}

.attn-sub {
  font-size: var(--t-secondary);
  color: var(--text-muted);
  margin-top: 2px;
}

.dash-next {
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
  background: var(--accent-soft);
  border-radius: var(--r-sm);
  border: 1px solid #0000;
  padding: 12px 18px;
  display: flex;
}

.dash-next-text {
  min-width: 0;
  font-size: var(--t-body);
  color: var(--text);
  flex: 1;
}

@media (max-width: 1023px) {
  .dash-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dash-stats {
    flex-wrap: wrap;
  }

  .dash-stats .dash-stat {
    flex: 45%;
  }

  .dash-stats .dash-stat:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 640px) {
  .dash-stats .dash-stat {
    border-left: 0;
    border-top: 1px solid var(--border-soft);
    flex: 100%;
  }

  .dash-stats .dash-stat:first-child {
    border-top: 0;
  }

  .agenda-cap {
    display: none;
  }
}

.dash-legend {
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--t-secondary);
  color: var(--text-muted);
  flex-shrink: 0;
  margin-left: auto;
  display: flex;
}

.dash-legend-item {
  align-items: center;
  gap: 5px;
  display: inline-flex;
}

.dash-swatch {
  border-radius: 2px;
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.dash-chart {
  align-items: flex-end;
  gap: 14px;
  height: 172px;
  padding: 18px 18px 14px;
  display: flex;
}

.dash-bar-col {
  align-items: center;
  gap: var(--sp-2);
  flex-direction: column;
  flex: 1;
  min-width: 0;
  height: 100%;
  display: flex;
}

.dash-bar-area {
  flex: 1;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  display: flex;
}

.dash-bar-track {
  background: var(--accent-soft);
  border-radius: 3px 3px 0 0;
  width: 100%;
  max-width: 46px;
  position: relative;
}

.dash-bar-fill {
  background: var(--accent);
  border-radius: 3px 3px 0 0;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

.dash-bar-label {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-size: 10.5px;
}

.dash-kpis {
  border-top: 1px solid var(--border-soft);
  background: var(--surface-2);
  flex-wrap: wrap;
  gap: 28px;
  padding: 11px 18px;
  display: flex;
}

.dash-kpi-value {
  font-size: var(--t-section);
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
  font-weight: 600;
}

.mix-row {
  border-bottom: 1px solid var(--border-soft);
  padding: 11px 18px;
}

.mix-row:last-child {
  border-bottom: 0;
}

.mix-head {
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-2);
  font-size: var(--t-body);
  display: flex;
}

.mix-count {
  font-family: var(--font-geist-mono), ui-monospace, monospace;
  font-size: var(--t-data);
  font-variant-numeric: tabular-nums;
  color: var(--text-muted);
}

.mix-track {
  background: var(--surface-hover);
  border-radius: 2px;
  height: 4px;
  margin-top: 7px;
  overflow: hidden;
}

.mix-fill {
  background: var(--accent);
  border-radius: 2px;
  height: 100%;
}

@media (max-width: 640px) {
  .dash-kpis {
    gap: var(--sp-4);
  }

  .dash-chart {
    gap: 8px;
    height: 148px;
  }
}

@media (max-width: 767px) {
  .sidebar {
    z-index: 100;
    width: 280px;
    height: 100dvh;
    box-shadow: var(--shadow-lg);
    flex-basis: 280px;
    transition: transform .22s;
    position: fixed;
    top: 0;
    left: 0;
    transform: translateX(-100%);
  }

  .sidebar.mobile-open {
    transform: translateX(0);
  }

  .sidebar.collapsed {
    flex-basis: 280px;
    width: 280px;
  }

  .sidebar.collapsed .sb-brand-name, .sidebar.collapsed .sb-brand-tag, .sidebar.collapsed .sb-tenant-info, .sidebar.collapsed .sb-section-title span, .sidebar.collapsed .sb-label, .sidebar.collapsed .sb-pin, .sidebar.collapsed .sb-badge {
    display: revert;
  }

  .sidebar.collapsed .sb-item {
    justify-content: flex-start;
    width: 100%;
    margin: 0;
    padding: 0 10px;
  }

  .sidebar.collapsed .sb-tenant {
    justify-content: flex-start;
    width: auto;
    margin: 10px;
    padding: 8px 10px;
  }

  .sb-foot > .sb-item:first-child {
    display: none;
  }

  .app-shell.mobile-open .app-overlay {
    display: block;
  }

  .topbar {
    gap: 10px;
    padding: 0 14px;
  }

  .topbar-burger {
    display: inline-flex;
  }

  .topbar-search {
    display: none;
  }

  .topbar-actions {
    gap: 2px;
  }

  .topbar-ico-btn {
    width: 36px;
    height: 36px;
  }

  .breadcrumbs {
    flex: auto;
    min-width: 0;
    overflow: hidden;
  }

  .breadcrumbs > a:first-child, .breadcrumbs > span:not(:last-child), .breadcrumbs > span:last-child .sep {
    display: none;
  }

  .breadcrumbs > span:last-child .current {
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
  }

  .page {
    padding: 18px 14px 28px;
  }

  .page-head {
    gap: 12px;
    margin-bottom: 18px;
  }

  .page-title {
    font-size: 20px;
  }

  .page-subtitle {
    font-size: 12.5px;
  }

  .page > form > .input, .page > form > .input-sm {
    flex: 140px;
    width: auto !important;
    min-width: 0 !important;
  }

  .dash-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .dash-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
  }

  .dash-bottom {
    grid-template-columns: 1fr;
  }

  .kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
  }

  .dash-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .data-grid {
    grid-template-columns: 1fr;
    gap: 12px 0;
  }

  .sales-totals {
    flex-wrap: wrap;
    justify-content: flex-start !important;
    gap: 18px !important;
  }

  .form-grid {
    gap: 12px;
  }

  .form-actions {
    gap: 8px;
  }

  .form-actions .btn {
    flex: auto;
    justify-content: center;
  }

  .form-field-span-2 {
    grid-column: auto;
  }

  .pdv-card-body {
    padding: 0 14px 14px;
  }

  .pdv-cart-row {
    gap: 10px;
    padding: 12px 14px;
  }

  .pdv-cart-info {
    flex: 100%;
  }

  .pdv-cart-ctrl {
    flex-wrap: wrap;
    flex: 100%;
    gap: 12px;
  }

  .pdv-cart-field {
    flex: auto;
  }

  .pdv-cart-field-total {
    flex: none;
    margin-left: auto;
  }

  .pdv-discount, .pdv-totals {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pdv-submit-wrap {
    background: linear-gradient(to top, var(--bg) 70%, transparent);
    z-index: 5;
    margin: 4px -14px -28px;
    padding: 10px 14px 14px;
    position: sticky;
    bottom: 0;
  }

  .pdv-submit {
    height: 46px;
    font-size: 14.5px;
  }
}

@media (max-width: 1023px) {
  .pdv-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .topbar {
    gap: 14px;
    padding: 0 18px;
  }

  .topbar-search {
    max-width: 280px;
  }

  .page {
    padding: 22px 22px 32px;
  }

  .page-title {
    font-size: 22px;
  }

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

  .dash-bottom {
    grid-template-columns: 1fr;
  }

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

  .dash-grid {
    grid-template-columns: 1fr;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-ordinal {
  syntax: "*";
  inherits: false
}

@property --tw-slashed-zero {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-figure {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-spacing {
  syntax: "*";
  inherits: false
}

@property --tw-numeric-fraction {
  syntax: "*";
  inherits: false
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@keyframes pulse {
  50% {
    opacity: .5;
  }
}

/*# sourceMappingURL=%5Broot-of-the-server%5D__0w_-u97._.css.map*/