:root {
  --cds-background: #f5f6f8;
  --cds-layer-01: #ffffff;
  --cds-layer-02: #f9fafb;
  --cds-layer-dark: #111827;
  --cds-layer-dark-02: #1f2937;
  --cds-text-primary: #111827;
  --cds-text-secondary: #5b6472;
  --cds-text-helper: #7b8494;
  --cds-border-subtle: #e5e7eb;
  --cds-border-strong: #d1d5db;
  --cds-blue: #0066cc;
  --cds-blue-hover: #0057b8;
  --cds-blue-light: #eef6ff;
  --cds-green: #1f9d55;
  --cds-yellow: #b7791f;
  --cds-red: #d92d20;
  --cds-focus: #0071e3;
  --cds-amber: #b7791f;
  --cds-mint: #e8f7ef;
  --cds-ink: #111827;
  --rail-width: 248px;
  --radius-card: 8px;
  --radius-pill: 999px;
  --glass: rgba(255, 255, 255, .86);
  --glass-dark: rgba(17, 24, 39, .8);
  --product-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --polish-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  --polish-ring: 0 0 0 3px rgba(0, 113, 227, .14);
}

html {
  background: var(--cds-background);
}

body {
  background: var(--cds-background);
  color: var(--cds-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  line-height: 1.5;
}

body,
button,
input,
select,
textarea {
  letter-spacing: 0;
}

h1,
h2,
h3 {
  color: var(--cds-text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(28px, 3vw, 34px);
}

h2 {
  font-size: clamp(20px, 2vw, 24px);
}

h3 {
  font-size: 17px;
}

.eyebrow {
  margin-bottom: 6px;
  color: #64748b;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .04em;
}

.subtle,
.meta {
  color: var(--cds-text-secondary);
}

button {
  min-height: 40px;
  border-radius: 7px;
  border-color: transparent;
  background: var(--cds-blue);
  box-shadow: none;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, box-shadow .15s ease, transform .1s ease;
}

button:hover {
  background: var(--cds-blue-hover);
}

button:active {
  transform: translateY(1px);
}

button.secondary,
.lang-toggle,
.prompt-chips button,
button.text-btn,
button.small-btn {
  background: #ffffff;
  border-color: var(--cds-border-subtle);
  color: var(--cds-blue);
}

button.secondary:hover,
.lang-toggle:hover,
.prompt-chips button:hover,
button.text-btn:hover,
button.small-btn:hover {
  background: #f8fbff;
  border-color: #bfdbfe;
  color: var(--cds-blue-hover);
}

button.text-btn,
button.small-btn {
  min-height: 34px;
  padding: 6px 10px;
}

button.danger,
button.small-btn.danger {
  background: #fff7f7;
  border-color: #fecaca;
  color: var(--cds-red);
}

input,
select,
textarea {
  min-height: 40px;
  border: 1px solid var(--cds-border-subtle);
  border-radius: 7px;
  background: #ffffff;
  color: var(--cds-text-primary);
  box-shadow: inset 0 1px 0 rgba(17, 24, 39, .02);
}

input:hover,
select:hover,
textarea:hover {
  border-color: #cbd5e1;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--cds-focus);
  box-shadow: var(--polish-ring);
}

input::placeholder,
textarea::placeholder {
  color: #9aa3b2;
}

.login-view {
  background: #f5f6f8;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 432px);
}

.login-visual {
  background:
    linear-gradient(90deg, rgba(17, 24, 39, .74), rgba(17, 24, 39, .22)),
    url("/assets/industrial-cluster-hero.png") center/cover;
}

.orb {
  display: none !important;
}

.glass-card,
.hero-login {
  color: #ffffff;
}

.brand-mark,
.brand-logo,
.drop-icon,
.agent-squad strong,
.agent-badge {
  border-radius: 8px;
  background: var(--cds-blue);
  box-shadow: none;
}

.hero-login h1 {
  font-size: clamp(38px, 5vw, 56px);
  letter-spacing: 0;
}

.login-metrics span {
  border-color: rgba(255, 255, 255, .24);
  border-radius: 7px;
  background: rgba(255, 255, 255, .12);
  box-shadow: none;
}

.login-panel {
  background: #ffffff;
  box-shadow: -1px 0 0 var(--cds-border-subtle);
}

.login-panel h2 {
  font-size: 30px;
}

.app-shell {
  grid-template-columns: var(--rail-width) minmax(720px, 1fr) 364px;
  background: var(--cds-background);
}

.nav-rail,
.assistant-panel {
  background: rgba(255, 255, 255, .9);
  border-color: var(--cds-border-subtle);
  box-shadow: none;
}

.nav-rail {
  backdrop-filter: saturate(160%) blur(18px);
}

.brand-block {
  min-height: 70px;
  border-bottom-color: var(--cds-border-subtle);
}

.brand-logo {
  background: var(--cds-blue);
}

.brand-block strong {
  color: #111827;
}

.brand-block span,
.nav-footer {
  color: #6b7280;
}

.nav-menu {
  gap: 4px;
  padding: 10px;
}

.nav-item {
  min-height: 40px;
  border-radius: 7px;
  color: #4b5563;
  font-weight: 560;
}

.nav-item:hover {
  background: #f3f7fb;
  color: #111827;
}

.nav-item.active {
  background: #eef6ff;
  border-color: #bfdbfe;
  color: var(--cds-blue);
  box-shadow: none;
}

.status-dot {
  background: var(--cds-green);
  box-shadow: 0 0 0 3px rgba(31, 157, 85, .12);
}

.workspace {
  padding: 24px;
  background: var(--cds-background);
}

.workspace-topbar,
.control-hero,
.panel-card,
.plant-map-card,
.control-palette,
.control-knowledge,
.command-copy,
.agent-command-card,
.command-visual,
.premium-hero,
.stat-card,
.list-item,
.archive-card,
.config-form,
.search-hit,
.timeline-item,
.ops-summary,
.ops-risk-list li,
.ops-action-list li,
.assistant-bubble,
.modal-card {
  border: 1px solid var(--cds-border-subtle);
  border-radius: var(--radius-card);
  background: #ffffff;
  box-shadow: var(--polish-shadow);
}

.workspace-topbar {
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  backdrop-filter: none;
}

.top-actions {
  gap: 8px;
}

.avatar-btn {
  background: #111827;
}

.avatar-btn:hover {
  background: #030712;
}

.global-search {
  border-color: var(--cds-border-subtle);
  border-radius: 8px;
  background: #ffffff;
}

.global-search input {
  min-height: 34px;
}

.global-search button {
  min-height: 34px;
}

.stat-grid {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.stat-card {
  min-height: 88px;
  padding: 14px;
}

.stat-card::after {
  height: 2px;
  background: var(--cds-blue);
}

.stat-card strong {
  margin-top: 10px;
  font-size: 26px;
}

.notice {
  border-color: #bfdbfe;
  background: #eff6ff;
  color: #1e3a5f;
}

.command-deck {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.command-copy {
  min-height: 330px;
  padding: 26px;
  color: #111827;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
}

.command-copy .eyebrow {
  color: #64748b;
}

.command-copy h2 {
  color: #111827;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0;
}

.command-copy .subtle {
  color: var(--cds-text-secondary);
}

.command-actions button.secondary {
  background: #ffffff;
  border-color: var(--cds-border-subtle);
  color: var(--cds-blue);
}

.agent-command-card,
.plant-map-card,
.control-knowledge,
.panel-card {
  padding: 16px;
}

.agent-squad article,
.knowledge-flow div,
.readiness-row,
.phase-card,
.control-widget,
.config-status .status-item {
  border: 1px solid var(--cds-border-subtle);
  border-radius: 8px;
  background: #f9fafb;
  box-shadow: none;
}

.agent-squad span {
  font-weight: 650;
}

.command-visual,
.campus-visual {
  min-height: 260px;
  background: #eef2f7;
}

.campus-visual img {
  min-height: 260px;
  box-shadow: none;
}

.command-visual {
  grid-column: 1 / -1;
}

.campus-visual figcaption {
  border-color: rgba(255, 255, 255, .35);
  border-radius: 8px;
  background: rgba(17, 24, 39, .78);
  box-shadow: none;
}

.dashboard-grid,
.two-column,
.admin-grid,
.control-widget-grid {
  gap: 12px;
}

.orchestration-card {
  margin-top: 12px;
}

.card-head,
.plant-map-head {
  min-height: 44px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom-color: var(--cds-border-subtle);
}

.control-hero {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 500px);
  padding: 18px;
}

.control-hero h2 {
  font-size: clamp(28px, 3vw, 34px);
}

.control-status-strip {
  gap: 8px;
}

.control-status-strip div {
  min-height: 78px;
  border: 1px solid var(--cds-border-subtle);
  border-radius: 8px;
  background: #f9fafb;
}

.control-status-strip strong {
  font-size: 23px;
}

.control-workbench {
  grid-template-columns: 220px minmax(0, 1fr);
}

.control-palette {
  overflow: hidden;
}

.control-palette-head {
  background: #f9fafb;
  color: #111827;
}

.control-palette-head span {
  color: #6b7280;
}

.control-module {
  min-height: 64px;
  border-bottom-color: var(--cds-border-subtle);
  background: #ffffff;
  color: #374151;
}

.control-module:hover,
.control-module.active {
  background: #eef6ff;
  color: var(--cds-blue);
}

.plant-map {
  min-height: 410px;
  border-color: #dbeafe;
  border-radius: 8px;
  background:
    linear-gradient(#e8f1fb 1px, transparent 1px),
    linear-gradient(90deg, #e8f1fb 1px, transparent 1px),
    #fbfdff;
  background-size: 32px 32px;
}

.plant-zone {
  border-color: #dbeafe;
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: none;
}

.plant-zone::before {
  background: var(--cds-blue);
  box-shadow: 0 0 0 4px rgba(0, 102, 204, .1);
}

.plant-zone strong {
  color: #111827;
}

.mini-bars,
.mini-line {
  background: #f3f6fa;
}

.mini-bars i,
.readiness-meter span,
.ops-meter span {
  background: var(--cds-blue);
}

.gauge {
  background: conic-gradient(var(--cds-blue) 0 78%, #e5e7eb 78% 100%);
}

.control-task-list li {
  border: 1px solid #fde68a;
  background: #fffbeb;
  color: #7c4a03;
}

.chip,
.badge {
  min-height: 24px;
  border-color: var(--cds-border-subtle);
  border-radius: 999px;
  background: #f8fafc;
  color: #344054;
  font-weight: 600;
}

.badge.good {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}

.badge.warn {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}

.badge.bad {
  border-color: #fecaca;
  background: #fef2f2;
  color: var(--cds-red);
}

.empty-state {
  border: 1px dashed #cbd5e1;
  border-radius: 8px;
  background: #fafafa;
  color: var(--cds-text-secondary);
}

.list-item:hover,
.list-item.clickable:hover,
.list-item.active {
  background: #f8fbff;
  border-color: #bfdbfe;
}

.table-wrap {
  border-color: var(--cds-border-subtle);
  border-radius: 8px;
  background: #ffffff;
}

.data-table {
  background: #ffffff;
}

.data-table th {
  height: 40px;
  background: #f8fafc;
  color: #667085;
  font-size: 12px;
  font-weight: 650;
}

.data-table td {
  padding: 13px 16px;
  border-bottom-color: #eef2f6;
}

.data-table tr:hover td {
  background: #f8fbff;
}

.ai-dropzone {
  border-color: var(--cds-border-subtle);
  border-radius: 8px;
  background: #fbfdff;
  box-shadow: none;
}

.drop-icon {
  background: #eef6ff;
  color: var(--cds-blue);
}

.form-grid,
.compact-form,
.model-config-grid {
  gap: 12px;
}

.login-panel label,
.form-grid label,
.modal-card label,
.voice-field,
.voice-rate-field {
  color: #667085;
  font-weight: 650;
}

.checkbox-row {
  color: var(--cds-text-secondary);
}

.assistant-panel {
  backdrop-filter: saturate(160%) blur(18px);
}

.assistant-panel::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .8), rgba(248, 250, 252, .86));
}

.assistant-panel.expanded {
  border-color: var(--cds-border-subtle);
  border-radius: 8px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 18px 56px rgba(15, 23, 42, .16);
}

.assistant-head {
  min-height: 72px;
  background: rgba(255, 255, 255, .82);
}

.agent-ring {
  border-color: #bfdbfe;
  border-radius: 8px;
  background: #eef6ff;
  box-shadow: none;
}

.agent-face {
  border-color: #dbeafe;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: none;
}

.agent-stage {
  border-color: #dbeafe;
  background: #f8fbff;
  box-shadow: none;
}

.agent-files {
  border-color: #dbeafe;
  background: #eef6ff;
}

.file-blueprint,
.file-contract,
.file-device {
  border-color: #bfdbfe;
  background: #ffffff;
  box-shadow: none;
}

.file-blueprint {
  background: #dbeafe;
}

.file-device {
  background: #e0f2fe;
}

.agent-status {
  color: #111827;
}

.agent-status::before {
  background: var(--cds-green);
  box-shadow: 0 0 0 4px rgba(31, 157, 85, .12);
}

.agent-steps span {
  border-color: #e5e7eb;
  background: #ffffff;
  color: #667085;
}

.agent-steps span.active {
  border-color: #bfdbfe;
  background: #eef6ff;
  color: var(--cds-blue);
}

.prompt-chips,
.assistant-ops,
.ask-form {
  border-color: var(--cds-border-subtle);
  background: rgba(255, 255, 255, .82);
}

.ops-source-tags span {
  background: #eef6ff;
  color: var(--cds-blue);
}

.ops-agent {
  border-left-color: var(--cds-green);
  border-radius: 8px;
  background: #ffffff;
}

.ops-agent.warn {
  border-left-color: var(--cds-amber);
}

.bubble {
  border-radius: 8px;
}

.assistant-bubble {
  box-shadow: none;
}

.user-bubble {
  background: var(--cds-blue);
}

dialog {
  border-radius: 8px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .22);
}

dialog::backdrop {
  background: rgba(15, 23, 42, .42);
}

@media (max-width: 1320px) {
  .app-shell,
  .app-shell.assistant-expanded {
    grid-template-columns: var(--rail-width) minmax(0, 1fr);
  }

  .assistant-panel {
    grid-column: 2;
    height: 560px;
    border-top: 1px solid var(--cds-border-subtle);
  }

  .workspace-topbar,
  .dashboard-grid,
  .two-column,
  .control-hero,
  .control-workbench,
  .command-deck {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1720px) {
  .command-deck {
    grid-template-columns: minmax(320px, .95fr) minmax(320px, .9fr) minmax(360px, 1.05fr);
  }

  .command-visual {
    grid-column: auto;
  }
}

@media (max-width: 780px) {
  .login-view,
  .app-shell {
    grid-template-columns: 1fr;
  }

  .workspace {
    padding: 12px;
  }

  .workspace-topbar {
    align-items: stretch;
    padding: 14px;
  }

  .nav-menu {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-item {
    min-height: 40px;
    padding: 0 8px;
    text-align: center;
  }

  .top-actions,
  .command-actions,
  .form-actions {
    align-items: stretch;
  }

  .global-search {
    grid-template-columns: 1fr;
  }

  .stat-grid,
  .admin-grid,
  .form-grid,
  .compact-form,
  .config-status,
  .model-config-grid,
  .control-status-strip,
  .control-widget-grid,
  .phase-grid,
  .orchestration-bottom,
  .knowledge-flow,
  .ai-dropzone {
    grid-template-columns: 1fr;
  }

  .command-copy,
  .agent-command-card,
  .command-visual,
  .campus-visual,
  .campus-visual img {
    min-height: auto;
  }

  .command-copy {
    padding: 20px;
  }

  .plant-map {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .plant-zone,
  .zone-seed,
  .zone-culture,
  .zone-purify,
  .zone-fill,
  .zone-cold,
  .zone-qa {
    grid-column: auto;
    grid-row: auto;
    min-height: 112px;
  }

  .assistant-panel {
    grid-column: 1;
  }
}

/* Innovation competition showcase layer */
:root {
  --showcase-ink: #0f172a;
  --showcase-blue: #0b63ce;
  --showcase-teal: #087f7a;
  --showcase-gold: #b7791f;
  --showcase-violet: #475569;
  --showcase-surface: rgba(255, 255, 255, .92);
  --showcase-shadow: 0 18px 52px rgba(15, 23, 42, .1);
}

body {
  background:
    linear-gradient(180deg, rgba(247, 250, 252, .96), rgba(239, 242, 247, .98) 42%, #f7f8fb),
    var(--cds-background);
}

.workspace {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .66), rgba(255, 255, 255, 0) 260px),
    radial-gradient(900px 340px at 12% 0%, rgba(11, 99, 206, .08), transparent 64%),
    radial-gradient(720px 280px at 86% 2%, rgba(8, 127, 122, .08), transparent 62%),
    var(--cds-background);
}

.workspace-topbar {
  position: sticky;
  top: 0;
  z-index: 9;
  border-color: rgba(148, 163, 184, .32);
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(165%) blur(18px);
  box-shadow: 0 8px 28px rgba(15, 23, 42, .06);
}

.command-deck {
  gap: 14px;
}

.command-copy {
  position: relative;
  justify-content: space-between;
  min-height: 380px;
  border-color: rgba(15, 23, 42, .1);
  color: #ffffff;
  background:
    linear-gradient(140deg, rgba(7, 16, 36, .95), rgba(15, 67, 117, .9) 46%, rgba(7, 91, 83, .88)),
    url("/assets/industrial-cluster-hero.png") center/cover;
  box-shadow: var(--showcase-shadow);
}

.command-copy::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .12) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .1) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(140deg, rgba(0, 0, 0, .6), transparent 66%);
  pointer-events: none;
}

.command-copy > * {
  position: relative;
  z-index: 1;
}

.command-copy h2 {
  max-width: 620px;
  color: #ffffff;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04;
}

.command-copy .eyebrow,
.command-copy .subtle {
  max-width: 560px;
  color: rgba(255, 255, 255, .8);
}

.competition-strip {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.competition-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 7px;
  background: rgba(255, 255, 255, .12);
  color: #ffffff;
  font-size: 12px;
  font-weight: 650;
}

.command-actions button {
  box-shadow: 0 10px 24px rgba(11, 99, 206, .22);
}

.command-actions button.secondary {
  background: rgba(255, 255, 255, .13);
  border-color: rgba(255, 255, 255, .24);
  color: #ffffff;
  box-shadow: none;
}

.agent-command-card,
.panel-card,
.plant-map-card,
.control-palette,
.control-knowledge,
.stat-card,
.document-card,
.archive-card,
.search-hit,
.modal-card {
  border-color: rgba(148, 163, 184, .28);
  background: var(--showcase-surface);
  box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 16px 36px rgba(15, 23, 42, .045);
}

.agent-squad article {
  background:
    linear-gradient(135deg, #ffffff, #f8fbff);
}

.agent-squad strong {
  background: linear-gradient(135deg, var(--showcase-blue), var(--showcase-teal));
}

.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  background: linear-gradient(90deg, var(--showcase-blue), var(--showcase-teal), var(--showcase-gold));
}

.plant-map {
  background:
    linear-gradient(#dfeaf7 1px, transparent 1px),
    linear-gradient(90deg, #dfeaf7 1px, transparent 1px),
    linear-gradient(135deg, #fbfdff, #f4fbf8);
}

.plant-zone {
  border-color: rgba(11, 99, 206, .18);
  box-shadow: 0 12px 26px rgba(15, 23, 42, .07);
}

.plant-zone::before {
  background: linear-gradient(135deg, var(--showcase-blue), var(--showcase-teal));
}

.control-status-strip div {
  background: linear-gradient(135deg, #ffffff, #f6fbff);
}

.document-card-list {
  display: none;
}

.document-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(148, 163, 184, .28);
  border-radius: 8px;
}

.doc-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.doc-card-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #eef6ff;
  color: #1e3a5f;
  font-size: 12px;
  font-weight: 600;
}

.search-hit mark {
  border-radius: 4px;
  background: #fef3c7;
  box-shadow: 0 0 0 2px #fef3c7;
}

.assistant-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 28;
  width: 58px;
  height: 58px;
  min-height: 58px;
  padding: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--showcase-blue), var(--showcase-teal));
  box-shadow: 0 18px 42px rgba(11, 99, 206, .28);
}

@media (max-width: 1320px) {
  .assistant-fab {
    display: grid;
    place-items: center;
  }

  .assistant-panel {
    display: none;
    position: fixed;
    inset: auto 16px 86px auto;
    z-index: 30;
    width: min(520px, calc(100vw - 32px));
    height: min(720px, calc(100vh - 112px));
    border: 1px solid var(--cds-border-subtle);
    border-radius: 8px;
    box-shadow: 0 24px 80px rgba(15, 23, 42, .18);
  }

  .assistant-panel.expanded {
    display: flex;
    inset: auto 16px 86px auto;
    width: min(720px, calc(100vw - 32px));
    height: min(760px, calc(100vh - 112px));
  }
}

@media (max-width: 780px) {
  .workspace-topbar {
    position: static;
  }

  .nav-menu {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 12px 14px;
    padding-bottom: 12px;
    scroll-snap-type: x mandatory;
  }

  .nav-item {
    flex: 0 0 auto;
    min-width: 112px;
    width: auto;
    scroll-snap-align: start;
    white-space: nowrap;
  }

  .command-copy {
    min-height: 360px;
  }

  .command-copy h2 {
    font-size: 34px;
  }

  .table-wrap {
    display: none;
  }

  .document-card-list {
    display: grid;
    gap: 10px;
    margin-top: 12px;
  }

  .row-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .row-actions a,
  .row-actions button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .assistant-panel,
  .assistant-panel.expanded {
    inset: 12px;
    width: auto;
    height: auto;
  }

  .assistant-fab {
    right: 14px;
    bottom: 14px;
  }
}
