/* Stapolin Website Services — compiled stylesheet. Do not edit: change assets/css/src/app.css and run node tools/build.mjs */
/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --container-5xl: 64rem;
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-tight: -0.025em;
    --leading-tight: 1.25;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --animate-spin: spin 1s linear infinite;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --default-mono-font-family: var(--font-mono);
    --font-display: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif;
    --radius-panel: 12px;
    --radius-control: 8px;
    --radius-chip: 6px;
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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)) {
        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, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-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"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .pointer-events-none {
    pointer-events: none;
  }
  .collapse {
    visibility: collapse;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .sticky {
    position: sticky;
  }
  .inset-y-0 {
    inset-block: 0px;
  }
  .top-1\.5 {
    top: calc(var(--spacing) * 1.5);
  }
  .top-1\/2 {
    top: calc(1 / 2 * 100%);
  }
  .top-3 {
    top: calc(var(--spacing) * 3);
  }
  .top-\[84px\] {
    top: 84px;
  }
  .right-0 {
    right: 0px;
  }
  .right-1\.5 {
    right: calc(var(--spacing) * 1.5);
  }
  .right-\[18px\] {
    right: 18px;
  }
  .left-8 {
    left: calc(var(--spacing) * 8);
  }
  .left-\[18px\] {
    left: 18px;
  }
  .order-last {
    order: 9999;
  }
  .col-span-2 {
    grid-column: span 2 / span 2;
  }
  .-mx-\[18px\] {
    margin-inline: calc(18px * -1);
  }
  .mx-\[18px\] {
    margin-inline: 18px;
  }
  .mx-auto {
    margin-inline: auto;
  }
  .my-3 {
    margin-block: calc(var(--spacing) * 3);
  }
  .my-6 {
    margin-block: calc(var(--spacing) * 6);
  }
  .-mt-0\.5 {
    margin-top: calc(var(--spacing) * -0.5);
  }
  .-mt-1 {
    margin-top: calc(var(--spacing) * -1);
  }
  .mt-0\.5 {
    margin-top: calc(var(--spacing) * 0.5);
  }
  .mt-1 {
    margin-top: var(--spacing);
  }
  .mt-1\.5 {
    margin-top: calc(var(--spacing) * 1.5);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .mt-2\.5 {
    margin-top: calc(var(--spacing) * 2.5);
  }
  .mt-3 {
    margin-top: calc(var(--spacing) * 3);
  }
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }
  .mt-5 {
    margin-top: calc(var(--spacing) * 5);
  }
  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }
  .mt-7 {
    margin-top: calc(var(--spacing) * 7);
  }
  .mt-8 {
    margin-top: calc(var(--spacing) * 8);
  }
  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }
  .mt-14 {
    margin-top: calc(var(--spacing) * 14);
  }
  .mt-auto {
    margin-top: auto;
  }
  .mt-px {
    margin-top: 1px;
  }
  .mr-1 {
    margin-right: var(--spacing);
  }
  .mr-auto {
    margin-right: auto;
  }
  .-mb-3 {
    margin-bottom: calc(var(--spacing) * -3);
  }
  .mb-0 {
    margin-bottom: 0px;
  }
  .mb-1 {
    margin-bottom: var(--spacing);
  }
  .mb-1\.5 {
    margin-bottom: calc(var(--spacing) * 1.5);
  }
  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }
  .mb-2\.5 {
    margin-bottom: calc(var(--spacing) * 2.5);
  }
  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }
  .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);
  }
  .mb-12 {
    margin-bottom: calc(var(--spacing) * 12);
  }
  .ml-1 {
    margin-left: var(--spacing);
  }
  .ml-2 {
    margin-left: calc(var(--spacing) * 2);
  }
  .ml-10 {
    margin-left: calc(var(--spacing) * 10);
  }
  .ml-auto {
    margin-left: auto;
  }
  .line-clamp-1 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .inline-flex {
    display: inline-flex;
  }
  .table {
    display: table;
  }
  .aspect-\[4\/3\] {
    aspect-ratio: 4/3;
  }
  .h-0\.5 {
    height: calc(var(--spacing) * 0.5);
  }
  .h-2 {
    height: calc(var(--spacing) * 2);
  }
  .h-2\.5 {
    height: calc(var(--spacing) * 2.5);
  }
  .h-3 {
    height: calc(var(--spacing) * 3);
  }
  .h-3\.5 {
    height: calc(var(--spacing) * 3.5);
  }
  .h-4 {
    height: calc(var(--spacing) * 4);
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .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-14 {
    height: calc(var(--spacing) * 14);
  }
  .h-16 {
    height: calc(var(--spacing) * 16);
  }
  .h-24 {
    height: calc(var(--spacing) * 24);
  }
  .h-40 {
    height: calc(var(--spacing) * 40);
  }
  .h-\[18px\] {
    height: 18px;
  }
  .h-full {
    height: 100%;
  }
  .h-px {
    height: 1px;
  }
  .max-h-48 {
    max-height: calc(var(--spacing) * 48);
  }
  .max-h-52 {
    max-height: calc(var(--spacing) * 52);
  }
  .min-h-0 {
    min-height: 0px;
  }
  .min-h-\[32px\] {
    min-height: 32px;
  }
  .min-h-\[260px\] {
    min-height: 260px;
  }
  .min-h-dvh {
    min-height: 100dvh;
  }
  .w-1\/2 {
    width: calc(1 / 2 * 100%);
  }
  .w-1\/3 {
    width: calc(1 / 3 * 100%);
  }
  .w-2 {
    width: calc(var(--spacing) * 2);
  }
  .w-2\.5 {
    width: calc(var(--spacing) * 2.5);
  }
  .w-2\/3 {
    width: calc(2 / 3 * 100%);
  }
  .w-2\/5 {
    width: calc(2 / 5 * 100%);
  }
  .w-3 {
    width: calc(var(--spacing) * 3);
  }
  .w-3\.5 {
    width: calc(var(--spacing) * 3.5);
  }
  .w-3\/4 {
    width: calc(3 / 4 * 100%);
  }
  .w-4 {
    width: calc(var(--spacing) * 4);
  }
  .w-4\/5 {
    width: calc(4 / 5 * 100%);
  }
  .w-5 {
    width: calc(var(--spacing) * 5);
  }
  .w-6 {
    width: calc(var(--spacing) * 6);
  }
  .w-7 {
    width: calc(var(--spacing) * 7);
  }
  .w-8 {
    width: calc(var(--spacing) * 8);
  }
  .w-9 {
    width: calc(var(--spacing) * 9);
  }
  .w-10 {
    width: calc(var(--spacing) * 10);
  }
  .w-14 {
    width: calc(var(--spacing) * 14);
  }
  .w-16 {
    width: calc(var(--spacing) * 16);
  }
  .w-20 {
    width: calc(var(--spacing) * 20);
  }
  .w-24 {
    width: calc(var(--spacing) * 24);
  }
  .w-28 {
    width: calc(var(--spacing) * 28);
  }
  .w-32 {
    width: calc(var(--spacing) * 32);
  }
  .w-40 {
    width: calc(var(--spacing) * 40);
  }
  .w-\[18px\] {
    width: 18px;
  }
  .w-auto {
    width: auto;
  }
  .w-full {
    width: 100%;
  }
  .max-w-5xl {
    max-width: var(--container-5xl);
  }
  .max-w-\[22ch\] {
    max-width: 22ch;
  }
  .max-w-\[60ch\] {
    max-width: 60ch;
  }
  .max-w-\[70ch\] {
    max-width: 70ch;
  }
  .max-w-\[180px\] {
    max-width: 180px;
  }
  .max-w-\[190px\] {
    max-width: 190px;
  }
  .max-w-\[200px\] {
    max-width: 200px;
  }
  .max-w-\[240px\] {
    max-width: 240px;
  }
  .max-w-\[300px\] {
    max-width: 300px;
  }
  .max-w-\[460px\] {
    max-width: 460px;
  }
  .max-w-\[860px\] {
    max-width: 860px;
  }
  .min-w-0 {
    min-width: 0px;
  }
  .min-w-\[180px\] {
    min-width: 180px;
  }
  .min-w-\[200px\] {
    min-width: 200px;
  }
  .min-w-\[220px\] {
    min-width: 220px;
  }
  .flex-1 {
    flex: 1;
  }
  .shrink-0 {
    flex-shrink: 0;
  }
  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1 / 2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .animate-spin {
    animation: var(--animate-spin);
  }
  .cursor-grab {
    cursor: grab;
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .resize {
    resize: both;
  }
  .list-disc {
    list-style-type: disc;
  }
  .columns-3 {
    columns: 3;
  }
  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  .grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .grid-cols-\[minmax\(0\,1fr\)_110px\] {
    grid-template-columns: minmax(0,1fr) 110px;
  }
  .flex-col {
    flex-direction: column;
  }
  .flex-row {
    flex-direction: row;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .place-items-center {
    place-items: center;
  }
  .content-start {
    align-content: flex-start;
  }
  .items-baseline {
    align-items: baseline;
  }
  .items-center {
    align-items: center;
  }
  .items-end {
    align-items: flex-end;
  }
  .items-start {
    align-items: flex-start;
  }
  .justify-between {
    justify-content: space-between;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-end {
    justify-content: flex-end;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .justify-items-start {
    justify-items: start;
  }
  .gap-0\.5 {
    gap: calc(var(--spacing) * 0.5);
  }
  .gap-1 {
    gap: var(--spacing);
  }
  .gap-1\.5 {
    gap: calc(var(--spacing) * 1.5);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .gap-2\.5 {
    gap: calc(var(--spacing) * 2.5);
  }
  .gap-3 {
    gap: calc(var(--spacing) * 3);
  }
  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }
  .gap-5 {
    gap: calc(var(--spacing) * 5);
  }
  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }
  .gap-8 {
    gap: calc(var(--spacing) * 8);
  }
  .gap-10 {
    gap: calc(var(--spacing) * 10);
  }
  .gap-\[3px\] {
    gap: 3px;
  }
  .gap-px {
    gap: 1px;
  }
  .gap-x-2 {
    column-gap: calc(var(--spacing) * 2);
  }
  .gap-x-3 {
    column-gap: calc(var(--spacing) * 3);
  }
  .gap-x-5 {
    column-gap: calc(var(--spacing) * 5);
  }
  .gap-x-6 {
    column-gap: calc(var(--spacing) * 6);
  }
  .gap-x-8 {
    column-gap: calc(var(--spacing) * 8);
  }
  :where(.-space-x-1\.5 > :not(:last-child)) {
    --tw-space-x-reverse: 0;
    margin-inline-start: calc(calc(var(--spacing) * -1.5) * var(--tw-space-x-reverse));
    margin-inline-end: calc(calc(var(--spacing) * -1.5) * calc(1 - var(--tw-space-x-reverse)));
  }
  .gap-y-1 {
    row-gap: var(--spacing);
  }
  .gap-y-2 {
    row-gap: calc(var(--spacing) * 2);
  }
  .gap-y-2\.5 {
    row-gap: calc(var(--spacing) * 2.5);
  }
  .gap-y-3 {
    row-gap: calc(var(--spacing) * 3);
  }
  .gap-y-4 {
    row-gap: calc(var(--spacing) * 4);
  }
  .gap-y-5 {
    row-gap: calc(var(--spacing) * 5);
  }
  :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-line > :not(:last-child)) {
    border-color: var(--c-line);
  }
  .self-center {
    align-self: center;
  }
  .self-start {
    align-self: flex-start;
  }
  .justify-self-end {
    justify-self: flex-end;
  }
  .justify-self-start {
    justify-self: flex-start;
  }
  .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .overflow-x-auto {
    overflow-x: auto;
  }
  .overflow-y-auto {
    overflow-y: auto;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-2xl {
    border-radius: var(--radius-2xl);
  }
  .rounded-full {
    border-radius: calc(infinity * 1px);
  }
  .rounded-lg {
    border-radius: var(--radius-lg);
  }
  .rounded-md {
    border-radius: var(--radius-md);
  }
  .rounded-none {
    border-radius: 0;
  }
  .rounded-sm {
    border-radius: var(--radius-sm);
  }
  .rounded-xl {
    border-radius: var(--radius-xl);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .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-l {
    border-left-style: var(--tw-border-style);
    border-left-width: 1px;
  }
  .border-l-2 {
    border-left-style: var(--tw-border-style);
    border-left-width: 2px;
  }
  .border-dashed {
    --tw-border-style: dashed;
    border-style: dashed;
  }
  .border-line {
    border-color: var(--c-line);
  }
  .border-transparent {
    border-color: transparent;
  }
  .border-warning {
    border-color: var(--c-warning);
  }
  .bg-black\/60 {
    background-color: color-mix(in srgb, #000 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 60%, transparent);
    }
  }
  .bg-canvas {
    background-color: var(--c-canvas);
  }
  .bg-danger {
    background-color: var(--c-danger);
  }
  .bg-line {
    background-color: var(--c-line);
  }
  .bg-nav {
    background-color: var(--c-nav);
  }
  .bg-primary {
    background-color: var(--c-primary);
  }
  .bg-success {
    background-color: var(--c-success);
  }
  .bg-surface {
    background-color: var(--c-surface);
  }
  .bg-surface-2 {
    background-color: var(--c-surface-2);
  }
  .bg-surface-3 {
    background-color: var(--c-surface-3);
  }
  .bg-violet {
    background-color: var(--c-violet);
  }
  .bg-violet-soft {
    background-color: var(--c-violet-soft);
  }
  .bg-warning {
    background-color: var(--c-warning);
  }
  .bg-warning-soft {
    background-color: var(--c-warning-soft);
  }
  .bg-white\/15 {
    background-color: color-mix(in srgb, #fff 15%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-white) 15%, transparent);
    }
  }
  .object-cover {
    object-fit: cover;
  }
  .p-0 {
    padding: 0px;
  }
  .p-1\.5 {
    padding: calc(var(--spacing) * 1.5);
  }
  .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-5 {
    padding: calc(var(--spacing) * 5);
  }
  .p-\[14px\] {
    padding: 14px;
  }
  .p-\[18px\] {
    padding: 18px;
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }
  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }
  .px-5 {
    padding-inline: calc(var(--spacing) * 5);
  }
  .px-\[18px\] {
    padding-inline: 18px;
  }
  .py-1 {
    padding-block: var(--spacing);
  }
  .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-3\.5 {
    padding-block: calc(var(--spacing) * 3.5);
  }
  .py-4 {
    padding-block: calc(var(--spacing) * 4);
  }
  .py-5 {
    padding-block: calc(var(--spacing) * 5);
  }
  .py-6 {
    padding-block: calc(var(--spacing) * 6);
  }
  .py-8 {
    padding-block: calc(var(--spacing) * 8);
  }
  .py-10 {
    padding-block: calc(var(--spacing) * 10);
  }
  .py-12 {
    padding-block: calc(var(--spacing) * 12);
  }
  .py-14 {
    padding-block: calc(var(--spacing) * 14);
  }
  .pt-0 {
    padding-top: 0px;
  }
  .pt-0\.5 {
    padding-top: calc(var(--spacing) * 0.5);
  }
  .pt-1 {
    padding-top: var(--spacing);
  }
  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }
  .pt-3 {
    padding-top: calc(var(--spacing) * 3);
  }
  .pt-4 {
    padding-top: calc(var(--spacing) * 4);
  }
  .pt-5 {
    padding-top: calc(var(--spacing) * 5);
  }
  .pr-2 {
    padding-right: calc(var(--spacing) * 2);
  }
  .pr-3 {
    padding-right: calc(var(--spacing) * 3);
  }
  .pr-10 {
    padding-right: calc(var(--spacing) * 10);
  }
  .pb-0 {
    padding-bottom: 0px;
  }
  .pb-0\.5 {
    padding-bottom: calc(var(--spacing) * 0.5);
  }
  .pb-1 {
    padding-bottom: var(--spacing);
  }
  .pb-1\.5 {
    padding-bottom: calc(var(--spacing) * 1.5);
  }
  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }
  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }
  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }
  .pb-5 {
    padding-bottom: calc(var(--spacing) * 5);
  }
  .pl-3 {
    padding-left: calc(var(--spacing) * 3);
  }
  .pl-4 {
    padding-left: calc(var(--spacing) * 4);
  }
  .pl-5 {
    padding-left: calc(var(--spacing) * 5);
  }
  .pl-7 {
    padding-left: calc(var(--spacing) * 7);
  }
  .text-center {
    text-align: center;
  }
  .text-left {
    text-align: left;
  }
  .text-right {
    text-align: right;
  }
  .font-display {
    font-family: "Inter Display", "Inter", ui-sans-serif, system-ui, sans-serif;
  }
  .font-mono {
    font-family: var(--font-mono);
  }
  .text-2xl {
    font-size: 26px;
    line-height: var(--tw-leading, 32px);
  }
  .text-3xl {
    font-size: 32px;
    line-height: var(--tw-leading, 38px);
  }
  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }
  .text-base {
    font-size: 14px;
    line-height: var(--tw-leading, 22px);
  }
  .text-lg {
    font-size: 18px;
    line-height: var(--tw-leading, 26px);
  }
  .text-md {
    font-size: 16px;
    line-height: var(--tw-leading, 24px);
  }
  .text-sm {
    font-size: 13px;
    line-height: var(--tw-leading, 20px);
  }
  .text-xl {
    font-size: 22px;
    line-height: var(--tw-leading, 28px);
  }
  .text-xs {
    font-size: 12px;
    line-height: var(--tw-leading, 16px);
  }
  .text-\[11\.5px\] {
    font-size: 11.5px;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .leading-5 {
    --tw-leading: calc(var(--spacing) * 5);
    line-height: calc(var(--spacing) * 5);
  }
  .leading-6 {
    --tw-leading: calc(var(--spacing) * 6);
    line-height: calc(var(--spacing) * 6);
  }
  .leading-tight {
    --tw-leading: var(--leading-tight);
    line-height: var(--leading-tight);
  }
  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .font-normal {
    --tw-font-weight: var(--font-weight-normal);
    font-weight: var(--font-weight-normal);
  }
  .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);
  }
  .break-words {
    overflow-wrap: break-word;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .whitespace-pre-line {
    white-space: pre-line;
  }
  .text-danger {
    color: var(--c-danger);
  }
  .text-danger-ink {
    color: var(--c-danger-ink);
  }
  .text-ink {
    color: var(--c-ink);
  }
  .text-ink-2 {
    color: var(--c-ink-2);
  }
  .text-ink-3 {
    color: var(--c-ink-3);
  }
  .text-primary {
    color: var(--c-primary);
  }
  .text-success {
    color: var(--c-success);
  }
  .text-success-ink {
    color: var(--c-success-ink);
  }
  .text-warning {
    color: var(--c-warning);
  }
  .text-warning-ink {
    color: var(--c-warning-ink);
  }
  .text-white {
    color: var(--color-white);
  }
  .text-white\/60 {
    color: color-mix(in srgb, #fff 60%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 60%, transparent);
    }
  }
  .text-white\/80 {
    color: color-mix(in srgb, #fff 80%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 80%, transparent);
    }
  }
  .text-white\/90 {
    color: color-mix(in srgb, #fff 90%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      color: color-mix(in oklab, var(--color-white) 90%, transparent);
    }
  }
  .italic {
    font-style: italic;
  }
  .line-through {
    text-decoration-line: line-through;
  }
  .underline {
    text-decoration-line: underline;
  }
  .opacity-50 {
    opacity: 50%;
  }
  .ring {
    --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);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .blur {
    --tw-blur: blur(8px);
    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,);
  }
  .\!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,) !important;
  }
  .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,);
  }
  .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));
  }
  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }
  @media (hover: hover) {
    .group-hover\:text-primary:is(:where(.group):hover *) {
      color: var(--c-primary);
    }
    .hover\:border-primary:hover {
      border-color: var(--c-primary);
    }
    .hover\:bg-surface-2:hover {
      background-color: var(--c-surface-2);
    }
    .hover\:text-primary:hover {
      color: var(--c-primary);
    }
    .hover\:text-success:hover {
      color: var(--c-success);
    }
    .hover\:underline:hover {
      text-decoration-line: underline;
    }
  }
  @media (width >= 40rem) {
    .sm\:col-span-2 {
      grid-column: span 2 / span 2;
    }
    .sm\:col-span-3 {
      grid-column: span 3 / span 3;
    }
    .sm\:ml-0 {
      margin-left: 0px;
    }
    .sm\:ml-auto {
      margin-left: auto;
    }
    .sm\:block {
      display: block;
    }
    .sm\:inline {
      display: inline;
    }
    .sm\:inline-flex {
      display: inline-flex;
    }
    .sm\:w-56 {
      width: calc(var(--spacing) * 56);
    }
    .sm\:w-60 {
      width: calc(var(--spacing) * 60);
    }
    .sm\:w-64 {
      width: calc(var(--spacing) * 64);
    }
    .sm\:w-72 {
      width: calc(var(--spacing) * 72);
    }
    .sm\:w-auto {
      width: auto;
    }
    .sm\:min-w-\[220px\] {
      min-width: 220px;
    }
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sm\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .sm\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .sm\:grid-cols-\[1fr_300px\] {
      grid-template-columns: 1fr 300px;
    }
    .sm\:grid-cols-\[150px_minmax\(0\,1fr\)\] {
      grid-template-columns: 150px minmax(0,1fr);
    }
    .sm\:grid-cols-\[220px_minmax\(0\,1fr\)\] {
      grid-template-columns: 220px minmax(0,1fr);
    }
    .sm\:grid-cols-\[minmax\(0\,1fr\)_190px\] {
      grid-template-columns: minmax(0,1fr) 190px;
    }
    .sm\:grid-cols-\[minmax\(0\,1fr\)_200px\] {
      grid-template-columns: minmax(0,1fr) 200px;
    }
    .sm\:grid-cols-\[minmax\(0\,2fr\)_minmax\(0\,3fr\)\] {
      grid-template-columns: minmax(0,2fr) minmax(0,3fr);
    }
    .sm\:gap-6 {
      gap: calc(var(--spacing) * 6);
    }
    .sm\:py-20 {
      padding-block: calc(var(--spacing) * 20);
    }
    .sm\:text-\[40px\] {
      font-size: 40px;
    }
    .sm\:leading-\[46px\] {
      --tw-leading: 46px;
      line-height: 46px;
    }
  }
  @media (width >= 48rem) {
    .md\:block {
      display: block;
    }
    .md\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }
  @media (width >= 64rem) {
    .lg\:absolute {
      position: absolute;
    }
    .lg\:sticky {
      position: sticky;
    }
    .lg\:inset-0 {
      inset: 0px;
    }
    .lg\:top-6 {
      top: calc(var(--spacing) * 6);
    }
    .lg\:top-20 {
      top: calc(var(--spacing) * 20);
    }
    .lg\:top-\[76px\] {
      top: 76px;
    }
    .lg\:top-\[84px\] {
      top: 84px;
    }
    .lg\:col-span-2 {
      grid-column: span 2 / span 2;
    }
    .lg\:col-span-4 {
      grid-column: span 4 / span 4;
    }
    .lg\:col-span-5 {
      grid-column: span 5 / span 5;
    }
    .lg\:col-span-7 {
      grid-column: span 7 / span 7;
    }
    .lg\:col-span-8 {
      grid-column: span 8 / span 8;
    }
    .lg\:col-start-2 {
      grid-column-start: 2;
    }
    .lg\:block {
      display: block;
    }
    .lg\:hidden {
      display: none;
    }
    .lg\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .lg\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .lg\:grid-cols-6 {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .lg\:grid-cols-8 {
      grid-template-columns: repeat(8, minmax(0, 1fr));
    }
    .lg\:grid-cols-12 {
      grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .lg\:grid-cols-\[220px_minmax\(0\,1fr\)\] {
      grid-template-columns: 220px minmax(0,1fr);
    }
    .lg\:grid-cols-\[230px_minmax\(0\,1fr\)\] {
      grid-template-columns: 230px minmax(0,1fr);
    }
    .lg\:grid-cols-\[250px_minmax\(0\,1fr\)\] {
      grid-template-columns: 250px minmax(0,1fr);
    }
    .lg\:grid-cols-\[260px_minmax\(0\,1fr\)\] {
      grid-template-columns: 260px minmax(0,1fr);
    }
    .lg\:grid-cols-\[340px_minmax\(0\,1fr\)\] {
      grid-template-columns: 340px minmax(0,1fr);
    }
    .lg\:grid-cols-\[minmax\(0\,1fr\)_300px\] {
      grid-template-columns: minmax(0,1fr) 300px;
    }
    .lg\:grid-cols-\[minmax\(0\,1fr\)_320px\] {
      grid-template-columns: minmax(0,1fr) 320px;
    }
    .lg\:grid-cols-\[minmax\(0\,1fr\)_340px\] {
      grid-template-columns: minmax(0,1fr) 340px;
    }
    .lg\:border-t-0 {
      border-top-style: var(--tw-border-style);
      border-top-width: 0px;
    }
    .lg\:border-l {
      border-left-style: var(--tw-border-style);
      border-left-width: 1px;
    }
  }
  @media (width >= 80rem) {
    .xl\:sticky {
      position: sticky;
    }
    .xl\:top-20 {
      top: calc(var(--spacing) * 20);
    }
    .xl\:top-\[84px\] {
      top: 84px;
    }
    .xl\:col-span-4 {
      grid-column: span 4 / span 4;
    }
    .xl\:col-span-8 {
      grid-column: span 8 / span 8;
    }
    .xl\:col-start-auto {
      grid-column-start: auto;
    }
    .xl\:block {
      display: block;
    }
    .xl\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .xl\:grid-cols-4 {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .xl\:grid-cols-5 {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
    .xl\:grid-cols-\[200px_minmax\(0\,1fr\)\] {
      grid-template-columns: 200px minmax(0,1fr);
    }
    .xl\:grid-cols-\[220px_minmax\(0\,1fr\)_280px\] {
      grid-template-columns: 220px minmax(0,1fr) 280px;
    }
    .xl\:grid-cols-\[280px_minmax\(0\,1fr\)\] {
      grid-template-columns: 280px minmax(0,1fr);
    }
    .xl\:grid-cols-\[minmax\(0\,1fr\)_300px\] {
      grid-template-columns: minmax(0,1fr) 300px;
    }
    .xl\:grid-cols-\[minmax\(0\,1fr\)_320px\] {
      grid-template-columns: minmax(0,1fr) 320px;
    }
    .xl\:grid-cols-\[minmax\(0\,1fr\)_340px\] {
      grid-template-columns: minmax(0,1fr) 340px;
    }
    .xl\:grid-cols-\[minmax\(0\,1fr\)_360px\] {
      grid-template-columns: minmax(0,1fr) 360px;
    }
  }
  @media (width >= 96rem) {
    .\32 xl\:sticky {
      position: sticky;
    }
    .\32 xl\:top-20 {
      top: calc(var(--spacing) * 20);
    }
    .\32 xl\:block {
      display: block;
    }
    .\32 xl\:grid-cols-\[230px_minmax\(0\,1fr\)_320px\] {
      grid-template-columns: 230px minmax(0,1fr) 320px;
    }
  }
}
@font-face {
  font-family: "Inter";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Inter-Regular.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Inter-Medium.woff") format("woff");
}
@font-face {
  font-family: "Inter";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/Inter-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "Inter Display";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/InterDisplay-SemiBold.woff") format("woff");
}
@font-face {
  font-family: "Inter Display";
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url("../fonts/InterDisplay-Bold.woff") format("woff");
}
:root {
  color-scheme: light;
  --c-canvas: #f3f5f9;
  --c-surface: #ffffff;
  --c-surface-2: #f7f9fc;
  --c-surface-3: #eef2f7;
  --c-line: #e2e7ef;
  --c-line-strong: #cbd3df;
  --c-ink: #0f1a2b;
  --c-ink-2: #46546a;
  --c-ink-3: #7a8699;
  --c-primary: #2a62e3;
  --c-primary-hover: #1f4fc4;
  --c-primary-soft: #e9f0fd;
  --c-primary-ink: #1d48b3;
  --c-success: #12915a;
  --c-success-soft: #e6f6ee;
  --c-success-ink: #0b6e43;
  --c-warning: #c97a00;
  --c-warning-soft: #fdf3e1;
  --c-warning-ink: #8f5600;
  --c-danger: #d93a3a;
  --c-danger-soft: #fdecec;
  --c-danger-ink: #b02626;
  --c-violet: #6d5bd0;
  --c-violet-soft: #f0eefc;
  --c-violet-ink: #5141ad;
  --c-neutral-soft: #eef1f5;
  --c-neutral-ink: #4a5568;
  --c-nav: #0e1a2e;
  --c-nav-2: #15243c;
  --c-nav-3: #1c2e4b;
  --c-nav-line: #1d2c45;
  --c-nav-ink: #e4eaf4;
  --c-nav-ink-2: #93a1b8;
  --c-nav-ink-3: #66758e;
  --shadow-pop: 0 1px 2px rgb(15 26 43 / 0.06), 0 8px 24px -4px rgb(15 26 43 / 0.14);
  --shadow-modal: 0 24px 64px -12px rgb(15 26 43 / 0.32);
  --ring: 0 0 0 3px rgb(42 98 227 / 0.28);
}
[data-theme="dark"] {
  color-scheme: dark;
  --c-canvas: #0a111d;
  --c-surface: #101a2a;
  --c-surface-2: #0d1624;
  --c-surface-3: #172438;
  --c-line: #1e2b40;
  --c-line-strong: #2c3b54;
  --c-ink: #e7ecf4;
  --c-ink-2: #a7b3c6;
  --c-ink-3: #7b889d;
  --c-primary: #4f82f5;
  --c-primary-hover: #6a95f7;
  --c-primary-soft: #16264a;
  --c-primary-ink: #9dbaff;
  --c-success: #2fbf7d;
  --c-success-soft: #0f2a20;
  --c-success-ink: #6fdcaa;
  --c-warning: #e6a23a;
  --c-warning-soft: #2c2210;
  --c-warning-ink: #f2c374;
  --c-danger: #f06161;
  --c-danger-soft: #2f1517;
  --c-danger-ink: #ff9c9c;
  --c-violet: #8f7ff0;
  --c-violet-soft: #221d44;
  --c-violet-ink: #c0b6ff;
  --c-neutral-soft: #1a2638;
  --c-neutral-ink: #a7b3c6;
  --c-nav: #08101c;
  --c-nav-2: #101b2d;
  --c-nav-3: #16253d;
  --c-nav-line: #152238;
  --shadow-pop: 0 1px 2px rgb(0 0 0 / 0.4), 0 10px 28px -6px rgb(0 0 0 / 0.6);
  --shadow-modal: 0 24px 64px -12px rgb(0 0 0 / 0.7);
  --ring: 0 0 0 3px rgb(79 130 245 / 0.35);
}
@layer base {
  html {
    -webkit-text-size-adjust: 100%;
  }
  body {
    background: var(--c-canvas);
    color: var(--c-ink);
    font-family: var(--font-sans);
    font-size: 14px;
    line-height: 22px;
    font-feature-settings: "cv11", "ss01";
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  ::selection {
    background: rgb(42 98 227 / 0.22);
  }
  :focus-visible {
    outline: 2px solid var(--c-primary);
    outline-offset: 2px;
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  svg.lucide {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
  }
  button {
    cursor: pointer;
  }
  [hidden] {
    display: none !important;
  }
  .tnum, td, .kpi-value {
    font-variant-numeric: tabular-nums;
  }
  h1, h2, h3 {
    text-wrap: balance;
  }
  html.theme-switching *, html.theme-switching *::before, html.theme-switching *::after {
    transition: none !important;
  }
  * {
    scrollbar-width: thin;
    scrollbar-color: var(--c-line-strong) transparent;
  }
}
@layer components {
  .app {
    display: flex;
    min-height: 100dvh;
  }
  .sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 40;
    width: 256px;
    display: flex;
    flex-direction: column;
    background: var(--c-nav);
    color: var(--c-nav-ink);
    border-right: 1px solid var(--c-nav-line);
    transition: width .2s ease, transform .25s ease;
  }
  .sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 60px;
    padding: 0 16px 0 18px;
    flex-shrink: 0;
  }
  .brand-mark {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }
  .brand-name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: -0.01em;
    line-height: 1.1;
    white-space: nowrap;
  }
  .brand-sub {
    display: block;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 11.5px;
    color: var(--c-nav-ink-2);
    letter-spacing: 0;
  }
  .sidebar-collapse {
    margin-left: auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    color: var(--c-nav-ink-3);
    background: transparent;
    border: 0;
  }
  .sidebar-collapse:hover {
    background: var(--c-nav-2);
    color: var(--c-nav-ink);
  }
  .sidebar-collapse svg {
    transition: transform .2s ease;
  }
  .sidebar-scroll {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 6px 10px 16px;
    scrollbar-color: var(--c-nav-3) transparent;
  }
  .nav-group + .nav-group {
    margin-top: 18px;
  }
  .nav-group-label {
    padding: 0 10px 6px;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--c-nav-ink-3);
    white-space: nowrap;
  }
  .nav-item {
    position: relative;
  }
  .nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    height: 36px;
    padding: 0 10px;
    border-radius: 8px;
    border: 0;
    background: transparent;
    color: var(--c-nav-ink-2);
    font-size: 13.5px;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    transition: background .12s ease, color .12s ease;
  }
  .nav-link:hover {
    background: var(--c-nav-2);
    color: var(--c-nav-ink);
  }
  .nav-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    stroke-width: 1.75;
  }
  .nav-link .nav-label {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .nav-link .nav-chevron {
    width: 15px;
    height: 15px;
    color: var(--c-nav-ink-3);
    transition: transform .18s ease;
  }
  .nav-item.is-open > .nav-link .nav-chevron {
    transform: rotate(90deg);
  }
  .nav-item.is-active > .nav-link {
    background: var(--c-nav-3);
    color: #fff;
  }
  .nav-item.is-active > .nav-link::before {
    content: "";
    position: absolute;
    left: -10px;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 0 3px 3px 0;
    background: var(--c-primary);
  }
  .nav-item.is-active > .nav-link svg:first-child {
    color: #7fa6ff;
  }
  .nav-count {
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 9px;
    font-size: 11px;
    font-weight: 600;
    line-height: 18px;
    text-align: center;
    background: var(--c-nav-3);
    color: var(--c-nav-ink);
  }
  .nav-count.is-alert {
    background: var(--c-danger);
    color: #fff;
  }
  .nav-stage {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--c-nav-ink-3);
    border: 1px solid var(--c-nav-line);
    border-radius: 5px;
    padding: 0 5px;
    line-height: 16px;
  }
  .nav-sub {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .2s ease;
  }
  .nav-item.is-open > .nav-sub {
    grid-template-rows: 1fr;
  }
  .nav-sub-inner {
    overflow: hidden;
  }
  .nav-sub ul {
    margin: 2px 0 4px 19px;
    padding-left: 12px;
    border-left: 1px solid var(--c-nav-line);
  }
  .nav-sub-link {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 31px;
    padding: 0 10px;
    border-radius: 7px;
    font-size: 13px;
    color: var(--c-nav-ink-2);
    white-space: nowrap;
  }
  .nav-sub-link:hover {
    background: var(--c-nav-2);
    color: var(--c-nav-ink);
  }
  .nav-sub-link.is-active {
    color: #fff;
    font-weight: 500;
  }
  .nav-flyout-title {
    display: none;
  }
  .sidebar-foot {
    padding: 10px;
    border-top: 1px solid var(--c-nav-line);
    flex-shrink: 0;
  }
  .sidebar-user {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 8px;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: var(--c-nav-ink);
    text-align: left;
  }
  .sidebar-user:hover {
    background: var(--c-nav-2);
  }
  .sidebar-user .meta {
    flex: 1;
    min-width: 0;
    line-height: 1.25;
  }
  .sidebar-user .name {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .sidebar-user .user-chevron {
    width: 16px;
    height: 16px;
    color: var(--c-nav-ink-3);
  }
  .sidebar-user .role {
    font-size: 12px;
    color: var(--c-nav-ink-2);
    white-space: nowrap;
  }
  .sidebar-collapsed .sidebar {
    width: 72px;
  }
  .sidebar-collapsed .sidebar .brand-text, .sidebar-collapsed .sidebar .nav-group-label, .sidebar-collapsed .sidebar .nav-label, .sidebar-collapsed .sidebar .nav-chevron, .sidebar-collapsed .sidebar .nav-count, .sidebar-collapsed .sidebar .nav-stage, .sidebar-collapsed .sidebar .sidebar-user .meta, .sidebar-collapsed .sidebar .sidebar-user .user-chevron {
    display: none;
  }
  .sidebar-collapsed .sidebar .sidebar-brand {
    padding: 0;
    justify-content: center;
    flex-direction: column;
    gap: 0;
    height: 88px;
  }
  .sidebar-collapsed .sidebar .sidebar-collapse {
    margin: 6px 0 0;
  }
  .sidebar-collapsed .sidebar .sidebar-collapse svg {
    transform: rotate(180deg);
  }
  .sidebar-collapsed .sidebar .sidebar-scroll {
    overflow: visible;
    padding-top: 0;
  }
  .sidebar-collapsed .sidebar .nav-group + .nav-group {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--c-nav-line);
  }
  .sidebar-collapsed .sidebar .nav-link {
    justify-content: center;
    padding: 0;
    height: 40px;
  }
  .sidebar-collapsed .sidebar .nav-sub {
    display: none;
  }
  .sidebar-collapsed .sidebar .nav-item:has(.nav-count.is-alert) > .nav-link::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 14px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-danger);
    box-shadow: 0 0 0 2px var(--c-nav);
  }
  .sidebar-collapsed .sidebar .nav-item:hover > .nav-sub, .sidebar-collapsed .sidebar .nav-item:focus-within > .nav-sub {
    display: block;
    position: absolute;
    left: calc(100% + 10px);
    top: -4px;
    min-width: 210px;
    z-index: 60;
    background: var(--c-nav);
    border: 1px solid var(--c-nav-line);
    border-radius: 10px;
    padding: 6px;
    box-shadow: var(--shadow-pop);
  }
  .sidebar-collapsed .sidebar .nav-item:hover > .nav-sub::before {
    content: "";
    position: absolute;
    left: -12px;
    top: 0;
    bottom: 0;
    width: 12px;
  }
  .sidebar-collapsed .sidebar .nav-sub ul {
    margin: 0;
    padding: 0;
    border: 0;
  }
  .sidebar-collapsed .sidebar .nav-flyout-title {
    display: block;
    padding: 6px 10px 4px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-nav-ink);
  }
  .sidebar-collapsed .sidebar .sidebar-foot {
    padding: 10px 8px;
  }
  .sidebar-collapsed .sidebar .sidebar-user {
    justify-content: center;
    padding: 6px 0;
  }
  .sidebar-collapsed .sidebar .nav-tip {
    display: none;
    position: absolute;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 60;
    background: var(--c-nav);
    color: var(--c-nav-ink);
    border: 1px solid var(--c-nav-line);
    font-size: 12.5px;
    font-weight: 500;
    padding: 5px 10px;
    border-radius: 7px;
    white-space: nowrap;
    box-shadow: var(--shadow-pop);
  }
  .sidebar-collapsed .sidebar .nav-item:not(:has(.nav-sub)):hover > .nav-tip {
    display: block;
  }
  .nav-tip {
    display: none;
  }
  .main {
    flex: 1;
    min-width: 0;
    margin-left: 256px;
    transition: margin-left .2s ease;
    display: flex;
    flex-direction: column;
  }
  .sidebar-collapsed .main {
    margin-left: 72px;
  }
  .sidebar-backdrop {
    display: none;
  }
  @media (max-width: 1023.98px) {
    .sidebar {
      transform: translateX(-100%);
      width: 280px;
      box-shadow: none;
    }
    .nav-open .sidebar {
      transform: translateX(0);
      box-shadow: var(--shadow-modal);
    }
    .main, .sidebar-collapsed .main {
      margin-left: 0;
    }
    .sidebar-collapse {
      display: none;
    }
    .sidebar-backdrop {
      display: block;
      position: fixed;
      inset: 0;
      z-index: 35;
      background: rgb(8 14 26 / 0.5);
      opacity: 0;
      pointer-events: none;
      transition: opacity .2s ease;
    }
    .nav-open .sidebar-backdrop {
      opacity: 1;
      pointer-events: auto;
    }
    .sidebar-collapsed .sidebar {
      width: 280px;
    }
    .sidebar-collapsed .sidebar .brand-text, .sidebar-collapsed .sidebar .nav-group-label, .sidebar-collapsed .sidebar .nav-label, .sidebar-collapsed .sidebar .nav-chevron, .sidebar-collapsed .sidebar .nav-count, .sidebar-collapsed .sidebar .nav-stage, .sidebar-collapsed .sidebar .sidebar-user .meta, .sidebar-collapsed .sidebar .sidebar-user .user-chevron {
      display: revert;
    }
    .sidebar-collapsed .sidebar .sidebar-brand {
      flex-direction: row;
      height: 60px;
      padding: 0 16px 0 18px;
      justify-content: flex-start;
      gap: 10px;
    }
    .sidebar-collapsed .sidebar .nav-link {
      justify-content: flex-start;
      padding: 0 10px;
      height: 36px;
    }
    .sidebar-collapsed .sidebar .nav-sub {
      display: grid;
      position: static;
      box-shadow: none;
      border: 0;
      padding: 0;
      background: none;
      min-width: 0;
    }
    .sidebar-collapsed .sidebar .nav-sub ul {
      margin: 2px 0 4px 19px;
      padding-left: 12px;
      border-left: 1px solid var(--c-nav-line);
    }
    .sidebar-collapsed .sidebar .nav-flyout-title, .sidebar-collapsed .sidebar .nav-tip {
      display: none !important;
    }
    .sidebar-collapsed .sidebar .sidebar-scroll {
      overflow-y: auto;
      padding-top: 6px;
    }
    .sidebar-collapsed .sidebar .nav-group + .nav-group {
      border-top: 0;
      padding-top: 0;
      margin-top: 18px;
    }
    .sidebar-collapsed .sidebar .sidebar-user {
      justify-content: flex-start;
      padding: 8px;
    }
  }
  .topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 24px;
    background: var(--c-canvas);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-canvas) 86%, transparent);
    }
    backdrop-filter: saturate(1.4) blur(10px);
    -webkit-backdrop-filter: saturate(1.4) blur(10px);
    border-bottom: 1px solid var(--c-line);
  }
  .topbar-menu {
    display: none;
  }
  @media (max-width: 1023.98px) {
    .topbar {
      padding: 0 16px;
    }
    .topbar-menu {
      display: grid;
    }
  }
  .crumbs {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    font-size: 13px;
    color: var(--c-ink-3);
  }
  .crumbs a:hover {
    color: var(--c-ink);
  }
  .crumbs .sep {
    width: 14px;
    height: 14px;
    color: var(--c-line-strong);
    flex-shrink: 0;
  }
  .crumbs .current {
    color: var(--c-ink);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-search {
    display: flex;
    align-items: center;
    gap: 8px;
    width: min(380px, 34vw);
    height: 36px;
    padding: 0 8px 0 11px;
    margin-left: auto;
    border-radius: 9px;
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    color: var(--c-ink-3);
    font-size: 13px;
    text-align: left;
    transition: border-color .12s ease;
  }
  .topbar-search:hover {
    border-color: var(--c-line-strong);
  }
  .topbar-search span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .topbar-search svg {
    width: 16px;
    height: 16px;
  }
  .topbar-actions {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  @media (max-width: 767.98px) {
    .topbar-search {
      width: 36px;
      padding: 0;
      justify-content: center;
      margin-left: auto;
    }
    .topbar-search span, .topbar-search kbd {
      display: none;
    }
    .crumbs .crumb-parent, .crumbs .sep {
      display: none;
    }
    .topbar-new-label {
      display: none;
    }
  }
  .icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    border-radius: 9px;
    border: 0;
    background: transparent;
    color: var(--c-ink-2);
    transition: background .12s ease, color .12s ease;
  }
  .icon-btn:hover {
    background: var(--c-surface-3);
    color: var(--c-ink);
  }
  .icon-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
  }
  .icon-btn .ping {
    position: absolute;
    top: 7px;
    right: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-danger);
    box-shadow: 0 0 0 2px var(--c-canvas);
  }
  .page {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 24px 24px 48px;
    overflow-x: clip;
  }
  @media (max-width: 639.98px) {
    .page {
      padding: 18px 16px 40px;
    }
  }
  .page-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
  }
  .page-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 32px;
    letter-spacing: -0.02em;
    color: var(--c-ink);
  }
  .page-desc {
    margin-top: 4px;
    color: var(--c-ink-2);
    font-size: 14px;
    max-width: 70ch;
  }
  .section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    letter-spacing: -0.01em;
  }
  .panel {
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-panel);
    min-width: 0;
  }
  .panel-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    min-height: 56px;
  }
  .panel-head + .panel-body {
    padding-top: 0;
  }
  .panel-head.has-line {
    border-bottom: 1px solid var(--c-line);
  }
  .panel-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--c-ink);
    letter-spacing: -0.005em;
  }
  .panel-sub {
    font-size: 12.5px;
    color: var(--c-ink-3);
  }
  .panel-body {
    padding: 16px 18px;
  }
  .panel-foot {
    padding: 10px 18px;
    border-top: 1px solid var(--c-line);
    font-size: 13px;
  }
  .panel-link {
    white-space: nowrap;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-primary);
  }
  .panel-link:hover {
    color: var(--c-primary-hover);
  }
  .panel-link svg {
    width: 14px;
    height: 14px;
  }
  .stat {
    padding: 16px 18px;
  }
  .stat-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--c-ink-2);
    font-weight: 500;
  }
  .stat-label svg {
    width: 16px;
    height: 16px;
    color: var(--c-ink-3);
  }
  .stat-value {
    margin-top: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 28px;
    line-height: 32px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
  }
  .stat-meta {
    margin-top: 6px;
    font-size: 12.5px;
    color: var(--c-ink-3);
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .delta {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-weight: 600;
    font-size: 12px;
  }
  .delta svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.4;
  }
  .delta.up {
    color: var(--c-success);
  }
  .delta.down {
    color: var(--c-danger);
  }
  .delta.flat {
    color: var(--c-ink-3);
  }
  .kpi-band {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }
  @media (min-width: 768px) {
    .kpi-band {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  .kpi {
    position: relative;
    display: block;
    padding: 16px 18px 15px;
    box-shadow: inset -1px 0 0 var(--c-line), inset 0 -1px 0 var(--c-line);
    transition: background .12s ease;
  }
  .kpi:hover {
    background: var(--c-surface-2);
  }
  .kpi-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--c-ink-2);
  }
  .kpi-label svg {
    width: 15px;
    height: 15px;
    color: var(--c-ink-3);
  }
  .kpi-value {
    margin-top: 6px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    line-height: 30px;
    letter-spacing: -0.02em;
    color: var(--c-ink);
  }
  .kpi-meta {
    margin-top: 4px;
    font-size: 12px;
    color: var(--c-ink-3);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .kpi.is-critical .kpi-value {
    color: var(--c-danger);
  }
  .kpi.is-critical .kpi-label svg {
    color: var(--c-danger);
  }
  .kpi-spark {
    position: absolute;
    right: 16px;
    top: 18px;
    width: 72px;
    height: 28px;
  }
  @media (max-width: 1279.98px) {
    .kpi-spark {
      display: none;
    }
  }
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    flex-shrink: 0;
    height: 36px;
    padding: 0 14px;
    border-radius: var(--radius-control);
    border: 1px solid transparent;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    user-select: none;
    transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
  }
  .btn svg {
    width: 16px;
    height: 16px;
    stroke-width: 2;
    flex-shrink: 0;
  }
  .btn:focus-visible {
    outline: none;
    box-shadow: var(--ring);
  }
  .btn:disabled, .btn.is-disabled {
    opacity: .5;
    pointer-events: none;
  }
  .btn-primary {
    background: var(--c-primary);
    color: #fff;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 1px 2px rgb(15 26 43 / .12);
  }
  .btn-primary:hover {
    background: var(--c-primary-hover);
  }
  .btn-secondary {
    background: var(--c-surface);
    color: var(--c-ink);
    border-color: var(--c-line-strong);
    box-shadow: 0 1px 1px rgb(15 26 43 / .04);
  }
  .btn-secondary:hover {
    background: var(--c-surface-2);
    border-color: var(--c-ink-3);
  }
  .btn-ghost {
    background: transparent;
    color: var(--c-ink-2);
  }
  .btn-ghost:hover {
    background: var(--c-surface-3);
    color: var(--c-ink);
  }
  .btn-soft {
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
  }
  .btn-soft:hover {
    background: var(--c-primary-soft);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-primary-soft) 70%, var(--c-primary) 14%);
    }
  }
  .btn-danger {
    background: var(--c-danger);
    color: #fff;
  }
  .btn-danger:hover {
    background: var(--c-danger);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-danger) 88%, #000);
    }
  }
  .btn-danger-ghost {
    background: transparent;
    color: var(--c-danger);
    border-color: var(--c-danger);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-danger) 35%, transparent);
    }
  }
  .btn-danger-ghost:hover {
    background: var(--c-danger-soft);
  }
  .btn-sm {
    height: 30px;
    padding: 0 10px;
    font-size: 13px;
    gap: 6px;
    border-radius: 7px;
  }
  .btn-sm svg {
    width: 14px;
    height: 14px;
  }
  .btn-lg {
    height: 42px;
    padding: 0 18px;
    font-size: 14.5px;
  }
  .btn-icon {
    width: 36px;
    padding: 0;
  }
  .btn-sm.btn-icon {
    width: 30px;
  }
  .btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
  }
  .btn.is-loading > * {
    visibility: hidden;
  }
  .btn.is-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid currentColor;
    border-color: rgb(255 255 255 / .9) rgb(255 255 255 / .3) rgb(255 255 255 / .3);
    animation: spin .7s linear infinite;
  }
  .btn-secondary.is-loading::after, .btn-ghost.is-loading::after {
    border-color: var(--c-ink-2) var(--c-line-strong) var(--c-line-strong);
  }
  .btn-group {
    display: inline-flex;
    border: 1px solid var(--c-line-strong);
    border-radius: var(--radius-control);
    overflow: hidden;
    background: var(--c-surface);
  }
  .btn-group > button {
    height: 34px;
    padding: 0 12px;
    border: 0;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-ink-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .btn-group > button + button {
    border-left: 1px solid var(--c-line);
  }
  .btn-group > button:hover {
    background: var(--c-surface-2);
    color: var(--c-ink);
  }
  .btn-group > button.is-active {
    background: var(--c-surface-3);
    color: var(--c-ink);
  }
  .btn-group > button svg {
    width: 15px;
    height: 15px;
  }
  .segmented {
    display: inline-flex;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 3px;
    gap: 2px;
    border-radius: 9px;
    background: var(--c-surface-3);
  }
  .segmented button {
    flex-shrink: 0;
    white-space: nowrap;
    height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    border: 0;
    background: transparent;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--c-ink-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .segmented button svg {
    width: 14px;
    height: 14px;
  }
  .segmented button:hover {
    color: var(--c-ink);
  }
  .segmented button.is-active,
  .segmented a.is-active {
    background: var(--c-surface);
    color: var(--c-ink);
    box-shadow: 0 1px 2px rgb(15 26 43 / .1), 0 0 0 1px var(--c-line);
  }
  .segmented a {
    flex-shrink: 0;
    white-space: nowrap;
    height: 28px;
    padding: 0 10px;
    border-radius: 6px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--c-ink-2);
    display: inline-flex;
    align-items: center;
  }
  .segmented a:hover { color: var(--c-ink); }
  .field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
  }
  .label {
    font-size: 13px;
    font-weight: 500;
    color: var(--c-ink);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .label .req {
    color: var(--c-danger);
  }
  .label .optional {
    font-weight: 400;
    color: var(--c-ink-3);
  }
  .hint {
    font-size: 12.5px;
    color: var(--c-ink-3);
    line-height: 18px;
  }
  .field-error {
    display: none;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--c-danger);
    line-height: 18px;
  }
  .field-error svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .field.has-error .field-error {
    display: flex;
  }
  .field.has-error .hint {
    display: none;
  }
  .input, .select, .textarea {
    width: 100%;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--radius-control);
    border: 1px solid var(--c-line-strong);
    background: var(--c-surface);
    color: var(--c-ink);
    font-size: 14px;
    transition: border-color .12s ease, box-shadow .12s ease;
  }
  .input::placeholder, .textarea::placeholder {
    color: var(--c-ink-3);
  }
  .input:hover, .select:hover, .textarea:hover {
    border-color: var(--c-ink-3);
  }
  .input:focus, .select:focus, .textarea:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: var(--ring);
  }
  .input:disabled, .select:disabled, .textarea:disabled {
    background: var(--c-surface-2);
    color: var(--c-ink-3);
    cursor: not-allowed;
  }
  .field.has-error .input, .field.has-error .select, .field.has-error .textarea {
    border-color: var(--c-danger);
  }
  .field.has-error .input:focus, .field.has-error .select:focus, .field.has-error .textarea:focus {
    box-shadow: 0 0 0 3px rgb(217 58 58 / .2);
  }
  .field.is-valid .input {
    border-color: var(--c-success);
  }
  .textarea {
    height: auto;
    min-height: 96px;
    padding: 9px 12px;
    line-height: 21px;
    resize: vertical;
  }
  .select {
    appearance: none;
    padding-right: 34px;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a8699' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
  }
  .input-sm, .select.input-sm {
    height: 32px;
    font-size: 13px;
  }
  .input-group {
    position: relative;
    display: flex;
    align-items: center;
  }
  .input-group > svg {
    position: absolute;
    left: 11px;
    width: 16px;
    height: 16px;
    color: var(--c-ink-3);
    pointer-events: none;
  }
  .input-group > .input {
    padding-left: 34px;
  }
  .input-group > .input-addon-right {
    position: absolute;
    right: 6px;
  }
  .input-affix {
    display: flex;
    align-items: stretch;
  }
  .input-affix .affix {
    display: flex;
    white-space: nowrap;
    align-items: center;
    padding: 0 11px;
    font-size: 13.5px;
    color: var(--c-ink-2);
    background: var(--c-surface-2);
    border: 1px solid var(--c-line-strong);
  }
  .input-affix .affix:first-child {
    border-right: 0;
    border-radius: var(--radius-control) 0 0 var(--radius-control);
  }
  .input-affix .affix:last-child {
    border-left: 0;
    border-radius: 0 var(--radius-control) var(--radius-control) 0;
  }
  .input-affix .input {
    border-radius: 0;
  }
  .input-affix .input:first-child {
    border-radius: var(--radius-control) 0 0 var(--radius-control);
  }
  .input-affix .input:last-child {
    border-radius: 0 var(--radius-control) var(--radius-control) 0;
  }
  .check {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13.5px;
    color: var(--c-ink);
    cursor: pointer;
    line-height: 20px;
  }
  .check input[type=checkbox], .check input[type=radio], input.cb {
    appearance: none;
    flex-shrink: 0;
    width: 17px;
    height: 17px;
    margin-top: 1.5px;
    border: 1.5px solid var(--c-line-strong);
    background: var(--c-surface);
    border-radius: 5px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: background .1s ease, border-color .1s ease;
  }
  input.cb {
    margin-top: 0;
  }
  .check input[type=radio] {
    border-radius: 50%;
  }
  .check input:hover, input.cb:hover {
    border-color: var(--c-primary);
  }
  .check input:focus-visible, input.cb:focus-visible {
    outline: none;
    box-shadow: var(--ring);
  }
  .check input[type=checkbox]:checked, input.cb:checked, input.cb:indeterminate {
    background: var(--c-primary);
    border-color: var(--c-primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
  }
  input.cb:indeterminate {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E");
  }
  .check input[type=radio]:checked {
    border-color: var(--c-primary);
    border-width: 5px;
  }
  .check .check-desc {
    display: block;
    font-size: 12.5px;
    color: var(--c-ink-3);
  }
  .switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13.5px;
  }
  .switch input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
  }
  .switch .track {
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background: var(--c-line-strong);
    position: relative;
    flex-shrink: 0;
    transition: background .15s ease;
  }
  .switch .track::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgb(0 0 0 / .25);
    transition: transform .15s ease;
  }
  .switch input:checked + .track {
    background: var(--c-primary);
  }
  .switch input:checked + .track::after {
    transform: translateX(16px);
  }
  .switch input:focus-visible + .track {
    box-shadow: var(--ring);
  }
  .form-section {
    display: grid;
    gap: 20px;
    padding: 22px 0;
    border-top: 1px solid var(--c-line);
  }
  @media (min-width: 1024px) {
    .form-section {
      grid-template-columns: 260px minmax(0, 1fr);
      gap: 32px;
    }
  }
  .form-section:first-child {
    border-top: 0;
    padding-top: 0;
  }
  .form-section-title {
    font-size: 14.5px;
    font-weight: 600;
  }
  .form-section-desc {
    margin-top: 4px;
    font-size: 13px;
    color: var(--c-ink-3);
    line-height: 19px;
  }
  .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
  }
  .dropzone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 26px 20px;
    text-align: center;
    border: 1.5px dashed var(--c-line-strong);
    border-radius: 10px;
    background: var(--c-surface-2);
    color: var(--c-ink-2);
    font-size: 13.5px;
    cursor: pointer;
    transition: border-color .12s ease, background .12s ease;
  }
  .dropzone:hover, .dropzone.is-over {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
  }
  .dropzone .dz-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    color: var(--c-primary);
    margin-bottom: 4px;
  }
  .dropzone .dz-icon svg {
    width: 20px;
    height: 20px;
  }
  .dropzone strong {
    color: var(--c-primary);
    font-weight: 600;
  }
  .file-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 1px solid var(--c-line);
    border-radius: 9px;
    background: var(--c-surface);
    font-size: 13px;
  }
  .file-row .file-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
    flex-shrink: 0;
  }
  .file-row .file-icon svg {
    width: 16px;
    height: 16px;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 22px;
    padding: 0 8px;
    border-radius: var(--radius-chip);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    background: var(--c-neutral-soft);
    color: var(--c-neutral-ink);
  }
  .badge svg {
    width: 12px;
    height: 12px;
    stroke-width: 2.2;
  }
  .badge .dot {
    width: 6px;
    height: 6px;
  }
  .badge-blue {
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
  }
  .badge-green {
    background: var(--c-success-soft);
    color: var(--c-success-ink);
  }
  .badge-amber {
    background: var(--c-warning-soft);
    color: var(--c-warning-ink);
  }
  .badge-red {
    background: var(--c-danger-soft);
    color: var(--c-danger-ink);
  }
  .badge-violet {
    background: var(--c-violet-soft);
    color: var(--c-violet-ink);
  }
  .badge-outline {
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--c-line-strong);
    color: var(--c-ink-2);
  }
  .dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-ink-3);
    flex-shrink: 0;
  }
  .dot-green {
    background: var(--c-success);
  }
  .dot-amber {
    background: var(--c-warning);
  }
  .dot-red {
    background: var(--c-danger);
  }
  .dot-blue {
    background: var(--c-primary);
  }
  .dot-violet {
    background: var(--c-violet);
  }
  .dot-pulse {
    position: relative;
  }
  .dot-pulse::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: pulse-ring 1.8s ease-out infinite;
  }
  .priority {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-ink-2);
    white-space: nowrap;
  }
  .priority .bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
  }
  .priority .bars i {
    width: 3px;
    border-radius: 1px;
    background: var(--c-line-strong);
  }
  .priority .bars i:nth-child(1) {
    height: 5px;
  }
  .priority .bars i:nth-child(2) {
    height: 8px;
  }
  .priority .bars i:nth-child(3) {
    height: 12px;
  }
  .priority-low .bars i:nth-child(1) {
    background: var(--c-ink-3);
  }
  .priority-medium .bars i:nth-child(-n+2) {
    background: var(--c-primary);
  }
  .priority-high .bars i {
    background: var(--c-warning);
  }
  .priority-high {
    color: var(--c-warning-ink);
  }
  .priority-urgent {
    color: var(--c-danger);
    font-weight: 600;
  }
  .priority-urgent .bars {
    display: none;
  }
  .priority-urgent svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.4;
  }
  .avatar {
    display: inline-grid;
    place-items: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .01em;
    color: #fff;
    background: var(--c-primary);
    user-select: none;
    overflow: hidden;
  }
  .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .avatar-xs {
    width: 22px;
    height: 22px;
    font-size: 9.5px;
  }
  .avatar-sm {
    width: 26px;
    height: 26px;
    font-size: 10.5px;
  }
  .avatar-lg {
    width: 44px;
    height: 44px;
    font-size: 15px;
  }
  .avatar-xl {
    width: 64px;
    height: 64px;
    font-size: 21px;
  }
  .avatar-square {
    border-radius: 9px;
  }
  .avatar-stack {
    display: inline-flex;
  }
  .avatar-stack .avatar {
    box-shadow: 0 0 0 2px var(--c-surface);
  }
  .avatar-stack .avatar + .avatar {
    margin-left: -7px;
  }
  .avatar-status {
    position: relative;
  }
  .avatar-status::after {
    content: "";
    position: absolute;
    right: -1px;
    bottom: -1px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--c-success);
    box-shadow: 0 0 0 2px var(--c-surface);
  }
  .kbd {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 5px;
    border-radius: 5px;
    border: 1px solid var(--c-line);
    border-bottom-width: 2px;
    background: var(--c-surface-2);
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 500;
    color: var(--c-ink-3);
  }
  .chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 6px 0 10px;
    border-radius: 7px;
    background: var(--c-surface-3);
    font-size: 12.5px;
    font-weight: 500;
    color: var(--c-ink);
  }
  .chip button {
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: var(--c-ink-3);
  }
  .chip button:hover {
    background: var(--c-line);
    color: var(--c-ink);
  }
  .chip button svg {
    width: 12px;
    height: 12px;
  }
  .progress {
    height: 6px;
    border-radius: 3px;
    background: var(--c-surface-3);
    overflow: hidden;
  }
  .progress > span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--c-primary);
    transition: width .4s ease;
  }
  .progress.is-success > span {
    background: var(--c-success);
  }
  .progress.is-warning > span {
    background: var(--c-warning);
  }
  .progress.is-danger > span {
    background: var(--c-danger);
  }
  .progress-lg {
    height: 8px;
    border-radius: 4px;
  }
  .stage-track {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 3px;
  }
  .stage-track i {
    height: 6px;
    border-radius: 2px;
    background: var(--c-surface-3);
  }
  .stage-track i.done {
    background: var(--c-primary);
  }
  .stage-track i.current {
    background: repeating-linear-gradient(-45deg, var(--c-primary) 0 3px, var(--c-primary) 3px 6px);
    @supports (color: color-mix(in lab, red, red)) {
      background: repeating-linear-gradient(-45deg, var(--c-primary) 0 3px, color-mix(in srgb, var(--c-primary) 55%, var(--c-surface)) 3px 6px);
    }
  }
  .stage-track.is-risk i.current {
    background: repeating-linear-gradient(-45deg, var(--c-warning) 0 3px, var(--c-warning) 3px 6px);
    @supports (color: color-mix(in lab, red, red)) {
      background: repeating-linear-gradient(-45deg, var(--c-warning) 0 3px, color-mix(in srgb, var(--c-warning) 55%, var(--c-surface)) 3px 6px);
    }
  }
  .tabs {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--c-line);
    overflow-x: auto;
    scrollbar-width: none;
  }
  .tabs::-webkit-scrollbar {
    display: none;
  }
  .tab {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 10px;
    border: 0;
    background: none;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--c-ink-3);
    white-space: nowrap;
  }
  .tab:hover {
    color: var(--c-ink);
  }
  .tab svg {
    width: 15px;
    height: 15px;
  }
  .tab.is-active {
    color: var(--c-ink);
  }
  .tab.is-active::after {
    content: "";
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: -1px;
    height: 2px;
    border-radius: 2px 2px 0 0;
    background: var(--c-primary);
  }
  .tab .tab-count {
    font-size: 11.5px;
    font-weight: 600;
    padding: 0 6px;
    border-radius: 9px;
    line-height: 18px;
    background: var(--c-surface-3);
    color: var(--c-ink-2);
  }
  .tab.is-active .tab-count {
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
  }
  .tabs-sm {
    gap: 0;
  }
  .tabs-sm .tab {
    padding: 0 8px;
    font-size: 13px;
    height: 36px;
  }
  .tabs-sm .tab.is-active::after {
    left: 6px;
    right: 6px;
  }
  .tab-panel:not(.is-active) {
    display: none;
  }
  .mix-bar {
    display: flex;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    gap: 2px;
  }
  .mix-bar span {
    display: block;
    height: 100%;
  }
  .table-wrap {
    overflow-x: auto;
  }
  .table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
  }
  .table th {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 38px;
    padding: 0 14px;
    text-align: left;
    white-space: nowrap;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-ink-3);
    background: var(--c-surface-2);
    border-bottom: 1px solid var(--c-line);
    border-top: 1px solid var(--c-line);
  }
  .table th:first-child {
    padding-left: 18px;
  }
  .table th:last-child {
    padding-right: 18px;
  }
  .table td {
    height: 52px;
    padding: 8px 14px;
    border-bottom: 1px solid var(--c-line);
    color: var(--c-ink-2);
    vertical-align: middle;
  }
  .table td:first-child {
    padding-left: 18px;
  }
  .table td:last-child {
    padding-right: 18px;
  }
  .table tbody tr {
    transition: background .1s ease;
  }
  .table tbody tr:hover {
    background: var(--c-surface-2);
  }
  .table tbody tr.is-selected {
    background: var(--c-primary-soft);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-primary-soft) 70%, transparent);
    }
  }
  .table tbody tr:last-child td {
    border-bottom: 0;
  }
  .table .cell-strong {
    color: var(--c-ink);
    font-weight: 500;
  }
  .table .cell-sub {
    font-size: 12.5px;
    color: var(--c-ink-3);
  }
  .table .col-check {
    width: 44px;
    padding-right: 0;
  }
  .table .col-actions {
    width: 52px;
    text-align: right;
  }
  .table-compact td {
    height: 44px;
  }
  .th-sort {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border: 0;
    background: none;
    padding: 0;
    font: inherit;
    color: inherit;
  }
  .th-sort:hover {
    color: var(--c-ink);
  }
  .th-sort svg {
    width: 13px;
    height: 13px;
    opacity: .55;
  }
  .th-sort.is-sorted {
    color: var(--c-ink);
  }
  .th-sort.is-sorted svg {
    opacity: 1;
    color: var(--c-primary);
  }
  .row-link {
    color: var(--c-ink);
    font-weight: 500;
  }
  .row-link:hover {
    color: var(--c-primary);
  }
  .table-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
  }
  .bulk-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 18px;
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
    font-size: 13px;
    font-weight: 500;
    border-top: 1px solid var(--c-line);
  }
  .table-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px;
    border-top: 1px solid var(--c-line);
    font-size: 13px;
    color: var(--c-ink-3);
  }
  .pagination {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .pagination button {
    min-width: 32px;
    height: 32px;
    padding: 0 8px;
    border-radius: 7px;
    border: 1px solid transparent;
    background: transparent;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-ink-2);
    display: inline-grid;
    place-items: center;
  }
  .pagination button:hover:not(:disabled) {
    background: var(--c-surface-3);
    color: var(--c-ink);
  }
  .pagination button.is-active {
    border-color: var(--c-line-strong);
    background: var(--c-surface);
    color: var(--c-ink);
  }
  .pagination button:disabled {
    opacity: .4;
    cursor: default;
  }
  .pagination button svg {
    width: 15px;
    height: 15px;
  }
  @media (max-width: 767.98px) {
    .table-stack thead {
      display: none;
    }
    table.table-stack {
      display: block !important;
    }
    .table-stack, .table-stack tbody, .table-stack tr, .table-stack td {
      display: block;
      width: 100%;
    }
    .table-stack tr {
      padding: 12px 16px;
      border-bottom: 1px solid var(--c-line);
      position: relative;
    }
    .table-stack td {
      height: auto;
      padding: 4px 0 !important;
      border: 0;
      display: grid;
      grid-template-columns: minmax(96px, auto) minmax(0, 1fr);
      column-gap: 12px;
      align-items: center;
      text-align: right;
    }
    .table-stack td::before {
      content: attr(data-label);
      grid-column: 1;
      grid-row: 1 / span 3;
      align-self: start;
      color: var(--c-ink-3);
      font-size: 12.5px;
      text-align: left;
    }
    .table-stack td > * {
      grid-column: 2;
      justify-self: end;
    }
    .table-stack td.col-check {
      position: absolute;
      left: 16px;
      top: 14px;
      width: auto;
      display: block;
    }
    .table-stack td.col-check::before, .table-stack td.col-primary::before, .table-stack td.col-actions::before {
      content: none;
    }
    .table-stack td.col-primary {
      display: block;
      text-align: left !important;
      padding: 0 40px 8px 0 !important;
    }
    .table-stack td.col-primary * {
      text-align: left;
    }
    .table-stack td.col-primary > *, .table-stack td.col-check > * {
      justify-self: start;
    }
    .table-stack tr:has(td.col-check) td.col-primary {
      padding-left: 28px !important;
    }
    .kpi-meta {
      white-space: normal;
    }
    .table-stack td.col-actions {
      position: absolute;
      right: 10px;
      top: 8px;
      width: auto;
    }
  }
  .dropdown {
    position: relative;
  }
  .menu {
    position: absolute;
    z-index: 50;
    min-width: 200px;
    padding: 5px;
    border-radius: 10px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-pop);
    opacity: 0;
    transform: translateY(-4px) scale(.98);
    transform-origin: top right;
    pointer-events: none;
    visibility: hidden;
    transition: opacity .12s ease, transform .12s ease, visibility 0s linear .12s;
  }
  .dropdown.is-open > .menu {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    transition: opacity .12s ease, transform .12s ease;
  }
  .menu-right {
    right: 0;
    top: calc(100% + 6px);
  }
  .menu-left {
    left: 0;
    top: calc(100% + 6px);
    transform-origin: top left;
  }
  .menu-up {
    bottom: calc(100% + 6px);
    top: auto;
    transform-origin: bottom left;
  }
  .menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    height: 34px;
    padding: 0 10px;
    border-radius: 7px;
    border: 0;
    background: none;
    font-size: 13.5px;
    color: var(--c-ink);
    text-align: left;
    white-space: nowrap;
  }
  .menu-item svg {
    width: 16px;
    height: 16px;
    color: var(--c-ink-3);
    flex-shrink: 0;
  }
  .menu-item:hover, .menu-item:focus-visible {
    background: var(--c-surface-3);
    outline: none;
  }
  .menu-item.is-danger {
    color: var(--c-danger);
  }
  .menu-item.is-danger svg {
    color: var(--c-danger);
  }
  .menu-item .kbd {
    margin-left: auto;
  }
  .menu-item .menu-hint {
    margin-left: auto;
    font-size: 12px;
    color: var(--c-ink-3);
  }
  .menu-sep {
    height: 1px;
    margin: 5px -5px;
    background: var(--c-line);
  }
  .menu-label {
    padding: 6px 10px 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-ink-3);
  }
  .popover {
    width: 400px;
    max-width: calc(100vw - 24px);
    padding: 0;
  }
  @media (max-width: 639.98px) {
    .popover.menu {
      position: fixed;
      left: 12px;
      right: 12px;
      top: 64px;
      width: auto;
    }
  }
  .notif {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-line);
    position: relative;
  }
  .notif:hover {
    background: var(--c-surface-2);
  }
  .notif:last-child {
    border-bottom: 0;
  }
  .notif.is-unread::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 20px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-primary);
  }
  .notif-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .notif-icon svg {
    width: 16px;
    height: 16px;
  }
  .notif-title {
    font-size: 13.5px;
    color: var(--c-ink);
    line-height: 19px;
  }
  .notif-title b {
    font-weight: 600;
  }
  .notif-meta {
    margin-top: 3px;
    font-size: 12px;
    color: var(--c-ink-3);
  }
  .tone-blue {
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
  }
  .tone-green {
    background: var(--c-success-soft);
    color: var(--c-success-ink);
  }
  .tone-amber {
    background: var(--c-warning-soft);
    color: var(--c-warning-ink);
  }
  .tone-red {
    background: var(--c-danger-soft);
    color: var(--c-danger-ink);
  }
  .tone-violet {
    background: var(--c-violet-soft);
    color: var(--c-violet-ink);
  }
  .tone-grey {
    background: var(--c-neutral-soft);
    color: var(--c-neutral-ink);
  }
  .overlay {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 8vh 16px 16px;
    background: rgb(8 14 26 / 0.48);
    opacity: 0;
    visibility: hidden;
    transition: opacity .16s ease, visibility 0s linear .16s;
    overflow-y: auto;
  }
  .overlay.is-open {
    opacity: 1;
    visibility: visible;
    transition: opacity .16s ease;
  }
  .modal {
    width: 100%;
    max-width: 560px;
    background: var(--c-surface);
    border-radius: 14px;
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-modal);
    transform: translateY(8px) scale(.985);
    transition: transform .18s cubic-bezier(.2,.8,.2,1);
  }
  .overlay.is-open .modal {
    transform: none;
  }
  .modal-sm {
    max-width: 420px;
  }
  .modal-lg {
    max-width: 760px;
  }
  .modal-head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 20px 14px;
  }
  .modal-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
  }
  .modal-desc {
    font-size: 13px;
    color: var(--c-ink-3);
    margin-top: 2px;
  }
  .modal-body {
    padding: 4px 20px 20px;
  }
  .modal-foot {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--c-line);
    background: var(--c-surface-2);
    border-radius: 0 0 14px 14px;
  }
  .modal-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .modal-icon svg {
    width: 20px;
    height: 20px;
  }
  .drawer-overlay {
    padding: 0;
    justify-content: flex-end;
    align-items: stretch;
  }
  .drawer {
    width: 100%;
    max-width: 480px;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    background: var(--c-surface);
    border-left: 1px solid var(--c-line);
    box-shadow: var(--shadow-modal);
    transform: translateX(24px);
    transition: transform .22s cubic-bezier(.2,.8,.2,1);
  }
  .overlay.is-open .drawer {
    transform: none;
  }
  .drawer-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--c-line);
  }
  .drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
  }
  .drawer-foot {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 20px;
    border-top: 1px solid var(--c-line);
    background: var(--c-surface-2);
  }
  .cmdk {
    max-width: 620px;
    overflow: hidden;
  }
  .cmdk-input {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    height: 54px;
    border-bottom: 1px solid var(--c-line);
  }
  .cmdk-input svg {
    width: 18px;
    height: 18px;
    color: var(--c-ink-3);
  }
  .cmdk-input input {
    flex: 1;
    height: 100%;
    border: 0;
    background: none;
    font-size: 15px;
    color: var(--c-ink);
    outline: none;
  }
  .cmdk-list {
    max-height: min(420px, 60vh);
    overflow-y: auto;
    padding: 6px;
  }
  .cmdk-group {
    padding: 8px 10px 4px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-ink-3);
  }
  .cmdk-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--c-ink);
    cursor: pointer;
  }
  .cmdk-item .ci-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: var(--c-surface-3);
    color: var(--c-ink-2);
    flex-shrink: 0;
  }
  .cmdk-item .ci-icon svg {
    width: 15px;
    height: 15px;
  }
  .cmdk-item .ci-sub {
    font-size: 12px;
    color: var(--c-ink-3);
  }
  .cmdk-item.is-active {
    background: var(--c-primary-soft);
  }
  .cmdk-item.is-active .ci-icon {
    background: var(--c-surface);
    color: var(--c-primary);
  }
  .cmdk-foot {
    display: flex;
    gap: 14px;
    padding: 9px 16px;
    border-top: 1px solid var(--c-line);
    font-size: 12px;
    color: var(--c-ink-3);
    background: var(--c-surface-2);
  }
  .cmdk-foot span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .toast-region {
    position: fixed;
    z-index: 90;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column-reverse;
    gap: 10px;
    width: min(380px, calc(100vw - 32px));
    pointer-events: none;
  }
  @media (max-width: 639.98px) {
    .toast-region {
      right: 16px;
      left: 16px;
      bottom: 16px;
      width: auto;
    }
  }
  .toast {
    pointer-events: auto;
    display: flex;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 12px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-pop);
    animation: toast-in .22s cubic-bezier(.2,.8,.2,1);
  }
  .toast.is-leaving {
    animation: toast-out .18s ease forwards;
  }
  .toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .toast-success .toast-icon {
    color: var(--c-success);
  }
  .toast-error .toast-icon {
    color: var(--c-danger);
  }
  .toast-warning .toast-icon {
    color: var(--c-warning);
  }
  .toast-info .toast-icon {
    color: var(--c-primary);
  }
  .toast-title {
    font-size: 13.5px;
    font-weight: 600;
    line-height: 20px;
  }
  .toast-msg {
    font-size: 13px;
    color: var(--c-ink-2);
    line-height: 19px;
  }
  .toast-close {
    width: 24px;
    height: 24px;
    margin: -2px -4px 0 auto;
    border: 0;
    background: none;
    border-radius: 6px;
    color: var(--c-ink-3);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .toast-close:hover {
    background: var(--c-surface-3);
    color: var(--c-ink);
  }
  .toast-close svg {
    width: 15px;
    height: 15px;
  }
  .toast-action {
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-primary);
    background: none;
    border: 0;
    padding: 0;
  }
  [data-tooltip] {
    position: relative;
  }
  [data-tooltip]:hover::after, [data-tooltip]:focus-visible::after {
    content: attr(data-tooltip);
    position: absolute;
    z-index: 80;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    padding: 5px 9px;
    border-radius: 6px;
    background: #101a2b;
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    white-space: nowrap;
    pointer-events: none;
  }
  [data-theme=dark] [data-tooltip]:hover::after {
    background: #e7ecf4;
    color: #0f1a2b;
  }
  .alert {
    display: flex;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid;
    font-size: 13.5px;
    line-height: 20px;
  }
  .alert > svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
  }
  .alert-title {
    font-weight: 600;
  }
  .alert-info {
    background: var(--c-primary-soft);
    border-color: var(--c-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-primary) 22%, transparent);
    }
    color: var(--c-primary-ink);
  }
  .alert-success {
    background: var(--c-success-soft);
    border-color: var(--c-success);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-success) 25%, transparent);
    }
    color: var(--c-success-ink);
  }
  .alert-warning {
    background: var(--c-warning-soft);
    border-color: var(--c-warning);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-warning) 28%, transparent);
    }
    color: var(--c-warning-ink);
  }
  .alert-danger {
    background: var(--c-danger-soft);
    border-color: var(--c-danger);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-danger) 25%, transparent);
    }
    color: var(--c-danger-ink);
  }
  .alert .alert-body {
    flex: 1;
  }
  .alert .alert-text {
    color: var(--c-ink-2);
  }
  .empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 24px;
  }
  .empty-art {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line);
    color: var(--c-ink-3);
    margin-bottom: 14px;
  }
  .empty-art svg {
    width: 24px;
    height: 24px;
  }
  .empty-title {
    font-size: 15px;
    font-weight: 600;
  }
  .empty-text {
    margin-top: 4px;
    max-width: 42ch;
    font-size: 13.5px;
    color: var(--c-ink-3);
  }
  .empty .btn {
    margin-top: 16px;
  }
  .skeleton {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: var(--c-surface-3);
  }
  .skeleton::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, var(--c-surface), transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--c-surface) 60%, transparent), transparent);
    }
    animation: shimmer 1.4s infinite;
  }
  .timeline {
    position: relative;
  }
  .tl-item {
    position: relative;
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
  }
  .tl-item:last-child {
    padding-bottom: 0;
  }
  .tl-item:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 15px;
    top: 34px;
    bottom: 2px;
    width: 1px;
    background: var(--c-line);
  }
  .tl-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 3px var(--c-surface);
  }
  .tl-icon svg {
    width: 15px;
    height: 15px;
  }
  .tl-text {
    font-size: 13.5px;
    color: var(--c-ink-2);
    line-height: 19px;
    padding-top: 1px;
  }
  .tl-text b, .tl-text a {
    color: var(--c-ink);
    font-weight: 600;
  }
  .tl-text a:hover {
    color: var(--c-primary);
  }
  .tl-meta {
    margin-top: 3px;
    font-size: 12px;
    color: var(--c-ink-3);
  }
  .chart {
    position: relative;
    width: 100%;
  }
  .chart svg {
    display: block;
    overflow: visible;
  }
  .chart .axis text {
    fill: var(--c-ink-3);
    font-size: 11.5px;
    font-family: var(--font-sans);
  }
  .chart .grid line {
    stroke: var(--c-line);
  }
  .chart-tip {
    position: absolute;
    z-index: 5;
    pointer-events: none;
    min-width: 150px;
    padding: 9px 11px;
    border-radius: 9px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    box-shadow: var(--shadow-pop);
    font-size: 12.5px;
    opacity: 0;
    transition: opacity .1s ease;
  }
  .chart-tip.is-visible {
    opacity: 1;
  }
  .chart-tip .tt-title {
    font-weight: 600;
    color: var(--c-ink);
    margin-bottom: 5px;
  }
  .chart-tip .tt-row {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--c-ink-2);
    line-height: 20px;
  }
  .chart-tip .tt-row b {
    margin-left: auto;
    color: var(--c-ink);
    font-weight: 600;
    padding-left: 12px;
    font-variant-numeric: tabular-nums;
  }
  .chart-tip .tt-swatch {
    width: 8px;
    height: 8px;
    border-radius: 2px;
  }
  .legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    font-size: 12.5px;
    color: var(--c-ink-2);
  }
  .legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .legend i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
  }
  .estate {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(22px, 1fr));
    gap: 5px;
  }
  .estate-tile {
    aspect-ratio: 1;
    border-radius: 5px;
    border: 0;
    padding: 0;
    background: var(--c-success);
    opacity: .82;
    transition: transform .1s ease, opacity .1s ease, box-shadow .1s ease;
  }
  .estate-tile:hover, .estate-tile:focus-visible {
    opacity: 1;
    transform: scale(1.18);
    box-shadow: 0 0 0 2px var(--c-surface), 0 0 0 4px currentColor;
    outline: none;
    z-index: 2;
    position: relative;
  }
  .estate-tile.s-online {
    background: var(--c-success);
    color: var(--c-success);
    opacity: .55;
  }
  .estate-tile.s-maintenance {
    background: var(--c-warning);
    color: var(--c-warning);
    opacity: 1;
  }
  .estate-tile.s-ssl {
    background: var(--c-violet);
    color: var(--c-violet);
    opacity: 1;
  }
  .estate-tile.s-offline {
    background: var(--c-danger);
    color: var(--c-danger);
    opacity: 1;
    animation: tile-alert 2s ease-in-out infinite;
  }
  .estate.is-filtered .estate-tile:not(.is-match) {
    opacity: .14;
  }
  .estate-legend {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }
  .estate-key {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 9px;
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    font-size: 12.5px;
    color: var(--c-ink-2);
    text-align: left;
    transition: border-color .12s ease, background .12s ease;
  }
  .estate-key:hover {
    border-color: var(--c-line-strong);
  }
  .estate-key.is-active {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
  }
  .estate-key b {
    margin-left: auto;
    font-size: 14px;
    color: var(--c-ink);
    font-variant-numeric: tabular-nums;
  }
  .estate-key i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
  }
  .briefing {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 26px;
    line-height: 34px;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    max-width: 46ch;
  }
  .briefing .muted {
    color: var(--c-ink-3);
  }
  .briefing a {
    color: var(--c-ink);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
  .briefing a.is-danger {
    text-decoration-color: var(--c-danger);
  }
  .briefing a.is-warning {
    text-decoration-color: var(--c-warning);
  }
  .briefing a.is-primary {
    text-decoration-color: var(--c-primary);
  }
  .briefing a:hover {
    color: var(--c-primary);
  }
  @media (max-width: 639.98px) {
    .briefing {
      font-size: 21px;
      line-height: 29px;
    }
  }
  .list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid var(--c-line);
    transition: background .1s ease;
  }
  .list-row:hover {
    background: var(--c-surface-2);
  }
  .list-row:first-child {
    border-top: 0;
  }
  button.list-row {
    border-width: 1px 0 0;
    border-style: solid;
    border-color: var(--c-line);
    background: none;
    font: inherit;
    color: inherit;
  }
  button.list-row:first-child {
    border-top-width: 0;
  }
  .agenda-day {
    padding: 10px 18px 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-ink-2);
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--c-surface-2);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
  }
  .agenda-item {
    display: flex;
    gap: 12px;
    padding: 10px 18px;
    align-items: flex-start;
  }
  .agenda-item + .agenda-item {
    border-top: 1px dashed var(--c-line);
  }
  .agenda-time {
    width: 46px;
    flex-shrink: 0;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--c-ink-3);
    padding-top: 1px;
    font-variant-numeric: tabular-nums;
  }
  .agenda-kind {
    width: 3px;
    align-self: stretch;
    border-radius: 2px;
    flex-shrink: 0;
  }
  .agenda-item.is-done .agenda-title {
    text-decoration: line-through;
    color: var(--c-ink-3);
  }
  .quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .qa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 12px 0 10px;
    border-radius: 9px;
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    font-size: 13px;
    font-weight: 500;
    color: var(--c-ink);
    transition: border-color .12s ease, background .12s ease;
  }
  .qa-btn:hover {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
  }
  .qa-btn svg {
    width: 16px;
    height: 16px;
    color: var(--c-primary);
  }
  .ds-section {
    scroll-margin-top: 80px;
  }
  .ds-swatch {
    border-radius: 10px;
    border: 1px solid var(--c-line);
    overflow: hidden;
    background: var(--c-surface);
  }
  .ds-swatch .sw {
    height: 56px;
  }
  .ds-swatch .sw-meta {
    padding: 8px 10px;
    font-size: 12px;
    line-height: 17px;
  }
  .ds-toc a {
    display: block;
    padding: 5px 10px;
    border-radius: 7px;
    font-size: 13px;
    color: var(--c-ink-2);
  }
  .ds-toc a:hover {
    background: var(--c-surface-3);
    color: var(--c-ink);
  }
  .ds-toc a.is-active {
    color: var(--c-primary);
    background: var(--c-primary-soft);
    font-weight: 500;
  }
  .ds-demo {
    padding: 20px;
    border-radius: 10px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line);
  }
  @media (min-width: 768px) {
    .kpi-band-6 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (min-width: 1280px) {
    .kpi-band-6 {
      grid-template-columns: repeat(6, minmax(0, 1fr));
    }
  }
  button.kpi {
    border: 0;
    background: transparent;
    font: inherit;
    color: inherit;
    width: 100%;
    text-align: left;
  }
  button.kpi:disabled {
    cursor: default;
  }
  button.kpi.is-active {
    background: var(--c-primary-soft);
  }
  .toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
  }
  .toolbar .grow {
    flex: 1;
  }
  .filter-select {
    max-width: 180px;
    height: 32px;
    font-size: 13px;
    width: auto;
    min-width: 0;
    padding-right: 30px;
    background-position: right 8px center;
  }
  .count-pill {
    font-size: 12px;
    font-weight: 600;
    color: var(--c-ink-3);
    background: var(--c-surface-3);
    border-radius: 9px;
    padding: 0 7px;
    line-height: 18px;
  }
  .back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--c-ink-3);
    margin-bottom: 10px;
  }
  .back-link:hover {
    color: var(--c-ink);
  }
  .back-link svg {
    width: 15px;
    height: 15px;
  }
  .record-head {
    padding: 20px 22px 0;
  }
  .record-top {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
  }
  .record-title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    letter-spacing: -0.02em;
  }
  .record-sub {
    margin-top: 3px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
    font-size: 13px;
    color: var(--c-ink-2);
  }
  .record-sub > span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
  }
  .record-sub svg {
    width: 14px;
    height: 14px;
    color: var(--c-ink-3);
  }
  .record-actions {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .record-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin: 18px -22px 0;
    background: var(--c-line);
    border-top: 1px solid var(--c-line);
  }
  @media (min-width: 768px) {
    .record-facts {
      grid-template-columns: repeat(var(--facts, 5), minmax(0, 1fr));
    }
  }
  @media (max-width: 767.98px) {
    .record-facts > div:last-child:nth-child(odd) {
      grid-column: span 2;
    }
  }
  .record-facts > div {
    background: var(--c-surface);
    padding: 11px 22px;
    min-width: 0;
  }
  .fact-label {
    font-size: 12px;
    color: var(--c-ink-3);
  }
  .fact-value {
    margin-top: 2px;
    font-size: 14px;
    font-weight: 500;
    color: var(--c-ink);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .record-tabs {
    margin: 0 -22px;
    padding: 0 14px;
    border-top: 1px solid var(--c-line);
    border-bottom: 0;
  }
  .kv {
    display: grid;
    grid-template-columns: minmax(110px, 40%) minmax(0, 1fr);
    gap: 9px 14px;
    font-size: 13.5px;
  }
  .kv dt {
    color: var(--c-ink-3);
  }
  .kv dd {
    color: var(--c-ink);
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .kv-stack {
    display: grid;
    gap: 14px;
    font-size: 13.5px;
  }
  .kv-stack dt {
    font-size: 12px;
    color: var(--c-ink-3);
  }
  .kv-stack dd {
    margin-top: 2px;
    color: var(--c-ink);
    font-weight: 500;
  }
  .side-section {
    padding: 16px 18px;
    border-top: 1px solid var(--c-line);
  }
  .side-section:first-child {
    border-top: 0;
  }
  .side-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-ink-2);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
  }
  .card-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  .rec-card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: var(--radius-panel);
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    transition: border-color .12s ease, box-shadow .12s ease;
  }
  .rec-card:hover {
    border-color: var(--c-line-strong);
    box-shadow: 0 2px 10px -4px rgb(15 26 43 / .12);
  }
  .check.rec-card {
    flex-direction: row;
    cursor: pointer;
  }
  .check.rec-card:has(input:checked) {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
  }
  .canned-item.is-active {
    background: var(--c-primary-soft);
  }
  .canned-item.is-active .text-ink {
    color: var(--c-primary-ink);
  }
  .rec-card-foot {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid var(--c-line);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--c-ink-3);
  }
  .board {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(272px, 1fr);
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 8px;
    align-items: start;
  }
  .board-col {
    background: var(--c-surface-2);
    border: 1px solid var(--c-line);
    border-radius: var(--radius-panel);
    display: flex;
    flex-direction: column;
    min-height: 200px;
    max-height: calc(100dvh - 230px);
  }
  .board-col-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 12px 9px;
    font-size: 13px;
    font-weight: 600;
  }
  .board-col-head .bar {
    width: 8px;
    height: 8px;
    border-radius: 2px;
  }
  .board-col-body {
    padding: 0 8px 8px;
    display: grid;
    gap: 8px;
    overflow-y: auto;
    align-content: start;
    flex: 1;
    min-height: 60px;
    border-radius: 0 0 var(--radius-panel) var(--radius-panel);
    transition: background .12s ease;
  }
  .board-col-body.is-over {
    background: var(--c-primary-soft);
  }
  .board-card {
    padding: 12px;
    border-radius: 10px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    box-shadow: 0 1px 2px rgb(15 26 43 / .05);
    cursor: grab;
  }
  .board-card:hover {
    border-color: var(--c-line-strong);
  }
  .board-card.is-dragging {
    opacity: .45;
  }
  .board-card:active {
    cursor: grabbing;
  }
  .stepper {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px 8px;
    counter-reset: step;
  }
  @media (min-width: 1024px) {
    .stepper {
      grid-template-columns: repeat(8, minmax(0, 1fr));
    }
  }
  .step {
    position: relative;
    min-width: 0;
  }
  .step-dot {
    position: relative;
    z-index: 1;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--c-ink-3);
    background: var(--c-surface);
    box-shadow: inset 0 0 0 1.5px var(--c-line-strong);
  }
  .step-dot svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.6;
  }
  .step.is-done .step-dot {
    background: var(--c-primary);
    color: #fff;
    box-shadow: none;
  }
  .step.is-current .step-dot {
    background: var(--c-primary-soft);
    box-shadow: inset 0 0 0 2px var(--c-primary);
    color: var(--c-primary);
  }
  .step.is-current .step-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid var(--c-primary);
    opacity: .25;
  }
  @media (min-width: 1024px) {
    .step:not(:last-child)::before {
      content: "";
      position: absolute;
      top: 12px;
      left: 34px;
      right: 6px;
      height: 2px;
      border-radius: 2px;
      background: var(--c-line);
    }
    .step.is-done:not(:last-child)::before {
      background: var(--c-primary);
    }
  }
  .step-name {
    margin-top: 8px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 16px;
    color: var(--c-ink);
  }
  .step:not(.is-done):not(.is-current) .step-name {
    color: var(--c-ink-3);
  }
  .step-date {
    font-size: 11.5px;
    color: var(--c-ink-3);
    margin-top: 2px;
  }
  .task-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid var(--c-line);
    transition: background .1s ease;
  }
  .task-row:hover {
    background: var(--c-surface-2);
  }
  .task-row.is-done .task-title {
    text-decoration: line-through;
    color: var(--c-ink-3);
  }
  .task-title {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--c-ink);
    text-align: left;
    background: none;
    border: 0;
    padding: 0;
  }
  .task-title:hover {
    color: var(--c-primary);
  }
  .task-group {
    padding: 9px 18px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-ink-2);
    background: var(--c-surface-2);
    border-top: 1px solid var(--c-line);
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .tree-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px 130px 40px 36px;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    border-top: 1px solid var(--c-line);
    font-size: 13.5px;
  }
  .tree-row:hover {
    background: var(--c-surface-2);
  }
  .tree-name {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
  }
  .tree-toggle {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 0;
    background: none;
    border-radius: 5px;
    color: var(--c-ink-3);
    flex-shrink: 0;
  }
  .tree-toggle:hover {
    background: var(--c-surface-3);
    color: var(--c-ink);
  }
  .tree-toggle svg {
    width: 15px;
    height: 15px;
    transition: transform .15s ease;
  }
  .tree-node.is-collapsed > .tree-row .tree-toggle svg {
    transform: rotate(-90deg);
  }
  .tree-node.is-collapsed > .tree-children {
    display: none;
  }
  .tree-spacer {
    width: 22px;
    flex-shrink: 0;
  }
  .tree-guide {
    width: 18px;
    flex-shrink: 0;
    align-self: stretch;
    border-left: 1px solid var(--c-line);
    margin-left: 10px;
  }
  @media (max-width: 767.98px) {
    .tree-row {
      grid-template-columns: minmax(0, 1fr) auto 36px;
    }
    .tree-row .hide-sm {
      display: none;
    }
  }
  .thread {
    display: grid;
    gap: 14px;
  }
  .msg {
    display: flex;
    gap: 12px;
  }
  .msg-bubble {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    background: var(--c-surface);
  }
  .msg-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    padding: 10px 14px 0;
    font-size: 13px;
  }
  .msg-head b {
    font-weight: 600;
    color: var(--c-ink);
  }
  .msg-head time {
    margin-left: auto;
    color: var(--c-ink-3);
    font-size: 12px;
  }
  .msg-body {
    padding: 6px 14px 12px;
    font-size: 14px;
    line-height: 22px;
    color: var(--c-ink);
  }
  .msg-body p + p {
    margin-top: 10px;
  }
  .msg-files {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 14px 12px;
  }
  .msg-file {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px 6px 6px;
    border-radius: 8px;
    border: 1px solid var(--c-line);
    background: var(--c-surface-2);
    font-size: 12.5px;
  }
  .msg-file .file-icon {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: grid;
    place-items: center;
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
  }
  .msg-file .file-icon svg {
    width: 14px;
    height: 14px;
  }
  .msg-staff .msg-bubble {
    background: var(--c-primary-soft);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-primary-soft) 55%, var(--c-surface));
    }
    border-color: var(--c-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-primary) 22%, var(--c-line));
    }
  }
  .msg-note .msg-bubble {
    background: var(--c-warning-soft);
    border: 1px dashed var(--c-warning);
    @supports (color: color-mix(in lab, red, red)) {
      border: 1px dashed color-mix(in srgb, var(--c-warning) 55%, transparent);
    }
  }
  .msg-note .msg-head b {
    color: var(--c-warning-ink);
  }
  .msg-system {
    justify-content: center;
  }
  .msg-system .sys {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--c-ink-3);
    padding: 2px 12px;
    text-align: center;
  }
  .msg-system .sys svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
  .msg-system .sys b {
    color: var(--c-ink-2);
    font-weight: 600;
  }
  .composer {
    border: 1px solid var(--c-line-strong);
    border-radius: 12px;
    background: var(--c-surface);
    overflow: hidden;
    transition: border-color .12s ease, box-shadow .12s ease;
  }
  .composer:focus-within {
    border-color: var(--c-primary);
    box-shadow: var(--ring);
  }
  .composer.is-note {
    border-color: var(--c-warning);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-warning) 60%, transparent);
    }
    background: var(--c-warning-soft);
  }
  .composer.is-note:focus-within {
    box-shadow: 0 0 0 3px rgb(201 122 0 / .2);
  }
  .composer-tabs {
    display: flex;
    gap: 2px;
    padding: 6px 8px 0;
    border-bottom: 1px solid var(--c-line);
  }
  .composer-tabs button {
    height: 32px;
    padding: 0 10px;
    border: 0;
    background: none;
    font-size: 13px;
    font-weight: 500;
    color: var(--c-ink-3);
    border-bottom: 2px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .composer-tabs button svg {
    width: 14px;
    height: 14px;
  }
  .composer-tabs button.is-active {
    color: var(--c-ink);
    border-bottom-color: var(--c-primary);
  }
  .composer.is-note .composer-tabs button.is-active {
    border-bottom-color: var(--c-warning);
  }
  .composer-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--c-line);
  }
  .composer-tools > button {
    width: 30px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 0;
    background: none;
    border-radius: 6px;
    color: var(--c-ink-2);
  }
  .composer-tools > button:hover {
    background: var(--c-surface-3);
    color: var(--c-ink);
  }
  .composer-tools > button svg {
    width: 15px;
    height: 15px;
  }
  .composer-tools .sep {
    width: 1px;
    margin: 4px 4px;
    background: var(--c-line);
  }
  .composer-editor {
    min-height: 120px;
    max-height: 360px;
    overflow-y: auto;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 22px;
    outline: none;
    color: var(--c-ink);
  }
  .composer-editor:empty::before {
    content: attr(data-placeholder);
    color: var(--c-ink-3);
  }
  .composer-editor ul {
    list-style: disc;
    padding-left: 20px;
  }
  .composer-editor ol {
    list-style: decimal;
    padding-left: 20px;
  }
  .composer-editor a {
    color: var(--c-primary);
    text-decoration: underline;
  }
  .composer-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-top: 1px solid var(--c-line);
  }
  .secret {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 9px;
    border: 1px solid var(--c-line);
    background: var(--c-surface-2);
    font-size: 13px;
  }
  .secret .mask {
    flex: 1;
    min-width: 0;
    letter-spacing: 2px;
    color: var(--c-ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .secret .mask.is-revealed {
    letter-spacing: 0;
    color: var(--c-ink);
  }
  .vault-note {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 9px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line);
    font-size: 12.5px;
    color: var(--c-ink-2);
    line-height: 18px;
  }
  .vault-note svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--c-success);
    margin-top: 1px;
  }
  .check-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-top: 1px solid var(--c-line);
    font-size: 13.5px;
  }
  .check-row .ci {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .check-row .ci svg {
    width: 14px;
    height: 14px;
  }
  .uptime-strip {
    display: flex;
    gap: 2px;
    height: 28px;
    align-items: stretch;
  }
  .uptime-strip i {
    flex: 1;
    border-radius: 2px;
    background: var(--c-success);
    opacity: .75;
  }
  .uptime-strip i.warn {
    background: var(--c-warning);
    opacity: 1;
  }
  .uptime-strip i.down {
    background: var(--c-danger);
    opacity: 1;
  }
  .uptime-strip i:hover {
    opacity: 1;
  }
  .repeat-item {
    position: relative;
    padding: 16px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: var(--c-surface-2);
  }
  .repeat-item + .repeat-item {
    margin-top: 10px;
  }
  .save-bar {
    position: sticky;
    bottom: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    margin: 0 -24px -48px;
    background: var(--c-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-surface) 92%, transparent);
    }
    backdrop-filter: blur(8px);
    border-top: 1px solid var(--c-line);
  }
  @media (max-width: 639.98px) {
    .save-bar {
      margin: 0 -16px -40px;
      padding: 12px 16px;
    }
  }
  .stars {
    display: inline-flex;
    gap: 1px;
    color: var(--c-warning);
  }
  .stars svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
  }
  .prose-kb {
    font-size: 14.5px;
    line-height: 24px;
    color: var(--c-ink);
    max-width: 70ch;
  }
  .prose-kb h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    margin: 22px 0 8px;
  }
  .prose-kb p {
    margin: 10px 0;
  }
  .prose-kb ol {
    list-style: decimal;
    padding-left: 22px;
    margin: 10px 0;
  }
  .prose-kb li {
    margin: 4px 0;
  }
  .prose-kb .tip {
    margin: 14px 0;
    padding: 10px 14px;
    border-left: 3px solid var(--c-primary);
    background: var(--c-primary-soft);
    border-radius: 0 8px 8px 0;
    color: var(--c-ink-2);
    font-size: 13.5px;
  }
  .doc-stage {
    padding: 28px 16px;
    background: var(--c-surface-3);
    border-radius: var(--radius-panel);
    border: 1px solid var(--c-line);
    overflow-x: auto;
  }
  .doc {
    --ink: #0f1a2b;
    --ink2: #4a5568;
    --ink3: #7a8699;
    --line: #e2e7ef;
    --tint: #f5f7fb;
    --accent: #2a62e3;
    width: 100%;
    max-width: 794px;
    min-height: 1060px;
    margin: 0 auto;
    padding: 56px 60px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 1px 3px rgb(15 26 43 / .08), 0 18px 48px -18px rgb(15 26 43 / .25);
    border-radius: 4px;
    font-size: 13px;
    line-height: 20px;
  }
  @media (max-width: 639.98px) {
    .doc-stage {
      padding: 12px 8px;
    }
    .doc {
      padding: 24px 16px;
      min-height: 0;
      overflow-x: auto;
    }
    .doc-table th, .doc-table td {
      padding-left: 4px;
      padding-right: 4px;
      font-size: 12px;
    }
  }
  .doc h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.02em;
    color: var(--ink);
  }
  .doc h2 {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    margin: 26px 0 10px;
    color: var(--ink);
  }
  .doc .muted {
    color: var(--ink3);
  }
  .doc .soft {
    color: var(--ink2);
  }
  .doc-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 26px;
    border-bottom: 2px solid var(--ink);
  }
  .doc-brand {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .doc-brand b {
    font-family: var(--font-display);
    font-size: 17px;
  }
  .doc-meta {
    display: grid;
    grid-template-columns: auto auto;
    gap: 3px 18px;
    font-size: 12.5px;
  }
  .doc-meta dt {
    color: var(--ink3);
  }
  .doc-meta dd {
    text-align: right;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
  }
  .doc-parties {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin: 26px 0;
  }
  .doc-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--ink3);
    margin-bottom: 4px;
  }
  .doc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
  }
  .doc-table th {
    text-align: left;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ink3);
    padding: 8px 10px;
    border-bottom: 1px solid var(--ink);
  }
  .doc-table td {
    padding: 11px 10px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
    font-variant-numeric: tabular-nums;
  }
  .doc-table .num {
    text-align: right;
    white-space: nowrap;
  }
  .doc-totals {
    margin-left: auto;
    width: 290px;
    margin-top: 14px;
    font-variant-numeric: tabular-nums;
  }
  .doc-totals div {
    display: flex;
    justify-content: space-between;
    padding: 5px 10px;
  }
  .doc-totals .grand {
    margin-top: 6px;
    padding: 10px;
    background: var(--ink);
    color: #fff;
    border-radius: 4px;
    font-weight: 600;
    font-size: 15px;
  }
  .doc-box {
    padding: 14px 16px;
    background: var(--tint);
    border-radius: 6px;
    font-size: 12.5px;
  }
  .doc-stamp {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 12px;
    border: 1.5px solid;
  }
  .doc-foot {
    margin-top: 40px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 11px;
    color: var(--ink3);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 18px;
  }
  .doc-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
  @media (max-width: 639.98px) {
    .doc-kpis {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .doc-parties {
      grid-template-columns: 1fr;
    }
  }
  .doc-kpi {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
  }
  .doc-kpi b {
    display: block;
    font-family: var(--font-display);
    font-size: 22px;
    line-height: 28px;
    font-weight: 600;
  }
  .doc ul.ticks {
    display: grid;
    gap: 6px;
  }
  .doc ul.ticks li {
    position: relative;
    padding-left: 20px;
  }
  .doc ul.ticks li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 6px;
    width: 9px;
    height: 5px;
    border-left: 2px solid #12915a;
    border-bottom: 2px solid #12915a;
    transform: rotate(-45deg);
  }
  .li-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13.5px;
  }
  .li-table th {
    text-align: left;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-ink-3);
    padding: 0 8px 8px;
  }
  .li-table td {
    padding: 6px 8px;
    vertical-align: top;
    border-top: 1px solid var(--c-line);
  }
  .li-table .input, .li-table .textarea {
    height: 34px;
    font-size: 13.5px;
  }
  .li-table .textarea {
    min-height: 34px;
    height: 34px;
    padding: 6px 10px;
    resize: none;
  }
  .li-table .num {
    text-align: right;
  }
  .li-drag {
    color: var(--c-ink-3);
    cursor: grab;
    padding-top: 8px;
  }
  .cal-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--c-line);
  }
  .cal-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    min-width: 190px;
  }
  .cal-month {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }
  .cal-dow {
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 500;
    color: var(--c-ink-3);
    border-bottom: 1px solid var(--c-line);
    background: var(--c-surface-2);
  }
  .cal-cell {
    min-height: 118px;
    padding: 6px;
    border-right: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    cursor: pointer;
    transition: background .1s ease;
  }
  .cal-cell:nth-child(7n) {
    border-right: 0;
  }
  .cal-cell:hover {
    background: var(--c-surface-2);
  }
  .cal-cell.is-other {
    background: var(--c-surface-2);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-surface-2) 60%, transparent);
    }
  }
  .cal-cell.is-other .cal-date {
    color: var(--c-ink-3);
  }
  .cal-cell.is-weekend {
    background: var(--c-surface-2);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-surface-2) 45%, var(--c-surface));
    }
  }
  .cal-date {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--c-ink-2);
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
  }
  .cal-cell.is-today .cal-date {
    background: var(--c-primary);
    color: #fff;
  }
  .cal-ev {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 12px;
    line-height: 17px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: 0;
    text-align: left;
    width: 100%;
    background: var(--ev);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--ev) 13%, var(--c-surface));
    }
    color: var(--c-ink);
    box-shadow: inset 2px 0 0 var(--ev);
  }
  .cal-ev:hover {
    background: var(--ev);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--ev) 22%, var(--c-surface));
    }
  }
  .cal-ev time {
    color: var(--c-ink-3);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }
  .cal-more {
    font-size: 11.5px;
    color: var(--c-ink-3);
    padding: 0 6px;
    text-align: left;
    background: none;
    border: 0;
  }
  .cal-more:hover {
    color: var(--c-primary);
  }
  @media (max-width: 767.98px) {
    .cal-cell {
      min-height: 64px;
    }
    .cal-ev {
      font-size: 0;
      height: 6px;
      padding: 0;
    }
    .cal-ev time {
      display: none;
    }
  }
  .cal-grid {
    display: grid;
    position: relative;
  }
  .cal-hours {
    font-size: 11px;
    color: var(--c-ink-3);
    text-align: right;
    padding-right: 8px;
    font-variant-numeric: tabular-nums;
  }
  .cal-col {
    position: relative;
    border-left: 1px solid var(--c-line);
  }
  .cal-slot {
    height: 48px;
    border-bottom: 1px solid var(--c-line);
  }
  .cal-slot:nth-child(odd) {
    border-bottom-style: dashed;
    border-bottom-color: var(--c-line);
    @supports (color: color-mix(in lab, red, red)) {
      border-bottom-color: color-mix(in srgb, var(--c-line) 70%, transparent);
    }
  }
  .cal-block {
    position: absolute;
    left: 3px;
    right: 3px;
    padding: 4px 7px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 16px;
    overflow: hidden;
    border: 0;
    text-align: left;
    background: var(--ev);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--ev) 15%, var(--c-surface));
    }
    box-shadow: inset 3px 0 0 var(--ev);
    color: var(--c-ink);
  }
  .cal-block:hover {
    background: var(--ev);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--ev) 24%, var(--c-surface));
    }
    z-index: 2;
  }
  .cal-now {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--c-danger);
    z-index: 3;
  }
  .cal-now::before {
    content: "";
    position: absolute;
    left: -5px;
    top: -4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--c-danger);
  }
  .cal-allday {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 4px;
    min-height: 30px;
    border-left: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
  }
  .cal-colhead {
    padding: 8px;
    text-align: center;
    border-left: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    font-size: 12px;
    color: var(--c-ink-3);
  }
  .cal-colhead b {
    display: block;
    font-family: var(--font-display);
    font-size: 20px;
    line-height: 26px;
    color: var(--c-ink);
    font-weight: 600;
  }
  .cal-colhead.is-today b {
    color: var(--c-primary);
  }
  .plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px;
    border-radius: var(--radius-panel);
    border: 1px solid var(--c-line);
    background: var(--c-surface);
  }
  .plan-card.is-popular {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 1px var(--c-primary);
  }
  .plan-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
  }
  .plan-card ul {
    display: grid;
    gap: 7px;
    font-size: 13.5px;
    color: var(--c-ink-2);
  }
  .plan-card li {
    display: flex;
    gap: 8px;
  }
  .plan-card li svg {
    width: 16px;
    height: 16px;
    color: var(--c-success);
    flex-shrink: 0;
    margin-top: 3px;
  }
  .plan-card.is-inactive {
    opacity: .6;
  }
}
@media print {
  body {
    background: #fff !important;
  }
  .page > :not(.print-area), .print-hide {
    display: none !important;
  }
  .print-area .doc-stage {
    padding: 0;
    background: none;
    border: 0;
  }
  .print-area .doc {
    box-shadow: none;
    max-width: none;
    padding: 0;
    min-height: 0;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
@keyframes pulse-ring {
  0% {
    transform: scale(1);
    opacity: .6;
  }
  100% {
    transform: scale(2.6);
    opacity: 0;
  }
}
@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(.98);
  }
}
@keyframes toast-out {
  to {
    opacity: 0;
    transform: translateX(16px);
  }
}
@keyframes tile-alert {
  50% {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--c-danger) 35%, transparent);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.enter {
  animation: rise .5s cubic-bezier(.2,.8,.2,1) both;
}
.estate-tile {
  animation: rise .4s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 8ms + 150ms);
}
.estate-tile.s-offline {
  animation: rise .4s both, tile-alert 2s ease-in-out .6s infinite;
  animation-delay: calc(var(--i, 0) * 8ms + 150ms), .8s;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
@media print {
  .sidebar, .topbar, .toast-region, .no-print {
    display: none !important;
  }
  .main {
    margin-left: 0 !important;
  }
  body {
    background: #fff;
  }
}
@layer components {
  .qb-title {
    width: 100%;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 26px;
    line-height: 34px;
    letter-spacing: -0.02em;
    color: var(--c-ink);
    background: transparent;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 0 6px;
    margin-left: -7px;
  }
  .qb-title:hover {
    border-color: var(--c-line);
  }
  .qb-title:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: var(--ring);
  }
  .qb-section {
    overflow: visible;
  }
  .qb-section.is-current {
    border-color: var(--c-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-primary) 45%, var(--c-line));
    }
  }
  .qb-section-head {
    padding: 14px 18px 10px;
    border-bottom: 1px solid var(--c-line);
  }
  .qb-section-title, .qb-desc {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 7px;
    padding: 2px 6px;
    margin-left: -7px;
    color: var(--c-ink);
    resize: none;
    overflow: hidden;
  }
  .qb-section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
  }
  .qb-desc {
    font-size: 13.5px;
    line-height: 20px;
    color: var(--c-ink-2);
    margin-top: 2px;
  }
  .qb-section-title:hover, .qb-desc:hover {
    border-color: var(--c-line);
  }
  .qb-section-title:focus, .qb-desc:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: var(--ring);
    background: var(--c-surface);
  }
  .qb-list {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    min-height: 64px;
  }
  .qb-empty {
    display: grid;
    place-items: center;
    min-height: 64px;
    border: 1.5px dashed var(--c-line-strong);
    border-radius: 10px;
    font-size: 13px;
    color: var(--c-ink-3);
  }
  .qb-q {
    position: relative;
    display: flex;
    gap: 8px;
    padding: 12px 14px 14px 6px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: var(--c-surface);
    cursor: pointer;
    transition: border-color .12s ease, box-shadow .12s ease;
  }
  .qb-q:hover {
    border-color: var(--c-line-strong);
  }
  .qb-q:focus-visible {
    outline: none;
    box-shadow: var(--ring);
  }
  .qb-q.is-selected {
    cursor: default;
    padding: 16px;
    border-color: var(--c-primary);
    box-shadow: 0 0 0 1px var(--c-primary), var(--shadow-sm, 0 1px 2px rgb(15 26 43 / .06));
  }
  .qb-q.is-dragging {
    opacity: .45;
  }
  .qb-q.drop-before::before, .qb-q.drop-after::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    height: 3px;
    border-radius: 2px;
    background: var(--c-primary);
  }
  .qb-q.drop-before::before {
    top: -7px;
  }
  .qb-q.drop-after::after {
    bottom: -7px;
  }
  .qb-handle {
    color: var(--c-ink-3);
    cursor: grab;
    padding-top: 1px;
    opacity: .5;
  }
  .qb-handle svg {
    width: 16px;
    height: 16px;
  }
  .qb-q:hover .qb-handle {
    opacity: 1;
  }
  .qb-preview {
    pointer-events: none;
  }
  .qb-preview .input, .qb-preview .textarea, .qb-preview .select {
    background: var(--c-surface-2);
  }
  .qb-preview .dropzone {
    padding: 14px;
  }
  .qb-add-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    border: 1.5px dashed var(--c-line-strong);
    border-radius: var(--radius-panel);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--c-ink-2);
  }
  .qb-add-section:hover {
    border-color: var(--c-primary);
    color: var(--c-primary);
    background: var(--c-primary-soft);
  }
  .qb-add-section svg {
    width: 16px;
    height: 16px;
  }
  .qb-out {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 7px 14px;
    font-size: 13px;
    text-align: left;
    color: var(--c-ink-2);
  }
  .qb-out:hover {
    background: var(--c-surface-2);
    color: var(--c-ink);
  }
  .qb-out.is-active {
    color: var(--c-ink);
    font-weight: 600;
  }
  .qb-out-q {
    display: block;
    width: 100%;
    padding: 3px 0;
    font-size: 12.5px;
    color: var(--c-ink-3);
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .qb-out-q:hover, .qb-out-q.is-active {
    color: var(--c-primary);
  }
  .q-option {
    padding: 9px 12px;
    border: 1px solid var(--c-line);
    border-radius: 9px;
    background: var(--c-surface);
  }
  .q-option:has(input:checked) {
    border-color: var(--c-primary);
    background: var(--c-primary-soft);
  }
  .qf-body {
    background: var(--c-canvas);
    min-height: 100vh;
  }
  .qf-wrap {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
  }
  .qf-top {
    position: sticky;
    top: 0;
    z-index: 30;
    background: var(--c-surface);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-surface) 92%, transparent);
    }
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--c-line);
  }
  .qf-top .qf-wrap {
    height: 60px;
  }
  .qf-preview-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 8px 20px;
    font-size: 13px;
    background: var(--c-violet-soft);
    color: var(--c-violet-ink);
  }
  .qf-preview-bar svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  .qf-preview-link {
    margin-left: auto;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
  }
  .qf-step {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 10px;
    border-radius: 8px;
    text-align: left;
    font-size: 13.5px;
    color: var(--c-ink-2);
  }
  .qf-step:hover {
    background: var(--c-surface-2);
  }
  .qf-step.is-current {
    background: var(--c-primary-soft);
    color: var(--c-ink);
    font-weight: 500;
  }
  .qf-step-dot {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 600;
    box-shadow: inset 0 0 0 1.5px var(--c-line-strong);
    color: var(--c-ink-3);
  }
  .qf-step-dot svg {
    width: 14px;
    height: 14px;
  }
  .qf-step.is-current .qf-step-dot {
    background: var(--c-primary);
    color: #fff;
    box-shadow: none;
  }
  .qf-step.is-done .qf-step-dot {
    background: var(--c-success);
    color: #fff;
    box-shadow: none;
  }
  .qf-head {
    padding: 22px 24px 18px;
    border-bottom: 1px solid var(--c-line);
  }
  .qf-body-fields {
    display: grid;
    gap: 22px;
    padding: 22px 24px;
  }
  .qf-q .label {
    font-size: 14px;
  }
  .qf-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border-top: 1px solid var(--c-line);
    background: var(--c-surface-2);
    border-radius: 0 0 var(--radius-panel) var(--radius-panel);
  }
  .qf-review {
    padding: 18px 24px;
    border-bottom: 1px solid var(--c-line);
  }
  @media (max-width: 639.98px) {
    .qf-head, .qf-body-fields, .qf-review {
      padding-left: 16px;
      padding-right: 16px;
    }
    .qf-foot {
      padding: 12px 16px;
    }
  }
  .thumb {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: var(--c-surface-3);
  }
  .thumb svg {
    display: block;
    width: 100%;
    height: 100%;
  }
  .gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(116px, 1fr));
    gap: 12px;
  }
  .gallery-item {
    display: block;
    text-align: left;
    border-radius: 10px;
  }
  .gallery-item .thumb {
    aspect-ratio: 4 / 3;
    border: 1px solid var(--c-line);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .gallery-item:hover .thumb {
    box-shadow: 0 6px 16px -6px rgb(15 26 43 / .3);
    transform: translateY(-1px);
  }
  .gallery-item:focus-visible {
    outline: none;
    box-shadow: var(--ring);
  }
  .gallery-name {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: var(--c-ink-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .swatch {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 4px;
    border: 1px solid rgb(0 0 0 / .1);
    vertical-align: -3px;
  }
  .ring-progress {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
  }
  .ring-progress svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
  }
  .ring-progress span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 15px;
  }
  .item-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px 3px 6px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 16px;
    border: 1px solid var(--c-line);
    background: var(--c-surface);
    color: var(--c-ink-2);
    white-space: nowrap;
  }
  .item-chip svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
  }
  .item-chip.is-received svg {
    color: var(--c-success);
  }
  .item-chip.is-review svg {
    color: var(--c-primary);
  }
  .item-chip.is-missing {
    border-color: var(--c-warning);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-warning) 45%, var(--c-line));
    }
    background: var(--c-warning-soft);
    color: var(--c-warning-ink);
  }
  .item-chip.is-optional {
    border-style: dashed;
    color: var(--c-ink-3);
  }
  .note {
    display: flex;
    gap: 10px;
    padding: 12px 18px;
    border-top: 1px solid var(--c-line);
  }
  .note.is-client .note-bubble {
    background: var(--c-primary-soft);
  }
  .note-bubble {
    flex: 1;
    min-width: 0;
    padding: 9px 12px;
    border-radius: 10px;
    background: var(--c-surface-2);
    font-size: 13.5px;
    line-height: 20px;
  }
  .doc-folder {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 10px;
    border-radius: 7px;
    font-size: 13.5px;
    color: var(--c-ink-2);
    text-align: left;
  }
  .doc-folder > svg {
    width: 16px;
    height: 16px;
    color: var(--c-ink-3);
    flex-shrink: 0;
  }
  .doc-folder:hover {
    background: var(--c-surface-2);
    color: var(--c-ink);
  }
  .doc-folder.is-active {
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
    font-weight: 500;
  }
  .doc-folder.is-active > svg {
    color: var(--c-primary);
  }
  .doc-folder-group {
    padding: 10px 20px 4px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--c-ink-3);
    border-top: 1px solid var(--c-line);
  }
  .doc-icon {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    border-radius: 8px;
  }
  .doc-icon svg {
    width: 17px;
    height: 17px;
  }
  .doc-icon b {
    position: absolute;
    bottom: -3px;
    right: -5px;
    padding: 0 3px;
    border-radius: 3px;
    font-size: 8.5px;
    line-height: 13px;
    font-weight: 700;
    letter-spacing: .02em;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    color: var(--c-ink-2);
  }
  .doc-icon.is-big {
    width: 100%;
    height: 100%;
    border-radius: 8px;
  }
  .doc-icon.is-big svg {
    width: 34px;
    height: 34px;
  }
  .doc-icon.is-big b {
    position: static;
    position: absolute;
    bottom: 8px;
    right: 8px;
    font-size: 10px;
    line-height: 15px;
  }
  .doc-row {
    cursor: pointer;
  }
  .doc-row.is-selected td {
    background: var(--c-primary-soft);
  }
  .doc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 14px;
    padding: 4px 18px 18px;
  }
  .doc-card {
    position: relative;
    display: block;
    min-width: 0;
    padding: 8px 8px 10px;
    border-radius: 10px;
    border: 1px solid var(--c-line);
    text-align: left;
    background: var(--c-surface);
  }
  .doc-card:hover {
    border-color: var(--c-line-strong);
  }
  .doc-card.is-selected {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 1px var(--c-primary);
  }
  .doc-card-art {
    display: block;
    aspect-ratio: 4 / 3;
  }
  .doc-card-lock {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border-radius: 6px;
    background: rgb(15 26 43 / .65);
    color: #fff;
  }
  .doc-card-lock svg {
    width: 12px;
    height: 12px;
  }
  .doc-preview {
    height: 190px;
    padding: 16px;
    background: var(--c-surface-3);
    border-bottom: 1px solid var(--c-line);
    display: grid;
    place-items: center;
  }
  .doc-preview > .thumb {
    border-radius: 6px;
  }
  .doc-page {
    position: relative;
    width: 120px;
    height: 158px;
    padding: 14px 12px;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgb(15 26 43 / .12), 0 10px 24px -12px rgb(15 26 43 / .35);
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .doc-page b {
    height: 7px;
    border-radius: 2px;
    background: #2a62e3;
    margin-bottom: 4px;
  }
  .doc-page i {
    height: 4px;
    border-radius: 2px;
    background: #dfe4ec;
  }
  .doc-page em {
    position: absolute;
    bottom: 12px;
    right: 12px;
    color: #2a62e3;
  }
  .doc-page em svg {
    width: 26px;
    height: 26px;
  }
  .doc-sheet {
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
    align-content: center;
    padding: 22px;
  }
  .doc-sheet i {
    height: 16px;
    background: var(--c-surface);
    border-radius: 1px;
  }
  .doc-sheet i.h {
    background: var(--c-success);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-success) 30%, var(--c-surface));
    }
  }
  .doc-logo {
    width: 84px;
    height: 84px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
  }
  .kpi-delta {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-right: 6px;
    font-weight: 600;
    color: var(--c-ink-2);
  }
  .kpi-delta svg {
    width: 13px;
    height: 13px;
  }
  .kpi-delta.is-good {
    color: var(--c-success-ink);
  }
  .kpi-delta.is-bad {
    color: var(--c-danger-ink);
  }
  .hbars {
    display: grid;
    gap: 12px;
  }
  .hbars-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 13px;
    margin-bottom: 5px;
    color: var(--c-ink-2);
  }
  .hbars-track {
    position: relative;
    height: 8px;
    border-radius: 4px;
    background: var(--c-surface-3);
  }
  .hbars-track span {
    display: block;
    height: 100%;
    border-radius: 4px;
  }
  .hbars-track i {
    position: absolute;
    top: -3px;
    bottom: -3px;
    width: 2px;
    border-radius: 1px;
    background: var(--c-ink);
  }
  .report-grid {
    display: grid;
    gap: 20px;
  }
  @media (min-width: 1024px) {
    .report-grid {
      grid-template-columns: repeat(12, minmax(0, 1fr));
    }
    .rs-4 {
      grid-column: span 4;
    }
    .rs-5 {
      grid-column: span 5;
    }
    .rs-6 {
      grid-column: span 6;
    }
    .rs-7 {
      grid-column: span 7;
    }
    .rs-8 {
      grid-column: span 8;
    }
    .rs-12 {
      grid-column: span 12;
    }
  }
  @media (min-width: 768px) {
    .kpi-band.kpi-band-5 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
  @media (min-width: 1280px) {
    .kpi-band.kpi-band-5 {
      grid-template-columns: repeat(5, minmax(0, 1fr));
    }
  }
  .n-day {
    position: sticky;
    top: 60px;
    z-index: 1;
    padding: 8px 18px;
    font-size: 12px;
    font-weight: 600;
    color: var(--c-ink-2);
    background: var(--c-surface-2);
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
  }
  .n-day:first-child {
    border-top: 0;
  }
  .n-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 14px 13px 18px;
    border-top: 1px solid var(--c-line);
  }
  .n-day + .n-item {
    border-top: 0;
  }
  .n-item:hover {
    background: var(--c-surface-2);
  }
  .n-item.is-unread {
    background: var(--c-primary-soft);
    @supports (color: color-mix(in lab, red, red)) {
      background: color-mix(in srgb, var(--c-primary-soft) 55%, var(--c-surface));
    }
  }
  .n-item.is-unread::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--c-primary);
  }
  .n-item a b {
    font-weight: 600;
    color: var(--c-ink);
  }
  .n-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--c-primary);
    margin-top: 8px;
    flex-shrink: 0;
  }
  .act-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid var(--c-line);
  }
  .n-day + .act-row {
    border-top: 0;
  }
  .act-text a {
    color: var(--c-primary);
  }
  .act-text a:hover {
    text-decoration: underline;
  }
  .act-text b {
    font-weight: 600;
    color: var(--c-ink);
  }
  .select-sm {
    height: 32px;
    font-size: 13px;
    padding-top: 0;
    padding-bottom: 0;
  }
  .set-nav-group {
    padding: 14px 12px 6px;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .02em;
    color: var(--c-ink-3);
  }
  .set-nav-group:first-child {
    padding-top: 0;
  }
  .set-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 7px 12px;
    border-radius: 8px;
    font-size: 13.5px;
    color: var(--c-ink-2);
    text-align: left;
  }
  .set-nav-link svg {
    width: 16px;
    height: 16px;
    color: var(--c-ink-3);
    flex-shrink: 0;
  }
  .set-nav-link:hover {
    background: var(--c-surface);
    color: var(--c-ink);
  }
  .set-nav-link.is-active {
    background: var(--c-surface);
    color: var(--c-ink);
    font-weight: 600;
    box-shadow: 0 0 0 1px var(--c-line), 0 1px 2px rgb(15 26 43 / .05);
  }
  .set-nav-link.is-active svg {
    color: var(--c-primary);
  }
  .set-switch {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
  }
  .set-switch .switch {
    flex-shrink: 0;
  }
  .set-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
  }
  .set-row-icon {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  .set-row-icon svg {
    width: 17px;
    height: 17px;
  }
  .set-hours {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    min-height: 36px;
  }
  .set-hours .input {
    width: 112px;
  }
  .set-savebar {
    position: sticky;
    bottom: 16px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 10px 12px 10px 16px;
    border-radius: 12px;
    background: var(--c-surface);
    border: 1px solid var(--c-line);
    box-shadow: 0 12px 32px -12px rgb(15 26 43 / .35);
  }
  .set-savebar > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .set-savebar[hidden] {
    display: none;
  }
  .set-logo {
    display: flex;
    align-items: center;
    height: 84px;
    padding: 0 18px;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    background: #fff;
    color: #0f1a2b;
  }
  .set-color {
    width: 40px;
    height: 38px;
    padding: 3px;
    border: 1px solid var(--c-line);
    border-radius: var(--radius-control);
    background: var(--c-surface);
    flex-shrink: 0;
    cursor: pointer;
  }
  .set-preview {
    --brand: #2a62e3;
    --brand-2: #0f8a7e;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--c-canvas);
  }
  .set-preview-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: var(--brand);
    color: #fff;
    font-size: 13px;
  }
  .set-preview-logo {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgb(255 255 255 / .9);
  }
  .set-preview-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 600;
    background: var(--brand-2);
  }
  .set-preview .progress span {
    background: var(--brand-2);
  }
  .set-preview-btn {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 7px;
    font-size: 12.5px;
    font-weight: 500;
    color: #fff;
    background: var(--brand);
  }
  .set-preview-btn.is-ghost {
    background: transparent;
    color: var(--brand);
    box-shadow: inset 0 0 0 1px var(--brand);
  }
  .set-email {
    border: 1px solid var(--c-line);
    border-radius: 10px;
    overflow: hidden;
  }
  .set-email-head {
    padding: 12px 16px;
    background: var(--c-surface-2);
    border-bottom: 1px solid var(--c-line);
  }
  .set-email-body {
    padding: 22px 24px;
    background: #fff;
    color: #0f1a2b;
    font-size: 14px;
    line-height: 22px;
  }
  .set-email mark {
    background: #e8eefc;
    color: #1d4ab8;
    border-radius: 3px;
    padding: 0 2px;
  }
  [data-theme=dark] .set-email-head mark {
    background: var(--c-primary-soft);
    color: var(--c-primary-ink);
  }
  .set-email-foot {
    margin-top: 22px;
    padding-top: 12px;
    border-top: 1px solid #e2e7ef;
    font-size: 12px;
    color: #7a8699;
  }
  .perm {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--c-ink-3);
  }
  .perm-select[data-perm="none"] {
    color: var(--c-ink-3);
  }
  .perm-select[data-perm="full"] {
    color: var(--c-primary-ink);
    font-weight: 500;
  }
  .pw-meter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .pw-meter span {
    height: 4px;
    border-radius: 2px;
    background: var(--c-surface-3);
  }
  .pw-meter span.is-weak {
    background: var(--c-danger);
  }
  .pw-meter span.is-ok {
    background: var(--c-warning);
  }
  .pw-meter span.is-strong {
    background: var(--c-success);
  }
  .list-row.is-current {
    background: var(--c-primary-soft);
  }
  .list-row.is-current:hover {
    background: var(--c-primary-soft);
  }
}
html.portal {
  --c-nav: var(--c-surface);
  --c-nav-2: var(--c-surface-2);
  --c-nav-3: var(--c-primary-soft);
  --c-nav-line: var(--c-line);
  --c-nav-ink: var(--c-ink);
  --c-nav-ink-2: var(--c-ink-2);
  --c-nav-ink-3: var(--c-ink-3);
}
@layer components {
  html.portal .nav-item.is-active > .nav-link {
    color: var(--c-primary-ink);
  }
  html.portal .nav-item.is-active > .nav-link svg:first-child {
    color: var(--c-primary);
  }
  html.portal .nav-count {
    background: var(--c-surface-3);
    color: var(--c-ink-2);
  }
  html.portal .nav-count.is-alert {
    background: var(--c-primary);
    color: #fff;
  }
  html.portal .sidebar-scroll {
    padding-top: 4px;
  }
  .pt-client {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 10px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line);
  }
  .pt-manager {
    padding: 10px;
    border-radius: 10px;
    background: var(--c-surface-2);
  }
  .pt-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 16px;
    margin-bottom: 22px;
  }
  .pt-hello {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 28px;
    line-height: 34px;
    letter-spacing: -0.02em;
  }
  .pt-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-top: 1px solid var(--c-line);
  }
  .pt-action:first-child {
    border-top: 0;
  }
  .pt-design {
    position: relative;
    display: block;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--c-line);
    background: #fff;
  }
  .pt-site-card {
    display: flex;
    flex-direction: column;
  }
  .pt-browser {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    border-bottom: 1px solid var(--c-line);
  }
  .pt-browser-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 26px;
    padding: 0 10px;
    background: var(--c-surface-3);
    font-size: 11px;
    color: var(--c-ink-3);
  }
  .pt-browser-bar i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-line-strong);
  }
  .pt-browser-bar span {
    margin-left: 8px;
    padding: 1px 8px;
    border-radius: 5px;
    background: var(--c-surface);
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .pt-steps {
    display: grid;
    gap: 0;
  }
  .pt-step {
    position: relative;
    display: flex;
    gap: 14px;
    padding-bottom: 18px;
  }
  .pt-step:last-child {
    padding-bottom: 0;
  }
  .pt-step::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 28px;
    bottom: 0;
    width: 2px;
    background: var(--c-line);
  }
  .pt-step:last-child::before {
    display: none;
  }
  .pt-step.is-done::before {
    background: var(--c-success);
  }
  .pt-step-dot {
    position: relative;
    z-index: 1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    background: var(--c-surface);
    box-shadow: inset 0 0 0 2px var(--c-line-strong);
    color: var(--c-ink-3);
    font-size: 12px;
    font-weight: 600;
  }
  .pt-step-dot svg {
    width: 15px;
    height: 15px;
  }
  .pt-step.is-done .pt-step-dot {
    background: var(--c-success);
    color: #fff;
    box-shadow: none;
  }
  .pt-step.is-current .pt-step-dot {
    background: var(--c-primary);
    color: #fff;
    box-shadow: 0 0 0 4px var(--c-primary-soft);
  }
  .pt-step.is-approval .pt-step-dot {
    background: var(--c-violet);
    color: #fff;
    box-shadow: 0 0 0 4px var(--c-violet-soft);
  }
  .msg {
    display: flex;
    gap: 12px;
  }
  .msg + .msg {
    margin-top: 18px;
  }
  .msg-bubble {
    flex: 1;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-line);
    font-size: 14px;
    line-height: 22px;
  }
  .msg.is-me .msg-bubble {
    background: var(--c-primary-soft);
    border-color: var(--c-primary);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in srgb, var(--c-primary) 18%, transparent);
    }
  }
  .msg.is-system {
    justify-content: center;
    font-size: 12.5px;
    color: var(--c-ink-3);
  }
  .login-wrap {
    min-height: 100dvh;
    display: grid;
    background: var(--c-canvas);
  }
  @media (min-width: 1024px) {
    .login-wrap {
      grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    }
  }
  .login-art {
    position: relative;
    display: none;
    overflow: hidden;
    background: linear-gradient(160deg, #13284d 0%, #1d4ab8 55%, #2a62e3 100%);
    color: #fff;
    padding: 48px;
  }
  @media (min-width: 1024px) {
    .login-art {
      display: flex;
      flex-direction: column;
    }
  }
  .login-card {
    width: 100%;
    max-width: 400px;
    margin: auto;
    padding: 40px 20px;
  }
  .pt-mock {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgb(0 0 0 / .08);
    color: #222;
  }
  .pt-mock.is-mobile {
    border-radius: 14px;
  }
  .pt-mock .thumb {
    border-radius: 0;
  }
  .pt-mock-stage {
    padding: 16px;
    border-radius: 12px;
    background: var(--c-surface-3);
  }
  .kpi.is-attention .kpi-value {
    color: var(--c-violet);
  }
  .bg-violet-soft {
    background: var(--c-violet-soft);
  }
  .tab-count.is-alert {
    background: var(--c-violet);
    color: #fff;
  }
  .doc-thumb {
    height: 170px;
    padding: 12px;
    border-radius: 10px;
    background: var(--c-surface-3);
    display: grid;
    place-items: center;
  }
  @media (max-width: 639.98px) {
    html.portal .crumbs > a, html.portal .crumbs > span:not(.current), html.portal .crumbs > .sep {
      display: none;
    }
  }
  .api-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    max-width: 100%;
    padding: 1px 6px;
    border-radius: 5px;
    border: 1px dashed var(--c-line);
    background: var(--c-surface-2, var(--c-surface));
    color: var(--c-ink-3);
    font: 500 11px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }
  .api-hint svg {
    width: 11px;
    height: 11px;
    flex-shrink: 0;
  }
  .svc-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid var(--c-line);
    font-size: 11.5px;
    color: var(--c-ink-2);
    background: var(--c-surface);
  }
  .svc-chip.is-warning {
    border-color: var(--c-warning);
    color: var(--c-ink);
    background: var(--c-warning-soft);
  }
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-space-x-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-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: 0px;
}
@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-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-ease {
  syntax: "*";
  inherits: false;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
@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-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-space-x-reverse: 0;
      --tw-divide-y-reverse: 0;
      --tw-border-style: solid;
      --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-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}
