/* Tela de entrada: formulário à esquerda e painel Ink à direita. Origem: styles/login.css do pacote
   do padrão (artboard E11 · Login), via Hub, com o painel do SAG. Cabe na altura da janela sem
   rolagem; numa janela baixa só o formulário rola. */

.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); height: 100vh; height: 100dvh; min-height: 560px; background: var(--bg); overflow: hidden; }
.auth-form { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(14px, 3vh, 40px); padding: clamp(16px, 3.4vh, 44px) 72px clamp(12px, 2.4vh, 36px); min-height: 0; overflow-y: auto; }
.auth-form .inner { max-width: 420px; width: 100%; display: flex; flex-direction: column; gap: clamp(10px, 2.2vh, 22px); }
.auth-title { font-size: clamp(40px, 7.2vh, 64px); margin-top: clamp(12px, 2.2vh, 22px); text-wrap: balance; }
.auth-form form { --gap: clamp(8px, 1.6vh, 14px); }
.auth-form .input { height: clamp(42px, 5.8vh, 46px); }
.auth-form .lead { font-size: clamp(14px, 2.1vh, 16px); line-height: 1.5; max-width: 400px; }
.auth-form .alert { padding: clamp(10px, 1.7vh, 16px) 18px; }
.auth-form .entrar { justify-content: space-between; margin-top: 4px; height: clamp(48px, 6.4vh, 60px); }
.auth-form .tema { display: inline-flex; align-items: center; gap: 6px; color: var(--mut); font-weight: 650; border: 0; background: none; font: inherit; font-size: 12.5px; cursor: pointer; padding: 6px 0; }
.auth-form .tema:hover { color: var(--text); }
.auth-status { display: flex; flex-direction: column; gap: 12px; }
.auth-status .icone { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: var(--v-soft); color: var(--v-ink); }
.auth-status .icone.y { background: var(--y-soft); color: var(--y-ink); }
.auth-status .icone.ok { background: var(--ok-soft); color: var(--ok); }

/* Campo de senha com o botão de mostrar/esconder dentro. */
.senha { position: relative; display: flex; align-items: center; }
.senha .input { padding-right: 52px; }
.senha .mostrar { position: absolute; right: 5px; width: 38px; height: 38px; border-radius: 10px; border: 0; background: transparent; color: var(--mut); display: grid; place-items: center; cursor: pointer; }
.senha .mostrar:hover { background: var(--surface-2); color: var(--text); }

/* ===== painel Ink ===== */
.auth-hero { position: relative; overflow: hidden; margin: 16px; border-radius: 32px; background: var(--panel-ink); color: var(--on-ink); min-height: 0; }
.mx[data-mode="dark"] .auth-hero { background: #121223; box-shadow: inset 0 0 0 1px var(--line); }
.auth-hero > .dots { position: absolute; inset: 0; --dg: 22px; opacity: .35; -webkit-mask-image: radial-gradient(circle at 70% 30%, #000 0, transparent 70%); mask-image: radial-gradient(circle at 70% 30%, #000 0, transparent 70%); }
.auth-hero > .trails { position: absolute; left: 56px; top: 64px; width: 38%; height: 48px; }
.ah-grid { --t: min(172px, 18.5vh); position: absolute; left: 50%; top: 46%; display: grid; grid-template-columns: repeat(3, var(--t)); gap: calc(var(--t) * .105); transform: translate(-50%, -50%) rotate(-7deg); }
.ah-tile { height: var(--t); border-radius: calc(var(--t) * .23); overflow: hidden; position: relative; display: flex; flex-direction: column; justify-content: flex-end; padding: calc(var(--t) * .1) calc(var(--t) * .115); animation: mx-float 8s ease-in-out infinite; }
.ah-tile:nth-child(3n+2) { animation-delay: -2.6s; }
.ah-tile:nth-child(3n) { animation-delay: -5.2s; }
.ah-tile.y { background: var(--yellow); color: var(--ink); }
.ah-tile.v { background: var(--violet); color: #fff; }
.ah-tile.p { background: var(--paper); color: var(--ink); }
.ah-tile.o { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(246, 246, 242, .22); color: var(--on-ink); }
.ah-tile .big { font-size: calc(var(--t) * .27); font-weight: 900; letter-spacing: -.055em; line-height: .9; }
.ah-tile .big.menor { font-size: calc(var(--t) * .19); }
.ah-tile .tl { font-size: max(11px, calc(var(--t) * .087)); font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.ah-tile .cap { display: block; font-size: max(9px, calc(var(--t) * .064)); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; opacity: .72; margin-top: calc(var(--t) * .045); }
.ah-pill { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px; background: rgba(246, 246, 242, .96); color: var(--ink); font-size: 12.5px; font-weight: 700; box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .6); animation: mx-float 6s ease-in-out infinite; }
.ah-pill .ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--violet); color: #fff; flex: none; }
.ah-pill .ic.ok { background: #14804A; }
.ah-pill .sym { --s: 5px; --g: 1.5px; }
.ah-pill .sym i { background: #fff; }
.ah-pill .sym i:nth-child(3n+2) { background: var(--yellow); }
.ah-pill .bar { width: 84px; height: 6px; background: rgba(23, 23, 42, .1); }
.ah-pill .bar i { width: 64%; }
/* Nas faixas livres acima e abaixo dos ladrilhos, para não cobrir o texto deles. */
.ah-pill.p1 { right: 8%; top: 7%; }
.ah-pill.p2 { right: 6%; bottom: 13%; animation-delay: -3s; }
.ah-cap { position: absolute; left: 56px; right: 56px; bottom: 48px; }
.ah-cap .frase { margin-top: 14px; font-size: 26px; font-weight: 900; letter-spacing: -.035em; line-height: 1.1; max-width: 420px; }

@media (max-width: 1100px) {
  .auth { grid-template-columns: 1fr; height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; }
  .auth-hero { display: none; }
  .auth-form { padding: 32px 24px; min-height: 100vh; min-height: 100dvh; }
  .auth-form .inner { margin: 0 auto; }
}
@media (max-width: 760px) {
  .auth-title { font-size: 44px; }
  .auth-form { padding: 24px 20px 28px; }
}
/* inter-cyrillic-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2) format('woff2-variations');
  unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F;
}

/* inter-cyrillic-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2) format('woff2-variations');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}

/* inter-greek-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2) format('woff2-variations');
  unicode-range: U+1F00-1FFF;
}

/* inter-greek-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-greek-wght-normal-CkhJZR-_.woff2) format('woff2-variations');
  unicode-range: U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF;
}

/* inter-vietnamese-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

/* inter-latin-ext-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,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;
}

/* inter-latin-wght-normal */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/assets/inter-latin-wght-normal-Dx4kXJAl.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
@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-space-y-reverse: 0;
      --tw-divide-y-reverse: 0;
      --tw-border-style: solid;
      --tw-gradient-position: initial;
      --tw-gradient-from: #0000;
      --tw-gradient-via: #0000;
      --tw-gradient-to: #0000;
      --tw-gradient-stops: initial;
      --tw-gradient-via-stops: initial;
      --tw-gradient-from-position: 0%;
      --tw-gradient-via-position: 50%;
      --tw-gradient-to-position: 100%;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --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;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
      --tw-duration: initial;
      --tw-ease: initial;
      --tw-scale-x: 1;
      --tw-scale-y: 1;
      --tw-scale-z: 1;
      --tw-outline-style: solid;
    }
  }
}

@layer theme {
  :root, :host {
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-red-50: oklch(97.1% .013 17.38);
    --color-red-100: oklch(93.6% .032 17.717);
    --color-red-500: oklch(63.7% .237 25.331);
    --color-red-600: oklch(57.7% .245 27.325);
    --color-red-700: oklch(50.5% .213 27.518);
    --color-red-800: oklch(44.4% .177 26.899);
    --color-orange-50: oklch(98% .016 73.684);
    --color-orange-200: oklch(90.1% .076 70.697);
    --color-orange-600: oklch(64.6% .222 41.116);
    --color-orange-900: oklch(40.8% .123 38.172);
    --color-amber-50: oklch(98.7% .022 95.277);
    --color-amber-100: oklch(96.2% .059 95.617);
    --color-amber-500: oklch(76.9% .188 70.08);
    --color-amber-600: oklch(66.6% .179 58.318);
    --color-amber-700: oklch(55.5% .163 48.998);
    --color-amber-800: oklch(47.3% .137 46.201);
    --color-yellow-50: oklch(98.7% .026 102.212);
    --color-yellow-100: oklch(97.3% .071 103.193);
    --color-yellow-200: oklch(94.5% .129 101.54);
    --color-yellow-700: oklch(55.4% .135 66.442);
    --color-yellow-800: oklch(47.6% .114 61.907);
    --color-yellow-900: oklch(42.1% .095 57.708);
    --color-green-50: oklch(98.2% .018 155.826);
    --color-green-100: oklch(96.2% .044 156.743);
    --color-green-200: oklch(92.5% .084 155.995);
    --color-green-500: oklch(72.3% .219 149.579);
    --color-green-600: oklch(62.7% .194 149.214);
    --color-green-700: oklch(52.7% .154 150.069);
    --color-green-800: oklch(44.8% .119 151.328);
    --color-green-900: oklch(39.3% .095 152.535);
    --color-emerald-50: oklch(97.9% .021 166.113);
    --color-emerald-500: oklch(69.6% .17 162.48);
    --color-emerald-600: oklch(59.6% .145 163.225);
    --color-blue-50: oklch(97% .014 254.604);
    --color-blue-100: oklch(93.2% .032 255.585);
    --color-blue-200: oklch(88.2% .059 254.128);
    --color-blue-400: oklch(70.7% .165 254.624);
    --color-blue-500: oklch(62.3% .214 259.815);
    --color-blue-600: oklch(54.6% .245 262.881);
    --color-blue-700: oklch(48.8% .243 264.376);
    --color-blue-800: oklch(42.4% .199 265.638);
    --color-blue-900: oklch(37.9% .146 265.522);
    --color-indigo-50: oklch(96.2% .018 272.314);
    --color-indigo-500: oklch(58.5% .233 277.117);
    --color-indigo-600: oklch(51.1% .262 276.966);
    --color-violet-500: oklch(60.6% .25 292.717);
    --color-violet-600: oklch(54.1% .281 293.009);
    --color-purple-50: oklch(97.7% .014 308.299);
    --color-purple-100: oklch(94.6% .033 307.174);
    --color-purple-200: oklch(90.2% .063 306.703);
    --color-purple-500: oklch(62.7% .265 303.9);
    --color-purple-600: oklch(55.8% .288 302.321);
    --color-purple-700: oklch(49.6% .265 301.924);
    --color-purple-900: oklch(38.1% .176 304.987);
    --color-rose-50: oklch(96.9% .015 12.422);
    --color-rose-600: oklch(58.6% .253 17.585);
    --color-slate-50: oklch(98.4% .003 247.858);
    --color-slate-100: oklch(96.8% .007 247.896);
    --color-slate-200: oklch(92.9% .013 255.508);
    --color-slate-300: oklch(86.9% .022 252.894);
    --color-slate-400: oklch(70.4% .04 256.788);
    --color-slate-500: oklch(55.4% .046 257.417);
    --color-slate-600: oklch(44.6% .043 257.281);
    --color-slate-700: oklch(37.2% .044 257.287);
    --color-slate-800: oklch(27.9% .041 260.031);
    --color-slate-900: oklch(20.8% .042 265.755);
    --color-gray-50: oklch(98.5% .002 247.839);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-200: oklch(92.8% .006 264.531);
    --color-gray-300: oklch(87.2% .01 258.338);
    --color-gray-400: oklch(70.7% .022 261.325);
    --color-gray-500: oklch(55.1% .027 264.364);
    --color-gray-600: oklch(44.6% .03 256.802);
    --color-gray-700: oklch(37.3% .034 259.733);
    --color-gray-800: oklch(27.8% .033 256.848);
    --color-gray-900: oklch(21% .034 264.665);
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --container-md: 28rem;
    --container-lg: 32rem;
    --container-2xl: 42rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --font-weight-extrabold: 800;
    --tracking-tight: -.025em;
    --tracking-widest: .1em;
    --leading-snug: 1.375;
    --leading-relaxed: 1.625;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --radius-2xl: 1rem;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --animate-spin: spin 1s linear infinite;
    --blur-sm: 8px;
    --blur-md: 12px;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font);
    --default-mono-font-family: var(--font-mono);
    --color-brand-50: #e6ecf6;
    --color-brand-500: #0a3588;
    --color-brand-600: #052a74;
    --color-accent-50: #e6f7fb;
    --color-accent-500: #00b4d8;
    --color-accent-600: #009ab8;
  }
}

@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, ui-sans-serif, system-ui, 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;
    -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 {
    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;
  }
}

@layer components {
  .mx {
    --violet: #5b3df5;
    --ink: #17172a;
    --yellow: #ffc928;
    --paper: #f6f6f2;
    --bg: #f6f6f2;
    --surface: #fff;
    --surface-2: #efefe9;
    --surface-3: #e6e6df;
    --line: #e3e3dc;
    --line-2: #cfcfc6;
    --text: #17172a;
    --text-2: #3b3b50;
    --mut: #626276;
    --mut-2: #8c8c9c;
    --v: #5b3df5;
    --v-hover: #4a2ce8;
    --v-ink: #4a2ce0;
    --v-soft: #eeeafe;
    --v-soft-2: #ddd5fd;
    --on-v: #fff;
    --y: #ffc928;
    --y-hover: #f5bc0f;
    --y-soft: #fff4d1;
    --y-ink: #7a5800;
    --on-y: #17172a;
    --ok: #14804a;
    --ok-soft: #e1f3e8;
    --err: #c42f4a;
    --err-soft: #fbe6ea;
    --panel-ink: #17172a;
    --on-ink: #f6f6f2;
    --on-ink-mut: #a9a9be;
    --shadow-1: 0 1px 2px #17172a0f;
    --shadow-2: 0 1px 2px #17172a0d, 0 14px 34px -14px #17172a33;
    --shadow-3: 0 2px 6px #17172a0f, 0 40px 80px -30px #17172a59;
    --ring: 0 0 0 4px #5b3df53d;
    --r-s: 10px;
    --r-m: 14px;
    --r-l: 20px;
    --r-xl: 28px;
    --ease: cubic-bezier(.22, .9, .24, 1);
    --spring: cubic-bezier(.2, 1.4, .36, 1);
    --font: var(--font-inter), "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-feature-settings: "cv11", "ss01", "ss03";
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 1.5;
  }

  .mx[data-mode="dark"] {
    --bg: #17172a;
    --surface: #1e1e34;
    --surface-2: #25253e;
    --surface-3: #2d2d49;
    --line: #2c2c46;
    --line-2: #3b3b5b;
    --text: #f6f6f2;
    --text-2: #d5d5e0;
    --mut: #a6a6bd;
    --mut-2: #74748e;
    --v: #6b4fff;
    --v-hover: #7e66ff;
    --v-ink: #b1a2ff;
    --v-soft: #6b4fff2b;
    --v-soft-2: #6b4fff4d;
    --on-v: #fff;
    --y-soft: #ffc92821;
    --y-ink: #ffd45a;
    --ok: #43d17e;
    --ok-soft: #43d17e21;
    --err: #ff7088;
    --err-soft: #ff708821;
    --panel-ink: #0f0f1e;
    --on-ink: #f6f6f2;
    --on-ink-mut: #a9a9be;
    --shadow-1: 0 1px 0 #ffffff08 inset;
    --shadow-2: 0 1px 0 #ffffff0a inset, 0 18px 40px -18px #000000a6;
    --shadow-3: 0 1px 0 #ffffff0d inset, 0 50px 90px -30px #000000bf;
    --ring: 0 0 0 4px #6b4fff66;
    color-scheme: dark;
  }

  .mx *, .mx :before, .mx :after {
    box-sizing: border-box;
  }

  .mx :where(a) {
    color: var(--v-ink);
    text-decoration: none;
  }

  .mx :where(a:hover) {
    color: var(--v-hover);
  }

  .mx[data-mode="dark"] a:hover {
    color: #cfc5ff;
  }

  .mx :focus-visible {
    box-shadow: var(--ring);
    border-radius: 10px;
    outline: none;
  }

  .mx :where(img) {
    max-width: 100%;
    display: block;
  }

  .mx :where(p), .mx :where(h1, h2, h3, h4) {
    margin: 0;
  }

  .mx :where(button) {
    font: inherit;
    color: inherit;
  }

  .num, .mx .num {
    font-variant-numeric: tabular-nums;
  }

  .display {
    letter-spacing: -.052em;
    font-feature-settings: "ss01", "cv11", "tnum" 0;
    font-weight: 900;
    line-height: .92;
  }

  .d-xxl {
    font-size: 132px;
  }

  .d-xl {
    font-size: 96px;
  }

  .d-l {
    font-size: 72px;
  }

  .d-m {
    font-size: 56px;
  }

  .d-s {
    font-size: 44px;
  }

  .d-xs {
    font-size: 34px;
  }

  .h1 {
    letter-spacing: -.045em;
    font-size: 44px;
    font-weight: 900;
    line-height: 1;
  }

  .h2 {
    letter-spacing: -.035em;
    font-size: 30px;
    font-weight: 850;
    line-height: 1.08;
  }

  .h3 {
    letter-spacing: -.012em;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
  }

  .h4 {
    letter-spacing: -.006em;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
  }

  .lead {
    color: var(--text-2);
    font-size: 16px;
    line-height: 1.6;
  }

  .body {
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.55;
  }

  .small {
    font-size: 12.5px;
    line-height: 1.5;
  }

  .mut {
    color: var(--mut);
  }

  .mut2 {
    color: var(--mut-2);
  }

  .v-ink {
    color: var(--v-ink);
  }

  .y-ink {
    color: var(--y-ink);
  }

  .label {
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mut);
    font-size: 11px;
    font-weight: 700;
  }

  .kicker {
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--text);
    align-items: center;
    gap: 10px;
    font-size: 11.5px;
    font-weight: 750;
    display: inline-flex;
  }

  .kicker:before {
    content: "";
    background: var(--y);
    border-radius: 99px;
    flex: none;
    width: 22px;
    height: 4px;
  }

  .kicker.on-ink {
    color: var(--on-ink);
  }

  .kicker.quiet {
    color: var(--mut);
  }

  .sym {
    --s: 12px;
    --g: 3px;
    grid-template-columns: repeat(3, var(--s));
    gap: var(--g);
    flex: none;
    display: inline-grid;
    transform: rotate(-7deg);
  }

  .sym i {
    width: var(--s);
    height: var(--s);
    border-radius: calc(var(--s) * .32);
    background: var(--violet);
  }

  .sym i:nth-child(3n+2) {
    background: var(--yellow);
  }

  .mx[data-mode="dark"] .sym i:not(:nth-child(3n+2)) {
    background: #7a60ff;
  }

  .sym.mono i {
    background: currentColor !important;
  }

  .sym.anim i {
    animation: mx-cell 3.2s var(--ease) infinite;
  }

  .sym.anim i:first-child {
    animation-delay: 0s;
  }

  .sym.anim i:nth-child(2) {
    animation-delay: 80ms;
  }

  .sym.anim i:nth-child(3) {
    animation-delay: .16s;
  }

  .sym.anim i:nth-child(4) {
    animation-delay: .24s;
  }

  .sym.anim i:nth-child(5) {
    animation-delay: .32s;
  }

  .sym.anim i:nth-child(6) {
    animation-delay: .4s;
  }

  .sym.anim i:nth-child(7) {
    animation-delay: .48s;
  }

  .sym.anim i:nth-child(8) {
    animation-delay: .56s;
  }

  .sym.anim i:nth-child(9) {
    animation-delay: .64s;
  }

  .wordmark {
    letter-spacing: -.06em;
    color: var(--text);
    font-size: 22px;
    font-weight: 900;
    line-height: 1;
  }

  .wordmark.on-ink {
    color: var(--on-ink);
  }

  .lockup {
    align-items: center;
    gap: 12px;
    display: inline-flex;
  }

  .lockup .prod {
    flex-direction: column;
    gap: 3px;
    display: inline-flex;
  }

  .lockup .desc {
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--mut);
    font-size: 11px;
    font-weight: 700;
  }

  .lockup .desc b {
    color: var(--v-ink);
    font-weight: 800;
  }

  .dot-y {
    background: var(--yellow);
    vertical-align: baseline;
    border-radius: 50%;
    width: .24em;
    height: .24em;
    margin-left: .04em;
    display: inline-block;
  }

  .dots {
    background-image: radial-gradient(circle, var(--dot, #5b3df5d9) 1.6px, transparent 1.9px);
    background-size: var(--dg, 18px) var(--dg, 18px);
  }

  .dots.soft {
    --dot: #5b3df547;
  }

  .mx[data-mode="dark"] .dots.soft {
    --dot: #8c76ff4d;
  }

  .trails {
    position: relative;
  }

  .trails i {
    background: var(--on-ink);
    border-radius: 2px;
    height: 2px;
    position: absolute;
    right: 0;
  }

  .trails i:first-child {
    background: var(--yellow);
    width: 100%;
    top: 0;
  }

  .trails i:nth-child(2) {
    width: 76%;
    top: 22px;
  }

  .trails i:nth-child(3) {
    width: 100%;
    top: 44px;
  }

  .trails.draw i {
    transform-origin: 100%;
    animation: mx-trail 1.4s var(--ease) both;
  }

  .trails.draw i:nth-child(2) {
    animation-delay: .15s;
  }

  .trails.draw i:nth-child(3) {
    animation-delay: .3s;
  }

  .mods {
    grid-template-columns: repeat(var(--cols, 6), var(--m, 28px));
    gap: var(--mg, 8px);
    display: grid;
    transform: rotate(-7deg);
  }

  .mods i {
    width: var(--m, 28px);
    height: var(--m, 28px);
    border-radius: calc(var(--m, 28px) * .3);
    background: var(--violet);
  }

  .mods i.y {
    background: var(--yellow);
  }

  .mods i.o {
    background: none;
    box-shadow: inset 0 0 0 1.5px #f6f6f247;
  }

  .mods i.g {
    background: #f6f6f214;
  }

  .grid-lines {
    background-image: linear-gradient(var(--gl, #17172a0f) 1px, transparent 1px), linear-gradient(90deg, var(--gl, #17172a0f) 1px, transparent 1px);
    background-size: 56px 56px;
  }

  .mx[data-mode="dark"] .grid-lines, .on-ink-zone .grid-lines {
    --gl: #f6f6f20d;
  }

  .card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    box-shadow: var(--shadow-1);
    padding: 22px;
  }

  .card.flat {
    box-shadow: none;
  }

  .card.tight {
    padding: 8px;
  }

  .card.lift {
    box-shadow: var(--shadow-2);
  }

  .card-ink {
    background: var(--panel-ink);
    color: var(--on-ink);
    border-radius: var(--r-l);
    padding: 24px;
    position: relative;
    overflow: hidden;
  }

  .card-ink .mut {
    color: var(--on-ink-mut);
  }

  .card-v {
    background: var(--violet);
    color: #fff;
    border-radius: var(--r-l);
    padding: 24px;
    position: relative;
    overflow: hidden;
  }

  .card-v .mut {
    color: #ffffffbd;
  }

  .card-y {
    background: var(--yellow);
    color: var(--ink);
    border-radius: var(--r-l);
    padding: 24px;
  }

  .well {
    background: var(--surface-2);
    border-radius: var(--r-m);
    padding: 14px 16px;
  }

  .hr {
    background: var(--line);
    border: 0;
    height: 1px;
    margin: 0;
  }

  .card-title {
    letter-spacing: -.01em;
    font-size: 15px;
    font-weight: 700;
  }

  .card-sub {
    color: var(--mut);
    margin-top: 2px;
    font-size: 12.5px;
  }

  .btn {
    border: 1px solid var(--line-2);
    background: var(--surface);
    height: 42px;
    color: var(--text);
    letter-spacing: -.005em;
    cursor: pointer;
    white-space: nowrap;
    transition: background .18s, border-color .18s, color .18s, transform .35s var(--spring), box-shadow .2s;
    border-radius: 12px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    font-size: 13.5px;
    font-weight: 650;
    display: inline-flex;
  }

  .mx a.btn {
    color: var(--text);
  }

  .btn:hover {
    border-color: var(--text);
    transform: translateY(-1px);
  }

  .btn:active {
    transform: translateY(0)scale(.98);
  }

  .btn svg {
    flex: none;
  }

  .btn-primary {
    background: var(--v);
    border-color: var(--v);
    color: var(--on-v);
  }

  .mx a.btn-primary {
    color: var(--on-v);
  }

  .btn-primary:hover {
    background: var(--v-hover);
    border-color: var(--v-hover);
    color: var(--on-v);
    box-shadow: 0 12px 26px -12px #5b3df5b3;
  }

  .btn-action {
    background: var(--y);
    border-color: var(--y);
    color: var(--on-y);
    font-weight: 750;
  }

  .mx a.btn-action {
    color: var(--on-y);
  }

  .btn-action:hover {
    background: var(--y-hover);
    border-color: var(--y-hover);
    color: var(--on-y);
    box-shadow: 0 12px 26px -12px #f5bc0fcc;
  }

  .btn-action .arrow {
    transition: transform .35s var(--spring);
  }

  .btn-action:hover .arrow {
    transform: translateX(4px);
  }

  .btn-ink {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
  }

  .mx a.btn-ink {
    color: var(--bg);
  }

  .btn-ghost {
    color: var(--text-2);
    background: none;
    border-color: #0000;
  }

  .btn-ghost:hover {
    background: var(--surface-2);
    border-color: #0000;
  }

  .btn-soft {
    background: var(--v-soft);
    color: var(--v-ink);
    border-color: #0000;
  }

  .mx a.btn-soft {
    color: var(--v-ink);
  }

  .btn-soft:hover {
    background: var(--v-soft-2);
    color: var(--v-ink);
    border-color: #0000;
  }

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

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

  .btn-sm {
    border-radius: 10px;
    height: 34px;
    padding: 0 12px;
    font-size: 12.5px;
  }

  .btn-lg {
    border-radius: 14px;
    height: 52px;
    padding: 0 24px;
    font-size: 15px;
  }

  .btn-xl {
    border-radius: 16px;
    height: 60px;
    padding: 0 28px;
    font-size: 16px;
    font-weight: 750;
  }

  .btn-icon {
    width: 42px;
    padding: 0;
  }

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

  .btn[disabled], .btn.is-disabled {
    opacity: 1;
    cursor: not-allowed;
    box-shadow: none !important;
    background: var(--surface-3) !important;
    color: var(--mut) !important;
    border-color: #0000 !important;
    transform: none !important;
  }

  .btn[disabled] .arrow {
    opacity: .5;
  }

  :is(.card-ink, .side, .auth-hero, .kpi.ink) .btn[disabled] {
    color: #f6f6f29e !important;
    background: #f6f6f21a !important;
  }

  .btn.is-loading {
    position: relative;
    color: #0000 !important;
  }

  .btn.is-loading:after {
    content: "";
    border: 2px solid;
    border-color: var(--on-v) transparent var(--on-v) transparent;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: .8s linear infinite mx-spin;
    position: absolute;
  }

  .btn-group {
    border: 1px solid var(--line-2);
    background: var(--surface);
    border-radius: 12px;
    display: inline-flex;
    overflow: hidden;
  }

  .btn-group .btn {
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 0;
  }

  .btn-group .btn:last-child {
    border-right: 0;
  }

  .btn-group .btn:hover {
    background: var(--surface-2);
    transform: none;
  }

  .link {
    color: var(--v-ink);
    align-items: center;
    gap: 6px;
    font-weight: 650;
    display: inline-flex;
  }

  .icon-btn {
    border: 1px solid var(--line);
    background: var(--surface);
    width: 38px;
    height: 38px;
    color: var(--text-2);
    cursor: pointer;
    border-radius: 11px;
    place-items: center;
    transition: border-color .18s, background .18s;
    display: grid;
    position: relative;
  }

  .icon-btn:hover {
    border-color: var(--line-2);
    background: var(--surface-2);
  }

  .icon-btn .badge-dot {
    background: var(--y);
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 2px var(--surface);
    border-radius: 50%;
    position: absolute;
    top: 7px;
    right: 8px;
  }

  .chip {
    letter-spacing: .01em;
    white-space: nowrap;
    background: var(--surface-2);
    height: 24px;
    color: var(--text-2);
    border-radius: 99px;
    align-items: center;
    gap: 6px;
    padding: 0 10px;
    font-size: 11.5px;
    font-weight: 700;
    display: inline-flex;
  }

  .chip:before {
    content: "";
    opacity: .9;
    background: currentColor;
    border-radius: 50%;
    width: 6px;
    height: 6px;
  }

  .chip.no-dot:before {
    display: none;
  }

  .chip-v {
    background: var(--v-soft);
    color: var(--v-ink);
  }

  .chip-y {
    background: var(--y);
    color: var(--on-y);
  }

  .chip-y-soft {
    background: var(--y-soft);
    color: var(--y-ink);
  }

  .chip-ok {
    background: var(--ok-soft);
    color: var(--ok);
  }

  .chip-err {
    background: var(--err-soft);
    color: var(--err);
  }

  .chip-ink {
    background: var(--text);
    color: var(--bg);
  }

  .chip-line {
    box-shadow: inset 0 0 0 1px var(--line-2);
    color: var(--text-2);
    background: none;
  }

  .chip-live:before {
    animation: 1.2s ease-in-out infinite mx-blink;
  }

  .tag {
    background: var(--surface-2);
    height: 22px;
    color: var(--text-2);
    font-variant-numeric: tabular-nums;
    letter-spacing: .01em;
    border-radius: 7px;
    align-items: center;
    padding: 0 8px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
  }

  .tag.v {
    background: var(--v-soft);
    color: var(--v-ink);
  }

  .code {
    letter-spacing: -.01em;
    color: var(--v-ink);
    font-variant-numeric: tabular-nums;
    font-weight: 800;
  }

  .count {
    background: var(--y);
    min-width: 20px;
    height: 20px;
    color: var(--on-y);
    border-radius: 99px;
    place-items: center;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-grid;
  }

  .avatar {
    background: var(--v);
    color: #fff;
    letter-spacing: .02em;
    border-radius: 12px;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    font-size: 12px;
    font-weight: 800;
    display: grid;
  }

  .avatar.sm {
    border-radius: 9px;
    width: 28px;
    height: 28px;
    font-size: 10.5px;
  }

  .avatar.lg {
    border-radius: 15px;
    width: 48px;
    height: 48px;
    font-size: 15px;
  }

  .avatar.ink {
    background: var(--text);
    color: var(--bg);
  }

  .avatar.y {
    background: var(--y);
    color: var(--on-y);
  }

  .avatar.soft {
    background: var(--v-soft);
    color: var(--v-ink);
  }

  .avatars {
    display: flex;
  }

  .avatars .avatar {
    box-shadow: 0 0 0 2px var(--surface);
    margin-left: -8px;
  }

  .avatars .avatar:first-child {
    margin-left: 0;
  }

  .field {
    flex-direction: column;
    gap: 7px;
    display: flex;
  }

  .field > span, .field-label {
    color: var(--text);
    font-size: 12.5px;
    font-weight: 650;
  }

  .field .hint {
    color: var(--mut);
    font-size: 12px;
  }

  .field .err-msg {
    color: var(--err);
    font-size: 12px;
    font-weight: 600;
  }

  .input, .select, .textarea {
    border: 1px solid var(--line-2);
    background: var(--surface);
    width: 100%;
    height: 46px;
    color: var(--text);
    font: inherit;
    border-radius: 12px;
    outline: none;
    padding: 0 14px;
    font-size: 14px;
    transition: border-color .18s, box-shadow .18s;
  }

  .input::placeholder, .textarea::placeholder {
    color: var(--mut-2);
  }

  .input:hover, .select:hover, .textarea:hover {
    border-color: var(--mut-2);
  }

  .input:focus, .select:focus, .textarea:focus {
    border-color: var(--v);
    box-shadow: var(--ring);
  }

  .input.is-err {
    border-color: var(--err);
  }

  .input.is-ok {
    border-color: var(--ok);
  }

  .textarea {
    resize: vertical;
    height: auto;
    min-height: 104px;
    padding: 12px 14px;
    line-height: 1.55;
  }

  .select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--mut) 50%), linear-gradient(135deg, var(--mut) 50%, transparent 50%);
    background-position: calc(100% - 20px), calc(100% - 15px);
    background-repeat: no-repeat;
    background-size: 5px 5px;
    padding-right: 40px;
  }

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

  .input-wrap svg {
    color: var(--mut);
    pointer-events: none;
    position: absolute;
    left: 14px;
  }

  .input-wrap .input {
    padding-left: 42px;
  }

  .input-wrap .kbd {
    position: absolute;
    right: 10px;
  }

  .kbd {
    border: 1px solid var(--line-2);
    min-width: 22px;
    height: 22px;
    color: var(--mut);
    background: var(--surface-2);
    border-radius: 6px;
    place-items: center;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 700;
    display: inline-grid;
  }

  .search-xl {
    background: var(--surface);
    border: 1.5px solid var(--line-2);
    border-radius: 18px;
    align-items: center;
    gap: 12px;
    padding: 8px 8px 8px 20px;
    transition: border-color .2s, box-shadow .2s;
    display: flex;
  }

  .search-xl:focus-within {
    border-color: var(--v);
    box-shadow: var(--ring);
  }

  .search-xl input {
    font: inherit;
    color: var(--text);
    background: none;
    border: 0;
    outline: none;
    flex: 1;
    min-width: 0;
    height: 44px;
    font-size: 16px;
  }

  .search-xl input::placeholder {
    color: var(--mut-2);
  }

  .check, .radio {
    cursor: pointer;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    display: inline-flex;
  }

  .check input, .radio input {
    appearance: none;
    border: 1.5px solid var(--line-2);
    background: var(--surface);
    cursor: pointer;
    flex: none;
    place-items: center;
    width: 20px;
    height: 20px;
    margin: 0;
    transition: background .18s, border-color .18s;
    display: grid;
  }

  .check input {
    border-radius: 6px;
  }

  .radio input {
    border-radius: 50%;
  }

  .check input:checked {
    background: var(--v);
    border-color: var(--v);
  }

  .check input:checked:after {
    content: "";
    border-bottom: 2px solid #fff;
    border-left: 2px solid #fff;
    width: 9px;
    height: 5px;
    transform: translateY(-1px)rotate(-45deg);
  }

  .radio input:checked {
    border-color: var(--v);
    border-width: 6px;
  }

  .switch {
    background: var(--line-2);
    cursor: pointer;
    border: 0;
    border-radius: 99px;
    flex: none;
    width: 42px;
    height: 24px;
    padding: 0;
    transition: background .2s;
    display: inline-block;
    position: relative;
  }

  .switch:after {
    content: "";
    width: 18px;
    height: 18px;
    transition: transform .32s var(--spring);
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    box-shadow: 0 1px 3px #00000040;
  }

  .switch.on {
    background: var(--v);
  }

  .switch.on:after {
    transform: translateX(18px);
  }

  .seg {
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 14px;
    gap: 4px;
    padding: 4px;
    display: inline-flex;
  }

  .seg button {
    height: 34px;
    color: var(--mut);
    cursor: pointer;
    background: none;
    border: 0;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    transition: background .18s, color .18s;
  }

  .seg button.on {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-2);
  }

  .mx[data-mode="dark"] .seg button.on {
    background: var(--surface-3);
  }

  .seg button[disabled] {
    opacity: .4;
    cursor: not-allowed;
  }

  .pill {
    border: 1px solid var(--line-2);
    background: var(--surface);
    height: 34px;
    color: var(--text-2);
    cursor: pointer;
    transition: border-color .18s, color .18s, background .18s, transform .3s var(--spring);
    border-radius: 99px;
    padding: 0 14px;
    font-size: 12.5px;
    font-weight: 650;
  }

  .pill:hover {
    border-color: var(--text);
    transform: translateY(-1px);
  }

  .pill.on {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
  }

  .pill.sq {
    width: 40px;
    padding: 0;
  }

  .stepper {
    border: 1px solid var(--line-2);
    background: var(--surface);
    border-radius: 12px;
    align-items: center;
    display: inline-flex;
    overflow: hidden;
  }

  .stepper button {
    width: 40px;
    height: 42px;
    color: var(--text-2);
    cursor: pointer;
    background: none;
    border: 0;
    font-size: 18px;
  }

  .stepper button:hover {
    background: var(--surface-2);
  }

  .stepper b {
    text-align: center;
    font-variant-numeric: tabular-nums;
    min-width: 52px;
    font-size: 16px;
    font-weight: 800;
  }

  .range {
    appearance: none;
    background: linear-gradient(90deg, var(--v) var(--p, 50%), var(--line-2) var(--p, 50%));
    border-radius: 99px;
    outline: none;
    width: 100%;
    height: 6px;
  }

  .range::-webkit-slider-thumb {
    -webkit-appearance: none;
    border: 2px solid var(--v);
    width: 22px;
    height: 22px;
    box-shadow: var(--shadow-2);
    cursor: pointer;
    background: #fff;
    border-radius: 50%;
  }

  .drop {
    border: 1.5px dashed var(--line-2);
    border-radius: var(--r-l);
    text-align: center;
    background: var(--surface);
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 28px;
    transition: border-color .2s, background .2s;
    display: flex;
  }

  .drop:hover {
    border-color: var(--v);
    background: var(--v-soft);
  }

  .tabs {
    background: var(--surface-2);
    border-radius: 14px;
    gap: 2px;
    padding: 4px;
    display: inline-flex;
  }

  .tab {
    height: 34px;
    color: var(--mut);
    cursor: pointer;
    white-space: nowrap;
    background: none;
    border: 0;
    border-radius: 10px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    font-size: 12.5px;
    font-weight: 700;
    display: inline-flex;
  }

  .mx a.tab {
    color: var(--mut);
  }

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

  .tab.on, .mx a.tab.on {
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-2);
  }

  .mx[data-mode="dark"] .tab.on {
    background: var(--surface-3);
  }

  .tab .count {
    background: var(--surface-3);
    min-width: 18px;
    height: 18px;
    color: var(--text-2);
    font-size: 10.5px;
  }

  .tab.on .count {
    background: var(--y);
    color: var(--on-y);
  }

  .utabs {
    border-bottom: 1px solid var(--line);
    gap: 22px;
    display: flex;
  }

  .utab {
    height: 44px;
    color: var(--mut);
    cursor: pointer;
    background: none;
    border: 0;
    align-items: center;
    gap: 8px;
    padding: 0;
    font-size: 13.5px;
    font-weight: 650;
    display: inline-flex;
    position: relative;
  }

  .utab.on {
    color: var(--text);
  }

  .utab.on:after {
    content: "";
    background: var(--v);
    border-radius: 3px 3px 0 0;
    height: 3px;
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
  }

  .crumbs {
    color: var(--mut);
    align-items: center;
    gap: 10px;
    min-width: 0;
    font-size: 13px;
    display: flex;
  }

  .crumbs a {
    color: var(--mut);
    font-weight: 600;
  }

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

  .crumbs b {
    color: var(--text);
    white-space: nowrap;
    text-overflow: ellipsis;
    font-weight: 700;
    overflow: hidden;
  }

  .crumbs .sep {
    color: var(--mut-2);
  }

  .back {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 10px;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px 0 8px;
    font-size: 12.5px;
    font-weight: 650;
    display: inline-flex;
    color: var(--text) !important;
  }

  .back:hover {
    border-color: var(--line-2);
  }

  .steps {
    align-items: center;
    gap: 6px;
    display: flex;
  }

  .step {
    height: 32px;
    color: var(--mut);
    background: none;
    border-radius: 99px;
    align-items: center;
    gap: 8px;
    padding: 0 12px 0 6px;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
  }

  .step i {
    background: var(--surface-2);
    width: 22px;
    height: 22px;
    color: var(--mut);
    border-radius: 50%;
    place-items: center;
    font-size: 11px;
    font-style: normal;
    font-weight: 800;
    display: grid;
  }

  .step.cur {
    background: var(--surface);
    color: var(--text);
    box-shadow: inset 0 0 0 1px var(--line-2);
  }

  .step.cur i {
    background: var(--v);
    color: #fff;
  }

  .step.done {
    color: var(--text-2);
  }

  .step.done i {
    background: var(--ok-soft);
    color: var(--ok);
  }

  .step-sep {
    background: var(--line-2);
    border-radius: 2px;
    width: 18px;
    height: 2px;
  }

  .pager {
    align-items: center;
    gap: 4px;
    display: flex;
  }

  .pager button {
    min-width: 34px;
    height: 34px;
    color: var(--mut);
    cursor: pointer;
    background: none;
    border: 1px solid #0000;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 12.5px;
    font-weight: 700;
  }

  .pager button:hover {
    background: var(--surface-2);
  }

  .pager button.on {
    background: var(--text);
    color: var(--bg);
  }

  .shell {
    background: var(--bg);
    height: 100vh;
    display: flex;
    overflow: hidden;
  }

  .shell > .main {
    scroll-behavior: smooth;
    flex-direction: column;
    flex: auto;
    min-width: 0;
    height: 100%;
    display: flex;
    overflow-y: auto;
  }

  .main .topbar {
    z-index: 5;
    position: sticky;
    top: 0;
  }

  .side {
    background: var(--panel-ink);
    width: 264px;
    color: var(--on-ink);
    flex-direction: column;
    flex: none;
    gap: 22px;
    height: 100%;
    padding: 22px 16px 18px;
    display: flex;
    position: relative;
    overflow: hidden auto;
  }

  .mx[data-mode="dark"] .side {
    border-right: 1px solid var(--line);
    background: #121223;
  }

  .side .dots-corner {
    --dg: 16px;
    opacity: .55;
    width: 120px;
    height: 72px;
    position: absolute;
    bottom: 96px;
    right: -6px;
  }

  .side-cta {
    background: var(--yellow);
    height: 46px;
    transition: transform .35s var(--spring), box-shadow .2s;
    border-radius: 13px;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px 0 16px;
    font-size: 13.5px;
    font-weight: 800;
    display: flex;
    color: var(--ink) !important;
  }

  .side-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -14px #ffc928cc;
  }

  .side-cta i {
    background: var(--ink);
    width: 28px;
    height: 28px;
    color: var(--yellow);
    border-radius: 9px;
    place-items: center;
    font-style: normal;
    display: grid;
  }

  .side-label {
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--on-ink-mut);
    padding: 0 10px 8px;
    font-size: 10px;
    font-weight: 800;
  }

  .nav-item {
    border-radius: 11px;
    align-items: center;
    gap: 12px;
    height: 40px;
    padding: 0 10px;
    font-size: 13.5px;
    font-weight: 600;
    transition: background .18s, color .18s;
    display: flex;
    position: relative;
    color: #c9c9da !important;
  }

  .nav-item:hover {
    background: #f6f6f20f;
    color: #fff !important;
  }

  .nav-item.on {
    background: #6b4fff38;
    color: #fff !important;
  }

  .nav-item.on:before {
    content: "";
    background: var(--yellow);
    border-radius: 0 4px 4px 0;
    width: 4px;
    position: absolute;
    top: 9px;
    bottom: 9px;
    left: -16px;
  }

  .nav-item svg {
    opacity: .9;
    flex: none;
  }

  .nav-item .count {
    margin-left: auto;
  }

  .nav-item .soft-count {
    color: var(--on-ink-mut);
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
  }

  .side-foot {
    flex-direction: column;
    gap: 10px;
    margin-top: auto;
    display: flex;
  }

  .me {
    background: #f6f6f20d;
    border-radius: 13px;
    align-items: center;
    gap: 10px;
    padding: 10px;
    display: flex;
  }

  .me b {
    color: var(--on-ink);
    font-size: 13px;
    display: block;
  }

  .me small {
    color: var(--on-ink-mut);
    font-size: 11px;
    display: block;
  }

  .side-acts {
    gap: 6px;
    display: flex;
  }

  .side-acts button {
    color: #c9c9da;
    cursor: pointer;
    background: none;
    border: 1px solid #f6f6f21a;
    border-radius: 10px;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 6px;
    height: 34px;
    font-size: 12px;
    font-weight: 650;
    display: inline-flex;
  }

  .side-acts button:hover {
    color: #fff;
    background: #f6f6f20f;
  }

  .topbar {
    border-bottom: 1px solid var(--line);
    background: var(--bg);
    z-index: 2;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    height: 68px;
    padding: 0 32px;
    display: flex;
    position: relative;
  }

  .top-right {
    align-items: center;
    gap: 10px;
    display: flex;
  }

  .view {
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 32px 36px 48px;
    display: flex;
  }

  .view.wide {
    max-width: 1480px;
  }

  .view.mid {
    max-width: 1180px;
  }

  .view-head {
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    display: flex;
  }

  .view-head .h1 {
    margin-top: 12px;
  }

  .view-head .display {
    margin-top: 16px;
  }

  .view-head .lead {
    max-width: 640px;
    margin-top: 10px;
  }

  .table-box {
    border-radius: 16px;
    overflow-x: auto;
  }

  .table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 13.5px;
  }

  .table th {
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--mut);
    text-align: left;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
    background: var(--surface);
    padding: 12px 16px;
    font-size: 10.5px;
    font-weight: 800;
  }

  .table td {
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
    padding: 14px 16px;
  }

  .table tr:last-child td {
    border-bottom: 0;
  }

  .table tbody tr {
    transition: background .15s;
  }

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

  .table .r {
    text-align: right;
  }

  .table-ink th {
    background: var(--panel-ink);
    color: var(--on-ink-mut);
    border-bottom-color: #0000;
  }

  .cell-main {
    align-items: center;
    gap: 14px;
    min-width: 280px;
    display: flex;
  }

  .cell-main b {
    font-size: 13.5px;
    line-height: 1.35;
    display: block;
  }

  .cell-main small {
    color: var(--mut);
    margin-top: 2px;
    font-size: 12px;
    display: block;
  }

  .thumb-sm {
    aspect-ratio: 16 / 9;
    width: 104px;
    box-shadow: 0 0 0 1px var(--line);
    background: #fff;
    border-radius: 9px;
    flex: none;
    overflow: hidden;
  }

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

  .list-row {
    border: 1px solid var(--line);
    background: var(--surface);
    transition: border-color .2s, transform .35s var(--spring);
    border-radius: 14px;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    display: flex;
  }

  .list-row:hover {
    border-color: var(--line-2);
    transform: translateX(3px);
  }

  .file-row {
    border: 1px solid var(--line);
    background: var(--surface);
    border-radius: 14px;
    align-items: center;
    gap: 14px;
    padding: 12px 14px;
    display: flex;
  }

  .file-ic {
    letter-spacing: .04em;
    border-radius: 12px;
    flex: none;
    place-items: center;
    width: 40px;
    height: 40px;
    font-size: 10px;
    font-weight: 900;
    display: grid;
  }

  .file-ic.pptx {
    background: var(--v);
    color: #fff;
  }

  .file-ic.pdf {
    background: var(--text);
    color: var(--bg);
  }

  .file-ic.docx {
    background: var(--v-soft);
    color: var(--v-ink);
  }

  .hero-num {
    letter-spacing: -.06em;
    font-variant-numeric: tabular-nums;
    color: var(--v-ink);
    font-weight: 900;
    line-height: .88;
  }

  .mx[data-mode="dark"] .hero-num {
    color: #8f7bff;
  }

  .kpi {
    border-radius: var(--r-l);
    background: var(--surface);
    border: 1px solid var(--line);
    flex-direction: column;
    gap: 6px;
    padding: 20px 22px;
    display: flex;
  }

  .kpi .label {
    margin-bottom: 6px;
  }

  .kpi b {
    letter-spacing: -.05em;
    font-variant-numeric: tabular-nums;
    font-size: 40px;
    font-weight: 900;
    line-height: 1;
  }

  .kpi small {
    color: var(--mut);
    font-size: 12px;
  }

  .kpi .delta {
    color: var(--ok);
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 750;
    display: inline-flex;
  }

  .kpi.ink {
    background: var(--panel-ink);
    color: var(--on-ink);
    border-color: #0000;
  }

  .kpi.ink small, .kpi.ink .label {
    color: var(--on-ink-mut);
  }

  .kpi.v {
    background: var(--violet);
    color: #fff;
    border-color: #0000;
  }

  .kpi.v small, .kpi.v .label {
    color: #ffffffc7;
  }

  .bar {
    background: var(--surface-3);
    border-radius: 99px;
    height: 8px;
    overflow: hidden;
  }

  .bar i {
    background: var(--v);
    height: 100%;
    transition: width .8s var(--ease);
    border-radius: 99px;
    display: block;
  }

  .bar.y i {
    background: var(--y);
  }

  .bar.ok i {
    background: var(--ok);
  }

  .bar.lg {
    height: 12px;
  }

  .bar.live i {
    position: relative;
    overflow: hidden;
  }

  .bar.live i:after {
    content: "";
    background: linear-gradient(90deg, #0000, #ffffff8c, #0000) 0 0 / 200% 100%;
    animation: 1.4s linear infinite mx-shine;
    position: absolute;
    inset: 0;
  }

  .vbars {
    align-items: flex-end;
    gap: 10px;
    height: 160px;
    display: flex;
  }

  .vbars .col {
    flex-direction: column;
    flex: 1;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    height: 100%;
    display: flex;
  }

  .vbars .col i {
    background: var(--v-soft-2);
    width: 100%;
    transition: height .8s var(--ease);
    border-radius: 8px 8px 4px 4px;
  }

  .vbars .col.hl i {
    background: var(--v);
  }

  .vbars .col.now i {
    background: var(--y);
  }

  .vbars .col span {
    color: var(--mut);
    font-size: 11px;
    font-weight: 700;
  }

  .hbars {
    flex-direction: column;
    gap: 12px;
    display: flex;
  }

  .hbar {
    grid-template-columns: 150px 1fr 56px;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    display: grid;
  }

  .hbar b {
    text-align: right;
    font-variant-numeric: tabular-nums;
  }

  .ring-chart {
    --p: 62;
    background: conic-gradient(var(--v) calc(var(--p) * 1%), var(--surface-3) 0);
    border-radius: 50%;
    flex: none;
    place-items: center;
    width: 120px;
    height: 120px;
    display: grid;
  }

  .ring-chart > div {
    background: var(--surface);
    letter-spacing: -.04em;
    border-radius: 50%;
    place-items: center;
    width: 88px;
    height: 88px;
    font-size: 22px;
    font-weight: 900;
    display: grid;
  }

  .legend {
    color: var(--mut);
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12px;
    display: flex;
  }

  .legend span {
    align-items: center;
    gap: 6px;
    display: inline-flex;
  }

  .legend i {
    background: var(--v);
    border-radius: 3px;
    width: 10px;
    height: 10px;
  }

  .alert {
    background: var(--v-soft);
    color: var(--text);
    border-radius: 16px;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    font-size: 13.5px;
    line-height: 1.5;
    display: flex;
  }

  .alert .a-ic {
    background: var(--v);
    color: #fff;
    border-radius: 10px;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    display: grid;
  }

  .alert b {
    margin-bottom: 2px;
    font-size: 14px;
    display: block;
  }

  .alert.y {
    background: var(--y-soft);
  }

  .alert.y .a-ic {
    background: var(--y);
    color: var(--on-y);
  }

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

  .alert.ok .a-ic {
    background: var(--ok);
  }

  .alert.err {
    background: var(--err-soft);
  }

  .alert.err .a-ic {
    background: var(--err);
  }

  .alert.ink {
    background: var(--panel-ink);
    color: var(--on-ink);
  }

  .alert.ink .a-ic {
    background: var(--y);
    color: var(--on-y);
  }

  .toast {
    background: var(--panel-ink);
    color: var(--on-ink);
    box-shadow: var(--shadow-3);
    border-radius: 16px;
    align-items: center;
    gap: 12px;
    min-width: 320px;
    padding: 12px 14px 12px 12px;
    font-size: 13px;
    display: flex;
  }

  .toast .t-ic {
    background: var(--y);
    width: 30px;
    height: 30px;
    color: var(--on-y);
    border-radius: 10px;
    flex: none;
    place-items: center;
    display: grid;
  }

  .toast .t-ic.ok {
    background: var(--ok);
    color: #fff;
  }

  .toast b {
    font-size: 13.5px;
    display: block;
  }

  .toast small {
    color: var(--on-ink-mut);
  }

  .toast .t-act {
    color: var(--yellow);
    white-space: nowrap;
    margin-left: auto;
    font-size: 12.5px;
    font-weight: 750;
  }

  .skel {
    background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 40%, var(--surface-2) 80%);
    background-size: 200% 100%;
    border-radius: 10px;
    animation: 1.6s linear infinite mx-shine;
  }

  .empty {
    text-align: center;
    border-radius: var(--r-l);
    border: 1.5px dashed var(--line-2);
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 48px 24px;
    display: flex;
  }

  .spinner {
    border: 2.5px solid var(--v-soft-2);
    border-top-color: var(--v);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: .8s linear infinite mx-spin;
  }

  .tooltip {
    background: var(--panel-ink);
    color: var(--on-ink);
    box-shadow: var(--shadow-2);
    border-radius: 10px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    position: relative;
  }

  .tooltip:after {
    content: "";
    background: var(--panel-ink);
    border-radius: 2px;
    width: 10px;
    height: 10px;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%)rotate(45deg);
  }

  .scrim {
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    background: #17172a7a;
  }

  .modal {
    background: var(--surface);
    width: min(520px, 100%);
    box-shadow: var(--shadow-3);
    border: 1px solid var(--line);
    border-radius: 24px;
    overflow: hidden;
  }

  .modal-h {
    padding: 24px 24px 0;
  }

  .modal-b {
    padding: 16px 24px 8px;
  }

  .modal-f {
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 24px 22px;
    display: flex;
  }

  .drawer {
    background: var(--surface);
    border-left: 1px solid var(--line);
    width: 420px;
    box-shadow: var(--shadow-3);
    flex-direction: column;
    display: flex;
  }

  .menu {
    background: var(--surface);
    border: 1px solid var(--line);
    width: 240px;
    box-shadow: var(--shadow-3);
    border-radius: 16px;
    padding: 6px;
  }

  .menu-item {
    width: 100%;
    height: 38px;
    color: var(--text-2);
    cursor: pointer;
    text-align: left;
    background: none;
    border: 0;
    border-radius: 10px;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    font-size: 13px;
    font-weight: 600;
    display: flex;
  }

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

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

  .menu-sep {
    background: var(--line);
    height: 1px;
    margin: 6px 4px;
  }

  @keyframes mx-cell {
    0%, 100% {
      opacity: 1;
      transform: scale(1);
    }

    45% {
      opacity: .55;
      transform: scale(.72);
    }

    60% {
      opacity: 1;
      transform: scale(1.06);
    }
  }

  @keyframes mx-trail {
    from {
      transform: scaleX(0);
    }

    to {
      transform: scaleX(1);
    }
  }

  @keyframes mx-blink {
    0%, 100% {
      opacity: 1;
    }

    50% {
      opacity: .25;
    }
  }

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

  @keyframes mx-shine {
    from {
      background-position: 200% 0;
    }

    to {
      background-position: -200% 0;
    }
  }

  @keyframes mx-rise {
    from {
      opacity: 0;
      transform: translateY(14px);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes mx-float {
    0%, 100% {
      transform: translateY(0);
    }

    50% {
      transform: translateY(-10px);
    }
  }

  @keyframes mx-drift {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }

  @keyframes mx-pop {
    from {
      opacity: 0;
      transform: scale(.6);
    }

    to {
      opacity: 1;
      transform: none;
    }
  }

  @keyframes mx-pulse {
    0% {
      box-shadow: 0 0 #ffc9288c;
    }

    100% {
      box-shadow: 0 0 0 14px #ffc92800;
    }
  }

  @keyframes mx-flow {
    0% {
      opacity: 0;
      transform: translateX(-40px);
    }

    15% {
      opacity: 1;
    }

    85% {
      opacity: 1;
    }

    100% {
      opacity: 0;
      transform: translateX(220px);
    }
  }

  @keyframes mx-type {
    from {
      width: 0;
    }

    to {
      width: 100%;
    }
  }

  .rise {
    animation: mx-rise .7s var(--ease) both;
  }

  .rise.d1 {
    animation-delay: 80ms;
  }

  .rise.d2 {
    animation-delay: .16s;
  }

  .rise.d3 {
    animation-delay: .24s;
  }

  .rise.d4 {
    animation-delay: .32s;
  }

  .rise.d5 {
    animation-delay: .4s;
  }

  .float {
    animation: 7s ease-in-out infinite mx-float;
  }

  .pulse-y {
    animation: 1.8s ease-out infinite mx-pulse;
  }

  @media (prefers-reduced-motion: reduce) {
    .mx *, .mx :before, .mx :after {
      transition-duration: .01ms !important;
      animation-duration: .01ms !important;
      animation-iteration-count: 1 !important;
    }
  }

  .row {
    align-items: center;
    gap: var(--gap, 12px);
    display: flex;
  }

  .row.wrap {
    flex-wrap: wrap;
  }

  .row.top {
    align-items: flex-start;
  }

  .row.base {
    align-items: baseline;
  }

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

  .col, .stack {
    gap: var(--gap, 12px);
    flex-direction: column;
    display: flex;
  }

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

  .g0 {
    --gap: 0px;
  }

  .g3 {
    --gap: 3px;
  }

  .g4 {
    --gap: 4px;
  }

  .g6 {
    --gap: 6px;
  }

  .g8 {
    --gap: 8px;
  }

  .g10 {
    --gap: 10px;
  }

  .g12 {
    --gap: 12px;
  }

  .g13 {
    --gap: 13px;
  }

  .g14 {
    --gap: 14px;
  }

  .g16 {
    --gap: 16px;
  }

  .g18 {
    --gap: 18px;
  }

  .g20 {
    --gap: 20px;
  }

  .g24 {
    --gap: 24px;
  }

  .g26 {
    --gap: 26px;
  }

  .g32 {
    --gap: 32px;
  }

  .grid-2 {
    gap: var(--gap, 16px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    display: grid;
  }

  .grid-3 {
    gap: var(--gap, 16px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    display: grid;
  }

  .grid-4 {
    gap: var(--gap, 16px);
    grid-template-columns: repeat(4, minmax(0, 1fr));
    display: grid;
  }

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

  .side-layout {
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 20px;
    display: grid;
  }

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

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

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

    .view {
      padding: 20px 16px 36px;
    }

    .topbar {
      padding: 0 16px;
    }

    .side {
      width: 100%;
      height: auto;
    }

    .shell {
      flex-wrap: wrap;
      height: auto;
      overflow: visible;
    }

    .shell > .main {
      height: auto;
      overflow: visible;
    }
  }

  .pick-card {
    text-align: left;
    border: 1.5px solid var(--line);
    background: var(--surface);
    width: 100%;
    color: var(--text);
    font: inherit;
    cursor: pointer;
    transition: border-color .2s, box-shadow .25s, transform .35s var(--spring);
    border-radius: 16px;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    align-items: start;
    gap: 14px;
    padding: 16px 18px;
    display: grid;
  }

  .pick-card:hover {
    border-color: var(--line-2);
    transform: translateX(3px);
  }

  .pick-card.on {
    border-color: var(--v);
    box-shadow: var(--ring);
  }

  .pick-card.off {
    opacity: .45;
    cursor: not-allowed;
    transform: none;
  }

  .pick-box {
    color: #0000;
    width: 22px;
    height: 22px;
    box-shadow: inset 0 0 0 1.5px var(--line-2);
    border-radius: 7px;
    place-items: center;
    margin-top: 1px;
    transition: background .2s, box-shadow .2s;
    display: grid;
  }

  .pick-card.on .pick-box, .pick-box.on {
    background: var(--v);
    box-shadow: none;
    color: #fff;
  }

  .order {
    background: var(--v);
    color: #fff;
    border-radius: 50%;
    place-items: center;
    width: 24px;
    height: 24px;
    font-size: 11px;
    font-weight: 800;
    display: grid;
  }

  .filters {
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    display: flex;
  }

  .filters label {
    color: var(--mut);
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 650;
    display: inline-flex;
  }

  .filters .select {
    width: auto;
    min-width: 110px;
    height: 36px;
  }

  .set-row {
    border-top: 1px solid var(--line);
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 16px 0;
    display: flex;
  }

  .set-row:first-of-type {
    border-top: 0;
  }

  .set-row b {
    font-size: 14px;
    display: block;
  }

  .set-row small {
    color: var(--mut);
    max-width: 520px;
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.5;
    display: block;
  }

  .set-row.block {
    display: block;
  }

  .sum-l {
    border-top: 1px solid var(--line);
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    font-size: 13px;
    display: flex;
  }

  .sum-l span {
    color: var(--mut);
  }

  .sum-l b {
    text-align: right;
  }

  .utab .count {
    background: var(--surface-3);
    color: var(--text-2);
  }

  .utab.on .count {
    background: var(--v-soft);
    color: var(--v-ink);
  }

  .card.tabela {
    padding: 0;
    overflow: hidden;
  }

  .thumb-sm {
    background: var(--surface-2);
    color: var(--mut);
    place-items: center;
    display: grid;
  }

  .thumb-sm.err {
    background: var(--err-soft);
    color: var(--err);
  }

  .thumb-sm .sym {
    --s: 7px;
    --g: 2px;
  }

  .tabs {
    flex-wrap: wrap;
  }

  .alert b.inline {
    font-size: inherit;
    margin: 0;
    display: inline;
  }
}

@layer utilities {
  .sr-only {
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    position: absolute;
    overflow: hidden;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }

  .z-10 {
    z-index: 10;
  }

  .z-20 {
    z-index: 20;
  }

  .z-50 {
    z-index: 50;
  }

  .col-span-2 {
    grid-column: span 2 / span 2;
  }

  .mx-2 {
    margin-inline: calc(var(--spacing) * 2);
  }

  .mx-auto {
    margin-inline: auto;
  }

  .-mt-3 {
    margin-top: calc(var(--spacing) * -3);
  }

  .mt-0\.5 {
    margin-top: calc(var(--spacing) * .5);
  }

  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }

  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }

  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }

  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }

  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }

  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }

  .mb-5 {
    margin-bottom: calc(var(--spacing) * 5);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .mb-8 {
    margin-bottom: calc(var(--spacing) * 8);
  }

  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }

  .ml-3 {
    margin-left: calc(var(--spacing) * 3);
  }

  .block {
    display: block;
  }

  .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;
  }

  .size-6 {
    width: calc(var(--spacing) * 6);
    height: calc(var(--spacing) * 6);
  }

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

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

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

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

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

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

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

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

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

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

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

  .h-auto {
    height: auto;
  }

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

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

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

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

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

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

  .max-h-\[90vh\] {
    max-height: 90vh;
  }

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

  .min-h-\[22px\] {
    min-height: 22px;
  }

  .min-h-\[100px\] {
    min-height: 100px;
  }

  .w-4 {
    width: calc(var(--spacing) * 4);
  }

  .w-5 {
    width: calc(var(--spacing) * 5);
  }

  .w-8 {
    width: calc(var(--spacing) * 8);
  }

  .w-10 {
    width: calc(var(--spacing) * 10);
  }

  .w-12 {
    width: calc(var(--spacing) * 12);
  }

  .w-20 {
    width: calc(var(--spacing) * 20);
  }

  .w-32 {
    width: calc(var(--spacing) * 32);
  }

  .w-\[36\%\] {
    width: 36%;
  }

  .w-\[48px\] {
    width: 48px;
  }

  .w-\[62px\] {
    width: 62px;
  }

  .w-\[78px\] {
    width: 78px;
  }

  .w-\[92\%\] {
    width: 92%;
  }

  .w-auto {
    width: auto;
  }

  .w-fit {
    width: fit-content;
  }

  .w-full {
    width: 100%;
  }

  .max-w-2xl {
    max-width: var(--container-2xl);
  }

  .max-w-full {
    max-width: 100%;
  }

  .max-w-lg {
    max-width: var(--container-lg);
  }

  .max-w-md {
    max-width: var(--container-md);
  }

  .max-w-none {
    max-width: none;
  }

  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }

  .min-w-60 {
    min-width: calc(var(--spacing) * 60);
  }

  .min-w-\[36px\] {
    min-width: 36px;
  }

  .flex-1 {
    flex: 1;
  }

  .flex-shrink-0, .shrink-0 {
    flex-shrink: 0;
  }

  .grow {
    flex-grow: 1;
  }

  .table-fixed {
    table-layout: fixed;
  }

  .border-collapse {
    border-collapse: collapse;
  }

  .rotate-180 {
    rotate: 180deg;
  }

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

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

  .cursor-not-allowed {
    cursor: not-allowed;
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .resize {
    resize: both;
  }

  .resize-none {
    resize: none;
  }

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

  .grid-flow-col {
    grid-auto-flow: column;
  }

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

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

  .flex-col {
    flex-direction: column;
  }

  .place-items-center {
    place-items: center;
  }

  .items-baseline {
    align-items: baseline;
  }

  .items-center {
    align-items: center;
  }

  .items-start {
    align-items: flex-start;
  }

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

  .justify-center {
    justify-content: center;
  }

  .justify-end {
    justify-content: flex-end;
  }

  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }

  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

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

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

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

  :where(.space-y-1 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-1\.5 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 1.5) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 1.5) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }

  .gap-x-6 {
    column-gap: calc(var(--spacing) * 6);
  }

  .gap-y-2 {
    row-gap: calc(var(--spacing) * 2);
  }

  :where(.divide-y > :not(:last-child)) {
    --tw-divide-y-reverse: 0;
    border-bottom-style: var(--tw-border-style);
    border-top-style: var(--tw-border-style);
    border-top-width: calc(1px * var(--tw-divide-y-reverse));
    border-bottom-width: calc(1px * calc(1 - var(--tw-divide-y-reverse)));
  }

  :where(.divide-gray-100 > :not(:last-child)) {
    border-color: var(--color-gray-100);
  }

  :where(.divide-y > :not(:last-child)) {
    border-color: var(--y);
  }

  .self-start {
    align-self: flex-start;
  }

  .truncate {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .overflow-x-hidden {
    overflow-x: hidden;
  }

  .overflow-y-auto {
    overflow-y: auto;
  }

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

  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }

  .rounded-\[10px\] {
    border-radius: 10px;
  }

  .rounded-\[14px\] {
    border-radius: 14px;
  }

  .rounded-\[inherit\] {
    border-radius: inherit;
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .rounded-md {
    border-radius: var(--radius-md);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .rounded-b-none {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

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

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

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

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

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

  .border-b-2 {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 2px;
  }

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

  .border-l-4 {
    border-left-style: var(--tw-border-style);
    border-left-width: 4px;
  }

  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }

  .border-amber-500 {
    border-color: var(--color-amber-500);
  }

  .border-blue-200 {
    border-color: var(--color-blue-200);
  }

  .border-blue-500 {
    border-color: var(--color-blue-500);
  }

  .border-blue-600 {
    border-color: var(--color-blue-600);
  }

  .border-gray-100 {
    border-color: var(--color-gray-100);
  }

  .border-gray-200 {
    border-color: var(--color-gray-200);
  }

  .border-gray-300 {
    border-color: var(--color-gray-300);
  }

  .border-green-200 {
    border-color: var(--color-green-200);
  }

  .border-green-500 {
    border-color: var(--color-green-500);
  }

  .border-line {
    border-color: var(--line);
  }

  .border-orange-200 {
    border-color: var(--color-orange-200);
  }

  .border-purple-200 {
    border-color: var(--color-purple-200);
  }

  .border-red-500 {
    border-color: var(--color-red-500);
  }

  .border-slate-200 {
    border-color: var(--color-slate-200);
  }

  .border-slate-300 {
    border-color: var(--color-slate-300);
  }

  .border-slate-400 {
    border-color: var(--color-slate-400);
  }

  .border-v {
    border-color: var(--v);
  }

  .border-yellow-200 {
    border-color: var(--color-yellow-200);
  }

  .border-t-transparent {
    border-top-color: #0000;
  }

  .border-l-blue-600 {
    border-left-color: var(--color-blue-600);
  }

  .bg-accent-50 {
    background-color: var(--color-accent-50);
  }

  .bg-accent-500 {
    background-color: var(--color-accent-500);
  }

  .bg-amber-50 {
    background-color: var(--color-amber-50);
  }

  .bg-amber-50\/40 {
    background-color: #fffbeb66;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-amber-50\/40 {
      background-color: color-mix(in oklab, var(--color-amber-50) 40%, transparent);
    }
  }

  .bg-amber-100 {
    background-color: var(--color-amber-100);
  }

  .bg-black\/30 {
    background-color: #0000004d;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-black\/30 {
      background-color: color-mix(in oklab, var(--color-black) 30%, transparent);
    }
  }

  .bg-black\/60 {
    background-color: #0009;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-black\/60 {
      background-color: color-mix(in oklab, var(--color-black) 60%, transparent);
    }
  }

  .bg-blue-50 {
    background-color: var(--color-blue-50);
  }

  .bg-blue-100 {
    background-color: var(--color-blue-100);
  }

  .bg-blue-500 {
    background-color: var(--color-blue-500);
  }

  .bg-blue-600 {
    background-color: var(--color-blue-600);
  }

  .bg-emerald-50 {
    background-color: var(--color-emerald-50);
  }

  .bg-emerald-500 {
    background-color: var(--color-emerald-500);
  }

  .bg-emerald-500\/40 {
    background-color: #00bb7f66;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-emerald-500\/40 {
      background-color: color-mix(in oklab, var(--color-emerald-500) 40%, transparent);
    }
  }

  .bg-gray-50\/50 {
    background-color: #f9fafb80;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-gray-50\/50 {
      background-color: color-mix(in oklab, var(--color-gray-50) 50%, transparent);
    }
  }

  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }

  .bg-gray-200 {
    background-color: var(--color-gray-200);
  }

  .bg-gray-400 {
    background-color: var(--color-gray-400);
  }

  .bg-green-50 {
    background-color: var(--color-green-50);
  }

  .bg-green-100 {
    background-color: var(--color-green-100);
  }

  .bg-green-600 {
    background-color: var(--color-green-600);
  }

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

  .bg-orange-50 {
    background-color: var(--color-orange-50);
  }

  .bg-purple-50 {
    background-color: var(--color-purple-50);
  }

  .bg-purple-100 {
    background-color: var(--color-purple-100);
  }

  .bg-red-50 {
    background-color: var(--color-red-50);
  }

  .bg-red-100 {
    background-color: var(--color-red-100);
  }

  .bg-rose-50 {
    background-color: var(--color-rose-50);
  }

  .bg-slate-50 {
    background-color: var(--color-slate-50);
  }

  .bg-slate-100 {
    background-color: var(--color-slate-100);
  }

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

  .bg-surface-2 {
    background-color: var(--surface-2);
  }

  .bg-transparent {
    background-color: #0000;
  }

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

  .bg-white\/80 {
    background-color: #fffc;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-white\/80 {
      background-color: color-mix(in oklab, var(--color-white) 80%, transparent);
    }
  }

  .bg-y-soft {
    background-color: var(--y-soft);
  }

  .bg-yellow-50 {
    background-color: var(--color-yellow-50);
  }

  .bg-yellow-100 {
    background-color: var(--color-yellow-100);
  }

  .bg-gradient-to-br {
    --tw-gradient-position: to bottom right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }

  .bg-gradient-to-r {
    --tw-gradient-position: to right in oklab;
    background-image: linear-gradient(var(--tw-gradient-stops));
  }

  .from-blue-50 {
    --tw-gradient-from: var(--color-blue-50);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .from-blue-500 {
    --tw-gradient-from: var(--color-blue-500);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .from-indigo-500 {
    --tw-gradient-from: var(--color-indigo-500);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .from-purple-500 {
    --tw-gradient-from: var(--color-purple-500);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .from-violet-500 {
    --tw-gradient-from: var(--color-violet-500);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .to-blue-600 {
    --tw-gradient-to: var(--color-blue-600);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .to-indigo-50 {
    --tw-gradient-to: var(--color-indigo-50);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .to-indigo-600 {
    --tw-gradient-to: var(--color-indigo-600);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .to-purple-600 {
    --tw-gradient-to: var(--color-purple-600);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .to-violet-600 {
    --tw-gradient-to: var(--color-violet-600);
    --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
  }

  .stroke-white {
    stroke: var(--color-white);
  }

  .stroke-white\/30 {
    stroke: #ffffff4d;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .stroke-white\/30 {
      stroke: color-mix(in oklab, var(--color-white) 30%, transparent);
    }
  }

  .p-0 {
    padding: calc(var(--spacing) * 0);
  }

  .p-1 {
    padding: calc(var(--spacing) * 1);
  }

  .p-2 {
    padding: calc(var(--spacing) * 2);
  }

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

  .p-3 {
    padding: calc(var(--spacing) * 3);
  }

  .p-4 {
    padding: calc(var(--spacing) * 4);
  }

  .p-6 {
    padding: calc(var(--spacing) * 6);
  }

  .p-10 {
    padding: calc(var(--spacing) * 10);
  }

  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }

  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }

  .px-8 {
    padding-inline: calc(var(--spacing) * 8);
  }

  .py-0\.5 {
    padding-block: calc(var(--spacing) * .5);
  }

  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }

  .py-1\.5 {
    padding-block: calc(var(--spacing) * 1.5);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .py-2\.5 {
    padding-block: calc(var(--spacing) * 2.5);
  }

  .py-3 {
    padding-block: calc(var(--spacing) * 3);
  }

  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }

  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }

  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }

  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }

  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }

  .pr-1\.5 {
    padding-right: calc(var(--spacing) * 1.5);
  }

  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }

  .pl-3\.5 {
    padding-left: calc(var(--spacing) * 3.5);
  }

  .text-center {
    text-align: center;
  }

  .text-left {
    text-align: left;
  }

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

  .align-top {
    vertical-align: top;
  }

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

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

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

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

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

  .text-\[10\.5px\] {
    font-size: 10.5px;
  }

  .text-\[10px\] {
    font-size: 10px;
  }

  .text-\[11\.5px\] {
    font-size: 11.5px;
  }

  .text-\[11px\] {
    font-size: 11px;
  }

  .text-\[12px\] {
    font-size: 12px;
  }

  .text-\[13\.5px\] {
    font-size: 13.5px;
  }

  .text-\[13px\] {
    font-size: 13px;
  }

  .text-\[14px\] {
    font-size: 14px;
  }

  .text-\[19px\] {
    font-size: 19px;
  }

  .text-\[28px\] {
    font-size: 28px;
  }

  .leading-relaxed {
    --tw-leading: var(--leading-relaxed);
    line-height: var(--leading-relaxed);
  }

  .leading-snug {
    --tw-leading: var(--leading-snug);
    line-height: var(--leading-snug);
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .font-extrabold {
    --tw-font-weight: var(--font-weight-extrabold);
    font-weight: var(--font-weight-extrabold);
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .tracking-tight {
    --tw-tracking: var(--tracking-tight);
    letter-spacing: var(--tracking-tight);
  }

  .tracking-widest {
    --tw-tracking: var(--tracking-widest);
    letter-spacing: var(--tracking-widest);
  }

  .whitespace-normal {
    white-space: normal;
  }

  .text-amber-600 {
    color: var(--color-amber-600);
  }

  .text-amber-700 {
    color: var(--color-amber-700);
  }

  .text-amber-800 {
    color: var(--color-amber-800);
  }

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

  .text-blue-500 {
    color: var(--color-blue-500);
  }

  .text-blue-600 {
    color: var(--color-blue-600);
  }

  .text-blue-700 {
    color: var(--color-blue-700);
  }

  .text-blue-800 {
    color: var(--color-blue-800);
  }

  .text-blue-900 {
    color: var(--color-blue-900);
  }

  .text-brand-600 {
    color: var(--color-brand-600);
  }

  .text-emerald-600 {
    color: var(--color-emerald-600);
  }

  .text-gray-300 {
    color: var(--color-gray-300);
  }

  .text-gray-400 {
    color: var(--color-gray-400);
  }

  .text-gray-500 {
    color: var(--color-gray-500);
  }

  .text-gray-600 {
    color: var(--color-gray-600);
  }

  .text-gray-700 {
    color: var(--color-gray-700);
  }

  .text-gray-800 {
    color: var(--color-gray-800);
  }

  .text-gray-900 {
    color: var(--color-gray-900);
  }

  .text-green-600 {
    color: var(--color-green-600);
  }

  .text-green-700 {
    color: var(--color-green-700);
  }

  .text-green-800 {
    color: var(--color-green-800);
  }

  .text-green-900 {
    color: var(--color-green-900);
  }

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

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

  .text-orange-600 {
    color: var(--color-orange-600);
  }

  .text-orange-900 {
    color: var(--color-orange-900);
  }

  .text-purple-600 {
    color: var(--color-purple-600);
  }

  .text-purple-700 {
    color: var(--color-purple-700);
  }

  .text-purple-900 {
    color: var(--color-purple-900);
  }

  .text-red-500 {
    color: var(--color-red-500);
  }

  .text-red-600 {
    color: var(--color-red-600);
  }

  .text-red-700 {
    color: var(--color-red-700);
  }

  .text-red-800 {
    color: var(--color-red-800);
  }

  .text-rose-600 {
    color: var(--color-rose-600);
  }

  .text-slate-500 {
    color: var(--color-slate-500);
  }

  .text-slate-600 {
    color: var(--color-slate-600);
  }

  .text-slate-700 {
    color: var(--color-slate-700);
  }

  .text-slate-800 {
    color: var(--color-slate-800);
  }

  .text-slate-900 {
    color: var(--color-slate-900);
  }

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

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

  .text-v-ink {
    color: var(--v-ink);
  }

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

  .text-yellow-700 {
    color: var(--color-yellow-700);
  }

  .text-yellow-800 {
    color: var(--color-yellow-800);
  }

  .text-yellow-900 {
    color: var(--color-yellow-900);
  }

  .uppercase {
    text-transform: uppercase;
  }

  .italic {
    font-style: italic;
  }

  .opacity-0 {
    opacity: 0;
  }

  .opacity-100 {
    opacity: 1;
  }

  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-xl {
    --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, #0000001a), 0 8px 10px -6px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .ring-1 {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-blue-500\/25 {
    --tw-shadow-color: #3080ff40;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .shadow-blue-500\/25 {
      --tw-shadow-color: color-mix(in oklab, color-mix(in oklab, var(--color-blue-500) 25%, transparent) var(--tw-shadow-alpha), transparent);
    }
  }

  .ring-v {
    --tw-ring-color: var(--v);
  }

  .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, );
  }

  .backdrop-blur-md {
    --tw-backdrop-blur: blur(var(--blur-md));
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .backdrop-blur-sm {
    --tw-backdrop-blur: blur(var(--blur-sm));
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-all {
    transition-property: all;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-transform {
    transition-property: transform, translate, scale, rotate;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .duration-150 {
    --tw-duration: .15s;
    transition-duration: .15s;
  }

  .duration-200 {
    --tw-duration: .2s;
    transition-duration: .2s;
  }

  .duration-300 {
    --tw-duration: .3s;
    transition-duration: .3s;
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }

  @media (hover: hover) {
    .group-hover\:text-blue-700:is(:where(.group):hover *) {
      color: var(--color-blue-700);
    }
  }

  .first\:border-t-0:first-child {
    border-top-style: var(--tw-border-style);
    border-top-width: 0;
  }

  @media (hover: hover) {
    .hover\:scale-110:hover {
      --tw-scale-x: 110%;
      --tw-scale-y: 110%;
      --tw-scale-z: 110%;
      scale: var(--tw-scale-x) var(--tw-scale-y);
    }

    .hover\:border-gray-300:hover {
      border-color: var(--color-gray-300);
    }

    .hover\:border-line-2:hover {
      border-color: var(--line-2);
    }

    .hover\:bg-accent-600:hover {
      background-color: var(--color-accent-600);
    }

    .hover\:bg-blue-200:hover {
      background-color: var(--color-blue-200);
    }

    .hover\:bg-blue-700:hover {
      background-color: var(--color-blue-700);
    }

    .hover\:bg-brand-50:hover {
      background-color: var(--color-brand-50);
    }

    .hover\:bg-gray-100:hover {
      background-color: var(--color-gray-100);
    }

    .hover\:bg-gray-200:hover {
      background-color: var(--color-gray-200);
    }

    .hover\:bg-green-700:hover {
      background-color: var(--color-green-700);
    }

    .hover\:bg-surface-2:hover {
      background-color: var(--surface-2);
    }

    .hover\:bg-white:hover {
      background-color: var(--color-white);
    }

    .hover\:bg-gradient-to-r:hover {
      --tw-gradient-position: to right in oklab;
      background-image: linear-gradient(var(--tw-gradient-stops));
    }

    .hover\:from-blue-50\/50:hover {
      --tw-gradient-from: #eff6ff80;
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:from-blue-50\/50:hover {
        --tw-gradient-from: color-mix(in oklab, var(--color-blue-50) 50%, transparent);
      }
    }

    .hover\:from-blue-50\/50:hover {
      --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
    }

    .hover\:to-transparent:hover {
      --tw-gradient-to: transparent;
      --tw-gradient-stops: var(--tw-gradient-via-stops, var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position));
    }

    .hover\:text-blue-600:hover {
      color: var(--color-blue-600);
    }

    .hover\:text-gray-700:hover {
      color: var(--color-gray-700);
    }
  }

  .focus\:border-blue-500:focus {
    border-color: var(--color-blue-500);
  }

  .focus\:border-transparent:focus {
    border-color: #0000;
  }

  .focus\:bg-white:focus {
    background-color: var(--color-white);
  }

  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus\:ring-accent-500:focus {
    --tw-ring-color: var(--color-accent-500);
  }

  .focus\:ring-blue-400:focus {
    --tw-ring-color: var(--color-blue-400);
  }

  .focus\:ring-blue-500:focus {
    --tw-ring-color: var(--color-blue-500);
  }

  .focus\:ring-brand-500:focus {
    --tw-ring-color: var(--color-brand-500);
  }

  .focus\:outline-2:focus {
    outline-style: var(--tw-outline-style);
    outline-width: 2px;
  }

  .focus\:outline-blue-500:focus {
    outline-color: var(--color-blue-500);
  }

  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }

  .disabled\:cursor-not-allowed:disabled {
    cursor: not-allowed;
  }

  .disabled\:opacity-40:disabled {
    opacity: .4;
  }

  .disabled\:opacity-50:disabled {
    opacity: .5;
  }

  @media (min-width: 40rem) {
    .sm\:inline-flex {
      display: inline-flex;
    }

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

    .sm\:flex-row {
      flex-direction: row;
    }

    .sm\:items-end {
      align-items: flex-end;
    }

    .sm\:items-start {
      align-items: flex-start;
    }

    .sm\:justify-between {
      justify-content: space-between;
    }

    .sm\:text-right {
      text-align: right;
    }
  }

  @media (min-width: 48rem) {
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

  @media (min-width: 64rem) {
    .lg\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }

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

  @media print {
    .print\:block {
      display: block;
    }

    .print\:hidden {
      display: none;
    }

    .print\:inline {
      display: inline;
    }

    :where(.print\:space-y-0 > :not(:last-child)) {
      --tw-space-y-reverse: 0;
      margin-block-start: calc(calc(var(--spacing) * 0) * var(--tw-space-y-reverse));
      margin-block-end: calc(calc(var(--spacing) * 0) * calc(1 - var(--tw-space-y-reverse)));
    }

    .print\:p-0 {
      padding: calc(var(--spacing) * 0);
    }

    .print\:shadow-none {
      --tw-shadow: 0 0 #0000;
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }

  @media not all and (min-width: 40rem) {
    .max-sm\:\[\&_\.kpi\]\:p-4 .kpi {
      padding: calc(var(--spacing) * 4);
    }

    .max-sm\:\[\&_\.kpi_b\]\:text-\[28px\] .kpi b {
      font-size: 28px;
    }
  }

  .\[\&_img\]\:max-w-full img {
    max-width: 100%;
  }

  .\[\&_p\]\:mb-1 p {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .\[\&_p\]\:inline p {
    display: inline;
  }
}

.mx {
  --font-inter: "Inter Variable";
  --hl: var(--panel-ink);
  --hl-line: transparent;
  --hl-mut: var(--on-ink-mut);
}

.mx.app {
  color-scheme: light;
  min-height: 100%;
}

.mx.app[data-mode="dark"] {
  color-scheme: dark;
}

.mx body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  margin: 0;
}

.mx :where(input, select, textarea, button) {
  font-family: inherit;
}

.sr-only {
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
}

.mx[data-mode="dark"] {
  --hl: #29225a;
  --hl-line: #3c3384;
  --hl-mut: #bdb6e4;
}

.mx[data-mode="dark"] :is(.kpi.ink, .card-ink) {
  background: var(--hl);
  box-shadow: inset 0 0 0 1px var(--hl-line);
}

.mx[data-mode="dark"] :is(.kpi.ink, .card-ink) :is(small, .label, .mut) {
  color: var(--hl-mut);
}

html.mx {
  font-size: 100%;
}

html.mx > body {
  font-size: 14px;
  line-height: 1.5;
}

.shell > .main > * {
  flex-shrink: 0;
}

.side {
  transition: width .3s var(--ease), padding .3s var(--ease);
  overflow-x: hidden;
}

.side > * {
  z-index: 1;
  position: relative;
}

.side .dots-corner {
  z-index: 0;
  position: absolute;
}

.side-head {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.side-toggle {
  width: 32px;
  height: 32px;
  color: var(--on-ink-mut);
  cursor: pointer;
  background: none;
  border: 1px solid #f6f6f21a;
  border-radius: 10px;
  flex: none;
  place-items: center;
  display: grid;
}

.side-toggle:hover {
  color: var(--on-ink);
  background: #f6f6f20f;
}

.side-grupos {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.side .nav-item {
  white-space: nowrap;
}

.side .me .avatar {
  flex: none;
}

.side .me b, .side .me small {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.side .side-acts button[disabled] {
  opacity: .6;
  cursor: default;
}

.side-brand {
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 4px 8px 6px;
  display: flex;
  color: var(--on-ink) !important;
}

.side-brand .wordmark {
  color: var(--on-ink);
  font-size: 19px;
}

.side-brand .desc {
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--on-ink-mut);
  white-space: nowrap;
  font-size: 10px;
  font-weight: 750;
}

.side-brand .desc b {
  color: var(--yellow);
}

.side.recolhida {
  width: 76px;
  padding: 22px 12px 18px;
}

.side.recolhida :is(.side-txt, .side-label, .side-brand-txt, .dots-corner) {
  display: none;
}

.side.recolhida .side-head {
  flex-direction: column;
  gap: 12px;
}

.side.recolhida .side-brand {
  padding: 4px 0;
}

.side.recolhida .nav-item {
  justify-content: center;
  padding: 0;
}

.side.recolhida .nav-item.on:before {
  left: -12px;
}

.side.recolhida .me {
  background: none;
  justify-content: center;
  padding: 6px;
}

.side.recolhida .side-acts {
  flex-direction: column;
}

.side.recolhida .side-acts button {
  flex: none;
  height: 34px;
}

.lockup .wordmark {
  font-size: 20px;
}

.conta {
  position: relative;
}

.conta-btn {
  height: 42px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  background: none;
  border: 1px solid #0000;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  padding: 0 10px 0 4px;
  transition: background .18s, border-color .18s;
  display: flex;
}

.conta-btn:hover, .conta-btn[aria-expanded="true"] {
  background: var(--surface-2);
}

.conta-btn b {
  font-size: 13px;
  line-height: 1.2;
  display: block;
}

.conta-btn small {
  color: var(--mut);
  font-size: 11.5px;
  display: block;
}

.conta-btn svg {
  color: var(--mut);
}

.conta .menu {
  z-index: 30;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
}

.menu-cab {
  padding: 10px 10px 8px;
}

.menu-cab b {
  font-size: 13.5px;
  display: block;
}

.menu-cab small {
  color: var(--mut);
  overflow-wrap: anywhere;
  font-size: 12px;
  display: block;
}

.m-top, .tabbar {
  display: none;
}

.so-mobile {
  display: none !important;
}

.m-card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  display: flex;
}

.m-card .lado {
  text-align: right;
  flex: none;
  margin-left: auto;
}

.m-card b {
  font-size: 14px;
  line-height: 1.3;
  display: block;
}

.m-card small {
  color: var(--mut);
  font-size: 12px;
  display: block;
}

.m-lista {
  flex-direction: column;
  gap: 8px;
  padding: 8px;
  display: flex;
}

.mais {
  z-index: 19;
  background: var(--bg);
  animation: sag-subir .28s var(--ease) both;
  padding: 20px 16px 28px;
  position: fixed;
  inset: 60px 0 72px;
  overflow-y: auto;
}

.mais .side-label {
  color: var(--mut);
  padding: 0 4px 8px;
}

.mais-grupo {
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
  display: flex;
}

.mais-item {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 650;
  display: flex;
  color: var(--text) !important;
}

.mais-item.on {
  border-color: var(--v);
  box-shadow: var(--ring);
}

.mais-item svg {
  color: var(--mut);
  flex: none;
}

.mais-item .seta {
  margin-left: auto;
}

.mais-item small {
  color: var(--mut);
  font-size: 12px;
  font-weight: 500;
  display: block;
}

button.mais-item {
  width: 100%;
  font: inherit;
  text-align: left;
  cursor: pointer;
  font-weight: 650;
}

.side .me:hover {
  background: #f6f6f217;
}

.m-lista {
  margin: 0;
  list-style: none;
}

.pager button {
  place-items: center;
  display: inline-grid;
}

.pager button[disabled] {
  opacity: .4;
  cursor: not-allowed;
}

.pager button.on[disabled] {
  opacity: 1;
}

@media (max-width: 760px) {
  .shell {
    height: auto;
    min-height: 100dvh;
    display: block;
    overflow: visible;
  }

  .shell > .main {
    height: auto;
    overflow: visible;
  }

  .side, .topbar {
    display: none;
  }

  .so-desktop {
    display: none !important;
  }

  .so-mobile {
    display: block !important;
  }

  .view {
    padding-bottom: 96px;
  }

  .m-top {
    z-index: 18;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    height: 60px;
    padding: 0 16px;
    display: flex;
    position: sticky;
    top: 0;
  }

  .m-top .lockup {
    gap: 10px;
  }

  .m-top .wordmark {
    font-size: 17px;
  }

  .m-top .desc {
    font-size: 9.5px;
  }

  .tabbar {
    z-index: 20;
    background: var(--panel-ink);
    padding: 6px 6px calc(10px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(5, minmax(0, 1fr));
    display: grid;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .tabbar :is(a, button) {
    min-height: 52px;
    font: inherit;
    color: var(--on-ink-mut);
    cursor: pointer;
    background: none;
    border: 0;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 0 4px;
    font-size: 10.5px;
    font-weight: 700;
    display: flex;
    position: relative;
  }

  .tabbar :is(a, button).on {
    color: var(--on-ink);
  }

  .tabbar :is(a, button).on:before {
    content: "";
    background: var(--yellow);
    border-radius: 0 0 3px 3px;
    height: 3px;
    position: absolute;
    top: -6px;
    left: 28%;
    right: 28%;
  }

  .mx[data-mode="dark"] .tabbar {
    background: var(--surface);
    border-top: 1px solid var(--line);
  }

  .mx[data-mode="dark"] .tabbar :is(a, button) {
    color: var(--mut);
  }

  .mx[data-mode="dark"] .tabbar :is(a, button).on {
    color: var(--text);
  }

  .btn-sm {
    height: 44px;
  }

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

  .lbl-select .select {
    height: 44px;
  }

  .pager button {
    min-width: 44px;
    height: 44px;
  }

  .shell > .main {
    overflow-x: clip;
  }
}

.modal-wrap {
  z-index: 40;
  place-items: center;
  padding: 24px 16px;
  display: grid;
  position: fixed;
  inset: 0;
  overflow-y: auto;
}

.modal-wrap > .scrim {
  animation: sag-aparecer .2s var(--ease) both;
  position: fixed;
  inset: 0;
}

.modal-wrap > .modal {
  animation: sag-modal .28s var(--ease) both;
  position: relative;
}

.modal.lg {
  width: min(720px, 100%);
}

.modal.xl {
  width: min(1080px, 100%);
}

.modal-wrap > .modal {
  flex-direction: column;
  max-height: calc(100dvh - 48px);
  display: flex;
}

.modal-wrap > .modal > form {
  flex-direction: column;
  flex: 1;
  min-height: 0;
  display: flex;
}

.modal-b {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.modal-h, .modal-f {
  flex: none;
}

.modal-b .sel .menu {
  box-shadow: var(--shadow-1);
  margin-top: 6px;
  position: static;
}

.modal-h {
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  display: flex;
}

.modal-h .kicker {
  margin-bottom: 8px;
}

.modal-h .h3 {
  letter-spacing: -.02em;
  font-size: 20px;
}

.modal-h p {
  color: var(--mut);
  margin-top: 6px;
  font-size: 13px;
}

.modal-b {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

@media (max-width: 760px) {
  .modal-wrap {
    place-items: end stretch;
    padding: 0;
  }

  .modal-wrap > .modal {
    border-radius: 24px 24px 0 0;
    width: 100%;
    max-height: 92dvh;
    animation-name: sag-subir;
    overflow-y: auto;
  }

  .modal-f {
    flex-direction: column-reverse;
  }

  .modal-f .btn {
    width: 100%;
  }
}

@keyframes sag-aparecer {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes sag-modal {
  from {
    opacity: 0;
    transform: translateY(10px)scale(.985);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sag-subir {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.sk {
  background: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 45%, var(--surface-2) 90%);
  background-size: 200% 100%;
  border-radius: 12px;
  animation: 1.6s linear infinite mx-shine;
}

.sk-grid {
  grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr));
  gap: var(--gap, 12px);
  display: grid;
}

.side .sk {
  background: linear-gradient(90deg, #f6f6f20d 0%, #f6f6f21c 50%, #f6f6f20d 100%) 0 0 / 200% 100%;
}

.estado {
  text-align: center;
  border: 1.5px dashed var(--line-2);
  color: var(--mut);
  border-radius: 16px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 44px 24px;
  display: flex;
}

.estado .ic {
  background: var(--surface-2);
  width: 44px;
  height: 44px;
  color: var(--mut);
  border-radius: 13px;
  place-items: center;
  display: grid;
}

.estado b {
  color: var(--text);
  font-size: 14px;
}

.estado p {
  max-width: 440px;
  font-size: 12.5px;
}

.estado.erro {
  border-color: var(--err-soft);
}

.estado.erro .ic {
  background: var(--err-soft);
  color: var(--err);
}

.card.tabela .estado {
  border: 0;
  border-radius: 0;
}

.btn.block {
  width: 100%;
}

.kpis {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  display: grid;
}

.lbl-select {
  color: var(--mut);
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 650;
  display: inline-flex;
}

.lbl-select .select {
  width: auto;
  min-width: 140px;
  height: 38px;
}

.busca-sm {
  width: 240px;
}

.busca-md {
  width: 300px;
}

.busca-lg {
  width: 340px;
}

.card.tabela {
  padding: 0;
  overflow: hidden;
}

.tabela-topo {
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  display: flex;
}

.tabela-rodape {
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  display: flex;
}

.tabela-rodape small {
  color: var(--mut);
  font-size: 12.5px;
}

.table td.acoes {
  white-space: nowrap;
  width: 1%;
}

.acoes-linha {
  gap: 4px;
  display: inline-flex;
}

.filtro-barra {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 14px;
  padding: 18px 20px;
  display: flex;
}

.filtro-barra > .field {
  flex: 180px;
  min-width: 0;
}

.filtro-barra > .filtro-busca {
  flex: 1.6 240px;
}

.filtro-barra-acoes {
  flex: none;
  gap: 8px;
  margin-left: auto;
  display: flex;
}

@media (max-width: 760px) {
  .filtro-barra {
    padding: 16px;
  }

  .filtro-barra > .field {
    flex-basis: 100%;
  }

  .filtro-barra-acoes {
    width: 100%;
  }

  .filtro-barra-acoes .btn {
    flex: 1;
  }
}

.mx .hint {
  color: var(--mut);
  font-size: 12px;
}

.perfil {
  max-width: 640px;
}

.perfil-cab {
  border-bottom: 1px solid var(--line);
  align-items: center;
  gap: 16px;
  margin-bottom: 6px;
  padding-bottom: 18px;
  display: flex;
}

.perfil .sum-l:first-child {
  border-top: 0;
}

.perfil-nome {
  letter-spacing: -.015em;
  margin-bottom: 6px;
  font-size: 18px;
  font-weight: 750;
}

.erro-geral {
  place-content: center;
  min-height: 400px;
}

.erro-geral .estado {
  max-width: 460px;
  margin: 0 auto;
}

.embed {
  background: var(--bg);
  min-height: 100vh;
}

.embed-centro {
  place-items: center;
  padding: 32px 16px;
  display: grid;
}

.embed-centro .estado {
  max-width: 420px;
}

.fichas {
  background: var(--bg);
  flex-direction: column;
  height: 100vh;
  display: flex;
}

.fichas-centro {
  place-items: center;
  padding: 32px 16px;
  display: grid;
}

.fichas-carregando {
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(420px, 100%);
  display: flex;
}

.fichas-carregando .sk-grid {
  width: 100%;
}

.fichas-centro .estado {
  max-width: 460px;
}

.fichas-topo {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 20px;
  min-height: 68px;
  padding: 10px 20px;
  display: flex;
}

.fichas-titulo h1 {
  letter-spacing: -.01em;
  font-size: 16px;
  font-weight: 750;
}

.fichas-titulo p {
  color: var(--mut);
  margin-top: 2px;
  font-size: 12px;
}

.fichas-acoes {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  margin-left: auto;
  display: flex;
}

.fichas-salvar {
  font-size: 12.5px;
}

.fichas-baixar {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  display: flex;
}

.fichas-baixar .hint {
  font-size: 11px;
}

.fichas-corpo {
  flex: 1;
  min-height: 0;
  display: flex;
}

.fichas-nav {
  background: var(--surface);
  border-right: 1px solid var(--line);
  flex: none;
  width: 264px;
  padding: 12px;
  overflow-y: auto;
}

.fichas-nav-item {
  text-align: left;
  width: 100%;
  font: inherit;
  color: var(--text-2);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 10px;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 650;
  display: flex;
}

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

.fichas-nav summary.fichas-nav-item {
  list-style: none;
}

.fichas-nav summary.fichas-nav-item::-webkit-details-marker {
  display: none;
}

.fichas-nav ul {
  border-left: 1px solid var(--line);
  margin: 2px 0 8px 14px;
  padding: 0 0 0 8px;
  list-style: none;
}

.fichas-nav ul .fichas-nav-item {
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 500;
  display: block;
}

.fichas-alerta {
  color: var(--err);
  flex: none;
  margin-left: auto;
  display: inline-flex;
}

.fichas-doc {
  flex: 1;
  min-width: 0;
  overflow: auto;
}

.mx.papel {
  color-scheme: light;
  background: none;
}

.fichas-lado {
  background: var(--surface);
  border-left: 1px solid var(--line);
  flex: none;
  width: 320px;
}

.sug {
  flex-direction: column;
  height: 100%;
  display: flex;
}

.sug-cab {
  border-bottom: 1px solid var(--line);
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  display: flex;
}

.sug-cab .input {
  height: 40px;
  font-size: 13px;
}

.sug-cab .check {
  font-size: 12.5px;
}

.sug-lista {
  flex-direction: column;
  flex: 1;
  gap: 10px;
  margin: 0;
  padding: 16px;
  list-style: none;
  display: flex;
  overflow-y: auto;
}

.sug-nada {
  text-align: center;
  color: var(--mut);
  font-size: 12.5px;
}

.sug-item {
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--surface);
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  display: flex;
}

.sug-item.alterada {
  border-color: var(--v);
}

.sug-fichas {
  color: var(--mut);
  margin-left: auto;
  font-size: 11.5px;
}

.sug-desc {
  color: var(--mut);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 11.5px;
  display: -webkit-box;
  overflow: hidden;
}

.sug-item .textarea {
  min-height: 92px;
  padding: 10px 12px;
  font-size: 12.5px;
}

.sug-rodape {
  color: var(--mut);
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  display: flex;
}

.sug-rodape .conta {
  flex: none;
  margin-left: auto;
}

.sug-rodape .conta.vazia {
  color: var(--err);
}

@media (max-width: 1100px) {
  .fichas-nav {
    display: none;
  }
}

@media (max-width: 760px) {
  .fichas {
    height: auto;
    min-height: 100vh;
  }

  .fichas-topo {
    padding: 10px 16px;
  }

  .fichas-acoes {
    justify-content: space-between;
    width: 100%;
    margin-left: 0;
  }

  .fichas-baixar {
    align-items: stretch;
    width: 100%;
  }

  .fichas-corpo {
    display: block;
  }

  .fichas-doc {
    overflow-x: auto;
  }

  .fichas-doc .papel {
    zoom: .45;
  }

  .fichas-lado {
    border-left: 0;
    border-top: 1px solid var(--line);
    width: auto;
  }

  .sug {
    height: auto;
  }

  .sug-lista {
    overflow: visible;
  }
}

@media print {
  .fichas {
    background: #fff;
    height: auto;
    display: block;
  }

  .fichas-corpo {
    display: block;
  }

  .fichas-doc {
    overflow: visible;
  }
}

.hab {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.hab-topo {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 20px;
  display: flex;
}

.hab-grade {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: opacity .2s;
  display: grid;
}

.hab-grade.ocupado {
  opacity: .55;
  pointer-events: none;
}

.hab-card {
  border-radius: var(--r-m);
  text-align: left;
  width: 100%;
  height: 100%;
  font: inherit;
  color: var(--text);
  cursor: pointer;
  transition: transform .35s var(--spring), box-shadow .2s, border-color .2s;
  border: 1.5px solid #0000;
  flex-direction: column;
  gap: 6px;
  padding: 14px 16px 16px;
  display: flex;
}

.hab-card:hover {
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}

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

.hab-card.critico {
  background: var(--err-soft);
  border-color: var(--err);
}

@supports (color: color-mix(in lab, red, red)) {
  .hab-card.critico {
    border-color: color-mix(in srgb, var(--err) 22%, transparent);
  }
}

.hab-card.critico:hover {
  border-color: var(--err);
}

@supports (color: color-mix(in lab, red, red)) {
  .hab-card.critico:hover {
    border-color: color-mix(in srgb, var(--err) 45%, transparent);
  }
}

.hab-card.alerta {
  background: var(--y-soft);
  border-color: var(--y);
}

@supports (color: color-mix(in lab, red, red)) {
  .hab-card.alerta {
    border-color: color-mix(in srgb, var(--y) 45%, transparent);
  }
}

.hab-card.alerta:hover {
  border-color: var(--y);
}

.hab-card.adequado {
  background: var(--ok-soft);
  border-color: var(--ok);
}

@supports (color: color-mix(in lab, red, red)) {
  .hab-card.adequado {
    border-color: color-mix(in srgb, var(--ok) 22%, transparent);
  }
}

.hab-card.adequado:hover {
  border-color: var(--ok);
}

@supports (color: color-mix(in lab, red, red)) {
  .hab-card.adequado:hover {
    border-color: color-mix(in srgb, var(--ok) 45%, transparent);
  }
}

.hab-linha {
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  display: flex;
}

.hab-card .code {
  background: var(--surface);
  border-radius: 7px;
  padding: 2px 8px;
  font-size: 12px;
}

.hab-qtd {
  color: var(--mut);
  white-space: nowrap;
  font-size: 11.5px;
}

.hab-pct {
  letter-spacing: -.03em;
  margin-top: 4px;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.1;
}

.hab-card.critico .hab-pct {
  color: var(--err);
}

.hab-card.alerta .hab-pct {
  color: var(--y-ink);
}

.hab-card.adequado .hab-pct {
  color: var(--ok);
}

.hab-comp {
  color: var(--mut);
  font-size: 12px;
}

.hab-rodape {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

@media (max-width: 1280px) {
  .hab-grade {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .hab-grade {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .hab-grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hab-pct {
    font-size: 26px;
  }
}

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

.gab-serie {
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  display: grid;
}

.gab-serie-nome {
  font-size: 13.5px;
  font-weight: 650;
}

.gab-lacunas {
  margin: 6px 0 0;
  padding-left: 18px;
  list-style: outside;
}

.gab-itens {
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
}

.gab-itens li {
  border-radius: var(--r-m);
  background: var(--surface-2);
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 12px 10px 14px;
  font-size: 13.5px;
  display: flex;
}

.gab-itens li small {
  margin-top: 2px;
  font-size: 12px;
}

.gab-previa summary {
  color: var(--text-2);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 650;
}

.gab-previa pre {
  border-radius: var(--r-m);
  background: var(--surface-2);
  color: var(--text-2);
  margin: 8px 0 0;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  line-height: 1.6;
  overflow-x: auto;
}

.gab-formato {
  border: 0;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  display: flex;
}

.gab-formato legend {
  float: left;
  width: 100%;
  margin-bottom: 2px;
}

.gab-subrotulo {
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mut);
  font-size: 11px;
  font-weight: 700;
}

.gab-opcao {
  align-items: flex-start;
}

.gab-opcao small {
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
}

.gab-recuo {
  padding-left: 30px;
}

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

  .gab-serie {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

.prova-nome {
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: var(--text);
  background: none;
  border: 0;
  padding: 0;
  font-weight: 650;
}

.prova-nome:hover {
  color: var(--v-ink);
  text-underline-offset: 3px;
  text-decoration: underline;
}

.menu-flutuante {
  z-index: 50;
  position: fixed;
}

.menu-item.dupla {
  height: auto;
  min-height: 44px;
  padding: 8px 10px;
}

.menu-item.dupla small {
  font-size: 11.5px;
  font-weight: 500;
}

.m-card:has(.acoes-linha) {
  flex-wrap: wrap;
  row-gap: 6px;
}

.m-card:has(.acoes-linha) > .min0 {
  flex: 100%;
}

.m-card:has(.acoes-linha) > .min0 > b {
  white-space: normal;
}

.m-card .lado:has(.acoes-linha) {
  margin-left: auto;
}

.min0 {
  min-width: 0;
}

.ellipsis {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

@media (max-width: 760px) {
  :is(.busca-sm, .busca-md, .busca-lg), .lbl-select {
    width: 100%;
  }

  .lbl-select .select {
    flex: 1;
  }
}

.btn-action.is-loading:after {
  border-color: var(--on-y) transparent var(--on-y) transparent;
}

.btn:not(.btn-primary, .btn-action).is-loading:after {
  border-color: var(--text) transparent var(--text) transparent;
}

.card.tabela[aria-busy="true"] :is(.table-box, .m-lista) {
  opacity: .55;
  transition: opacity .2s;
}

.tabela-carregando {
  padding: 16px;
}

.btn-ghost.perigo:hover {
  background: var(--err-soft);
  color: var(--err);
}

.card.tabela .m-lista {
  gap: 0;
  padding: 0;
}

.card.tabela .m-card {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: none;
  border-radius: 0;
  min-height: 60px;
}

.card.tabela .m-card:last-child {
  border-bottom: 0;
}

.view-head .view-titulo {
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  display: flex;
}

.view-head .view-titulo .display {
  margin-top: 0;
}

.side-org {
  background: #f6f6f20d;
  border-radius: 13px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  display: flex;
}

.side-org .org-tile {
  background: #fff;
  border-radius: 10px;
  flex: none;
  place-items: center;
  height: 40px;
  padding: 4px 8px;
  display: grid;
}

.side-org img {
  object-fit: contain;
  width: auto;
  max-width: 92px;
  height: 32px;
}

.side-org small {
  color: var(--on-ink-mut);
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
}

.side.recolhida .side-org {
  display: none;
}

.topbar .top-right {
  align-items: center;
  gap: 10px;
  margin-left: auto;
  display: flex;
}

.sel {
  position: relative;
}

.sel-gatilho {
  text-align: left;
  cursor: pointer;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  display: flex;
}

.sel-gatilho .vazio {
  color: var(--mut-2);
}

.sel .menu {
  z-index: 25;
  max-width: none;
  padding: 6px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
}

.sel-busca {
  border-bottom: 1px solid var(--line);
  margin-bottom: 4px;
  padding: 2px 2px 6px;
}

.sel-busca .input {
  height: 38px;
}

.sel-acoes {
  color: var(--mut);
  justify-content: space-between;
  align-items: center;
  padding: 4px 8px 6px;
  font-size: 12px;
  display: flex;
}

.sel-lista {
  max-height: 260px;
  overflow-y: auto;
}

.sel-lista :is(.check, .radio) {
  border-radius: 10px;
  width: 100%;
  padding: 7px 8px;
}

.sel-lista :is(.check, .radio):hover {
  background: var(--surface-2);
}

.sel-acoes .link {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  font-size: 12px;
  font-weight: 700;
}

.sel-gatilho:disabled {
  cursor: not-allowed;
}

.sel-lista .desc {
  color: var(--mut);
  margin-left: auto;
  font-size: 12px;
}

.sel-nada {
  color: var(--mut);
  padding: 10px 8px;
  font-size: 13px;
}

.filtros-painel .filtros-cab {
  cursor: pointer;
  text-align: left;
  width: 100%;
  color: inherit;
  font: inherit;
  background: none;
  border: 0;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0;
  display: flex;
}

.filtros-painel .filtros-cab svg {
  color: var(--mut);
  transition: transform .2s var(--ease);
}

.filtros-painel .filtros-cab[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.filtros-grade {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

@media (max-width: 1100px) {
  .filtros-grade {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

.periodo {
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px;
  display: flex;
}

.periodo .field {
  width: 180px;
}

.mx {
  --color-gray-50: #f6f6f2;
  --color-gray-100: #efefe9;
  --color-gray-200: #e3e3dc;
  --color-gray-300: #cfcfc6;
  --color-gray-400: #8c8c9c;
  --color-gray-500: #626276;
  --color-gray-600: #4e4e63;
  --color-gray-700: #3b3b50;
  --color-gray-800: #26263a;
  --color-gray-900: #17172a;
  --color-gray-950: #0f0f1e;
  --color-slate-50: #f6f6f2;
  --color-slate-100: #efefe9;
  --color-slate-200: #e3e3dc;
  --color-slate-300: #cfcfc6;
  --color-slate-400: #8c8c9c;
  --color-slate-500: #626276;
  --color-slate-600: #4e4e63;
  --color-slate-700: #3b3b50;
  --color-slate-800: #26263a;
  --color-slate-900: #17172a;
  --color-slate-950: #0f0f1e;
  --color-zinc-50: #f6f6f2;
  --color-zinc-100: #efefe9;
  --color-zinc-200: #e3e3dc;
  --color-zinc-300: #cfcfc6;
  --color-zinc-400: #8c8c9c;
  --color-zinc-500: #626276;
  --color-zinc-600: #4e4e63;
  --color-zinc-700: #3b3b50;
  --color-zinc-800: #26263a;
  --color-zinc-900: #17172a;
  --color-zinc-950: #0f0f1e;
  --color-neutral-50: #f6f6f2;
  --color-neutral-100: #efefe9;
  --color-neutral-200: #e3e3dc;
  --color-neutral-300: #cfcfc6;
  --color-neutral-400: #8c8c9c;
  --color-neutral-500: #626276;
  --color-neutral-600: #4e4e63;
  --color-neutral-700: #3b3b50;
  --color-neutral-800: #26263a;
  --color-neutral-900: #17172a;
  --color-neutral-950: #0f0f1e;
  --color-stone-50: #f6f6f2;
  --color-stone-100: #efefe9;
  --color-stone-200: #e3e3dc;
  --color-stone-300: #cfcfc6;
  --color-stone-400: #8c8c9c;
  --color-stone-500: #626276;
  --color-stone-600: #4e4e63;
  --color-stone-700: #3b3b50;
  --color-stone-800: #26263a;
  --color-stone-900: #17172a;
  --color-stone-950: #0f0f1e;
  --color-blue-50: #f3f0ff;
  --color-blue-100: #eeeafe;
  --color-blue-200: #ddd5fd;
  --color-blue-300: #b1a2ff;
  --color-blue-400: #8f7bff;
  --color-blue-500: #5b3df5;
  --color-blue-600: #4a2ce0;
  --color-blue-700: #3a21b4;
  --color-blue-800: #261670;
  --color-blue-900: #1b1050;
  --color-blue-950: #120a38;
  --color-indigo-50: #f3f0ff;
  --color-indigo-100: #eeeafe;
  --color-indigo-200: #ddd5fd;
  --color-indigo-300: #b1a2ff;
  --color-indigo-400: #8f7bff;
  --color-indigo-500: #5b3df5;
  --color-indigo-600: #4a2ce0;
  --color-indigo-700: #3a21b4;
  --color-indigo-800: #261670;
  --color-indigo-900: #1b1050;
  --color-indigo-950: #120a38;
  --color-violet-50: #f3f0ff;
  --color-violet-100: #eeeafe;
  --color-violet-200: #ddd5fd;
  --color-violet-300: #b1a2ff;
  --color-violet-400: #8f7bff;
  --color-violet-500: #5b3df5;
  --color-violet-600: #4a2ce0;
  --color-violet-700: #3a21b4;
  --color-violet-800: #261670;
  --color-violet-900: #1b1050;
  --color-violet-950: #120a38;
  --color-purple-50: #f3f0ff;
  --color-purple-100: #eeeafe;
  --color-purple-200: #ddd5fd;
  --color-purple-300: #b1a2ff;
  --color-purple-400: #8f7bff;
  --color-purple-500: #5b3df5;
  --color-purple-600: #4a2ce0;
  --color-purple-700: #3a21b4;
  --color-purple-800: #261670;
  --color-purple-900: #1b1050;
  --color-purple-950: #120a38;
  --color-sky-50: #f3f0ff;
  --color-sky-100: #eeeafe;
  --color-sky-200: #ddd5fd;
  --color-sky-300: #b1a2ff;
  --color-sky-400: #8f7bff;
  --color-sky-500: #5b3df5;
  --color-sky-600: #4a2ce0;
  --color-sky-700: #3a21b4;
  --color-sky-800: #261670;
  --color-sky-900: #1b1050;
  --color-sky-950: #120a38;
  --color-cyan-50: #f3f0ff;
  --color-cyan-100: #eeeafe;
  --color-cyan-200: #ddd5fd;
  --color-cyan-300: #b1a2ff;
  --color-cyan-400: #8f7bff;
  --color-cyan-500: #5b3df5;
  --color-cyan-600: #4a2ce0;
  --color-cyan-700: #3a21b4;
  --color-cyan-800: #261670;
  --color-cyan-900: #1b1050;
  --color-cyan-950: #120a38;
  --color-brand-50: #f3f0ff;
  --color-brand-100: #eeeafe;
  --color-brand-200: #ddd5fd;
  --color-brand-300: #b1a2ff;
  --color-brand-400: #8f7bff;
  --color-brand-500: #5b3df5;
  --color-brand-600: #4a2ce0;
  --color-brand-700: #3a21b4;
  --color-brand-800: #261670;
  --color-brand-900: #1b1050;
  --color-brand-950: #120a38;
  --color-accent-50: #f3f0ff;
  --color-accent-100: #eeeafe;
  --color-accent-200: #ddd5fd;
  --color-accent-300: #b1a2ff;
  --color-accent-400: #8f7bff;
  --color-accent-500: #5b3df5;
  --color-accent-600: #4a2ce0;
  --color-accent-700: #3a21b4;
  --color-accent-800: #261670;
  --color-accent-900: #1b1050;
  --color-accent-950: #120a38;
  --color-green-50: #eef8f2;
  --color-green-100: #e1f3e8;
  --color-green-200: #c3e6d0;
  --color-green-300: #8fd0a9;
  --color-green-400: #43b77a;
  --color-green-500: #1e9a5a;
  --color-green-600: #14804a;
  --color-green-700: #106a3d;
  --color-green-800: #0c5230;
  --color-green-900: #083b22;
  --color-green-950: #052615;
  --color-emerald-50: #eef8f2;
  --color-emerald-100: #e1f3e8;
  --color-emerald-200: #c3e6d0;
  --color-emerald-300: #8fd0a9;
  --color-emerald-400: #43b77a;
  --color-emerald-500: #1e9a5a;
  --color-emerald-600: #14804a;
  --color-emerald-700: #106a3d;
  --color-emerald-800: #0c5230;
  --color-emerald-900: #083b22;
  --color-emerald-950: #052615;
  --color-teal-50: #eef8f2;
  --color-teal-100: #e1f3e8;
  --color-teal-200: #c3e6d0;
  --color-teal-300: #8fd0a9;
  --color-teal-400: #43b77a;
  --color-teal-500: #1e9a5a;
  --color-teal-600: #14804a;
  --color-teal-700: #106a3d;
  --color-teal-800: #0c5230;
  --color-teal-900: #083b22;
  --color-teal-950: #052615;
  --color-lime-50: #eef8f2;
  --color-lime-100: #e1f3e8;
  --color-lime-200: #c3e6d0;
  --color-lime-300: #8fd0a9;
  --color-lime-400: #43b77a;
  --color-lime-500: #1e9a5a;
  --color-lime-600: #14804a;
  --color-lime-700: #106a3d;
  --color-lime-800: #0c5230;
  --color-lime-900: #083b22;
  --color-lime-950: #052615;
  --color-red-50: #fdf2f4;
  --color-red-100: #fbe6ea;
  --color-red-200: #f6c9d2;
  --color-red-300: #ee9aaa;
  --color-red-400: #e0647c;
  --color-red-500: #d13f5b;
  --color-red-600: #c42f4a;
  --color-red-700: #a3243c;
  --color-red-800: #7f1c2f;
  --color-red-900: #5c1422;
  --color-red-950: #3d0d17;
  --color-rose-50: #fdf2f4;
  --color-rose-100: #fbe6ea;
  --color-rose-200: #f6c9d2;
  --color-rose-300: #ee9aaa;
  --color-rose-400: #e0647c;
  --color-rose-500: #d13f5b;
  --color-rose-600: #c42f4a;
  --color-rose-700: #a3243c;
  --color-rose-800: #7f1c2f;
  --color-rose-900: #5c1422;
  --color-rose-950: #3d0d17;
  --color-pink-50: #fdf2f4;
  --color-pink-100: #fbe6ea;
  --color-pink-200: #f6c9d2;
  --color-pink-300: #ee9aaa;
  --color-pink-400: #e0647c;
  --color-pink-500: #d13f5b;
  --color-pink-600: #c42f4a;
  --color-pink-700: #a3243c;
  --color-pink-800: #7f1c2f;
  --color-pink-900: #5c1422;
  --color-pink-950: #3d0d17;
  --color-amber-50: #fff9e6;
  --color-amber-100: #fff4d1;
  --color-amber-200: #ffe8a3;
  --color-amber-300: #ffd966;
  --color-amber-400: #ffc928;
  --color-amber-500: #f5bc0f;
  --color-amber-600: #b98a00;
  --color-amber-700: #7a5800;
  --color-amber-800: #5e4400;
  --color-amber-900: #423000;
  --color-amber-950: #2b1f00;
  --color-yellow-50: #fff9e6;
  --color-yellow-100: #fff4d1;
  --color-yellow-200: #ffe8a3;
  --color-yellow-300: #ffd966;
  --color-yellow-400: #ffc928;
  --color-yellow-500: #f5bc0f;
  --color-yellow-600: #b98a00;
  --color-yellow-700: #7a5800;
  --color-yellow-800: #5e4400;
  --color-yellow-900: #423000;
  --color-yellow-950: #2b1f00;
  --color-orange-50: #fff9e6;
  --color-orange-100: #fff4d1;
  --color-orange-200: #ffe8a3;
  --color-orange-300: #ffd966;
  --color-orange-400: #ffc928;
  --color-orange-500: #f5bc0f;
  --color-orange-600: #b98a00;
  --color-orange-700: #7a5800;
  --color-orange-800: #5e4400;
  --color-orange-900: #423000;
  --color-orange-950: #2b1f00;
}

.mx[data-mode="dark"] {
  --color-gray-50: #25253e;
  --color-gray-100: #2d2d49;
  --color-gray-200: #2c2c46;
  --color-gray-300: #3b3b5b;
  --color-gray-400: #74748e;
  --color-gray-500: #a6a6bd;
  --color-gray-600: #b8b8cc;
  --color-gray-700: #d5d5e0;
  --color-gray-800: #e6e6ee;
  --color-gray-900: #f6f6f2;
  --color-gray-950: #fff;
  --color-slate-50: #25253e;
  --color-slate-100: #2d2d49;
  --color-slate-200: #2c2c46;
  --color-slate-300: #3b3b5b;
  --color-slate-400: #74748e;
  --color-slate-500: #a6a6bd;
  --color-slate-600: #b8b8cc;
  --color-slate-700: #d5d5e0;
  --color-slate-800: #e6e6ee;
  --color-slate-900: #f6f6f2;
  --color-slate-950: #fff;
  --color-zinc-50: #25253e;
  --color-zinc-100: #2d2d49;
  --color-zinc-200: #2c2c46;
  --color-zinc-300: #3b3b5b;
  --color-zinc-400: #74748e;
  --color-zinc-500: #a6a6bd;
  --color-zinc-600: #b8b8cc;
  --color-zinc-700: #d5d5e0;
  --color-zinc-800: #e6e6ee;
  --color-zinc-900: #f6f6f2;
  --color-zinc-950: #fff;
  --color-neutral-50: #25253e;
  --color-neutral-100: #2d2d49;
  --color-neutral-200: #2c2c46;
  --color-neutral-300: #3b3b5b;
  --color-neutral-400: #74748e;
  --color-neutral-500: #a6a6bd;
  --color-neutral-600: #b8b8cc;
  --color-neutral-700: #d5d5e0;
  --color-neutral-800: #e6e6ee;
  --color-neutral-900: #f6f6f2;
  --color-neutral-950: #fff;
  --color-stone-50: #25253e;
  --color-stone-100: #2d2d49;
  --color-stone-200: #2c2c46;
  --color-stone-300: #3b3b5b;
  --color-stone-400: #74748e;
  --color-stone-500: #a6a6bd;
  --color-stone-600: #b8b8cc;
  --color-stone-700: #d5d5e0;
  --color-stone-800: #e6e6ee;
  --color-stone-900: #f6f6f2;
  --color-stone-950: #fff;
  --color-blue-50: #27244c;
  --color-blue-100: #2b2657;
  --color-blue-200: #352d71;
  --color-blue-300: #5b4bc7;
  --color-blue-400: #8f7bff;
  --color-blue-500: #6b4fff;
  --color-blue-600: #7e66ff;
  --color-blue-700: #b1a2ff;
  --color-blue-800: #c9beff;
  --color-blue-900: #ddd5ff;
  --color-blue-950: #eeeafe;
  --color-indigo-50: #27244c;
  --color-indigo-100: #2b2657;
  --color-indigo-200: #352d71;
  --color-indigo-300: #5b4bc7;
  --color-indigo-400: #8f7bff;
  --color-indigo-500: #6b4fff;
  --color-indigo-600: #7e66ff;
  --color-indigo-700: #b1a2ff;
  --color-indigo-800: #c9beff;
  --color-indigo-900: #ddd5ff;
  --color-indigo-950: #eeeafe;
  --color-violet-50: #27244c;
  --color-violet-100: #2b2657;
  --color-violet-200: #352d71;
  --color-violet-300: #5b4bc7;
  --color-violet-400: #8f7bff;
  --color-violet-500: #6b4fff;
  --color-violet-600: #7e66ff;
  --color-violet-700: #b1a2ff;
  --color-violet-800: #c9beff;
  --color-violet-900: #ddd5ff;
  --color-violet-950: #eeeafe;
  --color-purple-50: #27244c;
  --color-purple-100: #2b2657;
  --color-purple-200: #352d71;
  --color-purple-300: #5b4bc7;
  --color-purple-400: #8f7bff;
  --color-purple-500: #6b4fff;
  --color-purple-600: #7e66ff;
  --color-purple-700: #b1a2ff;
  --color-purple-800: #c9beff;
  --color-purple-900: #ddd5ff;
  --color-purple-950: #eeeafe;
  --color-sky-50: #27244c;
  --color-sky-100: #2b2657;
  --color-sky-200: #352d71;
  --color-sky-300: #5b4bc7;
  --color-sky-400: #8f7bff;
  --color-sky-500: #6b4fff;
  --color-sky-600: #7e66ff;
  --color-sky-700: #b1a2ff;
  --color-sky-800: #c9beff;
  --color-sky-900: #ddd5ff;
  --color-sky-950: #eeeafe;
  --color-cyan-50: #27244c;
  --color-cyan-100: #2b2657;
  --color-cyan-200: #352d71;
  --color-cyan-300: #5b4bc7;
  --color-cyan-400: #8f7bff;
  --color-cyan-500: #6b4fff;
  --color-cyan-600: #7e66ff;
  --color-cyan-700: #b1a2ff;
  --color-cyan-800: #c9beff;
  --color-cyan-900: #ddd5ff;
  --color-cyan-950: #eeeafe;
  --color-brand-50: #27244c;
  --color-brand-100: #2b2657;
  --color-brand-200: #352d71;
  --color-brand-300: #5b4bc7;
  --color-brand-400: #8f7bff;
  --color-brand-500: #6b4fff;
  --color-brand-600: #7e66ff;
  --color-brand-700: #b1a2ff;
  --color-brand-800: #c9beff;
  --color-brand-900: #ddd5ff;
  --color-brand-950: #eeeafe;
  --color-accent-50: #27244c;
  --color-accent-100: #2b2657;
  --color-accent-200: #352d71;
  --color-accent-300: #5b4bc7;
  --color-accent-400: #8f7bff;
  --color-accent-500: #6b4fff;
  --color-accent-600: #7e66ff;
  --color-accent-700: #b1a2ff;
  --color-accent-800: #c9beff;
  --color-accent-900: #ddd5ff;
  --color-accent-950: #eeeafe;
  --color-green-50: #22303b;
  --color-green-100: #23353e;
  --color-green-200: #264544;
  --color-green-300: #2f8f5a;
  --color-green-400: #43d17e;
  --color-green-500: #43d17e;
  --color-green-600: #5bdb91;
  --color-green-700: #7be3a7;
  --color-green-800: #a3edc2;
  --color-green-900: #cdf6de;
  --color-green-950: #e6fbef;
  --color-emerald-50: #22303b;
  --color-emerald-100: #23353e;
  --color-emerald-200: #264544;
  --color-emerald-300: #2f8f5a;
  --color-emerald-400: #43d17e;
  --color-emerald-500: #43d17e;
  --color-emerald-600: #5bdb91;
  --color-emerald-700: #7be3a7;
  --color-emerald-800: #a3edc2;
  --color-emerald-900: #cdf6de;
  --color-emerald-950: #e6fbef;
  --color-teal-50: #22303b;
  --color-teal-100: #23353e;
  --color-teal-200: #264544;
  --color-teal-300: #2f8f5a;
  --color-teal-400: #43d17e;
  --color-teal-500: #43d17e;
  --color-teal-600: #5bdb91;
  --color-teal-700: #7be3a7;
  --color-teal-800: #a3edc2;
  --color-teal-900: #cdf6de;
  --color-teal-950: #e6fbef;
  --color-lime-50: #22303b;
  --color-lime-100: #23353e;
  --color-lime-200: #264544;
  --color-lime-300: #2f8f5a;
  --color-lime-400: #43d17e;
  --color-lime-500: #43d17e;
  --color-lime-600: #5bdb91;
  --color-lime-700: #7be3a7;
  --color-lime-800: #a3edc2;
  --color-lime-900: #cdf6de;
  --color-lime-950: #e6fbef;
  --color-red-50: #35263c;
  --color-red-100: #3b293f;
  --color-red-200: #503046;
  --color-red-300: #9a4a5c;
  --color-red-400: #ff7088;
  --color-red-500: #ff7088;
  --color-red-600: #ff8a9e;
  --color-red-700: #ffa3b3;
  --color-red-800: #ffc2cc;
  --color-red-900: #ffe0e5;
  --color-red-950: #fff0f3;
  --color-rose-50: #35263c;
  --color-rose-100: #3b293f;
  --color-rose-200: #503046;
  --color-rose-300: #9a4a5c;
  --color-rose-400: #ff7088;
  --color-rose-500: #ff7088;
  --color-rose-600: #ff8a9e;
  --color-rose-700: #ffa3b3;
  --color-rose-800: #ffc2cc;
  --color-rose-900: #ffe0e5;
  --color-rose-950: #fff0f3;
  --color-pink-50: #35263c;
  --color-pink-100: #3b293f;
  --color-pink-200: #503046;
  --color-pink-300: #9a4a5c;
  --color-pink-400: #ff7088;
  --color-pink-500: #ff7088;
  --color-pink-600: #ff8a9e;
  --color-pink-700: #ffa3b3;
  --color-pink-800: #ffc2cc;
  --color-pink-900: #ffe0e5;
  --color-pink-950: #fff0f3;
  --color-amber-50: #302c33;
  --color-amber-100: #3b3432;
  --color-amber-200: #504431;
  --color-amber-300: #8f7420;
  --color-amber-400: #ffc928;
  --color-amber-500: #ffc928;
  --color-amber-600: #ffd45a;
  --color-amber-700: #ffd45a;
  --color-amber-800: #ffe08a;
  --color-amber-900: #ffedb8;
  --color-amber-950: #fff6db;
  --color-yellow-50: #302c33;
  --color-yellow-100: #3b3432;
  --color-yellow-200: #504431;
  --color-yellow-300: #8f7420;
  --color-yellow-400: #ffc928;
  --color-yellow-500: #ffc928;
  --color-yellow-600: #ffd45a;
  --color-yellow-700: #ffd45a;
  --color-yellow-800: #ffe08a;
  --color-yellow-900: #ffedb8;
  --color-yellow-950: #fff6db;
  --color-orange-50: #302c33;
  --color-orange-100: #3b3432;
  --color-orange-200: #504431;
  --color-orange-300: #8f7420;
  --color-orange-400: #ffc928;
  --color-orange-500: #ffc928;
  --color-orange-600: #ffd45a;
  --color-orange-700: #ffd45a;
  --color-orange-800: #ffe08a;
  --color-orange-900: #ffedb8;
  --color-orange-950: #fff6db;
}

.mx[data-mode="dark"] :is(.bg-white, .hover\:bg-white:hover) {
  background-color: var(--surface);
}

.seletor-municipio {
  width: 280px;
}

.seletor-municipio .sel-gatilho {
  height: 42px;
}

.seletor-municipio .sel-gatilho svg {
  color: var(--mut);
  flex: none;
}

.seletor-municipio .menu {
  width: 320px;
  left: auto;
  right: 0;
}

.seletor-municipio .menu-item {
  text-align: left;
  height: auto;
  min-height: 38px;
  padding: 8px 10px;
}

.seletor-municipio .menu-item small {
  font-size: 11.5px;
  font-weight: 500;
}

.mais-municipio .seletor-municipio, .mais-municipio .seletor-municipio .menu {
  width: 100%;
}

.toast-wrap {
  z-index: 60;
  width: max-content;
  max-width: calc(100vw - 32px);
  animation: sag-subir .28s var(--ease) both;
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
}

.toast .t-fechar {
  width: 28px;
  height: 28px;
  color: var(--on-ink-mut);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  flex: none;
  place-items: center;
  margin-left: 8px;
  display: grid;
}

.toast .t-fechar:hover {
  color: var(--on-ink);
  background: #f6f6f21a;
}

.toast .t-ic.ok {
  color: var(--ink);
}

.mx :is(.input, .select, .textarea):disabled {
  background-color: var(--surface-2);
  color: var(--mut);
  border-color: var(--line);
  cursor: not-allowed;
}

.filtros-corpo {
  border-top: 1px solid var(--line);
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  display: flex;
}

.filtros-grade .periodo-campo {
  grid-column: span 2;
}

.periodo-campo .input {
  min-width: 0;
}

.filtros-acoes {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  display: flex;
}

@media (max-width: 760px) {
  .filtros-grade .periodo-campo {
    grid-column: auto;
  }

  .filtros-acoes .btn {
    flex: 1;
  }
}

.kpis.seis {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.kpis.seis .kpi b {
  font-size: clamp(28px, 2.6vw, 40px);
}

.kpi small .chip {
  margin-top: 2px;
}

@media (max-width: 1100px) {
  .kpis.seis {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .kpis.seis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card.grafico {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.grafico-corpo {
  flex: 1;
}

.grafico-rodape {
  border-top: 1px solid var(--line);
  color: var(--mut);
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 14px;
  font-size: 12.5px;
  display: flex;
}

.grafico-rodape b {
  color: var(--text);
  font-weight: 700;
}

.hbar .hbar-rotulo {
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
  overflow: hidden;
}

.hbars.largo .hbar {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 56px;
}

.hbar b.y-ink {
  color: var(--y-ink);
}

@media (max-width: 760px) {
  .hbar {
    grid-template-columns: minmax(0, 110px) minmax(0, 1fr) 52px;
  }
}

.bncc-desc {
  -webkit-line-clamp: 2;
  max-width: 520px;
  color: var(--text-2);
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.acerto {
  white-space: nowrap;
  grid-template-columns: 90px 52px auto;
  align-items: center;
  gap: 10px;
  display: inline-grid;
}

.acerto b {
  text-align: right;
}

.tabela-topo .seg {
  flex: none;
}

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

.aluno-btn {
  font: inherit;
  color: var(--text);
  text-align: left;
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 4px;
  padding: 0;
  font-weight: 700;
}

.aluno-btn:hover {
  color: var(--v-ink);
  text-underline-offset: 3px;
  text-decoration: underline;
}

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

.mb-banco {
  flex-direction: column;
  gap: 14px;
  min-height: 0;
  display: flex;
}

.mb-paineis {
  grid-template-columns: 272px minmax(0, 1fr);
  gap: 20px;
  min-height: 0;
  display: grid;
}

.mb-filtros {
  border-radius: var(--r-m);
  background: var(--surface-2);
  flex-direction: column;
  gap: 16px;
  padding: 16px;
  display: flex;
}

.mb-filtros-cab {
  min-height: 34px;
}

.mb-lista {
  flex-direction: column;
  gap: 12px;
  padding: 4px 4px 8px;
  display: flex;
}

@media (min-width: 761px) {
  .mb-banco {
    height: min(680px, 100dvh - 240px);
  }

  .mb-paineis {
    flex: 1;
    grid-template-rows: minmax(0, 1fr);
  }

  .mb-filtros, .mb-lista {
    min-height: 0;
    overflow-y: auto;
  }
}

@media (max-width: 760px) {
  .mb-paineis {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .mb-lista {
    padding: 0;
  }
}

.mb-questao {
  border: 1.5px solid var(--line);
  background: var(--surface);
  cursor: pointer;
  border-radius: 16px;
  flex-direction: column;
  gap: 12px;
  padding: 16px 18px;
  transition: border-color .2s, box-shadow .25s;
  display: flex;
}

.mb-questao:hover {
  border-color: var(--line-2);
}

.mb-questao.on {
  border-color: var(--v);
  box-shadow: var(--ring);
}

.mb-questao.vinc {
  cursor: default;
}

.mb-questao.vinc:hover {
  border-color: var(--line);
}

.mb-enunciado {
  color: var(--text);
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.6;
}

.mb-enunciado img {
  max-width: 100%;
  height: auto;
}

.mb-alts {
  border-radius: var(--r-m);
  background: var(--surface-2);
  margin: 0;
  padding: 4px 0;
  list-style: none;
}

.mb-alt {
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 10px 14px;
  font-size: 13.5px;
  display: grid;
}

.mb-alt + .mb-alt {
  border-top: 1px solid var(--line);
}

.mb-letra {
  background: var(--surface-3);
  width: 24px;
  height: 24px;
  color: var(--text-2);
  border-radius: 50%;
  place-items: center;
  font-size: 11.5px;
  font-weight: 750;
  display: grid;
}

.mb-alt.correta .mb-letra {
  background: var(--ok-soft);
  color: var(--ok);
}

#root {
  min-height: 100dvh;
}

::selection {
  background: var(--v-soft-2);
  color: var(--text);
}

* {
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: none;
}

::-webkit-scrollbar-thumb {
  background: var(--line-2);
  background-clip: padding-box;
  border: 3px solid #0000;
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--mut-2);
}

.prose h1 {
  margin: .67em 0;
  font-size: 2em;
  font-weight: bold;
}

.prose h2 {
  margin: .75em 0;
  font-size: 1.5em;
  font-weight: bold;
}

.prose h3 {
  margin: .83em 0;
  font-size: 1.17em;
  font-weight: bold;
}

.prose blockquote {
  border-left: 4px solid var(--line-2);
  margin: 1em 0;
  padding-left: 1em;
  font-style: italic;
}

.prose a {
  color: var(--v-ink);
  text-decoration: underline;
}

.prose a:hover {
  color: var(--v-hover);
}

.prose [style*="text-align: center"], .prose [style*="text-align:center"], .prose .ql-align-center, .ql-align-center, .prose [class*="ql-align-center"] {
  text-align: center !important;
}

.prose [style*="text-align: right"], .prose [style*="text-align:right"], .prose .ql-align-right, .ql-align-right, .prose [class*="ql-align-right"] {
  text-align: right !important;
}

.prose [style*="text-align: left"], .prose [style*="text-align:left"], .prose .ql-align-left, .ql-align-left, .prose [class*="ql-align-left"] {
  text-align: left !important;
}

.prose [style*="text-align: justify"], .prose [style*="text-align:justify"], .prose .ql-align-justify, .ql-align-justify, .prose [class*="ql-align-justify"] {
  text-align: justify !important;
}

.prose p[style*="text-align"], .prose div[style*="text-align"], .prose span[style*="text-align"], .prose p[class*="ql-align"], .prose div[class*="ql-align"], .prose span[class*="ql-align"] {
  display: block;
}

.prose u {
  text-decoration: underline;
}

.prose s, .prose strike {
  text-decoration: line-through;
}

.prose ul, .prose ul[class*="ql-"], .prose ul[class*="bullet"], .prose ul[data-list="bullet"] {
  margin: 1em 0;
  padding-left: 2em;
  list-style-type: disc !important;
}

.prose ol, .prose ol[class*="ql-"], .prose ol[class*="ordered"], .prose ol[data-list="ordered"] {
  margin: 1em 0;
  padding-left: 2em;
  list-style-type: decimal !important;
}

.prose li {
  margin: .5em 0;
  display: list-item;
}

.ql-editor ul, .ql-container ul, .ql-editor ul[class*="bullet"], .ql-container ul[class*="bullet"], .ql-editor ul[data-list="bullet"], .ql-container ul[data-list="bullet"] {
  margin: .5em 0;
  padding-left: 1.5em;
  list-style-type: disc !important;
}

.ql-editor ol, .ql-container ol, .ql-editor ol[class*="ordered"], .ql-container ol[class*="ordered"], .ql-editor ol[data-list="ordered"], .ql-container ol[data-list="ordered"] {
  margin: .5em 0;
  padding-left: 1.5em;
  list-style-type: decimal !important;
}

.ql-editor li, .ql-container li {
  margin: .25em 0;
  display: list-item;
}

.ql-editor [class*="ql-align-center"], .ql-editor [style*="text-align: center"], .ql-container [class*="ql-align-center"], .ql-container [style*="text-align: center"] {
  text-align: center !important;
}

.ql-editor [class*="ql-align-right"], .ql-editor [style*="text-align: right"], .ql-container [class*="ql-align-right"], .ql-container [style*="text-align: right"] {
  text-align: right !important;
}

.ql-editor [class*="ql-align-justify"], .ql-editor [style*="text-align: justify"], .ql-container [class*="ql-align-justify"], .ql-container [style*="text-align: justify"] {
  text-align: justify !important;
}

.prose [class*="ql-align-center"], .prose [style*="text-align: center"], .prose [style*="text-align:center"], .ql-editor [class*="ql-align-center"], .ql-editor [style*="text-align: center"], .ql-container [class*="ql-align-center"], .ql-container [style*="text-align: center"], .questao-content [class*="ql-align-center"], .questao-content [style*="text-align: center"] {
  text-align: center !important;
}

.prose [class*="ql-align-right"], .prose [style*="text-align: right"], .prose [style*="text-align:right"], .ql-editor [class*="ql-align-right"], .ql-editor [style*="text-align: right"], .ql-container [class*="ql-align-right"], .ql-container [style*="text-align: right"], .questao-content [class*="ql-align-right"], .questao-content [style*="text-align: right"] {
  text-align: right !important;
}

.prose [class*="ql-align-left"], .prose [style*="text-align: left"], .prose [style*="text-align:left"], .ql-editor [class*="ql-align-left"], .ql-editor [style*="text-align: left"], .ql-container [class*="ql-align-left"], .ql-container [style*="text-align: left"], .questao-content [class*="ql-align-left"], .questao-content [style*="text-align: left"] {
  text-align: left !important;
}

.prose [class*="ql-align-justify"], .prose [style*="text-align: justify"], .prose [style*="text-align:justify"], .ql-editor [class*="ql-align-justify"], .ql-editor [style*="text-align: justify"], .ql-container [class*="ql-align-justify"], .ql-container [style*="text-align: justify"], .questao-content [class*="ql-align-justify"], .questao-content [style*="text-align: justify"] {
  text-align: justify !important;
}

.ProseMirror {
  outline: none;
  min-height: 100px;
}

.ProseMirror p {
  margin: 0;
}

.ProseMirror p.is-editor-empty:first-child:before {
  color: #adb5bd;
  content: attr(data-placeholder);
  float: left;
  pointer-events: none;
  height: 0;
}

.ProseMirror-focused {
  outline: none;
}

.sidebar-scroll::-webkit-scrollbar {
  width: 4px;
}

.sidebar-scroll::-webkit-scrollbar-track {
  background: none;
}

.sidebar-scroll::-webkit-scrollbar-thumb {
  background: #ffffff26;
  border-radius: 9999px;
}

.sidebar-scroll::-webkit-scrollbar-thumb:hover {
  background: #ffffff4d;
}

.sidebar-scroll {
  scrollbar-width: thin;
  scrollbar-color: #ffffff26 transparent;
}

.custom-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  background: none;
  margin: 4px 0;
}

.custom-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(#6366f140, #6366f126);
  border-radius: 9999px;
  transition: background .2s;
}

.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(#6366f173, #6366f14d);
}

.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: #6366f133 transparent;
}

@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-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-divide-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-gradient-position {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-from {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-via {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-to {
  syntax: "<color>";
  inherits: false;
  initial-value: #0000;
}

@property --tw-gradient-stops {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-via-stops {
  syntax: "*";
  inherits: false
}

@property --tw-gradient-from-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 0%;
}

@property --tw-gradient-via-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 50%;
}

@property --tw-gradient-to-position {
  syntax: "<length-percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-leading {
  syntax: "*";
  inherits: false
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-tracking {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@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
}

@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-duration {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}

@property --tw-scale-x {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-y {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-scale-z {
  syntax: "*";
  inherits: false;
  initial-value: 1;
}

@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

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