:root {
  --color-background: #f7f9fb;
  --color-surface: #ffffff;
  --color-surface-muted: #f2f4f6;
  --color-surface-strong: #eceef0;
  --color-border: #cbd5e1;
  --color-text: #191c1e;
  --color-text-muted: #64748b;
  --color-heading: #334155;
  --color-primary: #004ac6;
  --color-primary-strong: #2563eb;
  --color-primary-ink: #ffffff;
  --color-tertiary: #00788c;
  --color-success: #16a34a;
  --color-warning: #f59e0b;
  --color-error: #ef4444;
  --radius-card: 16px;
  --radius-control: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 48px;
  --shadow-card: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 10px 15px -3px rgba(15, 23, 42, 0.12);
  --gradient-ai: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32%),
    linear-gradient(180deg, #fbfcfe 0%, var(--color-background) 22%, #f3f6fa 100%);
  color: var(--color-text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

.material-symbols-outlined {
  font-variation-settings: "FILL" 0, "wght" 500, "GRAD" 0, "opsz" 24;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

button,
input,
textarea,
select,
a {
  font: inherit;
}

button,
a.button {
  border: 0;
  cursor: pointer;
  text-decoration: none;
}

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

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--radius-control);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text);
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid rgba(0, 74, 198, 0.2);
  outline-offset: 2px;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

textarea {
  resize: vertical;
  min-height: 220px;
}

code,
pre {
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
  padding: var(--space-3);
  border-radius: 12px;
  background: #0f172a;
  color: #e2e8f0;
  font-size: 13px;
}

h1,
h2,
h3,
h4,
.brand,
.sidebar-title {
  font-family: "Manrope", sans-serif;
  margin: 0;
  color: var(--color-heading);
}

h1 {
  font-size: 36px;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-size: 24px;
  line-height: 1.3;
  font-weight: 600;
}

h3 {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
}

p,
li,
dd,
dt,
label,
small,
span {
  line-height: 1.6;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;

}

.page-main {
  flex: 1;
  min-height: 0;
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 80px;
  padding: 16px 64px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(14px);
}

.topbar-left,
.topbar-right,
.brand-lockup {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 40px;
}

.header-logo-image {
  display: block;
  width: auto;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

.topbar-right {
  gap: 12px;
}

.brand {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 800;
}

.brand-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.topbar-nav {
  display: flex;
  gap: 24px;
  align-items: stretch;
}

.topbar-nav-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 4px;
  color: var(--color-text-muted);
  background: transparent;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: 14px;
  font-weight: 500;
}

.topbar-nav-button:hover {
  color: var(--color-primary);
}

.topbar-nav-button.is-active {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

.icon-symbol {
  font-size: 20px;
}

.shell-utility-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(236, 238, 240, 0.9);
  border: 1px solid rgba(203, 213, 225, 0.8);
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 500;
}

.shell-utility-chip:hover {
  background: rgba(224, 227, 229, 0.92);
}

.shell-utility-badge,
.avatar-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}

.shell-utility-badge {
  background: var(--color-primary-strong);
  color: var(--color-primary-ink);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: transparent;
  color: var(--color-text-muted);
}

.icon-button:hover {
  background: rgba(241, 245, 249, 0.92);
  color: var(--color-primary);
}

.avatar-shell {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  background: linear-gradient(135deg, #e0ebff 0%, #f4f7fb 100%);
  color: var(--color-primary);
}

.shell-body {
  display: grid;
  grid-template-columns: 264px minmax(0, 1fr);
  min-height: 100%;
}

.sidebar {
  position: sticky;
  top: 80px;
  height: calc(100vh - 80px);
  padding: 32px 16px 24px;
  border-right: 1px solid var(--color-border);
  background: rgba(247, 249, 251, 0.88);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-header {
  padding: 0 8px;
}

.sidebar-title {
  font-size: 20px;
}

.sidebar-copy {
  color: var(--color-text-muted);
  font-size: 14px;
}

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

.sidebar-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  color: var(--color-heading);
  font-weight: 500;
}

.sidebar-list-item.active {
  background: rgba(37, 99, 235, 0.14);
  color: var(--color-primary-strong);
  font-weight: 600;
}

.shell-main {
  padding: 32px 48px 64px;
  display: grid;
  gap: 24px;
  max-width: 1280px;
  width: 100%;
}

.shell-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 20px 48px 24px;
  border-top: 1px solid rgba(203, 213, 225, 0.88);
  background: rgba(255, 255, 255, 0.7);
  color: var(--color-text-muted);
  backdrop-filter: blur(10px);
}

.shell-footer-copyblock {
  display: grid;
  gap: 4px;
}

.shell-footer-title,
.shell-footer-copy {
  margin: 0;
}

.shell-footer-title {
  color: var(--color-heading);
  font-size: 14px;
  font-weight: 600;
}

.shell-footer-copy {
  font-size: 13px;
}

.shell-footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.shell-footer-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(236, 238, 240, 0.92);
  border: 1px solid rgba(203, 213, 225, 0.8);
  font-size: 12px;
  font-weight: 600;
}

.hero-panel,
.panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

.hero-panel {
  padding: 32px;
}

.hero-panel p {
  max-width: 72ch;
  color: var(--color-text-muted);
  margin: 12px 0 0;
}

.hero-panel-processing {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.08)), var(--color-surface);
}

.hero-panel-success {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.12), rgba(37, 99, 235, 0.08)), var(--color-surface);
}

.hero-panel-warning {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.16), rgba(255, 255, 255, 1)), var(--color-surface);
}

.hero-panel-error {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.12), rgba(255, 255, 255, 1)), var(--color-surface);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-tertiary);
}

.eyebrow-gradient {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
}

.layout-two-column,
.results-layout,
.success-layout,
.processing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 0.9fr);
  gap: 24px;
}

.main-column,
.side-column {
  display: grid;
  gap: 24px;
}

.side-column {
  align-content: start;
}

.form-panel,
.panel-dark,
.panel-muted,
.error-panel,
.warning-panel,
.sharelink-panel,
.result-meta-panel {
  padding: 24px;
}

.panel-dark {
  background: #0f172a;
  color: #e2e8f0;
  border-color: #1e293b;
}

.panel-dark h2,
.panel-dark h3,
.panel-dark .eyebrow,
.panel-dark strong,
.panel-dark code {
  color: #f8fafc;
}

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

.nested-panel {
  margin-top: 16px;
}

.panel-header {
  display: grid;
  gap: 4px;
  margin-bottom: 16px;
}

.field-group,
.mode-selector {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.field-group span,
.mode-selector legend,
.workspace-picker legend {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-heading);
}

.field-error {
  margin: 0;
  font-size: 13px;
  color: var(--color-error);
}

.mode-selector {
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
}

.mode-selector-invalid {
  border-color: rgba(239, 68, 68, 0.45);
}

.mode-selector label,
.workspace-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 14px;
  background: var(--color-surface-muted);
}

.mode-selector label + label,
.workspace-option + .workspace-option {
  margin-top: 12px;
}

.mode-selector small,
.workspace-option small,
.empty-state,
.panel-note {
  color: var(--color-text-muted);
  font-size: 14px;
}

.workspace-option-selected {
  border: 1px solid rgba(37, 99, 235, 0.35);
  background: rgba(37, 99, 235, 0.08);
}

.workspace-options {
  display: grid;
  gap: 12px;
}

.workspace-picker {
  border: 0;
  padding: 0;
  margin: 0;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.cta-row.compact {
  margin-top: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 12px;
  font-weight: 600;
}

.button-primary {
  background: var(--color-primary);
  color: var(--color-primary-ink);
}

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

.button-secondary {
  background: var(--color-surface);
  color: var(--color-heading);
  border: 1px solid var(--color-border);
}

.button-secondary:hover {
  background: var(--color-surface-muted);
}

.meta-grid,
.stage-list,
.bullet-list {
  margin: 0;
  padding: 0;
}

.meta-grid {
  display: grid;
  gap: 12px;
}

.meta-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.meta-row dt {
  color: var(--color-text-muted);
  font-size: 13px;
  font-weight: 600;
}

.meta-row dd {
  margin: 0;
}

.stage-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.stage-list li {
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: 14px;
  background: var(--color-surface-muted);
}

.panel-dark .stage-list li {
  background: rgba(148, 163, 184, 0.12);
}

.stage-list.compact li {
  padding: 12px 14px;
}

.bullet-list {
  list-style: disc;
  padding-left: 20px;
  display: grid;
  gap: 8px;
}

.artifact-grid {
  display: grid;
  gap: 24px;
}

.section-divider {
  height: 1px;
  background: var(--color-border);
  margin: 16px 0;
}

.attempt-card {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  background: var(--color-surface-muted);
  display: grid;
  gap: 12px;
}

.attempt-card + .attempt-card {
  margin-top: 12px;
}

.attempt-card header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.attempt-success {
  border-color: rgba(22, 163, 74, 0.24);
}

.attempt-error {
  border-color: rgba(239, 68, 68, 0.24);
}

.confidence-panel {
  padding: 24px;
}

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

.confidence-metrics div {
  padding: 16px;
  background: var(--color-surface-muted);
  border-radius: 14px;
}

.confidence-metrics span {
  display: block;
  color: var(--color-text-muted);
  font-size: 13px;
}

.confidence-metrics strong {
  display: block;
  margin-top: 4px;
  font-size: 16px;
}

.confidence-high {
  border-color: rgba(22, 163, 74, 0.28);
}

.confidence-medium {
  border-color: rgba(245, 158, 11, 0.3);
}

.confidence-low {
  border-color: rgba(239, 68, 68, 0.28);
}

.progress-track {
  height: 12px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
  margin: 16px 0 20px;
}

.progress-bar {
  height: 100%;
  background: var(--gradient-ai);
}

.timeline-card,
.sharelink-box {
  padding: 18px;
  border-radius: 16px;
  background: var(--color-surface-muted);
}

.sharelink-box {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

.future-banner {
  border-style: dashed;
}

.briefing-page {
  display: grid;
  gap: 28px;
  max-width: 980px;
}

.briefing-header-block {
  display: grid;
  gap: 10px;
}

.briefing-header-copy {
  max-width: 680px;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 16px;
}

.briefing-form-card {
  display: grid;
  gap: 24px;
  padding: 28px 32px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 28px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.08);
}

.briefing-form-topline {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.inline-field,
.workspace-inline-field {
  display: grid;
  gap: 8px;
}

.inline-field-grow {
  min-width: 0;
}

.inline-field-label {
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.inline-input,
.workspace-inline-input {
  padding: 0 0 8px;
  border: 0;
  border-bottom: 1px solid rgba(203, 213, 225, 1);
  border-radius: 0;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
}

.inline-input:focus,
.workspace-inline-input:focus {
  border-bottom-width: 2px;
  box-shadow: none;
}

.workspace-inline-field {
  padding-bottom: 8px;
}

.workspace-inline-input {
  font-size: 15px;
  font-weight: 500;
}

.conversation-stack {
  display: grid;
  gap: 24px;
  min-height: 220px;
  padding: 8px 0;
}

.assistant-message-row {
  display: flex;
  gap: 16px;
  max-width: 760px;
}

.assistant-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: var(--color-primary);
  color: var(--color-primary-ink);
  flex-shrink: 0;
}

.assistant-bubble {
  padding: 20px 22px;
  border-radius: 24px 24px 24px 6px;
  background: rgba(242, 244, 246, 0.96);
  border: 1px solid rgba(224, 227, 229, 0.95);
}

.assistant-bubble p {
  margin: 0;
}

.assistant-bubble p + p {
  margin-top: 10px;
  color: var(--color-text-muted);
}

.chat-message-placeholder {
  min-height: 72px;
}

.composer-shell {
  display: grid;
  gap: 12px;
  padding: 8px;
  border-radius: 24px;
  border: 1px solid rgba(226, 232, 240, 0.98);
  background: linear-gradient(180deg, rgba(249, 250, 251, 0.95), rgba(255, 255, 255, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.composer-textarea-wrap {
  display: block;
}

.chat-textarea {
  min-height: 128px;
  padding: 20px;
  border: 0;
  background: transparent;
  resize: vertical;
}

.chat-textarea:focus {
  box-shadow: none;
}

.composer-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  padding: 12px 16px 10px;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
}

.composer-toolbar-left,
.composer-toolbar-right,
.composer-actions,
.output-mode-options {
  display: flex;
  align-items: center;
}

.composer-toolbar-left {
  gap: 14px;
  flex-wrap: wrap;
}

.composer-toolbar-right {
  gap: 16px;
}

.attach-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.96);
  color: var(--color-text-muted);
}

.attach-button:hover {
  background: rgba(226, 232, 240, 0.96);
  color: var(--color-primary);
}

.toolbar-divider {
  width: 1px;
  height: 18px;
  background: rgba(203, 213, 225, 1);
}

.output-mode-group {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.output-mode-group legend {
  padding: 0;
  color: var(--color-text-muted);
  font-size: 12px;
  font-weight: 600;
}

.output-mode-options {
  gap: 10px;
  flex-wrap: wrap;
}

.output-mode-option {
  position: relative;
  display: inline-flex;
  min-width: 190px;
  padding: 12px 14px;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.96);
  background: rgba(255, 255, 255, 0.88);
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.output-mode-option:hover {
  border-color: rgba(37, 99, 235, 0.32);
  transform: translateY(-1px);
}

.output-mode-option.is-selected {
  border-color: rgba(37, 99, 235, 0.45);
  background: rgba(37, 99, 235, 0.08);
}

.output-mode-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.output-mode-option span {
  display: grid;
  gap: 4px;
}

.output-mode-option strong {
  color: var(--color-heading);
  font-size: 14px;
}

.output-mode-option small {
  color: var(--color-text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.character-count {
  color: var(--color-text-muted);
  font-size: 12px;
}

.character-count-valid {
  color: var(--color-success);
}

.character-count-invalid {
  color: var(--color-error);
}

.composer-actions {
  gap: 10px;
}

.button-compact {
  min-height: 44px;
}

.button-icon {
  min-width: 48px;
  padding: 0 14px;
  border-radius: 16px;
}

.composer-disclaimer {
  margin: 0;
  color: rgba(100, 116, 139, 0.9);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
}

.section-heading-block h2 {
  font-size: 20px;
}

.support-section {
  display: grid;
  gap: 18px;
}

.support-section-spacious {
  padding-top: 8px;
}

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

.support-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.05);
}

.support-card h3,
.support-card p {
  margin: 0;
}

.support-card p {
  color: var(--color-text-muted);
  font-size: 14px;
}

.support-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(241, 245, 249, 0.96);
  color: var(--color-primary);
}

.support-card-accent .support-card-icon,
.support-card-icon-accent {
  background: rgba(37, 99, 235, 0.1);
}

.support-card:hover {
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--color-background);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 64px;
  padding: 0 64px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

.topbar-left,
.topbar-right,
.brand-lockup,
.topbar-nav,
.shell-footer,
.shell-footer-meta,
.wizard-panel-header,
.wizard-panel-title-wrap,
.wizard-status-chip,
.wizard-composer-toolbar,
.wizard-composer-meta,
.wizard-composer-actions,
.wizard-module-header,
.wizard-module-child,
.wizard-summary-actions,
.wizard-ai-banner,
.wizard-live-chip,
.operator-agent-rail-header,
.operator-agent-stage-head,
.operator-agent-stage-icon-wrap {
  display: flex;
  align-items: center;
}

.topbar-left {
  gap: 32px;
}

.topbar-right {
  gap: 16px;
}

.brand-lockup {
  gap: 12px;
}

.brand {
  margin: 0;
  font-family: "Manrope", sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: #003594;
}

.brand-subtitle {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 14px;
}

.topbar-nav {
  gap: 24px;
}

.topbar-nav-button {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0;
  background: transparent;
  color: #5c5f61;
  font-size: 16px;
  font-weight: 400;
}

.topbar-nav-button:hover,
.topbar-nav-button.is-active {
  color: #003594;
}

.shell-utility-chip-ghost {
  min-height: 40px;
  padding: 0 16px;
  background: transparent;
  border: 0;
  color: #5c5f61;
  border-radius: 12px;
}

.shell-utility-chip-ghost:hover {
  background: rgba(241, 245, 249, 0.9);
}

.avatar-shell {
  overflow: hidden;
  background: linear-gradient(135deg, #e5ebf6 0%, #cbd5e1 100%);
}

.page-main {
  flex: 1;
  padding: 32px 64px;
}

.shell-main-wrap {
  display: grid;
  gap: 24px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}

.shell-main {
  width: 100%;
}

.shell-footer {
  justify-content: space-between;
  gap: 24px;
  padding: 24px 64px;
  border-top: 1px solid #e2e8f0;
  background: #fff;
}

.shell-footer-copyblock {
  display: grid;
  gap: 4px;
}

.shell-footer-title,
.shell-footer-copy {
  margin: 0;
}

.shell-footer-title {
  font-size: 18px;
  font-weight: 700;
  color: #003594;
}

.shell-footer-copy {
  font-size: 13px;
  color: #64748b;
}

.shell-footer-meta {
  gap: 24px;
  flex-wrap: wrap;
}

.shell-footer-meta span {
  color: #64748b;
  font-size: 13px;
}

.wizard-page,
.wizard-form,
.wizard-project-setup,
.wizard-section-heading,
.wizard-project-grid,
.wizard-dashboard-grid,
.wizard-chat-panel,
.wizard-chat-history,
.wizard-composer,
.wizard-preview-panel,
.wizard-preview-content,
.wizard-summary-card,
.wizard-summary-metrics,
.wizard-ai-banner-copy,
.wizard-module-children,
.operator-resume-banner,
.operator-resume-banner-copy,
.operator-resume-banner-actions,
.wizard-wbs-title-wrap,
.wizard-wbs-title-row,
.wizard-wbs-content,
.wizard-wbs-metrics,
.wizard-wbs-metric,
.wizard-wbs-node,
.wizard-wbs-node-body,
.wizard-wbs-node-title-wrap,
.wizard-wbs-node-row,
.wizard-wbs-children {
  display: grid;
}

.wizard-page {
  gap: 24px;
}

.operator-agent-rail,
.operator-agent-stage,
.operator-agent-stage-copy,
.operator-reasoning-feed,
.operator-reasoning-bubble {
  display: grid;
}

.operator-agent-rail {
  gap: 20px;
  padding: 24px;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
}

.operator-agent-rail-header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.operator-agent-rail-header p {
  margin: 8px 0 0;
  max-width: 72ch;
  color: #64748b;
}

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

.operator-agent-stage {
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.operator-agent-stage-active {
  border-color: rgba(37, 99, 235, 0.24);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.94));
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.1);
}

.operator-agent-stage-completed {
  border-color: rgba(22, 163, 74, 0.22);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94));
}

.operator-agent-stage-pending {
  opacity: 0.78;
}

.operator-agent-stage-head {
  justify-content: space-between;
  gap: 12px;
}

.operator-agent-stage-icon-wrap {
  gap: 10px;
}

.operator-agent-stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.9);
}

.operator-agent-stage-icon {
  color: #003594;
}

.operator-agent-stage-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.operator-agent-stage-active .operator-agent-stage-status {
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

.operator-agent-stage-completed .operator-agent-stage-status {
  background: rgba(22, 163, 74, 0.12);
  color: #15803d;
}

.operator-agent-stage-copy {
  gap: 6px;
}

.operator-agent-stage-copy strong {
  color: #191c1e;
  font-size: 15px;
}

.operator-agent-stage-copy p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.55;
}

.operator-reasoning-feed {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.operator-reasoning-bubble {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  border: 1px solid rgba(214, 223, 236, 0.92);
  background: rgba(255, 255, 255, 0.9);
}

.operator-reasoning-bubble .icon-symbol {
  margin-top: 1px;
  color: #2563eb;
}

.operator-reasoning-bubble p {
  margin: 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.55;
}

.operator-reasoning-bubble-active {
  border-color: rgba(37, 99, 235, 0.24);
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.operator-reasoning-bubble-supporting {
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.94));
}

.operator-reasoning-bubble-muted {
  opacity: 0.9;
}

.operator-resume-banner {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(203, 213, 225, 0.92);
  background: rgba(255, 255, 255, 0.92);
}

.operator-resume-banner-success {
  border-color: rgba(22, 163, 74, 0.22);
  background: linear-gradient(180deg, rgba(240, 253, 244, 0.96), rgba(255, 255, 255, 0.94));
}

.operator-resume-banner-warning {
  border-color: rgba(245, 158, 11, 0.28);
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.96), rgba(255, 255, 255, 0.94));
}

.operator-resume-banner-copy {
  gap: 6px;
}

.operator-resume-banner-copy strong {
  color: #191c1e;
  font-size: 15px;
}

.operator-resume-banner-copy p,
.operator-resume-banner-request {
  margin: 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.55;
}

.operator-resume-banner-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.06);
  color: #003594;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-form {
  gap: 24px;
}

.wizard-wbs-surface {
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 250, 252, 0.98));
}

.wizard-wbs-header {
  align-items: flex-start;
  background: #fff;
}

.wizard-wbs-title-wrap {
  gap: 12px;
}

.wizard-wbs-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.wizard-wbs-ai-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(6, 182, 212, 0.24);
  background: rgba(6, 182, 212, 0.08);
  color: #0891b2;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.wizard-wbs-project-name {
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.wizard-wbs-metrics {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  min-width: min(100%, 360px);
  padding: 10px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 18px;
  background: rgba(248, 250, 252, 0.92);
}

.wizard-wbs-metric {
  gap: 4px;
  padding: 4px 8px;
  border-right: 1px solid rgba(203, 213, 225, 0.9);
}

.wizard-wbs-metric:last-child {
  border-right: 0;
}

.wizard-wbs-metric span {
  color: #64748b;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-wbs-metric strong {
  color: #0f172a;
  font-size: 18px;
}

.wizard-wbs-content {
  gap: 20px;
  background: rgba(248, 250, 252, 0.72);
}

.wizard-wbs-node {
  gap: 14px;
}

.wizard-wbs-node-section {
  border: 1px solid rgba(203, 213, 225, 0.92);
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}

.wizard-wbs-node-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.wizard-wbs-node-header-section {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.92);
  background: rgba(255, 255, 255, 0.98);
}

.wizard-wbs-node-header-module {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(241, 245, 249, 0.96);
}

.wizard-wbs-node-title-wrap {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.wizard-wbs-node-title-wrap strong,
.wizard-wbs-node-row strong,
.wizard-wbs-node-row span {
  color: #0f172a;
}

.wizard-wbs-node-icon {
  color: #475569;
}

.wizard-wbs-node-body {
  gap: 16px;
  padding: 18px 20px 20px;
}

.wizard-wbs-node-module {
  padding: 16px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
}

.wizard-wbs-node-body-module {
  padding: 0;
}

.wizard-wbs-node-feature {
  gap: 10px;
}

.wizard-wbs-node-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.wizard-wbs-node-row-feature {
  padding: 12px 14px;
  border: 1px solid rgba(226, 232, 240, 0.94);
  border-radius: 12px;
  background: rgba(248, 250, 252, 0.82);
}

.wizard-wbs-node-row-task {
  padding-left: 18px;
}

.wizard-wbs-level-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.wizard-wbs-level-badge-section {
  background: rgba(226, 232, 240, 0.92);
  color: #475569;
}

.wizard-wbs-level-badge-module {
  border: 1px solid rgba(226, 232, 240, 0.94);
  background: rgba(248, 250, 252, 0.92);
  color: #64748b;
}

.wizard-wbs-level-badge-feature {
  color: #94a3b8;
}

.wizard-wbs-level-badge-task {
  color: #94a3b8;
}

.wizard-wbs-children {
  gap: 14px;
}

.wizard-wbs-children-feature {
  gap: 10px;
}

.wizard-wbs-collapsed-hint,
.wizard-wbs-empty-state {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  font-style: italic;
}

.wizard-wbs-footer {
  background: #003594;
}

@media (max-width: 960px) {
  .operator-resume-banner {
    grid-template-columns: 1fr;
  }

  .wizard-wbs-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
}

@media (max-width: 720px) {
  .wizard-wbs-node-header,
  .wizard-wbs-node-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .wizard-wbs-metric {
    border-right: 0;
    border-bottom: 1px solid rgba(203, 213, 225, 0.9);
  }

  .wizard-wbs-metric:last-child {
    border-bottom: 0;
  }
}

.wizard-project-setup {
  gap: 20px;
  padding: 24px;
}

.wizard-section-heading {
  gap: 8px;
}

.wizard-section-heading h1,
.wizard-panel-title-wrap h2,
.wizard-ai-banner-copy h2 {
  margin: 0;
}

.wizard-section-heading p,
.wizard-panel-title-wrap p,
.wizard-ai-banner-copy p,
.wizard-module-note,
.wizard-agent-thinking,
.wizard-field-error {
  margin: 0;
  color: #64748b;
}

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

.wizard-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.wizard-field-wide {
  grid-column: span 2;
}

.wizard-field-mode {
  grid-column: span 2;
  padding: 0;
  border: 0;
  margin: 0;
}

.wizard-field-label {
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.wizard-input,
.wizard-textarea {
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  background: #fff;
}

.wizard-input {
  min-height: 48px;
  padding: 12px 14px;
}

.wizard-field-error {
  font-size: 13px;
  color: #ef4444;
}

.wizard-field-invalid .wizard-mode-options {
  border-color: rgba(239, 68, 68, 0.4);
}

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

.wizard-mode-option {
  position: relative;
  display: grid;
  padding: 14px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #fff;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.wizard-mode-option:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 53, 148, 0.3);
}

.wizard-mode-option.is-selected {
  border-color: rgba(6, 182, 212, 0.32);
  background: rgba(6, 182, 212, 0.05);
}

.wizard-mode-option input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.wizard-mode-option span {
  display: grid;
  gap: 4px;
}

.wizard-mode-option strong {
  color: #191c1e;
  font-size: 14px;
}

.wizard-mode-option small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}

.wizard-chat-panel,
.wizard-preview-panel {
  grid-template-rows: auto minmax(0, 1fr) auto;
  overflow: hidden;
}

.wizard-chat-panel,
.wizard-preview-panel,
.operator-debug-panel {
  width: 100%;
}

.wizard-panel-header {
  justify-content: space-between;
  gap: 16px;
  padding: 24px;
  border-bottom: 1px solid #f1f5f9;
  background: #fafcff;
}

.wizard-panel-title-wrap {
  gap: 12px;
}

.wizard-panel-title-wrap h2 {
  font-size: 18px;
  font-weight: 600;
  color: #191c1e;
}

.wizard-panel-title-wrap p {
  font-size: 13px;
}

.wizard-chat-header-stack {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.wizard-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
}

.wizard-panel-icon-primary {
  background: rgba(0, 74, 198, 0.12);
  color: #003594;
}

.wizard-panel-icon-accent {
  background: rgba(6, 182, 212, 0.12);
  color: #06b6d4;
}

.wizard-status-chip,
.wizard-live-chip {
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  font-size: 12px;
  font-weight: 600;
}

.wizard-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #16a34a;
}

.wizard-chat-history {
  display: grid;
  align-content: start;
  gap: 18px;
  min-height: 0;
  padding: 20px 24px;
  overflow-y: auto;
  background:
    linear-gradient(180deg, rgba(248, 250, 252, 0.85) 0%, rgba(255, 255, 255, 0.98) 100%),
    radial-gradient(circle at top left, rgba(0, 74, 198, 0.08), transparent 42%);
}

.operator-chat-thread {
  display: grid;
  gap: 14px;
  width: 100%;
  align-content: start;
}

.operator-chat-message {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  max-width: min(78%, 640px);
}

.operator-chat-message-user {
  margin-left: auto;
  flex-direction: row-reverse;
}

.operator-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  flex-shrink: 0;
  background: rgba(0, 53, 148, 0.1);
  color: #003594;
  box-shadow: inset 0 0 0 1px rgba(0, 53, 148, 0.08);
}

.operator-chat-avatar-user {
  background: rgba(6, 182, 212, 0.12);
  color: #0f766e;
}

.operator-chat-bubble {
  display: grid;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(214, 223, 236, 0.95);
  border-radius: 20px 20px 20px 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 24px rgba(15, 23, 42, 0.05);
}

.operator-chat-message-user .operator-chat-bubble {
  border-color: rgba(0, 74, 198, 0.16);
  border-radius: 20px 20px 8px 20px;
  background: linear-gradient(180deg, rgba(238, 246, 255, 0.98), rgba(229, 241, 255, 0.96));
}

.operator-chat-bubble-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #64748b;
}

.operator-chat-bubble-header strong {
  color: #191c1e;
  font-size: 13px;
}

.operator-chat-bubble-body {
  display: grid;
  gap: 8px;
}

.operator-chat-bubble-body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #191c1e;
}

.wizard-chat-message-row {
  display: flex;
  gap: 12px;
  max-width: 85%;
}

.wizard-chat-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(0, 74, 198, 0.14);
  color: #003594;
  flex-shrink: 0;
}

.wizard-chat-bubble {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 20px 20px 20px 6px;
  background: #f8fafc;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wizard-chat-bubble p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #191c1e;
}

.wizard-agent-thinking {
  padding: 0 0 0 48px;
  font-size: 13px;
  font-style: italic;
  color: #5b6472;
  opacity: 0.8;
}

.wizard-composer {
  display: grid;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid #f1f5f9;
  background: #fff;
}

.wizard-textarea {
  min-height: 120px;
  padding: 16px 18px;
  resize: vertical;
}

.wizard-composer-toolbar {
  justify-content: space-between;
  gap: 16px;
}

.wizard-composer-meta,
.wizard-composer-actions {
  gap: 12px;
}

.wizard-attach-button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(241, 245, 249, 0.96);
}

.wizard-preview-content {
  gap: 16px;
  min-height: 0;
  padding: 24px;
  background: rgba(248, 250, 252, 0.5);
}

.operator-agent-pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  flex-shrink: 0;
  background: #2563eb;
  box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.42);
  animation: operatorPulse 1.8s ease-out infinite;
}


.operator-debug-panel {
  display: grid;
  gap: 16px;
  padding: 20px;
  border: 1px solid rgba(214, 223, 236, 0.9);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.05);
}

.wizard-wbs-surface .operator-debug-panel {
  margin: 0 24px 24px;
}

.operator-debug-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.operator-debug-grid {
  gap: 10px;
}

.operator-disclosure {
  border: 1px solid rgba(226, 232, 240, 0.96);
  border-radius: 16px;
  background: rgba(248, 250, 252, 0.72);
  overflow: hidden;
}

.operator-disclosure[open] {
  background: rgba(248, 250, 252, 0.92);
}

.operator-disclosure-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
  color: #191c1e;
}

.operator-disclosure-summary::-webkit-details-marker {
  display: none;
}

.operator-disclosure-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 53, 148, 0.08);
  color: #003594;
  font-size: 11px;
}

.operator-disclosure-body {
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}

.operator-debug-section {
  display: grid;
  gap: 8px;
}

.operator-debug-section h4 {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  color: #191c1e;
}

.operator-debug-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 18px;
  color: #4b5563;
}

.operator-debug-code {
  margin: 0;
  padding: 12px;
  overflow-x: auto;
  border-radius: 12px;
  background: #0f172a;
  color: #dbeafe;
  font-size: 12px;
  line-height: 1.55;
}

@keyframes operatorPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.42);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .operator-agent-pulse {
    animation: none;
  }
}

.wizard-progress-box {
  min-width: 156px;
  text-align: right;
}

.wizard-progress-box span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 600;
}

.wizard-progress-track {
  height: 8px;
  margin-top: 6px;
  border-radius: 999px;
  overflow: hidden;
  background: #e2e8f0;
}

.wizard-progress-fill {
  display: block;
  width: 45%;
  height: 100%;
  background: #06b6d4;
}

.wizard-module-card {
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.wizard-module-card-active {
  border-color: rgba(6, 182, 212, 0.3);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.wizard-module-card-muted {
  border-style: dashed;
  opacity: 0.78;
}

.wizard-module-header {
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
}

.wizard-module-header strong {
  color: #191c1e;
  font-size: 15px;
}

.wizard-module-badge {
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.wizard-module-badge-ai {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.wizard-module-children {
  gap: 8px;
  margin-left: 32px;
  padding-left: 16px;
  border-left: 2px solid #f1f5f9;
}

.wizard-module-children-accent {
  border-left-color: rgba(6, 182, 212, 0.16);
}

.wizard-module-child {
  justify-content: space-between;
  gap: 12px;
  color: #475569;
  font-size: 14px;
}

.wizard-module-child-pending {
  padding: 8px 10px;
  border: 1px dashed rgba(6, 182, 212, 0.22);
  border-radius: 8px;
  background: rgba(6, 182, 212, 0.03);
}

.wizard-module-child-pending em {
  color: #64748b;
  font-size: 12px;
}

.wizard-check {
  color: #16a34a;
}

.wizard-ai {
  color: #06b6d4;
}

.wizard-module-note {
  margin-left: 32px;
  font-size: 14px;
  font-style: italic;
}

.wizard-summary-card {
  gap: 16px;
  padding: 24px;
  background: #003594;
  color: #fff;
}

.wizard-summary-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.wizard-summary-metrics span {
  display: block;
  margin-bottom: 4px;
  opacity: 0.72;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wizard-summary-metrics strong {
  font-size: 18px;
  font-weight: 600;
}

.wizard-summary-actions {
  justify-content: flex-end;
  gap: 12px;
}

.wizard-summary-card .button-secondary {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.wizard-summary-card .button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.wizard-summary-card .button-primary {
  background: #fff;
  color: #003594;
}

.wizard-ai-banner {
  justify-content: space-between;
  gap: 24px;
  padding: 24px;
}

.wizard-ai-avatars {
  display: flex;
  align-items: center;
}

.wizard-ai-avatars span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-left: -10px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: linear-gradient(135deg, #dbe1ff 0%, #b6eaf4 100%);
  color: #003594;
  font-size: 12px;
  font-weight: 700;
}

.wizard-ai-avatars span:first-child {
  margin-left: 0;
}

.wizard-ai-banner-copy {
  gap: 6px;
  flex: 1;
}

.wizard-ai-banner-copy h2 {
  font-size: 18px;
  font-weight: 600;
  color: #191c1e;
}

.wizard-live-chip {
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #191c1e;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .layout-two-column,
  .results-layout,
  .success-layout,
  .processing-layout {
    grid-template-columns: 1fr;
  }

  .shell-main {
    padding: 0;
  }

  .shell-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px 24px;
  }

  .shell-footer-meta {
    justify-content: flex-start;
  }

  .topbar {
    padding: 16px;
  }

  .topbar-left {
    gap: 18px;
  }

  .header-logo-image {
    height: 40px;
  }

  .brand-lockup {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-main {
    padding: 24px 16px 32px;
  }

  .shell-main-wrap,
  .wizard-form,
  .wizard-project-setup,
  .wizard-chat-panel,
  .wizard-preview-panel,
  .wizard-summary-card,
  .wizard-ai-banner {
    gap: 16px;
  }

  .operator-stepper {
    width: 100%;
  }

  .wizard-project-grid,
  .wizard-dashboard-grid,
  .wizard-summary-metrics {
    grid-template-columns: 1fr;
  }

  .wizard-field-wide,
  .wizard-field-mode {
    grid-column: auto;
  }

  .wizard-panel-header,
  .wizard-composer-toolbar,
  .wizard-ai-banner,
  .wizard-summary-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .wizard-status-chip,
  .wizard-progress-box {
    align-self: flex-start;
  }

  .wizard-progress-box {
    width: 100%;
    text-align: left;
  }

  .wizard-summary-actions .button,
  .wizard-composer-actions .button {
    width: 100%;
  }

  h1 {
    font-size: 28px;
  }

  .topbar-nav {
    display: none;
  }

  .shell-utility-chip {
    display: none;
  }

  .topbar-right .button {
    display: none;
  }

  .confidence-metrics {
    grid-template-columns: 1fr;
  }

  .meta-row {
    grid-template-columns: 1fr;
  }

  .briefing-form-card {
    padding: 20px;
    border-radius: 24px;
  }

  .briefing-form-topline,
  .support-card-grid {
    grid-template-columns: 1fr;
  }

  .wizard-mode-options {
    grid-template-columns: 1fr;
  }

  .composer-toolbar,
  .composer-toolbar-left,
  .composer-toolbar-right {
    align-items: stretch;
    flex-direction: column;
  }

  .composer-toolbar-right {
    gap: 12px;
  }

  .composer-actions {
    width: 100%;
  }

  .composer-actions .button {
    flex: 1;
  }

  .output-mode-option {
    min-width: 100%;
  }
}

.marketing-body {
  min-width: 320px;
  background:
    radial-gradient(circle at top right, rgba(0, 53, 148, 0.05), transparent 28%),
    linear-gradient(180deg, #fbfcfe 0%, #f7f9fb 100%);
  color: var(--color-text);
}

.landing-page {
  min-height: 100vh;
}

.marketing-container {
  width: min(1152px, calc(100vw - 32px));
  margin: 0 auto;
}

.marketing-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(203, 213, 225, 0.92);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(14px);
}

.marketing-header-inner,
.marketing-header-actions,
.marketing-nav,
.hero-actions,
.marketplace-header,
.marketing-footer-inner,
.marketing-footer-nav,
.vendor-card-top,
.vendor-title-row,
.trust-item,
.managed-pill,
.advisor-header,
.advisor-list li {
  display: flex;
  align-items: center;
}

.marketing-header-inner {
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px 0;
}

.marketing-brand {
  flex-shrink: 0;
  color: #003594;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.marketing-nav {
  gap: 24px;
  min-width: 0;
}

.marketing-nav a,
.marketing-login,
.marketplace-link,
.marketing-footer-nav a {
  color: #606365;
  font-size: 14px;
  line-height: 1.5;
  text-decoration: none;
}

.marketing-nav a:hover,
.marketing-login:hover,
.marketplace-link:hover,
.marketing-footer-nav a:hover {
  color: #003594;
}

.marketing-header-actions {
  gap: 16px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.marketing-login {
  font-weight: 600;
  color: #003594;
}

.marketing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

.marketing-button:hover,
.vendor-button:hover,
.marketing-profile-button:hover {
  transform: translateY(-1px);
}

.marketing-button-header {
  min-height: 41px;
  padding: 10px 20px;
  font-size: 14px;
}

.marketing-button-large {
  min-height: 60px;
  padding: 16px 32px;
  font-size: 16px;
}

.marketing-button-primary {
  background: #003594;
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.marketing-button-primary:hover {
  background: #004ac6;
  box-shadow: 0 10px 18px rgba(0, 53, 148, 0.16);
}

.marketing-button-secondary {
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #191c1e;
}

.marketing-button-secondary:hover,
.vendor-button:hover {
  background: #f8fafc;
  border-color: #b9c7d8;
}

.marketing-button-accent {
  background: #06b6d4;
  color: #191c1e;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.marketing-button-accent:hover {
  background: #22d3ee;
  box-shadow: 0 12px 24px rgba(6, 182, 212, 0.24);
}

.marketing-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  color: #003594;
  text-decoration: none;
}

.marketing-profile-button .material-symbols-outlined {
  font-size: 20px;
}

.landing-main {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px 0 0;
}

.marketing-section {
  padding: 0 0 32px;
}

.hero-section {
  padding-top: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(440px, 564px);
  gap: 56px;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.hero-title {
  max-width: 9.5ch;
  font-family: "Manrope", sans-serif;
  font-size: clamp(42px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #191c1e;
}

.hero-highlight {
  position: relative;
  display: inline;
  color: #003594;
}

.hero-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.16em;
  height: 0.22em;
  background: rgba(6, 182, 212, 0.2);
  border-radius: 2px;
  z-index: -1;
}

.hero-description {
  max-width: 500px;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: #334155;
}

.hero-actions {
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual-wrap {
  position: relative;
  min-height: 564px;
}

.hero-visual-gradient {
  position: absolute;
  inset: 16px -16px -16px 16px;
  border-radius: 24px;
  background: linear-gradient(45deg, rgba(0, 53, 148, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.hero-visual-frame {
  position: relative;
  min-height: 564px;
  padding: 8px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.12);
}

.hero-visual-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  height: 32px;
  padding: 0 10px;
  border-radius: 4px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #003594;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-device {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 546px;
  overflow: hidden;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(6, 182, 212, 0.16), transparent 28%),
    radial-gradient(circle at bottom left, rgba(0, 53, 148, 0.08), transparent 32%),
    linear-gradient(180deg, #f7fbfd 0%, #eef7f8 100%);
}

.hero-device-panel {
  position: relative;
  width: 76%;
  aspect-ratio: 1.1;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
  transform: perspective(1400px) rotateY(-24deg) rotateX(11deg);
}

.hero-device-topbar {
  height: 34px;
  background: linear-gradient(90deg, #0f3d6d 0%, #0b6993 100%);
}

.hero-device-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  height: calc(100% - 34px);
}

.hero-device-sidebar {
  position: absolute;
  top: 88px;
  right: 14%;
  display: grid;
  gap: 12px;
  width: 64px;
}

.hero-device-sidebar span {
  height: 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.12);
}

.hero-device-form,
.hero-device-insights {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 28px 22px;
}

.hero-device-form {
  border-right: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-device-line,
.hero-device-button,
.hero-device-chart,
.hero-device-stat-grid span {
  display: block;
  border-radius: 999px;
}

.hero-device-line {
  height: 12px;
  background: rgba(148, 163, 184, 0.22);
}

.hero-device-line-short {
  width: 58%;
}

.hero-device-button {
  width: 64%;
  height: 18px;
  margin-top: 8px;
  background: linear-gradient(90deg, #2563eb 0%, #06b6d4 100%);
}

.hero-device-ring {
  width: 82px;
  height: 82px;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #ffffff 46%, transparent 47%),
    conic-gradient(#06b6d4 0 72%, rgba(191, 219, 254, 0.75) 72% 100%);
}

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

.hero-device-stat-grid span {
  height: 34px;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.12);
}

.hero-device-chart {
  height: 90px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(37, 99, 235, 0.1), rgba(6, 182, 212, 0.2)),
    linear-gradient(90deg, transparent 0 10%, rgba(148, 163, 184, 0.1) 10% 12%, transparent 12% 22%, rgba(148, 163, 184, 0.1) 22% 24%, transparent 24% 34%, rgba(148, 163, 184, 0.1) 34% 36%, transparent 36% 46%, rgba(148, 163, 184, 0.1) 46% 48%, transparent 48%);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(7, auto);
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 32px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.trust-item {
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #191c1e;
}

.trust-icon {
  font-size: 20px;
}

.trust-icon-cyan {
  color: #06b6d4;
}

.trust-icon-green {
  color: #16a34a;
}

.trust-icon-blue {
  color: #003594;
}

.trust-icon-slate {
  color: #334155;
}

.trust-divider {
  width: 1px;
  height: 32px;
  background: #cbd5e1;
}

.section-heading {
  display: grid;
  gap: 6px;
}

.section-heading-centered {
  justify-items: center;
  text-align: center;
  margin-bottom: 32px;
}

.section-heading h2,
.marketplace-header h2,
.managed-copy h2,
.marketing-footer-brand h2 {
  margin: 0;
  color: #191c1e;
  font-family: "Manrope", sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.section-heading p,
.marketplace-header p,
.managed-copy p,
.marketing-footer-brand p {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.6;
}

.section-heading-centered p {
  max-width: 672px;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.steps-grid::before {
  content: "";
  position: absolute;
  top: 48px;
  left: 16%;
  right: 16%;
  height: 1px;
  background: #cbd5e1;
}

.step-card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 12px;
  min-height: 202px;
  padding: 24px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 4px solid #ffffff;
  border-radius: 999px;
  background: #dbe1ff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  color: #003594;
  font-family: "Manrope", sans-serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

.step-card h3,
.vendor-card h3,
.advisor-header h3 {
  margin: 0;
  color: #191c1e;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.step-card p,
.vendor-description,
.advisor-header p,
.advisor-list li,
.marketing-footer-nav a {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.5;
}

.marketplace-shell {
  display: grid;
  gap: 32px;
  padding: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.marketplace-header {
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}

.marketplace-header p {
  font-size: 14px;
  color: #64748b;
}

.marketplace-link {
  gap: 4px;
  font-weight: 600;
  color: #003594;
}

.marketplace-link .material-symbols-outlined {
  font-size: 18px;
}

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

.vendor-card {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.vendor-card-top {
  justify-content: space-between;
  align-items: flex-start;
}

.vendor-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #f8fafc;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.vendor-logo-forge {
  background: linear-gradient(135deg, #dbeafe 0%, #0f172a 100%);
}

.vendor-logo-nexus {
  background: linear-gradient(135deg, #0f172a 0%, #0ea5e9 100%);
}

.vendor-logo-agile {
  background: linear-gradient(135deg, #e0f2fe 0%, #2563eb 100%);
}

.vendor-score {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 58px;
  color: var(--score-color, #06b6d4);
}

.vendor-score::before,
.vendor-score::after {
  content: "";
  position: absolute;
  top: 0;
  left: 4px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.vendor-score::before {
  background: conic-gradient(var(--score-color, #06b6d4) calc(var(--score, 0) * 1%), rgba(226, 232, 240, 0.95) 0);
}

.vendor-score::after {
  inset: 2px auto auto 6px;
  width: 36px;
  height: 36px;
  background: #ffffff;
}

.vendor-score strong,
.vendor-score span {
  position: relative;
  z-index: 1;
}

.vendor-score strong {
  margin-top: -9px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.vendor-score span {
  margin-top: 20px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #64748b;
}

.vendor-title-row {
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 21px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(22, 163, 74, 0.1);
  color: #16a34a;
  font-size: 11px;
  font-weight: 600;
}

.verified-badge .material-symbols-outlined {
  font-size: 12px;
}

.vendor-description {
  color: #475569;
  font-size: 13px;
  line-height: 1.4;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tag-list li {
  padding: 4px 12px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.vendor-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 10px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  background: #f7f9fb;
  color: #191c1e;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.managed-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 448px);
  gap: 32px;
  align-items: center;
  padding: 64px 32px 32px;
  overflow: hidden;
  border: 1px solid #334155;
  border-radius: 24px;
  background: #191c1e;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.managed-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  pointer-events: none;
}

.managed-glow-primary {
  top: 34px;
  right: 1px;
  width: 256px;
  height: 256px;
  background: #003594;
  opacity: 0.4;
}

.managed-glow-secondary {
  bottom: 0;
  left: 41px;
  width: 192px;
  height: 192px;
  background: #06b6d4;
  opacity: 0.2;
  filter: blur(30px);
}

.managed-copy,
.advisor-shell {
  position: relative;
  z-index: 1;
}

.managed-copy {
  display: grid;
  gap: 16px;
}

.managed-pill {
  width: fit-content;
  gap: 8px;
  padding: 4px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.managed-pill .material-symbols-outlined {
  color: #06b6d4;
  font-size: 14px;
}

.managed-copy h2,
.advisor-header h3 {
  color: #ffffff;
}

.managed-copy p,
.advisor-header p,
.advisor-list li {
  color: #cbd5e1;
}

.advisor-shell {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
}

.advisor-header {
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.advisor-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.advisor-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.advisor-list li {
  gap: 12px;
}

.advisor-list .material-symbols-outlined {
  color: #16a34a;
  font-size: 16px;
}

.marketing-footer {
  margin-top: 32px;
  border-top: 1px solid #334155;
  background: #191c1e;
}

.marketing-footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 270px) minmax(0, 1fr);
  gap: 32px;
  padding: 32px 0;
}

.marketing-footer-brand h2 {
  margin-bottom: 16px;
  color: #ffffff;
  font-size: 18px;
}

.marketing-footer-brand p {
  color: rgba(226, 226, 236, 0.8);
  font-size: 14px;
  line-height: 1.5;
}

.marketing-footer-nav {
  justify-content: flex-end;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}

.marketing-footer-nav a {
  color: rgba(226, 226, 236, 0.8);
}

@media (max-width: 1180px) {
  .marketing-header-inner,
  .hero-grid,
  .managed-shell,
  .marketing-footer-inner {
    grid-template-columns: 1fr;
  }

  .marketing-header-inner {
    display: grid;
  }

  .marketing-nav,
  .marketing-header-actions {
    flex-wrap: wrap;
  }

  .hero-copy {
    order: 1;
  }

  .hero-visual-wrap {
    order: 2;
    min-height: 440px;
  }

  .hero-visual-frame,
  .hero-device {
    min-height: 440px;
  }

  .trust-strip,
  .vendor-grid,
  .steps-grid,
  .marketplace-header {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    gap: 16px;
    justify-items: start;
  }

  .trust-divider,
  .steps-grid::before {
    display: none;
  }

  .vendor-grid,
  .steps-grid {
    display: grid;
  }

  .marketplace-header {
    display: grid;
    align-items: start;
  }

  .marketing-footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .marketing-container {
    width: min(100vw - 24px, 1152px);
  }

  .marketing-header {
    position: static;
  }

  .landing-main {
    padding-top: 16px;
  }

  .hero-section {
    padding-top: 24px;
  }

  .hero-title {
    max-width: none;
    font-size: 42px;
  }

  .hero-actions,
  .marketing-header-actions {
    width: 100%;
  }

  .marketing-button-header,
  .marketing-button-large,
  .vendor-button,
  .marketplace-link {
    width: 100%;
  }

  .marketing-profile-button {
    width: 44px;
    height: 44px;
  }

  .marketplace-shell,
  .managed-shell,
  .advisor-shell,
  .hero-visual-frame,
  .trust-strip,
  .step-card,
  .vendor-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-visual-gradient {
    inset: 10px -8px -8px 10px;
  }

  .hero-device-panel {
    width: 88%;
  }

  .hero-device-sidebar {
    right: 8%;
  }
}

