/* Customer experience layer: stronger section contrast, account menu, pricing, auth and guided results. */
:root{--charcoal:#1c232b;--slate:#2e3b4a;--indigo:#262c66;--cream:#f7f0e4;--white:#fff;--orange:#fc6c18;--orange-dark:#c2410c;--ok:#1d6b45;--warn:#8a5a00}

/* Section contrast: charcoal, cream, white, slate and indigo bands, with orange accents. */
.hero-banner{background:var(--charcoal)}
.hero-banner h2 .orange,.orange{color:var(--orange)}
.strip{background:var(--orange-dark);color:#fff;font-weight:600}
.cream-section{background:var(--cream)}
.photo-section{background:var(--slate);color:#fff}
.photo-section p{color:#dbe4ec}
.photo-section .muted{color:#c3d0db}
.navy-section{background:var(--indigo)}
footer{background:var(--charcoal)}
.pricing-page,.prospect-gate{background:var(--white)}
.pricing-teaser{background:var(--cream);border-radius:18px;padding:28px;margin-bottom:40px}

/* Header account area */
header[hidden],[hidden]{display:none!important}
#account-area{display:flex;align-items:center}
.header-signin{font-weight:600;padding:8px 12px}
.account-menu{position:relative}
.account-toggle{display:flex;align-items:center;gap:8px;background:#fff;color:var(--ink);border:1px solid var(--line);padding:6px 12px 6px 6px;border-radius:999px}
.account-toggle .member-avatar{width:30px;height:30px;font-size:14px;display:inline-grid;place-items:center;border-radius:50%;background:var(--ink);color:#fff}
.reminder-dot{background:var(--orange);color:#fff;border-radius:999px;font-size:12px;min-width:20px;padding:1px 6px;text-align:center}
.account-dropdown{position:absolute;right:0;top:calc(100% + 8px);background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px rgba(9,45,67,.18);min-width:240px;padding:8px;z-index:50;display:flex;flex-direction:column}
.account-dropdown a,.account-dropdown button{display:block;text-align:left;padding:10px 12px;border-radius:8px;color:var(--ink);background:none;border:0;font:inherit;text-decoration:none;width:100%}
.account-dropdown a:hover,.account-dropdown button:hover,.account-dropdown a:focus-visible,.account-dropdown button:focus-visible{background:#f1f4f6}
.account-dropdown button[data-email-signout]{border-top:1px solid var(--line);margin-top:4px;border-radius:0 0 8px 8px;color:var(--red)}
.account-who{font-size:13px;color:var(--muted);padding:6px 12px;margin:0;overflow:hidden;text-overflow:ellipsis}

/* Pricing */
.pricing-group{margin-top:34px}
.consult-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.plan.consult .price small{font-size:15px}
.plan.featured{border:2px solid var(--orange)}
.plan-vehicles{font-weight:700;font-size:18px;color:var(--indigo);margin:2px 0 10px}
.plan-shared{background:var(--cream);border-radius:14px;padding:18px 22px;margin-top:22px}
.plan-shared-lead{font-weight:700;font-size:18px;color:var(--ink);margin:0 0 6px}
.plan-shared p:last-child{margin-bottom:0}
.legacy-consult{margin-top:22px}
.vehicle-allowance{margin:0 0 12px}
.single-offer{margin-top:14px}
@media(max-width:860px){.consult-grid{grid-template-columns:1fr}}

/* Gates and account */
.gate-list{padding-left:20px;line-height:1.9}
.notice.success{border-left:4px solid var(--ok)}
.notice.intent{border-left:4px solid var(--orange)}
.auth-card{max-width:560px;margin:auto}
.password-field{display:flex;gap:8px;align-items:stretch}
.password-field input{flex:1;min-width:0}
.password-toggle{flex:none;min-width:68px;padding:0 12px;background:#fff;color:var(--ink);border:1px solid var(--line)}

/* Guided consultation */
.guided-result h3{margin-top:0}
.guided-result h4{margin:22px 0 8px;font-size:16px}
.guided-summary{font-weight:600;background:var(--cream);padding:12px 14px;border-radius:10px}
.guided-causes{padding-left:20px}
.guided-causes li{margin-bottom:12px}
.guided-causes p{margin:4px 0 0}
.likelihood{display:inline-block;font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.4px;padding:2px 8px;border-radius:999px;margin-right:8px}
.likelihood.high{background:#fde3d3;color:#8a3200}
.likelihood.mid{background:#e7edf5;color:#22405e}
.likelihood.low{background:#eef0f1;color:#5a6670}
.guided-question{margin-bottom:12px}
.guided-question p{margin:0 0 6px}
.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{background:#fff;color:var(--ink);border:1px solid #9fb2c0;border-radius:999px;padding:6px 14px;font-size:14px}
.chip:hover,.chip:focus-visible{border-color:var(--orange)}
.guided-tests li{margin-bottom:8px}
.guided-sources{font-size:14px;color:var(--muted)}
.guided-now{margin:14px 0}
.guided-now h4{margin:0 0 8px}
.guided-now .notice{margin:0 0 8px}
.guided-tip{font-size:14px;margin:4px 0 0}
.guided-known{font-size:14px;background:#f3f5f7;border-left:3px solid var(--slate);padding:8px 12px;border-radius:6px}
.guided-update{font-size:14px;font-weight:600;color:var(--indigo)}
.guided-review p{margin:0 0 8px}
.guided-review p:last-child{margin-bottom:0}
.guided-because{font-size:14px;color:var(--muted)}
.guided-more{border-top:1px solid var(--line);margin-top:12px}
.guided-more:last-of-type{border-bottom:1px solid var(--line)}
.guided-more summary{cursor:pointer;font-weight:600;padding:12px 4px;min-height:44px;display:flex;align-items:center;gap:8px;list-style:none}
.guided-more summary::-webkit-details-marker{display:none}
.guided-more summary::before{content:'+';display:inline-flex;width:20px;justify-content:center;color:var(--orange-dark);font-weight:700}
.guided-more[open] summary::before{content:'−'}
.guided-more summary:focus-visible{outline:3px solid var(--orange);outline-offset:2px;border-radius:6px}
.guided-more>:not(summary){margin-left:28px}
.guided-result h3:focus{outline:none}
.guided-result h3:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.chip{min-height:40px}
.chip:disabled{opacity:.6}
.guided-charge{font-size:14px;color:var(--ok);font-weight:600}
#guided-panel{margin:16px 0}
.guided-kind{border:0;padding:0;margin:0 0 10px}
.guided-kind legend{font-weight:600;margin-bottom:6px}
.choice{display:flex;gap:8px;align-items:center;font-weight:400;margin:6px 0}
.choice input{width:auto}

/* Maintenance planner */
.mileage-card{display:grid;grid-template-columns:1fr auto;gap:8px 20px;align-items:end;margin:16px 0}
.mileage-card h3{margin:0}
.mileage-card label{grid-column:1/-1;margin:0}
.inline-field{display:flex;gap:8px;grid-column:1/-1}
.inline-field input{max-width:220px}
@media(max-width:640px){.mileage-card{grid-template-columns:1fr}.account-label{display:none}.account-dropdown{right:-8px}}
/* Planner: secondary sections fold away below what is due. */
.planner-more{margin-top:18px;border:1px solid var(--line);border-radius:14px;background:#fff}
.planner-more>summary{min-height:44px;display:flex;align-items:center;gap:8px;padding:10px 16px;font-weight:700;cursor:pointer}
.planner-more>summary:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.planner-more[open]>summary{border-bottom:1px solid var(--line)}
.planner-more>section,.planner-more>details{margin:0;padding:16px;border:0;box-shadow:none}
.form-error{color:#b42318;font-weight:600}
#complete-form .choice{font-weight:400;margin-top:6px}
/* Header navigation: navy text with an orange underline for the current page or section, and on hover or focus. */
#primary-nav a[href^="#"]{position:relative;text-decoration:none;padding:6px 0}
#primary-nav a[href^="#"]::after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:2px;background:var(--orange);transform:scaleX(0);transform-origin:left;transition:transform .15s ease}
#primary-nav a[href^="#"]:hover::after,#primary-nav a[href^="#"]:focus-visible::after,#primary-nav a[aria-current]::after{transform:scaleX(1)}
#primary-nav a[aria-current]{color:#092d43}
@media(max-width:700px){#primary-nav a[href^="#"]{display:inline-flex;align-items:center;min-height:40px;padding:0}}
#primary-nav a:focus-visible{outline:2px solid var(--orange);outline-offset:4px;border-radius:2px}
@media(prefers-reduced-motion:reduce){#primary-nav a[href^="#"]::after{transition:none}}
/* Situational poses sit in a cream panel the exact size of the picture, so every place the artwork is
   cropped (car body, tyre, waist) lands on the panel's edge rather than floating in the page. */
.pose{background:var(--cream);border-radius:18px;overflow:hidden;width:100%;max-width:520px}
.pose img{display:block;width:100%;height:auto}
.trust-mascot.pose{max-width:440px;justify-self:center}
.setup-empty .pose{max-width:220px}
.features-intro{display:grid;grid-template-columns:1fr minmax(240px,420px);gap:28px;align-items:end;margin-bottom:24px}
@media(max-width:860px){.features-intro{grid-template-columns:1fr}.features-intro .pose{max-width:420px}.setup-empty .pose{margin:0 auto}}

/* "What Does CarMonkey Say?": one verdict, the question to ask, the quote as read, and the shop's figures. */
.guided-lead{font-size:18px;font-weight:600;color:var(--ink);margin:10px 0}
.guided-next{background:#f3f5f7;border-radius:10px;padding:12px 14px}
.verdict{border-radius:12px;padding:14px 16px;margin:12px 0;border:2px solid}
.verdict p{margin:6px 0 0;color:var(--ink);font-weight:600}
.verdict-label{display:inline-block;font-size:14px;font-weight:800;letter-spacing:.6px;padding:3px 10px;border-radius:999px;color:#fff}
.verdict-reasonable{border-color:var(--ok);background:#eef7f1}.verdict-reasonable .verdict-label{background:var(--ok)}
.verdict-ask{border-color:var(--warn);background:#fff6e5}.verdict-ask .verdict-label{background:var(--warn)}
.verdict-hold{border-color:#a32123;background:#fff0ee}.verdict-hold .verdict-label{background:#a32123}
.mechanic-ask{border-left:4px solid var(--orange);background:#fff;border-radius:8px;padding:12px 14px;margin:12px 0;box-shadow:0 1px 0 var(--line)}
.mechanic-ask h4{margin:0 0 6px}
.mechanic-ask p{margin:0 0 10px;color:var(--ink);font-size:16px}
.mechanic-ask button{min-height:44px;padding:8px 16px}
.quote-check{margin:12px 0}
.quote-check h4{margin:0 0 6px}
.quote-check table{max-width:360px}
.quote-check td{text-align:right;font-variant-numeric:tabular-nums}
.quote-total th,.quote-total td{font-weight:700;border-bottom:0}
.quote-status{font-size:14px;font-weight:600;margin:6px 0 0}
.quote-status.ok{color:var(--ok)}.quote-status.warn{color:var(--warn)}
.guided-save-note{font-size:14px}
.estimate-form{border:1px solid var(--line);border-radius:12px;padding:6px 16px 14px;margin:16px 0;background:#fff;min-width:0}
.estimate-form legend{font-weight:700;padding:0 6px}
.estimate-form textarea{min-height:64px}
.est-quote{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 12px}
.est-quote input{font-variant-numeric:tabular-nums}
.est-prior{margin:4px 0 8px}
.est-prior .muted{margin:6px 0 0}
.doc-label{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;font-size:13px;margin:0;height:90px;border-radius:4px;background:#f3f5f7;font-weight:700;color:var(--slate)}
@media(max-width:700px){.est-quote{grid-template-columns:1fr 1fr}.est-quote>div:first-child{grid-column:1/-1}.quote-check table{max-width:none}}

/* Compact leak intake: one screen of choices, each with "Not sure". */
.leak-group{border:0;padding:0;margin:18px 0 0;min-width:0}
.leak-group legend{font-weight:600;margin-bottom:8px;padding:0}
.leak-group .location-picker{margin-top:4px}
.chip.selected{background:#fff1df;border:2px solid #c15a12}
.intake-resumed{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.intake-resumed button{min-height:40px;padding:6px 14px}
/* Account-state navigation. Members find their pages in the header, so on wider screens the side rail is
   not repeated; where the header links sit behind Menu the rail stays, as a row of tabs on a phone. */
@media(min-width:901px){.member-app{display:block}.member-app>.sidebar{display:none}}
/* Between phone and desktop widths the header links were hidden with no Menu button; use the menu up to 900px. */
@media(min-width:701px) and (max-width:900px){header{flex-wrap:wrap;height:auto;min-height:92px}header .menu-toggle{display:block;min-height:44px;padding:10px;font-size:12px}header nav{display:none;order:5;width:100%;padding:12px 0 6px;margin:0;gap:24px;font-size:14px}header.menu-open nav{display:flex}header .header-ask{margin-left:auto}}
.no-rail{display:block}
.member-app>.workspace,.no-rail>.workspace{max-width:1180px;margin:0 auto}
.entitlement-bar{flex-wrap:wrap;align-items:center}
.entitlement-bar a{font-weight:700;white-space:nowrap}
.account-plan{margin:0 12px 6px;font-size:13px;color:var(--muted)}
.account-group{margin:8px 12px 2px;padding-top:10px;border-top:1px solid var(--line);font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.plan.current{border-color:var(--orange);box-shadow:0 0 0 2px var(--orange) inset}
.plan .current-plan{background:#fff1e8;color:#9a3d06;border:1px solid var(--orange);font-size:12px;letter-spacing:.06em;text-transform:uppercase}
.member-layout .actions{align-items:center}
.plan-change{font-size:14px;color:var(--muted)}
@media(max-width:1000px){header.member-header nav{gap:14px}}
@media(max-width:900px){header.member-header #account-area{margin-left:auto}}
.account-dropdown{max-height:calc(100vh - var(--header-height,92px) - 16px);overflow-y:auto}
/* Phones: brand, account and Menu share one row; the header's main action moves to the end of the menu. */
#primary-nav .menu-cta{display:none}
@media(max-width:480px){header .header-ask{display:none}#primary-nav .menu-cta{display:inline-flex;align-items:center;min-height:44px;padding:0 16px;border-radius:8px;background:var(--orange);color:#111;font-weight:700;text-decoration:none}#primary-nav .menu-cta::after{display:none}header:not(.member-header) #account-area{margin-left:auto}}
