/* Shared visual language with PNL, Autocap, Bidder and Pixel FB. */
:root {
  --bg: #eef1ea;
  --surface: #f8faf5;
  --ink: #151915;
  --muted: #4f584f;
  --line: #1c25101f;
  --lime: #bfe638;
  --green: #168b5c;
  --soft: #bfe63824;
  --accent: #bfe638;
  --accent-ink: #151915;
  --cyan: #109caf;
  --danger: #c93445;
  --radius: 8px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-family: var(--font);
}
body {
  font-family: var(--font);
  background:
    linear-gradient(90deg, #1c251008 1px, transparent 1px),
    linear-gradient(#1c251008 1px, transparent 1px), var(--bg);
  background-size: 44px 44px, 44px 44px, auto;
}
h1, h2, h3, .brand { font-family: var(--font); color: var(--ink); }
h1 { font-weight: 650; letter-spacing: -.8px; }
h2 { font-weight: 650; letter-spacing: -.4px; }
h3 { font-weight: 600; }
.sidebar { background: #f8faf5f2; }
.workspace { background: #e8ede3; }
.workspace-avatar, .profile { background: #bfe63824; border-color: #9eba3654; color: #44561a; }
.nav-item { font-size: 13px; color: var(--muted); }
.nav-item .icon { color: #717a70; }
.nav-item.active { background: #bfe63824; color: var(--ink); }
.nav-item.active .icon { color: #6f861b; }
.nav-item:hover { background: #e8ede3; }
.nav-count { background: #bfe6383d; }
.breadcrumbs, .eyebrow, .caption, .mode-label { color: #717a70; }
.breadcrumbs strong { color: var(--muted); }
.topbar { background: #f8faf5bd; }
.primary { background: var(--accent); color: var(--accent-ink); border-color: #9eba3654; }
.primary:hover:not(:disabled) { background: #b1d72e; color: var(--accent-ink); }
.button { border-radius: 8px; }
.secondary { background: #fff; border-color: #17210d33; }
.secondary:hover { background: #f4f7f0; }
.text-button { color: #475b18; font-weight: 600; }
.text-button:hover { color: #718e1b; }
.pill { border-radius: 5px; }
.pill.green, .pill.dark { background: #bfe63830; color: #51641e; }
.pill.muted { background: #e8ede3; color: #59634f; }
.product-card, .form-panel, .summary-card, .next-card, .saved-overview,
.resume-bar, .launch-row, .control-card, .structure, dialog { border-radius: 8px; border-color: var(--line); }
.product-card, .form-panel, .summary-card, .next-card, .saved-overview,
.resume-bar, .launch-row { background: var(--surface); }
.product-card.featured { border-color: #9eba3673; background: #fbfdf6; }
.product-card h3 { font-size: 20px; }
.product-card>p { font-size: 12px; color: var(--muted); line-height: 1.65; }
.product-card .pill { font-size: 10px; }
.product-stage { color: #717a70; font-size: 9px; letter-spacing: .6px; }
.product-bottom { border-color: var(--line); }
.product-bottom-links { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.product-bottom .text-button { font-size: 12px; }
.product-bottom .route-link { color: #717a70; font-size: 10px; font-weight: 500; }
.product-bottom .route-link .icon { width: 12px; }
.product-icon { border-radius: 8px; }
.product-icon.setup { background: #bfe63835; color: #657e1e; border-color: #9eba3630; }
.product-icon.pixel { background: #109caf12; color: #109caf; border-color: #109caf25; }
.product-icon.bidder { background: #168b5c12; color: #168b5c; border-color: #168b5c25; }
.product-icon.autocap { background: #bfe63820; color: #738f1e; border-color: #9eba3630; }
.product-icon.pnl { background: #2497a715; color: #2497a7; border-color: #2497a725; }
.journey-hero {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: radial-gradient(circle at 95% 10%, #bfe63820, transparent 60%), #f8faf5;
}
.hero-copy h2 { font-weight: 700; }
.hero-copy p, .flow-node small { color: var(--muted); }
.hero-link { font-size: 12px; font-weight: 600; }
.flow-node.current .flow-icon { background: var(--accent); border-color: #9eba3654; color: var(--ink); box-shadow: 0 0 0 8px #bfe63818; }
.flow-icon { background: #edf1e8; border-color: #17210d22; border-radius: 8px; color: #717a70; }
.flow-node.current strong { color: var(--ink); }
.flow-current, .hero-number { color: #6f7c55; }
.flow-connector { border-color: #9eba3654; }
.section-heading h2 { font-size: 20px; }
.section-heading p, .page-heading p, .form-title p { font-size: 12px; color: var(--muted); }
.field>span:first-child { font-size: 12px; color: var(--muted); }
.field input, .field select, .field textarea { border-color: #17210d26; border-radius: 8px; font-size: 13px; }
.field input::placeholder, .field textarea::placeholder { color: #757f72; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #9eba36; box-shadow: 0 0 0 3px #9eba3624; }
.field small, .subtle-note, .notice p, .next-stage p, .summary-card small,
.stack-note p, .sidebar-bottom p, .creative-info small { color: #717a70; }
.segment { border-color: #17210d26; border-radius: 8px; }
.segment.selected { background: #bfe63814; border-color: #9eba3680; }
.segment strong { font-size: 12px; }
.segment small { color: #717a70; font-size: 10px; }
.budget-letter { color: #6e841f; border-color: #9eba3654; }
.budget-total { background: #bfe63820; border-radius: 8px; border: 1px solid #9eba3630; }
.budget-total small, .budget-total p { color: #657a35; }
.stepper button { font-size: 12px; color: #757f72; }
.stepper button.active { color: var(--ink); }
.stepper button.active>span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.stepper button.complete { color: #6e841f; }
.stepper button.complete>span { background: #bfe63824; border-color: #9eba3654; color: #6e841f; }
.next-stage, .context-link, .notice, .structure { background: #e8ede366; border-radius: 8px; }
.summary-card strong, .review-row strong { font-size: 12px; }
.summary-status, .save-status { color: #657a35; }
.summary-status span, .save-status:before, .local-dot { background: #93af2d; }
.control-card { background: #f4f7f0; }
.success-mark { background: #bfe63830; color: #718e1b; border-radius: 8px; }
.upload-area { background: #f4f7f0; border-color: #9eba3670; border-radius: 8px; }
.upload-area:focus-within, .upload-area.dragging { background: #bfe63818; border-color: #93af2d; }
.upload-icon { background: #bfe63825; color: #718e1b; border-radius: 8px; }
.stack-toggle input:checked~.icon { background: var(--accent); border-color: #9eba3654; stroke: var(--ink); }
.service-access { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin: 20px 0 24px; padding: 18px; border: 1px solid #9eba3654; border-radius: 8px; background: #bfe63814; }
.service-access strong { font-size: 13px; font-weight: 600; }
.service-access p { font-size: 11px; line-height: 1.7; color: var(--muted); margin-top: 6px; }
.service-access .button { font-size: 12px; min-height: 41px; }
.modal-lead { color: var(--muted); font-size: 12px; }
.planned-list, .handoff-route { color: #657a35; }
.context-preserved { border-color: #9eba3654; background: #bfe63814; }
@media(max-width:570px) {
  .nav-item { font-size: 14px; }
  .product-card h3 { font-size: 21px; }
  .product-bottom .text-button { font-size: 13px; }
  .product-bottom .route-link { font-size: 11px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .stepper button { font-size: 11px; }
  .segment strong { font-size: 11px; }
  .segment small { font-size: 9px; }
  .service-access { padding: 16px; }
  .service-access .button { width: 100%; }
}

/* Compact product details. */
.service-return { margin-top: 20px; }
.next-card > .product-icon { margin-bottom: 16px; }

.application-actions .segment { min-height: 82px; }
.application-actions .segment:hover { border-color: #9eba3680; background: #bfe63814; }
.application-actions .application-create { background: #bfe63814; }
.application-actions .segment:focus-visible { outline: 2px solid #718e1b; outline-offset: 3px; }
.sidebar { overflow-y: auto; }
.sidebar-extra { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.sidebar-extra .nav-item:disabled { opacity: .55; cursor: default; }
.sidebar-extra .nav-item:disabled:hover { background: transparent; }
.mobile-nav .sidebar-extra { margin-top: 12px; }
.access-label { color: #657a35; font-size: 11px; }
.logout-button { font-size: 11px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.login-card { width: 100%; max-width: 410px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 70px #17210d0c; }
.login-card .brand { margin-bottom: 38px; }
.login-card h1 { font-size: 28px; }
.login-lead { color: var(--muted); margin: 10px 0 26px; font-size: 13px; line-height: 1.6; }
.login-card .button { width: 100%; margin-top: 10px; }
.login-card .field-error { min-height: 18px; }
dialog.pricing-modal { width: min(760px,calc(100vw - 32px)); max-width: 760px; padding: 32px; }
.pricing-heading { display: flex; align-items: center; gap: 16px; margin: 0 0 26px; }
.pricing-heading h2 { margin: 5px 0 0; }
.pricing-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.pricing-option { display: flex; align-items: flex-start; gap: 9px; padding: 19px 14px; min-height: 164px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; background: #fff; }
.pricing-option.selected { background: #bfe63818; border-color: #9eba36; }
.pricing-option:focus-within { outline: 2px solid #718e1b; outline-offset: 3px; }
.pricing-option input { accent-color: #718e1b; margin: 3px 0 0; flex: 0 0 auto; }
.pricing-option > span { display: flex; flex-direction: column; gap: 13px; min-width: 0; }
.pricing-option strong { font-size: 13px; }
.pricing-option b { font-size: 30px; font-weight: 650; letter-spacing: -.8px; }
.pricing-option small { color: var(--muted); font-size: 11px; line-height: 1.6; }
.pricing-bundle { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.pricing-bundle .field { margin-bottom: 0; }
.pricing-actions { display: flex; justify-content: space-between; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding-top: 22px; margin-top: 24px; }
.pricing-total { display: flex; gap: 14px; align-items: baseline; }
.pricing-total span { color: var(--muted); font-size: 12px; }
.pricing-total strong { font-size: 25px; font-weight: 650; }
.pricing-demo { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 22px; font-size: 12px; }
.pricing-demo > span { color: var(--muted); }
.demo-form { margin: 0; }
.demo-link { font-size: 12px; }
.pricing-notice { color: var(--muted); font-size: 12px; margin-top: 18px; }
.pricing-errors:not(:empty) { margin-top: 16px; }
@media(max-width:570px) {
  .access-label { display: none; }
  .login-page { padding: 18px; }
  .login-card { padding: 25px; }
  dialog.pricing-modal { padding: 24px 20px; }
  .pricing-heading { padding-right: 20px; }
  .pricing-heading h2 { font-size: 23px; }
  .pricing-options { gap: 8px; }
  .pricing-option { padding: 13px 8px; min-height: 140px; flex-direction: column; }
  .pricing-option > span { gap: 10px; }
  .pricing-option strong { font-size: 12px; }
  .pricing-option b { font-size: 24px; }
  .pricing-option small { font-size: 10px; }
  .pricing-bundle { grid-template-columns: 1fr; gap: 14px; }
  .pricing-total { gap: 9px; }
  .application-actions { flex-direction: column; }
  .application-actions .segment { width: 100%; min-height: 74px; align-items: center; }
  .application-actions .segment strong { font-size: 13px; }
  .application-actions .segment small { font-size: 11px; }
  .application-actions .segment > .icon:last-child:not(:first-child) { display: block; }
}
