/* The consumer website's stylesheet (INTEL-1113). Its design language is Arthur's prototype and
   applies inside .ws only; nothing here reaches the rest of WISEintelligence. Sizes, colors and
   shadows are the prototype's computed values (measured at 1440 x 900). */

.ws {
    --ws-page: #F4F6F8;
    --ws-modal: #EBEFF3;
    --ws-surface: #FFFFFF;
    --ws-surface-2: #F4F2EA;
    --ws-field: #E9EEF2;
    --ws-ink: #0D1321;
    --ws-navy: #1A2339;
    --ws-muted: #444B55;
    --ws-muted-2: #566073;
    --ws-primary: #25507C;
    --ws-gold: #946005;
    --ws-placeholder: #B69252;
    --ws-border: rgba(37, 80, 124, 0.16);
    --ws-border-strong: rgba(37, 80, 124, 0.28);
    --ws-green: #32A966;
    --ws-lime: #7DC470;
    --ws-yellow: #E8B33A;
    --ws-orange: #D27326;
    --ws-red: #DC3038;
    --ws-shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
    --ws-font: 'DM Sans', system-ui, -apple-system, sans-serif;
    --ws-mono: 'DM Mono', ui-monospace, monospace;

    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--ws-page);
    color: var(--ws-ink);
    font-family: var(--ws-font);
    font-size: 12px;
    line-height: 1.45;
}

body:has(> .ws) { margin: 0; background: #F4F6F8; }
.ws *, .ws *::before, .ws *::after { box-sizing: border-box; }
.ws a { color: inherit; text-decoration: none; }
.ws button { font-family: inherit; }
.ws h1, .ws h2, .ws h3, .ws p, .ws ul, .ws ol { margin: 0; padding: 0; }
.ws ul, .ws ol { list-style: none; }
.ws .material-symbols-outlined { font-size: 16px; line-height: 1; font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 20; }

/* Tones: the five interpretation colors, plus none. Each sets --tone for whatever draws with it. */
.ws-tone-green { --tone: var(--ws-green); --tone-ink: #2F7A4E; }
.ws-tone-lime { --tone: var(--ws-lime); --tone-ink: #4f8a3c; }
.ws-tone-yellow { --tone: var(--ws-yellow); --tone-ink: #9a7415; }
.ws-tone-orange { --tone: var(--ws-orange); --tone-ink: #B4621F; }
.ws-tone-red { --tone: var(--ws-red); --tone-ink: #B23A2B; }
.ws-tone-none { --tone: #9AA3AE; --tone-ink: #566073; }

/* ── Frame ─────────────────────────────────────────────────────────────────────────────────── */
.ws-topbar {
    position: sticky; top: 20px; z-index: 20;
    display: flex; align-items: center; gap: 28px;
    height: 48px; margin: 20px 4px 0; padding: 0 16px 0 17px;
    border: 1px solid var(--ws-border); border-radius: 16px; box-shadow: var(--ws-shadow);
}
/* The blur sits on a layer behind the bar's contents, not on the bar: a blurred element becomes the frame
   of every fixed-position child, and a dialog opened from the bar would be boxed into it. */
.ws-topbar::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: color-mix(in srgb, var(--ws-surface) 82%, transparent);
    backdrop-filter: blur(12px);
}
.ws-brand { position: relative; display: inline-flex; margin-right: 28px; color: var(--ws-ink); }
.ws-brand-logo { display: block; width: 104px; height: auto; }
.ws-beta {
    position: absolute; top: -8px; right: -22px; padding: 2px 4px; border-radius: 3px;
    background: var(--ws-primary); color: #fff; font-size: 7px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
}
.ws-nav { display: flex; gap: 4px; flex: 1; padding-left: 20px; border-left: 1px solid var(--ws-border); height: 100%; align-items: center; }
.ws-nav-item { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 9999px; font-size: 12px; font-weight: 600; letter-spacing: .12px; cursor: default; }
.ws-nav-item:hover { background: var(--ws-field); }
.ws-account { display: flex; gap: 6px; padding-left: 20px; border-left: 1px solid var(--ws-border); height: 100%; align-items: center; }
.ws-account-chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 12px 0 3px; border: 1px solid var(--ws-border-strong); border-radius: 9999px; background: var(--ws-surface); font-size: 11.52px; font-weight: 700; color: var(--ws-ink); }
.ws-account-mark { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ws-primary); color: #fff; font-size: 10px; letter-spacing: .02em; }
.ws-main { flex: 1; width: 100%; max-width: 1340px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px) 72px; }
.ws-footer {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding: 28px clamp(16px, 4vw, 48px); background: var(--ws-navy); color: rgba(255, 255, 255, .8);
}

/* ── Buttons, chips, tags ──────────────────────────────────────────────────────────────────── */
.ws-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 30px; padding: 0 12px; border-radius: 9999px; border: 1px solid var(--ws-primary); cursor: pointer;
    font-size: 11.52px; font-weight: 700; line-height: 1; white-space: nowrap;
}
.ws-btn-primary { background: var(--ws-primary); color: #fff; }
.ws-btn-primary:hover { background: #1d4169; }
.ws-btn-ghost { background: transparent; color: var(--ws-muted); }
.ws-btn-ghost:hover { background: var(--ws-field); }
.ws-icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 9999px; background: transparent; color: var(--ws-muted); cursor: pointer; }
.ws-icon-btn:hover { background: rgba(37, 80, 124, .1); }

.ws-chip {
    display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 7px;
    border: 1px solid var(--ws-border-strong); border-radius: 9999px; background: var(--ws-field); color: var(--ws-muted);
    font-size: 11px; font-weight: 500; line-height: 1; white-space: nowrap; cursor: pointer;
}
.ws-chip:hover { border-color: var(--ws-primary); }
.ws-chip-primary { background: var(--ws-primary); border-color: var(--ws-primary); color: #fff; font-weight: 600; }
.ws-chip-store { gap: 5px; padding: 0 9px 0 7px; background: #000; border-color: #A6A6A6; border-radius: 6px; color: #fff; }
.ws-chip-store svg { width: 15px; height: 15px; }
.ws-chip-store-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.ws-chip-store-text small { font-size: 6px; font-weight: 400; }
.ws-chip-store-text strong { font-size: 10.5px; font-weight: 600; }
.ws-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; max-width: 924px; margin-top: 12px; }

.ws-tag {
    display: inline-block; padding: 2px 10px; border-radius: 9999px;
    background: color-mix(in srgb, var(--tone) 16%, #fff); color: var(--tone-ink);
    font-weight: 600; font-size: 11px; white-space: nowrap;
}
.ws-muted { color: var(--ws-muted); font-size: 12px; }
.ws-count { margin-left: auto; font: 500 12px var(--ws-mono); color: var(--ws-muted); }
.ws-tm { font-size: .55em; vertical-align: .42em; font-weight: 600; letter-spacing: 0; }

/* The small round score beside a food in a list. */
.ws-disc { flex: none; width: 30px; height: 30px; }
.ws-disc-face { fill: var(--tone); }
.ws-disc-track { fill: none; stroke: rgba(255, 255, 255, .35); stroke-width: 9; }
.ws-disc-gauge { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.ws-disc-value { fill: #fff; font: 700 34px var(--ws-font); }

/* ── Photos ────────────────────────────────────────────────────────────────────────────────── */
.ws-photo { display: block; object-fit: contain; background: #fff; }
.ws-photo-empty { display: flex; align-items: center; justify-content: center; background: var(--ws-surface-2); }
.ws-photo-icon { width: 45%; height: 45%; fill: #B8BEC6; }

/* ── Landing page ──────────────────────────────────────────────────────────────────────────── */
.ws-hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 30px; }
.ws-hero-title {
    margin: 30px 0 25px; font-size: clamp(40px, 5.78vw, 83.2px); font-weight: 700; line-height: 1.04; letter-spacing: -.02em;
    color: transparent; background: linear-gradient(180deg, #6E8FB4 0%, #4E7199 55%, #5F81A8 100%); -webkit-background-clip: text; background-clip: text;
}
.ws-hero-title .ws-tm { font-size: .32em; vertical-align: 1.6em; }
.ws-hero-sub { font-size: 13.2px; font-weight: 400; color: var(--ws-muted); line-height: 1.3; }
.ws-hero-art { width: 100%; max-width: 800px; margin: -36px auto 18px; --la-ink: #1A2339; --la-muted: #566073; --la-blue: #25507C; --la-gold: #946005; }

/* The line art, as the prototype draws it once its build-in animation has finished. */
.hm-la { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 330; overflow: visible; }
.hm-la .s, .hm-la .i, .hm-la .k { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1, 1; animation: ws-draw 1.4s cubic-bezier(.22, 1, .36, 1) both; }
.hm-la .s { stroke: var(--la-muted); stroke-opacity: .5; stroke-width: 1.6; }
.hm-la .i { stroke: var(--la-ink); stroke-width: 1.75; }
.hm-la .i.w { stroke-width: 3; }
.hm-la .k { stroke: var(--la-blue); stroke-width: 2.2; }
.hm-la .fi { fill: var(--la-ink); }
.hm-la .fk { fill: var(--la-blue); }
.hm-la .fg { fill: var(--la-gold); }
.hm-la .fg.halo { opacity: .22; }
.hm-la .t { fill: var(--la-muted); font-family: var(--ws-font); font-size: 13px; text-anchor: middle; }
.hm-la .t.n { fill: var(--la-ink); font-family: var(--ws-mono); font-size: 13px; font-weight: 500; letter-spacing: .12em; }
.hm-la .hm-la-thread { stroke-width: 2; }
.hm-la-stage.is-lit .t.n { fill: var(--la-blue); }
.hm-la-stage.is-lit .hm-la-branch { stroke: var(--la-blue); stroke-opacity: .55; }
.hm-la-scan { opacity: 0; }
.hm-la .hm-la-badge circle { fill: var(--la-gold); fill-opacity: 0; }
.hm-la .hm-la-glass { fill: var(--la-blue); fill-opacity: .06; }
.hm-la .hm-la-stop { stop-color: var(--la-blue); }
@keyframes ws-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

.ws-search { position: relative; width: 100%; max-width: 924px; text-align: left; }
.ws-search-field {
    display: flex; flex-direction: column; gap: 2px; min-height: 136px; padding: 14px 5px 12px 6px;
    background: var(--ws-field); border: 2px solid rgba(37, 80, 124, .34); border-radius: 16px;
    box-shadow: inset 0 1px 6px rgba(0, 0, 0, .2), inset 0 0 12px rgba(0, 0, 0, .08), 0 0 36px rgba(37, 80, 124, .12), 0 18px 48px -12px rgba(37, 80, 124, .22), 0 2px 6px rgba(0, 0, 0, .05);
}
.ws-search-field:focus-within { border-color: rgba(37, 80, 124, .6); }
.ws-search-input {
    flex: 1; width: 100%; min-height: 76px; padding: 6px 4px 2px 8px; border: 0; outline: 0; resize: none; background: transparent;
    font: 400 14px/20.3px var(--ws-font); color: var(--ws-ink);
}
.ws-search-input::placeholder { color: var(--ws-placeholder); font-style: italic; opacity: 1; }
.ws-search-tools { display: flex; align-items: center; gap: 6px; padding-left: 2px; }
/* The list floats over the page above the box and scrolls inside itself, so the top of the page
   never clips it. */
.ws-search-list {
    position: absolute; left: 0; right: 0; bottom: calc(100% + 8px); z-index: 1000;
    display: flex; flex-direction: column; gap: 2px; max-height: min(360px, 46vh); overflow-y: auto;
    padding: 6px; background: var(--ws-surface); border: 1px solid var(--ws-border-strong); border-radius: 14px; box-shadow: var(--ws-shadow);
}
.ws-search-row { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 8px; border: 0; border-radius: 10px; background: transparent; text-align: left; cursor: pointer; color: var(--ws-ink); }
.ws-search-row.is-active { background: var(--ws-surface-2); }
.ws-search-photo { flex: none; width: 36px; height: 36px; padding: 2px; border: 1px solid var(--ws-border); border-radius: 8px; }
.ws-search-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ws-search-name { font-size: 12px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-search-name mark { background: transparent; color: inherit; font-weight: 800; }
.ws-search-sub { font-size: 10.5px; font-weight: 500; color: var(--ws-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-search-note { margin-bottom: 8px; padding: 10px 14px; background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: 12px; color: var(--ws-muted); }

/* ── Food view ─────────────────────────────────────────────────────────────────────────────── */
.ws-page-note { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 96px 0; color: var(--ws-muted); font-size: 14px; }
.ws-food-actions { display: flex; gap: 8px; padding: 24px 0 12px; }
.ws-food { display: flex; flex-direction: column; gap: 16px; }
.ws-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px 20px; background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: 14px; }
.ws-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ws-card-title { font-size: 15px; font-weight: 700; color: var(--ws-ink); }
.ws-sub-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; }
.ws-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 16px; align-items: start; }

.ws-food-hero { display: flex; flex-wrap: wrap; gap: 0; background: var(--ws-surface); border: 1px solid var(--ws-border); border-radius: 14px; }
.ws-food-hero > .ws-card { border: 0; background: transparent; }
.ws-identity { flex: 1 1 420px; flex-direction: row; align-items: center; gap: 16px; padding: 20px; }
.ws-identity-photo { flex: none; display: flex; align-items: center; justify-content: center; width: 197px; height: 197px; border-radius: 12px; overflow: hidden; background: #fff; }
.ws-identity-img { width: 100%; height: 100%; padding: 6px; }
.ws-identity-text { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ws-food-name { font-size: 20.8px; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.ws-food-brand { font-size: 12.8px; font-weight: 600; }
.ws-verdict-pill { margin-top: 2px; padding: 6px 14px; border-radius: 10px; background: var(--tone-ink); color: #fff; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.ws-verdict-term { font-size: 13px; font-weight: 700; }
.ws-verdict-ask { padding: 0; border: 0; background: transparent; font-size: 13px; font-weight: 500; color: var(--tone-ink); cursor: pointer; }
.ws-verdict-foot { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-top: 4px; padding-top: 10px; border-top: 1px solid var(--ws-border); }
.ws-verdict-col { min-width: 0; padding: 0 10px; }
.ws-verdict-col:first-child { padding-left: 0; }
.ws-verdict-col + .ws-verdict-col { border-left: 1px solid var(--ws-border); }
.ws-verdict-label { display: inline-flex; align-items: center; gap: 2px; font-size: 11px; font-weight: 600; color: var(--ws-primary); white-space: nowrap; }
.ws-verdict-label .material-symbols-outlined { font-size: 14px; }
.ws-verdict-level { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.ws-verdict-leaf { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: color-mix(in srgb, var(--tone) 16%, transparent); color: var(--tone-ink); }
.ws-verdict-level-name { font-size: 12px; font-weight: 600; line-height: 1.2; }
.ws-verdict-score { display: flex; align-items: baseline; gap: 3px; margin-top: 2px; }
.ws-verdict-score b { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: var(--tone-ink); }
.ws-verdict-score span { font-size: 12px; color: var(--ws-muted); }
/* The vertical line between the food's identity and its score chart. */
.ws-gauge-card { flex: 2 1 460px; justify-content: center; align-items: center; padding: 8px 4px; border-left: 1px solid var(--ws-border) !important; border-radius: 0 !important; }

/* The score chart. Its parts draw themselves in; ScoreChart redraws it on click to replay them. */
.ws-chart { display: block; width: 100%; max-width: 620px; height: auto; cursor: pointer; font-family: var(--ws-font); }
.ws-chart-arc { animation: ws-arc 1.2s cubic-bezier(.22, 1, .36, 1) both; }
.ws-chart-value { font-size: 79.2px; font-weight: 700; letter-spacing: -3.168px; fill: #1A2339; animation: ws-rise .7s .15s cubic-bezier(.22, 1, .36, 1) both; }
.ws-chart-of { font-size: 13px; fill: var(--ws-muted-2); }
.ws-chart-label { font-size: 14px; font-weight: 700; }
.ws-chart-name { font-size: 24px; font-weight: 700; fill: #1A2339; }
.ws-chart-tagline { font-size: 10px; letter-spacing: 2.4px; fill: var(--ws-muted-2); }
.ws-chart-rule, .ws-chart-rule-h { stroke: rgba(37, 80, 124, .16); stroke-width: 1; }
.ws-chart-bar { animation: ws-rise .6s calc(.15s + var(--i) * .08s) cubic-bezier(.22, 1, .36, 1) both; }
.ws-chart-bar-name { font-size: 14.39px; font-weight: 600; fill: #1A2339; }
.ws-chart-bar-value { font-size: 24px; font-weight: 700; fill: #1A2339; }
.ws-chart-bar-of { font-size: 13px; fill: var(--ws-muted-2); }
.ws-chart-bar-fill { transform-box: fill-box; transform-origin: left center; animation: ws-grow 1s calc(.25s + var(--i) * .08s) cubic-bezier(.22, 1, .36, 1) both; }
.ws-chart-flow { animation: ws-flow 4s calc(1.2s + var(--i, 0) * .3s) linear infinite; stroke-dashoffset: 160; }
@keyframes ws-arc { from { stroke-dasharray: 0 100; } }
@keyframes ws-grow { from { transform: scaleX(0); } }
@keyframes ws-rise { from { opacity: 0; transform: translateY(6px); } }
@keyframes ws-flow { from { stroke-dashoffset: 160; } to { stroke-dashoffset: -1000; } }

.ws-card.ws-coach { display: grid; grid-template-columns: 168px minmax(0, 1fr); align-items: center; gap: 20px; padding: 20px 24px 22px 16px; border-radius: 18px; }
.ws-coach-owl { width: 168px; height: 168px; object-fit: contain; }
.ws-coach-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ws-coach-head { display: flex; align-items: center; gap: 8px; }
.ws-coach-head .ws-card-title { font-size: 16px; font-weight: 600; }
.ws-coach-bug { width: 30px; height: 16px; flex: none; background: var(--ws-ink); -webkit-mask: url(coach/wisecode-bug.svg) center / contain no-repeat; mask: url(coach/wisecode-bug.svg) center / contain no-repeat; }
.ws-coach-read { font-size: 14px; line-height: 21px; }
.ws-coach-soon { display: flex; align-items: center; gap: 10px; padding: 14px; border: 1px dashed var(--ws-border-strong); border-radius: 12px; background: var(--ws-field); color: var(--ws-muted); }
.ws-coach-asks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.ws-coach-asks .ws-chip { padding: 0 10px; background: #fff; color: var(--ws-ink); }
.ws-coach-asks .ws-chip.ws-chip-primary { background: var(--ws-primary); color: #fff; }
.ws-coach-asks .ws-chip .material-symbols-outlined { font-size: 13px; }
/* Always in the page so a screen reader hears an answer arrive; while empty it takes no room (the card spaces its rows by 12px). */
.ws-coach-live:empty { margin-top: -12px; }
.ws-coach-reply { overflow-wrap: anywhere; padding: 10px 12px; border-radius: 10px; background: #F4F2EA; font-size: 13.6px; line-height: 20.4px; color: var(--ws-ink); }
.ws-coach-reply p { margin: 0 0 8px; }
.ws-coach-reply ul { margin: 0 0 8px; padding-left: 20px; list-style: disc; }
.ws-coach-reply li { margin-bottom: 4px; }
.ws-coach-reply > :last-child { margin-bottom: 0; }
.ws-coach-asked { color: var(--ws-muted); font-style: italic; }
.ws .ws-coach-link { color: var(--ws-primary); font-weight: 700; text-decoration: underline; }
.ws-coach-wait { display: flex; align-items: center; gap: 10px; color: var(--ws-muted); }
.ws-coach-composer {
    display: grid; grid-template-columns: 28px minmax(0, 1fr) 36px; grid-template-areas: "text text text" "plus model send"; align-items: center; gap: 2px 6px;
    min-height: 76px; padding: 5px 5px 5px 6px; border: 1px solid rgba(37, 80, 124, 0.34); border-radius: 16px; background: var(--ws-field);
}
.ws-coach-composer:focus-within { border-color: var(--ws-primary); box-shadow: 0 0 0 2px rgba(37, 80, 124, 0.18); }
.ws-coach-input { grid-area: text; width: 100%; min-width: 0; height: 28px; padding: 6px 4px 2px 8px; border: 0; outline: 0; background: transparent; font: inherit; font-size: 14px; color: var(--ws-ink); }
.ws-coach-input::placeholder { color: rgba(68, 75, 85, 0.45); font-style: italic; }
.ws-coach-tool { grid-area: plus; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 0; border-radius: 9999px; background: transparent; color: var(--ws-muted); cursor: pointer; }
.ws-coach-tool:hover { background: rgba(37, 80, 124, 0.08); }
.ws-coach-tool .material-symbols-outlined { font-size: 18px; }
.ws-coach-model { grid-area: model; justify-self: end; display: inline-flex; align-items: center; gap: 3px; padding: 1px 5px 1px 0; border: 0; background: transparent; font-size: 11px; font-weight: 600; color: var(--ws-muted); cursor: pointer; }
.ws-coach-model .material-symbols-outlined { font-size: 14px; }
.ws-coach-beta { margin-left: 3px; padding: 2px 4px; border: 1px solid rgba(37, 80, 124, 0.32); border-radius: 4px; background: rgba(37, 80, 124, 0.09); font-size: 8.5px; font-weight: 700; letter-spacing: 0.51px; text-transform: uppercase; color: var(--ws-primary); }
.ws-coach-send { grid-area: send; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border: 0; border-radius: 16px; background: #C6D2DD; color: rgba(255, 255, 255, 0.78); cursor: default; }
.ws-coach-send.is-ready { background: var(--ws-primary); color: #fff; cursor: pointer; }
.ws-coach-send .material-symbols-outlined { font-size: 18px; }
.ws-spinner { width: 18px; height: 18px; flex: none; border: 2px solid var(--ws-border-strong); border-top-color: var(--ws-primary); border-radius: 50%; animation: ws-spin .8s linear infinite; }
@keyframes ws-spin { to { transform: rotate(360deg); } }
@media (max-width: 640px) {
    .ws-card.ws-coach { grid-template-columns: minmax(0, 1fr); padding: 18px 16px; }
    .ws-coach-owl { width: 96px; height: 96px; justify-self: center; }
}

.ws-toggle { display: inline-flex; align-self: flex-start; padding: 3px; border: 1px solid var(--ws-border); border-radius: 9999px; }
.ws-toggle button { padding: 5px 22px; border: 1px solid transparent; border-radius: 9999px; background: transparent; cursor: pointer; font-size: 12px; font-weight: 600; color: var(--ws-muted); }
.ws-toggle button.is-on { background: var(--ws-field); border-color: var(--ws-primary); color: var(--ws-ink); }

.ws-ingredients { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-ingredient { display: inline-flex; align-items: center; gap: 8px; padding: 5px 6px 5px 12px; border: 1px solid var(--ws-border); border-radius: 9999px; font-size: 12.5px; }
.ws-depth-1, .ws-depth-2, .ws-depth-3 { background: var(--ws-page); font-size: 11.5px; }

.ws-callouts { display: flex; flex-direction: column; gap: 8px; }
.ws-callouts li { display: flex; flex-direction: column; padding: 10px 12px; border-radius: 10px; background: var(--ws-surface-2); font-size: 13px; }
.ws-callouts span { color: var(--ws-muted); font-size: 12px; }

.ws-swaps { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.ws-swap { position: relative; display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 12px; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface); }
.ws-swap:hover { border-color: var(--ws-primary); }
.ws-swap-photo { width: 100%; height: 130px; }
.ws-swap-name { font-weight: 700; font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ws-swap-brand { color: var(--ws-muted); }
/* Why the visitor's owl gives this swap a thumbs down: under the brand, a few lines at most. */
.ws-swap-why { color: var(--ws-muted); font-size: 12px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.ws-swap .ws-disc { position: absolute; top: 8px; right: 8px; }

/* The Nutrition Facts panel, in the FDA's layout. */
.ws-nf { width: 100%; max-width: 340px; padding: 6px 8px; border: 2px solid #000; background: #fff; color: #000; font-family: Helvetica, Arial, sans-serif; font-size: 13px; line-height: 1.25; }
.ws-nf-title { font-size: 34px; font-weight: 900; line-height: 1; letter-spacing: -.5px; padding-bottom: 2px; border-bottom: 1px solid #000; }
.ws-nf-serving { padding: 3px 0; border-bottom: 10px solid #000; }
.ws-nf-serving-size { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 900; }
.ws-nf-calories { display: flex; justify-content: space-between; align-items: flex-end; padding: 2px 0; border-bottom: 5px solid #000; }
.ws-nf-calories > div { display: flex; flex-direction: column; }
.ws-nf-small { font-size: 11px; font-weight: 900; }
.ws-nf-calories-word { font-size: 26px; font-weight: 900; line-height: 1; }
.ws-nf-calories-value { font-size: 40px; font-weight: 900; line-height: 1; }
.ws-nf-dv-head { padding: 2px 0; text-align: right; font-size: 11px; font-weight: 900; border-bottom: 1px solid #000; }
.ws-nf-row { display: flex; justify-content: space-between; gap: 12px; padding: 2px 0; border-bottom: 1px solid #000; }
.ws-nf-indent-1 { padding-left: 16px; }
.ws-nf-indent-2 { padding-left: 32px; }
.ws-nf-thick { height: 9px; margin-top: -1px; background: #000; }
.ws-nf-medium { height: 4px; margin-top: -1px; background: #000; }
.ws-nf-foot { padding-top: 5px; font-size: 10.5px; line-height: 1.2; }

/* ── My WISEscore ──────────────────────────────────────────────────────────────────────────── */
.ws-self-start { align-self: flex-start; }
.ws-score-switch { display: flex; align-items: center; justify-content: flex-end; gap: 8px; align-self: stretch; padding: 4px 12px 0; }
.ws-chart-host { width: 100%; display: flex; justify-content: center; }

/* One tint per code, in the order the codes were picked (the store walk's card tints). */
.ws-tint-0 { background: rgba(70, 125, 190, .75); }
.ws-tint-1 { background: rgba(182, 146, 82, .75); }
.ws-tint-2 { background: rgba(70, 125, 190, .38); }
.ws-tint-3 { background: rgba(182, 146, 82, .38); }
.ws-tint-4 { background: rgba(140, 150, 160, .6); }
.ws-tint-5 { background: rgba(64, 160, 150, .7); }
.ws-tint-6 { background: rgba(196, 110, 120, .7); }
.ws-tint-7 { background: rgba(130, 160, 95, .7); }
.ws-tint-8 { background: rgba(150, 130, 200, .7); }
.ws-tint-9 { background: rgba(200, 140, 90, .7); }

/* The weight line. Read only on the food page (thin); with handles in the editor (tall). */
.ws-blend-bar { position: relative; display: flex; height: 22px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px rgba(37, 80, 124, .28); }
.ws-blend-part { position: relative; min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 6px; border-left: 1px solid rgba(255, 255, 255, .9); font-size: 11px; font-weight: 600; line-height: 1.15; color: #0D1321; }
.ws-blend-part:first-child { border-left: 0; }
.ws-blend-part span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-blend-part b { font: 500 11px var(--ws-mono, 'DM Mono', monospace); }
.ws-blend-part.is-none { background: repeating-linear-gradient(135deg, rgba(31, 42, 48, .05) 0 5px, rgba(31, 42, 48, .13) 5px 10px) !important; }
.ws-blend-bar-edit { height: 44px; overflow: visible; touch-action: none; }
.ws-blend-bar-edit .ws-blend-part:first-child { border-radius: 6px 0 0 6px; }
.ws-blend-bar-edit .ws-blend-part:nth-last-child(1 of .ws-blend-part) { border-radius: 0 6px 6px 0; }
.ws-blend-handle { all: unset; position: absolute; top: -3px; bottom: -3px; width: 18px; margin-left: -9px; cursor: ew-resize; z-index: 1; }
.ws-blend-handle::after { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 6px; border-radius: 3px; background: #946005; box-shadow: 0 0 0 2px #fff; }
.ws-blend-handle:focus-visible::after { background: #25507C; box-shadow: 0 0 0 2px #fff, 0 0 0 4px rgba(37, 80, 124, .45); }
.ws-blend-ends { display: flex; justify-content: space-between; margin-top: 3px; color: #566073; font: 500 10px var(--ws-mono, 'DM Mono', monospace); }
.ws-blend-empty { display: flex; align-items: center; justify-content: center; height: 44px; border: 1px dashed rgba(37, 80, 124, .45); border-radius: 6px; color: #566073; font-size: 12px; }
.ws-blend-rows { display: grid; grid-template-columns: auto 1fr auto auto; gap: 4px 10px; align-items: center; margin-top: 10px; font-size: 12.5px; }
.ws-blend-rows i { width: 10px; height: 10px; border-radius: 2px; }
.ws-blend-pct { font: 500 11px var(--ws-mono); color: var(--ws-muted-2); text-align: right; }
.ws-blend-val { min-width: 24px; font: 700 12.5px var(--ws-mono); color: var(--tone-ink, var(--ws-ink)); text-align: right; }
.ws-blend-rows .is-off { color: #8a949b; font-weight: 500; }

.ws-mine-result { display: flex; align-items: center; gap: 12px; }
.ws-mine-result b { font: 500 40px/1 var(--ws-mono); color: var(--tone-ink); }
.ws-mine-result span { display: flex; flex-direction: column; font-size: 13px; font-weight: 600; }
.ws-mine-result small { font-weight: 400; color: var(--ws-muted); }

/* Under the editor's line: the codes one per line (swatch, name, weight), in two columns. */
.ws-blend-keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 16px; margin-top: 6px; font-size: 11.5px; color: #444B55; }
.ws-blend-keys > span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ws-blend-keys i { flex: none; width: 8px; height: 8px; border-radius: 2px; }
.ws-blend-keys em { flex: 1; min-width: 0; font-style: normal; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-blend-keys b { flex: none; font: 500 11px var(--ws-mono, 'DM Mono', monospace); color: #0D1321; }

.ws-score-switch-note { align-self: stretch; padding: 0 12px; text-align: right; }

/* The editor dialog. The line's area and the list have fixed heights, so ticking a code or typing in the
   find box never makes the dialog jump. On a phone the dialog fills the visible screen. */
.ws-dialog.ws-mine { width: min(100%, 680px); max-height: calc(100dvh - 32px); align-items: stretch; gap: 10px; outline: 0; }
.ws-mine-head { display: flex; align-items: center; justify-content: space-between; }
.ws-mine-line { min-height: 152px; }
.ws-mine-live { display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: 13px; color: #444B55; }
.ws-mine-live b { font: 500 22px/1 var(--ws-mono, 'DM Mono', monospace); color: var(--tone-ink); }
.ws-mine-count { margin-left: auto; font: 500 11px var(--ws-mono, 'DM Mono', monospace); color: #566073; }
.ws-mine-find { height: 34px; padding: 0 12px; border: 1px solid rgba(37, 80, 124, .28); border-radius: 9999px; background: #E9EEF2; font: 400 13px var(--ws-font, 'DM Sans', sans-serif); color: #0D1321; outline: 0; }
.ws-mine-find:focus { border-color: #25507C; }
.ws-mine-list { flex: 1 1 280px; height: 280px; min-height: 120px; overflow-y: auto; overflow-x: hidden; padding-right: 4px; }
.ws-mine-group { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 2px 14px; margin-bottom: 10px; }
.ws-mine-group-title { grid-column: 1 / -1; margin: 6px 0 2px; font: 500 10.5px var(--ws-mono, 'DM Mono', monospace); letter-spacing: .14em; text-transform: uppercase; color: #946005; }
.ws-mine-group-title small { margin-left: 10px; letter-spacing: 0; text-transform: none; font-family: var(--ws-font, 'DM Sans', sans-serif); color: #566073; }
.ws-mine-code { display: flex; align-items: center; gap: 8px; padding: 5px 8px; border-radius: 8px; font-size: 13px; cursor: pointer; }
.ws-mine-code:hover { background: #F4F6F8; }
.ws-mine-code.is-on { background: #E9EEF2; font-weight: 600; }
.ws-mine-code input { accent-color: #25507C; }
.ws-mine-code-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-mine-code-here { font-size: 11px; font-weight: 400; color: #566073; white-space: nowrap; }
.ws-mine-code.is-full { opacity: .45; cursor: default; }
.ws-mine-code.is-full:hover { background: transparent; }
.ws-mine-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.ws-mine-reset, .ws-mine-confirm { margin-right: auto; }
.ws-mine-confirm { font-size: 13px; color: #444B55; }
.ws-mine-actions .ws-btn:disabled { opacity: .45; cursor: default; }

/* ── Dialogs ───────────────────────────────────────────────────────────────────────────────── */
.ws-scrim { position: fixed; inset: 0; z-index: 3000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 26, 33, .48); backdrop-filter: blur(10px); font-family: var(--ws-font); }
.ws-dialog { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; width: min(100%, 420px); padding: 24px; background: #fff; border-radius: 18px; box-shadow: var(--ws-shadow); color: #0D1321; text-align: left; }
.ws-dialog-title { margin: 0; font-size: 17px; font-weight: 700; }
.ws-dialog-text { margin: 0; color: #444B55; font-size: 14px; }
/* A "coming soon" dialog opened from inside the food modal sits above it. */
.ws-scrim:not(.ws-food-scrim) { z-index: 4000; }

.ws-food-scrim { align-items: flex-start; padding: 36px 16px; animation: ws-fade .25s ease-out both; }
.ws-food-modal { display: flex; flex-direction: column; width: min(100%, 1200px); height: calc(100vh - 72px); background: var(--ws-modal); border-radius: 18px; box-shadow: var(--ws-shadow); overflow: hidden; animation: ws-pop .3s cubic-bezier(.22, 1, .36, 1) both; }
.ws-food-modal-bar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 22px 32px 6px; }
.ws-food-modal-bar > :first-child { margin-right: auto; }
.ws-food-modal-bar .ws-btn { background-color: #fff; }
.ws-food-modal-bar .ws-btn-primary { background-color: var(--ws-primary); }
.ws-close { display: grid; place-items: center; width: 30px; height: 30px; margin-left: 4px; border: 1px solid var(--ws-border-strong); border-radius: 50%; background: #fff; cursor: pointer; }
.ws-food-modal-body { flex: 1; overflow-y: auto; padding: 12px 32px 32px; }
@keyframes ws-fade { from { opacity: 0; } }
@keyframes ws-pop { from { opacity: 0; transform: translateY(12px) scale(.98); } }

@media (max-width: 900px) {
    .ws-nav { display: none; }
    .ws-topbar { justify-content: space-between; }
    .ws-identity { flex-direction: column; align-items: stretch; }
    .ws-identity-photo { width: 100%; }
    .ws-gauge-card { border-left: 0 !important; border-top: 1px solid var(--ws-border) !important; }
    .ws-food-modal-body, .ws-food-modal-bar { padding-left: 14px; padding-right: 14px; }
}

/* ── Signing in and out, and the visitor's thumbs up or down ─────────────────────────────────── */
.ws-account-out { display: contents; }
/* With four buttons and a name the top bar runs out of room well before a phone's width: below this the plain
   buttons keep their icon only. */
@media (max-width: 1180px) {
    .ws-account .ws-btn-ghost .ws-btn-word { display: none; }
    .ws-account .ws-btn-ghost { padding: 0 8px; }
}
.ws-coach-verdict.is-open > .material-symbols-outlined { color: var(--ws-muted); }
.ws-foryou { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border: 1px solid currentColor; border-radius: 9999px; background: transparent; font: inherit; font-size: 11.5px; font-weight: 700; cursor: pointer; }
.ws-foryou .material-symbols-outlined { font-size: 15px; }
.ws-foryou.is-up, .ws-swap-thumb.is-up, .ws-coach-verdict.is-up > .material-symbols-outlined { color: #2F7A4E; }
.ws-foryou.is-down, .ws-swap-thumb.is-down, .ws-coach-verdict.is-down > .material-symbols-outlined { color: #B23A2B; }
.ws-coach-verdict { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface-2); font-size: 13px; line-height: 19px; }
.ws-coach-verdict > .material-symbols-outlined { flex: none; font-size: 22px; }
.ws-coach-verdict-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; overflow-wrap: anywhere; }
.ws-coach-verdict-text ul { margin: 0; padding-left: 18px; }
.ws-coach-personalize { flex: none; padding: 0; border: 0; background: transparent; color: var(--ws-primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; }
.ws-coach-everyone { margin: 0; font-size: 13px; color: var(--ws-muted); }
.ws-coach-login { align-self: flex-start; }
.ws-swap-thumb { position: absolute; top: 8px; left: 8px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 20, 35, .18); }
.ws-swap-thumb .material-symbols-outlined { font-size: 16px; }

/* ── The visitor's food lists ("Add to list" on a food, "My lists" in the top bar) ──────────────── */
.ws-dialog.ws-lists { width: min(100%, 520px); max-height: calc(100dvh - 32px); align-items: stretch; outline: 0; }
.ws-lists-head { display: flex; align-items: center; gap: 8px; }
.ws-lists-head .ws-dialog-title { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.ws-lists-wait { display: flex; align-items: center; gap: 10px; color: var(--ws-muted); font-size: 14px; }
.ws-lists-rows, .ws-lists-foods { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-y: auto; }
.ws-lists-row { display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 8px; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface); }
.ws-lists-row:hover { border-color: var(--ws-primary); }
.ws-lists-dot { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ws-primary); color: #fff; }
.ws-lists-dot .material-symbols-outlined { font-size: 17px; }
.ws-lists-open { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 1px; padding: 4px 0; border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; }
.ws-lists-name { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.ws-lists-count { font-size: 12px; color: var(--ws-muted); }
.ws-lists-row .ws-btn:disabled, .ws-lists-new .ws-btn:disabled, .ws-lists-pager .ws-btn:disabled { opacity: .45; cursor: default; }
.ws-lists-new { display: flex; gap: 8px; }
.ws-lists-new-name { flex: 1; min-width: 0; height: 32px; padding: 0 12px; border: 1px solid var(--ws-border-strong); border-radius: 9999px; background: var(--ws-surface); font: inherit; font-size: 13px; }
.ws-lists-food-row { display: flex; align-items: center; gap: 6px; }
.ws-lists-food { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 6px 10px 6px 6px; border: 1px solid var(--ws-border); border-radius: 12px; background: var(--ws-surface); }
.ws-lists-remove { flex: none; }
.ws-lists-remove .material-symbols-outlined { font-size: 19px; }
.ws-lists-remove:hover { color: var(--ws-red); }
.ws-lists-remove-sure { flex: none; background: var(--ws-red); color: #fff; }
.ws-lists-remove:disabled, .ws-lists-remove-sure:disabled { opacity: .45; cursor: default; }
a.ws-lists-food:hover { border-color: var(--ws-primary); }
.ws-lists-food.is-off { color: var(--ws-muted); }
.ws-lists-photo { flex: none; width: 44px; height: 44px; border-radius: 8px; }
.ws-lists-food-name { flex: 1; min-width: 0; display: flex; flex-direction: column; font-size: 13px; font-weight: 600; line-height: 1.25; overflow-wrap: anywhere; }
.ws-lists-food-name small { font-size: 12px; font-weight: 400; color: var(--ws-muted); }
.ws-lists-food .ws-disc { flex: none; width: 34px; height: 34px; }
.ws-lists-pager { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 12px; color: var(--ws-muted); }
.ws-lists-pager span { margin-right: auto; }
.ws-lists-notice { margin: 0; min-height: 1.4em; font-size: 13px; color: var(--ws-navy); }
.ws-lists-notice:empty { display: none; }
.ws-food-actions { flex-wrap: wrap; }

/* ── "Personalize my owl" (the design prototype's dialog, js/owl-setup.js) ────────────────────── */
.ws-dialog.ws-owl { width: min(100%, 860px); max-height: calc(100dvh - 32px); padding: 16px 28px 20px; align-items: center; gap: 8px; background: var(--ws-modal); border-radius: 24px; outline: 0; overflow-y: auto; }
.ws-owl-bar { display: flex; align-items: center; gap: 12px; width: 100%; }
.ws-owl-round { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(10, 20, 35, .12); color: var(--ws-navy); cursor: pointer; }
.ws-owl-round .material-symbols-outlined { font-size: 20px; }
.ws-owl-round.is-hidden, .ws-owl-progress.is-hidden { visibility: hidden; }
.ws-owl-progress { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ws-owl-progress span { height: 4px; border-radius: 9999px; background: rgba(26, 35, 57, .12); }
.ws-owl-progress span.is-on { background: var(--ws-primary); }
.ws-owl-bird { width: auto; height: 120px; object-fit: contain; }
.ws-owl-title { margin: 0; font-size: 28px; font-weight: 800; text-align: center; color: var(--ws-navy); }
.ws-owl-sub { margin: 0; max-width: 52ch; min-height: 2.9em; font-size: 16px; line-height: 1.45; text-align: center; color: #4A5468; }
.ws-owl-body { display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.ws-owl-card { width: 100%; background: #fff; border: 1px solid rgba(26, 35, 57, .12); border-radius: 16px; }
.ws-owl-intro { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; width: 100%; }
.ws-owl-intro-card { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 20px 14px; text-align: center; font: inherit; color: inherit; cursor: pointer; }
.ws-owl-intro-card:hover { background: color-mix(in srgb, var(--ws-primary) 8%, #fff); }
.ws-owl-intro-card b { font-size: 14px; }
.ws-owl-intro-card small { font-size: 13px; color: #4A5468; }
.ws-owl-intro-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(37, 80, 124, .12); color: var(--ws-primary); }
.ws-owl-intro-icon .material-symbols-outlined { font-size: 26px; }
.ws-owl-note { margin: 0; font-size: 13px; color: #4A5468; text-align: center; }
.ws-owl-switch { display: flex; align-items: center; justify-content: space-between; padding: 4px 14px; font-size: 14px; font-weight: 600; }
.ws-owl-toggle { display: grid; place-items: center; padding: 0; border: 0; background: transparent; color: #4A5468; cursor: pointer; }
.ws-owl-toggle .material-symbols-outlined { font-size: 40px; }
.ws-owl-toggle.is-on { color: #32A966; }
.ws-owl-list { display: grid; margin: 0; padding: 0; min-width: 0; overflow: hidden; }
.ws-owl-list.is-two { grid-template-columns: repeat(2, 1fr); }
.ws-owl-list.is-three { grid-template-columns: repeat(3, 1fr); }
.ws-owl-list.is-off, .ws-owl-score.is-off { opacity: .45; }
.ws-owl-row { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid rgba(26, 35, 57, .12); cursor: pointer; }
.ws-owl-list.is-off .ws-owl-row { cursor: default; }
.ws-owl-row:has(input:focus-visible) { outline: 2px solid var(--ws-primary); outline-offset: -2px; }
.ws-owl-row-icon { flex: none; width: 24px; font-size: 20px; color: var(--ws-primary); }
.ws-owl-row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.ws-owl-row-text b { font-size: 14px; font-weight: 600; }
.ws-owl-row-text small { font-size: 13px; color: #4A5468; }
.ws-owl-badge { flex: none; padding: 3px 10px; border-radius: 9999px; background: rgba(24, 132, 67, .12); color: #245E3B; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.ws-owl-badge.is-upf { background: rgba(229, 72, 77, .12); color: #C4302B; }
.ws-owl-check { flex: none; font-size: 26px; color: #4A5468; }
.ws-owl-check.is-on { color: var(--ws-primary); }
.ws-owl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.ws-owl-score { display: flex; flex-direction: column; align-items: center; gap: 8px; max-width: 560px; padding: 18px 24px; }
.ws-owl-score-label { font-size: 14px; font-weight: 600; }
.ws-owl-score-number { font-family: var(--ws-mono); font-size: 40px; font-weight: 500; line-height: 1; }
.ws-owl-range { width: 100%; accent-color: var(--ws-primary); }
.ws-owl-ticks { display: flex; justify-content: space-between; width: 100%; font-family: var(--ws-mono); font-size: 12px; color: #4A5468; }
.ws-owl-summary { display: flex; flex-direction: column; gap: 12px; max-width: 640px; padding: 16px 18px; }
.ws-owl-summary-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; }
.ws-owl-group { display: flex; flex-direction: column; gap: 6px; }
.ws-owl-group-title { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.ws-owl-group-title .material-symbols-outlined { font-size: 18px; color: var(--ws-primary); }
.ws-owl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ws-owl-chip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 9999px; background: rgba(37, 80, 124, .12); font-size: 12px; font-weight: 600; }
.ws-owl-chip .material-symbols-outlined { font-size: 16px; color: var(--ws-primary); }
.ws-owl-foot { display: flex; flex-direction: column; align-items: center; gap: 10px; width: min(100%, 420px); margin-top: 6px; }
.ws-owl-main { width: 100%; min-height: 48px; border: 0; border-radius: 9999px; background: var(--ws-primary); color: #fff; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.ws-owl-main:hover { background: var(--ws-navy); }
.ws-owl-link { padding: 0; border: 0; background: transparent; color: var(--ws-primary); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
@media (max-width: 760px) {
    .ws-owl-intro { grid-template-columns: repeat(2, 1fr); }
    .ws-owl-list.is-two, .ws-owl-list.is-three { grid-template-columns: 1fr; }
    .ws-dialog.ws-owl { padding: 14px 16px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .ws *, .ws-scrim, .ws-scrim * { animation: none !important; }
}
