:root {
  color-scheme: light;
  --ink: #1c2321;
  --ink-soft: #5e6572;
  --muted: #5e6572;
  --line: #a9b4c2;
  --paper: #eef1ef;
  --white: #fff;
  --navy: #0e2e23;
  --blue: #19523f;
  --blue-dark: #0e2e23;
  --blue-wash: #d5ebdd;
  --green: #19523f;
  --green-wash: #d5ebdd;
  --amber: #9d6400;
  --amber-wash: #fff5df;
  --red: #a63d43;
  --red-wash: #fff0f0;
  --shadow: 0 22px 70px rgba(18, 39, 67, .09);
  font-family: Outfit, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* { box-sizing: border-box; }
@font-face { font-family: Outfit; src: url("/public/outfit-variable.ttf") format("truetype"); font-style: normal; font-weight: 300 700; font-display: swap; }
body { margin: 0; min-height: 100vh; background: var(--paper); }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Outfit, ui-sans-serif, system-ui, sans-serif; letter-spacing: -.025em; }
h1 { margin-bottom: 12px; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; }
h2 { margin-bottom: 0; font-size: 1.45rem; }
h3 { font-size: 1.02rem; }
.muted { color: var(--muted); line-height: 1.6; }
.eyebrow { margin: 0 0 9px; color: #4a6b99; font-size: .68rem; font-weight: 700; letter-spacing: .14em; }
.brand-logo { display: block; width: 205px; height: auto; }
.brand-link { display: inline-flex; align-items: center; }
.brand-lockup { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.brand-lockup .brand-logo { width: 42px; height: 42px; object-fit: contain; }
.brand-copy { display: grid; gap: 1px; line-height: 1.15; }
.brand-name { color: var(--ink); font-size: 1.02rem; font-weight: 700; letter-spacing: -.02em; }
.brand-tagline { color: var(--muted); font-size: .67rem; font-weight: 500; }

.login-page { display: grid; min-height: 100vh; place-items: center; padding: 32px 18px; background: radial-gradient(ellipse at 50% 0%, #d5ebdd 0%, #eef1ef 48%, #eef1ef 100%); }
.login-shell { width: min(100%, 492px); }
.login-card { padding: 42px 42px 28px; border: 1px solid rgba(255,255,255,.9); border-radius: 20px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); }
.login-card .brand-link { margin-bottom: 28px; }
.login-card .brand-lockup .brand-logo { width: 58px; height: 58px; }
.login-card .brand-name { font-size: 1.25rem; }
.login-card .brand-tagline { font-size: .78rem; }
.login-card .eyebrow { margin-bottom: 12px; }
.login-card h1 { font-size: 2.2rem; }
.login-card .muted { margin-bottom: 27px; }
.stack-form { display: grid; gap: 11px; }
.stack-form label, .form-field label, .upload-form label { color: #283a52; font-size: .83rem; font-weight: 700; }
.stack-form input, .form-field input, .form-field select, .upload-row input[type="file"] { width: 100%; min-height: 45px; border: 1px solid #d7e0eb; border-radius: 9px; background: #fff; padding: 10px 12px; color: var(--ink); outline: 0; transition: border-color .15s, box-shadow .15s; }
.stack-form input:focus, .form-field input:focus, .form-field select:focus, .upload-row input:focus { border-color: #7d98a1; box-shadow: 0 0 0 3px rgba(25,82,63,.12); }
.stack-form label:not(:first-child) { margin-top: 6px; }
.stack-form .button { margin-top: 10px; }
.login-foot { display: grid; gap: 5px; margin-top: 27px; color: var(--ink-soft); font-size: .78rem; }
.prototype-note { margin: 18px 0 0; color: #8290a3; font-size: .72rem; text-align: center; }

.topbar { position: sticky; z-index: 2; top: 0; display: flex; min-height: 72px; align-items: center; justify-content: space-between; padding: 0 31px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(12px); }
.topbar .brand-lockup .brand-logo { width: 40px; height: 40px; }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar-right form { margin: 0; }
.account-label { color: var(--muted); font-size: .78rem; }
.app-shell { display: grid; min-height: calc(100vh - 72px); grid-template-columns: 230px minmax(0, 1fr); }
.sidebar { position: sticky; top: 72px; display: flex; height: calc(100vh - 72px); flex-direction: column; padding: 31px 18px 20px; border-right: 1px solid var(--line); background: #fff; }
.side-caption { margin: 0 12px 13px; color: #94a2b4; font-size: .65rem; font-weight: 700; letter-spacing: .14em; }
.nav-link { display: flex; min-height: 43px; align-items: center; margin: 2px 0; padding: 0 12px; border-radius: 8px; color: #5c6d83; font-size: .86rem; font-weight: 600; }
.nav-link:hover { background: #eef1ef; color: var(--navy); }
.nav-link.active { background: var(--blue-wash); color: var(--blue-dark); }
.sidebar-spacer { flex: 1; }
.sidebar-brand { padding: 15px 12px; border-top: 1px solid var(--line); color: var(--navy); font-size: .85rem; font-weight: 700; line-height: 1.55; }
.sidebar-brand span { color: var(--muted); font-size: .74rem; font-weight: 500; }
.main-content { width: min(100%, 1280px); margin: 0 auto; padding: 43px clamp(22px, 4vw, 58px) 30px; }
.page-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.page-heading .muted { max-width: 690px; margin-bottom: 0; }
.compact-heading { margin-bottom: 24px; }
.button { display: inline-flex; min-height: 41px; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; border-radius: 8px; padding: 0 15px; font-size: .81rem; font-weight: 700; transition: background .15s, border-color .15s, transform .15s; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: not-allowed; opacity: .5; transform: none; box-shadow: none; }
.button-primary { border-color: var(--blue); background: var(--blue); color: white; box-shadow: 0 5px 12px rgba(25,82,63,.16); }
.button-primary:hover { border-color: var(--blue-dark); background: var(--blue-dark); }
.button-secondary { border-color: #a9b4c2; background: #fff; color: #19523f; }
.button-secondary:hover { border-color: #7d98a1; background: #f6f8f6; }
.button-quiet { min-height: 35px; border-color: var(--line); background: #fff; color: #617189; }
.button-wide { width: 100%; }

.notice-banner { display: flex; gap: 14px; margin: 0 0 34px; padding: 17px 19px; border: 1px solid #c6d2e2; border-radius: 11px; background: #f6f8f6; }
.notice-icon { display: grid; width: 23px; height: 23px; flex: 0 0 23px; place-items: center; border-radius: 50%; background: #d5ebdd; color: #19523f; font-family: Georgia, serif; font-size: .85rem; font-weight: 700; }
.notice-banner strong { color: #0e2e23; font-size: .88rem; }
.notice-banner p { margin: 4px 0 0; color: #5e6572; font-size: .81rem; line-height: 1.55; }
.section-block { margin-bottom: 35px; }
.new-enquiry-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px; border: 1px solid #a9b4c2; border-radius: 12px; background: #f6f8f6; }
.new-enquiry-cta h2 { margin: 0 0 6px; color: #0e2e23; }
.new-enquiry-cta p { margin: 0; }
@media (max-width: 680px) { .new-enquiry-cta { align-items: flex-start; flex-direction: column; } }
.section-title-row { display: flex; align-items: end; justify-content: space-between; margin-bottom: 16px; }
.section-title-row .eyebrow { margin-bottom: 6px; }
.readiness-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; }
.readiness-card { min-height: 174px; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: white; box-shadow: 0 3px 14px rgba(28,35,33,.04); }
.readiness-top { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; color: var(--muted); font-size: .72rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #a4afbd; }
.status-ready { background: #22a573; box-shadow: 0 0 0 3px #e5f7ef; }
.status-pending { background: #d29b38; box-shadow: 0 0 0 3px #fff4df; }
.readiness-card h3 { margin: 0 0 8px; color: #0e2e23; letter-spacing: -.02em; }
.readiness-card p { min-height: 38px; margin: 0; color: #728096; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.readiness-card small { display: block; margin-top: 11px; color: #8a97a8; font-size: .7rem; }
.pill { display: inline-flex; align-items: center; border-radius: 99px; padding: 5px 9px; font-size: .69rem; font-weight: 700; }
.pill-neutral { background: #eef1f5; color: #6e7a8b; }
.pill-success { background: var(--green-wash); color: var(--green); }
.flow-row { display: flex; align-items: stretch; gap: 10px; padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.flow-step { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 7px; }
.flow-step span { color: #19523f; font-size: .69rem; font-weight: 700; letter-spacing: .1em; }
.flow-step strong { color: #0e2e23; font-family: Outfit, ui-sans-serif, system-ui, sans-serif; font-size: .87rem; }
.flow-step small { color: #5e6572; font-size: .71rem; line-height: 1.45; }
.flow-arrow { display: flex; align-items: center; color: #7d98a1; }
.page-footer { margin-top: 42px; padding-top: 18px; border-top: 1px solid var(--line); color: #8794a6; font-size: .71rem; line-height: 1.6; }

.alert { margin: 0 0 18px; padding: 12px 14px; border: 1px solid; border-radius: 9px; font-size: .82rem; line-height: 1.5; }
.alert-success { border-color: #c7ead7; background: var(--green-wash); color: #1c704f; }
.alert-error { border-color: #f0cdcd; background: var(--red-wash); color: var(--red); }
.settings-section { margin: 0 0 22px; padding: 23px 25px 25px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 3px 14px rgba(23,37,56,.025); }
.settings-section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 12px; }
.settings-section-head > div { display: flex; align-items: center; gap: 13px; }
.settings-section-head .eyebrow { margin-bottom: 4px; }
.section-number { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 10px; background: var(--blue-wash); color: var(--blue); font-family: Outfit, ui-sans-serif, system-ui, sans-serif; font-size: .8rem; font-weight: 800; }
.settings-section-head h2 { font-size: 1.27rem; }
.section-description { max-width: 860px; margin: 0 0 18px; color: #6e7d91; font-size: .82rem; line-height: 1.65; }
.field-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-bottom: 18px; }
.field-hint-card { padding: 14px 15px; border: 1px solid #e7edf4; border-radius: 9px; background: #fafcff; }
.field-hint-card strong { color: #30445e; font-size: .78rem; }
.field-hint-card p { margin: 7px 0 5px; color: #465a73; font-size: .75rem; line-height: 1.55; }
.field-hint-card small { color: #8390a2; font-size: .7rem; line-height: 1.55; }
.upload-form { padding: 15px; border: 1px dashed #cbd8e7; border-radius: 9px; background: #fbfcfe; }
.sheets-form { margin-top: 12px; }
.upload-form label { display: block; margin-bottom: 8px; }
.upload-row { display: flex; align-items: center; gap: 12px; }
.upload-row input[type="file"] { min-height: 41px; padding: 6px; color: #78879a; font-size: .76rem; }
.upload-row input[type="file"]::file-selector-button { margin-right: 9px; padding: 6px 9px; border: 0; border-radius: 6px; background: #edf2f8; color: #405573; font-size: .73rem; font-weight: 700; cursor: pointer; }
.stored-file { display: flex; align-items: center; gap: 11px; margin-top: 13px; padding: 11px 13px; border: 1px solid #e5ebf2; border-radius: 9px; }
.file-mark { display: grid; width: 34px; height: 38px; place-items: center; border-radius: 6px; background: #e9f5ed; color: #258054; font-size: .62rem; font-weight: 800; }
.file-mark-purple { background: #f1edff; color: #7057b2; }
.stored-file div { display: grid; gap: 4px; min-width: 0; }
.stored-file strong { overflow: hidden; color: #394c64; font-size: .77rem; text-overflow: ellipsis; white-space: nowrap; }
.stored-file small { color: #8995a5; font-size: .67rem; }
.detail-box { margin-top: 12px; padding: 11px 13px; border: 1px solid #e5ebf2; border-radius: 8px; color: #4f627a; }
.detail-box summary { color: #415670; cursor: pointer; font-size: .76rem; font-weight: 700; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; }
.tag-cloud span { padding: 4px 7px; border: 1px solid #e3eaf3; border-radius: 5px; background: #f7f9fc; color: #54667d; font-size: .68rem; }
.warning-text, .success-text { margin: 11px 0 0; font-size: .75rem; line-height: 1.55; }
.warning-text { color: var(--amber); }
.success-text { color: var(--green); }
.field-catalog { margin-top: 18px; }
.muted-inline { color: #91a0b2; font-size: .7rem; font-weight: 500; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 15px; }
.catalog-group { padding: 13px; border: 1px solid #ebeff4; border-radius: 8px; background: #fcfdff; }
.catalog-group h3 { margin: 0 0 9px; color: #324966; font-size: .78rem; letter-spacing: 0; }
.catalog-group ul { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.catalog-group li { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; color: #596b81; font-size: .69rem; }
.catalog-group code, .settings-section code { color: #28558a; font-size: .68rem; }
.required-label { border-radius: 4px; padding: 2px 5px; background: #fff1d7; color: #95600b; font-size: .6rem; font-weight: 700; }
.catalog-note { margin: 14px 0 0; color: #7c8a9c; font-size: .72rem; line-height: 1.6; }
.provider-form { display: grid; gap: 15px; }
.provider-form .field-grid { margin: 0; }
.form-field { display: grid; gap: 7px; }
.form-field small, .micro-note { color: #8591a2; font-size: .69rem; line-height: 1.5; }
.button-row { display: flex; flex-wrap: wrap; gap: 9px; }
.micro-note { margin: -5px 0 0; }

@media (max-width: 960px) {
  .app-shell { grid-template-columns: 190px minmax(0,1fr); }
  .readiness-grid { grid-template-columns: 1fr; }
  .readiness-card { min-height: 0; }
  .readiness-card p { min-height: 0; }
  .flow-row { flex-wrap: wrap; }
  .flow-step { min-width: 37%; }
}
@media (max-width: 680px) {
  .topbar { min-height: 62px; padding: 0 15px; }
  .topbar .brand-lockup .brand-logo { width: 36px; height: 36px; }
  .brand-name { font-size: .9rem; }
  .brand-tagline { font-size: .58rem; }
  .buyer-flow ol { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .account-label { display: none; }
  .app-shell { display: block; min-height: calc(100vh - 62px); }
  .sidebar { position: static; display: flex; height: auto; flex-direction: row; align-items: center; gap: 6px; padding: 9px 13px; border-right: 0; border-bottom: 1px solid var(--line); }
  .side-caption, .sidebar-spacer, .sidebar-brand { display: none; }
  .nav-link { min-height: 37px; margin: 0; padding: 0 12px; }
  .main-content { padding: 27px 15px 25px; }
  .page-heading { display: grid; align-items: start; gap: 17px; margin-bottom: 22px; }
  .page-heading .button { justify-self: start; }
  .settings-section { padding: 18px 15px; }
  .settings-section-head h2 { font-size: 1.12rem; }
  .field-grid, .catalog-grid { grid-template-columns: 1fr; }
  .upload-row { align-items: stretch; flex-direction: column; }
  .button-row .button { flex: 1; }
  .flow-arrow { display: none; }
  .flow-step { min-width: calc(50% - 8px); padding: 7px 0; }
  .login-card { padding: 31px 25px 23px; }
}

/* OIP30 synthetic solution walkthrough */
.demo-content { max-width: 1540px; }
.demo-heading-actions { display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.demo-disclaimer { margin: 0 0 19px; padding: 14px 17px; border: 1px solid #a9b4c2; border-left: 4px solid #19523f; border-radius: 10px; background: #f6f8f6; color: #4d5a55; font-size: .79rem; line-height: 1.55; }
.demo-disclaimer strong { color: #0e2e23; }
.buyer-flow { margin: 0 0 20px; padding: 17px 19px; border: 1px solid #a9b4c2; border-radius: 12px; background: #0e2e23; color: #fff; }
.buyer-flow-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 13px; }
.buyer-flow-heading span { color: #8fd6b4; font-size: .62rem; font-weight: 800; letter-spacing: .16em; }
.buyer-flow-heading strong { font-size: .98rem; font-weight: 650; }
.buyer-flow ol { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; margin: 0; padding: 0; list-style: none; }
.buyer-flow li { display: grid; grid-template-columns: 27px minmax(0,1fr); column-gap: 8px; padding: 10px 12px 8px 0; border-top: 1px solid rgba(255,255,255,.23); }
.buyer-flow li b { grid-row: span 2; color: #8fd6b4; font-size: .67rem; }
.buyer-flow li span { font-size: .74rem; font-weight: 650; }
.buyer-flow li small { color: #c6d2e2; font-size: .63rem; line-height: 1.4; }
.demo-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 16px; }
.demo-kpi, .demo-panel { min-width: 0; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 3px 14px rgba(23,37,56,.025); }
.demo-kpi { display: grid; gap: 5px; }
.demo-kpi span { color: #64758a; font-size: .73rem; font-weight: 650; }
.demo-kpi strong { color: var(--navy); font-size: 1.75rem; letter-spacing: -.04em; }
.demo-kpi small { color: #8b98a8; font-size: .67rem; }
.demo-workspace { display: grid; grid-template-columns: minmax(255px,.78fr) minmax(0,2fr); align-items: start; gap: 15px; }
.demo-main-column { display: grid; gap: 15px; min-width: 0; }
.demo-panel h2 { color: #0e2e23; }
.demo-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.demo-section-heading .eyebrow { margin-bottom: 5px; }
.demo-section-heading h2 { font-size: 1.19rem; }
.demo-queue-panel { position: sticky; top: 88px; display: flex; height: calc(100vh - 105px); max-height: calc(100vh - 105px); min-height: 360px; flex-direction: column; overflow: hidden; }
.enquiry-queue { display: grid; min-height: 0; flex: 1 1 auto; gap: 8px; margin: 14px -4px 14px 0; padding: 0 4px 0 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
.enquiry-queue:focus-visible { outline: 2px solid #19523f; outline-offset: 2px; }
.queue-card { display: grid; width: 100%; gap: 7px; padding: 11px; border: 1px solid #e3e9f0; border-radius: 9px; background: #fff; color: var(--ink); text-align: left; }
.queue-card:hover { border-color: #a9c5ec; background: #f8fbff; }
.queue-card.active { border-color: #7d98a1; background: #eef5f0; box-shadow: inset 3px 0 #19523f; }
.queue-card-top, .queue-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.queue-card-top strong { color: #536881; font-size: .7rem; }
.queue-card-top i { border-radius: 99px; padding: 3px 7px; font-size: .6rem; font-style: normal; font-weight: 750; }
.priority-high, .pill-high { background: #ffeded; color: #a43a42; }
.priority-medium, .pill-medium { background: #fff4dd; color: #91600d; }
.priority-low, .pill-low { background: #edf3f8; color: #61758c; }
.queue-buyer { font-size: .78rem; font-weight: 700; }
.queue-summary { color: #50647b; font-size: .71rem; }
.queue-card-foot { color: #8995a5; font-size: .63rem; }
.priority-legend { display: grid; gap: 5px; padding: 11px; border-radius: 8px; background: #f6f8fb; color: #768498; font-size: .67rem; line-height: 1.5; }
.priority-legend strong { color: #50627a; }
.case-summary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin-bottom: 15px; }
.case-summary-grid > div { display: grid; gap: 4px; padding: 10px; border-radius: 8px; background: #f7f9fc; }
.case-summary-grid small, .demo-panel small { color: #8794a5; font-size: .64rem; }
.case-summary-grid strong { color: #40546c; font-size: .72rem; line-height: 1.45; }
.demo-label { display: block; margin: 12px 0 7px; color: #344a63; font-size: .75rem; font-weight: 700; }
.demo-label .micro-note { margin-left: 5px; font-weight: 400; }
.demo-textarea, .demo-panel input, .demo-panel select { width: 100%; min-height: 40px; border: 1px solid #d7e0eb; border-radius: 8px; background: #fff; padding: 9px 11px; color: #30445c; font: inherit; font-size: .76rem; line-height: 1.55; }
.demo-textarea { resize: vertical; }
.demo-textarea:focus, .demo-panel input:focus, .demo-panel select:focus { border-color: #7d98a1; outline: 0; box-shadow: 0 0 0 3px rgba(25,82,63,.12); }
.quote-output { min-height: 190px; background: #fbfcfe; }
.demo-action-row { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin: 10px 0; }
.inline-status { color: #718096; font-size: .7rem; line-height: 1.5; }
.extraction-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; margin-top: 12px; }
.extraction-grid label, .price-recommendation label { display: grid; gap: 6px; color: #5a6d84; font-size: .68rem; font-weight: 650; }
.evidence-note { margin: 10px 0; padding: 10px 11px; border-left: 3px solid #9dbce5; background: #f5f8fd; color: #61748a; font-size: .69rem; line-height: 1.55; }
.empty-state { padding: 15px; border: 1px dashed #d9e1ea; border-radius: 8px; color: #8693a4; font-size: .72rem; }
.comparable-table { display: grid; gap: 8px; padding: 12px; border: 1px solid #e7edf4; border-radius: 8px; background: #fbfcfe; }
.comparable-table > strong { color: #40546c; font-size: .72rem; }
.comparable-row { display: flex; justify-content: space-between; gap: 12px; padding-top: 7px; border-top: 1px solid #edf0f4; color: #77869a; font-size: .67rem; }
.comparable-row strong { color: #324966; white-space: nowrap; }
.price-recommendation { display: grid; grid-template-columns: minmax(0,1fr) minmax(160px,.55fr); align-items: end; gap: 12px; margin-top: 12px; padding: 13px; border: 1px solid #dce8f7; border-radius: 9px; background: #f7faff; }
.price-recommendation > div:first-child { grid-column: 1 / -1; }
.price-recommendation > div > strong { display: block; margin-top: 4px; color: #19523f; font-size: 1.27rem; }
.price-recommendation p { margin: 7px 0 0; }
.followup-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 10px; padding: 12px; border: 1px solid #e8edf3; border-radius: 9px; background: #fafbfd; }
.followup-box strong { color: #40546c; font-size: .74rem; }
.followup-box p { margin: 5px 0 0; }
.appointment-row { display: grid; grid-template-columns: auto minmax(170px,1fr) auto; align-items: center; gap: 10px; color: #5a6d84; font-size: .71rem; }
.demo-lower-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; margin-top: 15px; }
.demo-lower-grid .section-description { margin-bottom: 12px; }
.demo-lower-grid > .demo-panel > .button { margin: 10px 0; }
.transcript-card { margin-top: 12px; padding: 12px; border: 1px solid #e7edf4; border-radius: 8px; background: #fbfcfe; }
.transcript-card p { margin: 5px 0 12px; color: #40546c; font-size: .75rem; line-height: 1.55; }
.transcript-card p:last-child { margin-bottom: 0; }
.analytics-bars { display: grid; gap: 12px; margin: 18px 0; }
.analytics-row { display: grid; grid-template-columns: minmax(90px,.8fr) minmax(80px,1.4fr) 22px; align-items: center; gap: 10px; color: #687a90; font-size: .68rem; }
.analytics-row strong { color: #42566f; text-align: right; }
.analytics-track { height: 8px; overflow: hidden; border-radius: 99px; background: #edf1f6; }
.analytics-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#8fd6b4,#19523f); }
.analytics-footnote { padding-top: 11px; border-top: 1px solid #edf0f4; color: #8995a5; font-size: .66rem; line-height: 1.55; }
/* Document-backed enquiry intake */
.contact-capture-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 15px 0 9px; }
.contact-capture-grid label { display: flex; flex-direction: column; gap: 6px; color: #45536a; font-size: .7rem; font-weight: 650; }
.contact-capture-grid input,.contact-capture-grid select { min-width: 0; border: 1px solid #dce2eb; border-radius: 7px; background: #fff; padding: 9px 10px; color: #26344a; font: inherit; font-weight: 400; font-size: .78rem; }
.contact-capture-grid input:focus,.contact-capture-grid select:focus { outline: 2px solid #d5ebdd; border-color: #19523f; }
.source-document-card { display: flex; align-items: center; gap: 11px; padding: 12px; border: 1px solid #e1e6ef; border-radius: 9px; background: #fafbfd; margin: 14px 0; }
.pdf-mark { width: 34px; height: 38px; border-radius: 5px; background: #fff0f0; color: #bb4e59; border: 1px solid #f2d7d9; display: grid; place-items: center; font-weight: 800; font-size: .65rem; flex: none; }
.source-document-meta { min-width: 0; flex: 1; }
.source-document-meta strong,.source-document-meta span { display: block; overflow-wrap: anywhere; }
.source-document-meta strong { font-size: .75rem; color: #34435a; }
.source-document-meta span { font-size: .65rem; color: #7f8b9d; margin-top: 4px; line-height: 1.4; }
.ownership-record-wrap { border: 1px solid #e6eaf1; border-radius: 9px; padding: 12px; margin-top: 14px; }
.ownership-record-heading { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; margin-bottom: 9px; }
.ownership-record-heading strong,.ownership-record-heading span { display: block; }
.ownership-record-heading strong { font-size: .78rem; color: #35445b; }
.ownership-record-heading span { font-size: .66rem; color: #8290a2; margin-top: 4px; line-height: 1.4; }
.ownership-group { border-top: 1px solid #eef0f4; padding: 9px 0; }
.ownership-group summary { cursor: pointer; font-weight: 700; font-size: .72rem; color: #4a5870; }
.ownership-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin: 10px 0 2px; }
.ownership-field { margin: 0; padding: 8px 9px; border-radius: 6px; background: #f7f8fb; min-width: 0; }
.ownership-field dt { font-size: .64rem; color: #7c889b; margin: 0 0 5px; }
.ownership-field dd { font-size: .7rem; line-height: 1.4; color: #3b4a62; margin: 0; overflow-wrap: anywhere; }
.restricted-data { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid #eef0f4; padding-top: 11px; margin-top: 3px; }
.restricted-data strong,.restricted-data span { display: block; }
.restricted-data strong { font-size: .72rem; color: #7d4b28; }
.restricted-data span { font-size: .64rem; color: #8a7a67; margin-top: 4px; line-height: 1.4; }
.private-owner-details { padding-top: 10px; }
.intake-options { margin: 15px 0; padding: 12px; border: 1px solid #e4eaf2; border-radius: 9px; background: #fbfcfe; }
.enquiry-save-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid #e4eaf2; border-radius: 8px; background: #f9fbfd; }
.enquiry-save-bar label { display: flex; align-items: center; gap: 7px; color: #64758a; font-size: .68rem; }
.enquiry-save-bar input[type="checkbox"] { width: auto; min-height: 0; }
.enquiry-save-bar .inline-status { flex: 1; min-width: 160px; }
.intake-options > summary { color: #344a63; cursor: pointer; font-size: .78rem; font-weight: 750; }
.intake-path-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 12px; }
.intake-path { display: grid; align-content: start; gap: 9px; padding: 13px; border: 1px solid #e7edf4; border-radius: 8px; background: #fff; }
.intake-path h3 { color: #354c66; font-size: .86rem; }
.intake-path > label { display: grid; gap: 5px; color: #5a6d84; font-size: .67rem; font-weight: 650; }
.intake-path input[type="text"],.intake-path input[type="tel"],.intake-path input[type="email"],.intake-path input[type="number"],.intake-path input[type="file"] { min-width: 0; width: 100%; border: 1px solid #d7e0eb; border-radius: 7px; background: white; padding: 8px; color: #30445c; font: inherit; font-size: .72rem; }
.intake-path .extraction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); margin: 0; }
.intent-assessment { margin-top: 15px; padding: 13px; border: 1px solid #e4eaf2; border-radius: 9px; background: #fbfcfe; }
.intent-assessment h3 { color: #20334b; font-size: .95rem; }
.intent-score-line { display: flex; align-items: baseline; gap: 9px; margin: 5px 0; }
.intent-score-line strong { color: #19523f; font-size: 1.55rem; }
.intent-score-line span { color: #77869a; font-size: .69rem; }
.intent-evidence { display: flex; flex-wrap: wrap; gap: 7px 18px; margin: 7px 0; padding-left: 18px; color: #5e7086; font-size: .67rem; }
.private-owner-details[hidden] { display: none; }
a[aria-disabled="true"] { opacity: .55; pointer-events: none; }
@media (max-width: 960px) {
  .demo-workspace { grid-template-columns: 1fr; }
  .demo-queue-panel { position: static; height: auto; max-height: none; min-height: 0; overflow: visible; }
  .enquiry-queue { flex: 0 1 auto; max-height: 440px; }
  .enquiry-queue { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 680px) {
  .demo-kpis { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .demo-lower-grid { grid-template-columns: 1fr; }
  .enquiry-queue { grid-template-columns: 1fr; }
  .extraction-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .appointment-row { grid-template-columns: 1fr; }
  .price-recommendation { grid-template-columns: 1fr; }
  .price-recommendation > div:first-child { grid-column: auto; }
  .followup-box { align-items: flex-start; flex-direction: column; }
  .contact-capture-grid,.ownership-fields { grid-template-columns: 1fr; }
  .intake-path-grid { grid-template-columns: 1fr; }
  .source-document-card { align-items: flex-start; flex-wrap: wrap; }
  .source-document-card .button { margin-left: 45px; }
  .restricted-data { align-items: flex-start; flex-direction: column; }
  .ownership-record-heading { flex-direction: column; }
}
