/* Customer-only tokens. Admin theme remains independent. */
.customer-site {
    --customer-primary: #0e7c86;
    --customer-primary-ink: #0b6a73;
    --customer-primary-light: #e3f4f5;
    --customer-accent: #f5b800;
    --customer-ink: #0d2b2f;
    --customer-muted: #4f6366;
    --customer-ground: #f4f8f7;
    --customer-line: #dfeceb;
    --customer-control: #c5dcdc;
    --customer-surface: #fff;
    color: var(--customer-ink);
    background: var(--customer-ground);
    margin: 0;
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    font-size: 16px;
}
.customer-site *, .customer-site *::before, .customer-site *::after { box-sizing: border-box; }
.customer-site [hidden] { display: none !important; }
.customer-site :focus-visible { outline: 2px solid var(--customer-primary); outline-offset: 4px; }
.customer-container { width: min(100% - 32px, 1120px); margin-inline: auto; }
.customer-header { background: var(--customer-surface); border-bottom: 1px solid var(--customer-line); }
.customer-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.customer-logo { display: inline-flex; align-items: center; gap: 9px; color: var(--customer-ink); font-size: 21px; font-weight: 900; white-space: nowrap; }
.customer-logo > span { width: 15px; height: 20px; border-radius: 4px; background: var(--customer-primary); }
.customer-agency-login { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 12px; border: 1px solid var(--customer-control); border-radius: 12px; color: var(--customer-primary-ink); font-size: 14px; font-weight: 800; white-space: nowrap; }
.customer-desktop-nav { display: none; }
.customer-bottom-nav { position: fixed; inset: auto 0 0; z-index: 40; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--customer-surface); border-top: 1px solid var(--customer-line); padding: 6px 12px calc(6px + env(safe-area-inset-bottom)); }
.customer-bottom-nav a { display: flex; min-height: 56px; gap: 4px; flex-direction: column; align-items: center; justify-content: center; border-radius: 12px; color: var(--customer-muted); font-size: 12px; font-weight: 800; }
.customer-bottom-nav a[aria-current] { color: var(--customer-primary-ink); background: var(--customer-primary-light); }
.customer-bottom-nav svg { width: 22px; height: 22px; }
.customer-footer { display: none; }
.customer-skip { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); clip-path: inset(50%); white-space: nowrap; border: 0; z-index: 100; background: var(--customer-surface); color: var(--customer-primary-ink); }
.customer-skip:focus { position: fixed; top: 8px; inset-inline-start: 8px; width: auto; height: auto; padding: 12px; margin: 0; overflow: visible; clip: auto; clip-path: none; white-space: normal; }
.customer-home { padding-block: 40px 32px; }
.customer-hero { max-width: 760px; margin-inline: auto; text-align: center; }
.customer-eyebrow { color: var(--customer-primary-ink); font-size: 14px; font-weight: 800; margin: 0 0 14px; }
.customer-hero h1 { font-size: clamp(27px, 5vw, 46px); font-weight: 900; line-height: 1.65; margin: 0; letter-spacing: -.7px; }
.customer-intro { color: var(--customer-muted); font-size: 15px; line-height: 1.9; max-width: 290px; margin: 10px auto 24px; }
.customer-tabs { display: inline-flex; max-width: 100%; gap: 4px; padding: 5px; border: 1px solid var(--customer-line); background: var(--customer-primary-light); border-radius: 16px; }
.customer-tabs button { min-height: 44px; padding: 8px 12px; color: var(--customer-muted); font-size: 14px; font-weight: 800; border-radius: 12px; }
.customer-tabs button[aria-selected=true] { background: var(--customer-surface); color: var(--customer-primary-ink); }
.customer-ask { margin-top: 24px; text-align: start; min-width: 0; }
.customer-site .customer-ask-form { border: 1px solid var(--customer-control); border-radius: 18px; background: var(--customer-surface); box-shadow: 0 8px 28px color-mix(in srgb, var(--customer-ink) 5%, transparent); padding: 10px; gap: 4px; align-items: center; }
.customer-ask-form textarea { min-width: 0; color: var(--customer-ink); padding-inline: 6px; order: 0; }
.customer-ask-form [data-advisor-chat-target=mic] { order: 1; color: var(--customer-primary-ink); }
.customer-ask-form [data-advisor-chat-target=button] { order: 2; color: var(--customer-ink); background: var(--customer-accent); width: 46px; height: 46px; }
.customer-ask-form [data-advisor-chat-target=mic][data-listening=true] { background: var(--customer-primary); color: var(--customer-surface); }
.customer-site .customer-examples { display: flex; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 1px 10px; gap: 8px; margin-top: 16px; }
.customer-examples button { min-height: 44px; scroll-snap-align: start; flex: 0 0 auto; white-space: nowrap; background: var(--customer-surface); color: var(--customer-primary-ink); border: 1px solid var(--customer-control); font-size: 14px; font-weight: 700; }
.customer-wizard { margin-top: 24px; padding: 20px 16px; border: 1px solid var(--customer-line); border-radius: 18px; background: var(--customer-surface); text-align: start; }
.customer-site .form-input, .customer-site .form-select, .customer-site .form-textarea { border-color: var(--customer-control); border-radius: 12px; min-height: 44px; color: var(--customer-ink); background-color: var(--customer-surface); }
.customer-wizard button, .customer-wizard label > span { min-height: 44px; }
.customer-trust { display: flex; align-items: start; justify-content: center; gap: 8px; margin: 26px auto 0; max-width: 640px; color: var(--customer-muted); font-size: 13px; line-height: 2; text-align: start; }
.customer-trust svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--customer-primary-ink); }
/* Compatibility for existing public includes until their scheduled design PR.
   Keep legacy utility names functional without leaking the admin palette. */
.customer-site [class*="text-[#"] { color: var(--customer-muted); }
.customer-site [class*="text-[#18312f]"], .customer-site [class*="text-[#1f2933]"] { color: var(--customer-ink); }
.customer-site [class*="text-[#0f766e]"] { color: var(--customer-primary-ink); }
.customer-site [class*="border-[#"] { border-color: var(--customer-line); }
.customer-site [class~="bg-[#f7f3ee]"], .customer-site [class~="bg-[#efe6db]"], .customer-site [class~="bg-[#f1efeb]"], .customer-site [class~="bg-[#fffaf4]"], .customer-site [class~="bg-[#e3f1ee]"] { background-color: var(--customer-primary-light); }
.customer-site [class~="bg-[#0f766e]"], .customer-site [class~="bg-[#18312f]"] { background-color: var(--customer-primary); }
.customer-site [class*="bg-gradient-"] { background-image: none; }
.customer-site [class*="peer-checked:"] { color: var(--customer-muted); background-color: var(--customer-surface); border-color: var(--customer-control); }
.customer-site .peer:checked ~ [class*="peer-checked:"] { color: var(--customer-surface); background-color: var(--customer-primary); border-color: var(--customer-primary); }
.customer-site .customer-ask-form [data-advisor-chat-target=button] { background: var(--customer-accent); color: var(--customer-ink); }
.customer-site .customer-ask-form [data-advisor-chat-target=mic] { background: transparent; color: var(--customer-primary-ink); }
.customer-site .customer-ask-form [data-advisor-chat-target=mic][data-listening=true] { background: var(--customer-primary); color: var(--customer-surface); }
@media (min-width: 768px) {
    .customer-site { padding-bottom: 0; }
    .customer-header-inner { min-height: 88px; }
    .customer-desktop-nav { display: flex; align-items: center; gap: 22px; }
    .customer-desktop-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--customer-muted); font-size: 14px; font-weight: 800; }
    .customer-desktop-nav a:hover, .customer-agency-login:hover { color: var(--customer-primary-ink); }
    .customer-bottom-nav { display: none; }
    .customer-home { min-height: 590px; padding-block: 66px 50px; }
    .customer-intro { max-width: none; font-size: 17px; margin-bottom: 30px; }
    .customer-tabs button { padding-inline: 24px; }
    .customer-ask { margin-top: 30px; }
    .customer-examples { justify-content: center; }
    .customer-trust { margin-top: 36px; font-size: 14px; }
    .customer-footer { display: block; background: var(--customer-ink); color: var(--customer-surface); padding-block: 36px; }
    .customer-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
    .customer-footer .customer-logo { color: var(--customer-surface); }
    .customer-footer p { font-size: 14px; margin-top: 12px; }
    .customer-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px; font-size: 14px; }
    .customer-footer-links a { display: inline-flex; align-items: center; min-height: 44px; }
    .customer-certificates { display: flex; gap: 10px; }
    .customer-certificates span { display: flex; align-items: center; justify-content: center; border: 1px dashed var(--customer-control); border-radius: 16px; width: 90px; min-height: 90px; font-size: 12px; }
}

.customer-site .customer-wizard [data-trip-wizard-target="nextButton"] { background: var(--customer-accent); color: var(--customer-ink); border-radius: 12px; }
