/*!*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[2]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[10].use[3]!./app/globals.css ***!
  \*******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.3.0 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --radius-xs: 0.125rem;
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --ease-out: cubic-bezier(0, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@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, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    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 {
    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 {
  .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;
  }
  .fixed {
    position: fixed;
  }
  .static {
    position: static;
  }
  .block {
    display: block;
  }
  .hidden {
    display: none;
  }
  .table {
    display: table;
  }
  .min-h-screen {
    min-height: 100vh;
  }
  .max-w-exactus-standard {
    max-width: 77.5rem;
  }
  .border-collapse {
    border-collapse: collapse;
  }
  .gap-exactus-4 {
    gap: var(--space-4);
  }
  .gap-exactus-5 {
    gap: var(--space-5);
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .bg-canvas {
    background-color: var(--bg-canvas);
  }
  .font-exactus-sans {
    font-family: var(--font-sans);
  }
  .text-accent {
    color: var(--accent);
  }
  .text-primary {
    color: var(--text-primary);
  }
  .lowercase {
    text-transform: lowercase;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .italic {
    font-style: italic;
  }
  .shadow-exactus-md {
    --tw-shadow: var(--shadow-md);
    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;
  }
}
:root {
  --midnight-950: #07090f;
  --midnight-900: #0b0f1a;
  --midnight-800: #131826;
  --midnight-700: #1e2435;
  --midnight-600: #2a3147;
  --midnight-500: #3d4663;
  --midnight-400: #5b6584;
  --midnight-300: #8089a6;
  --champagne-700: #8a6a3d;
  --champagne-600: #a8854f;
  --champagne-500: #c9a876;
  --champagne-400: #d9be92;
  --champagne-300: #e6d2ae;
  --champagne-200: #f0e2c8;
  --champagne-100: #f8eedd;
  --champagne-50: #fbf7ee;
  --pearl-50: #fafaf6;
  --pearl-100: #f4f2eb;
  --pearl-200: #e8e5da;
  --pearl-300: #d5d1c2;
  --pearl-400: #b6b2a2;
  --pearl-500: #888577;
  --pearl-700: #4a4940;
  --pearl-900: #1f1e1a;
  --success: #5c8a6e;
  --warning: #c9a03a;
  --danger: #a95460;
  --info: #5a7b9e;
  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --sidebar-width-expanded: 268px;
  --sidebar-width-collapsed: 72px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
[data-theme="dark"] {
  --bg-canvas: var(--midnight-950);
  --bg-surface: var(--midnight-900);
  --bg-elevated: var(--midnight-800);
  --bg-sidebar: #0a0e18;
  --bg-overlay: rgba(11, 15, 26, 0.85);
  --border-subtle: rgba(201, 168, 118, 0.1);
  --border-default: rgba(201, 168, 118, 0.18);
  --border-strong: rgba(201, 168, 118, 0.35);
  --text-primary: #f0e8d8;
  --text-secondary: #b8b1a0;
  --text-muted: var(--midnight-400);
  --text-accent: var(--champagne-400);
  --accent: var(--champagne-500);
  --accent-hover: var(--champagne-400);
  --accent-mute: rgba(201, 168, 118, 0.12);
  --accent-mute-strong: rgba(201, 168, 118, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 8px 24px rgba(201, 168, 118, 0.35);
}
[data-theme="light"] {
  --bg-canvas: var(--pearl-50);
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-sidebar: var(--pearl-100);
  --bg-overlay: rgba(250, 250, 246, 0.9);
  --border-subtle: rgba(31, 30, 26, 0.06);
  --border-default: rgba(31, 30, 26, 0.12);
  --border-strong: rgba(31, 30, 26, 0.22);
  --text-primary: var(--pearl-900);
  --text-secondary: var(--pearl-700);
  --text-muted: var(--pearl-500);
  --text-accent: var(--champagne-700);
  --accent: var(--champagne-600);
  --accent-hover: var(--champagne-700);
  --accent-mute: rgba(168, 133, 79, 0.1);
  --accent-mute-strong: rgba(168, 133, 79, 0.14);
  --shadow-sm: 0 1px 2px rgba(31, 30, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 30, 26, 0.08);
  --shadow-lg: 0 24px 56px rgba(31, 30, 26, 0.12);
  --shadow-accent: 0 8px 24px rgba(201, 168, 118, 0.35);
}
.shell {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(201, 168, 118, 0.1), transparent 36rem), var(--bg-canvas);
}
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  max-width: 1180px;
  margin: 0 auto;
  padding: var(--space-5) var(--space-6);
}
.topbar nav {
  display: flex;
  gap: var(--space-5);
}
.topbar nav a {
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
}
.hero {
  max-width: 960px;
  margin: 0 auto;
  padding: var(--space-8) var(--space-6);
}
.eyebrow {
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4rem, 4.5rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.05;
}
.lead {
  max-width: 680px;
  color: var(--text-secondary);
  font-size: 17px;
}
.module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--space-6) var(--space-7);
}
.module-card, .access-panel {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--bg-surface) 86%, transparent);
  }
  padding: var(--space-5);
}
.module-card span {
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
  text-transform: uppercase;
}
.module-card h2, .access-panel h2 {
  margin: var(--space-3) 0 var(--space-2);
  color: var(--text-primary);
  font-size: 20px;
  line-height: 1.3;
}
.module-card p, .access-panel p {
  margin: 0;
  color: var(--text-secondary);
}
.access-panel {
  max-width: 1180px;
  margin: 0 auto var(--space-8);
}
.exactus-button {
  min-height: 40px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: 0 var(--space-4);
  cursor: pointer;
}
.exactus-button-primary {
  background: var(--accent);
  color: var(--midnight-950);
}
.exactus-button-secondary {
  background: transparent;
  color: var(--text-primary);
}
@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .hero {
    padding-top: var(--space-6);
  }
}
.design-stack-page {
  min-height: 100vh;
  background: var(--bg-canvas);
  color: var(--text-primary);
}
[data-theme="dark"] .design-stack-page, [data-theme="dark"] .home-page, [data-theme="dark"] .auth-shell, [data-theme="dark"] .app-shell-page {
  --bg-canvas: var(--midnight-950);
  --bg-surface: var(--midnight-900);
  --bg-elevated: var(--midnight-800);
  --bg-sidebar: #0a0e18;
  --bg-overlay: rgba(11, 15, 26, 0.86);
  --border-subtle: rgba(201, 168, 118, 0.1);
  --border-default: rgba(201, 168, 118, 0.18);
  --border-strong: rgba(201, 168, 118, 0.35);
  --text-primary: #f0e8d8;
  --text-secondary: #b8b1a0;
  --text-muted: var(--midnight-400);
  --text-accent: var(--champagne-400);
  --accent: var(--champagne-500);
  --accent-hover: var(--champagne-400);
  --accent-mute: rgba(201, 168, 118, 0.12);
  --accent-mute-strong: rgba(201, 168, 118, 0.16);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 56px rgba(0, 0, 0, 0.45);
  --shadow-accent: 0 8px 24px rgba(201, 168, 118, 0.35);
}
[data-theme="light"] .design-stack-page, [data-theme="light"] .home-page, [data-theme="light"] .auth-shell, [data-theme="light"] .app-shell-page {
  --bg-canvas: var(--pearl-50);
  --bg-surface: #ffffff;
  --bg-elevated: #ffffff;
  --bg-sidebar: var(--pearl-100);
  --bg-overlay: rgba(250, 250, 246, 0.9);
  --border-subtle: rgba(31, 30, 26, 0.06);
  --border-default: rgba(31, 30, 26, 0.12);
  --border-strong: rgba(31, 30, 26, 0.22);
  --text-primary: var(--pearl-900);
  --text-secondary: var(--pearl-700);
  --text-muted: var(--pearl-500);
  --text-accent: var(--champagne-700);
  --accent: var(--champagne-600);
  --accent-hover: var(--champagne-700);
  --accent-mute: rgba(168, 133, 79, 0.1);
  --accent-mute-strong: rgba(168, 133, 79, 0.14);
  --shadow-sm: 0 1px 2px rgba(31, 30, 26, 0.06);
  --shadow-md: 0 8px 24px rgba(31, 30, 26, 0.08);
  --shadow-lg: 0 24px 56px rgba(31, 30, 26, 0.12);
  --shadow-accent: 0 8px 24px rgba(201, 168, 118, 0.35);
}
[data-theme="dark"] .auth-shell {
  --bg-overlay: rgba(11, 15, 26, 0.85);
  --border-subtle: rgba(201, 168, 118, 0.08);
  --border-default: rgba(201, 168, 118, 0.16);
  --text-muted: #6b7488;
  --accent-mute: rgba(201, 168, 118, 0.1);
}
[data-theme="light"] .auth-shell {
  --bg-overlay: rgba(250, 250, 246, 0.92);
  --border-default: rgba(31, 30, 26, 0.1);
  --accent-mute: rgba(168, 133, 79, 0.08);
}
.home-page {
  min-height: 100vh;
  background: var(--bg-canvas);
  color: var(--text-primary);
}
.home-hero {
  border-bottom: 1px solid var(--border-subtle);
}
.home-hero-content {
  text-align: center;
}
.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  justify-content: center;
  margin-top: var(--space-6);
}
.home-style-panel {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--bg-surface) 90%, transparent);
  }
  box-shadow: var(--shadow-md);
}
.home-section .ds-section-head {
  margin-bottom: var(--space-6);
}
.home-module-grid, .home-role-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.home-module-card h3 {
  margin: 0 0 var(--space-2);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
}
.home-module-meta {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}
.home-module-meta .ds-module-icon {
  margin-bottom: 0;
}
.home-role-card {
  min-height: 220px;
}
.home-role-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--accent-mute);
  color: var(--accent);
}
.home-role-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.25;
}
.home-capability-panel {
  display: grid;
  align-items: start;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  margin-top: var(--space-4);
}
.home-capability-panel h3, .home-style-panel h3 {
  margin: var(--space-2) 0 var(--space-3);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.2;
}
.home-capability-list {
  display: grid;
  gap: var(--space-2);
}
.home-capability-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
}
.home-capability-item svg {
  width: 16px;
  height: 16px;
  color: var(--text-accent);
  stroke-width: 1.5;
}
.home-style-panel {
  display: grid;
  align-items: center;
  gap: var(--space-6);
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  padding: var(--space-6);
}
.home-style-panel p:not(.ds-label) {
  margin: 0 0 var(--space-5);
  color: var(--text-secondary);
}
.home-token-list {
  display: grid;
  gap: var(--space-2);
}
.home-token {
  display: flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 0 var(--space-3);
}
.home-footer {
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: var(--space-7) 0;
  text-align: center;
}
.ds-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}
.ds-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-overlay);
  backdrop-filter: blur(16px) saturate(1.2);
}
.ds-topbar-inner {
  display: flex;
  align-items: center;
  gap: var(--space-5);
  justify-content: space-between;
  max-width: 1240px;
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
}
.ds-logo {
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  text-decoration: none;
}
.exactus-brand-logo {
  display: inline-block;
  flex: 0 0 auto;
  height: 40px;
  line-height: 0;
  overflow: hidden;
  vertical-align: middle;
  width: 146px;
}
.exactus-brand-logo.sm {
  height: 28px;
}
.exactus-brand-logo.md {
  height: 40px;
}
.exactus-brand-logo.lg {
  height: 60px;
}
.exactus-brand-logo.lockup.sm {
  width: 102px;
}
.exactus-brand-logo.lockup.md {
  width: 146px;
}
.exactus-brand-logo.lockup.lg {
  width: 219px;
}
.exactus-brand-logo.mark.sm {
  width: 28px;
}
.exactus-brand-logo.mark.md {
  width: 40px;
}
.exactus-brand-logo.mark.lg {
  width: 60px;
}
.exactus-brand-logo.wordmark.sm {
  width: 72px;
}
.exactus-brand-logo.wordmark.md {
  width: 102px;
}
.exactus-brand-logo.wordmark.lg {
  width: 153px;
}
.exactus-brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.exactus-brand-logo.mark .exactus-brand-logo-image, .exactus-brand-logo.wordmark .exactus-brand-logo-image {
  width: auto;
  max-width: none;
  object-fit: initial;
}
.exactus-brand-logo.wordmark .exactus-brand-logo-image {
  transform: translateX(-30.1%);
}
.ds-nav {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}
.ds-nav a {
  color: var(--text-secondary);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.25s var(--ease-out);
}
.ds-nav a:hover {
  color: var(--text-accent);
}
.ds-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
}
.ds-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 36px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0 var(--space-4);
}
.ds-theme-toggle svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.5;
}
.ds-hero {
  background: radial-gradient(circle at top, var(--accent-mute), transparent 34rem), var(--bg-canvas);
  padding: var(--space-9) 0;
}
.ds-hero-content {
  text-align: center;
}
.ds-eyebrow, .ds-section-num, .ds-label {
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}
.ds-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--accent-mute);
  padding: 6px 14px;
}
.ds-eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  content: "";
}
.ds-hero h1 {
  max-width: 860px;
  margin: var(--space-5) auto 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.8rem, 4.8rem);
  font-weight: 400;
  line-height: 1.05;
}
.ds-hero h1 span {
  color: var(--text-accent);
  font-style: italic;
}
.ds-tagline {
  max-width: 680px;
  margin: var(--space-5) auto 0;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.5;
}
.ds-section {
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-9) 0;
}
.ds-section-head {
  display: flex;
  justify-content: space-between;
  gap: var(--space-6);
  margin-bottom: var(--space-7);
}
.ds-section-head > div {
  max-width: 640px;
}
.ds-section-head h2 {
  margin: var(--space-2) 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 2.6rem, 2.6rem);
  font-weight: 400;
  line-height: 1.15;
}
.ds-section-head p:not(.ds-section-num) {
  margin: 0;
  color: var(--text-secondary);
}
.ds-panel, .ds-logo-card, .ds-icon-tile, .ds-module-card, .ds-rule {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--bg-surface) 92%, transparent);
  }
  box-shadow: var(--shadow-sm);
}
.ds-logo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--space-4);
}
.ds-logo-card {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  padding: var(--space-7) var(--space-6);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.ds-logo-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}
.ds-logo-card .ds-label {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  color: var(--text-muted);
}
.ds-logo-card.inverted {
  background: var(--midnight-950);
}
.ds-logo-card.gold {
  background: linear-gradient(135deg, var(--champagne-200), var(--champagne-100));
}
[data-theme="dark"] .design-stack-page .ds-logo-card.gold {
  background: linear-gradient(135deg, var(--midnight-800), var(--midnight-700));
}
.ds-palette-groups {
  display: grid;
  gap: var(--space-6);
}
.ds-palette-group h3, .ds-panel h3, .ds-subhead, .ds-rule h3 {
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
.ds-palette-group h3 {
  display: flex;
  align-items: baseline;
  gap: var(--space-3);
}
.ds-palette-group h3::after {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  content: "";
}
.ds-palette-group h3 span {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
}
.ds-swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
}
.ds-swatch {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}
.ds-chip {
  display: block;
  height: 88px;
}
.ds-swatch-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding: 10px 12px;
}
.ds-swatch-meta strong {
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 600;
}
.ds-swatch-meta code {
  background: transparent;
  color: var(--text-muted);
  font-size: 10.5px;
  padding: 0;
}
.ds-type-grid, .ds-ui-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-4);
}
.ds-panel {
  padding: var(--space-6);
}
.ds-type-card h3 {
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}
.ds-type-sample {
  margin: var(--space-4) 0;
  color: var(--text-primary);
}
.ds-type-sample.display {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.2rem, 3.2rem);
  font-style: italic;
  line-height: 1.05;
}
.ds-type-sample.serif {
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.3;
}
.ds-type-sample.sans {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
.ds-type-sample.mono {
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 0.95rem;
}
.ds-pill-row, .ds-badge-row, .ds-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.ds-pill, .ds-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 0 10px;
}
.ds-badge.success {
  border-color: rgba(92, 138, 110, 0.4);
  background: rgba(92, 138, 110, 0.08);
  color: var(--success);
}
.ds-badge.warning {
  border-color: rgba(201, 160, 58, 0.4);
  background: rgba(201, 160, 58, 0.08);
  color: var(--warning);
}
.ds-badge.danger {
  border-color: rgba(169, 84, 96, 0.4);
  background: rgba(169, 84, 96, 0.08);
  color: var(--danger);
}
.ds-badge.info {
  border-color: rgba(90, 123, 158, 0.4);
  background: rgba(90, 123, 158, 0.08);
  color: var(--info);
}
.ds-badge.accent {
  border-color: var(--border-strong);
  background: var(--accent-mute);
  color: var(--text-accent);
}
.ds-scale {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-6);
}
.ds-scale-row {
  display: grid;
  grid-template-columns: 90px 90px 1fr;
  align-items: baseline;
  gap: var(--space-4);
  border-bottom: 1px dashed var(--border-subtle);
  padding: var(--space-3) 0;
}
.ds-scale-row code {
  background: transparent;
  color: var(--text-muted);
  padding: 0;
}
.ds-preview-display, .ds-preview-h1, .ds-preview-h2 {
  color: var(--text-primary);
  font-family: var(--font-display);
  line-height: 1.1;
}
.ds-preview-display {
  font-size: 3.4rem;
}
.ds-preview-h1 {
  font-size: 2.8rem;
}
.ds-preview-h2 {
  font-size: 2rem;
}
.ds-preview-h3 {
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1.4rem;
  font-weight: 600;
}
.ds-preview-body {
  color: var(--text-secondary);
  font-family: var(--font-sans);
}
.ds-preview-caption {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.78rem;
}
.ds-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: var(--space-3);
  margin-top: var(--space-5);
}
.ds-icon-tile {
  display: flex;
  aspect-ratio: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--text-muted);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.ds-icon-tile:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ds-icon-tile svg {
  width: 28px;
  height: 28px;
  color: var(--text-secondary);
  stroke-width: 1.25;
}
.ds-icon-tile:hover svg {
  color: var(--accent);
}
.ds-icon-tile span {
  font-family: var(--font-mono);
  font-size: 11px;
}
.ds-button-row {
  margin-bottom: var(--space-4);
}
.ds-button-row.compact .ds-button {
  min-height: 34px;
  padding: 0 14px;
  font-size: 12px;
}
.ds-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-weight: 500;
  padding: 0 20px;
  text-decoration: none;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.ds-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}
.ds-button.primary {
  background: var(--accent);
  color: var(--midnight-950);
}
.ds-button.secondary {
  border-color: var(--border-strong);
  background: transparent;
  color: var(--text-primary);
}
.ds-button.ghost {
  background: transparent;
  color: var(--text-secondary);
}
.ds-button:hover {
  transform: translateY(-1px);
}
.ds-button.secondary:hover, .ds-button.ghost:hover {
  border-color: var(--accent);
  background: var(--accent-mute);
  color: var(--text-accent);
}
.ds-field {
  display: grid;
  gap: 6px;
  margin-bottom: var(--space-4);
}
.ds-field span {
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}
.ds-field input, .ds-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  color: var(--text-primary);
  outline: none;
  padding: 0 14px;
}
.ds-field input:focus, .ds-field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.ds-check-row {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
  color: var(--text-secondary);
  font-size: 13px;
}
.ds-check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.ds-panel blockquote {
  margin: 0 0 var(--space-4);
  color: var(--text-primary);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.4;
}
.ds-panel p {
  margin: 0;
  color: var(--text-secondary);
}
.ds-subhead {
  margin-top: var(--space-7);
}
.ds-module-grid, .ds-principles, .ds-rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-4);
}
.ds-module-card {
  position: relative;
  overflow: hidden;
  padding: var(--space-5);
  transition: border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.ds-module-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ds-module-icon {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--accent-mute);
  color: var(--accent);
}
.ds-module-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.25;
}
.ds-module-card h4 {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
}
.ds-module-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}
.ds-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--space-4);
  color: var(--success);
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
}
.ds-status::before {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: currentcolor;
  content: "";
}
.ds-module-card.inactive .ds-module-icon {
  background: var(--border-subtle);
  color: var(--text-muted);
}
.ds-module-card.inactive .ds-status {
  color: var(--text-muted);
}
.ds-app-shell {
  display: grid;
  overflow: hidden;
  min-height: 720px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-canvas);
  box-shadow: var(--shadow-md);
  grid-template-columns: var(--sidebar-width-expanded) minmax(0, 1fr);
  transition: grid-template-columns 0.45s var(--ease-out);
}
.ds-app-shell.collapsed {
  grid-template-columns: var(--sidebar-width-collapsed) minmax(0, 1fr);
}
.ds-sidebar {
  position: relative;
  display: flex;
  overflow: visible;
  min-height: 0;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  background: var(--bg-sidebar);
  z-index: 20;
}
.ds-sidebar::before {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top right, var(--accent-mute), transparent 62%);
  content: "";
  opacity: 0.42;
  overflow: hidden;
  pointer-events: none;
}
.ds-sidebar-header {
  position: relative;
  z-index: 2;
  display: flex;
  height: 72px;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 var(--space-5);
}
.ds-sidebar-logo {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  color: var(--text-primary);
  text-decoration: none;
}
.ds-sidebar-collapse {
  position: absolute;
  top: 50%;
  right: -13px;
  z-index: 60;
  display: inline-flex;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  color: var(--text-secondary);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.ds-sidebar-collapse:hover, .ds-sidebar-collapse:focus-visible {
  border-color: var(--accent);
  background: var(--bg-surface);
  box-shadow: 0 0 0 4px var(--accent-mute), 0 2px 10px rgba(0, 0, 0, 0.4);
  color: var(--text-accent);
  outline: none;
}
.ds-sidebar-collapse svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.8;
  transition: transform 0.4s var(--ease-out);
}
.ds-app-shell.collapsed .ds-sidebar-collapse svg {
  transform: rotate(180deg);
}
.ds-sidebar-body {
  position: relative;
  z-index: 2;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: var(--space-5) 0;
}
.ds-app-shell.collapsed .ds-sidebar-body {
  overflow: visible;
}
.ds-sidebar-body::-webkit-scrollbar {
  width: 4px;
}
.ds-sidebar-body::-webkit-scrollbar-track {
  background: transparent;
}
.ds-sidebar-body::-webkit-scrollbar-thumb {
  border-radius: var(--radius-xs);
  background: var(--border-default);
}
.ds-sidebar-section {
  min-inline-size: 0;
  margin: 0;
  border: 0;
  padding: 0 var(--space-4) var(--space-3);
}
.ds-sidebar-section + .ds-sidebar-section {
  margin-top: var(--space-5);
}
.ds-sidebar-section-label {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  padding: 0 var(--space-3) var(--space-3);
  text-transform: uppercase;
  transition: height 0.3s var(--ease-out), opacity 0.3s var(--ease-out), padding 0.3s var(--ease-out);
}
.ds-app-shell.collapsed .ds-sidebar-section-label {
  overflow: hidden;
  height: 0;
  opacity: 0;
  padding: 0;
}
.ds-app-shell.collapsed .ds-sidebar-section {
  padding-bottom: var(--space-2);
}
.ds-app-shell.collapsed .ds-sidebar-section + .ds-sidebar-section {
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--space-3);
  padding-top: var(--space-3);
}
.ds-sidebar-item {
  position: relative;
  display: flex;
  overflow: hidden;
  min-height: 40px;
  align-items: center;
  gap: 14px;
  margin-bottom: 2px;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 12px;
  text-decoration: none;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
  white-space: nowrap;
}
.ds-sidebar-item:hover, .ds-sidebar-item:focus-visible {
  background: var(--accent-mute);
  color: var(--text-primary);
  outline: none;
}
.ds-sidebar-item:focus-visible {
  box-shadow: 0 0 0 2px var(--accent);
}
.ds-sidebar-item svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  stroke-width: 1.4;
}
.ds-sidebar-item-label {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.25s var(--ease-out);
}
.ds-sidebar-badge {
  flex: 0 0 auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--accent-mute-strong);
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.2;
  padding: 2px 7px;
  transition: opacity 0.25s var(--ease-out);
}
.ds-sidebar-badge.alert {
  border-color: rgba(169, 84, 96, 0.3);
  background: rgba(169, 84, 96, 0.12);
  color: var(--danger);
}
.ds-sidebar-item.active {
  background: var(--accent-mute-strong);
  color: var(--text-accent);
}
.ds-sidebar-item.active::before {
  position: absolute;
  top: 50%;
  left: -16px;
  width: 2px;
  height: 22px;
  border-radius: 0 2px 2px 0;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  content: "";
  transform: translateY(-50%);
}
.ds-sidebar-item.active svg {
  color: var(--accent);
}
.ds-sidebar-item.inactive {
  color: var(--text-muted);
  opacity: 0.55;
}
.ds-sidebar-item.inactive::after {
  margin-left: auto;
  color: var(--text-muted);
  content: "○";
  font-size: 8px;
  opacity: 0.5;
}
.ds-sidebar-tooltip {
  display: none;
}
.ds-app-shell.collapsed .ds-sidebar-item {
  overflow: visible;
  gap: 0;
  justify-content: center;
  padding: 12px 0;
}
.ds-app-shell.collapsed .ds-sidebar-section {
  padding-left: var(--space-2);
  padding-right: var(--space-2);
}
.ds-app-shell.collapsed .ds-sidebar-item.active::before {
  left: -12px;
}
.ds-app-shell.collapsed .ds-sidebar-item-label, .ds-app-shell.collapsed .ds-sidebar-badge, .ds-app-shell.collapsed .ds-sidebar-item.inactive::after {
  display: none;
  pointer-events: none;
}
.ds-app-shell.collapsed .ds-sidebar-item:hover .ds-sidebar-tooltip, .ds-app-shell.collapsed .ds-sidebar-item:focus-visible .ds-sidebar-tooltip {
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  z-index: 100;
  display: block;
  border-radius: var(--radius-sm);
  background: var(--midnight-800);
  box-shadow: var(--shadow-md);
  color: var(--champagne-100);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  pointer-events: none;
  transform: translateY(-50%);
}
.ds-app-shell.collapsed .ds-sidebar-item:hover .ds-sidebar-tooltip::before, .ds-app-shell.collapsed .ds-sidebar-item:focus-visible .ds-sidebar-tooltip::before {
  position: absolute;
  top: 50%;
  left: -5px;
  border: 5px solid transparent;
  border-right-color: var(--midnight-800);
  border-left: 0;
  content: "";
  transform: translateY(-50%);
}
.ds-sidebar-footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4);
}
.ds-user-card {
  display: flex;
  width: 100%;
  align-items: center;
  gap: var(--space-3);
  border: 0;
  border-radius: var(--radius-md);
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 10px;
  text-align: left;
  transition: background-color 0.3s var(--ease-out);
}
.ds-user-card:hover, .ds-user-card:focus-visible {
  background: var(--accent-mute);
  outline: none;
}
.ds-user-card.active {
  background: var(--accent-mute-strong);
}
.ds-user-avatar {
  display: inline-flex;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--champagne-600), var(--champagne-400));
  color: var(--midnight-950);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
}
.ds-user-info {
  display: grid;
  min-width: 0;
  flex: 1;
  transition: opacity 0.25s var(--ease-out);
}
.ds-user-name {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ds-user-role {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  margin-top: 2px;
  text-transform: uppercase;
}
.ds-user-more {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  stroke-width: 1.5;
  transition: opacity 0.25s var(--ease-out);
}
.ds-app-shell.collapsed .ds-user-info, .ds-app-shell.collapsed .ds-user-more {
  display: none;
}
.ds-app-shell.collapsed .ds-user-card {
  gap: 0;
  justify-content: center;
  padding: 6px;
}
.ds-app-shell.collapsed .ds-user-avatar {
  flex-basis: 34px;
  width: 34px;
  height: 34px;
  font-size: 13px;
}
.ds-app-shell.collapsed .ds-sidebar-footer {
  padding: var(--space-3) var(--space-2);
}
.ds-app-shell.collapsed .ds-sidebar-header {
  justify-content: center;
  padding: 0;
}
.ds-app-shell.collapsed .ds-sidebar-logo {
  gap: 0;
  justify-content: center;
}
.ds-app-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  background: var(--bg-canvas);
}
.ds-app-topbar {
  display: flex;
  min-height: 72px;
  align-items: center;
  gap: var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-overlay);
  backdrop-filter: blur(16px) saturate(1.4);
  padding: 0 var(--space-6);
}
.ds-breadcrumb {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-size: 13px;
}
.ds-breadcrumb .sep {
  color: var(--border-strong);
  font-family: var(--font-mono);
}
.ds-breadcrumb .current {
  color: var(--text-primary);
  font-weight: 500;
}
.ds-app-search {
  position: relative;
  flex: 1;
  max-width: 480px;
  margin: 0 auto;
}
.ds-app-search input {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  padding: 0 62px 0 40px;
}
.ds-app-search input::placeholder {
  color: var(--text-muted);
}
.ds-app-search svg {
  position: absolute;
  top: 50%;
  left: 14px;
  width: 16px;
  height: 16px;
  color: var(--text-muted);
  stroke-width: 1.5;
  transform: translateY(-50%);
}
.ds-app-search kbd {
  position: absolute;
  top: 50%;
  right: 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-xs);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 2px 6px;
  transform: translateY(-50%);
}
.ds-app-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-3);
}
.ds-icon-button {
  position: relative;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.ds-icon-button:hover, .ds-icon-button:focus-visible {
  border-color: var(--accent);
  background: var(--accent-mute);
  color: var(--text-accent);
  outline: none;
}
.ds-icon-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.5;
}
.ds-icon-button.logout-icon:hover, .ds-icon-button.logout-icon:focus-visible {
  border-color: rgba(169, 84, 96, 0.55);
  background: rgba(169, 84, 96, 0.1);
  color: var(--danger);
}
.ds-icon-button.logout-icon svg {
  transition: transform 0.25s var(--ease-out);
}
.ds-icon-button.logout-icon:hover svg, .ds-icon-button.logout-icon:focus-visible svg {
  transform: translateX(1px);
}
.ds-icon-button .dot {
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--bg-overlay);
  border-radius: var(--radius-full);
  background: var(--danger);
  box-shadow: 0 0 6px var(--danger);
}
.ds-app-content {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-7) var(--space-6);
}
.ds-page-header {
  max-width: 620px;
  margin-bottom: var(--space-6);
}
.ds-page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0 0 var(--space-3);
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  text-transform: uppercase;
}
.ds-page-eyebrow::before {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  content: "";
}
.ds-page-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
}
.ds-page-header h3 em {
  color: var(--text-accent);
  font-style: italic;
}
.ds-page-header p:not(.ds-page-eyebrow) {
  max-width: 540px;
  margin: var(--space-3) 0 0;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
}
.ds-stat-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.ds-stat-card {
  display: grid;
  gap: var(--space-3);
  min-height: 150px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  padding: var(--space-5);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.ds-stat-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.ds-stat-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  text-transform: uppercase;
}
.ds-stat-card strong {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}
.ds-stat-trend {
  color: var(--success);
  font-size: 12px;
  font-weight: 500;
}
.ds-stat-trend.down {
  color: var(--danger);
}
.ds-sidebar-token-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-5);
}
.ds-sidebar-token-row code {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  color: var(--text-accent);
  font-size: 11px;
  padding: 6px 10px;
}
.app-shell-page {
  overflow: hidden;
  height: 100vh;
  background: var(--bg-canvas);
  color: var(--text-primary);
}
.app-shell-page .ds-app-shell {
  height: 100vh;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.app-shell-page .ds-app-main, .app-shell-page .ds-app-content {
  min-height: 0;
}
.app-shell-page .ds-app-content {
  padding: 0;
}
.app-lang-switcher {
  position: relative;
}
.app-lang-trigger {
  display: inline-flex;
  height: 38px;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 0 12px;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.app-lang-trigger:hover, .app-lang-trigger:focus-visible, .app-lang-switcher.open .app-lang-trigger {
  border-color: var(--accent);
  background: var(--accent-mute);
  color: var(--text-accent);
  outline: none;
}
.app-lang-trigger svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}
.app-lang-trigger span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
}
.app-lang-trigger svg:last-child {
  width: 10px;
  height: 10px;
  opacity: 0.65;
  transition: transform 0.25s var(--ease-out);
}
.app-lang-switcher.open .app-lang-trigger svg:last-child {
  transform: rotate(180deg);
}
.app-lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 100;
  min-width: 200px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  opacity: 0;
  padding: 6px;
  transform: translateY(-4px);
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s var(--ease-out);
  visibility: hidden;
}
.app-lang-switcher.open .app-lang-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}
.app-lang-menu-label {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  padding: 8px 12px 4px;
  text-transform: uppercase;
}
.app-lang-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  padding: 9px 12px;
  text-decoration: none;
}
.app-lang-option:hover, .app-lang-option:focus-visible {
  background: var(--accent-mute);
  color: var(--text-primary);
  outline: none;
}
.app-lang-option.active {
  background: var(--accent-mute-strong);
  color: var(--text-accent);
}
.app-lang-option span {
  width: 24px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
}
.app-lang-option strong {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}
.admin-app-content {
  overflow: hidden;
}
.dashboard-view {
  height: 100%;
  overflow-y: auto;
  padding: var(--space-6);
}
.dashboard-content {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}
.dashboard-header {
  max-width: 620px;
  margin-bottom: var(--space-6);
}
.dashboard-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.4;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}
.dashboard-eyebrow::before {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  content: "";
}
.dashboard-header h1 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
}
.dashboard-header h1 em {
  color: var(--text-accent);
  font-style: italic;
}
.dashboard-header p {
  max-width: 540px;
  margin: var(--space-3) 0 0;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.45;
}
.dashboard-stats {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: var(--space-6);
}
.dashboard-stat-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  padding: var(--space-5);
  transition: border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.dashboard-stat-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.dashboard-stat-card .label {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  margin-bottom: var(--space-3);
  text-transform: uppercase;
}
.dashboard-stat-card strong {
  display: block;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 400;
  line-height: 1;
}
.dashboard-stat-card .trend {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--success);
  font-size: 12px;
  font-weight: 500;
  margin-top: var(--space-3);
}
.dashboard-stat-card .trend.down {
  color: var(--danger);
}
.dashboard-stat-card .trend svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}
.dashboard-grid {
  display: grid;
  gap: var(--space-5);
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 1fr);
}
.dashboard-panel {
  min-width: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  padding: var(--space-5);
}
.dashboard-panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
}
.dashboard-panel-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: uppercase;
}
.dashboard-panel-header a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-accent);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
}
.dashboard-panel-header a svg {
  width: 12px;
  height: 12px;
  stroke-width: 1.8;
}
.dashboard-table-wrap {
  overflow-x: auto;
}
.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.dashboard-table th {
  border-bottom: 1px solid var(--border-default);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  padding: 10px 12px;
  text-align: left;
  text-transform: uppercase;
}
.dashboard-table td {
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  padding: 14px 12px;
}
.dashboard-table tr:last-child td {
  border-bottom: 0;
}
.dashboard-table tr:hover td {
  background: var(--accent-mute);
}
.dashboard-table td.primary {
  color: var(--text-primary);
  font-weight: 500;
}
.dashboard-table .mono {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
}
.dashboard-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  padding: 3px 9px;
  text-transform: uppercase;
  white-space: nowrap;
}
.dashboard-pill::before {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: currentColor;
  content: "";
}
.dashboard-pill.success {
  border-color: rgba(92, 138, 110, 0.4);
  background: rgba(92, 138, 110, 0.08);
  color: var(--success);
}
.dashboard-pill.warning {
  border-color: rgba(201, 160, 58, 0.4);
  background: rgba(201, 160, 58, 0.08);
  color: var(--warning);
}
.dashboard-pill.info {
  border-color: rgba(90, 123, 158, 0.4);
  background: rgba(90, 123, 158, 0.08);
  color: var(--info);
}
.dashboard-activity {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.dashboard-activity-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border-radius: var(--radius-md);
  padding: 10px;
  transition: background-color 0.3s var(--ease-out);
}
.dashboard-activity-item:hover {
  background: var(--accent-mute);
}
.dashboard-activity-item .activity-icon {
  display: inline-flex;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-mute);
  color: var(--accent);
}
.dashboard-activity-item .activity-icon svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}
.dashboard-activity-item .activity-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.dashboard-activity-item .title {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.dashboard-activity-item .meta {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.4;
  margin-top: 3px;
  text-transform: uppercase;
}
.admin-workspace {
  height: 100%;
  overflow: hidden;
  padding: var(--space-6);
}
.task-admin-page {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 1200px;
  flex-direction: column;
  margin: 0 auto;
}
.task-admin-header {
  max-width: 680px;
  margin-bottom: var(--space-5);
}
.task-admin-header h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
}
.task-admin-header h2 em {
  color: var(--text-accent);
  font-style: italic;
}
.task-admin-header p {
  max-width: 560px;
  margin: var(--space-3) 0 0;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.45;
}
.task-admin-form {
  display: grid;
  align-items: end;
  gap: var(--space-3);
  grid-template-columns: minmax(0, 1fr) auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
}
.task-admin-form .admin-field {
  margin-bottom: 0;
}
.task-board {
  display: grid;
  min-height: 0;
  flex: 1;
  gap: var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.task-column {
  display: flex;
  min-height: 0;
  flex-direction: column;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  overflow: hidden;
}
.task-column-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4);
}
.task-column-icon {
  display: inline-flex;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-mute);
  color: var(--accent);
}
.task-column-icon.done {
  background: rgba(92, 138, 110, 0.12);
  color: var(--success);
}
.task-column-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}
.task-column-header h3 {
  flex: 1;
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-transform: uppercase;
}
.task-count {
  display: inline-flex;
  min-width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 11px;
}
.task-list {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: var(--space-2);
  overflow-y: auto;
  padding: var(--space-3);
}
.task-check-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  color: var(--text-primary);
  cursor: pointer;
  font-size: 13.5px;
  line-height: 1.4;
  padding: 13px 14px;
  transition: background-color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.task-check-item:hover {
  border-color: var(--border-strong);
  background: var(--accent-mute);
}
.task-check-item input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--accent);
}
.task-check-item.done {
  color: var(--text-secondary);
}
.task-check-item.done span {
  text-decoration: line-through;
  text-decoration-color: var(--text-muted);
  text-decoration-thickness: 1px;
}
.task-empty {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  padding: var(--space-5);
  text-align: center;
}
.task-empty svg {
  width: 28px;
  height: 28px;
  color: var(--text-accent);
  stroke-width: 1.5;
}
.tm-workspace {
  box-sizing: border-box;
  height: 100%;
  overflow-y: auto;
  padding: var(--space-6) var(--space-7);
}
.tm-page {
  display: flex;
  max-width: 880px;
  flex-direction: column;
  gap: var(--space-6);
  margin: 0 auto;
}
.tm-page-header {
  display: flex;
  align-items: flex-start;
  gap: var(--space-5);
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: var(--space-5);
}
.tm-title-block {
  flex: 1;
}
.tm-title-block h1 {
  margin: 0 0 6px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: 0;
}
.tm-title-block p {
  max-width: 520px;
  margin: 0;
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.5;
}
.tm-btn-primary {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--midnight-950);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 14px;
  transition: all 0.3s var(--ease-out);
}
.tm-btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 16px rgba(201, 168, 118, 0.3);
  transform: translateY(-1px);
}
.tm-btn-primary svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.tm-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.tm-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 0;
}
.tm-section-head h2, .tm-section-title {
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.tm-section-count {
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 1px 8px;
}
.tm-section-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
}
.tm-dot-open {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.tm-dot-done {
  background: var(--success);
  box-shadow: 0 0 8px rgba(92, 138, 110, 0.4);
}
.tm-section-chevron {
  width: 16px;
  height: 16px;
  margin-left: auto;
  color: var(--text-muted);
  transition: transform 0.3s var(--ease-out);
}
.tm-collapsible {
  cursor: pointer;
  user-select: none;
}
.tm-collapsible:hover h2, .tm-collapsible:hover .tm-section-title {
  color: var(--text-primary);
}
.tm-section-done.collapsed .tm-section-chevron {
  transform: rotate(-90deg);
}
.tm-section-done.collapsed .tm-list {
  display: none;
}
.tm-empty {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  color: var(--text-muted);
  padding: var(--space-6) var(--space-5);
}
.tm-empty svg {
  width: 28px;
  height: 28px;
  color: var(--text-muted);
  opacity: 0.6;
}
.tm-empty p {
  margin: 0;
  font-size: 13px;
}
.tm-empty.show {
  display: flex;
}
.tm-sync-message {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.4;
  margin: calc(var(--space-3) * -1) 0 0;
  padding: 9px 12px;
}
.tm-sync-message.error {
  border-color: rgba(169, 84, 96, 0.35);
  background: rgba(169, 84, 96, 0.08);
  color: var(--danger);
}
.tm-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.tm-item {
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  transition: border-color 0.25s var(--ease-out), background 0.3s var(--ease-out);
}
.tm-item:hover {
  border-color: var(--accent);
}
.tm-item.is-done {
  background: rgba(11, 17, 24, 0.4);
}
.tm-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
}
.tm-row > input[type="checkbox"] {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 6px;
  appearance: none;
  background: var(--bg-canvas);
  cursor: pointer;
  margin: 0;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.tm-row > input[type="checkbox"]:hover {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.tm-row > input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.tm-row > input[type="checkbox"]:checked::after {
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid var(--bg-deep);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}
.tm-row .tm-title {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  outline: none;
  padding: 4px 0;
  transition: color 0.3s var(--ease-out);
}
.tm-row .tm-title::placeholder {
  color: var(--text-muted);
  font-style: italic;
}
.tm-row .tm-title:focus {
  color: var(--accent);
}
.tm-item.is-done .tm-title {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--accent-soft);
}
.tm-item.is-done:hover .tm-title {
  color: var(--text-secondary);
}
.tm-progress {
  flex-shrink: 0;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
}
.tm-progress.complete {
  border-color: rgba(92, 138, 110, 0.35);
  background: rgba(92, 138, 110, 0.1);
  color: var(--success);
}
.tm-expand, .tm-remove {
  display: flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.tm-expand:hover {
  background: var(--accent-mute);
  color: var(--text-accent);
}
.tm-expand svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out);
}
.tm-item.expanded .tm-expand svg {
  transform: rotate(180deg);
}
.tm-remove {
  opacity: 0;
  transition: opacity 0.25s var(--ease-out), color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.tm-item:hover .tm-remove {
  opacity: 1;
}
.tm-remove:hover {
  background: rgba(169, 84, 96, 0.08);
  color: var(--danger);
}
.tm-remove svg {
  width: 14px;
  height: 14px;
}
.tm-detail {
  overflow: hidden;
  max-height: 0;
  border-top: 1px solid transparent;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}
.tm-item.expanded .tm-detail {
  max-height: 1200px;
  border-top-color: var(--border-subtle);
  opacity: 1;
}
.tm-detail-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-4) var(--space-5);
}
.tm-desc {
  box-sizing: border-box;
  width: 100%;
  min-height: 60px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  color: var(--text-primary);
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  outline: none;
  padding: 10px 12px;
  resize: vertical;
  transition: border-color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.tm-desc:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.tm-desc::placeholder {
  color: var(--text-muted);
  font-style: italic;
}
.tm-subtasks {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tm-subtasks-head {
  display: flex;
  align-items: center;
  margin-bottom: 2px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.tm-sub-row {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background: var(--bg-elevated);
  padding: 8px 10px;
  transition: border-color 0.2s var(--ease-out);
}
.tm-sub-row:hover {
  border-color: var(--border-strong);
}
.tm-sub-row input[type="checkbox"] {
  position: relative;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 4px;
  appearance: none;
  background: var(--bg-canvas);
  cursor: pointer;
  margin: 0;
  transition: border-color 0.2s var(--ease-out), background-color 0.2s var(--ease-out);
}
.tm-sub-row input[type="checkbox"]:hover {
  border-color: var(--accent);
}
.tm-sub-row input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.tm-sub-row input[type="checkbox"]:checked::after {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 4px;
  height: 8px;
  border: solid var(--bg-deep);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}
.tm-sub-title {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--text-primary);
  font: inherit;
  font-size: 13px;
  line-height: 1.35;
  outline: none;
  padding: 2px 0;
}
.tm-sub-title::placeholder {
  color: var(--text-muted);
  font-style: italic;
}
.tm-sub-row.done .tm-sub-title {
  color: var(--text-muted);
  text-decoration: line-through;
  text-decoration-color: var(--accent-soft);
}
.tm-sub-remove {
  display: flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s var(--ease-out), color 0.2s var(--ease-out), background 0.2s var(--ease-out);
}
.tm-sub-row:hover .tm-sub-remove {
  opacity: 1;
}
.tm-sub-remove:hover {
  background: rgba(169, 84, 96, 0.08);
  color: var(--danger);
}
.tm-sub-remove svg {
  width: 12px;
  height: 12px;
}
.tm-add-sub {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 6px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font: inherit;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 12px;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}
.tm-add-sub:hover {
  border-color: var(--accent);
  background: var(--accent-mute);
  color: var(--text-accent);
}
.tm-add-sub svg {
  width: 13px;
  height: 13px;
}
.exc-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-5);
  background: rgba(7, 11, 17, 0.78);
  backdrop-filter: blur(8px) saturate(1.2);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out), visibility 0s linear 0.25s;
  visibility: hidden;
  -webkit-backdrop-filter: blur(8px) saturate(1.2);
  width: 100%;
  max-width: none;
  height: 100%;
  border: 0;
  margin: 0;
}
.exc-modal-backdrop.show {
  opacity: 1;
  transition: opacity 0.25s var(--ease-out), visibility 0s;
  visibility: visible;
}
.exc-modal {
  width: 100%;
  max-width: 440px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(201, 168, 118, 0.1);
  opacity: 0;
  padding: var(--space-6) var(--space-6) var(--space-5);
  text-align: center;
  transform: translateY(8px) scale(0.96);
  transition: transform 0.35s var(--ease-out), opacity 0.25s var(--ease-out);
}
.exc-modal-backdrop.show .exc-modal {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.exc-modal-icon {
  display: flex;
  width: 56px;
  height: 56px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(201, 168, 118, 0.25);
  border-radius: 50%;
  margin: 0 auto var(--space-4);
  background: var(--accent-mute);
  color: var(--accent);
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.exc-modal-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentcolor;
}
.exc-modal.danger .exc-modal-icon {
  border-color: rgba(169, 84, 96, 0.32);
  background: rgba(169, 84, 96, 0.14);
  color: var(--danger);
}
.exc-modal-title {
  margin: 0 0 10px;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.exc-modal-message {
  margin: 0 0 var(--space-5);
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}
.exc-modal-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.exc-modal-btn {
  display: inline-flex;
  flex: 1;
  max-width: 180px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 18px;
  transition: all 0.25s var(--ease-out);
}
.exc-modal-cancel {
  border: 1px solid var(--border-default);
  background: transparent;
  color: var(--text-secondary);
}
.exc-modal-cancel:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated);
  color: var(--text-primary);
}
.exc-modal-confirm {
  border: none;
  background: var(--accent);
  color: var(--midnight-950);
}
.exc-modal-confirm:hover {
  background: var(--accent-hover);
  box-shadow: 0 6px 16px rgba(201, 168, 118, 0.3);
  transform: translateY(-1px);
}
.exc-modal.danger .exc-modal-confirm {
  background: var(--danger);
  color: var(--bg-deep);
}
.exc-modal.danger .exc-modal-confirm:hover {
  background: var(--danger);
  box-shadow: 0 6px 16px rgba(169, 84, 96, 0.35);
  filter: brightness(1.12);
}
.exc-modal.alert .exc-modal-cancel {
  display: none;
}
.exc-modal.alert .exc-modal-confirm {
  max-width: 220px;
}
.stylemaster-view {
  width: 100%;
  height: 100%;
  background: var(--bg-canvas);
  box-sizing: border-box;
}
.stylemaster-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--bg-canvas);
}
.admin-page {
  display: grid;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: var(--space-5);
  grid-template-columns: 340px minmax(0, 1fr);
}
.admin-list-panel, .admin-detail-panel {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}
.admin-list-panel {
  display: flex;
  min-height: 0;
  flex-direction: column;
  overflow: hidden;
}
.admin-list-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-4) var(--space-4) var(--space-3);
}
.admin-list-titlebar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.admin-list-title {
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}
.admin-list-count {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
}
.admin-list-search {
  position: relative;
}
.admin-list-search input {
  width: 100%;
  min-height: 38px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-size: 13px;
  outline: none;
  padding: 0 12px 0 36px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.admin-list-search input::placeholder {
  color: var(--text-muted);
}
.admin-list-search input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.admin-list-search svg {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  stroke-width: 1.5;
  transform: translateY(-50%);
}
.admin-list-action, .add-task-btn, .btn-save, .btn-cancel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.admin-list-action {
  border: 0;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--midnight-950);
  font-size: 12.5px;
  font-weight: 600;
  padding: 9px 14px;
}
.admin-list-action:hover, .admin-list-action:focus-visible, .btn-save:hover, .btn-save:focus-visible {
  background: var(--accent-hover);
  box-shadow: var(--shadow-accent);
  outline: none;
  transform: translateY(-1px);
}
.admin-list-action svg, .add-task-btn svg, .btn-save svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.admin-list-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-2);
}
.admin-list-body::-webkit-scrollbar {
  width: 4px;
}
.admin-detail-panel::-webkit-scrollbar {
  width: 6px;
}
.admin-list-body::-webkit-scrollbar-track, .admin-detail-panel::-webkit-scrollbar-track {
  background: transparent;
}
.admin-list-body::-webkit-scrollbar-thumb, .admin-detail-panel::-webkit-scrollbar-thumb {
  border-radius: var(--radius-xs);
  background: var(--border-default);
}
.admin-list-item {
  display: flex;
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: var(--radius-md);
  background: transparent;
  color: inherit;
  cursor: pointer;
  margin-bottom: 2px;
  padding: 12px 14px;
  text-align: left;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.admin-list-item:hover, .admin-list-item:focus-visible {
  background: var(--accent-mute);
  outline: none;
}
.admin-list-item.active {
  border-left-color: var(--accent);
  background: var(--accent-mute-strong);
}
.admin-list-item .item-title {
  overflow: hidden;
  width: 100%;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.admin-list-item .item-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.3;
}
.item-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: 9.5px;
  line-height: 1.4;
  margin-top: 4px;
  padding: 2px 8px;
  text-transform: uppercase;
}
.item-pill.wohn, .item-pill.renovierung {
  border-color: rgba(90, 123, 158, 0.4);
  background: rgba(90, 123, 158, 0.08);
  color: var(--info);
}
.item-pill.gewerbe {
  border-color: rgba(201, 160, 58, 0.4);
  background: rgba(201, 160, 58, 0.08);
  color: var(--warning);
}
.item-pill.gemischt, .item-pill.sanierung {
  border-color: var(--border-strong);
  background: var(--accent-mute);
  color: var(--text-accent);
}
.item-pill.grundstueck, .item-pill.zusatz {
  border-color: rgba(92, 138, 110, 0.4);
  background: rgba(92, 138, 110, 0.08);
  color: var(--success);
}
.admin-list-item.with-avatar {
  flex-direction: row;
  align-items: center;
  gap: var(--space-3);
}
.admin-list-item.with-avatar .item-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.admin-list-item.with-avatar .item-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.user-avatar-md, .user-avatar-lg {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--champagne-600), var(--champagne-400));
  color: var(--midnight-950);
  font-family: var(--font-display);
  font-weight: 500;
}
.user-avatar-md {
  width: 36px;
  height: 36px;
  font-size: 14px;
}
.user-avatar-lg {
  width: 56px;
  height: 56px;
  font-size: 22px;
}
.user-avatar-md.blocked, .user-avatar-lg.blocked {
  border-color: var(--border-default);
  background: linear-gradient(135deg, var(--midnight-600), var(--midnight-500));
  color: var(--midnight-300);
}
.user-avatar-md.archived, .user-avatar-lg.archived {
  border-color: var(--border-subtle);
  background: linear-gradient(135deg, var(--midnight-700), var(--midnight-600));
  color: var(--midnight-400);
  filter: grayscale(0.5);
}
.item-pill.status-active {
  border-color: rgba(92, 138, 110, 0.4);
  background: rgba(92, 138, 110, 0.1);
  color: var(--success);
}
.item-pill.status-invited {
  border-color: rgba(90, 123, 158, 0.4);
  background: rgba(90, 123, 158, 0.1);
  color: var(--info);
}
.item-pill.status-blocked {
  border-color: rgba(201, 160, 58, 0.4);
  background: rgba(201, 160, 58, 0.1);
  color: var(--warning);
}
.item-pill.status-archived {
  border-color: var(--border-default);
  background: var(--border-subtle);
  color: var(--text-muted);
}
.item-pill.role-mieter {
  border-color: rgba(90, 123, 158, 0.4);
  background: rgba(90, 123, 158, 0.08);
  color: var(--info);
}
.item-pill.role-vermieter {
  border-color: var(--border-strong);
  background: var(--accent-mute);
  color: var(--text-accent);
}
.user-detail-header {
  display: flex;
  width: 100%;
  align-items: center;
  gap: var(--space-4);
}
.user-detail-header .user-info {
  min-width: 0;
  flex: 1;
}
.user-detail-header .badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-2);
}
.user-detail-header .badges-row .item-pill {
  display: inline;
  width: auto;
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: 0;
  line-height: 1.4;
  margin-top: 0;
  padding: 0;
  text-transform: none;
}
.status-badge-lg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1.4;
  padding: 4px 12px;
  text-transform: uppercase;
}
.status-badge-lg::before {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: currentColor;
  content: "";
}
.status-badge-lg.status-active {
  border-color: rgba(92, 138, 110, 0.4);
  background: rgba(92, 138, 110, 0.1);
  color: var(--success);
}
.status-badge-lg.status-active::before {
  box-shadow: 0 0 8px var(--success);
}
.status-badge-lg.status-invited {
  border-color: rgba(90, 123, 158, 0.4);
  background: rgba(90, 123, 158, 0.1);
  color: var(--info);
}
.status-badge-lg.status-blocked {
  border-color: rgba(201, 160, 58, 0.4);
  background: rgba(201, 160, 58, 0.1);
  color: var(--warning);
}
.status-badge-lg.status-archived {
  border-color: var(--border-default);
  background: var(--border-subtle);
  color: var(--text-muted);
}
.user-meta-grid {
  display: grid;
  gap: var(--space-3);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin-bottom: var(--space-4);
  padding: var(--space-4);
}
.user-meta-grid .meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.user-meta-grid .key {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.user-meta-grid .value {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}
.user-meta-grid .value.mono {
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.field-hint {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.4;
  margin-top: var(--space-3);
}
.permissions-matrix {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.permission-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  padding: var(--space-3);
  transition: border-color 0.3s var(--ease-out);
}
.permission-row:hover {
  border-color: var(--border-strong);
}
.permission-icon {
  display: inline-flex;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-mute);
  color: var(--accent);
}
.permission-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.4;
}
.permission-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.permission-text .name {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.permission-text .desc {
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.4;
  margin-top: 2px;
}
.tristate-toggle {
  display: inline-flex;
  flex-shrink: 0;
  gap: 2px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  padding: 3px;
}
.tristate-pill {
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.3;
  padding: 6px 12px;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
  white-space: nowrap;
}
.tristate-pill:hover, .tristate-pill:focus-visible {
  color: var(--text-primary);
  outline: none;
}
.tristate-pill.selected.none {
  background: var(--midnight-700);
  color: var(--text-muted);
}
[data-theme="light"] .app-shell-page .tristate-pill.selected.none {
  background: var(--pearl-200);
  color: var(--text-secondary);
}
.tristate-pill.selected.read {
  background: var(--info);
  color: var(--midnight-950);
  font-weight: 600;
}
.tristate-pill.selected.full {
  background: var(--accent);
  color: var(--midnight-950);
  font-weight: 600;
}
.chip-multi {
  display: flex;
  min-height: 56px;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  padding: 10px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.chip-multi:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--accent-mute-strong);
  color: var(--text-accent);
  font-size: 12.5px;
  font-weight: 500;
  padding: 5px 8px 5px 12px;
}
.chip-pill {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-right: 2px;
  padding: 1px 5px;
  text-transform: uppercase;
}
.chip-remove {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.chip-remove:hover, .chip-remove:focus-visible {
  background: rgba(169, 84, 96, 0.15);
  color: var(--danger);
  outline: none;
}
.chip-remove svg {
  width: 11px;
  height: 11px;
  stroke-width: 2;
}
.chip-multi-control {
  position: relative;
  display: inline-flex;
}
.add-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-accent);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 5px 12px 5px 10px;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.add-chip:hover, .add-chip:focus-visible {
  border-color: var(--accent);
  border-style: solid;
  background: var(--accent-mute);
  outline: none;
}
.add-chip svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}
.chip-multi-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 100;
  display: none;
  min-width: 240px;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  padding: 6px;
}
.chip-multi-menu.open {
  display: block;
}
.chip-multi-menu .menu-item {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 8px 10px;
  text-align: left;
  transition: background-color 0.2s var(--ease-out);
}
.chip-multi-menu .menu-item:hover, .chip-multi-menu .menu-item:focus-visible {
  background: var(--accent-mute);
  outline: none;
}
.chip-multi-menu .menu-item-title {
  flex: 1;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}
.chip-multi-menu .item-pill {
  margin-top: 0;
}
.chip-multi-empty {
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-style: italic;
  padding: 8px 12px;
}
.actions-stack {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.action-row {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  padding: 14px 16px;
  transition: border-color 0.3s var(--ease-out);
}
.action-row:hover {
  border-color: var(--border-strong);
}
.action-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}
.action-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.5;
}
.action-text {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}
.action-text .title {
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.2;
}
.action-text .desc {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.4;
  margin-top: 3px;
}
.action-btn {
  flex-shrink: 0;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 16px;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  white-space: nowrap;
}
.action-btn:hover, .action-btn:focus-visible {
  outline: none;
  transform: translateY(-1px);
}
.action-btn:disabled, .btn-save:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}
.action-row.invite .action-icon {
  background: var(--accent-mute);
  color: var(--accent);
}
.action-row.invite .action-btn:hover, .action-row.invite .action-btn:focus-visible {
  border-color: var(--accent);
  background: var(--accent-mute);
  color: var(--text-accent);
}
.action-row.password .action-icon {
  background: rgba(90, 123, 158, 0.12);
  color: var(--info);
}
.action-row.password .action-btn:hover, .action-row.password .action-btn:focus-visible {
  border-color: var(--info);
  background: rgba(90, 123, 158, 0.08);
  color: var(--info);
}
.action-row.block .action-icon {
  background: rgba(201, 160, 58, 0.12);
  color: var(--warning);
}
.action-row.block .action-btn:hover, .action-row.block .action-btn:focus-visible {
  border-color: var(--warning);
  background: rgba(201, 160, 58, 0.08);
  color: var(--warning);
}
.action-row.archive .action-icon {
  background: rgba(169, 84, 96, 0.12);
  color: var(--danger);
}
.action-row.archive .action-btn:hover, .action-row.archive .action-btn:focus-visible {
  border-color: var(--danger);
  background: rgba(169, 84, 96, 0.08);
  color: var(--danger);
}
.action-row.disabled {
  opacity: 0.5;
}
.action-row.disabled .action-btn {
  cursor: not-allowed;
}
.admin-detail-panel {
  min-height: 0;
  overflow-y: auto;
}
.admin-detail-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  padding: var(--space-5) var(--space-6);
}
.eyebrow-mini {
  display: block;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.4;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.admin-detail-title-block h2 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.2;
}
.admin-detail-title-block h2 em {
  color: var(--text-accent);
  font-style: italic;
}
.admin-detail-body {
  padding: var(--space-6);
}
.admin-empty {
  display: flex;
  min-height: 400px;
  height: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-7);
  text-align: center;
}
.admin-empty-icon {
  display: inline-flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--accent-mute);
  color: var(--text-accent);
  margin-bottom: var(--space-5);
}
.admin-empty-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.4;
}
.admin-empty h3 {
  margin: 0 0 var(--space-3);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
}
.admin-empty p {
  max-width: 360px;
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
}
.form-section-admin {
  border-bottom: 1px dashed var(--border-subtle);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
}
.form-section-admin:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}
.form-section-admin-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  line-height: 1.4;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}
.form-section-admin-label::after {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  content: "";
}
.admin-field {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-4);
}
.admin-field:last-child {
  margin-bottom: 0;
}
.form-section-admin .field-row {
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
}
.admin-field label, .admin-field > span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.4;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.admin-field label .required, .admin-field strong {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
}
.admin-field input, .admin-field select, .admin-field textarea {
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.admin-field select {
  min-height: 45px;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 40px;
}
.admin-field textarea {
  min-height: 80px;
  line-height: 1.5;
  resize: vertical;
}
.admin-field .field-hint, .admin-field small {
  color: var(--text-muted);
  font-size: 11.5px;
  line-height: 1.4;
  margin-top: 6px;
}
.admin-field input:disabled, .admin-field select:disabled, .admin-field textarea:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.78;
}
.readonly-field {
  min-height: 45px;
  display: flex;
  align-items: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--panel-soft);
  @supports (color: color-mix(in lab, red, red)) {
    background: color-mix(in srgb, var(--panel-soft) 78%, transparent);
  }
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  padding: 12px 14px;
}
.form-section-admin .field-row.two {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-section-admin .field-row.three {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.profile-view {
  min-height: 100%;
}
.profile-content {
  width: min(780px, 100%);
  margin: 0 auto;
}
.profile-page-header {
  max-width: 720px;
}
.profile-identity-panel, .profile-panel {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
}
.profile-identity-panel {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: var(--space-5);
  padding: 18px 20px;
}
.profile-avatar-lg {
  display: inline-flex;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--champagne-600), var(--champagne-400));
  color: var(--midnight-950);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
}
.profile-identity-text {
  display: grid;
  min-width: 0;
  gap: 4px;
}
.profile-identity-text strong {
  overflow: hidden;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-identity-text span {
  overflow: hidden;
  color: var(--text-secondary);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.profile-panel {
  margin-bottom: var(--space-5);
  padding: var(--space-5);
}
.profile-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  border-bottom: 1px solid var(--border-subtle);
  margin: calc(var(--space-5) * -1) calc(var(--space-5) * -1) var(--space-5);
  padding: var(--space-4) var(--space-5);
}
.profile-panel-header h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
}
.profile-panel-header svg {
  width: 18px;
  height: 18px;
  color: var(--text-accent);
  stroke-width: 1.5;
}
.profile-grid {
  display: grid;
  gap: 0 var(--space-5);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-role-field {
  grid-column: 1 / -1;
}
.profile-form-footer {
  margin-top: var(--space-2);
}
.input-with-suffix {
  position: relative;
  display: block;
}
.input-with-suffix input {
  padding-right: 44px !important;
}
.input-with-suffix .suffix {
  position: absolute;
  top: 50%;
  right: 14px;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 16px;
  pointer-events: none;
  transform: translateY(-50%);
}
.option-cards {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.option-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  color: inherit;
  cursor: pointer;
  padding: var(--space-4);
  text-align: center;
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.option-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.option-card:hover, .option-card:focus-visible {
  border-color: var(--border-strong);
  background: var(--accent-mute);
  outline: none;
  transform: translateY(-2px);
}
.option-card.selected {
  border-color: var(--accent);
  background: var(--accent-mute-strong);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.option-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: var(--accent-mute);
  color: var(--accent);
}
.option-card.selected .option-icon {
  background: var(--accent);
  color: var(--midnight-950);
}
.option-icon svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.4;
}
.option-name {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.option-card.selected .option-name {
  color: var(--text-accent);
}
.option-desc {
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.35;
}
.option-check {
  position: absolute;
  top: 8px;
  right: 8px;
  display: none;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--midnight-950);
}
.option-card.selected .option-check {
  display: inline-flex;
}
.option-check svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.5;
}
.tasks-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}
.task-card {
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.task-card:hover {
  border-color: var(--border-strong);
}
.task-card.expanded {
  border-color: var(--accent);
  background: var(--bg-surface);
}
.task-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 12px var(--space-4);
}
.task-header-main {
  display: flex;
  min-width: 0;
  flex: 1;
  align-items: center;
  gap: var(--space-3);
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}
.task-header-main:focus-visible {
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 2px var(--accent);
  outline: none;
}
.task-header:focus-visible {
  box-shadow: inset 0 0 0 2px var(--accent);
  outline: none;
}
.task-number {
  display: inline-flex;
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--accent-mute);
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
}
.task-card.expanded .task-number {
  background: var(--accent);
  color: var(--midnight-950);
}
.task-summary {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.task-summary .name {
  overflow: hidden;
  color: var(--text-primary);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.task-summary .name.placeholder {
  color: var(--text-muted);
  font-style: italic;
  font-weight: 400;
}
.task-summary .meta {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
}
.task-summary .meta strong {
  color: var(--text-accent);
  font-weight: 500;
}
.task-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}
.chevron-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  stroke-width: 1.5;
  transition: transform 0.3s var(--ease-out);
}
.task-card.expanded .chevron-icon {
  transform: rotate(180deg);
}
.task-action-btn {
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.task-action-btn:hover, .task-action-btn:focus-visible {
  background: var(--accent-mute);
  color: var(--text-accent);
  outline: none;
}
.task-action-btn.delete:hover, .task-action-btn.delete:focus-visible {
  background: rgba(169, 84, 96, 0.1);
  color: var(--danger);
}
.task-action-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
}
.task-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  border-top: 1px solid var(--border-subtle);
  padding: var(--space-4);
}
.task-card:not(.expanded) .task-body {
  display: none;
}
.toggle-pills {
  display: inline-flex;
  width: fit-content;
  gap: 2px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  padding: 4px;
}
.toggle-pill {
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 18px;
  transition: background-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}
.toggle-pill:hover, .toggle-pill:focus-visible {
  color: var(--text-primary);
  outline: none;
}
.toggle-pill.selected {
  background: var(--accent);
  color: var(--midnight-950);
  font-weight: 600;
}
.conditional-field {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.4s var(--ease-out), opacity 0.3s var(--ease-out);
}
.conditional-field.visible {
  max-height: 200px;
  opacity: 1;
  margin-top: 0;
}
.add-task-btn {
  width: 100%;
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--text-accent);
  font-size: 13px;
  font-weight: 500;
  padding: 12px 16px;
}
.add-task-btn:hover, .add-task-btn:focus-visible {
  border-color: var(--accent);
  background: var(--accent-mute);
  border-style: solid;
  outline: none;
}
.budget-summary {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--accent-mute);
  padding: var(--space-4);
}
.budget-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: 13px;
}
.budget-row .label {
  color: var(--text-secondary);
}
.budget-row .value {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.budget-row.total {
  border-top: 1px dashed var(--border-default);
  margin-top: 4px;
  padding-top: 10px;
}
.budget-row.total .label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.budget-row.warning .label, .budget-row.warning .value {
  color: var(--danger);
}
.budget-amendment-row {
  margin-top: var(--space-4);
}
.document-list.compact {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-4);
}
.document-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  padding: 10px 12px;
}
.document-main {
  min-width: 0;
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
}
.document-amount, .document-total {
  color: var(--text-accent);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
}
.document-amount.danger {
  color: var(--danger);
}
.document-editor-list {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.document-editor {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  padding: var(--space-4);
}
.document-grid {
  grid-template-columns: minmax(180px, 1.3fr) minmax(160px, 1fr) minmax(120px, 0.7fr) minmax( 150px, 0.8fr );
}
.document-editor-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  border-top: 1px dashed var(--border-subtle);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
}
.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 12.5px;
  margin-right: auto;
}
.inline-check input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}
.admin-empty-inline {
  border: 1px dashed var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-size: 13px;
  font-style: italic;
  line-height: 1.45;
  margin: 0 0 var(--space-3);
  padding: var(--space-4);
}
.item-pill.task-warning-none, .item-pill.status-active {
  border-color: rgba(92, 138, 110, 0.4);
  background: rgba(92, 138, 110, 0.1);
  color: var(--success);
}
.item-pill.task-warning-sixty, .item-pill.task-warning-eighty, .item-pill.status-planned, .item-pill.status-closed {
  border-color: rgba(201, 160, 58, 0.4);
  background: rgba(201, 160, 58, 0.1);
  color: var(--warning);
}
.item-pill.task-warning-over, .item-pill.status-archived {
  border-color: rgba(169, 84, 96, 0.4);
  background: rgba(169, 84, 96, 0.1);
  color: var(--danger);
}
.admin-form-message.warning {
  border: 1px solid rgba(201, 160, 58, 0.4);
  border-radius: var(--radius-md);
  background: rgba(201, 160, 58, 0.1);
  color: var(--warning);
  margin-top: var(--space-3);
  padding: 10px 12px;
}
.admin-form-message.warning.task-warning-over {
  border-color: rgba(169, 84, 96, 0.45);
  background: rgba(169, 84, 96, 0.1);
  color: var(--danger);
}
.measure-control {
  background: var(--bg-canvas);
}
.budget-row.total .value {
  color: var(--text-accent);
  font-size: 1.4rem;
}
.budget-row.warning .value {
  color: var(--danger);
}
.admin-form-message {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  font-size: 13px;
  margin: 0 0 var(--space-4);
  padding: 10px 12px;
}
.admin-form-message.error {
  border-color: rgba(169, 84, 96, 0.4);
  background: rgba(169, 84, 96, 0.08);
  color: var(--danger);
}
.admin-form-message.success {
  border-color: rgba(92, 138, 110, 0.4);
  background: rgba(92, 138, 110, 0.08);
  color: var(--success);
}
.admin-form-footer {
  display: flex;
  gap: var(--space-3);
  border-top: 1px solid var(--border-subtle);
  margin-top: var(--space-5);
  padding-top: var(--space-5);
}
.btn-save {
  flex: 1;
  min-height: 46px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--midnight-950);
  font-size: 13px;
  font-weight: 600;
  padding: 0 var(--space-5);
}
.btn-cancel {
  min-height: 46px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  padding: 0 22px;
}
.btn-cancel:hover, .btn-cancel:focus-visible {
  border-color: var(--border-strong);
  color: var(--text-primary);
  outline: none;
}
.ds-principle {
  border-left: 2px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: linear-gradient(90deg, var(--accent-mute), transparent);
  padding: var(--space-5);
}
.ds-principle h3 {
  margin: 0 0 var(--space-2);
  color: var(--text-accent);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
}
.ds-principle p, .ds-rule p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 13px;
}
.ds-rule {
  padding: var(--space-5);
}
.ds-footer {
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 11px;
  padding: var(--space-7) 0;
  text-align: center;
}
.auth-shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  min-height: 100vh;
  background: var(--bg-canvas);
  color: var(--text-primary);
}
.auth-aside {
  position: relative;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border-right: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, var(--midnight-900) 0%, var(--midnight-950) 100%);
  padding: var(--space-7);
}
[data-theme="light"] .auth-shell .auth-aside {
  background: linear-gradient(180deg, var(--pearl-100) 0%, var(--pearl-50) 100%);
}
.auth-aside::before {
  position: absolute;
  inset: 0;
  background: radial-gradient( ellipse 80% 50% at 70% 20%, rgba(201, 168, 118, 0.14), transparent 60% ), radial-gradient(ellipse 60% 40% at 20% 80%, rgba(91, 101, 132, 0.18), transparent 60%);
  content: "";
  pointer-events: none;
  animation: ambientShift 24s ease-in-out infinite;
}
[data-theme="light"] .auth-shell .auth-aside::before {
  background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(168, 133, 79, 0.18), transparent 60%), radial-gradient(ellipse 60% 40% at 20% 80%, rgba(213, 209, 194, 0.5), transparent 60%);
}
.auth-aside::after {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='1' cy='1' r='0.5' fill='%23C9A876' opacity='0.18'/%3E%3C/svg%3E");
  content: "";
  opacity: 0.5;
  pointer-events: none;
}
@keyframes ambientShift {
  0%, 100% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(-2%, 2%);
  }
}
.aside-logo {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  color: var(--text-primary);
  text-decoration: none;
}
.aside-center {
  position: relative;
  z-index: 2;
  display: flex;
  max-width: 480px;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.aside-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--accent-mute);
  color: var(--text-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-5);
  padding: 6px 14px;
  text-transform: uppercase;
}
.aside-eyebrow::before {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  content: "";
}
.aside-title {
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 var(--space-5);
}
.aside-title em {
  color: var(--text-accent);
  font-style: italic;
}
.aside-quote {
  max-width: 420px;
  margin: 0;
  color: var(--text-secondary);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
}
.aside-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.aside-footer .dotline {
  flex: 1;
  height: 1px;
  margin: 0 var(--space-4);
  background-image: linear-gradient(to right, var(--border-default) 50%, transparent 50%);
  background-size: 8px 1px;
}
.auth-main {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-canvas);
}
.auth-main::before {
  position: absolute;
  inset: 0;
  background: radial-gradient( ellipse 60% 40% at 100% 0%, rgba(201, 168, 118, 0.06), transparent 60% );
  content: "";
  pointer-events: none;
}
[data-theme="light"] .auth-shell .auth-main::before {
  background: radial-gradient(ellipse 60% 40% at 100% 0%, rgba(168, 133, 79, 0.06), transparent 60%);
}
.auth-topbar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
  padding: var(--space-5) var(--space-6);
}
.lang-switcher {
  position: relative;
  z-index: 100;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  transition: all 0.3s var(--ease-out);
}
.lang-trigger:hover, .lang-trigger:focus-visible, .lang-switcher.open .lang-trigger {
  border-color: var(--accent);
  background: var(--accent-mute);
  color: var(--text-accent);
  outline: none;
}
.lang-trigger .globe {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
}
.lang-trigger .code {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.lang-trigger .chevron {
  width: 10px;
  height: 10px;
  fill: none;
  opacity: 0.55;
  stroke: currentcolor;
  stroke-width: 1.75;
  transition: transform 0.25s var(--ease-out);
}
.lang-switcher.open .lang-trigger .chevron {
  transform: rotate(180deg);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-md);
  padding: 6px;
}
.lang-menu-label {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  padding: 8px 12px 4px;
  text-transform: uppercase;
}
.lang-option {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 9px 12px;
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.lang-option:hover, .lang-option:focus-visible {
  background: var(--accent-mute);
  color: var(--text-primary);
  outline: none;
}
.lang-option.active {
  background: var(--accent-mute-strong);
  color: var(--text-accent);
}
.lang-option .lang-code {
  width: 22px;
  flex-shrink: 0;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.lang-option.active .lang-code {
  color: var(--text-accent);
}
.lang-option .lang-name {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
}
.lang-option .check {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
}
.lang-option .lang-tag {
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  padding: 2px 6px;
  text-transform: uppercase;
}
.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  transition: all 0.3s var(--ease-out);
}
.theme-toggle:hover, .theme-toggle:focus-visible {
  border-color: var(--accent);
  background: var(--accent-mute);
  color: var(--text-accent);
  outline: none;
}
.theme-toggle svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 1.5;
}
.auth-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex: 1;
  align-items: safe center;
  justify-content: center;
  padding: var(--space-6);
}
.auth-card {
  width: 100%;
  max-width: 420px;
}
.auth-card-wide {
  max-width: 520px;
}
.step-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}
.step-indicator .step {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--border-default);
}
.step-indicator .step.active {
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
.auth-card h1 {
  margin: 0;
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: var(--space-3);
}
.auth-card h1 em {
  color: var(--text-accent);
  font-style: italic;
}
.auth-card .subtitle {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0 0 var(--space-6);
}
.field {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-4);
}
.field label {
  color: var(--text-secondary);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}
.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.input-wrap svg.lead {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  fill: none;
  pointer-events: none;
  stroke: var(--text-muted);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: stroke 0.3s var(--ease-out);
}
.field input {
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  padding: 13px 14px 13px 42px;
  transition: all 0.3s var(--ease-out);
}
.field input::placeholder {
  color: var(--text-muted);
}
.field input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.input-wrap:focus-within svg.lead {
  stroke: var(--accent);
}
.password-toggle {
  position: absolute;
  right: 6px;
  display: flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
}
.password-toggle:hover, .password-toggle:focus-visible {
  background: var(--accent-mute);
  color: var(--text-accent);
  outline: none;
}
.password-toggle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-5);
}
.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  user-select: none;
}
.checkbox-row.block {
  margin-bottom: var(--space-4);
}
.checkbox-row input[type="checkbox"] {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--border-strong);
  border-radius: 5px;
  appearance: none;
  background: transparent;
  cursor: pointer;
  margin: 0;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}
.checkbox-row input[type="checkbox"]:hover, .checkbox-row input[type="checkbox"]:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
  outline: none;
}
.checkbox-row input[type="checkbox"]:checked {
  border-color: var(--accent);
  background: var(--accent);
}
.checkbox-row input[type="checkbox"]:checked::after {
  position: absolute;
  top: 1px;
  left: 5px;
  width: 5px;
  height: 10px;
  border: solid var(--midnight-950);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}
.checkbox-row span {
  color: var(--text-secondary);
  font-size: 13px;
}
.link {
  border: 0;
  background: transparent;
  color: var(--text-accent);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  padding: 0;
  text-decoration: none;
  transition: color 0.3s var(--ease-out);
}
.link:hover, .link:focus-visible {
  color: var(--accent);
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.auth-error {
  border: 1px solid rgba(169, 84, 96, 0.36);
  border-radius: var(--radius-sm);
  background: rgba(169, 84, 96, 0.1);
  color: var(--danger);
  font-size: 13px;
  margin: 0 0 var(--space-4);
  padding: 10px 12px;
}
.auth-error.success {
  border-color: rgba(92, 138, 110, 0.4);
  background: rgba(92, 138, 110, 0.08);
  color: var(--success);
}
.password-policy-list {
  display: grid;
  gap: 6px;
  margin: 0 0 var(--space-4);
  padding: 0;
}
.password-policy-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.4;
  list-style: none;
}
.password-policy-list li::before {
  width: 5px;
  height: 5px;
  border-radius: var(--radius-full);
  background: var(--accent);
  content: "";
  opacity: 0.75;
}
.password-policy-errors {
  display: block;
  margin-top: 6px;
}
.btn-primary {
  position: relative;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: var(--radius-full);
  background: var(--accent);
  color: var(--midnight-950);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  overflow: hidden;
  padding: 14px 24px;
  text-decoration: none;
  transition: all 0.35s var(--ease-out);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent-hover);
  box-shadow: 0 8px 24px rgba(201, 168, 118, 0.35);
  outline: none;
  transform: translateY(-1px);
}
.btn-primary:disabled {
  cursor: wait;
  opacity: 0.62;
}
.btn-primary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transition: transform 0.35s var(--ease-out);
}
.btn-primary:hover svg, .btn-primary:focus-visible svg {
  transform: translateX(3px);
}
.auth-card-footer {
  border-top: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 13px;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  text-align: center;
}
.invitation-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--accent-mute);
  color: var(--text-secondary);
  font-size: 12.5px;
  line-height: 1.45;
  margin-bottom: var(--space-4);
  padding: 12px 14px;
  text-align: left;
}
.invitation-note svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  fill: none;
  margin-top: 1px;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.invitation-note strong {
  color: var(--text-primary);
  font-weight: 600;
}
.footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}
.footer-sep {
  color: var(--border-strong);
}
.form-section {
  border-bottom: 1px dashed var(--border-subtle);
  margin-bottom: var(--space-5);
  padding-bottom: var(--space-5);
}
.form-section:last-of-type {
  border-bottom: 0;
  padding-bottom: 0;
}
.form-section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
  margin-bottom: var(--space-4);
  text-transform: uppercase;
}
.form-section-label::before {
  width: 18px;
  height: 1px;
  background: var(--border-default);
  content: "";
}
.form-section-label::after {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
  content: "";
}
.field-row {
  display: grid;
  gap: var(--space-3);
  grid-template-columns: 1fr 1fr;
}
.field select {
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  appearance: none;
  background-color: var(--bg-canvas);
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236B7488' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  color: var(--text-primary);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 14px;
  outline: none;
  padding: 13px 42px 13px 14px;
  transition: all 0.3s var(--ease-out);
}
.field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
}
.field textarea {
  width: 100%;
  min-height: 88px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.5;
  outline: none;
  padding: 13px 14px;
  resize: vertical;
  transition: all 0.3s var(--ease-out);
}
.field textarea::placeholder {
  color: var(--text-muted);
}
.checkboxes-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: var(--space-5);
}
.checkboxes-stack .checkbox-row {
  align-items: flex-start;
  gap: 10px;
}
.checkboxes-stack .checkbox-row span {
  font-size: 12.5px;
  line-height: 1.45;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: var(--space-5);
  padding: 6px 12px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all 0.3s var(--ease-out);
}
.back-btn:hover, .back-btn:focus-visible {
  background: var(--accent-mute);
  color: var(--text-accent);
  outline: none;
}
.back-btn svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
  transition: transform 0.3s var(--ease-out);
}
.back-btn:hover svg, .back-btn:focus-visible svg {
  transform: translateX(-3px);
}
.otp-method-card {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--accent-mute);
  margin-bottom: var(--space-5);
  padding: 14px 16px;
}
.otp-method-icon {
  display: flex;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--accent-mute-strong);
}
.otp-method-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.otp-method-text {
  flex: 1;
  min-width: 0;
}
.otp-method-text .title {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}
.otp-method-text .meta {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  margin-top: 3px;
  text-transform: uppercase;
}
.otp-input-group {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: var(--space-4);
}
.otp-digit {
  width: 100%;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  aspect-ratio: 1 / 1.15;
  background: var(--bg-canvas);
  caret-color: var(--accent);
  color: var(--text-primary);
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  outline: none;
  text-align: center;
  transition: all 0.3s var(--ease-out);
}
.otp-digit:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-mute);
  transform: translateY(-1px);
}
.otp-digit.filled {
  border-color: var(--border-strong);
  background: var(--accent-mute);
  color: var(--text-accent);
}
.otp-digit.error {
  border-color: var(--danger);
  color: var(--danger);
  animation: shake 0.4s ease-in-out;
}
@keyframes shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  75% {
    transform: translateX(4px);
  }
}
.otp-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  margin-bottom: var(--space-5);
}
.otp-meta .timer {
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.otp-meta .timer strong {
  color: var(--text-accent);
  font-weight: 500;
}
.otp-meta .resend {
  border: 0;
  background: transparent;
  color: var(--text-accent);
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 0;
}
.otp-meta .resend:hover, .otp-meta .resend:focus-visible {
  outline: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.otp-meta .resend:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  text-decoration: none;
}
.alt-method {
  color: var(--text-muted);
  font-size: 12.5px;
  margin-top: var(--space-4);
  text-align: center;
}
.pending-icon {
  position: relative;
  display: flex;
  width: 72px;
  height: 72px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  background: var(--accent-mute);
  margin: 0 auto var(--space-5);
}
.pending-icon::before {
  position: absolute;
  inset: -6px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-full);
  animation: pendingPulse 2.5s ease-in-out infinite;
  content: "";
  opacity: 0.3;
}
@keyframes pendingPulse {
  0%, 100% {
    opacity: 0.3;
    transform: scale(1);
  }
  50% {
    opacity: 0.1;
    transform: scale(1.08);
  }
}
.pending-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}
.pending-center {
  text-align: center;
}
.receipt-card {
  position: relative;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-surface);
  margin: var(--space-6) 0;
  padding: var(--space-5);
}
.receipt-card::before, .receipt-card::after {
  position: absolute;
  top: 50%;
  width: 12px;
  height: 12px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-canvas);
  content: "";
  transform: translateY(-50%);
}
.receipt-card::before {
  left: -7px;
  border-right-color: var(--bg-canvas);
}
.receipt-card::after {
  right: -7px;
  border-left-color: var(--bg-canvas);
}
.receipt-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--space-3);
  border-bottom: 1px dashed var(--border-subtle);
  padding: 10px 0;
  text-align: left;
}
.receipt-row:last-child {
  border-bottom: 0;
}
.receipt-row .key {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.receipt-row .value {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 500;
}
.receipt-row .value.mono {
  color: var(--text-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
.pending-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: var(--space-5);
}
.pending-hint {
  color: var(--text-muted);
  font-size: 12.5px;
  line-height: 1.5;
  margin-top: var(--space-4);
  text-align: center;
}
.view {
  animation: viewIn 0.5s var(--ease-out) backwards;
}
@keyframes viewIn {
  from {
    opacity: 0;
    transform: translateX(8px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .auth-card {
    animation: cardEnter 0.7s var(--ease-out) backwards;
  }
}
@keyframes cardEnter {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .ds-logo-card.featured .exactus-brand-logo {
    animation: ds-shimmer 4s ease-in-out infinite;
  }
}
@keyframes ds-shimmer {
  0%, 100% {
    filter: drop-shadow(0 0 0 transparent);
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(201, 168, 118, 0.4));
  }
}
@media (max-width: 920px) {
  .auth-shell {
    display: block;
  }
  .auth-aside {
    display: none;
  }
  .auth-main {
    min-height: 100vh;
  }
  .auth-content {
    align-items: flex-start;
    padding-top: var(--space-5);
  }
  .ds-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .ds-nav {
    flex-wrap: wrap;
  }
  .home-capability-panel, .home-style-panel {
    grid-template-columns: 1fr;
  }
  .home-hero h1 {
    font-size: 3.3rem;
  }
  .ds-logo-grid, .ds-type-grid, .ds-ui-grid {
    grid-template-columns: 1fr;
  }
  .ds-app-shell, .ds-app-shell.collapsed {
    min-height: auto;
    grid-template-columns: 1fr;
  }
  .ds-sidebar {
    min-height: 520px;
    border-right: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .ds-sidebar-collapse {
    display: none;
  }
  .ds-app-shell.collapsed .ds-sidebar-item-label, .ds-app-shell.collapsed .ds-sidebar-badge {
    display: inline;
    opacity: 1;
    pointer-events: auto;
  }
  .ds-app-shell.collapsed .ds-user-info {
    display: grid;
    opacity: 1;
    pointer-events: auto;
  }
  .ds-app-shell.collapsed .ds-user-more {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }
  .ds-app-shell.collapsed .ds-sidebar-item.inactive::after {
    display: inline;
  }
  .ds-app-shell.collapsed .ds-sidebar-section-label {
    height: auto;
    opacity: 1;
    padding: 0 var(--space-3) var(--space-3);
  }
  .ds-app-shell.collapsed .ds-sidebar-section {
    padding: 0 var(--space-4) var(--space-3);
  }
  .ds-app-shell.collapsed .ds-sidebar-section + .ds-sidebar-section {
    border-top: 0;
    margin-top: var(--space-5);
    padding-top: 0;
  }
  .ds-app-shell.collapsed .ds-sidebar-item {
    gap: 14px;
    overflow: hidden;
    justify-content: flex-start;
    padding: 10px 12px;
  }
  .ds-app-shell.collapsed .ds-user-card {
    gap: 12px;
    justify-content: flex-start;
    padding: 10px;
  }
  .ds-app-shell.collapsed .ds-user-avatar {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
    font-size: 15px;
  }
  .ds-app-shell.collapsed .ds-sidebar-footer {
    padding: var(--space-4);
  }
  .ds-app-shell.collapsed .ds-sidebar-header {
    justify-content: flex-start;
    padding: 0 var(--space-5);
  }
  .ds-app-shell.collapsed .ds-sidebar-logo {
    gap: var(--space-3);
    justify-content: flex-start;
  }
  .ds-app-topbar {
    min-height: auto;
    flex-wrap: wrap;
    align-items: flex-start;
    padding: var(--space-4);
  }
  .ds-app-search {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }
  .ds-scale-row {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .auth-topbar {
    justify-content: space-between;
    padding: var(--space-4) var(--space-5);
  }
  .auth-content {
    padding: var(--space-5) var(--space-5) var(--space-6);
  }
  .auth-card {
    max-width: 100%;
  }
  .row, .otp-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-3);
  }
  .footer-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
  .field-row, .field-row.compact {
    grid-template-columns: 1fr;
  }
  .receipt-row {
    grid-template-columns: 1fr;
  }
  .receipt-row .value {
    text-align: left;
  }
  .ds-container {
    padding: 0 var(--space-5);
  }
  .home-hero {
    padding: var(--space-7) 0;
  }
  .home-hero h1 {
    font-size: 2.55rem;
  }
  .home-hero .ds-tagline {
    font-size: 1.15rem;
  }
  .home-module-meta {
    align-items: flex-start;
    flex-direction: column;
  }
  .ds-app-content {
    padding: var(--space-5);
  }
  .ds-sidebar {
    min-height: 500px;
  }
  .ds-breadcrumb {
    width: 100%;
  }
  .ds-app-actions {
    margin-left: auto;
  }
  .ds-page-header h3 {
    font-size: 2.1rem;
  }
  .ds-stat-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 1100px) {
  .admin-workspace {
    overflow-y: auto;
  }
  .admin-page {
    height: auto;
    grid-template-columns: 1fr;
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .task-board {
    grid-template-columns: 1fr;
  }
  .admin-list-panel {
    max-height: 420px;
  }
}
@media (max-width: 640px) {
  .app-shell-page .ds-app-content {
    padding: 0;
  }
  .dashboard-view {
    padding: var(--space-4);
  }
  .dashboard-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .task-admin-form {
    grid-template-columns: 1fr;
  }
  .task-admin-form .admin-list-action {
    width: 100%;
  }
  .admin-workspace {
    padding: var(--space-4);
  }
  .admin-detail-header, .admin-detail-body {
    padding: var(--space-4);
  }
  .option-cards {
    grid-template-columns: 1fr;
  }
  .user-detail-header, .permission-row, .action-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .profile-identity-panel {
    align-items: flex-start;
  }
  .tristate-toggle, .action-btn {
    width: 100%;
  }
  .tristate-pill, .action-btn {
    flex: 1;
  }
  .admin-form-footer {
    flex-direction: column;
  }
  .btn-cancel {
    width: 100%;
  }
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
}
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
button,
input,
select,
textarea {
  font: inherit;
}
::selection {
  background: var(--accent);
  color: var(--midnight-950);
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@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;
}
@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-border-style: solid;
      --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;
    }
  }
}

/*!**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[3].use[1]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[3].use[2]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/font/local/target.css?{"path":"app/layout.tsx","import":"","arguments":[{"src":[{"path":"./fonts/fraunces-latin-normal-300-600.woff2","style":"normal","weight":"300 600"},{"path":"./fonts/fraunces-latin-italic-300-600.woff2","style":"italic","weight":"300 600"}],"variable":"--font-display","display":"swap","fallback":["Georgia","serif"]}],"variableName":"fraunces"} ***!
  \**********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: 'fraunces';
src: url(/_next/static/media/7d78925e89801896-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 300 600;
font-style: normal;
}

@font-face {
font-family: 'fraunces';
src: url(/_next/static/media/0aa34dc08e816e48-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 300 600;
font-style: italic;
}@font-face {font-family: 'fraunces Fallback';src: local("Arial");ascent-override: 84.44%;descent-override: 22.02%;line-gap-override: 0.00%;size-adjust: 115.82%
}.__className_c57cc1 {font-family: 'fraunces', 'fraunces Fallback', Georgia, serif
}.__variable_c57cc1 {--font-display: 'fraunces', 'fraunces Fallback', Georgia, serif
}

/*!*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[3].use[1]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[3].use[2]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/font/local/target.css?{"path":"app/layout.tsx","import":"","arguments":[{"src":[{"path":"./fonts/cormorant-garamond-latin-normal-300-600.woff2","style":"normal","weight":"300 600"},{"path":"./fonts/cormorant-garamond-latin-italic-300-600.woff2","style":"italic","weight":"300 600"}],"variable":"--font-serif","display":"swap","fallback":["Georgia","serif"]}],"variableName":"cormorant"} ***!
  \*****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: 'cormorant';
src: url(/_next/static/media/e149ed1307c6abe9-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 300 600;
font-style: normal;
}

@font-face {
font-family: 'cormorant';
src: url(/_next/static/media/546e7577bc4972bf-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 300 600;
font-style: italic;
}@font-face {font-family: 'cormorant Fallback';src: local("Arial");ascent-override: 105.47%;descent-override: 32.76%;line-gap-override: 0.00%;size-adjust: 87.60%
}.__className_5b9f4d {font-family: 'cormorant', 'cormorant Fallback', Georgia, serif
}.__variable_5b9f4d {--font-serif: 'cormorant', 'cormorant Fallback', Georgia, serif
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[3].use[1]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[3].use[2]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/font/local/target.css?{"path":"app/layout.tsx","import":"","arguments":[{"src":[{"path":"./fonts/inter-latin-normal-300-700.woff2","style":"normal","weight":"300 700"}],"variable":"--font-sans","display":"swap","fallback":["Arial","Helvetica","sans-serif"]}],"variableName":"inter"} ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: 'inter';
src: url(/_next/static/media/6c596dfcddeca1e9-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 300 700;
font-style: normal;
}@font-face {font-family: 'inter Fallback';src: local("Arial");ascent-override: 89.79%;descent-override: 22.36%;line-gap-override: 0.00%;size-adjust: 107.89%
}.__className_935cc1 {font-family: 'inter', 'inter Fallback', Arial, Helvetica, sans-serif;font-style: normal
}.__variable_935cc1 {--font-sans: 'inter', 'inter Fallback', Arial, Helvetica, sans-serif
}

/*!*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[3].use[1]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/dist/build/webpack/loaders/next-font-loader/index.js??ruleSet[1].rules[14].oneOf[3].use[2]!../../node_modules/.pnpm/next@15.5.18_@opentelemetry+api@1.9.0_@playwright+test@1.60.0_react-dom@19.2.6_react@19.2.6__react@19.2.6/node_modules/next/font/local/target.css?{"path":"app/layout.tsx","import":"","arguments":[{"src":[{"path":"./fonts/jetbrains-mono-latin-normal-400-500.woff2","style":"normal","weight":"400 500"}],"variable":"--font-mono","display":"swap","fallback":["Menlo","Monaco","Consolas","monospace"]}],"variableName":"jetBrainsMono"} ***!
  \*********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
@font-face {
font-family: 'jetBrainsMono';
src: url(/_next/static/media/d4d543e2c04cd1cb-s.p.woff2) format('woff2');
font-display: swap;
font-weight: 400 500;
font-style: normal;
}@font-face {font-family: 'jetBrainsMono Fallback';src: local("Arial");ascent-override: 77.57%;descent-override: 22.82%;line-gap-override: 0.00%;size-adjust: 131.49%
}.__className_e53c86 {font-family: 'jetBrainsMono', 'jetBrainsMono Fallback', Menlo, Monaco, Consolas, monospace;font-style: normal
}.__variable_e53c86 {--font-mono: 'jetBrainsMono', 'jetBrainsMono Fallback', Menlo, Monaco, Consolas, monospace
}

