:root {
  color-scheme: light;
  --accent: #007c78;
  --accent-strong: #006b67;
  --accent-soft: #e8f4f2;
  --accent-ink: #effffc;
  --blue: #1f6feb;
  --bg: #f5f7f8;
  --bg-2: #eef3f4;
  --surface: #ffffff;
  --surface-2: #f8fbfb;
  --surface-3: #edf3f4;
  --ink: #11181c;
  --ink-2: #243238;
  --muted: #64737a;
  --subtle: #8b989e;
  --line: #d9e2e4;
  --line-strong: #b7c6cb;
  --focus: color-mix(in srgb, var(--accent) 26%, transparent);
  --panel-top: color-mix(in srgb, var(--accent) 54%, var(--line));
  --sidebar: #eceee8;
  --sidebar-2: #f6f7f3;
  --sidebar-text: #1e1f1c;
  --sidebar-muted: #6a6c64;
  --success: #168060;
  --warning: #a15c12;
  --danger: #ba3434;
  --info: #236a90;
  --shadow: 0 24px 80px rgba(17, 24, 28, 0.12);
  --shadow-soft: 0 12px 36px rgba(17, 24, 28, 0.08);
  --radius: 8px;
  font-family:
    Aptos,
    "Segoe UI Variable",
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Microsoft YaHei",
    sans-serif;
}

:root[data-accent="blue"] {
  --accent: #1f6feb;
  --accent-strong: #184f9c;
  --accent-soft: #e8f1ff;
  --accent-ink: #f5f9ff;
}

:root[data-accent="graphite"] {
  --accent: #39464d;
  --accent-strong: #172026;
  --accent-soft: #edf0f2;
  --accent-ink: #f8fafc;
}

:root[data-accent="green"] {
  --accent: #1d7f5f;
  --accent-strong: #155b46;
  --accent-soft: #e7f3ee;
  --accent-ink: #f5fffa;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f1518;
  --bg-2: #121a1f;
  --surface: #172126;
  --surface-2: #1d2a30;
  --surface-3: #25353c;
  --ink: #eef5f6;
  --ink-2: #d7e3e6;
  --muted: #a0b1b7;
  --subtle: #81949b;
  --line: #2c3d44;
  --line-strong: #40565f;
  --sidebar: #0a1013;
  --sidebar-2: #10191e;
  --sidebar-text: #edf6f7;
  --sidebar-muted: #93a6ad;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 12px 36px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--line) 22%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--line) 18%, transparent) 1px, transparent 1px),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent 430px),
    var(--bg);
  background-size: 56px 56px, 56px 56px, auto, auto;
  letter-spacing: 0;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  font: inherit;
  letter-spacing: 0;
}

button {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

select option,
select optgroup {
  color: #172026;
  background-color: #ffffff;
}

select option:checked {
  color: #0b1215;
  background-color: #9cc8f5;
}

:root[data-theme="dark"] select option,
:root[data-theme="dark"] select optgroup {
  color: #f4fbfc;
  background-color: #121a1f;
}

:root[data-theme="dark"] select option:checked {
  color: #ffffff;
  background-color: color-mix(in srgb, var(--accent) 72%, #1f6feb);
}

/* Native select popups inherit the top-nav's light foreground on some Windows
   Chromium builds. Force readable popup rows regardless of popup background. */
.top-nav select option,
.top-nav select optgroup,
:root[data-theme="light"] .top-nav select option,
:root[data-theme="light"] .top-nav select optgroup {
  color: #172026;
  background-color: #ffffff;
}

:root[data-theme="dark"] .top-nav select option,
:root[data-theme="dark"] .top-nav select optgroup {
  color: #f4fbfc;
  background-color: #121a1f;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

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

[hidden] {
  display: none !important;
}

.app-root {
  min-height: 100dvh;
}

.top-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 76px;
  padding: 0 24px;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand-lockup,
.sidebar-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  color: var(--accent);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.13), transparent 44%),
    linear-gradient(315deg, color-mix(in srgb, var(--accent) 26%, transparent), transparent 42%),
    var(--sidebar);
  border: 1px solid color-mix(in srgb, var(--accent) 46%, var(--line));
  border-radius: 10px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 10px 22px rgba(8, 18, 22, 0.16);
  overflow: hidden;
  isolation: isolate;
}

.brand-mark::before {
  content: "";
  position: absolute;
  inset: 7px 7px auto auto;
  width: 10px;
  height: 10px;
  border-top: 1px solid color-mix(in srgb, var(--accent-ink) 70%, transparent);
  border-right: 1px solid color-mix(in srgb, var(--accent-ink) 70%, transparent);
  opacity: 0.44;
}

.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  bottom: 7px;
  width: 12px;
  height: 1px;
  background: color-mix(in srgb, var(--blue) 78%, transparent);
  box-shadow: 0 -4px 0 color-mix(in srgb, var(--accent) 70%, transparent);
  opacity: 0.72;
}

.brand-mark svg {
  position: relative;
  z-index: 1;
  width: 31px;
  height: 31px;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
}

.brand-mark.large {
  width: 60px;
  height: 60px;
}

.brand-mark.large svg {
  width: 48px;
  height: 48px;
}

.mark-axis,
.mark-frame,
.mark-core,
.mark-flow {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mark-axis,
.mark-frame {
  stroke: #8ea0a8;
  stroke-width: 2.9;
}

.mark-core {
  stroke: var(--accent);
  stroke-width: 5.0;
}

.mark-flow {
  stroke: var(--blue);
  stroke-width: 3.0;
}

.mark-node {
  fill: #f8fafc;
  stroke: color-mix(in srgb, var(--accent) 45%, #172026);
  stroke-width: 1.2;
}

.brand-copy,
.sidebar-brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-copy strong,
.sidebar-brand-copy strong {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  line-height: 1.1;
}

.brand-copy small,
.sidebar-brand-copy small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.product-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.product-nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
  white-space: nowrap;
}

.product-nav a:hover {
  color: var(--accent);
}

.nav-actions,
.hero-actions,
.page-actions,
.workspace-actions,
.inline-actions,
.wizard-footer,
.auth-links {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.auth-links {
  flex-wrap: wrap;
}

.admin-entry-link {
  color: var(--muted);
  min-height: 28px;
  padding: 0;
  justify-content: flex-start;
  font-size: 12px;
  opacity: 0.78;
}

.admin-entry-link:hover {
  color: var(--accent);
  opacity: 1;
}

.top-nav .select-control {
  min-height: 38px;
  padding: 0 8px;
}

.top-nav .select-control span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.button,
.icon-button,
.sidebar-primary,
.sidebar-nav button,
.quick-grid button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 760;
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease,
    box-shadow 0.12s ease;
}

.button:hover,
.icon-button:hover,
.sidebar-primary:hover,
.sidebar-nav button:hover,
.quick-grid button:hover {
  transform: translateY(-1px);
}

.button:active,
.icon-button:active,
.sidebar-primary:active,
.sidebar-nav button:active,
.quick-grid button:active {
  transform: translateY(0);
}

.button.primary {
  color: var(--accent-ink);
  background: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 80%, #000);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 24%, transparent);
}

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

.button.secondary {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
}

.button.tertiary,
.icon-button {
  color: var(--ink-2);
  background: var(--surface);
  border-color: var(--line);
}

.button.tertiary:hover,
.icon-button:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-soft);
}

.button.large {
  min-height: 48px;
  padding: 0 20px;
  font-size: 15px;
}

.button.small {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.button.full {
  width: 100%;
}

.button.is-loading::before {
  content: "";
  width: 14px;
  height: 14px;
  margin-right: 8px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 999px;
  animation: spin 0.8s linear infinite;
}

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

.select-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 740;
}

.select-control select,
.toolbar-row select,
.config-grid select,
.settings-grid select {
  color: var(--ink);
  background: transparent;
  border: 0;
  outline: 0;
}

.select-control.icon {
  max-width: 138px;
}

.accent-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.accent-switch.large {
  width: max-content;
  margin-top: 14px;
}

.accent-dot {
  width: 18px;
  height: 18px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 999px;
}

.accent-dot.active {
  border-color: var(--ink);
  box-shadow: 0 0 0 2px var(--surface);
}

.accent-dot.teal {
  background: #007c78;
}

.accent-dot.blue {
  background: #1f6feb;
}

.accent-dot.graphite {
  background: #39464d;
}

.accent-dot.green {
  background: #1d7f5f;
}

.page {
  display: none;
}

.page.active {
  display: block;
}

.landing-page {
  padding-bottom: 72px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(460px, 1.12fr);
  gap: 44px;
  align-items: center;
  width: min(1520px, calc(100vw - 64px));
  min-height: auto;
  margin: 0 auto;
  padding: 42px 0 24px;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(48px, 5.4vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-lead {
  margin: 24px 0 0;
  color: var(--ink-2);
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.24;
  font-weight: 730;
}

.hero-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.72;
  max-width: 700px;
}

.hero-actions {
  margin-top: 30px;
}

.workflow-card,
.panel,
.auth-route-card,
.auth-brand-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.workflow-card {
  padding: 22px;
}

.workflow-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.workflow-card-header div {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.workflow-card-header strong {
  color: var(--ink);
}

.workflow-card-header span:not(.status-chip) {
  color: var(--muted);
  font-size: 12px;
}

.status-chip,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 820;
  white-space: nowrap;
}

.status-chip.connected,
.status-pill.connected {
  color: #0d5d45;
  background: #ddf3ea;
}

.quota-pill {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent-soft) 70%, var(--surface));
}

.status-pill.warning,
.status-chip.warning {
  color: #7a430b;
  background: #fff1d7;
}

.status-pill.danger,
.status-chip.danger {
  color: #842626;
  background: #ffe2e2;
}

.workflow-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.workflow-steps li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 6px 14px;
  padding: 15px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.workflow-steps li > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--accent-ink);
  background: var(--accent);
  border-radius: 7px;
  font-weight: 840;
}

.workflow-steps strong {
  color: var(--ink);
}

.workflow-steps small {
  color: var(--muted);
  line-height: 1.45;
}

.content-band {
  width: min(1520px, calc(100vw - 64px));
  margin: 0 auto;
  padding: 72px 0 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 24px;
}

.section-heading.compact {
  max-width: 980px;
}

.section-heading h2,
.split-band h2,
.support-band h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
}

.section-heading p:not(.eyebrow),
.support-band p {
  color: var(--muted);
  line-height: 1.7;
}

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

.capability-grid article,
.process-grid article,
.resource-grid article {
  min-height: 190px;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.capability-grid span,
.process-grid strong {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--accent);
  font-weight: 840;
}

.capability-grid h3,
.process-grid h3,
.resource-grid strong {
  display: block;
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

.capability-grid p,
.process-grid p,
.resource-grid span {
  display: block;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.split-band,
.support-band {
  display: grid;
  grid-template-columns: minmax(360px, 0.8fr) minmax(460px, 1.2fr);
  gap: 28px;
  align-items: start;
}

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

.industry-list span {
  padding: 18px 20px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 760;
}

/* Public landing: make the marketing surface feel like an industrial CAD product,
   while keeping the logged-in workspace unchanged. */
.top-nav {
  min-height: 70px;
  padding: 0 30px;
  background:
    linear-gradient(90deg, rgba(0, 124, 120, 0.16), transparent 42%),
    #0b1215;
  border-bottom-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 44px rgba(5, 12, 15, 0.18);
}

.top-nav .brand-copy strong,
.top-nav .product-nav a,
.top-nav .select-control select,
.top-nav .button.tertiary {
  color: #edf6f7;
}

.top-nav .brand-copy small,
.top-nav .select-control,
.top-nav .product-nav a:not(:hover) {
  color: #91a5ad;
}

.top-nav .select-control,
.top-nav .accent-switch,
.top-nav .button.tertiary {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}

.top-nav .button.primary {
  color: #f5fffc;
  background: #007c78;
  border-color: #10928d;
  box-shadow: 0 10px 30px rgba(0, 124, 120, 0.32);
}

.top-nav .brand-mark {
  border-radius: 12px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 0 5px rgba(255, 255, 255, 0.035),
    0 18px 30px rgba(0, 0, 0, 0.28);
}

.landing-page {
  position: relative;
  overflow: hidden;
  padding-bottom: 86px;
  background:
    linear-gradient(180deg, #0b1215 0 690px, var(--bg) 690px 100%),
    var(--bg);
}

.landing-page::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 720px;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 18% 28%, rgba(0, 124, 120, 0.26), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(31, 111, 235, 0.18), transparent 30%);
  background-size: 72px 72px, 72px 72px, auto, auto;
  mask-image: linear-gradient(#000 72%, transparent);
}

.landing-page::after {
  content: "";
  position: absolute;
  top: 104px;
  right: -140px;
  width: 520px;
  height: 520px;
  pointer-events: none;
  border: 1px solid rgba(142, 160, 168, 0.28);
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 72px rgba(255, 255, 255, 0.015),
    inset 0 0 0 144px rgba(255, 255, 255, 0.012);
  opacity: 0.55;
}

.landing-page .hero-shell,
.landing-page .content-band {
  position: relative;
  z-index: 1;
}

.hero-shell {
  grid-template-columns: minmax(520px, 0.92fr) minmax(520px, 1.08fr);
  gap: 56px;
  align-items: center;
  min-height: calc(100dvh - 70px);
  padding: 58px 0 46px;
}

.hero-copy {
  max-width: 820px;
}

.hero-copy .eyebrow {
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #8fe8dc;
  background: rgba(0, 124, 120, 0.12);
  border: 1px solid rgba(143, 232, 220, 0.22);
  border-radius: 999px;
}

.hero-copy h1 {
  max-width: 780px;
  color: #f6fbfb;
  font-size: clamp(58px, 6.1vw, 108px);
  line-height: 0.9;
  text-wrap: balance;
}

.hero-lead {
  max-width: 760px;
  color: #dbe8eb;
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1.18;
}

.hero-text {
  max-width: 710px;
  color: #a8bdc4;
}

.hero-actions {
  align-items: center;
  margin-top: 34px;
}

.hero-actions .button.secondary {
  color: #e9f5f6;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-proof-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 760px;
  margin-top: 34px;
  overflow: hidden;
  background: rgba(8, 16, 19, 0.82);
  border: 1px solid rgba(143, 232, 220, 0.18);
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.hero-proof-strip span {
  display: grid;
  gap: 4px;
  min-height: 86px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.hero-proof-strip strong {
  color: #f6fbfb;
  font-size: 13px;
}

.hero-proof-strip small {
  color: #9fb4bb;
  line-height: 1.45;
}

.workflow-card {
  position: relative;
  padding: 24px;
  color: #dce9eb;
  background:
    linear-gradient(135deg, rgba(0, 124, 120, 0.2), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    #111b20;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
  overflow: hidden;
}

.workflow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.026) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(120deg, transparent, #000 26%, #000 70%, transparent);
}

.workflow-card-header,
.workflow-steps {
  position: relative;
  z-index: 1;
}

.workflow-card-header {
  padding: 0 0 18px;
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.workflow-card-header strong,
.workflow-steps strong {
  color: #f6fbfb;
}

.workflow-card-header span:not(.status-chip),
.workflow-steps small {
  color: #96aab2;
}

.workflow-steps {
  gap: 12px;
  margin-top: 20px;
}

.workflow-steps li {
  position: relative;
  min-height: 92px;
  padding: 18px 18px 18px 20px;
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    border-color 0.18s ease;
}

.workflow-steps li:hover {
  transform: translateX(-4px);
  background: rgba(255, 255, 255, 0.082);
  border-color: rgba(143, 232, 220, 0.22);
}

.workflow-steps li > span {
  color: #061113;
  background: #8fe8dc;
  border-radius: 8px;
}

.landing-page .content-band {
  width: min(1520px, calc(100vw - 72px));
  padding-top: 88px;
}

.landing-page .content-band:first-of-type {
  margin-top: 34px;
}

.capability-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 14px;
}

.capability-grid article {
  position: relative;
  grid-column: span 3;
  min-height: 230px;
  padding: 26px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 5%, transparent), transparent 46%),
    var(--surface);
  border-top: 3px solid color-mix(in srgb, var(--accent) 58%, var(--line));
  box-shadow: 0 18px 46px rgba(17, 24, 28, 0.07);
}

.capability-grid article:first-child,
.capability-grid article:nth-child(4) {
  grid-column: span 4;
}

.capability-grid article:nth-child(2),
.capability-grid article:nth-child(3) {
  grid-column: span 4;
}

.capability-grid span {
  width: max-content;
  margin-bottom: 34px;
  padding: 6px 9px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-radius: 6px;
}

.split-band,
.support-band {
  padding: 42px;
  background: color-mix(in srgb, var(--surface) 82%, var(--accent-soft));
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
}

:root[data-theme="light"] .top-nav {
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 46%),
    rgba(255, 255, 255, 0.92);
  border-bottom-color: rgba(23, 32, 38, 0.1);
  box-shadow: 0 16px 40px rgba(17, 24, 28, 0.08);
}

:root[data-theme="light"] .top-nav .brand-copy strong,
:root[data-theme="light"] .top-nav .product-nav a,
:root[data-theme="light"] .top-nav .select-control select,
:root[data-theme="light"] .top-nav .button.tertiary {
  color: #142126;
}

:root[data-theme="light"] .top-nav .brand-copy small,
:root[data-theme="light"] .top-nav .select-control,
:root[data-theme="light"] .top-nav .product-nav a:not(:hover) {
  color: #66777f;
}

:root[data-theme="light"] .top-nav .select-control,
:root[data-theme="light"] .top-nav .accent-switch,
:root[data-theme="light"] .top-nav .button.tertiary {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(23, 32, 38, 0.14);
}

:root[data-theme="light"] .top-nav .button.primary {
  color: #f7fffd;
  background: var(--accent);
  border-color: color-mix(in srgb, var(--accent) 82%, #000);
  box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 24%, transparent);
}

:root[data-theme="light"] .landing-page {
  background:
    linear-gradient(180deg, #f7fafb 0 690px, var(--bg) 690px 100%),
    var(--bg);
}

:root[data-theme="light"] .landing-page::before {
  background:
    linear-gradient(90deg, rgba(31, 46, 53, 0.07) 1px, transparent 1px),
    linear-gradient(rgba(31, 46, 53, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 18% 28%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34%),
    radial-gradient(circle at 84% 18%, rgba(31, 111, 235, 0.11), transparent 30%);
}

:root[data-theme="light"] .landing-page::after {
  border-color: rgba(74, 93, 101, 0.18);
  box-shadow:
    inset 0 0 0 72px rgba(0, 124, 120, 0.025),
    inset 0 0 0 144px rgba(31, 111, 235, 0.018);
  opacity: 0.72;
}

:root[data-theme="light"] .hero-copy .eyebrow {
  color: var(--accent-strong);
  background: color-mix(in srgb, var(--accent-soft) 74%, #fff);
  border-color: color-mix(in srgb, var(--accent) 26%, transparent);
}

:root[data-theme="light"] .hero-copy h1 {
  color: #172026;
}

:root[data-theme="light"] .hero-lead {
  color: #2b3c43;
}

:root[data-theme="light"] .hero-text {
  color: #607178;
}

:root[data-theme="light"] .hero-actions .button.secondary {
  color: #172026;
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(23, 32, 38, 0.18);
}

:root[data-theme="light"] .hero-proof-strip {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(0, 124, 120, 0.18);
  box-shadow: 0 22px 60px rgba(17, 24, 28, 0.11);
}

:root[data-theme="light"] .hero-proof-strip span {
  background: rgba(255, 255, 255, 0.62);
}

:root[data-theme="light"] .hero-proof-strip strong {
  color: #172026;
}

:root[data-theme="light"] .hero-proof-strip small {
  color: #66777f;
}

:root[data-theme="light"] .workflow-card {
  color: #243238;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 251, 0.86)),
    #ffffff;
  border-color: rgba(23, 32, 38, 0.14);
  box-shadow: 0 28px 86px rgba(17, 24, 28, 0.14);
}

:root[data-theme="light"] .workflow-card::before {
  background:
    linear-gradient(90deg, rgba(31, 46, 53, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(31, 46, 53, 0.045) 1px, transparent 1px);
}

:root[data-theme="light"] .workflow-card-header {
  border-bottom-color: rgba(23, 32, 38, 0.12);
}

:root[data-theme="light"] .workflow-card-header strong,
:root[data-theme="light"] .workflow-steps strong {
  color: #172026;
}

:root[data-theme="light"] .workflow-card-header span:not(.status-chip),
:root[data-theme="light"] .workflow-steps small {
  color: #66777f;
}

:root[data-theme="light"] .workflow-steps li {
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(23, 32, 38, 0.12);
}

:root[data-theme="light"] .workflow-steps li:hover {
  background: #ffffff;
  border-color: color-mix(in srgb, var(--accent) 26%, transparent);
}

:root[data-theme="light"] .workflow-steps li > span {
  color: #06322f;
  background: color-mix(in srgb, var(--accent) 24%, #f2fffc);
}

.auth-route-shell {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(420px, 0.7fr);
  gap: 24px;
  align-items: stretch;
  width: min(1240px, calc(100vw - 48px));
  min-height: calc(100dvh - 150px);
  margin: 0 auto;
  padding: 48px 0;
}

.auth-brand-panel {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: #e8f2f3;
  background:
    linear-gradient(140deg, rgba(0, 124, 120, 0.28), transparent 50%),
    #121a1f;
  border-color: rgba(255, 255, 255, 0.09);
}

.auth-brand-panel h2 {
  max-width: 620px;
  margin: 28px 0 0;
  color: #fff;
  font-size: 42px;
  line-height: 1.05;
}

.auth-brand-panel p {
  max-width: 640px;
  margin: 16px 0 0;
  color: #aebfc5;
  line-height: 1.7;
}

.auth-flow-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 30px;
}

.auth-flow-strip span {
  display: grid;
  place-items: center;
  min-height: 36px;
  color: #e9f5f6;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 760;
}

.auth-route-card {
  align-self: center;
  padding: 30px;
}

.auth-route-card h1 {
  margin: 0;
  font-size: 30px;
}

.auth-route-card p {
  color: var(--muted);
  line-height: 1.6;
}

.auth-form,
#feedbackForm {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 760;
}

input,
textarea,
select {
  min-width: 0;
}

input,
textarea,
.toolbar-row select,
.config-grid select,
.settings-grid select,
.auth-form select,
#feedbackForm select {
  width: 100%;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  outline: 0;
}

input,
select {
  min-height: 42px;
  padding: 0 12px;
}

textarea {
  padding: 12px;
  resize: vertical;
  line-height: 1.55;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 16%, transparent);
}

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

.form-error {
  min-height: 18px;
  margin: 0;
  color: var(--danger);
  font-size: 13px;
  line-height: 1.5;
}

.password-field {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
}

.password-field input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 7px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: var(--accent);
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 22%, transparent);
}

.password-toggle:active {
  transform: translateY(-50%) scale(0.97);
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.password-strength {
  display: grid;
  gap: 6px;
  margin-top: -6px;
}

.password-strength[hidden] {
  display: none;
}

.password-strength-bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}

.password-strength-bars span {
  height: 4px;
  background: var(--line);
  border-radius: 999px;
}

.password-strength small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.password-strength[data-level="weak"] .password-strength-bars span:first-child {
  background: var(--danger);
}

.password-strength[data-level="medium"] .password-strength-bars span:nth-child(-n + 2) {
  background: #b7791f;
}

.password-strength[data-level="strong"] .password-strength-bars span {
  background: var(--success);
}

.agreement-check {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  font-weight: 650;
}

.agreement-check input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  min-height: 16px;
  margin-top: 3px;
  accent-color: var(--accent);
}

.agreement-check > span {
  display: block;
  min-width: 0;
}

.inline-link {
  display: inline;
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  font: inherit;
  font-weight: 800;
  vertical-align: baseline;
}

.inline-link:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.modal-register-fields {
  display: grid;
  gap: 14px;
}

.reset-panel {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: var(--radius);
}

.reset-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.link-button {
  padding: 0;
  color: var(--accent);
  background: transparent;
  border: 0;
  font-weight: 760;
}

.link-button:hover {
  text-decoration: underline;
}

.workspace-shell {
  grid-template-columns: 280px minmax(0, 1fr);
  height: calc(100dvh - 76px);
  overflow: hidden;
}

body.workspace-mode .top-nav {
  display: none;
}

body.workspace-mode {
  height: 100dvh;
  overflow: hidden;
}

body.admin-mode .top-nav {
  display: none;
}

body.workspace-mode .workspace-shell {
  height: 100dvh;
}

.workspace-shell.active {
  display: grid;
}

.admin-login-page.active {
  display: block;
}

.admin-console.active {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100dvh;
}

.workspace-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  color: var(--sidebar-text);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 8%, transparent), transparent 34%),
    linear-gradient(180deg, var(--sidebar), var(--sidebar-2));
  border-right: 1px solid var(--line);
}

.sidebar-brand {
  min-height: 76px;
  padding: 18px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
}

.sidebar-brand .brand-mark {
  background: color-mix(in srgb, var(--surface) 86%, var(--accent-soft));
}

.sidebar-brand-copy strong {
  color: var(--sidebar-text);
}

.sidebar-brand-copy small {
  color: var(--sidebar-muted);
}

.sidebar-collapse {
  margin-left: auto;
  width: 30px;
  height: 30px;
  color: var(--sidebar-muted);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 92%, transparent);
  border-radius: 7px;
}

.sidebar-account span,
.history-toggle small {
  color: var(--sidebar-muted);
  font-size: 12px;
}

.sidebar-account strong {
  color: var(--sidebar-text);
  font-size: 13px;
}

.sidebar-primary {
  margin: 0 16px 12px;
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--accent) 20%, transparent);
}

.sidebar-nav {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0 10px 8px;
  overflow: auto;
  scrollbar-width: thin;
}

.sidebar-nav p {
  margin: 14px 8px 6px;
  color: var(--sidebar-muted);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.sidebar-nav button {
  justify-content: flex-start;
  width: 100%;
  min-height: 34px;
  margin: 2px 0;
  color: var(--sidebar-muted);
  background: transparent;
  border-color: transparent;
  font-size: 13px;
  gap: 9px;
}

.sidebar-nav button::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 2px;
  opacity: 0.62;
}

.sidebar-nav button:hover,
.sidebar-nav button.active {
  color: var(--sidebar-text);
  background: color-mix(in srgb, var(--surface) 62%, transparent);
  border-color: color-mix(in srgb, var(--line) 88%, transparent);
}

.sidebar-nav button.active::before {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

.sidebar-history {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 10px;
  padding-top: 8px;
  border-top: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  max-height: none;
  overflow: auto;
  scrollbar-width: thin;
}

.history-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 8px;
  color: var(--sidebar-text);
  background: transparent;
  border: 0;
  font-weight: 760;
}

.history-toggle > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-toggle small {
  flex: 0 0 auto;
}

.history-list {
  display: grid;
  gap: 6px;
  padding: 4px 6px 10px;
  overflow: visible;
}

.history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: center;
  gap: 5px;
}

.history-open,
.history-board .history-open,
.activity-timeline .history-open {
  display: grid;
  gap: 4px;
  width: 100%;
  padding: 10px;
  text-align: left;
  color: inherit;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition:
    transform 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease;
}

.history-open:hover {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
  box-shadow: 0 8px 20px color-mix(in srgb, var(--accent) 10%, transparent);
}

.history-open:active {
  transform: translateY(0);
}

.history-delete {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  min-width: 30px;
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 7px;
  opacity: 0.62;
  transition:
    opacity 0.12s ease,
    transform 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease,
    color 0.12s ease;
}

.history-delete:hover {
  opacity: 1;
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 42%, var(--line));
  background: color-mix(in srgb, var(--danger) 9%, var(--surface));
}

.history-delete:active {
  transform: translateY(1px);
}

.history-delete[disabled] {
  cursor: wait;
  opacity: 0.56;
}

.history-delete svg {
  display: block;
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.sidebar-history .history-open {
  color: var(--sidebar-text);
  background: color-mix(in srgb, var(--surface) 64%, transparent);
  border-color: color-mix(in srgb, var(--line) 86%, transparent);
}

.sidebar-history .history-delete {
  color: var(--sidebar-muted);
  background: color-mix(in srgb, var(--surface) 56%, transparent);
  border-color: color-mix(in srgb, var(--line) 82%, transparent);
}

.sidebar-history .history-delete:hover {
  color: #ffb8b8;
}

@media (hover: hover) and (pointer: fine) {
  .history-delete {
    opacity: 0;
  }

  .history-item:hover .history-delete,
  .history-item:focus-within .history-delete {
    opacity: 0.72;
  }

  .history-delete:hover,
  .history-delete:focus-visible {
    opacity: 1;
  }
}

.history-open[data-active="true"] {
  border-color: color-mix(in srgb, var(--accent) 48%, var(--line));
  background: color-mix(in srgb, var(--accent-soft) 78%, var(--surface));
}

.history-list .history-item:has(.history-delete[disabled]),
.history-board .history-item:has(.history-delete[disabled]) {
  opacity: 0.72;
}

.history-board {
  display: grid;
  gap: 6px;
}

.history-list .history-open strong,
.history-board .history-open strong,
.activity-timeline .history-open strong {
  min-width: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.28;
  word-break: break-word;
}

.history-list .history-open small,
.history-board .history-open small,
.activity-timeline .history-open small {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.history-list small,
.history-board small,
.activity-timeline small {
  color: var(--muted);
}

.sidebar-history .history-list small {
  color: var(--sidebar-muted);
}

.empty-hint {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.sidebar-history .empty-hint {
  color: var(--sidebar-muted);
  font-size: 12px;
}

.sidebar-account {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  flex: 0 0 auto;
  padding: 14px 16px 16px;
  border-top: 1px solid color-mix(in srgb, var(--line) 88%, transparent);
  background: color-mix(in srgb, var(--surface) 42%, transparent);
}

.sidebar-account div {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.sidebar-account button {
  min-height: 32px;
  color: var(--sidebar-text);
  background: color-mix(in srgb, var(--surface) 74%, transparent);
  border: 1px solid color-mix(in srgb, var(--line) 90%, transparent);
  border-radius: 7px;
}

.sidebar-account > div:first-child {
  grid-column: 1 / -1;
}

.sidebar-account strong {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

#sidebarSettingsToggle,
#sidebarLogin,
#logoutBtn {
  justify-content: center;
  min-width: 0;
  padding: 0 10px;
  font-size: 12px;
}

.sidebar-settings-popover {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(100% + 10px);
  z-index: 40;
  display: grid;
  gap: 8px;
  padding: 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.settings-popover-head {
  display: grid;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.settings-popover-head strong {
  color: var(--ink);
}

.settings-popover-head small {
  color: var(--muted);
}

.sidebar-settings-popover button {
  justify-content: flex-start;
  width: 100%;
  color: var(--ink-2);
  background: var(--surface-2);
  border-color: var(--line);
}

.sidebar-settings-popover label {
  display: grid;
  gap: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.sidebar-settings-popover select {
  width: 100%;
  min-height: 34px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.sidebar-accent-switch {
  justify-content: flex-start;
  padding-top: 2px;
}

.workspace-sidebar.collapsed {
  width: 76px;
}

.workspace-shell:has(.workspace-sidebar.collapsed) {
  grid-template-columns: 76px minmax(0, 1fr);
}

.workspace-sidebar.collapsed .sidebar-brand-copy,
.workspace-sidebar.collapsed .sidebar-primary,
.workspace-sidebar.collapsed .sidebar-nav p,
.workspace-sidebar.collapsed .sidebar-nav button,
.workspace-sidebar.collapsed .sidebar-history,
.workspace-sidebar.collapsed .sidebar-account div,
.workspace-sidebar.collapsed .sidebar-account button {
  display: none;
}

.workspace-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.workspace-topbar {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: minmax(176px, 240px) minmax(280px, 1fr) minmax(0, max-content);
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 0 16px 0 24px;
  background: color-mix(in srgb, var(--surface) 96%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.workspace-topbar > * {
  min-width: 0;
}

.workspace-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  justify-content: flex-end;
  overflow: visible;
  flex-wrap: wrap;
  row-gap: 6px;
}

.workspace-actions .icon-button {
  flex: 0 0 auto;
  min-height: 38px;
  padding: 0 12px;
  white-space: nowrap;
}

.workspace-actions .select-control.icon {
  flex: 0 1 148px;
  min-width: 124px;
  max-width: none;
  padding: 0 10px;
  white-space: nowrap;
}

.workspace-actions .select-control.icon select {
  width: 100%;
  min-width: 70px;
}

.workspace-actions .select-control.icon span {
  flex: 0 0 auto;
}

.workspace-actions .status-pill {
  flex: 0 0 auto;
}

.topbar-user {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
  max-width: 240px;
  min-height: 34px;
  padding: 0 10px;
  overflow: hidden;
  color: var(--ink-2);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.breadcrumb {
  display: grid;
  gap: 2px;
}

.breadcrumb span {
  color: var(--muted);
  font-size: 12px;
}

.breadcrumb strong {
  color: var(--ink);
}

.search-box {
  position: relative;
  display: block;
}

.search-box span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.search-box input {
  padding-left: 12px;
  background: var(--surface-2);
}

.topbar-user {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  min-width: max-content;
  max-width: 240px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 760;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topbar-user::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  margin-right: 8px;
  background: var(--accent);
  border-radius: 999px;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 14%, transparent);
}

body.workspace-mode .feedback-fab {
  right: 16px;
  bottom: 16px;
  width: 46px;
  height: 46px;
  min-width: 46px;
  padding: 0;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
}

body.workspace-mode .feedback-fab::before {
  content: "?";
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--accent);
  background: var(--accent-ink);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

body.workspace-mode .feedback-fab strong,
body.workspace-mode .feedback-fab span {
  display: none;
}

.workspace-content {
  flex: 1 1 auto;
  min-height: 0;
  padding: 24px 24px 92px;
  overflow-x: hidden;
  overflow-y: auto;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 4%, transparent), transparent 280px),
    transparent;
}

.workspace-content:has([data-workspace-panel="new-task"].active) {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  padding: 20px 24px 0;
  overflow: hidden;
  height: 100%;
}

.workspace-panel {
  display: none;
  width: min(1540px, 100%);
  max-width: 100%;
  min-width: 0;
  margin: 0 auto;
}

.workspace-panel.active {
  display: block;
}

.workspace-panel[data-workspace-panel="new-task"].active {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100%;
  max-height: 100%;
  width: min(1680px, 100%);
  min-height: 0;
  overflow: hidden;
}

.workspace-panel[data-workspace-panel="new-task"] .page-heading {
  flex: 0 0 auto;
}

.page-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.page-heading > .button,
.page-heading > .page-actions {
  flex: 0 0 auto;
  align-self: flex-start;
}

.page-heading > .button {
  white-space: nowrap;
}

.page-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  line-height: 1.15;
}

.page-heading p:not(.eyebrow) {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.metric-grid article {
  display: grid;
  gap: 8px;
  min-height: 126px;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top-color: var(--panel-top);
  box-shadow: 0 10px 26px rgba(17, 24, 28, 0.04);
}

.metric-grid span,
.panel-heading span,
.review-grid span,
.status-stack span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.metric-grid strong {
  color: var(--ink);
  font-size: 30px;
  line-height: 1;
}

.metric-grid small {
  color: var(--muted);
}

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

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

.quota-summary > div {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  min-height: 82px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.quota-summary span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  line-height: 1.25;
  text-wrap: pretty;
}

.quota-summary strong {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.05;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.quota-panel-compact {
  container-type: inline-size;
}

.quota-panel-compact .quota-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.quota-panel-compact .quota-summary > div {
  min-height: 68px;
  padding: 10px 11px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 3%, transparent), transparent),
    var(--surface-2);
}

.quota-panel-compact .quota-summary > div:first-child {
  position: relative;
  grid-column: 1 / -1;
  min-height: 86px;
  padding: 14px 16px;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 16%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 42%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 10%, var(--surface)), var(--surface-2));
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
}

.quota-panel-compact .quota-summary > div:first-child::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, transparent);
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px color-mix(in srgb, var(--accent) 8%, transparent);
}

.quota-panel-compact .quota-summary > div:first-child strong {
  font-size: 32px;
}

.quota-panel-compact .quota-summary > div:not(:first-child) strong {
  font-size: 21px;
}

.quota-panel-compact .hint {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 12px;
}

.quota-summary-overview {
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(120px, 0.75fr));
  align-items: stretch;
}

.quota-summary-overview.tight {
  grid-template-columns: minmax(220px, 1.35fr) repeat(3, minmax(120px, 0.75fr));
}

.quota-summary-overview > div:first-child {
  min-height: 112px;
  padding: 18px;
  background:
    radial-gradient(circle at 90% 12%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 42%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 9%, var(--surface)), var(--surface-2));
  border-color: color-mix(in srgb, var(--accent) 32%, var(--line));
}

.quota-summary-overview > div:first-child strong {
  font-size: 34px;
}

.hint {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.dashboard-grid,
.connector-grid,
.detail-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(520px, 1.15fr);
  gap: 16px;
}

.panel {
  padding: 18px;
  border-top-color: var(--panel-top);
}

.panel.wide {
  grid-column: 1 / -1;
}

.billing-grid {
  grid-template-columns: minmax(320px, 0.75fr) minmax(360px, 1fr);
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-heading h3 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
}

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

.quick-grid button {
  min-height: 72px;
  justify-content: flex-start;
  text-align: left;
  color: var(--ink-2);
  background: var(--surface-2);
  border-color: var(--line);
  position: relative;
  overflow: hidden;
}

.quick-grid button::after {
  content: "";
  position: absolute;
  inset: auto 12px 10px 12px;
  height: 2px;
  background: color-mix(in srgb, var(--accent) 42%, transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.16s ease;
}

.quick-grid button:hover::after {
  transform: scaleX(1);
}

.activity-timeline,
.history-board {
  display: grid;
  gap: 8px;
}

.billing-list {
  display: grid;
  gap: 10px;
}

.quota-product-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.quota-product-card strong {
  color: var(--ink);
  font-size: 15px;
}

.quota-product-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.payment-method-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.payment-method-row div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.payment-method-row small {
  color: var(--muted);
  line-height: 1.45;
}

.ledger-row {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ledger-row strong {
  color: var(--ink);
  font-size: 14px;
}

.ledger-row span,
.ledger-row small {
  color: var(--muted);
  font-size: 12px;
}

.admin-sidebar {
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  color: var(--sidebar-text);
  background: linear-gradient(180deg, var(--sidebar), var(--sidebar-2));
  border-right: 1px solid var(--line);
}

.admin-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100dvh;
}

.admin-topbar {
  grid-template-columns: minmax(180px, 240px) minmax(280px, 1fr) minmax(0, max-content);
}

.admin-content {
  overflow: auto;
}

.admin-panel-section {
  display: none;
}

.admin-panel-section.active {
  display: block;
}

.admin-users-panel {
  margin-top: 16px;
}

.admin-table {
  width: 100%;
  overflow: auto;
}

.admin-table table {
  width: 100%;
  min-width: 1280px;
  border-collapse: collapse;
}

.admin-table th,
.admin-table td {
  padding: 12px 10px;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.admin-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  text-transform: uppercase;
}

.admin-table td strong,
.admin-table td small {
  display: block;
}

.admin-table td small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.quota-adjust-form {
  display: flex;
  align-items: center;
  gap: 8px;
}

.quota-adjust-form input {
  width: 86px;
  min-height: 34px;
  padding: 0 8px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.admin-list {
  display: grid;
  gap: 10px;
}

.admin-list-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 18px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.admin-user-requests-panel,
.admin-ai-usage-panel {
  margin-top: 16px;
}

.request-list-item,
.ai-usage-list-item {
  align-items: start;
}

.ai-usage-meter {
  display: grid;
  grid-template-columns: repeat(3, minmax(82px, 1fr));
  gap: 8px;
  margin-top: 12px;
}

.ai-usage-meter span {
  display: grid;
  gap: 3px;
  padding: 9px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 11px;
}

.ai-usage-meter strong {
  font-size: 14px;
}

.request-snapshot {
  display: grid;
  gap: 6px;
  margin: 12px 0 0;
}

.request-snapshot dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.request-snapshot dd {
  margin: 0 0 6px;
  padding: 10px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.feedback-admin-form {
  display: grid;
  grid-template-columns: minmax(130px, 0.6fr) minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: end;
  margin-top: 12px;
}

.feedback-admin-form label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.feedback-admin-form input,
.feedback-admin-form select {
  width: 100%;
  min-height: 34px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 7px;
}

.admin-list-item strong {
  color: var(--ink);
  font-size: 15px;
}

.admin-list-item p {
  margin: 7px 0 0;
  color: var(--ink-2);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.admin-list-item small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.admin-list-meta {
  display: grid;
  justify-items: end;
  align-content: start;
  gap: 8px;
}

.library-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 14px;
}

.library-status-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
}

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

.toolbox-card {
  display: grid;
  gap: 12px;
  min-height: 240px;
}

.toolbox-card.available {
  border-color: color-mix(in srgb, var(--success) 24%, var(--line));
}

.toolbox-card.missing {
  border-color: color-mix(in srgb, var(--warning) 24%, var(--line));
}

.toolbox-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.toolbox-card-head > span:first-child {
  margin: 0;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 820;
}

.toolbox-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.toolbox-card dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.toolbox-card dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 10px;
}

.toolbox-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
}

.toolbox-card dd {
  min-width: 0;
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.toolbox-card > small {
  align-self: end;
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.chat-workbench {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 328px);
  gap: 16px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.chat-panel {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  position: relative;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 12px;
}

.chat-thread {
  min-height: 0;
  padding: 24px 24px 18px;
  overflow: auto;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 4%, transparent), transparent 220px),
    var(--surface);
  scrollbar-width: thin;
}

.chat-thread .empty-state {
  min-height: 100%;
}

.chat-thread .log-entry {
  width: min(820px, 100%);
  max-width: none;
  margin-right: auto;
  margin-left: auto;
  padding: 16px 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.chat-thread .log-entry.user {
  width: fit-content;
  max-width: min(680px, 82%);
  margin-right: max(0px, calc((100% - 820px) / 2));
  margin-left: auto;
  color: var(--ink);
  background: color-mix(in srgb, var(--accent-soft) 62%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 16px 16px 4px 16px;
}

.chat-thread .log-entry.assistant {
  color: var(--ink-2);
}

.chat-thread .log-entry p:first-child {
  margin-top: 0;
}

.chat-thread .log-entry p:last-child {
  margin-bottom: 0;
}

.chat-composer {
  display: grid;
  gap: 8px;
  position: sticky;
  bottom: 0;
  z-index: 8;
  width: min(880px, calc(100% - 32px));
  max-width: 100%;
  min-width: 0;
  margin: 0 auto 14px;
  padding: 10px 12px 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 18px 42px rgba(17, 24, 28, 0.12);
}

.chat-composer .composer-toolbar {
  display: none;
}

.composer-toolbar,
.composer-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.mode-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.mode-pills label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 10px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
}

.mode-pills label:has(input:checked) {
  color: var(--accent-strong);
  background: var(--accent-soft);
  border-color: var(--accent);
}

.mode-pills input {
  width: 14px;
  min-height: 14px;
}

.chat-composer textarea {
  height: 58px;
  min-height: 48px;
  max-height: 132px;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 15px;
  resize: none;
}

.chat-composer textarea:focus {
  border-color: transparent;
  box-shadow: none;
}

.composer-actions #taskFile {
  display: none;
}

.composer-actions {
  padding-top: 8px;
  border-top: 1px solid var(--line);
  flex-wrap: nowrap;
}

.composer-actions .upload-note {
  min-width: 0;
  flex: 1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.composer-actions .upload-progress {
  width: 100%;
  order: 5;
}

.chat-side {
  display: grid;
  gap: 16px;
  align-content: start;
  position: static;
  max-height: 100%;
  min-width: 0;
  max-width: 100%;
  overflow: auto;
  padding-bottom: 14px;
  scrollbar-width: thin;
}

.chat-side .panel {
  min-width: 0;
  max-width: 100%;
  padding: 14px;
}

.chat-side .panel-heading {
  margin-bottom: 10px;
}

.chat-side .execution-panel {
  display: none;
}

.task-status-entry {
  padding-top: 10px;
  padding-bottom: 10px;
}

.task-status-card {
  display: grid;
  gap: 14px;
  max-width: 820px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.task-status-head {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
}

.task-status-head strong {
  color: var(--ink);
  font-size: 15px;
}

.task-status-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.task-spinner {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border: 2px solid color-mix(in srgb, var(--accent) 26%, var(--line));
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: spin 0.82s linear infinite;
}

.task-status-card.done .task-spinner,
.task-status-card.background .task-spinner,
.task-status-card.error .task-spinner {
  animation: none;
}

.task-status-card.done .task-spinner {
  border-color: var(--success);
  background: var(--success);
  box-shadow: inset 0 0 0 4px var(--surface-2);
}

.task-status-card.background .task-spinner {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 18%, var(--surface-2));
  box-shadow: inset 0 0 0 5px var(--surface-2);
}

.task-status-card.error .task-spinner {
  border-color: var(--danger);
  background: var(--danger);
  box-shadow: inset 0 0 0 4px var(--surface-2);
}

.task-status-steps {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.task-status-steps li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
}

.task-status-steps li span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--subtle);
}

.task-status-steps li.done {
  color: var(--success);
}

.task-status-steps li.done span {
  background: var(--success);
}

.task-status-steps li.active {
  color: var(--accent-strong);
  font-weight: 760;
}

.task-status-steps li.active span {
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 14%, transparent);
}

.task-status-steps li.error {
  color: var(--danger);
}

.task-status-steps li.error span {
  background: var(--danger);
}

.task-final {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
}

.task-live-progress {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 22%, var(--line));
  border-radius: 8px;
}

.task-live-progress-title {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 820;
}

.task-live-progress-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 7px;
}

.task-live-progress-grid span {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 7px 8px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 16%, var(--line));
  border-radius: 7px;
}

.task-live-progress-grid em {
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-live-progress-grid strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 820;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.task-live-progress p {
  margin: 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.45;
}

.task-pipeline-summary {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  background: color-mix(in srgb, var(--accent) 6%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: 8px;
}

.task-pipeline-summary > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.task-pipeline-summary span {
  padding: 4px 7px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 740;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border-radius: 6px;
}

.task-pipeline-summary ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.compact-config {
  display: grid;
  gap: 10px;
}

.chat-side .compact-config {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.compact-config label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.chat-side .compact-config label {
  gap: 4px;
}

.chat-side .compact-config label span {
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 820;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.compact-config input,
.compact-config select {
  width: 100%;
  min-width: 0;
}

.chat-side .compact-config input,
.chat-side .compact-config select {
  min-height: 32px;
  padding: 0 8px;
  font-size: 12.5px;
}

.rule-list {
  display: grid;
  gap: 8px;
}

.rule-list label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  color: var(--ink-2);
}

.rule-list input {
  width: 16px;
  min-height: 16px;
}

.progress-list.compact {
  gap: 6px;
}

.progress-list.compact li {
  min-height: 30px;
  padding-top: 6px;
  padding-bottom: 6px;
  font-size: 12px;
}

.wizard-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.wizard-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 12px;
  color: var(--muted);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wizard-steps li span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--surface-3);
  font-weight: 840;
}

.wizard-steps li.active,
.wizard-steps li.done {
  color: var(--accent-strong);
  border-color: color-mix(in srgb, var(--accent) 42%, var(--line));
  background: var(--accent-soft);
}

.wizard-steps li.active span,
.wizard-steps li.done span {
  color: var(--accent-ink);
  background: var(--accent);
}

.task-wizard {
  display: grid;
  gap: 16px;
}

.wizard-page {
  display: none;
  padding: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.wizard-page.active {
  display: block;
}

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

.mode-grid label {
  position: relative;
  min-height: 126px;
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.mode-grid input {
  position: absolute;
  inset: 14px 14px auto auto;
  width: 18px;
  min-height: 18px;
}

.mode-grid strong {
  display: block;
  margin-top: 22px;
  color: var(--ink);
}

.mode-grid span {
  color: var(--muted);
  line-height: 1.5;
}

.mode-grid label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(360px, 0.8fr);
  gap: 16px;
}

.field-block {
  height: 100%;
}

.field-block textarea {
  height: 100%;
  min-height: 260px;
}

.upload-card {
  display: grid;
  gap: 10px;
}

.upload-card input[type="file"] {
  display: none;
}

.upload-surface {
  display: grid;
  place-items: center;
  min-height: 260px;
  padding: 24px;
  text-align: center;
  color: var(--muted);
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--line) 75%, transparent) 1px, transparent 1px),
    linear-gradient(color-mix(in srgb, var(--line) 75%, transparent) 1px, transparent 1px),
    var(--surface-2);
  background-size: 22px 22px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.upload-surface strong {
  color: var(--ink);
  font-size: 18px;
}

.upload-surface.dragging {
  border-color: var(--accent);
  background-color: var(--accent-soft);
}

.upload-note {
  min-height: 20px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.upload-note[data-tone="error"] {
  color: var(--danger);
}

.upload-note[data-tone="success"] {
  color: var(--success);
}

.upload-progress {
  display: none;
  height: 6px;
  overflow: hidden;
  background: var(--surface-3);
  border-radius: 999px;
}

.upload-progress.active {
  display: block;
}

.upload-progress span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

.check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.check-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.check-grid input {
  width: 16px;
  min-height: 16px;
}

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

.review-grid .panel {
  display: grid;
  gap: 8px;
  min-height: 110px;
}

.review-grid strong {
  color: var(--ink);
  line-height: 1.45;
}

.send-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 18px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.send-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.progress-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.progress-list li {
  position: relative;
  min-height: 34px;
  padding: 8px 10px 8px 34px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.progress-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 10px;
  height: 10px;
  transform: translateY(-50%);
  background: var(--subtle);
  border-radius: 999px;
}

.progress-list li.active {
  color: var(--accent-strong);
  border-color: var(--accent);
  background: var(--accent-soft);
}

.progress-list li.active::before {
  background: var(--accent);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 16%, transparent);
}

.progress-list li.done::before {
  background: var(--success);
}

.progress-list li.error {
  color: var(--danger);
  border-color: color-mix(in srgb, var(--danger) 44%, var(--line));
}

.progress-list li.error::before {
  background: var(--danger);
}

.output-list {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.output-list a,
.output-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 12px;
  color: var(--ink);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.output-list a > *,
.output-list div > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.log-stream {
  min-height: 360px;
  padding: 14px;
  overflow: auto;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.log-entry {
  max-width: 980px;
  margin: 0 0 12px;
  padding: 13px 14px;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.65;
}

.log-entry.user {
  margin-left: auto;
  background: var(--accent-soft);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}

.log-entry pre {
  overflow: auto;
  padding: 12px;
  background: var(--surface-3);
  border-radius: var(--radius);
}

.attachment-chip {
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  margin-top: 10px;
  padding: 7px 10px;
  color: var(--accent-strong);
  background: var(--accent-soft);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--line));
  border-radius: 999px;
  font-size: 12px;
  font-weight: 760;
  overflow-wrap: anywhere;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 300px;
  text-align: center;
  color: var(--muted);
}

.empty-state h3 {
  margin: 12px 0 0;
  color: var(--ink);
}

.brand-watermark,
.ghostmark {
  width: 58px;
  height: 58px;
  border: 1px solid color-mix(in srgb, var(--accent) 35%, var(--line));
  border-radius: 12px;
  background:
    linear-gradient(90deg, transparent 20%, color-mix(in srgb, var(--accent) 35%, transparent) 21% 28%, transparent 29%),
    linear-gradient(135deg, transparent 42%, color-mix(in srgb, var(--accent) 30%, transparent) 43% 56%, transparent 57%),
    radial-gradient(circle at 68% 30%, color-mix(in srgb, var(--blue) 28%, transparent) 0 12%, transparent 13%),
    var(--surface-3);
}

.connector-status-card {
  position: relative;
  overflow: hidden;
}

.connector-status-card .ghostmark {
  position: absolute;
  right: 18px;
  top: 18px;
  opacity: 0.45;
}

.status-stack {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.status-stack div {
  display: grid;
  gap: 5px;
  padding: 12px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.status-stack strong {
  color: var(--ink);
}

.connector-log {
  display: grid;
  gap: 8px;
  padding: 14px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.connector-log p {
  margin: 0;
}

.toolbar-row {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 180px 180px;
  gap: 10px;
  margin-bottom: 14px;
}

.resource-grid article {
  min-height: 130px;
}

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

.settings-grid .panel {
  display: grid;
  gap: 12px;
}

.settings-grid h3,
.placeholder-panel h2 {
  margin: 0;
}

.placeholder-panel {
  min-height: 320px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feedback-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: grid;
  gap: 3px;
  min-width: 210px;
  padding: 13px 16px;
  text-align: left;
  color: var(--accent-ink);
  background: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 70%, #000);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feedback-fab strong {
  font-size: 13px;
}

.feedback-fab span {
  font-size: 12px;
  opacity: 0.86;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(7, 12, 15, 0.58);
}

.modal {
  position: relative;
  width: min(960px, 100%);
  max-height: min(760px, calc(100dvh - 48px));
  overflow: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.auth-modal {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1fr);
}

.feedback-modal {
  width: min(560px, 100%);
  padding: 26px;
}

.policy-modal {
  width: min(720px, 100%);
  padding: 28px;
}

.confirm-modal {
  width: min(480px, 100%);
  padding: 28px;
}

.history-confirm-modal {
  width: min(500px, calc(100vw - 40px));
  padding: 0;
  overflow: hidden;
  border-color: color-mix(in srgb, var(--line) 86%, transparent);
  box-shadow: 0 30px 90px rgba(17, 24, 28, 0.2);
}

.history-confirm-header {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  padding: 30px 30px 0;
}

.history-confirm-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--danger);
  background: color-mix(in srgb, var(--danger) 8%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--danger) 18%, var(--line));
  border-radius: var(--radius);
}

.history-confirm-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.history-confirm-heading {
  display: grid;
  gap: 7px;
  min-width: 0;
  padding: 1px 44px 0 0;
}

.history-confirm-heading .eyebrow {
  margin: 0;
  color: var(--danger);
  font-size: 11px;
}

.history-confirm-heading h2 {
  margin: 0;
  font-size: 22px;
  line-height: 1.18;
  text-wrap: balance;
}

.history-confirm-heading p:not(.eyebrow) {
  margin: 0;
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.65;
}

.history-delete-preview {
  display: grid;
  gap: 6px;
  margin: 22px 30px 0;
  padding: 15px 16px 14px;
  color: var(--ink);
  background: color-mix(in srgb, var(--danger) 4%, var(--surface-2));
  border: 1px solid color-mix(in srgb, var(--danger) 18%, var(--line));
  border-left: 3px solid color-mix(in srgb, var(--danger) 76%, var(--line));
  border-radius: var(--radius);
}

.history-delete-preview:empty {
  display: none;
}

.history-delete-preview span {
  color: var(--danger);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}

.history-delete-preview strong {
  overflow: hidden;
  display: -webkit-box;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.32;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  word-break: break-word;
}

.history-delete-preview small {
  color: var(--muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.history-confirm-modal .confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding: 20px 30px 30px;
}

.history-confirm-modal .form-error {
  margin: -18px 30px 24px;
}

.history-confirm-modal .modal-close {
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  background: color-mix(in srgb, var(--surface-2) 86%, transparent);
  border-color: color-mix(in srgb, var(--line) 86%, transparent);
  font-size: 20px;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 22px;
}

.button.danger {
  color: #fff;
  background: #b42318;
  border-color: #b42318;
}

.button.danger:hover {
  background: #9f1f17;
  border-color: #9f1f17;
}

.policy-content {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.policy-section {
  padding: 16px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.policy-section h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 15px;
}

.policy-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 13px;
}

.modal-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 7px;
  font-size: 22px;
}

.modal-brand {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 30px;
  color: #e8f2f3;
  background:
    linear-gradient(145deg, rgba(0, 124, 120, 0.3), transparent 56%),
    #121a1f;
}

.modal-brand h2 {
  margin: 26px 0 0;
  color: #fff;
  font-size: 31px;
  line-height: 1.1;
}

.modal-brand p {
  color: #aebfc5;
  line-height: 1.7;
}

.modal-panel {
  padding: 34px;
}

.modal-panel h2,
.modal-heading h2 {
  margin: 0;
}

.modal-heading p:not(.eyebrow) {
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1440px) {
  .workspace-topbar {
    grid-template-columns: minmax(170px, 220px) minmax(0, 1fr);
    grid-template-rows: auto auto;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .breadcrumb {
    grid-column: 1;
    grid-row: 1;
  }

  .workspace-actions {
    grid-column: 2;
    grid-row: 1;
    flex-wrap: wrap;
    row-gap: 6px;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 1320px) {
  .top-nav {
    grid-template-columns: auto auto;
  }

  .product-nav {
    display: none;
  }

  .hero-shell,
  .auth-route-shell {
    grid-template-columns: 1fr;
  }

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

  .workspace-topbar {
    grid-template-columns: minmax(160px, 220px) minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .breadcrumb {
    grid-column: 1;
    grid-row: 1;
  }

  .workspace-actions {
    grid-column: 2;
    grid-row: 1;
  }

  .search-box {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .workspace-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .chat-side {
    position: static;
  }
}

@media (max-width: 1180px) {
  .chat-workbench {
    grid-template-columns: 1fr;
  }

  .chat-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: none;
    overflow: visible;
  }

  .chat-side .execution-panel,
  .chat-side .output-panel {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .top-nav,
  .hero-shell,
  .content-band {
    width: 100%;
    padding-right: 18px;
    padding-left: 18px;
  }

  .top-nav {
    grid-template-columns: 1fr;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .workspace-shell.active {
    display: block;
    height: auto;
  }

  .admin-console.active {
    display: block;
  }

  .workspace-sidebar {
    display: none;
  }

  .admin-sidebar {
    display: none;
  }

  .workspace-topbar,
  .workspace-content {
    padding-right: 16px;
    padding-left: 16px;
  }

  .workspace-topbar {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .breadcrumb,
  .workspace-actions,
  .search-box {
    grid-column: 1;
    grid-row: auto;
  }

  .workspace-actions {
    justify-content: flex-start;
  }

  .metric-grid,
  .dashboard-grid,
  .connector-grid,
  .detail-grid,
  .chat-workbench,
  .two-column,
  .mode-grid,
  .config-grid,
  .check-grid,
  .review-grid,
  .settings-grid,
  .split-band,
  .support-band,
  .toolbar-row,
    .auth-modal {
    grid-template-columns: 1fr;
  }

  .page-heading,
  .send-card {
    display: grid;
  }

  .chat-side {
    grid-template-columns: 1fr;
  }

  .chat-side .compact-config {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) and (min-width: 821px) {
  body.workspace-mode .workspace-shell.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100dvh;
    overflow: hidden;
  }

  body.workspace-mode .workspace-main {
    height: 100dvh;
    overflow: hidden;
  }

  .workspace-content:has([data-workspace-panel="new-task"].active) .chat-workbench {
    grid-template-columns: minmax(0, 1fr) minmax(252px, 300px);
  }

  .workspace-content:has([data-workspace-panel="new-task"].active) .chat-side {
    display: grid;
    grid-template-columns: 1fr;
    max-height: 100%;
    overflow: auto;
  }
}

@media (max-width: 560px) {
  .modal-backdrop {
    padding: 14px;
  }

  .history-confirm-modal {
    width: min(100%, calc(100vw - 28px));
  }

  .history-confirm-header {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    padding: 24px 22px 0;
  }

  .history-confirm-icon {
    width: 38px;
    height: 38px;
  }

  .history-confirm-heading {
    padding-right: 34px;
  }

  .history-confirm-heading h2 {
    font-size: 20px;
  }

  .history-delete-preview {
    margin: 18px 22px 0;
  }

  .history-confirm-modal .confirm-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 18px 22px 24px;
  }
}

@media (max-width: 980px) {
  body.workspace-mode .workspace-shell.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    height: 100dvh;
    overflow: hidden;
  }

  body.workspace-mode .workspace-main {
    height: 100dvh;
    min-height: 0;
    overflow: hidden;
  }

  body.workspace-mode .workspace-content {
    min-height: 0;
    height: 100%;
    overflow: hidden;
  }
}

@media (max-width: 820px) {
  .workspace-content:has([data-workspace-panel="new-task"].active) {
    padding: 12px 12px 0;
  }

  .workspace-panel[data-workspace-panel="new-task"].active {
    grid-template-rows: minmax(0, 1fr);
  }

  .workspace-panel[data-workspace-panel="new-task"] .page-heading {
    display: none;
  }

  .workspace-content:has([data-workspace-panel="new-task"].active) .chat-workbench {
    grid-template-columns: 1fr;
  }

  .workspace-content:has([data-workspace-panel="new-task"].active) .chat-side {
    display: none;
  }

  .chat-composer {
    width: calc(100% - 16px);
    margin-bottom: 8px;
    padding: 12px;
  }
}

@media (max-width: 680px) {
  .hero-copy h1 {
    font-size: 44px;
  }

  .capability-grid,
  .process-grid,
  .resource-grid,
  .industry-list,
  .wizard-steps,
  .two-field,
  .auth-flow-strip {
    grid-template-columns: 1fr;
  }

  .auth-route-shell {
    width: 100%;
    padding: 18px;
  }

  .auth-brand-panel {
    min-height: 360px;
  }

  .feedback-fab {
    right: 14px;
    bottom: 14px;
    min-width: 170px;
  }
}
