/* LensAgora — one stylesheet for the public site and AdminTool, identical in every environment. */
/* --field-border: text fields, selects and text areas everywhere (owner decision 2026-10-25; WCAG 1.4.11: 3.48:1 on white,
   3.27:1 on --bg, 3.30:1 on the consumer pale blue). Error, warning and scan states keep their own colours. */
/* --focus-ring: every keyboard-focus outline, AdminTool, CMS and consumer (owner decision 2026-10-25, replacing yellow
   #f2b705 at 1.82:1; WCAG 1.4.11). The navy already used on the consumer site: 13.2:1 or more against every light page,
   card and notice background an outline can sit on (16.25:1 on white, 15.25:1 on --bg). */
:root{--ink:#14212b;--muted:#5a6873;--brand:#0b5563;--brand-dark:#083f49;--bg:#f6f8f9;--card:#fff;--line:#dfe5e9;--field-border:#7f8b96;--focus-ring:#0a1f44;--danger:#a32323;--ok:#1d6b3c;--warn-bg:#fff4dd;--warn-ink:#7a4b00;--radius:10px;--max:1040px}
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
a{color:var(--brand)}a:hover{color:var(--brand-dark)}
h1,h2,h3{font-family:Georgia,"Times New Roman",serif;line-height:1.2;margin:0 0 .6rem}
h1{font-size:clamp(1.6rem,4vw,2.3rem)}h2{font-size:1.35rem}h3{font-size:1.1rem;margin-top:1rem}
.wrap{width:min(100% - 32px,var(--max));margin:0 auto}
.muted{color:var(--muted);font-size:.92rem}
.env-banner{background:#a86400;color:#fff;padding:.45rem 16px;font-size:.88rem;text-align:center}
.site-header{background:#fff;border-bottom:1px solid var(--line)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}
.brand{display:inline-flex;align-items:center;gap:.6rem;text-decoration:none}.brand img{display:block;height:32px;width:auto;max-width:100%}
.brand-suffix{font-weight:700;color:var(--muted);font-size:.85rem;letter-spacing:.06em;text-transform:uppercase}
.site-nav{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}
.inline-form{display:inline;margin:0}
.link-button{background:none;border:0;padding:0;color:var(--brand);font:inherit;cursor:pointer;text-decoration:underline}
main{padding:2rem 0 3rem}
.hero{max-width:760px;padding:1.5rem 0}.lede{font-size:1.15rem;color:#2c3a44}
.actions{margin:1.25rem 0}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:1.25rem 1.4rem;margin:0 0 1.25rem}
.card.narrow{max-width:520px}
.stack{display:flex;flex-direction:column;gap:.5rem;max-width:460px}
label{font-weight:600}
input[type=email],input[type=text],input[type=password],input[type=date],input:not([type]),input[inputmode]{font:inherit;padding:.6rem .7rem;border:1px solid var(--field-border);border-radius:8px;background:#fff;width:100%}
input:focus-visible,button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.check{display:flex;gap:.5rem;align-items:flex-start;font-weight:400}
.button{display:inline-block;background:var(--brand);color:#fff;border:1px solid var(--brand);border-radius:8px;padding:.65rem 1.1rem;font-family:inherit;font-weight:600;font-size:1rem;line-height:1.2;text-decoration:none;cursor:pointer;text-align:center}
.button:hover{background:var(--brand-dark);color:#fff}
.button-small{padding:.4rem .8rem;font-size:.9rem}
.button-secondary{background:#fff;color:var(--brand)}.button-secondary:hover{background:#eef5f6;color:var(--brand-dark)}
.button-danger{background:var(--danger);border-color:var(--danger)}.button-danger:hover{background:#7f1a1a}
.notice{border-radius:8px;padding:.7rem .9rem;margin:.75rem 0}
.notice-ok{background:#e8f4ec;color:var(--ok)}.notice-error{background:#fbeaea;color:var(--danger)}.notice-info{background:#e9f2f4;color:var(--brand-dark)}
.badge-test{display:inline-block;margin-left:.4rem;padding:.08rem .45rem;border-radius:999px;background:var(--warn-bg);color:var(--warn-ink);font:700 .7rem/1.4 system-ui,sans-serif;letter-spacing:.06em;vertical-align:middle}
.patients{list-style:none;padding:0;margin:0 0 1rem}
.patient{border-top:1px solid var(--line);padding:.8rem 0}
.patient-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .75rem}
details summary{cursor:pointer;color:var(--brand);margin-top:.35rem}
details .stack{margin-top:.75rem}
.add-patient{border-top:1px solid var(--line);padding-top:.5rem}
.danger-zone{border-color:#efc9c9}
.site-footer{border-top:1px solid var(--line);background:#fff;padding:1.25rem 0;font-size:.9rem}
/* AdminTool */
.admin-shell{display:grid;grid-template-columns:230px 1fr;min-height:calc(100vh - 65px)}
.admin-shell-solo{grid-template-columns:1fr}
.admin-side{background:#fff;border-right:1px solid var(--line);padding:1.25rem 1rem;display:flex;flex-direction:column;gap:1rem}
.admin-title{font-weight:700;margin:0}
.admin-side nav{display:flex;flex-direction:column;gap:.25rem}
.admin-side nav a{padding:.45rem .6rem;border-radius:8px;text-decoration:none;color:var(--ink)}
.admin-side nav a[aria-current=page]{background:#e9f2f4;color:var(--brand-dark);font-weight:600}
.admin-who{margin-top:auto;display:flex;flex-direction:column;gap:.5rem;word-break:break-all}
.admin-main{padding:1.5rem clamp(16px,3vw,2rem);min-width:0}
.admin-shell-solo .admin-main{width:min(100% - 32px,var(--max));margin:0 auto;padding:2rem 0}
.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin-top:1rem}
.stat{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1rem;display:flex;flex-direction:column}
.stat-n{font:700 2rem/1.1 Georgia,serif;font-variant-numeric:lining-nums tabular-nums}.stat-label{color:var(--muted)}.stat-test{font-size:.8rem;color:var(--warn-ink);margin-top:.25rem}
.table-wrap{position:relative;overflow-x:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
table{border-collapse:collapse;width:100%}th,td{text-align:left;padding:.55rem .75rem;border-bottom:1px solid var(--line);font-size:.92rem}
/* AdminTool pricing */
.badge{display:inline-block;padding:.1rem .5rem;border-radius:999px;font:600 .75rem/1.5 system-ui,sans-serif;white-space:nowrap;background:#eef1f3;color:#33424c}
.badge-checkout{background:#dff1e6;color:#145c32}.badge-configurator{background:#e3eef8;color:#1d4f7a}.badge-estimate{background:var(--warn-bg);color:var(--warn-ink)}.badge-unavailable{background:#f1e4e4;color:#7f1a1a}
.badge-stale{background:var(--warn-bg);color:var(--warn-ink)}.badge-low{background:#fbeaea;color:var(--danger)}.badge-fresh{background:#e8f4ec;color:var(--ok)}
.badge-status{background:#e9f2f4;color:var(--brand-dark)}.badge-bad{background:#fbeaea;color:var(--danger)}
.facts{display:grid;grid-template-columns:max-content 1fr;gap:.25rem 1rem;margin:0 0 1rem}.facts dt{color:var(--muted)}.facts dd{margin:0;word-break:break-word}
.tabs{display:flex;flex-wrap:wrap;gap:.35rem;margin:.75rem 0}.tabs a{padding:.35rem .7rem;border:1px solid var(--line);border-radius:999px;text-decoration:none;background:#fff;font-size:.9rem}
.tabs a[aria-current=page]{background:var(--brand);border-color:var(--brand);color:#fff}
.pager{display:flex;gap:.75rem;align-items:center;margin:.75rem 0;flex-wrap:wrap}
.panel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:1rem;align-items:start}
/* Narrow screens (WCAG 1.4.10 reflow): a card's wide table scrolls inside the card instead of widening the page. */
.panel-grid>.card{min-width:0;overflow-x:auto}
.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.75rem;max-width:760px}
.form-grid label,.stack label{display:flex;flex-direction:column;gap:.25rem}
.stack label.check,.form-grid label.check{flex-direction:row;align-items:flex-start;gap:.5rem}.check input{margin-top:.3rem;flex:none}
select,textarea,input[type=file],input[type=number]{font:inherit;padding:.55rem .65rem;border:1px solid var(--field-border);border-radius:8px;background:#fff;width:100%}
fieldset{border:1px solid var(--line);border-radius:8px;padding:.6rem .8rem;min-width:0}legend{font-weight:600}
.num{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
td.wrapcell{min-width:220px;max-width:420px}
.cells td:first-child{color:var(--muted);white-space:nowrap}
.warn-list{margin:.25rem 0 0;padding-left:1.1rem}
.stat-sm .stat-n{font-size:1.5rem}
@media (max-width:760px){
  .admin-shell{grid-template-columns:1fr}
  .admin-side{border-right:0;border-bottom:1px solid var(--line)}
  .admin-side nav{flex-direction:row;flex-wrap:wrap}
  .admin-who{flex-direction:row;align-items:center;justify-content:space-between;margin-top:0}
  .brand img{height:28px}
  .facts{grid-template-columns:1fr}.facts dt{margin-top:.35rem}
  td.wrapcell{min-width:180px}
}
/* Prescription intake (Milestone 3) */
.rx-form fieldset.rx-eye{margin:0 0 1rem;padding:.75rem 1rem 1rem}
.rx-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(10rem,1fr));gap:.75rem 1rem;margin:.5rem 0}
.rx-field{display:flex;flex-direction:column;gap:.25rem}.rx-field label{font-weight:600}
.rx-hint{font-size:.85rem;color:var(--muted)}
.rx-more{margin:0 0 1rem}.rx-more[open]{padding-bottom:.25rem}
.rx-start fieldset{display:flex;flex-direction:column;gap:.35rem}.rx-type{padding:.4rem 0}
.rx-table td,.rx-table th{vertical-align:top}.rx-table th[scope=row]{font-weight:600;white-space:nowrap}
.rx-bad{color:var(--danger)}
.issue-list{margin:.4rem 0 .6rem;padding-left:1.2rem}.issue-list li{margin:.25rem 0}
.notice-error .issue-list a{color:var(--danger)}.notice h2{font-size:1.05rem;margin:0 0 .25rem}
.rx-confirm{max-width:none}.rx-confirm fieldset{display:flex;flex-direction:column;gap:.6rem}.rx-final{font-weight:600}
.rx-delete{display:block;margin-top:.75rem}
@media (max-width:520px){.rx-grid{grid-template-columns:1fr 1fr}.rx-table th[scope=row]{white-space:normal}}
/* Saved prescriptions (Milestone 3) */
.notice-warn{background:var(--warn-bg);color:var(--warn-ink)}
.profile-bar{display:flex;flex-wrap:wrap;gap:.75rem 1.5rem;align-items:flex-end;justify-content:space-between;border:1px solid var(--line);border-radius:8px;padding:.75rem 1rem;margin:.5rem 0 1rem;background:#f7fafb}
.profile-current{margin:0;font-size:1.05rem}
.profile-switch{display:flex;flex-wrap:wrap;gap:.5rem;align-items:center}.profile-switch select{width:auto;min-width:10rem}
.rx-list{list-style:none;padding:0;margin:.5rem 0 1rem}.rx-list li{border-top:1px solid var(--line);padding:.7rem 0;display:flex;flex-direction:column;gap:.3rem}
.inline-confirm{display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center}
.rx-save{border-top:1px solid var(--line);margin-top:1.25rem;padding-top:.5rem}
.danger-zone{margin-top:1.5rem}
/* Prescription uploads (Milestone 3) */
.rx-review{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:1.25rem;align-items:start}
.rx-original{margin:0 0 1rem;border:1px solid var(--line);border-radius:8px;padding:.6rem;background:#fff;position:sticky;top:1rem}
.rx-original img{width:100%;height:auto;display:block;border-radius:4px}.rx-original-compact{position:static;max-width:520px}.rx-original-compact img{max-height:280px;object-fit:contain}
.rx-original figcaption{font-size:.85rem;color:var(--muted);margin-top:.4rem}
.rx-scan-status{color:var(--warn-ink);background:var(--warn-bg);padding:.4rem .6rem;border-radius:6px;font-size:.86rem;margin:.4rem 0 0}
.rx-pdf{padding:.5rem}
.rx-scan-mark{font-size:.8rem;border-radius:4px;padding:.1rem .35rem;align-self:flex-start}
.rx-scan-read .rx-scan-mark{background:#e8f4ec;color:var(--ok)}
.rx-scan-uncertain input{border-color:#c98a00;border-width:2px}.rx-scan-uncertain .rx-scan-mark{background:var(--warn-bg);color:var(--warn-ink);font-weight:600}
.rx-scan-not_found .rx-scan-mark{background:#eef1f3;color:var(--muted)}
.rx-upload-link{margin:.25rem 0 1rem}
@media (max-width:760px){.rx-review{grid-template-columns:1fr}.rx-original{position:static}}
/* ===== Consumer pages (Homepage & MyLens, Intake, Results specs V1) — white, deep navy, bright blue, pale-blue panels ===== */
.consumer{--navy:#0a1f44;--blue:#1463f3;--blue-dark:#0b4fd1;--pale:#eef4ff;--pale2:#f6f9ff;--line:#dbe4f0;--brand:#1463f3;--brand-dark:#0b4fd1;--ink:#16243b;--muted:#55657a;--total:#e7f7ec;--total-ink:#14532d;background:#fff}
.consumer h1,.consumer h2,.consumer h3{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--navy);font-weight:750;letter-spacing:-.01em}
.consumer h1{font-size:clamp(1.9rem,4.6vw,3rem);line-height:1.08}.consumer h2{font-size:clamp(1.25rem,2.4vw,1.6rem)}
.skip-link{position:absolute;left:-999px;top:0;background:#fff;padding:.5rem 1rem;z-index:10}.skip-link:focus{left:8px;top:8px}
.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.c-wrap{width:min(100% - 32px,1180px);margin:0 auto}
.consumer #main>:not(.c-full){width:min(100% - 32px,var(--max));margin:1.5rem auto}
.consumer #main:has(>.c-full>.c-photo-hero:first-child){padding-top:0}
.consumer .button{background:var(--blue);border-color:var(--blue);border-radius:8px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:.45rem}
.consumer .button:hover{background:var(--blue-dark);border-color:var(--blue-dark)}
.consumer .button-secondary{background:#fff;color:var(--blue);border-color:#b9cdf3}.consumer .button-secondary:hover{background:var(--pale);color:var(--blue-dark)}
.button-cta{font-weight:700;padding:.7rem 1.25rem}.c-arrow{font-weight:700}
/* Header */
.c-header{position:sticky;top:0;z-index:5;background:#fff;border-bottom:1px solid var(--line)}
.c-header-row{display:flex;align-items:center;gap:1.5rem;min-height:68px}
.c-nav{display:flex;gap:1.4rem;margin-left:auto}.c-nav a,.c-account a{color:var(--navy);text-decoration:none;font-weight:600;font-size:.95rem}.c-nav a[aria-current]{color:var(--blue)}
.c-header-actions{display:flex;align-items:center;gap:1rem}.c-account{display:flex;gap:.8rem;align-items:center;font-size:.92rem}
.c-menu{display:none;margin-left:auto}.c-menu summary{list-style:none;cursor:pointer;width:44px;height:44px;display:grid;place-items:center}.c-menu summary::-webkit-details-marker{display:none}
.c-burger,.c-burger::before,.c-burger::after{display:block;width:24px;height:2.5px;background:var(--navy);border-radius:2px;position:relative;content:""}.c-burger::before{position:absolute;top:-7px}.c-burger::after{position:absolute;top:7px}
.c-menu-panel{position:absolute;right:16px;top:64px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 12px 30px rgba(10,31,68,.15);padding:1rem;display:flex;flex-direction:column;gap:.9rem;min-width:220px}
.c-menu-panel a{color:var(--navy);font-weight:600;text-decoration:none}.c-menu-panel .button{color:#fff}
/* Photographic hero (homepage; start pages). The photo fills the band; copy sits over the bright upper-left sky. */
.c-photo-hero{position:relative;overflow:hidden;background:#dfe9f5;isolation:isolate}
.c-photo-hero picture{position:absolute;inset:0;z-index:-2}
.c-photo-hero-img{width:100%;height:100%;object-fit:cover;object-position:60% 55%;display:block}
.c-photo-hero::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,.80) 0%,rgba(255,255,255,.55) 38%,rgba(255,255,255,0) 62%)}
.c-photo-hero-inner{position:relative}
.c-photo-hero-home{min-height:500px}.c-photo-hero-home .c-photo-hero-inner{padding:4.2rem 0 6.5rem}
.c-hero-copy{max-width:560px}.c-hero-copy h1,.c-start-copy h1{font-size:clamp(2rem,4.2vw,3.1rem);margin:0;line-height:1.08}
.c-lede{font-size:1.15rem;color:#16243b;max-width:34rem;margin:.8rem 0 1.5rem;line-height:1.45}
.c-photo-hero-start .c-photo-hero-inner{padding:3.4rem 0 3.6rem}.c-start-copy{max-width:640px}
/* Feature strip: four icons in a white band overlapping the hero's lower edge */
.c-features{position:relative;margin-top:-3.2rem}
.c-feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.2rem;background:#fff;border-radius:16px;box-shadow:0 10px 30px rgba(10,31,68,.10);padding:1.6rem 1.4rem;text-align:center}
.c-feature .c-icon{width:42px;height:42px}.c-feature h2{font-size:1rem;line-height:1.25;margin:.5rem auto .35rem;max-width:12rem}.c-feature p{margin:0 auto;color:var(--muted);font-size:.88rem;max-width:14rem}
/* Lifestyle: photo left, pale-blue panel right */
.c-lifestyle{display:grid;grid-template-columns:1fr 1.1fr;gap:1.2rem;padding-top:2.6rem;align-items:stretch}
.c-lifestyle-photo{border-radius:16px;overflow:hidden;min-height:300px;background:var(--pale)}
.c-photo{display:block;max-width:100%;height:auto}.c-photo-cover{width:100%;height:100%;object-fit:cover}
.c-panel{background:var(--pale);border-radius:16px;padding:2.4rem 2.2rem;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.c-panel h2{font-size:clamp(1.5rem,2.8vw,2rem);margin:0 0 .8rem;line-height:1.15}.c-panel p{color:#33445c;margin:0 0 1.4rem;max-width:30rem}
/* Learn About Lens Options: three photographic cards */
.c-learn{padding:2.4rem 0 3rem}.c-learn h2{margin:0 0 1rem}
.c-learn-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.2rem}
.c-learn-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#fff;text-decoration:none;color:var(--ink)}
.c-learn-card:hover{border-color:#a9c2f2;box-shadow:0 6px 18px rgba(10,31,68,.08)}.c-learn-card:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.c-learn-photo{display:block;aspect-ratio:16/9;background:var(--pale)}
.c-learn-body{display:flex;flex-direction:column;gap:.35rem;padding:1rem 1.1rem 1.1rem}
.c-learn-title{font-weight:750;color:var(--navy);font-size:1.08rem}.c-learn-text{color:var(--muted);font-size:.92rem;flex:1}
.c-card-link{color:var(--blue);font-weight:700;font-size:.93rem;margin-top:.3rem}.c-learn-chevron{display:none}
/* Start pages: large stacked horizontal path cards over the photo */
.c-path-stack{display:flex;flex-direction:column;gap:1rem;margin-top:1.8rem}.c-path-form{margin:0}
.c-path-card{width:100%;display:grid;grid-template-columns:64px 1fr 28px;gap:1.1rem;align-items:center;text-align:left;background:#fff;border:1.5px solid #fff;border-radius:14px;padding:1.25rem 1.4rem;box-shadow:0 10px 28px rgba(10,31,68,.14);cursor:pointer;font:inherit;color:var(--ink);min-height:44px}
.c-path-card:hover{border-color:#a9c2f2}.c-path-card:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}.c-path-card.is-current{border-color:var(--blue)}
.c-path-icon .c-icon{width:52px;height:52px}.c-path-body{display:flex;flex-direction:column;gap:.3rem}
.c-path-title{font-weight:750;color:var(--navy);font-size:1.12rem}.c-path-text{color:#33445c;font-size:.95rem}
.c-path-arrow{color:var(--blue);font-size:1.5rem;font-weight:700;justify-self:end}
/* Best Eyeglass Lenses: educational sections below the start area */
.c-section{padding:2.4rem 0 .6rem}.c-section h2{margin-top:0}
.c-edu-head{display:grid;grid-template-columns:260px 1fr;gap:1.4rem;align-items:center;margin-bottom:1.2rem}
.c-edu-photo{border-radius:14px;aspect-ratio:16/9}.c-edu-head p{margin:.3rem 0 0}
.c-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.c-info-item{border:1px solid var(--line);border-radius:14px;padding:1.1rem 1.2rem}
.c-info-item h3{margin:0 0 .35rem;font-size:1.05rem}.c-info-item p{margin:0;font-size:.95rem}
.c-icon{width:40px;height:40px;color:var(--blue)}
.c-design-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}.c-design{border:1px solid var(--line);border-radius:14px;padding:1.2rem}.c-design h3{margin:0 0 .3rem}.c-design p{margin:.4rem 0;font-size:.95rem}
.c-steps{list-style:none;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:1rem;counter-reset:s}.c-steps li{display:flex;gap:.7rem;align-items:flex-start}
.c-step-n{flex:0 0 34px;height:34px;border-radius:50%;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:700}
.c-safety{max-width:none}
.c-footer{background:#fff;border-top:1px solid var(--line)}
/* Intake */
.c-question{max-width:860px;padding:2rem 0 3rem}
.c-stepper{list-style:none;display:flex;justify-content:space-between;gap:.5rem;padding:0;margin:0 0 1.8rem;position:relative}
.c-stepper li{flex:1;display:flex;flex-direction:column;align-items:center;gap:.35rem;font-size:.82rem;color:var(--muted);text-align:center}
.c-step-dot{width:32px;height:32px;border-radius:50%;border:2px solid #b9cdf3;display:grid;place-items:center;font-weight:700;background:#fff;color:var(--muted)}
.c-stepper li.current .c-step-dot{background:var(--blue);border-color:var(--blue);color:#fff}.c-stepper li.current{color:var(--blue);font-weight:700}.c-stepper li.done .c-step-dot{border-color:var(--blue);color:var(--blue)}
.c-question-form fieldset{border:0;padding:0;margin:0;min-width:0}.c-question-form legend{padding:0}.c-question-form legend h1{font-size:clamp(1.5rem,3.4vw,2.1rem);margin:0}
.c-hint{color:var(--muted);margin:.4rem 0 1.2rem}
.c-choice-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.9rem}
.c-choice-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:.6rem;border:1.5px solid var(--line);border-radius:14px;padding:1rem .8rem;cursor:pointer;text-align:center;font-weight:600;min-height:44px}
.c-choice-card input{position:absolute;top:10px;left:10px;width:20px;height:20px}.c-choice-card:has(input:checked){border-color:var(--blue);background:var(--pale)}
.c-choice-photo-card{padding:0;overflow:hidden;gap:0;align-items:stretch}.c-choice-photo{display:block;aspect-ratio:4/3;background:var(--pale)}
.c-choice-photo-card input{z-index:1;accent-color:var(--blue);background:#fff}.c-choice-label{padding:.65rem .5rem .75rem}
.c-choice-photo-row{padding:.5rem .9rem .5rem .5rem}.c-choice-thumb{flex:0 0 132px;width:132px;aspect-ratio:3/2;border-radius:8px;overflow:hidden;background:var(--pale)}
.c-choice-list{display:flex;flex-direction:column;gap:.7rem}.c-choice-compact{gap:.45rem}
.c-choice-row{display:flex;align-items:center;gap:.9rem;border:1.5px solid var(--line);border-radius:12px;padding:.7rem .9rem;cursor:pointer;min-height:44px;font-weight:500}
.c-choice-row input{width:20px;height:20px;flex:0 0 auto}.c-choice-row:has(input:checked){border-color:var(--blue);background:var(--pale)}
.c-other textarea{width:100%;font:inherit;border:1.5px solid var(--field-border);border-radius:10px;padding:.6rem}
.c-select{display:flex;flex-direction:column;gap:.4rem;font-weight:600;max-width:460px}.c-subfieldset{margin-top:1.2rem!important}.c-subfieldset legend{font-weight:700;color:var(--navy);margin-bottom:.5rem}
.c-field-error{color:#a32323;font-weight:600;margin:.2rem 0 .8rem}
.c-nav-buttons{display:flex;justify-content:space-between;gap:1rem;margin-top:1.8rem}.c-nav-buttons .button{min-width:140px}
.c-upload-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:1.2rem;align-items:start}.c-upload-grid .c-manual,.c-upload-grid .c-nav-buttons{grid-column:1/-1}
.c-dropzone{position:relative;display:flex;flex-direction:column;align-items:center;gap:.6rem;text-align:center;border:2px dashed #a9c2f2;border-radius:16px;background:var(--pale2);padding:2rem 1rem;cursor:pointer}
.c-dropzone input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.c-dropzone:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}
.c-link-like{color:var(--blue);font-weight:700;text-decoration:underline}
.c-info-panel{background:var(--pale);border-radius:16px;padding:1.2rem}.c-info-panel h2{font-size:1.05rem;margin:.4rem 0}.c-info-panel p{font-size:.92rem}
/* Results (locked Image 2) */
.r-page{padding:1.6rem 0 3rem}
.r-banner{background:#fff4dd;color:#7a4b00;border:1px solid #f0d49b;border-radius:10px;padding:.7rem 1rem;font-weight:700}
.r-preview-controls{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:center;background:var(--pale2);border:1px solid var(--line);border-radius:10px;padding:.7rem 1rem;margin:0 0 1rem;font-size:.9rem}
.r-preview-controls select{width:auto;padding:.3rem .4rem}
.r-head{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem}.r-head p{margin:.3rem 0 1rem;color:#33445c}
.r-config{display:grid;grid-template-columns:3fr 1fr;gap:1rem;margin-bottom:2rem}
.r-cards{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--line);border-radius:14px;background:#fff}
.r-card{display:flex;flex-direction:column;gap:.4rem;padding:1.1rem 1.2rem;border-right:1px solid var(--line)}.r-card:last-child{border-right:0}
.r-card-icon{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:50%;background:var(--pale)}
.r-card-title{margin:0;font-weight:700;color:var(--navy)}.r-card-value{margin:0;font-size:1.2rem;font-weight:800;color:var(--navy)}.r-card-note{margin:0;color:var(--muted);font-size:.92rem;flex:1}
.r-edit summary{list-style:none;cursor:pointer;align-self:flex-start;display:inline-flex}.r-edit summary::-webkit-details-marker{display:none}
.r-edit-panel{margin-top:.6rem;border:1px solid var(--line);border-radius:10px;padding:.7rem;background:var(--pale2);display:flex;flex-direction:column;gap:.5rem}
.r-edit-panel fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:.4rem}.r-edit-panel .c-choice-row{padding:.45rem .6rem;font-size:.92rem}
.r-why{display:flex;gap:.7rem;border:1px solid var(--line);border-radius:14px;padding:1.1rem;background:#fff}.r-why p{margin:.3rem 0;font-size:.93rem}.r-why a{font-weight:700}
.r-compare-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;margin-bottom:1rem}.r-compare-head p{margin:.2rem 0 0;color:#33445c}
.r-sort{display:flex;gap:.6rem;align-items:center;font-size:.92rem}.r-sort-value{border:1px solid var(--line);border-radius:8px;padding:.55rem .8rem;font-weight:600;color:var(--navy);background:#fff}
.r-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:14px;background:#fff}
.r-row{display:grid;grid-template-columns:40px 1.3fr 1.4fr .8fr 1.5fr 1fr 1.25fr;gap:.9rem;align-items:center;padding:1rem 1.1rem;border-bottom:1px solid var(--line)}.r-row:last-child{border-bottom:0}
.r-rank{display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--pale);color:var(--navy);font-weight:800}
.r-vendor{display:flex;align-items:center;min-height:44px;text-decoration:none;border-radius:8px;padding:.3rem}.r-vendor:hover{background:var(--pale)}
.r-vendor-name{font-size:1.15rem;font-weight:800;letter-spacing:.02em;color:var(--navy)}
.r-cell{display:flex;flex-direction:column;gap:.15rem;font-size:.93rem}.r-label{font-size:.8rem;font-weight:700;color:var(--muted)}
.r-base strong{font-size:1.15rem;color:var(--navy)}
.r-feat{display:flex;justify-content:space-between;gap:.8rem}
.r-total{background:var(--total);border-radius:10px;padding:.5rem .7rem;text-align:center}.r-total strong{font-size:1.5rem;color:var(--total-ink)}
.r-total-unavailable{background:#f3f5f8}.r-total-unavailable strong{font-size:1rem;color:var(--ink)}.r-note{font-size:.8rem;color:var(--muted)}
.r-actions{display:flex;flex-direction:column;align-items:stretch;gap:.4rem}.r-check{width:100%}
.r-options summary{cursor:pointer;color:var(--blue);font-weight:700;text-decoration:underline;font-size:.92rem;text-align:center;padding:.3rem 0}
.r-option-list{list-style:none;margin:.5rem 0 0;padding:0;display:flex;flex-direction:column;gap:.5rem;font-size:.88rem}
.r-option-list li{border:1px solid var(--line);border-radius:10px;padding:.6rem;display:flex;flex-direction:column;gap:.35rem;background:var(--pale2)}
.r-option-total{font-weight:800;color:var(--navy)}.r-no-options{text-align:center;margin:0;font-size:.85rem}
.r-row-unavailable .r-vendor-name{color:var(--navy)}
.r-note-box{display:flex;gap:.7rem;align-items:flex-start;background:var(--pale2);border:1px solid var(--line);border-radius:12px;padding:.9rem 1rem;margin-top:1.2rem;font-size:.92rem}.r-note-box p{margin:0}
.r-next{margin:1rem 0}
@media (max-width:1080px){.c-nav,.c-header-actions{display:none}.c-menu{display:block}}
@media (max-width:900px){
  .c-upload-grid,.r-config{grid-template-columns:1fr}
  .c-design-grid,.c-steps,.c-info-grid{grid-template-columns:1fr}
  .c-choice-grid{grid-template-columns:1fr 1fr}
  .r-cards{grid-template-columns:1fr}.r-card{border-right:0;border-bottom:1px solid var(--line)}.r-card:last-child{border-bottom:0}
  .r-head{flex-direction:column}.r-compare-head{flex-direction:column;align-items:flex-start}
  .r-row{grid-template-columns:40px 1fr auto;grid-template-areas:"rank vendor total" "option option option" "base base base" "feats feats feats" "actions actions actions";gap:.5rem .8rem}
  .r-rank{grid-area:rank}.r-vendor{grid-area:vendor}.r-total{grid-area:total}.r-option{grid-area:option}.r-base{grid-area:base}.r-feats{grid-area:feats}.r-actions{grid-area:actions}
  .r-total strong{font-size:1.25rem}
}
@media (max-width:520px){.c-choice-grid{grid-template-columns:1fr}.c-nav-buttons .button{min-width:0;flex:1}}
.r-why .c-icon,.r-note-box .c-icon{flex:0 0 40px;width:40px;height:40px}
@media (max-width:900px){.r-row-unavailable{grid-template-areas:"rank vendor vendor" "total total total" "option option option" "base base base" "feats feats feats" "actions actions actions"}}

/* View Options: the toggle sits right under Check Price; the expanded options span the whole row (desktop) */
.r-options-wrap{grid-column:1/-1;margin-top:-.6rem}
.r-options-wrap>.r-options>summary,.r-options-wrap>.r-no-options{margin-left:auto;width:min(100%,190px);text-align:center}
.r-options[open] .r-option-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:.6rem}
@media (max-width:900px){.r-row,.r-row-unavailable{grid-template-areas:none}.r-options-wrap{grid-column:1/-1;margin-top:0}
  .r-row{grid-template-areas:"rank vendor total" "option option option" "base base base" "feats feats feats" "actions actions actions" "opts opts opts"}
  .r-row-unavailable{grid-template-areas:"rank vendor vendor" "total total total" "option option option" "base base base" "feats feats feats" "actions actions actions" "opts opts opts"}
  .r-options-wrap{grid-area:opts}.r-options-wrap>.r-options>summary,.r-options-wrap>.r-no-options{width:100%}}

/* Design correction (approved mockups): mobile layouts */
@media (max-width:900px){
  .c-photo-hero-home{min-height:0}.c-photo-hero-home .c-photo-hero-inner{padding:2rem 0 15rem}
  .c-photo-hero::before{background:linear-gradient(180deg,rgba(255,255,255,.85) 0%,rgba(255,255,255,.6) 45%,rgba(255,255,255,0) 70%)}
  .c-photo-hero-img{object-position:50% 100%}
  .c-photo-hero-start .c-photo-hero-inner{padding:2rem 0 2rem}
  .c-features{margin-top:-1.2rem}.c-feature-grid{grid-template-columns:1fr;text-align:left;gap:.9rem;padding:1.2rem 1.1rem}
  .c-feature{display:grid;grid-template-columns:44px 1fr;column-gap:1rem;align-items:center}.c-feature h2{margin:0;max-width:none}.c-feature p{display:none}
  .c-lifestyle{grid-template-columns:1fr;gap:0;padding-top:1.6rem}.c-lifestyle-photo{border-radius:16px 16px 0 0;aspect-ratio:4/3;min-height:0}.c-lifestyle .c-panel{border-radius:0 0 16px 16px;padding:1.4rem 1.2rem}
  .c-lifestyle .c-panel .button{width:100%}
  .c-learn-grid{grid-template-columns:1fr;gap:.6rem}
  .c-learn-card{display:grid;grid-template-columns:64px 1fr 24px;align-items:center;gap:.9rem;padding:.6rem .9rem .6rem .6rem}
  .c-learn-photo{width:64px;height:48px;aspect-ratio:auto;border-radius:8px;overflow:hidden}.c-learn-body{padding:0}.c-learn-text,.c-learn-body .c-card-link{display:none}
  .c-learn-chevron{display:block;color:var(--blue);font-weight:700;font-size:1.2rem}
  .c-path-card{grid-template-columns:48px 1fr 22px;gap:.8rem;padding:1rem}.c-path-icon .c-icon{width:42px;height:42px}.c-path-title{font-size:1.02rem}.c-path-text{font-size:.9rem}
  .c-edu-head{grid-template-columns:1fr;gap:.8rem}
  .c-hero-copy .button{width:100%}
}
@media (max-width:520px){.c-choice-grid{grid-template-columns:1fr 1fr}.c-choice-thumb{flex-basis:96px;width:96px}}

/* Results (locked Image 2) — visual corrections: card layout, Edit buttons, chevrons, type scale */
.r-page h1{font-size:clamp(1.6rem,3vw,2.15rem);font-weight:800}.r-part2 h2{font-size:clamp(1.4rem,2.6vw,1.9rem);font-weight:800;margin:0}
.r-card{display:grid;grid-template-columns:72px 1fr;column-gap:.9rem;row-gap:.6rem;align-content:start}
.r-card-icon{width:72px;height:72px}.r-card-icon .c-icon{width:44px;height:44px}
.r-card-body{display:flex;flex-direction:column;gap:.25rem}.r-card .r-edit{grid-column:2}
.r-edit>summary.button-secondary{background:var(--pale);border-color:var(--pale);color:var(--blue);font-weight:700;min-width:72px}
.r-edit>summary.button-secondary:hover{background:#dfe9ff}
.r-options>summary{list-style:none}.r-options>summary::-webkit-details-marker{display:none}
.r-options>summary::after{content:"";display:inline-block;width:.45em;height:.45em;margin-left:.45em;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-.2em) rotate(45deg)}
.r-options[open]>summary::after{transform:translateY(.05em) rotate(-135deg)}
.r-sort-value{position:relative;padding-right:2.2rem}.r-sort-value::after{content:"";position:absolute;right:.9rem;top:50%;width:.45em;height:.45em;border-right:2px solid var(--navy);border-bottom:2px solid var(--navy);transform:translateY(-70%) rotate(45deg)}
.r-row{padding:1.1rem 1.2rem}.r-check{font-size:1.02rem}
@media (max-width:900px){
  .r-card{grid-template-columns:56px 1fr auto;align-items:center;padding:.8rem 1rem}.r-card-icon{width:56px;height:56px}.r-card-icon .c-icon{width:36px;height:36px}
  .r-card .r-card-note{display:none}.r-card .r-edit{grid-column:3;grid-row:1}
  .r-card .r-edit[open]{grid-column:1/-1;grid-row:auto}
  .r-edit>summary.button-secondary{background:none;border-color:transparent;min-width:0;padding:.4rem .2rem}.r-edit>summary.button-secondary::after{content:"›";margin-left:.3rem;font-size:1.2rem;line-height:1}
  .r-total{display:flex;flex-direction:column;align-items:center;justify-content:center}
}
@media (max-width:700px){
  .c-photo-hero{background:linear-gradient(180deg,#eef2ef 0%,#e3eae6 100%)}
  .c-photo-hero picture{inset:auto 0 0 0}.c-photo-hero-img{height:auto}
  .c-photo-hero-home .c-photo-hero-inner{padding:1.6rem 0 calc(104vw * .72)}
  .c-photo-hero-start .c-photo-hero-inner{padding:1.6rem 0 calc(104vw * .30)}
}

/* AdminTool authentication V1: header actions, field hints, security status */
.admin-header-actions{display:flex;gap:1rem;align-items:center;margin-left:auto;flex-wrap:wrap;justify-content:flex-end}
.admin-header-actions a{font-weight:600}
.field-hint{margin:-.15rem 0 .15rem;font-size:.88rem}
.kv{display:grid;grid-template-columns:max-content 1fr;gap:.45rem 1.2rem;margin:0 0 1rem}.kv dt{font-weight:700}.kv dd{margin:0}
.plain-list{padding-left:1.1rem;margin:.4rem 0 0}.plain-list li{margin:.2rem 0}
@media (max-width:640px){.admin .header-row{flex-wrap:wrap;padding:.4rem 0}.admin-header-actions{width:100%;justify-content:space-between}.kv{grid-template-columns:1fr}.kv dd{margin-bottom:.5rem}.admin-header-actions{gap:.6rem}.admin-header-actions .button{padding:.4rem .6rem}}

/* Analytics consent bar (consumer pages): small, fixed to the bottom, never blocks the page */
.c-consent{position:sticky;bottom:0;z-index:6;background:#fff;border-top:1px solid var(--line);box-shadow:0 -6px 18px rgba(10,31,68,.08)}
/* While the analytics prompt is open, keyboard focus is scrolled clear of it (WCAG 2.4.11): the bar is 68 px tall on
   desktop and up to 161 px at 320 px (2026-10-25), so this leaves room for larger text too. No visible change. */
html:has(.c-consent){scroll-padding-bottom:110px}@media (max-width:700px){html:has(.c-consent){scroll-padding-bottom:200px}}
.c-consent-row{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:.7rem 0}.c-consent-row p{margin:0;font-size:.9rem;color:#33445c}
.c-consent-actions{display:flex;gap:.5rem;flex:0 0 auto}.c-consent-actions .button{min-height:40px}
@media (max-width:700px){.c-consent-row{flex-direction:column;align-items:stretch;gap:.5rem}.c-consent-actions .button{flex:1}}

/* Affiliate configuration check (AdminTool V1) */
.aff-checks{margin:.2rem 0;padding-left:1.1rem}.aff-checks li{margin:.2rem 0}.aff-error{color:var(--danger,#a32323);font-weight:600}.aff-warning{color:#7a4b00}.aff-ok{color:#14532d;font-weight:600;margin:.2rem 0}

/* Retailer status (AdminTool V1) */
.status-table td,.status-table th{vertical-align:top}.status-table .num{text-align:right}.status-table .bad,.bad{color:var(--danger,#a32323)}.row-attention{background:#fff8f0}
@media (max-width:760px){.status-table thead{display:none}.status-table tr{display:block;border:1px solid var(--line);border-radius:10px;margin:0 0 .8rem;padding:.4rem .6rem}
  .status-table td{display:flex;justify-content:space-between;gap:1rem;border:0;padding:.3rem 0}.status-table td[data-label]::before{content:attr(data-label);font-weight:600;color:var(--muted)}.status-table .num{text-align:right}}

/* Action Required (AdminTool V1) */
.count-badge{display:inline-grid;place-items:center;min-width:1.4em;height:1.4em;padding:0 .35em;border-radius:999px;background:#c62828;color:#fff;font-size:.75em;font-weight:700;vertical-align:middle;line-height:1}
.alert-list{list-style:none;margin:0;padding:0}.alert-item{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;padding:.7rem 0;border-top:1px solid var(--line)}.alert-item:first-child{border-top:0}
.alert-item p{margin:.25rem 0}@media (max-width:640px){.alert-item{flex-direction:column}}

/* Overview dashboard and analytics (AdminTool V1) */
.page-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap}.page-head h1{margin:0}
.period-tabs{display:flex;gap:.25rem;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:10px;padding:.25rem}
.period-tabs a{padding:.35rem .7rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:.9rem}.period-tabs a[aria-current]{background:var(--brand);color:#fff}
.data-note{margin:.8rem 0}.metrics{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}.stat-sub{display:block;font-size:.82rem;color:var(--muted);margin-top:.2rem}
.unavailable{color:var(--muted);font-style:italic;font-weight:600}.subnav{margin:.4rem 0 1rem}
.chart-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1rem;margin:1rem 0}
.chart{margin:0}.chart figcaption{margin-bottom:.4rem}.chart svg{width:100%;height:140px;display:block}
.chart .bar{fill:var(--brand)}.chart .axis{stroke:#c7d0d6;stroke-width:1}.chart .tick{font-size:11px;fill:#5a6873}
.funnel th{font-weight:600}.funnel-bar{display:block;height:6px;background:#eef2f4;border-radius:3px;margin-top:.3rem;max-width:260px}.funnel-bar span{display:block;height:6px;border-radius:3px;background:var(--brand)}
.w-0{width:0%}.w-5{width:5%}.w-10{width:10%}.w-15{width:15%}.w-20{width:20%}.w-25{width:25%}.w-30{width:30%}.w-35{width:35%}.w-40{width:40%}.w-45{width:45%}.w-50{width:50%}.w-55{width:55%}.w-60{width:60%}.w-65{width:65%}.w-70{width:70%}.w-75{width:75%}.w-80{width:80%}.w-85{width:85%}.w-90{width:90%}.w-95{width:95%}.w-100{width:100%}

/* Results: retailer without a valid affiliate link (prices stay; no link) */
.r-link-unavailable{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.5rem .8rem;border:1px dashed #b9c4cb;border-radius:8px;color:var(--muted);font-weight:600;font-size:.92rem;text-align:center;background:#f6f8f9}
.r-link-unavailable.r-check{width:100%}

/* Audit log filters and pager */
.audit-filters .filter-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:.6rem 1rem}.audit-filters label{display:flex;flex-direction:column;gap:.25rem;font-weight:600;font-size:.9rem}
.audit-filters select,.audit-filters input{width:100%}.pager{margin:1rem 0;font-weight:600}

/* Homepage review (owner request 2026-10-20): mockup hero proportions and line breaks, secondary educational action,
   lower-page reminder */
@media (min-width:901px){.c-photo-hero-home{min-height:clamp(500px,44vw,640px)}.c-photo-hero-home .c-photo-hero-inner{padding:4.6rem 0 7rem}}
.c-photo-hero-home .c-hero-copy{max-width:720px}.c-photo-hero-home .c-hero-copy h1{font-size:clamp(2rem,4.4vw,3.6rem)}
.c-hl-line{display:block}
.c-photo-hero-home .c-lede{max-width:31rem}.c-lede-more{display:block}
.c-hero-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}
.c-reminder{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;background:var(--pale);border-radius:16px;padding:1.8rem 2rem;margin:0 auto 3rem}
.c-reminder h2{margin:0 0 .35rem}.c-reminder p{margin:0;color:#33445c;max-width:38rem}.c-reminder .button{flex:none}
@media (max-width:900px){
  .c-photo-hero-home .c-hero-copy{max-width:none}
  .c-hero-actions .button{width:auto}
  .c-reminder{flex-direction:column;align-items:stretch;padding:1.4rem 1.2rem;margin-bottom:2.4rem}.c-reminder .button{width:100%}
}
@media (max-width:700px){
  .c-photo-hero-home .c-hero-copy h1{font-size:clamp(1.55rem,7.2vw,2rem)}
  .c-lede-more{display:none}
  .c-hero-actions{flex-direction:column;align-items:stretch}.c-hero-actions .button{width:100%}
}

/* J2: optical recommendation advice inside Results Part 1 (no layout change) */
.r-draft{margin:-.4rem 0 .9rem;font-size:.86rem;color:var(--muted)}.r-draft strong{color:#8a5a00}
.r-advice{margin:0 0 1rem}.r-advice p{margin:.2rem 0}
.r-why-list{margin:.4rem 0 .5rem;padding-left:1.1rem;font-size:.88rem;color:#33445c}.r-why-list li{margin:.15rem 0}
@media (max-width:900px){.r-draft{margin-top:.8rem}}
.r-advice-actions{margin:.5rem 0 .2rem;padding-left:1.1rem}.r-advice-actions li{margin:.2rem 0}.r-advice-actions a{font-weight:700}
/* Help Me Choose corrections (owner approval 2026-10-20) */
.c-stepper li{position:relative}.c-stepper li:not(:first-child)::before{content:"";position:absolute;top:16px;right:calc(50% + 20px);left:calc(-50% + 20px);height:2px;background:#d3def5}
.c-stepper li.done+li::before{background:var(--blue)}.c-step-dot{position:relative;z-index:1}
.c-choice-photo-card .c-choice-photo{position:relative;overflow:visible}.c-choice-photo-card .c-choice-photo img{border-radius:12px 12px 0 0}
.c-choice-photo-card .c-choice-photo input{position:absolute;top:auto;bottom:-11px;left:12px;width:22px;height:22px;margin:0;z-index:1}
.c-choice-list:not(:has(input[value="other"]:checked))>.c-other{display:none}
.c-manual a{display:inline-flex;flex-direction:column;font-weight:600}
@media (max-width:520px){
  .c-choice-grid{grid-template-columns:1fr;gap:.6rem}.c-choice-photo-card{flex-direction:row;align-items:center;justify-content:flex-start;gap:.9rem;padding:.75rem .9rem;text-align:left;font-weight:500}
  .c-choice-photo-card .c-choice-photo{display:contents}.c-choice-photo-card .c-choice-photo picture,.c-choice-photo-card .c-choice-photo img{display:none}
  .c-choice-photo-card .c-choice-photo input{position:static;flex:0 0 auto;width:20px;height:20px}.c-choice-photo-card .c-choice-label{padding:0}
  .c-choice-photo-row .c-choice-thumb{display:none}}
/* Intake prescription screens */
.rx2 h1{font-size:clamp(1.6rem,3.6vw,2.3rem);margin:0}
.rx2-context{display:flex;gap:.8rem;align-items:flex-start;background:var(--pale);border-radius:14px;padding:.9rem 1.1rem;margin:0 0 1rem}.rx2-context svg{flex:0 0 auto;width:24px;height:24px;color:var(--blue)}.rx2-context p{margin:0}
.rx2-choice{margin:0 0 1rem}.rx2-links{margin:.2rem 0 1rem}
.rx2-card{border:1.5px solid var(--line);border-radius:14px;padding:1rem 1.2rem 1.1rem;margin:0 0 1rem;background:#fff;min-width:0}
.rx2-card legend,.rx2-card h2{display:flex;align-items:center;gap:.5rem;font-weight:700;font-size:1.05rem;color:var(--navy);padding:0 .2rem;margin:0 0 .4rem}
.rx2-cardhint{font-size:.9rem;color:var(--muted);margin:0 0 .7rem}
.rx2-badge{display:inline-grid;place-items:center;min-width:2.3rem;height:1.6rem;padding:0 .45rem;border-radius:999px;background:var(--pale);color:var(--blue);font-size:.78rem;font-weight:800}
.rx2-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem 1rem}.rx2-grid-2{grid-template-columns:repeat(2,1fr);margin-bottom:.6rem}
.rx2-field{display:flex;flex-direction:column;min-width:0}.rx2-field label{font-weight:700;font-size:.92rem;color:var(--navy)}
.rx2-plain{font-size:.8rem;color:var(--muted);margin-bottom:.3rem}.rx2-eg{font-size:.78rem;color:var(--muted);margin-top:.25rem}
.rx2-field input{width:100%;font:inherit;font-size:1.05rem;border:1.5px solid var(--field-border);border-radius:10px;padding:.55rem .7rem;min-height:44px;background:#fff}
.rx2-field.is-error input{border-color:#a32323;background:#fff6f6}.rx2-field.is-check input{border-color:#d08a00;background:#fffaf0}
.rx2-msg{font-size:.82rem;font-weight:700;margin-top:.25rem}.rx2-msg-error{color:#a32323}.rx2-msg-check{color:#7a4b00}
.rx2-chip{align-self:flex-start;margin-top:.3rem;font-size:.74rem;font-weight:700;color:var(--blue);background:var(--pale);border-radius:999px;padding:.1rem .5rem}
.rx2-scan-uncertain input{border-color:#d08a00;background:#fffaf0}.rx2-scan-uncertain .rx2-chip{color:#7a4b00;background:#fff1d6}.rx2-scan-not_found .rx2-chip{color:var(--muted);background:#f1f3f5}
.rx2-more{border:1.5px solid var(--line);border-radius:14px;margin:0 0 1rem;background:#fff}
.rx2-more>summary{cursor:pointer;padding:.9rem 1.2rem;font-weight:700;color:var(--navy);list-style:none;display:flex;justify-content:space-between;min-height:44px;align-items:center}
.rx2-more>summary::-webkit-details-marker{display:none}.rx2-more>summary::after{content:"+";color:var(--blue);font-size:1.3rem;line-height:1}.rx2-more[open]>summary::after{content:"−"}
.rx2-more>div{padding:0 1.2rem 1.1rem}.rx2-inner{margin:.9rem 0 0;border-style:dashed}.rx2-inner>summary{font-size:.92rem}
.rx2-alert{border-radius:14px;padding:1rem 1.2rem;margin:0 0 1.2rem;border:1.5px solid}.rx2-alert h2{font-size:1.05rem;margin:0 0 .4rem}.rx2-alert p{margin:.3rem 0}.rx2-alert ul{margin:.4rem 0 0;padding-left:1.2rem}
.rx2-alert-error{background:#fff6f6;border-color:#e7b3b3}.rx2-alert-error h2{color:#a32323}
.rx2-alert-warn{background:#fffaf0;border-color:#f0d49b}.rx2-alert-warn h2{color:#7a4b00}
.rx2-alert-info{background:var(--pale2);border-color:#c9d9f6}.rx2-alert-ok{background:#effaf3;border-color:#b8e0c6}
.rx2-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.7rem;margin-top:.9rem}
.rx2-option{display:flex;flex-direction:column;gap:.25rem;border:1.5px solid var(--line);border-radius:12px;padding:.8rem .9rem;background:#fff;text-decoration:none;color:inherit;min-height:44px;text-align:left;font:inherit;cursor:pointer}
.rx2-option strong{color:var(--blue)}.rx2-option span{font-size:.85rem;color:var(--muted)}.rx2-option-primary{border-color:var(--blue);background:var(--pale)}
.rx2-review{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.rx2-table{width:100%;border-collapse:collapse;font-size:.95rem}.rx2-table th,.rx2-table td{text-align:left;padding:.45rem .2rem;border-bottom:1px solid var(--line);vertical-align:top}
.rx2-table th{font-weight:600;color:var(--muted);width:45%}.rx2-table td{font-weight:700;color:var(--navy)}
.rx2-typed{display:block;font-weight:500;font-size:.78rem;color:var(--muted)}.rx2-row-check td{color:#7a4b00}.rx2-row-missing td{color:#a32323}
.rx2-acks{border:0;padding:0;margin:1rem 0 0;min-width:0}.rx2-acks legend h2{font-size:1.05rem;margin:0}
.rx2-ack{display:flex;gap:.7rem;align-items:flex-start;border:1.5px solid #f0d49b;background:#fffaf0;border-radius:12px;padding:.8rem .9rem;margin:.6rem 0}
.rx2-ack input{width:20px;height:20px;flex:0 0 auto;margin-top:.15rem}.rx2-ack a{font-weight:700;white-space:nowrap}
.rx2-confirm .rx2-alert{margin-top:1rem}
.rx2-upload-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:1.2rem;align-items:start}.rx2-upload-grid .rx2-grid{grid-template-columns:repeat(2,1fr)}
.rx2-original .rx-original{margin:0;border:1.5px solid var(--line);border-radius:14px;padding:.8rem;background:#fff}.rx2-original img{max-width:100%;border-radius:8px}
.rx2-original-compact{max-width:320px;margin:0 0 1rem}
.rx2-state{display:flex;flex-direction:column;align-items:center;text-align:center;gap:.3rem;border:2px dashed #a9c2f2;border-radius:16px;background:var(--pale2);padding:1.8rem 1.2rem;margin:0 0 1rem}
.rx2-state svg{width:44px;height:44px;color:var(--blue)}.rx2-state p{margin:.2rem 0}.rx2-state-error{border-color:#e7b3b3;background:#fff6f6}.rx2-state-error svg{color:#a32323}
.rx2-btnrow{display:flex;flex-wrap:wrap;gap:.6rem;justify-content:center;margin-top:.6rem}
.rx2-foot{margin-top:1.6rem;font-size:.9rem}.rx2-foot p{margin:0 0 .3rem}.rx2-foot .link-button{color:var(--muted)}
/* Results: compact prescription summary (Option A) */
.r-rx{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem 1.2rem;border:1px solid var(--line);border-radius:12px;background:#fff;padding:.6rem 1rem;margin:0 0 1rem;font-size:.92rem}
.r-rx-title{font-weight:700;color:var(--navy)}.r-rx-note{color:var(--muted);font-size:.85rem}.r-rx-item strong{color:var(--muted);font-weight:700;margin-right:.25rem}.r-rx-edit{margin-left:auto;font-weight:700}
@media (max-width:820px){.rx2-grid{grid-template-columns:repeat(2,1fr)}.rx2-review,.rx2-upload-grid{grid-template-columns:1fr}.rx2-options{grid-template-columns:1fr}}
@media (max-width:520px){.rx2-card{padding:.9rem}.c-stepper li{font-size:.72rem}.r-rx-edit{margin-left:0}}
/* Add Your Prescription — approved Layout 1 (owner decision 2026-10-21): two equal cards, stacked on phones */
.rx-choice h1{margin:0}
.rx-choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem;align-items:stretch;margin:.4rem 0 1.1rem}
.rx-choice-card{display:flex;flex-direction:column;gap:.9rem;border:1.5px solid var(--line);border-radius:16px;padding:1.3rem;background:#fff;min-width:0}
.rx-choice-card h2{display:flex;align-items:center;gap:.6rem;font-size:1.2rem;margin:0;color:var(--navy)}
.rx-choice-card h2 svg{width:32px;height:32px;flex:0 0 auto;color:var(--blue)}
.rx-choice-card>p{margin:0;color:var(--muted)}
.rx-drop{position:relative;flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.55rem;text-align:center;border:2px dashed #a9c2f2;border-radius:14px;background:var(--pale2);padding:1.3rem 1rem;cursor:pointer;min-height:190px}
.rx-drop input[type=file]{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%}
.rx-drop:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}
.rx-drop-text{display:flex;flex-direction:column;gap:.15rem}.rx-formats{font-size:.82rem;color:var(--muted)}
.rx-choose{pointer-events:none;min-width:150px}
.rx-selected{display:none;font-weight:700;color:var(--ok)}.rx-drop:has(input:valid) .rx-selected{display:block}
.rx-card-action{margin-top:auto;width:100%;text-align:center}
.rx-choice-upload:has(input:valid) .rx-card-action{background:var(--blue);border-color:var(--blue);color:#fff}
.rx-mini{flex:1;width:100%;border-collapse:separate;border-spacing:0;font-size:.86rem;border:1.5px solid var(--line);border-radius:12px;overflow:hidden;background:var(--pale2)}
.rx-mini th,.rx-mini td{padding:.5rem .35rem;text-align:center;border-bottom:1px solid var(--line)}.rx-mini tbody tr:last-child th,.rx-mini tbody tr:last-child td{border-bottom:0}
.rx-mini thead th{font-size:.74rem;color:var(--muted);font-weight:700}.rx-mini tbody th{color:var(--blue);font-weight:800}.rx-mini td{color:var(--navy);font-weight:600}
.rx-privacy{display:flex;gap:.6rem;align-items:center;font-size:.92rem;color:var(--muted)}.rx-privacy svg{width:20px;height:20px;flex:0 0 auto;color:var(--blue)}.rx-privacy p{margin:0}
.rx-privacy-more{font-size:.9rem;margin:.35rem 0 0 1.9rem}.rx-privacy-more summary{cursor:pointer;color:var(--blue);font-weight:600;min-height:44px;display:flex;align-items:center}
.rx-privacy-more p{margin:.2rem 0}
@media (max-width:720px){.rx-choice-grid{grid-template-columns:1fr;gap:.9rem}.rx-drop{min-height:150px}.rx-choice-card{padding:1.1rem}.rx-mini{flex:none}}
/* SPH / CYL / ADD menus */
.rx2-field select{width:100%;font:inherit;font-size:1.05rem;border:1.5px solid var(--field-border);border-radius:10px;padding:.55rem .6rem;min-height:44px;background:#fff;color:var(--ink)}
.rx2-field.is-error select{border-color:#a32323;background:#fff6f6}.rx2-field.is-check select{border-color:#d08a00;background:#fffaf0}
.rx2-scan-uncertain select{border-color:#d08a00;background:#fffaf0}.rx2-scan-read select{border-color:#7fa6ee}
/* CMS (M1): AdminTool editor, import review and the private article preview (public article styling). */
.cms-form{display:flex;flex-direction:column;gap:.85rem;max-width:960px}.cms-form>label{display:flex;flex-direction:column;gap:.25rem}
.cms-fields{max-width:none}.cms-body-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;flex-wrap:wrap;margin-top:.5rem}
.cms-body-label{font-weight:600}.cms-modes{display:flex;gap:.4rem}.cms-source{font-family:ui-monospace,Menlo,monospace;font-size:.9rem;min-height:28rem}
.cms-actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}.content-table code{font-size:.88rem}
.cms-import-preview{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:1rem 1.25rem;max-height:40rem;overflow:auto}
.cms-preview-bar{background:#fff4dd;color:#7a4b00;padding:.6rem clamp(16px,3vw,2rem);font-size:.95rem}
.cms-article-wrap{padding-top:2rem;padding-bottom:3rem}
.cms-article{max-width:760px;margin:0 auto;font-size:1.0625rem;line-height:1.65;color:#0f2440;overflow-wrap:anywhere}
.cms-article h1,.cms-article .cms-preview-h1{font-size:clamp(1.9rem,4.5vw,2.6rem);line-height:1.15;margin:0 0 .75rem;color:#0b1f3a}
.cms-article h2,.cms-article h3,.cms-article h4,.cms-article h5,.cms-article h6{line-height:1.25;color:#0b1f3a;margin:1.6em 0 .5em}
.cms-article h2{font-size:1.6rem}.cms-article h3{font-size:1.3rem}.cms-article h4{font-size:1.1rem}.cms-article h5,.cms-article h6{font-size:1rem}
.cms-article img{max-width:100%;height:auto}.cms-article a{color:#1463e8}
.cms-article table{border-collapse:collapse;width:100%;margin:1rem 0;display:block;overflow-x:auto}
.cms-article th,.cms-article td{border:1px solid #d5dde5;padding:.5rem .65rem;text-align:left;vertical-align:top;overflow-wrap:normal;word-break:normal}.cms-article th{background:#f2f6fa}
.cms-article blockquote{margin:1rem 0;padding:.25rem 1rem;border-left:4px solid #1463e8;color:#33475b}
.cms-article pre{background:#f2f6fa;padding:.75rem;overflow:auto}.cms-article figure{margin:1rem 0}.cms-article figcaption{font-size:.9rem;color:#5b6b7b}
.cms-summary{font-size:1.15rem;color:#33475b}.cms-byline{color:var(--muted);font-size:.95rem}
.cms-breadcrumb{max-width:760px;margin:0 auto 1.25rem;font-size:.92rem;color:var(--muted)}.cms-breadcrumb a{color:#1463e8}
.cms-related{max-width:760px;margin:2.5rem auto 0;border-top:1px solid #d5dde5;padding-top:1rem}.cms-related h2{font-size:1.25rem;margin:0 0 .5rem;color:#0b1f3a}
.cms-related ul{margin:0;padding-left:1.1rem}.cms-related li{margin:.35rem 0}.cms-related a{color:#1463e8}
.publish-checks{list-style:none;padding:0;margin:.5rem 0 1rem}.publish-checks li{margin:.35rem 0}.cms-links li{margin:.5rem 0}
.cms-form>label.check{flex-direction:row;gap:.5rem}.media-upload{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:1rem 1.25rem;margin-bottom:1.5rem}.media-upload h2{margin:0}
.media-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1rem}
.media-card{border:1px solid var(--line);border-radius:var(--radius);background:#fff;padding:.6rem;overflow-wrap:anywhere}.media-card p{margin:.4rem 0 0}
.media-card img{display:block;width:100%;height:150px;object-fit:contain;background:#f2f6fa}.media-placeholder{height:150px;background:#f2f6fa}
.media-preview{margin:1rem 0}.media-preview img{max-width:100%;height:auto;border:1px solid var(--line)}.media-snippet{min-height:0;width:100%;font-size:.82rem}
.media-sizes td{vertical-align:top}.media-sizes td:last-child{min-width:16rem}
/* CMS fields: the standard focus ring on selects and text areas too, and invalid fields marked by colour as well as by
   their message under the field (WCAG 3.3.1). Field borders are --field-border, like every other field. */
.cms-form :is(select,textarea):focus-visible,.cms-import textarea:focus-visible,.media-snippet:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.cms-form :is(input,select,textarea)[aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 1px var(--danger)}
.field-error{color:var(--danger);font-weight:600;font-size:.9rem}
.c-test-session{margin:0;padding:.6rem clamp(16px,3vw,2rem);background:#e9f2f4;color:var(--brand-dark);font-size:.95rem;text-align:center}
/* Features, Lens Quality and the prescription grid (owner decisions 2026-10-22) */
.c-quality-list{display:flex;flex-direction:column;gap:.9rem}
.c-quality-card{display:flex;align-items:center;gap:1.1rem;border:1.5px solid var(--line);border-radius:16px;padding:1.1rem 1.3rem;cursor:pointer;background:#fff;min-height:44px}
.c-quality-card input{width:22px;height:22px;flex:0 0 auto}.c-quality-card:has(input:checked){border-color:var(--blue);background:var(--pale);box-shadow:0 0 0 1px var(--blue)}
.c-quality-card:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}
.c-quality-art{display:flex;align-items:center;justify-content:center;width:72px;height:72px;border-radius:50%;flex:0 0 auto;color:var(--navy)}
.c-quality-art svg{width:36px;height:36px}.c-quality-basic .c-quality-art{background:#e6f6ee}.c-quality-good .c-quality-art{background:#e5efff}.c-quality-premium .c-quality-art{background:#f1e9fb}
.c-quality-text{font-weight:700;font-size:1.12rem;color:var(--navy);line-height:1.35}
@media (max-width:520px){.c-quality-card{padding:.85rem;gap:.75rem}.c-quality-art{width:52px;height:52px}.c-quality-art svg{width:28px;height:28px}.c-quality-text{font-size:1rem}}
.rx3-grid{display:grid;grid-template-columns:auto repeat(4,minmax(0,1fr));gap:.55rem .5rem;align-items:center;border:1.5px solid var(--line);border-radius:12px;background:var(--pale2);padding:.75rem}
.rx3-grid.rx3-noadd{grid-template-columns:auto repeat(3,minmax(0,1fr))}
.rx3-h{text-align:center;font-size:.8rem;font-weight:700;color:var(--muted)}
.rx3-eye{display:flex;flex-direction:column;line-height:1.1;padding-right:.2rem}.rx3-eye strong{color:var(--blue);font-size:1.05rem}.rx3-eye span{font-size:.75rem;color:var(--muted)}
.rx3-add{grid-row:span 2;align-self:center}
.rx3-cell select,.rx3-cell input{width:100%;font:inherit;font-size:.95rem;border:1.5px solid var(--field-border);border-radius:9px;padding:.45rem .35rem;min-height:44px;background:#fff;color:var(--ink);box-sizing:border-box}
.rx3-cell.is-error select,.rx3-cell.is-error input{border-color:#a32323;background:#fff6f6}.rx3-cell.is-check select,.rx3-cell.is-check input{border-color:#d08a00;background:#fffaf0}
.rx3-cell.rx2-scan-uncertain select{border-color:#d08a00;background:#fffaf0}.rx3-cell.rx2-scan-read select,.rx3-cell.rx2-scan-read input{border-color:#7fa6ee}
.rx3-hint{font-size:.86rem;color:var(--muted);margin:.4rem 0 0}
.rx3-prism{border:1.5px solid var(--line);border-radius:12px;background:var(--pale2);padding:.2rem .9rem;margin:.6rem 0}
.rx3-prism summary{cursor:pointer;color:var(--blue);font-weight:700;min-height:44px;display:flex;align-items:center;gap:.55rem;list-style:none}.rx3-prism summary::-webkit-details-marker{display:none}
.rx3-plus{width:22px;height:22px;border-radius:50%;background:var(--blue);position:relative;flex:0 0 auto}
.rx3-plus::before,.rx3-plus::after{content:"";position:absolute;background:#fff;left:50%;top:50%;transform:translate(-50%,-50%)}.rx3-plus::before{width:10px;height:2px}.rx3-plus::after{width:2px;height:10px}
.rx3-prism[open] .rx3-plus::after{display:none}
.rx3-prism>p{margin:0 0 .5rem;font-size:.88rem}
.rx3-prism-grid{display:grid;grid-template-columns:1fr 1fr;gap:.7rem;padding-bottom:.8rem}
.rx3-prism-field{display:flex;flex-direction:column;gap:.25rem}.rx3-prism-field label{font-weight:700;font-size:.9rem;color:var(--navy)}
.rx3-prism-field input{font:inherit;border:1.5px solid var(--field-border);border-radius:9px;padding:.55rem .6rem;min-height:44px;background:#fff}
.rx3-prism-field.is-error input{border-color:#a32323;background:#fff6f6}.rx3-prism-field.is-check input{border-color:#d08a00;background:#fffaf0}
.rx3-kept{font-size:.88rem}
.rx3-inline .rx3-grid{margin:0}
.rx3-back{display:none;margin:.2rem 0}
@media (max-width:720px){
.rx3-back{display:block}.rx3-back a{display:inline-flex;align-items:center;gap:.3rem;min-height:44px;font-weight:700;text-decoration:none}
.rx3-grid{padding:.55rem;gap:.45rem .3rem}.rx3-cell select,.rx3-cell input{font-size:1rem;padding:.4rem .15rem}.rx3-eye strong{font-size:.95rem}
.rx3-prism-grid{grid-template-columns:1fr}}
.rx3-msgs{list-style:none;margin:.5rem 0 0;padding:0;display:flex;flex-direction:column;gap:.3rem;font-size:.9rem}
/* Prescription grid sizing: "0.00 / None" fits in each menu (slim arrow); a wider manual card on desktop; on phones the
   shared ADD takes its own row under the eyes so SPH / CYL / AXIS keep readable widths. */
.rx-choice .rx-choice-grid{grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
.rx-choice.c-question{max-width:940px}
.rx3-cell select{appearance:none;-webkit-appearance:none;padding:.45rem 1.25rem .45rem .45rem;font-size:.9rem;text-overflow:clip;
  background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23334' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .4rem center}
.rx3-cell.is-error select{background-color:#fff6f6}.rx3-cell.is-check select,.rx3-cell.rx2-scan-uncertain select{background-color:#fffaf0}
.rx3-add-label{display:none}
.rx3-grid{gap:.55rem .4rem}
@media (max-width:720px){
.rx-choice .rx-choice-grid{grid-template-columns:1fr}
.rx3-grid:not(.rx3-pereye):not(.rx3-noadd){grid-template-columns:auto repeat(3,minmax(0,1fr))}
.rx3-grid:not(.rx3-pereye):not(.rx3-noadd) .rx3-h:nth-of-type(5){display:none}
.rx3-grid:not(.rx3-pereye) .rx3-add{order:1;grid-row:auto;grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;max-width:12rem}
.rx3-add-label{display:block;font-weight:800;color:var(--blue);font-size:.95rem}
.rx3-cell select{font-size:1rem;padding:.4rem 1.1rem .4rem .35rem;background-position:right .3rem center}
.rx3-cell input{font-size:1rem}}
@media (max-width:720px){.rx3-grid:not(.rx3-pereye):not(.rx3-noadd){grid-template-columns:auto minmax(0,1.25fr) minmax(0,1.05fr) minmax(0,.7fr)}}
.rx3-grid:not(.rx3-noadd):not(.rx3-pereye){grid-template-columns:auto minmax(0,1.2fr) minmax(0,1.05fr) minmax(0,.7fr) minmax(0,1.2fr)}
.rx3-grid.rx3-noadd{grid-template-columns:auto minmax(0,1.2fr) minmax(0,1.05fr) minmax(0,.75fr)}
@media (max-width:720px){.rx3-grid:not(.rx3-pereye):not(.rx3-noadd){grid-template-columns:auto minmax(0,1.25fr) minmax(0,1.05fr) minmax(0,.7fr)}}
/* Lifestyle activities (owner decision 2026-10-22): photo cards about 15% smaller on wider screens (same 4:3 photographs,
   three balanced columns, centred) so Continue stays in view on a typical desktop; tablet and phone layouts unchanged. */
@media (min-width:901px){
  .c-question:has(.c-choice-photo-card){padding-top:.5rem}.c-question:has(.c-choice-photo-card) .c-stepper{margin-bottom:.8rem}
  .c-question:has(.c-choice-photo-card) .c-hint{margin-bottom:.75rem}
  .c-choice-grid:has(.c-choice-photo-card){max-width:732px;margin-inline:auto;gap:.65rem}
  .c-choice-photo-card .c-choice-label{padding:.4rem .5rem .45rem}
  .c-question:has(.c-choice-photo-card) .c-nav-buttons{margin-top:.9rem}}
/* Progress indicator (owner decision 2026-10-22): five stages; completed stages filled pale with a blue ring; labels wrap
   (and hyphenate) on phones rather than overflow. */
.c-stepper li{min-width:0}.c-step-label{max-width:100%}
.c-stepper li.done .c-step-dot{background:var(--pale)}.c-stepper li.done{color:var(--navy)}
@media (max-width:520px){.c-stepper{gap:.2rem}.c-stepper li{font-size:.7rem;line-height:1.2}.c-step-label{hyphens:auto;-webkit-hyphens:auto;overflow-wrap:anywhere}}
/* Phones up to 400px: "Prescription" (bold when current) fits on one line at 390 and 375px; narrower, it breaks at its
   soft hyphen ("Prescrip-tion"), like "Recommen-dations". Up to 340px slightly smaller still, so each half fits its
   step (overflow-wrap stays only as a last resort against sideways scrolling). */
@media (max-width:400px){.c-stepper{gap:.1rem}.c-stepper li{font-size:.66rem}}
@media (max-width:340px){.c-stepper{gap:0}.c-stepper li{font-size:.6rem}}
/* Compact Results (owner decision 2026-10-22): the first retailer in view on a typical desktop screen. */
.r-page{padding-top:.9rem}
.r-page>.c-stepper{max-width:860px;margin:0 auto .7rem}.r-page>.c-stepper .c-step-dot{width:26px;height:26px;font-size:.8rem}
.r-page>.c-stepper li:not(:first-child)::before{top:13px;right:calc(50% + 16px);left:calc(-50% + 16px)}
.r-rx{margin:0 0 .6rem;padding:.4rem .9rem}
.r-head{align-items:center;margin-bottom:.45rem}.r-head p{margin:0}
.r-page h1{font-size:clamp(1.3rem,2.3vw,1.6rem);margin:0}
.r-draft{margin:.15rem 0 0;font-size:.8rem}
.r-lede{margin:.1rem 0 .6rem;color:#33445c;font-size:.93rem}
.r-advisory{margin:.1rem 0 .6rem;color:#33445c;font-size:.9rem}.r-advisory-actions a{font-weight:600;white-space:nowrap}
.r-advice{margin:0 0 .6rem}
.r-config{display:block;margin-bottom:1rem}
.r-card{grid-template-columns:40px 1fr auto;column-gap:.7rem;row-gap:.2rem;padding:.7rem .9rem;align-items:start}
.r-card-icon{width:40px;height:40px}.r-card-icon .c-icon{width:24px;height:24px}
.r-card-body{gap:.1rem}.r-card .r-card-title{font-size:.8rem}.r-card-value{font-size:1.02rem;line-height:1.3}.r-card-note{font-size:.82rem;line-height:1.35}
.r-card .r-edit{grid-column:3;grid-row:1}.r-card .r-edit[open]{grid-column:1/-1;grid-row:auto}
.r-why{display:flex;flex-wrap:wrap;align-items:flex-start;gap:.4rem 1.5rem;border:0;border-radius:0;padding:.55rem .2rem 0;background:none}
.r-why-list{flex:1 1 520px;margin:0;padding-left:1.1rem;font-size:.82rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.1rem 2rem}
.r-why-more{flex:0 0 auto;font-size:.88rem}.r-why-more[open]{flex-basis:100%}
.r-why-more>summary{display:inline-flex;align-items:center;gap:.35rem;cursor:pointer;color:var(--blue);min-height:32px}
.r-why-more>summary .c-icon{width:20px;height:20px;flex:0 0 20px}.r-why-more>summary .r-card-title{color:var(--blue);font-size:.88rem}
.r-why-more p{margin:.3rem 0}
.r-compare-head{margin-bottom:.35rem;align-items:center}.r-part2 h2{font-size:clamp(1.2rem,2vw,1.4rem)}.r-compare-head p{font-size:.86rem;margin:.1rem 0 0}
.r-sort{font-size:.82rem;white-space:nowrap}.r-sort-value{padding:.3rem 2rem .3rem .6rem}
.r-section-h{font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;color:var(--navy);font-weight:800;margin:1rem 0 .1rem}
.r-section:first-of-type .r-section-h{margin-top:.5rem}.r-section-sub{margin:0 0 .4rem;font-size:.85rem;color:var(--muted)}
.r-section-h+.r-list{margin-top:.35rem}
.r-row{padding:.8rem 1.1rem}.r-options-wrap{margin-top:-.7rem}
.r-vendor-cell{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;min-width:0}
.r-groups{display:inline-flex;gap:.25rem;padding-left:.3rem}
.r-group{font-size:.72rem;font-weight:700;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:0 .5rem;line-height:1.55}
.r-start-note{font-size:.78rem;font-weight:700;color:var(--total-ink)}
.r-row-note{grid-column:1/-1;margin:-.5rem 0 0;text-align:right}
@media (max-width:900px){.r-row-note{grid-area:auto;text-align:left;margin:0}.r-row:has(.r-row-note){grid-template-areas:"rank vendor total" "option option option" "base base base" "feats feats feats" "actions actions actions" "note note note" "opts opts opts"}.r-row-note{grid-area:note}}
@media (max-width:900px){.r-vendor-cell{grid-area:vendor}.r-card .r-card-note{display:block}.r-why-list{grid-template-columns:1fr}.r-head{align-items:flex-start}}
/* Compact Results, second pass (owner decision 2026-10-22): Why in the header row, notes across the full width, one-line
   section headings, a slimmer stepper and cards. */
.r-page{padding-top:.5rem}.r-page>.c-stepper{margin-bottom:.5rem}.r-page>.c-stepper li{gap:.2rem}@media (min-width:521px){.r-page>.c-stepper li{font-size:.76rem}}
.r-head-actions{display:flex;align-items:center;gap:.8rem;flex:0 0 auto;position:relative}
.r-head-actions .r-why-more[open]{position:absolute;right:0;top:100%;z-index:5;width:min(420px,90vw);background:#fff;border:1px solid var(--line);border-radius:12px;padding:.6rem .8rem;box-shadow:0 8px 24px rgba(10,31,68,.12)}
.r-why-panel p{margin:.3rem 0}.r-why-panel a{font-weight:700}
.r-card{padding:.55rem .85rem}.r-card-note{font-size:.8rem}
.r-why{padding-top:.45rem}.r-why-list{flex:1 1 100%;font-size:.79rem;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr))}
.r-config{margin-bottom:.75rem}
.r-section-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:.1rem .7rem;margin:.8rem 0 .3rem}
.r-section-head .r-section-h{margin:0}.r-section-head .r-section-sub{margin:0}.r-section:first-of-type .r-section-head{margin-top:.35rem}
.r-row{padding:.7rem 1.1rem}
@media (max-width:900px){.r-head-actions{width:100%;justify-content:space-between}.r-head-actions .r-why-more[open]{position:static;width:100%;box-shadow:none;order:2;flex-basis:100%}.r-head-actions{flex-wrap:wrap}}
.r-page>.c-stepper .c-step-dot{width:24px;height:24px;font-size:.75rem}.r-page>.c-stepper li:not(:first-child)::before{top:12px;right:calc(50% + 15px);left:calc(-50% + 15px)}@media (min-width:521px){.r-page>.c-stepper li{font-size:.74rem}}
.r-head{margin-bottom:.1rem}.r-draft{margin:0 0 .5rem}
@media (min-width:901px){.r-card .r-edit>summary.button-secondary{min-width:0;padding:.25rem .7rem;min-height:34px;font-size:.88rem}}
/* Results & View Options (owner specification 2026-10-22): top strip, compact rows, section panels, options dialog. */
.r-strip{position:relative;display:grid;grid-template-columns:1.05fr 1.2fr 1fr;border:1px solid var(--line);border-radius:14px;background:var(--pale2);margin:.2rem 0 .5rem}
.r-strip>*{padding:.6rem .9rem;border-right:1px solid var(--line);min-width:0;position:relative}.r-strip>:last-child{border-right:0}
.r-strip .r-rx{display:block;margin:0;border:0;border-right:1px solid var(--line);border-radius:0;background:none;font-size:.88rem}
.r-strip .r-rx-title,.r-strip-title{display:block;margin:0 0 .15rem;font-size:.78rem;font-weight:700;color:var(--muted)}
.r-strip .r-rx-item{display:block;color:var(--navy);font-weight:600}.r-strip .r-rx-item strong{display:inline-block;min-width:2.6em;color:var(--muted)}
.r-strip .r-rx-note{display:block;font-size:.76rem;margin-top:.1rem}
.r-strip .r-rx-edit,.r-strip-edit{position:absolute;top:.5rem;right:.8rem;display:inline-flex;align-items:center;gap:.25rem;font-size:.86rem;font-weight:700;color:var(--blue);text-decoration:none;cursor:pointer;min-height:32px}
.r-strip-edit .c-icon{width:16px;height:16px}.r-lens-edit>summary{list-style:none}.r-lens-edit>summary::-webkit-details-marker{display:none}
.r-strip-value{margin:0;font-weight:800;color:var(--navy);font-size:1rem;padding-right:3.5rem}.r-strip-line{margin:0;font-size:.86rem;color:#33445c}
.r-strip-ok{margin:.15rem 0 0;font-size:.76rem;color:var(--muted)}.r-strip-warn{margin:.15rem 0 0;font-size:.8rem;font-weight:700;color:#8a5a00}
.r-strip-q{display:flex;gap:.6rem;align-items:center;margin:0;font-size:.86rem;padding-right:3.5rem}.r-strip-q strong{color:var(--navy)}
.r-lens-edit[open]>.r-lens-panel{position:absolute;left:-1px;top:calc(100% + 6px);z-index:7;width:min(760px,90vw);display:grid;grid-template-columns:repeat(3,1fr);gap:.7rem;background:#fff;box-shadow:0 10px 28px rgba(10,31,68,.14);max-height:70vh;overflow:auto}
.r-lens-edit[open]>summary{color:var(--navy)}
.r-edit-group{display:block;border:0;padding:0}.r-edit-group .r-card-value{font-size:.95rem}.r-edit-form{display:flex;flex-direction:column;gap:.45rem;margin-top:.4rem}
.r-edit-form fieldset{border:0;padding:0;margin:0;display:flex;flex-direction:column;gap:.35rem}.r-edit-form .c-choice-row{padding:.4rem .55rem;font-size:.88rem}
.r-section{border:1px solid var(--line);border-radius:14px;overflow:hidden;margin-top:.7rem;background:#fff}.r-section .r-list{border:0;border-radius:0;margin:0}
.r-section .r-section-head{margin:0;padding:.5rem 1rem;background:var(--pale2);border-bottom:1px solid var(--line)}.r-section-preferred .r-section-head{background:#eaf1ff}
.r-section-head .r-section-h{text-transform:none;letter-spacing:0;font-size:1.02rem}.r-section:first-of-type{margin-top:.35rem}
.r-row{grid-template-columns:40px 1.15fr 2fr 1.05fr 1.3fr;padding:.6rem 1rem;row-gap:.2rem}
.r-option strong{color:var(--navy)}.r-option-class{font-size:.84rem;color:#33445c}.r-components{font-size:.8rem;color:var(--muted)}
.r-total{padding:.4rem .6rem}.r-total strong{font-size:1.35rem}
.r-row>.r-options{grid-column:5;justify-self:center;margin-top:-.15rem}.r-row>.r-options[open]{grid-column:1/-1;justify-self:stretch}
.r-row>.r-options>summary{list-style:none;cursor:pointer;color:var(--blue);font-weight:700;text-decoration:underline;font-size:.9rem;padding:.15rem .3rem;min-height:32px;display:inline-flex;align-items:center}
.r-row>.r-options>summary::after{display:none}
.r-options-panel{border:1px solid var(--line);border-radius:12px;padding:.8rem;margin-top:.4rem;background:#fff}
.r-options-panel [data-close]{display:none}
.r-modal-head{display:flex;justify-content:space-between;align-items:center;gap:1rem}.r-modal-title{margin:0;font-size:1.25rem;color:var(--navy)}
.r-modal-intro{margin:.3rem 0 .7rem;color:#33445c;font-size:.92rem}
.r-opt-list{list-style:none;margin:0;padding:0;border:1px solid var(--line);border-radius:12px;overflow:hidden}
.r-opt{display:grid;grid-template-columns:1.6fr 1fr auto;gap:.4rem 1rem;align-items:center;padding:.8rem 1rem;border-bottom:1px solid var(--line)}.r-opt:last-child{border-bottom:0}
.r-opt-primary{background:#f0f5ff}.r-opt-badge{grid-column:1/-1;justify-self:start;background:var(--blue);color:#fff;border-radius:999px;padding:.1rem .6rem;font-size:.75rem;font-weight:700}
.r-opt-title{margin:0;font-weight:800;color:var(--navy)}.r-opt-class{margin:0;font-size:.86rem;color:#33445c}
.r-opt-attrs{margin:.3rem 0 0;padding-left:1.1rem;font-size:.84rem;color:#33445c}
.r-opt-price{display:flex;flex-direction:column;gap:.1rem;font-size:.85rem}.r-opt-price strong{font-size:1.25rem;color:var(--total-ink)}
.r-modal-notes{margin-top:.8rem;background:var(--pale2);border-radius:12px;padding:.7rem .9rem;font-size:.84rem}.r-modal-notes ul{margin:.3rem 0 0;padding-left:1.1rem}
.r-modal-foot{display:flex;justify-content:flex-end;margin-top:.8rem}
dialog.r-modal{width:min(880px,94vw);max-height:90vh;border:0;border-radius:16px;padding:0;box-shadow:0 20px 60px rgba(10,31,68,.3)}
dialog.r-modal::backdrop{background:rgba(10,31,68,.45)}
dialog.r-modal .r-options-panel{border:0;margin:0;padding:1.2rem 1.3rem}
dialog.r-modal [data-close]{display:inline-flex}
.r-modal-x{border:0;background:none;font-size:1.8rem;line-height:1;color:var(--navy);cursor:pointer;min-width:44px;min-height:44px;align-items:center;justify-content:center;border-radius:8px}
.r-modal-x:hover{background:var(--pale)}
@media (max-width:900px){
  .r-strip{grid-template-columns:1fr}.r-strip>*,.r-strip .r-rx{border-right:0;border-bottom:1px solid var(--line)}.r-strip>:last-child{border-bottom:0}
  .r-lens-edit[open]>.r-lens-panel{position:static;width:auto;grid-template-columns:1fr;box-shadow:none;max-height:none;margin-top:.5rem}
  .r-row{grid-template-columns:40px 1fr auto;grid-template-areas:"rank vendor total" "option option option" "actions actions actions" "opts opts opts"}
  .r-row>.r-options{grid-area:opts;justify-self:center;margin:0}.r-row>.r-options[open]{justify-self:stretch}
  .r-row-unavailable{grid-template-areas:"rank vendor vendor" "total total total" "option option option" "actions actions actions"}
  .r-row-starting{grid-template-areas:"rank vendor vendor" "total total total" "option option option" "actions actions actions" "opts opts opts"}
  .r-vendor-cell{min-width:0}.r-vendor-name{overflow-wrap:anywhere}
  .r-opt{grid-template-columns:1fr;align-items:start}.r-opt-cta .button{width:100%}
  dialog.r-modal{width:100vw;max-width:100vw;max-height:100dvh;height:100dvh;border-radius:0;margin:0}
  dialog.r-modal .r-options-panel{padding:1rem}}
/* Premium Branded Lenses (owner specification 2026-10-22): product cards; the checked coating shows its prices (CSS only). */
.r-premium{margin-top:1.2rem;border:1px solid var(--line);border-radius:14px;background:#fff;padding:.9rem 1rem}
.r-premium-head{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap}.r-premium-head h2{margin:0;font-size:clamp(1.15rem,2vw,1.35rem)}
.r-premium-badge{background:#efe8ff;color:#4b2a9a;border-radius:999px;padding:.15rem .6rem;font-size:.78rem;font-weight:800}
.r-premium-intro{margin:.3rem 0 .6rem;font-size:.88rem;color:#33445c}.r-premium-note{font-size:.8rem;margin:.6rem 0 0}
.p-group{border:1px solid var(--line);border-radius:12px;margin-top:.6rem;overflow:hidden}
.p-group-head{padding:.55rem .9rem;background:var(--pale2);border-bottom:1px solid var(--line)}.p-group-head h3{margin:0;font-size:1.02rem;color:var(--navy)}.p-group-head p{margin:0;font-size:.82rem}
.p-coats{border:0;margin:0;padding:.5rem .9rem;display:flex;flex-wrap:wrap;gap:.4rem;align-items:center}.p-coats legend{float:left;font-size:.8rem;font-weight:700;color:var(--muted);margin-right:.5rem;padding:0}
.p-coat-input{position:absolute;opacity:0;width:1px;height:1px}
.p-coats label{border:1.5px solid var(--line);border-radius:999px;padding:.3rem .75rem;font-size:.85rem;cursor:pointer;min-height:36px;display:inline-flex;align-items:center;gap:.3rem;background:#fff}
.p-coat-input:checked+label{border-color:var(--blue);background:var(--pale);color:var(--navy);font-weight:700}.p-coat-input:focus-visible+label{outline:3px solid var(--focus-ring);outline-offset:2px}
.p-block{display:none}
.p-group:has(.p-coat-input:nth-of-type(1):checked) .p-block:nth-of-type(1){display:block}
.p-group:has(.p-coat-input:nth-of-type(2):checked) .p-block:nth-of-type(2){display:block}
.p-group:has(.p-coat-input:nth-of-type(3):checked) .p-block:nth-of-type(3){display:block}
.p-group:has(.p-coat-input:nth-of-type(4):checked) .p-block:nth-of-type(4){display:block}
.p-group:has(.p-coat-input:nth-of-type(5):checked) .p-block:nth-of-type(5){display:block}
.p-group:has(.p-coat-input:nth-of-type(6):checked) .p-block:nth-of-type(6){display:block}
.p-group:has(.p-coat-input:nth-of-type(7):checked) .p-block:nth-of-type(7){display:block}
.p-group:has(.p-coat-input:nth-of-type(8):checked) .p-block:nth-of-type(8){display:block}
.p-group:has(.p-coat-input:nth-of-type(9):checked) .p-block:nth-of-type(9){display:block}
.p-group:has(.p-coat-input:nth-of-type(10):checked) .p-block:nth-of-type(10){display:block}
.p-group:has(.p-coat-input:nth-of-type(11):checked) .p-block:nth-of-type(11){display:block}
.p-group:has(.p-coat-input:nth-of-type(12):checked) .p-block:nth-of-type(12){display:block}
.p-offers{list-style:none;margin:0;padding:0}
.p-offer{display:grid;grid-template-columns:1.6fr 1fr 1.1fr;gap:.4rem 1rem;align-items:center;padding:.6rem .9rem;border-top:1px solid var(--line)}
.p-offer-main{display:flex;flex-direction:column;gap:.1rem}.p-offer-product{font-size:.86rem;color:#33445c}.p-offer-none{opacity:.75}
.r-premium-more>summary{cursor:pointer;color:var(--blue);font-weight:700;text-decoration:underline;margin-top:.6rem;min-height:36px;display:inline-flex;align-items:center}
.p-offer>*{grid-area:auto;min-width:0}
@media (max-width:900px){.p-offer{grid-template-columns:1fr;grid-template-areas:none}.p-offer>.p-price{text-align:left;align-items:flex-start}.p-cta .button,.p-cta .r-link-unavailable{width:100%}}
/* Educational page and homepage CTAs (owner decisions 2026-10-23). */
.c-photo-hero-learn .c-lede{max-width:560px}.c-photo-hero-learn .c-hero-actions{margin-top:1.2rem}
#learn{scroll-margin-top:5rem}.c-reminder .c-hero-actions{flex:0 0 auto}
/* Results retailer cards (owner decision 2026-10-23: the 2026-10-22 mockup supersedes Image 2). */
.r-subtitle{margin:.15rem 0 0;color:#33445c;font-size:.95rem}
.r-page h1{font-size:clamp(1.5rem,2.8vw,2rem)}
.r-strip .r-rx-edit .c-icon{width:16px;height:16px}.r-strip .r-rx-edit{gap:.25rem}
.r-section{margin-top:.9rem}.r-section .r-section-head{padding:.7rem 1.1rem .6rem;display:block}
.r-section-head .r-section-h{font-size:clamp(1.15rem,2vw,1.4rem);font-weight:800;color:var(--navy)}
.r-section-head .r-section-sub{display:block;margin-top:.1rem;font-size:.9rem;color:#33445c}
.r-card-row{grid-template-columns:minmax(150px,1.2fr) minmax(0,2fr) minmax(150px,1.05fr) minmax(190px,1.15fr);gap:.4rem 1.2rem;padding:.85rem 1.1rem;align-items:center}
.r-card-row .r-vendor-cell{flex-direction:row;align-items:center;gap:.6rem;flex-wrap:wrap}
.r-card-row .r-vendor-name{font-size:1.15rem;letter-spacing:0}
.r-card-row .r-option{border-left:1px solid var(--line);padding-left:1rem;gap:.1rem}
.r-card-row .r-option strong{font-size:.98rem}.r-option-feats{font-size:.9rem;color:#33445c}.r-card-row .r-option-class{font-size:.8rem;color:var(--muted)}
.r-price{display:flex;flex-direction:column;gap:.05rem;border-left:1px solid var(--line);padding-left:1rem}
.r-price .r-label{font-size:.8rem;font-weight:600;color:#33445c}.r-price strong{font-size:1.5rem;font-weight:800;color:var(--navy);line-height:1.2}
.r-price-note{font-size:.82rem;color:#33445c}.r-price-unavailable .r-label{font-weight:700;color:var(--navy);font-size:.9rem}
.r-card-row .r-actions{align-items:center;gap:.25rem}.r-card-row .r-check{width:100%;font-size:.95rem}.r-check .c-icon{width:16px;height:16px}
.r-card-row>.r-actions .r-options>summary,.r-actions .r-options>summary{list-style:none;cursor:pointer;color:var(--blue);font-weight:600;text-decoration:underline;font-size:.9rem;min-height:32px;display:inline-flex;align-items:center}
.r-actions .r-options>summary::-webkit-details-marker{display:none}.r-actions .r-options>summary::after{display:none}
.r-actions .r-options[open]{position:static}.r-actions .r-options[open]>.r-options-panel{position:absolute;left:1rem;right:1rem;z-index:6;box-shadow:0 10px 28px rgba(10,31,68,.14)}
.r-card-row{position:relative}
.r-group{background:#e8f5ec;color:#1e6b3a;border-color:#cfe9d7;border-radius:6px;padding:.1rem .45rem;font-weight:800}
@media (max-width:900px){
  .r-card-row{grid-template-columns:1fr;grid-template-areas:none;padding:.9rem 1rem}
  .r-card-row>*{grid-area:auto}.r-card-row .r-option,.r-price{border-left:0;padding-left:0}
  .r-card-row .r-actions{align-items:stretch}.r-card-row .r-actions .r-options>summary{justify-content:center;width:100%}
  .r-actions .r-options[open]>.r-options-panel{position:static;box-shadow:none}
}
/* Uploads off (production until approved): the manual-entry card alone, full width. */
.rx-choice .rx-choice-grid.rx-choice-manual-only{grid-template-columns:1fr}
/* How You're Buying (D7, locked mockup docs/decisions/assets/D7_how_youre_buying_mockup.png): a white panel with "Step 4 of 6",
   three illustrated single-choice cards side by side (radio top left; selected: blue border and pale blue), Back and Continue. */
.c-question.c-buying{max-width:1200px}
.c-buying-panel{background:#fff;border:1px solid var(--line);border-radius:16px;padding:2.2rem 2.8rem 2rem;box-shadow:0 1px 3px rgba(16,42,84,.05)}
.c-step-count{display:block;color:var(--muted);font-size:1.05rem;font-weight:500;margin:0 0 .9rem}
.c-buying .c-hint{font-size:1.15rem;margin:.5rem 0 1.6rem}
.c-buying-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.1rem}
.c-buying-card{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;border:1.5px solid var(--line);border-radius:12px;padding:3rem 1.6rem 1.7rem;background:#fff;cursor:pointer}
.c-buying-card input{position:absolute;top:1.1rem;left:1.1rem;width:26px;height:26px;margin:0;accent-color:var(--blue)}
.c-buying-card:has(input:checked){border-color:var(--blue);background:var(--pale);box-shadow:0 0 0 1px var(--blue)}
.c-buying-card:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}
.c-buying-art{display:flex;align-items:center;justify-content:center;width:100%;height:150px}
.c-buying-art img{max-width:100%;max-height:150px;width:auto;height:auto;mix-blend-mode:multiply}
.c-buying-title{display:flex;align-items:center;justify-content:center;min-height:4.2rem;margin:.9rem 0 1.1rem;font-weight:800;font-size:1.55rem;line-height:1.2;color:var(--navy)}
.c-buying-desc{width:100%;margin:0;padding:1.2rem 0 0 1.5rem;border-top:1px solid var(--line);text-align:left;list-style:disc;font-size:1.1rem;font-weight:400;line-height:1.45;color:#33445c}
.c-buying .c-nav-buttons{border-top:1px solid var(--line);padding-top:1.6rem;margin-top:2rem}
.c-buying .c-nav-buttons .button{min-width:190px;font-size:1.1rem;padding:.8rem 1.4rem}
@media (max-width:760px){.c-buying-panel{padding:1.2rem 1rem 1.1rem;border-radius:12px}.c-buying .c-hint{font-size:1rem;margin-bottom:1rem}
  .c-buying-cards{grid-template-columns:1fr;gap:.75rem}
  .c-buying-card{display:grid;grid-template-columns:96px 1fr;grid-template-areas:"art title" "art desc";align-items:center;text-align:left;gap:.2rem .9rem;padding:.9rem .9rem .9rem 2.9rem}
  .c-buying-card input{top:50%;left:.85rem;width:22px;height:22px;transform:translateY(-50%)}
  .c-buying-art{grid-area:art;height:72px}.c-buying-art img{max-height:72px}
  .c-buying-title{grid-area:title;justify-content:flex-start;min-height:0;margin:0;font-size:1.15rem}
  .c-buying-desc{grid-area:desc;border-top:0;padding:0 0 0 1.1rem;font-size:.95rem}
  .c-buying .c-nav-buttons{margin-top:1.2rem;padding-top:1rem}.c-buying .c-nav-buttons .button{min-width:0;flex:1;font-size:1rem;padding:.7rem .8rem}}
/* Results (D7): the purchase type in the top strip; retailers outside it last; complete pairs show lens prices only. */
.r-strip.r-strip-4{grid-template-columns:1.05fr 1.2fr 1fr 1fr}
.r-lens-only{display:block;font-size:.78rem;font-weight:700;color:#33445c;margin-top:.1rem}
/* Group B retailers (2026-11-07): always-visible frame-purchase label and price disclosure (no tooltip or expansion). */
.r-frame-required{display:inline-block;margin-top:.25rem;padding:.1rem .45rem;border:1px solid #9a5b00;border-radius:999px;background:#fff6e5;color:#6b3f00;font-size:.75rem;font-weight:700;line-height:1.4;white-space:normal}
.r-frame-note{display:block;font-size:.78rem;font-weight:700;color:#6b3f00;margin-top:.15rem;overflow-wrap:anywhere}
/* Retailer price basis (GlassesUSA representative frames, 2026-11-08): plain text under the price. */
.r-basis-note{display:block;font-size:.75rem;color:var(--muted);margin-top:.2rem;line-height:1.35;overflow-wrap:anywhere}
.r-section-purchase .r-section-head{background:#f6f7f9}.r-row-purchase .r-option strong,.r-row-purchase .r-label{color:var(--muted)}
@media (max-width:1100px){.r-strip.r-strip-4{grid-template-columns:1fr 1fr}.r-strip-4>:nth-child(-n+2){border-bottom:1px solid var(--line)}.r-strip-4>:nth-child(2n){border-right:0}}
@media (max-width:900px){.r-strip.r-strip-4{grid-template-columns:1fr}}
/* Six-stage bar on a phone (S1 follow-up): numbered dots, the current stage named beneath at a readable size. */
.c-stepper-now{display:none}
@media (max-width:520px){.c-stepper:has(li:nth-child(6)){gap:.2rem;margin-bottom:.45rem}.c-stepper:has(li:nth-child(6)) .c-step-dot{font-size:.8rem}.c-stepper:has(li:nth-child(6)) .c-step-label{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
  .c-stepper:has(li:nth-child(6))+.c-stepper-now{display:block;margin:0 0 1.3rem;text-align:center;color:var(--blue);font-weight:700;font-size:.92rem;line-height:1.3}
  .r-page>.c-stepper:has(li:nth-child(6))+.c-stepper-now{margin-bottom:.6rem}}
/* Results: Save this prescription (S2; signed-in holders only, optional). A plain card below the retailers. */
.r-save{border:1px solid var(--line);border-radius:14px;background:var(--card);padding:1.1rem 1.25rem;margin:1.6rem 0 .5rem;max-width:640px}
.r-save h2{font-size:1.2rem}.r-save h2 .muted{font-family:system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;font-size:.9rem;font-weight:400}
.r-save-form{max-width:420px}.r-save-form input[type=date],.r-save-form input[name=name]{max-width:100%}
.r-save[data-save-state="saved"]{background:var(--pale2,#f3f8fb)}
.rx-history li{line-height:1.45}
@media (max-width:520px){.r-save{padding:.9rem 1rem}}
/* D12: a retailer link shown as text outside production (long URLs wrap). */
code.break{overflow-wrap:anywhere;word-break:break-all}
/* Saved prescription value tables: h2 for the heading order (VS6), styled as the h3 they replaced. */
h2.rx-eye-h,.consumer h2.rx-eye-h{font-size:1.1rem;margin-top:1rem}
/* Contact form (Option A) and the AdminTool's Customer Messages. The honeypot field is off-screen for people and skipped
   by Tab; only bots fill it. Message text keeps its line breaks and wraps long words. */
.c-contact{max-width:760px;margin:0 auto}.c-contact-form{max-width:560px}.c-contact .cms-article{margin:0 0 1.5rem}
.c-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
.c-reference{font-family:ui-monospace,Menlo,monospace;letter-spacing:.04em}
.message-body{white-space:pre-wrap;overflow-wrap:anywhere;background:#fff;border:1px solid var(--line);border-radius:8px;padding:.8rem 1rem;max-width:760px;margin:0 0 1.25rem}
.message-history{padding-left:1.2rem}.message-history li{margin:.6rem 0}.message-history .message-body{margin-top:.35rem}
.message-status select{width:auto;min-width:12rem}
/* Quick Comparison (private staging only) and the optional per-eye ADD. The ADD block hides itself while single vision
   is chosen (the server ignores an ADD for single vision either way). */
.c-quick{max-width:980px;margin:0 auto;padding:1.5rem 0 2.5rem}.c-quick h1{margin:0 0 .3rem}.c-quick-lede{margin:0 0 1rem}
.c-quick-form>fieldset{border:1.5px solid var(--line);border-radius:14px;padding:1rem 1.2rem;margin:0 0 1rem;background:#fff;min-width:0}
.c-quick-form legend{font-weight:800;color:var(--navy);padding:0 .3rem}
.c-quick-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:.75rem}.c-quick-row .c-select{max-width:none}
.c-quick-features{border:0;padding:0;margin:.8rem 0 0;min-width:0}.c-quick-checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:.4rem}
.c-quick-add{margin-top:.8rem;max-width:520px}
.c-quick-form:has(#q-design option[value="single_vision"]:checked) .c-quick-add{display:none}
.c-quick-actions{margin:.5rem 0 0}.c-quick-entry{margin:.25rem auto 2rem;text-align:center}
.rx3-add-split{margin:.6rem 0 0}.rx3-add-split summary{display:block;min-height:24px;padding:.2rem 0;cursor:pointer;font-weight:600;color:var(--blue)}
.rx3-add-split-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr));gap:.6rem;margin-top:.5rem}
/* Footer (locked layout 2026-10-26): brand statement, up to four link groups, legal strip. */
.c-footer{background:#f5f8fd;border-top:1px solid var(--line);padding:1.1rem 0 .7rem;font-size:.92rem}
.c-footer-top{display:grid;grid-template-columns:minmax(0,1.4fr) repeat(auto-fit,minmax(150px,1fr));gap:.6rem 2rem;align-items:start}
.c-footer-brand .brand img{width:155px;height:auto}.c-footer-tagline{font-size:.98rem;color:var(--navy);margin:.25rem 0 0}.c-footer-brand p{margin:.4rem 0;color:#33445c;max-width:22rem}
.c-footer-group h2{font-size:.95rem;color:var(--navy);margin:0 0 .2rem}.c-footer-group ul{list-style:none;margin:0;padding:0}.c-footer-group li{margin:0 0 .15rem}
.c-footer-group a{display:inline-block;padding:2px 0;min-height:24px;line-height:1.25;color:#33445c;text-decoration:none}.c-footer-group a:hover{color:var(--blue);text-decoration:underline}
.c-footer-legal{border-top:1px solid var(--line);margin-top:.7rem;padding-top:.45rem;font-size:.82rem}.c-footer-legal p{margin:.1rem 0}.c-footer-legal a{margin-left:.6rem}
@media (max-width:700px){.c-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}.c-footer-brand{grid-column:1/-1}}
/* Results top actions (locked 2026-10-26): Why These Lenses?, Start Over, Save These Results; a saved notice. */
.r-head-actions .button{min-height:40px}.r-why-close{margin-top:.5rem}.r-saved{margin:0 0 1rem}
/* Save Your Results (locked 2026-10-26). */
.s-page{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:2rem 3rem;padding:2rem 0 2.5rem;align-items:start}
.s-intro h1{font-size:clamp(2rem,4vw,2.8rem);margin:0 0 .5rem}.s-lede{color:#33445c;max-width:36rem}
.s-benefits{list-style:none;margin:1.4rem 0;padding:0;display:flex;flex-direction:column;gap:1.1rem}.s-benefits li{display:flex;gap:1rem;align-items:flex-start}
.s-benefit-icon{flex:0 0 52px;width:52px;height:52px;border-radius:50%;background:var(--pale);display:grid;place-items:center;color:var(--blue)}.s-benefit-icon svg{width:26px;height:26px}
.s-side .s-panel,.s-side .r-save{border:1px solid var(--line);border-radius:14px;background:#fbfcfe;padding:1.4rem 1.5rem;margin:0}
.s-panel h2,.s-side .r-save h2{margin:0 0 .4rem}.s-note{grid-column:1/-1;display:flex;gap:.6rem;align-items:flex-start;color:#33445c;font-size:.92rem;margin:0}.s-note svg{width:22px;height:22px;flex:0 0 22px;color:var(--blue)}
@media (max-width:820px){.s-page{grid-template-columns:1fr}}
/* Quick Comparison sandbox (owner decision 2026-10-26): five sections, then every suitable option at every retailer. */
.q-sandbox{max-width:1240px;margin:0 auto;padding:1.5rem 0 2.5rem}.q-sandbox h1{margin:0 0 .3rem}
.q-inputs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem;margin-bottom:.8rem}
.q-form .q-sec{border:1.5px solid var(--line);border-radius:14px;padding:.8rem 1rem;margin:0;background:#fff;min-width:0}
.q-form .q-sec>legend{font-weight:800;color:var(--navy);padding:0 .3rem}.q-sec .c-choice-row{margin:.2rem 0}.q-sec .c-select{max-width:none;margin-bottom:.5rem}
.q-sub{border:0;padding:0;margin:.3rem 0 0;min-width:0}.q-sub>legend{font-weight:700;font-size:.95rem;padding:0}
.q-rx{margin-bottom:.8rem!important}.q-form:has(input[name="design"][value="single_vision"]:checked) .c-quick-add{display:none}
.q-actions{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.q-status:empty{display:none}
.q-out[data-freshness="updating"] .q-results,.q-out[data-freshness="stale"] .q-results{opacity:.5}
.q-out[data-freshness="stale"]::before{content:"Out of date";display:inline-block;margin:0 0 .5rem;padding:.15rem .5rem;border-radius:6px;background:#8a1c1c;color:#fff;font-weight:700;font-size:.85rem}
.q-results h2{margin:1.2rem 0 .3rem}.q-summary{margin:0 0 .6rem}.q-excluded{margin:.5rem 0}.q-excluded summary{cursor:pointer;font-weight:700}
.q-filters{display:flex;flex-wrap:wrap;gap:.6rem 1rem;align-items:flex-end;margin:.8rem 0}.q-filters .c-select{max-width:15rem;margin:0}.q-count{margin:0;flex-basis:100%;font-weight:700}
.q-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:12px}
.q-table{width:100%;border-collapse:collapse;font-size:.9rem}.q-table th,.q-table td{padding:.55rem .6rem;border-bottom:1px solid var(--line);vertical-align:top;text-align:left}
.q-table thead th{background:#f5f8fd;position:sticky;top:0}.q-table thead th>span{display:block}.q-rname{font-weight:800;color:var(--navy)}
.q-groups{display:flex!important;gap:.2rem;margin:.2rem 0}.q-group{display:inline-block;min-width:1.4rem;text-align:center;border-radius:5px;background:#e3ecf9;color:var(--navy);font-weight:700;font-size:.8rem}
.q-pref{background:#eaf2ff!important}.q-pref-label{font-size:.78rem;color:#1d4e9e;font-weight:700}.q-link{font-size:.78rem;color:#4a5668}
.q-table tbody th{min-width:11rem}.q-table tbody th>*{display:block}.q-table tbody th span{color:#33445c;font-weight:400}
.q-badge{display:inline-block!important;margin:.25rem .25rem 0 0;padding:.05rem .45rem;border-radius:5px;background:#e7f4ea;color:#14532d!important;font-size:.78rem;font-weight:700!important}.q-badge-sel{background:#e3ecf9;color:var(--navy)!important}
.q-match th[scope="row"]{box-shadow:inset 4px 0 0 var(--blue)}
.q-price{display:block;font-size:1.05rem;color:var(--navy)}.q-kind,.q-opt,.q-note{display:block;font-size:.8rem;color:#4a5668}.q-state{display:block;font-weight:700;color:#4a5668}.q-no{font-weight:600}
.q-more{margin-top:.3rem;font-size:.82rem}.q-more summary{cursor:pointer;color:var(--blue)}.q-more ul{margin:.3rem 0 0;padding-left:1rem}
.q-foot{font-size:.85rem;margin:.6rem 0 0}
@media (max-width:1000px){.q-inputs{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.q-inputs{grid-template-columns:1fr}.q-table-wrap{border:0;overflow:visible}.q-table thead{display:none}
  .q-table,.q-table tbody,.q-table tr,.q-table th,.q-table td{display:block;width:auto}.q-table tr{border:1px solid var(--line);border-radius:12px;margin:0 0 .8rem;overflow:hidden}
  .q-table tbody th{background:#f5f8fd;min-width:0}.q-table td{display:grid;grid-template-columns:minmax(0,7.5rem) minmax(0,1fr);gap:0 .6rem}.q-table td::before{content:attr(data-label);font-weight:700;color:var(--navy);grid-row:1/span 9}}
.q-filters [data-reset][hidden]{display:none}.q-retailers{display:none}
@media (max-width:760px){.q-retailers{display:block;margin:.4rem 0 .8rem;padding-left:1.1rem;font-size:.88rem}}
.q-thicker{font-size:.8rem;color:#4a5668;font-weight:400!important}

/* AdminTool: tables that scroll sideways are keyboard-focusable regions (same focus ring as everything else). */
.table-wrap:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
/* Quick Comparison sandbox: lens-type rows and statuses (2026-10-26). */
.q-type-row th{background:#eef3fb;color:var(--navy);font-size:.95rem}.q-type-level{font-weight:400;color:#4a5668;font-size:.85rem;margin-left:.4rem}
.q-type-name{font-size:.78rem;color:#4a5668;text-transform:none}.q-badge-alt{background:#f1f3f6;color:#33445c!important}.q-type-msg{color:#4a5668}
.q-premium h3{margin:1.2rem 0 .4rem}.q-ptable{width:100%;border-collapse:collapse;font-size:.9rem}.q-ptable th,.q-ptable td{padding:.45rem .6rem;border-bottom:1px solid var(--line);text-align:left}
.q-results [data-retailer][hidden]{display:none!important}
@media (max-width:760px){.q-type-row th{display:block}}
.q-notes{margin:.4rem 0}.q-notes summary{cursor:pointer;font-weight:700}.q-notes ul{margin:.3rem 0 0;padding-left:1.1rem}
/* AdminTool › Pricing › Quick Comparison (owner-locked layout 2026-10-26): compact controls, retailers as rows. */
.admin-side nav a.admin-sub{margin-left:1rem;font-size:.92rem}
.qa-crumbs{margin:0 0 .3rem;font-size:.9rem}.qa-tag{display:inline-block;vertical-align:middle;font-size:.75rem;font-weight:600;padding:.1rem .5rem;border-radius:6px;background:#e9f2f4;color:var(--brand-dark)}
.qa-lede{margin:.2rem 0 .8rem}.qa-form{padding:1rem 1.2rem}
.qa-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.6rem 1rem}.qa-field{display:flex;flex-direction:column;gap:.2rem;font-weight:600;font-size:.9rem;margin:0}.qa-field select{width:100%;font-weight:400}
.qa-features{border:0;margin:.7rem 0 0;padding:0;display:flex;flex-wrap:wrap;gap:.3rem 1.2rem;align-items:center}.qa-features legend{font-weight:600;font-size:.9rem;padding:0;margin-bottom:.3rem;width:100%}
.qa-check{display:inline-flex;align-items:center;gap:.4rem;font-weight:400;min-height:32px}
.qa-h2{font-size:1.1rem;margin:1rem 0 .4rem}.qa-rx-wrap{overflow:visible}
.qa-rx{width:100%;border-collapse:collapse;background:#f7f9fb;border:1px solid var(--line);border-radius:10px}.qa-rx th,.qa-rx td{padding:.35rem .45rem;text-align:left;font-size:.9rem}.qa-rx td select{width:100%;min-width:0}
.qa-form:has(select[name="design"] option[value="single_vision"]:checked) .qa-add-col{display:none}
.qa-add-same{margin:.4rem 0 0;font-size:.88rem}
.qa-actions{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;justify-content:space-between;margin-top:.7rem}.qa-status:empty{display:none}
.qa-results{margin-top:1rem}.qa-res-head{display:flex;flex-wrap:wrap;gap:.8rem 1.5rem;align-items:flex-end;justify-content:space-between;margin-bottom:.6rem}
.qa-res-head h2{margin:0;font-size:1.35rem}.qa-res-head p{margin:.2rem 0 0}.qa-count-sub{font-size:.95rem;font-weight:400;color:var(--muted)}
.qa-filters{display:flex;flex-wrap:wrap;gap:.5rem .8rem;align-items:flex-end}.qa-filters .qa-field{min-width:9.5rem}.qa-reset{font-weight:600}
.qa-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:10px;font-size:.9rem}
.qa-table>thead>tr>th,.qa-table>tbody>tr>th,.qa-table>tbody>tr>td{padding:.6rem .6rem;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.qa-table>thead>tr>th{background:#f5f8fd;font-size:.85rem}
.qa-retailer{font-weight:800;color:var(--ink);min-width:8rem}.qa-sub{display:block;font-size:.8rem;color:var(--muted);font-weight:400}
.qa-combo{display:block;margin-top:.15rem}.qa-chip{display:inline-block;margin:0 .3rem .3rem 0;padding:.1rem .5rem;border:1px solid var(--line);border-radius:999px;font-size:.8rem;background:#f7f9fb}
.qa-more{display:inline-block;font-size:.8rem;color:var(--brand-dark)}.qa-price strong{font-size:1.1rem}.qa-ok{color:#14532d;font-weight:700}
.qa-action{min-width:11rem}.qa-all{margin-top:.4rem}.qa-all summary{cursor:pointer;color:var(--brand-dark);font-weight:600}
.qa-opts{width:100%;border-collapse:collapse;font-size:.85rem;margin-top:.4rem}.qa-opts th,.qa-opts td{padding:.3rem .4rem;border-bottom:1px solid var(--line);text-align:left}
.qa-results .q-badge{display:inline-block;padding:.05rem .45rem;border-radius:5px;background:#e7f4ea;color:#14532d;font-size:.75rem;font-weight:700}.qa-results .q-badge-alt{background:#f1f3f6;color:#33445c}
.qa-diag{margin-top:1rem;font-size:.85rem}
.q-out[data-freshness="updating"] .qa-results,.q-out[data-freshness="stale"] .qa-results{opacity:.5}
@media (max-width:900px){.qa-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
  .qa-row{grid-template-columns:1fr}
  .qa-rx thead{display:none}.qa-rx,.qa-rx tbody,.qa-rx tr,.qa-rx th,.qa-rx td{display:block}.qa-rx tr{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem;padding:.4rem;border-bottom:1px solid var(--line)}.qa-rx th[scope=row]{grid-column:1/-1}
  .qa-table>thead{display:none}.qa-table,.qa-table>tbody,.qa-table>tbody>tr,.qa-table>tbody>tr>th,.qa-table>tbody>tr>td{display:block}.qa-table>tbody>tr{border-bottom:2px solid var(--line);padding:.4rem 0}.qa-table>tbody>tr>td,.qa-table>tbody>tr>th{border:0;padding:.3rem .6rem}
  .qa-table>tbody>tr>td.qa-price,.qa-table>tbody>tr>td.qa-avail{display:inline-block}.qa-action{min-width:0}
  .qa-opts thead{display:none}.qa-opts,.qa-opts tbody,.qa-opts tr,.qa-opts td{display:block}.qa-opts tr{padding:.3rem 0;border-bottom:1px solid var(--line)}.qa-opts td{border:0;padding:.05rem 0}}
.qa-table>tbody>tr.qa-detail-row>td{padding:0 .6rem .5rem;border-bottom:1px solid var(--line)}.qa-table>tbody>tr:has(+tr.qa-detail-row)>*{border-bottom:0}.qa-all{margin-top:0}
.qa-other-type{color:#8a4b00!important}
/* 2026-10-30: manual entry inside the Add Your Prescription card on phones: the grid keeps the full-page width it had. */
@media (max-width:720px){.rx-choice .rx3-inline{padding:1rem .35rem}.rx-choice .rx3-inline>h2,.rx-choice .rx3-inline>p{padding:0 .6rem}.rx-choice .rx3-inline .rx3-grid{padding:.4rem .2rem;gap:.45rem .2rem}}
/* Upload review (2026-11-01): instruction, blank-and-marked values, confirmation box, phone image link. */
.rx2-instruction{margin:.6rem 0 1rem}.rx2-instruction p{margin:0;font-size:1.05rem}
.rx3-cell.rx2-scan-uncertain select,.rx3-cell.rx2-scan-uncertain input,.rx2-scan-uncertain select,.rx2-scan-uncertain input{border:2px solid #d08a00;background:#fffaf0}
.rx3-cell.rx2-scan-disputed select,.rx3-cell.rx2-scan-disputed input,.rx2-scan-disputed select,.rx2-scan-disputed input{border:2px solid #c0392b;background:#fff5f4}
.rx2-scan-disputed .rx2-chip{color:#8e1f14;background:#fde3df}
.rx2-verify{display:flex;gap:.6rem;align-items:flex-start;margin:1.1rem 0 .3rem;padding:.8rem .9rem;border:1.5px solid var(--line);border-radius:12px;background:#f7faff;font-weight:600}
.rx2-verify input{width:1.25rem;height:1.25rem;margin-top:.15rem;flex:none}
.rx2-verify-hint{margin:.2rem 0 .6rem;font-size:.9rem}
.button-cta[disabled]{opacity:.5;cursor:not-allowed}
.rx2-image-jump{display:none}
@media (max-width:820px){.rx2-image-jump{display:block;margin:0 0 .8rem;font-size:.95rem}}
/* Results changes (2026-11-02): brand line in bold, then the lens description, then coatings and add-ons; the affiliate
   disclosure below every recommendation group in small, unobtrusive text (no banner). */
.r-option .r-option-brand{display:block;font-weight:700;color:var(--navy)}
.r-option .r-option-desc{display:block;font-size:.92rem;color:#33445c}
.r-option .r-option-feats{display:block}
.r-affiliate-note{margin:1rem 0 .5rem;font-size:.78rem;line-height:1.45;color:var(--muted);background:none;border:0;padding:0}
/* Results summary, Modern Panels (2026-11-02): four compact panels — prescription, recommended lenses, Lens Features,
   quality preference — one row on desktop, two columns on tablets, stacked on phones. */
.r-strip.r-strip-4{grid-template-columns:1fr 1.15fr 1fr 1fr}
.r-strip-4 .r-strip-cell,.r-strip-4 .r-rx{padding:.65rem .85rem}
.r-strip-4 .r-strip-title{margin:0 0 .2rem}
.r-strip-list{margin:.1rem 0 0;padding-left:1.05rem;font-size:.86rem;color:#33445c;line-height:1.35}
.r-strip-list li{margin:.08rem 0}
.r-strip-features .r-strip-line{margin:.1rem 0 0}
@media (max-width:1100px){.r-strip.r-strip-4{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.r-strip.r-strip-4{grid-template-columns:1fr}.r-strip-4>*{border-right:0}}
.r-change-buying{align-self:center;font-size:.86rem;white-space:nowrap}
/* Results summary, Modern Panels (owner correction 2026-11-02, ui-50): four distinct, readable panels — each its own
   card with a gap between them — not one shared strip. Desktop: one row of four; tablets: two by two; phones: stacked.
   Replaces the strip's shared background and dividers and the two earlier breakpoint sets for .r-strip-4. */
.r-strip.r-strip-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;border:0;border-radius:0;background:none;margin:.35rem 0 .6rem}
.r-strip.r-strip-4>*,.r-strip.r-strip-4>.r-rx,.r-strip.r-strip-4>:nth-child(n){border:1px solid var(--line);border-radius:12px;background:#fff;
  box-shadow:0 1px 2px rgba(10,31,68,.06);padding:.8rem 1rem .85rem;font-size:.9rem}
.r-strip.r-strip-4 .r-strip-title,.r-strip.r-strip-4 .r-rx-title{margin:0 0 .35rem;font-size:.84rem;font-weight:700;color:var(--navy);padding-right:3.5rem}
.r-strip.r-strip-4 .r-strip-edit,.r-strip.r-strip-4 .r-rx-edit{top:.6rem;right:.75rem}
.r-strip.r-strip-4 .r-strip-value{font-size:1.05rem;padding-right:0}
.r-strip.r-strip-4 .r-strip-line,.r-strip.r-strip-4 .r-strip-list,.r-strip.r-strip-4 .r-strip-q{font-size:.9rem;line-height:1.4}
.r-strip.r-strip-4 .r-strip-q{padding-right:0}
@media (max-width:1100px){.r-strip.r-strip-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:640px){.r-strip.r-strip-4{grid-template-columns:1fr;gap:.6rem}}
/* AdminTool › Vendor Research (Batch 7, scoped to .vr-page only — shared AdminTool styles unchanged): sections use the
   full main width for wide tables (forms keep the standard narrow width); disabled buttons look disabled. */
.vr-page .card.stack{max-width:none}
.vr-page form.stack{max-width:460px}
.vr-page .table-wrap table{min-width:100%}
.vr-page .button[disabled],.vr-page .button[disabled]:hover{opacity:.45;cursor:not-allowed;filter:grayscale(1);box-shadow:none}
/* Lens Library (/lens-library/, approved mockup): blue hero with search, topic cards, article rows */
.c-lib{padding-bottom:2.5rem}.consumer #main:has(>.c-lib>.c-lib-hero:first-child){padding-top:0}
.c-lib-hero{background:linear-gradient(100deg,#dceafb 0%,#e9f2fc 45%,#f4f8fd 100%);overflow:hidden}
.c-lib-hero-row{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:2rem;align-items:center;min-height:270px}
.c-lib-hero-text{padding:2.2rem 0 2.4rem}
.c-lib-eyebrow{margin:0 0 .6rem;text-transform:uppercase;letter-spacing:.14em;font-size:.8rem;font-weight:700;color:var(--navy)}
.c-lib-hero h1{margin:0 0 .8rem;font-size:clamp(2.1rem,4.6vw,3.3rem);line-height:1.08;color:var(--navy)}
.c-lib-intro{margin:0 0 1.3rem;color:#24364f;font-size:1.06rem;max-width:36rem}
.c-lib-search{position:relative;display:flex;align-items:center;max-width:40rem;background:#fff;border:1.5px solid #c9d7ea;border-radius:12px;box-shadow:0 4px 14px rgba(10,31,68,.06)}
.c-lib-search:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}
.c-lib-search-icon{display:flex;padding-left:.85rem;color:var(--navy)}.c-lib-search-icon .c-icon{width:22px;height:22px}
.c-lib-search input{flex:1;min-width:0;min-height:48px;padding:.6rem .7rem;border:0;background:transparent;font:inherit;font-size:1rem;color:var(--ink)}
.c-lib-search input:focus{outline:none}
.c-lib-search-button{margin:.3rem;min-height:40px;padding:.4rem 1rem;border-radius:9px}
.c-lib-hero-photo{align-self:stretch;position:relative;margin-right:calc((min(100vw - 32px,1180px) - 100vw)/2);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 30%);mask-image:linear-gradient(90deg,transparent 0,#000 30%)}
.c-lib-hero-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 55%}
.c-lib-block{padding-top:2.2rem}
.c-lib-block h2{margin:0 0 .3rem;font-size:clamp(1.55rem,2.6vw,2rem);color:var(--navy)}
.c-lib-lead{margin:0 0 1.3rem;color:#33445c}
.c-lib-topics{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.c-lib-topic{display:flex;gap:1rem;height:100%;box-sizing:border-box;padding:1.1rem 1.1rem 1rem;border:1px solid var(--line);border-radius:14px;background:#fff;text-decoration:none;color:var(--ink);box-shadow:0 2px 8px rgba(10,31,68,.04)}
.c-lib-topic:hover{border-color:#a9c2f2;box-shadow:0 6px 18px rgba(10,31,68,.08)}.c-lib-topic:focus-visible,.c-lib-row:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.c-lib-icon{flex:none;display:flex;align-items:center;justify-content:center;width:56px;height:56px;border-radius:12px;background:#eaf2fd;color:#1463e8}
.c-lib-icon .c-icon{width:32px;height:32px}
.c-lib-topic-body{display:flex;flex-direction:column;gap:.35rem;flex:1;min-width:0}
.c-lib-topic-title{font-weight:750;color:var(--navy);font-size:1.06rem;line-height:1.25}
.c-lib-topic-text{color:#4a5a70;font-size:.92rem;flex:1}
.c-lib-topic-foot{display:flex;align-items:center;justify-content:space-between;margin-top:.5rem}
.c-lib-chip{display:inline-block;padding:.2rem .6rem;border-radius:999px;background:#eaf2fd;color:#173a6b;font-size:.82rem;font-weight:600;white-space:nowrap}
.c-lib-arrow{color:var(--navy);font-size:1.25rem;font-weight:700;line-height:1}
.c-lib-all{margin-top:.6rem}.c-lib-all-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;border-top:1px solid var(--line);padding-top:1.6rem;margin-bottom:.4rem}
.c-lib-total{color:var(--muted);font-weight:500}.c-lib-sort{margin:0;color:var(--muted);font-size:.92rem}
.c-lib-section{scroll-margin-top:1rem;margin-top:1.1rem}.c-lib-section h3{margin:0 0 .2rem;font-size:1.15rem;color:var(--navy)}
.c-lib-rows{list-style:none;margin:0;padding:0}.c-lib-rows li{border-bottom:1px solid var(--line)}
.c-lib-row{display:grid;grid-template-columns:56px minmax(0,1fr) 1.4rem;gap:1rem;align-items:center;padding:.85rem .2rem;text-decoration:none;color:var(--ink)}
.c-lib-row-labelled{grid-template-columns:56px minmax(0,1fr) auto 1.4rem}
.c-lib-row:hover .c-lib-row-title{text-decoration:underline}
.c-lib-icon-row{width:56px;height:48px}.c-lib-icon-row .c-icon{width:26px;height:26px}
.c-lib-row-body{display:flex;flex-direction:column;gap:.2rem;min-width:0}
.c-lib-row-title{font-weight:700;color:#1146b8;font-size:1.05rem;line-height:1.3}
.c-lib-row-text{color:#33445c;font-size:.93rem;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.c-lib-empty{color:#33445c}.c-lib-back{color:var(--blue);font-weight:700}
.c-lib-about{color:var(--muted);font-size:.93rem;margin-top:2rem}.c-lib-about a{color:var(--blue)}
@media (max-width:900px){.c-lib-hero-row{grid-template-columns:minmax(0,1fr);min-height:0}.c-lib-hero-photo{display:none}
  .c-lib-topics{grid-template-columns:repeat(2,minmax(0,1fr))}.c-lib-row,.c-lib-row-labelled{grid-template-columns:48px minmax(0,1fr) 1.2rem}.c-lib-row-chip{display:none}}
@media (max-width:600px){.c-lib-hero-text{padding:1.6rem 0 1.8rem}.c-lib-topics{grid-template-columns:minmax(0,1fr);gap:.7rem}
  .c-lib-icon{width:48px;height:48px}.c-lib-icon .c-icon{width:28px;height:28px}.c-lib-row{gap:.75rem}.c-lib-icon-row{width:44px;height:44px}
  .c-lib-search-button{padding:.4rem .75rem}.c-lib-all-head{flex-direction:column;gap:.1rem}}
/* Redesign (Approved Design Decisions 2026-11-06): mission line and About the Founder on the homepage; footer mission */
.c-mission{display:flex;flex-wrap:wrap;align-items:baseline;gap:.6rem 1.4rem;padding-top:2rem}
.c-mission-line{margin:0;font-size:clamp(1.2rem,2.2vw,1.5rem);font-weight:750;color:var(--navy)}
.c-mission-link{color:var(--blue);font-weight:700;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:.3rem}.c-mission-link:hover{text-decoration:underline}
.c-founder{padding-top:1.2rem;margin-bottom:2rem}.c-founder h2{margin:0 0 1rem}
.c-founder-card{display:flex;gap:1.4rem;align-items:center;background:#fff;border:1px solid var(--line);border-radius:16px;padding:1.4rem 1.6rem}
.c-founder-portrait{flex:none;width:200px;aspect-ratio:1;border-radius:14px;overflow:hidden;background:var(--pale)}
.c-founder-book{flex:none;width:140px;aspect-ratio:2/3;border-radius:10px;overflow:hidden;background:var(--pale)}
.c-founder-body h3{margin:0 0 .4rem;font-size:1.5rem;color:var(--navy)}.c-founder-body p{margin:0 0 .8rem;color:#33445c;font-size:1.05rem;max-width:34rem}
.c-founder-link{color:var(--blue);font-weight:750;text-decoration:none;min-height:44px;display:inline-flex;align-items:center;gap:.3rem}.c-founder-link:hover{text-decoration:underline}
.c-footer-mission{font-weight:700;color:var(--navy)}
@media (max-width:700px){.c-founder-card{flex-wrap:wrap;padding:1.2rem}.c-founder-portrait{width:140px}.c-founder-book{width:96px}.c-founder-body{flex-basis:100%}}
.c-nav a,.c-account>a{min-height:44px;display:inline-flex;align-items:center}
.cms-author{max-width:760px;margin:2.4rem auto 0;border-top:1px solid #d5dde5;padding-top:1.2rem}.cms-author h2{font-size:1.15rem;margin:0 0 .4rem;color:#0b1f3a}.cms-author p{margin:.3rem 0;color:#33445c}.cms-author a{color:#1463e8;font-weight:650;display:inline-flex;align-items:center;min-height:44px}
/* How LensAgora Works (Mockup 4): numbered step cards, disclosure, limitations */
.c-method{padding-top:1.6rem;padding-bottom:3rem}.c-method h1{margin:.4rem 0 .6rem;color:var(--navy)}
.c-method-breadcrumb{max-width:none;margin:0 0 .6rem}.c-method-intro{color:#33445c;font-size:1.06rem;max-width:46rem;margin:0 0 1.6rem}
.c-method-steps{list-style:none;margin:0;padding:0}.c-method-step+.c-method-step{margin-top:1rem}
/* Site Fixes V5 #2: text wraps around the advertisement on wide screens */
@media (min-width:761px){.c-method>.va-slot{float:right;clear:none;margin:0 0 1rem 1.6rem}}
/* VSP fix 2026-11-18: Lens Library landing and articles: content flows beside the advertisement on wide screens */
.c-lib-block{display:flow-root}.cms-article>.cms-author{clear:both}
@media (min-width:761px){.cms-article>.va-slot[data-placement="article"]{float:right;clear:none;margin:.2rem 0 1rem 1.6rem}}
.c-lib-block>.va-slot{justify-content:center;margin:0 0 1.4rem}
@media (min-width:1000px){.c-lib-block>.va-slot{float:right;clear:none;margin:.2rem 0 1rem 1.6rem}}
/* Owner 2026-11-18: on the landing page the advertisement is a topic-grid cell beneath "Prescription Sunglasses". */
.c-lib-ad{display:flex;justify-content:center;align-items:flex-start}.c-lib-ad>.va-slot{margin:0;justify-content:center}
@media (min-width:901px){.c-lib-topics{grid-auto-flow:row dense}.c-lib-ad-col1{grid-column:1}.c-lib-ad-col2{grid-column:2}.c-lib-ad-col3{grid-column:3}
  .c-lib-adrow{align-self:start}.c-lib-adrow>.c-lib-topic{height:auto}}
.c-method-step{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:1.4rem;background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.3rem 1.5rem;scroll-margin-top:1rem}
.c-method-step h2{margin:0 0 .3rem;font-size:1.35rem;color:var(--navy)}.c-method-lead{margin:0;color:#33445c;font-weight:600}
.c-method-step-body p{margin:0 0 .6rem;color:#24364f}.c-method-step-body p:last-child{margin-bottom:0}
.c-method-disclosure{margin-top:1.6rem;background:#fff8e6;border:1px solid #f0d38a;border-radius:14px;padding:1.1rem 1.4rem}.c-method-disclosure h2{margin:0 0 .4rem;font-size:1.15rem;color:#3d3420}.c-method-disclosure p{margin:0;color:#3d3420}
.c-method-limits{margin-top:1.6rem}.c-method-limits h2{font-size:1.15rem;color:var(--navy);margin:0 0 .4rem}.c-method-limits ul{margin:0;padding-left:1.2rem;color:#33445c}
.c-method-more{margin-top:1.4rem;color:#33445c}.c-method-more a{color:var(--blue);font-weight:650}
.c-method-principles{margin-top:1.4rem;font-weight:750;color:var(--navy)}
@media (max-width:760px){.c-method-step{grid-template-columns:minmax(0,1fr);gap:.6rem;padding:1.1rem}}
/* About Mark Agnew (Mockup 3): on an author's profile page the first figure (the confirmed portrait) sits beside the opening
   biography; later figures (the book cover) are a smaller feature beside their section. Stacked on phones. */
.cms-profile .cms-article>figure:first-of-type{float:left;width:min(300px,40%);margin:.3rem 1.6rem 1rem 0}
.cms-profile .cms-article>figure:first-of-type img{border-radius:14px;width:100%;height:auto}
.cms-profile .cms-article>figure~figure{float:left;width:min(170px,32%);margin:.3rem 1.4rem 1rem 0}
.cms-profile .cms-article>figure~figure img{border-radius:10px;width:100%;height:auto;box-shadow:0 4px 14px rgba(10,31,68,.12)}
.cms-profile .cms-article::after{content:'';display:block;clear:both}
@media (max-width:600px){.cms-profile .cms-article>figure:first-of-type{float:none;width:min(260px,100%);margin:0 0 1rem}.cms-profile .cms-article>figure~figure{width:40%}}
.cms-disclosure{clear:both;margin-top:2rem;background:#fff8e6;border:1px solid #f0d38a;border-radius:12px;padding:1rem 1.2rem}.cms-disclosure h2{font-size:1.05rem;margin:0 0 .3rem;color:#3d3420}.cms-disclosure p{margin:0;color:#3d3420}
.c-founder-portrait .c-photo-cover{object-position:50% 38%}
.c-founder-book{aspect-ratio:994/1482;box-shadow:0 4px 14px rgba(10,31,68,.12)}
.cms-profile .cms-article>figure:first-of-type img{aspect-ratio:4/5;object-fit:cover;object-position:50% 38%}
.c-hero-mission{font-weight:700;color:var(--navy);display:flex;flex-wrap:wrap;align-items:center;gap:.35rem 1rem;margin:1rem 0 0}
.c-hero-mission .c-mission-link{font-weight:750;white-space:nowrap;color:#0b47b8}
.c-photo-hero-home .c-hero-actions{margin-top:1.4rem}
.c-photo-hero-home .c-hero-cta{font-size:1.1rem;padding:.85rem 1.6rem;min-height:48px}
.c-photo-hero-start .c-start-copy h1{margin-bottom:1.4rem}
.c-photo-hero-home .c-hero-copy h1{text-wrap:balance}
.c-photo-hero-start .c-start-copy{max-width:700px}
.c-photo-hero-start .c-path-stack{display:grid;grid-auto-rows:1fr}
.c-footer-legal{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.4rem 1.5rem}
.c-footer-legal-links ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:.2rem 1.1rem}
.c-footer-legal-links a{margin-left:0;display:inline-block;padding:3px 0;min-height:24px}
.c-footer-affiliate{flex-basis:100%;color:var(--muted,#555)}/* V8: approved affiliate disclosure, its own line */
@media (max-width:700px){.c-footer{padding-top:.8rem;padding-bottom:.6rem}
.c-footer-top{grid-template-columns:repeat(3,minmax(0,1fr));gap:.9rem .9rem}
.c-footer-brand p{margin:.2rem 0;font-size:.92rem}.c-footer-brand .brand img{width:128px}
.c-footer-group h2{font-size:.9rem;margin:0 0 .25rem}.c-footer-group ul{margin:0;padding:0}.c-footer-group li{margin:0}
.c-footer-group a{display:block;padding:3px 0;min-height:24px;font-size:.88rem;line-height:1.3}
.c-footer-legal{margin-top:.5rem;padding-top:.4rem;font-size:.8rem;display:block}.c-footer-legal p{margin:0 0 .15rem}}
@media (max-width:360px){.c-footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}}
.c-buying-cards.c-buying-two{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;margin-inline:auto}
@media (max-width:760px){.c-buying-cards.c-buying-two{grid-template-columns:1fr;grid-auto-rows:1fr}}
.activity-bar{display:block;width:100%;max-width:260px;height:8px;margin-top:.3rem}.activity-track{fill:#eef2f4}.activity-fill{fill:var(--brand)}
.bot-grid{grid-template-columns:repeat(auto-fit,minmax(min(340px,100%),1fr))}
.stat-n .unavailable{font-size:1.15rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.c-internal-note{margin:0;padding:.35rem 1rem;background:#fff4d6;color:#5a4300;font-size:.85rem;text-align:center;border-bottom:1px solid #f0dca0}
/* Results two-box design (approved 2026-11-07): recommendation container and retailer comparison container */
.r-box{border:2px solid #8fb4f2;border-radius:18px;background:linear-gradient(180deg,#eaf2ff 0,#f5f9ff 110px,#f7faff 100%);padding:1rem 1.1rem 1.1rem;margin:0 0 1.25rem;box-shadow:0 2px 10px rgba(18,87,214,.06)}
.r-box-icon{flex:0 0 56px;width:56px;height:56px;border-radius:12px;background:#1a5fe0;color:#fff;display:grid;place-items:center}
.r-box-icon .c-icon{width:32px;height:32px;stroke:#fff}
.r-head-main,.r-box-head{display:flex;align-items:center;gap:1rem;min-width:0}
.r-head-main .r-head-text,.r-box-head>div{border-left:2px solid #c9dafa;padding-left:1rem;min-width:0}
.r-box-head{margin:0 0 .85rem}.r-box-head h2{margin:0}.r-box-sub{margin:.15rem 0 0;color:#33445c;font-size:.95rem}
.r-box .r-strip{background:none;border:0;border-radius:0;gap:.7rem;margin:.6rem 0 0}
.r-box .r-strip>*,.r-box .r-strip .r-rx{background:#fff;border:1px solid #d3e1fa!important;border-radius:12px;position:relative;padding:.75rem .9rem}
.r-rec{display:flex;align-items:center;gap:1rem;background:#e8f0ff;border:1px solid #c3d6f8;border-radius:12px;padding:.65rem .9rem;margin:.75rem 0 0}
.r-rec-badge{display:inline-flex;align-items:center;gap:.55rem;margin:0;background:#123f9c;color:#fff;font-weight:800;border-radius:10px;padding:.55rem 1.1rem;white-space:nowrap;flex:0 0 auto}
.r-rec-badge .c-icon{width:22px;height:22px;stroke:#fff}
.r-rec-text{margin:0;color:var(--navy);font-size:1.02rem;line-height:1.4;border-left:2px solid #c3d6f8;padding-left:1rem;min-width:0}.r-rec-q{color:#1257d6}
.r-box .r-section{margin-top:.6rem}.r-box .r-note-box{margin-bottom:0}
@media (max-width:900px){.r-head-main{width:100%}}
@media (max-width:640px){.r-box{padding:.8rem .7rem;border-radius:14px}.r-box-icon{flex-basis:44px;width:44px;height:44px;border-radius:10px}.r-box-icon .c-icon{width:26px;height:26px}
  .r-head-main .r-head-text,.r-box-head>div{padding-left:.75rem}.r-rec{flex-direction:column;align-items:flex-start;gap:.6rem}.r-rec-text{border-left:0;padding-left:0}}
@media (max-width:360px){.r-box-icon{display:none}.r-head-main .r-head-text,.r-box-head>div{border-left:0;padding-left:0}.r-rec-badge{white-space:normal}}
.r-part1 .r-head{flex-wrap:wrap;row-gap:.6rem}.r-part1 .r-head-main{flex:1 1 30rem}.r-part1 .r-head-text{flex:1 1 auto}
@media (max-width:900px){.r-part1 .r-head-main{flex:0 0 auto}}
@media (min-width:901px){.r-part1 .r-head-main{flex:1 1 40rem}.r-part1 .r-head-actions{margin-left:auto}}
/* NV-012 (2026-11-11): phone text fields stay at 16px (1rem) so iPhone Safari never zooms the page when a field is tapped.
   NV-013: 44px tap targets for View Options (phones) and the mobile menu links. NV-014: "Jump to prices" (phones only). */
.c-menu-panel{gap:.25rem}.c-menu-panel a{min-height:44px;display:flex;align-items:center}
.r-jump{display:none}
@media (max-width:720px){
.r-options>summary,.r-row>.r-options>summary,.r-actions .r-options>summary,.r-card-row>.r-actions .r-options>summary{min-height:44px}
.r-jump{display:block;margin:.6rem 0 0}.r-jump a{display:inline-flex;align-items:center;gap:.35rem;min-height:44px;font-weight:700;color:var(--blue)}
.r-part2{scroll-margin-top:1rem}}
.r-part2:focus:not(:focus-visible){outline:none}

/* NV-009 (2026-11-11): compact analytics consent banner — one row on wide screens; on phones the sentence, then the three
   controls on one row. 44px controls; "Learn more" is a link to the analytics choices page. */
.c-consent .c-consent-row{padding:.45rem 0;gap:.75rem}
.c-consent .c-consent-row p{font-size:.85rem;line-height:1.4}
.c-consent .c-consent-actions{align-items:center;gap:.4rem}
.c-consent .c-consent-actions .button{min-height:44px;white-space:nowrap}
.c-consent-more{display:inline-flex;align-items:center;min-height:44px;padding:0 .35rem;font-size:.9rem;font-weight:600;color:var(--blue);white-space:nowrap}
@media (max-width:720px){.c-consent .c-consent-row{gap:.4rem;padding:.5rem 0}.c-consent .c-consent-row p{font-size:.82rem}
.c-consent .c-consent-actions .button{flex:1 1 auto;padding-left:.6rem;padding-right:.6rem}.c-consent-more{flex:0 0 auto}}
/* 320px prescription menus (owner approval 2026-11-11): below 390px the 16px values ("0.00 / None") don't fit four
   columns, so each eye's label takes its own row and its fields sit two per row (SPH CYL / AXIS [ADD]), each with a
   small visible field label in place of the header row (screen readers keep the existing hidden labels). 390px+ unchanged. */
@media (max-width:389px){
.rx3-grid:not(.rx3-pereye):not(.rx3-noadd),.rx3-grid.rx3-noadd,.rx3-grid.rx3-pereye{grid-template-columns:repeat(2,minmax(0,1fr));gap:.3rem .5rem}
.rx3-grid>span:first-child,.rx3-grid .rx3-h{display:none}
.rx3-grid .rx3-eye{grid-column:1/-1;flex-direction:row;align-items:baseline;gap:.35rem;padding:.35rem 0 0}
.rx3-cell[data-field]::before{display:block;font-size:.75rem;font-weight:700;color:var(--muted);margin:0 0 .15rem .1rem}
.rx3-cell[data-field$="_sphere"]::before{content:"SPH" / ""}.rx3-cell[data-field$="_cylinder"]::before{content:"CYL" / ""}
.rx3-cell[data-field$="_axis"]::before{content:"AXIS" / ""}.rx3-grid.rx3-pereye .rx3-cell[data-field$="_add"]::before{content:"ADD" / ""}
.rx3-add .rx3-cell[data-field]::before{content:none}}
/* Consent banner below 390px (owner approval 2026-11-11): at 320px "Allow analytics", "No thanks" and "Learn more" no longer
   fit on one line without wrapping. They stay on one row in the same order, and their text may wrap inside each 44px
   control instead, so the banner stays compact and never scrolls sideways (also with wider text spacing). */
@media (max-width:389px){
.c-consent .c-consent-actions .button{flex:1 1 auto;min-width:0;white-space:normal;line-height:1.15;overflow-wrap:anywhere;text-align:center}
.c-consent-more{flex:0 1 auto;min-width:0;white-space:normal;line-height:1.15;overflow-wrap:anywhere;text-align:center}}
/* Progressive prescription grid from 721px to 1023px (owner approval 2026-11-11): the manual card is narrow beside the
   upload option, so five columns cut off values such as "0.00 / None". As on phones, the shared ADD takes its own row
   under the eyes and SPH / CYL / AXIS keep readable widths. 1024px and wider is unchanged. */
@media (min-width:721px) and (max-width:1023px){
.rx3-grid:not(.rx3-pereye):not(.rx3-noadd){grid-template-columns:auto minmax(0,1.25fr) minmax(0,1.05fr) minmax(0,.7fr)}
.rx3-grid:not(.rx3-pereye):not(.rx3-noadd) .rx3-cell select{padding:.45rem 1.1rem .45rem .35rem;background-position:right .3rem center}
.rx3-grid:not(.rx3-pereye):not(.rx3-noadd) .rx3-h:nth-of-type(5){display:none}
.rx3-grid:not(.rx3-pereye) .rx3-add{order:1;grid-row:auto;grid-column:1/-1;display:grid;grid-template-columns:auto minmax(0,1fr);gap:.5rem;align-items:center;max-width:12rem}
.rx3-add-label{display:block;font-weight:800;color:var(--blue);font-size:.95rem}}
/* Single-vision prescription grid from 390px to 720px (CI correction 2026-11-11): with wider system fonts (GitHub's Ubuntu
   runner) the desktop column split left SPH too narrow for "0.00 / None". It now uses the same split as the progressive
   grid at these widths, so both show their values in full. Below 390px (two fields per row) and 721px+ are unchanged. */
@media (min-width:390px) and (max-width:720px){.rx3-grid.rx3-noadd{grid-template-columns:auto minmax(0,1.25fr) minmax(0,1.05fr) minmax(0,.7fr)}}
/* AdminTool Statistics, compact (owner 2026-11-12): denser cards, smaller figures and headings, less whitespace. */
.stats-compact h1{font-size:1.5rem}.stats-compact h2{font-size:1.05rem;margin:0 0 .4rem}
.stats-compact .card,.stats-compact .notice{padding:.75rem .9rem;margin:.75rem 0}
.stats-compact .stat-grid{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.5rem;margin-top:.5rem}
.stats-compact .stat{padding:.5rem .65rem}.stats-compact .stat-n{font-size:1.3rem}.stats-compact .stat-label{font-size:.85rem}
.stats-compact .stat-label small,.stats-compact .stat-sub{font-size:.78rem}
.stats-compact .chart-grid{grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.5rem;margin:.5rem 0}
.stats-compact table{font-size:.9rem}.stats-compact th,.stats-compact td{padding:.3rem .5rem}
.stats-compact .compact-list{margin:.5rem 0 0;padding-left:1.1rem;font-size:.85rem}.stats-compact .compact-list li{margin:.15rem 0}
.stats-compact details.notice>summary{cursor:pointer;font-weight:700}
@media (max-width:600px){.stats-compact .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.stats-compact .stat-n{font-size:1.15rem}}

/* SF4-001 (2026-11-12): View Options expands the retailer row in place (full width) and collapses again; one rule for every retailer. */
.r-card-row>.r-options{grid-column:4;justify-self:center;margin-top:-.35rem}
.r-card-row>.r-options[open]{grid-column:1/-1;justify-self:stretch}
.r-card-row>.r-options>summary{list-style:none;cursor:pointer;color:var(--blue);font-weight:600;text-decoration:underline;font-size:.9rem;min-height:32px;display:flex;align-items:center;justify-content:center}
.r-card-row>.r-options>summary::-webkit-details-marker{display:none}
.r-card-row>.r-options[open]>summary{margin-left:auto;width:min(100%,220px)}
.r-card-row>.r-options>.r-options-panel{position:static;box-shadow:none;margin-top:.3rem}
.r-card-row .r-modal-title{font-size:1.05rem}
@media (max-width:900px){.r-card-row>.r-options{grid-column:auto;justify-self:stretch;margin-top:0}.r-card-row>.r-options>summary,.r-card-row>.r-options[open]>summary{width:100%;min-height:44px;margin-left:0}
  .r-card-row .r-opt{grid-template-columns:1fr;align-items:start}.r-card-row .r-opt-cta .button{width:100%}}
.r-opt-type{margin:0;font-size:.8rem;color:var(--muted)}
/* Manufacturers & Brands (Site Fixes V4 V2): full content width; wide two-column editors; one column on narrow screens. */
.mb-card{max-width:none;display:block}
.mb-card>summary{cursor:pointer;padding:.25rem 0}
.mb-table{width:100%}
.mb-edit-row>td{padding-top:0;border-top:0}
.mb-edit>summary{cursor:pointer;color:var(--link,inherit)}
.form-grid.mb-form{max-width:none;grid-template-columns:repeat(2,minmax(0,1fr));margin:.5rem 0 1rem}
.form-grid.mb-form input,.form-grid.mb-form select{width:100%;min-width:0;box-sizing:border-box}
.mb-actions{grid-column:1/-1;display:flex;gap:.5rem;flex-wrap:wrap;margin:.25rem 0 0}
.mb-match{display:flex;gap:.35rem;flex-wrap:wrap;margin-top:.35rem}
.mb-match select{max-width:12rem}
/* Two columns only where they are comfortable; one column otherwise. URL and search inputs styled like the other fields. */
@media (max-width:999px){.form-grid.mb-form{grid-template-columns:1fr}}
.form-grid.mb-form input[type=url],.mb-filters input[type=search]{font:inherit;padding:.6rem .7rem;border:1px solid var(--field-border);border-radius:8px;background:#fff;width:100%;box-sizing:border-box}
.form-grid.mb-form .mb-wide{grid-column:1/-1}
.mb-filters{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.5rem .75rem;align-items:end;margin:0 0 1rem}
.mb-filters label{display:flex;flex-direction:column;gap:.25rem}
/* Narrow screens: the brand and candidate tables become stacked rows, so the full-width editor row is never wider than the
   card (no sideways scrolling or clipped fields). */
@media (max-width:720px){.mb-table thead{display:none}.mb-table,.mb-table tbody,.mb-table tr,.mb-table th,.mb-table td{display:block;width:auto}
  .mb-table tr{border-bottom:1px solid var(--line)}.mb-table th,.mb-table td{border-bottom:0;padding:.3rem .75rem}
  .mb-table td[data-label]::before{content:attr(data-label) ": ";font-weight:600}.mb-match select{max-width:none}}
/* Manufacturers & Brands row actions (Edit · Remove association · Delete): labelled links that wrap; delete in the danger colour. */
.mb-row-actions{white-space:normal}.mb-row-actions a{display:inline-block;margin:0 .5rem .2rem 0}
.mb-danger{color:var(--danger)}
/* VSP Affiliate Integration V1, Final Placement Revision (2026-11-15): one 250×250 banner per approved page, labelled
   "Advertisement", on its own row (never sticky, floating or a popup): right-aligned on desktop, centred on mobile, 24px
   from the surrounding content. */
.va-slot{display:flex;justify-content:flex-end;margin:24px 0;clear:both}
.va-unit{width:250px;max-width:100%}
.va-ad-label{margin:0 0 6px;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.va-ad-banner-link{display:block;line-height:0}.va-ad-banner-link img{display:block;width:100%;height:auto;max-width:250px}
.va-slot .va-ad-disclosure{margin:6px 0 0;font-size:.75rem;line-height:1.4;color:var(--muted)}
@media (max-width:700px){.va-slot{justify-content:center}}
.c-vision-section{background:#fff;border:1px solid var(--line);border-radius:14px;padding:1.2rem 1.4rem;margin:0 0 1rem;max-width:52rem}
.c-vision-section h2{margin:0 0 .5rem;font-size:1.3rem;color:var(--navy)}.c-vision-section p{margin:0 0 .6rem;color:#33445c}.c-vision-section ul{margin:.2rem 0 0;padding-left:1.2rem;color:#33445c}.c-vision-section li{margin:.25rem 0}
.c-vision-promo-note{max-width:46rem;color:#33445c}.c-vision-independence{max-width:52rem;font-size:.9rem}
/* Staging preview marker on the advertisement label (never in production). */
.va-ad-preview{display:inline-block;white-space:nowrap;margin-left:.4rem;padding:.05rem .4rem;border-radius:4px;background:#b45309;color:#fff;letter-spacing:.04em}
/* VSP "Sponsored Content ⓘ" label and its popover (owner approval 2026-11-16). */
.va-sponsored{margin:6px 0 0}
.va-sponsored-btn{background:none;border:0;padding:.3rem 0;min-height:28px;font:inherit;font-size:.8rem;font-weight:600;color:var(--muted);cursor:pointer;text-decoration:underline;text-decoration-style:dotted;text-underline-offset:3px}
.va-sponsored-btn:hover{color:var(--ink)}
.va-sponsored-i{font-weight:400}
.va-sponsored-pop{max-width:min(92vw,380px);margin:auto;padding:1rem 1.15rem;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);box-shadow:0 12px 32px rgba(0,0,0,.2);font-size:.92rem;line-height:1.45}
.va-sponsored-pop::backdrop{background:rgba(10,20,30,.25)}
.va-sponsored-pop p{margin:0 0 .6rem}.va-sponsored-pop .va-sp-close{margin:0}

/* AI Access Protection: discreet Results attribution (desktop and mobile) */
.r-attribution{margin:1rem 0 0;font-size:.82rem;line-height:1.4;color:var(--muted);text-align:center;overflow-wrap:anywhere}
/* Site Fixes V9: Daily Human Visitors and Results Page Performance (AdminTool Statistics, top). Compact, responsive. */
.v-card{padding:.75rem 1rem;margin-bottom:.75rem}.v-card h2{margin:0;font-size:1.1rem}.v-sub{margin:.6rem 0 .2rem;font-size:.95rem}
.v-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem}
.v-range{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.v-range .period-tabs a{padding:.25rem .55rem;font-size:.85rem}
.v-custom{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem;font-size:.85rem}.v-custom label{display:flex;align-items:center;gap:.25rem}.v-custom input[type=date]{padding:.15rem .3rem;font-size:.85rem}
.v-note{margin:.35rem 0;font-size:.85rem}.v-stats{margin-top:.4rem}
.v-figure{margin:.4rem 0 0}.v-chart{width:100%;height:auto;max-height:170px;display:block}.v-retailers{width:100%;height:auto;display:block}
.v-chart .bar,.v-retailers .bar{fill:var(--brand)}.v-chart .axis{stroke:#c7d0d6;stroke-width:1}.v-chart .grid{stroke:#eef1f3;stroke-width:1}
.v-chart .tick,.v-retailers .tick{font-size:11px;fill:#5a6873}.v-retailers .label{fill:#24323c}
.v-chart .hit{fill:transparent}.v-chart .day:hover .bar{fill:#0b3d5c}.v-chart .day:hover .hit{fill:rgba(0,0,0,.04)}
.v-chart .nodata{fill:url(#v-hatch)}.v-chart .hatch{stroke:#d5dbe0;stroke-width:2}
@media (max-width:600px){.v-card{padding:.6rem .7rem}.v-chart{max-height:none}.v-chart .tick,.v-retailers .tick{font-size:16px}}
.v-chart .bar-visits{fill:#9cc3d5}.v-chart .day:hover .bar-visits{fill:#6fa6bf}
.v-legend{display:flex;flex-wrap:wrap;align-items:center;gap:.25rem .9rem;margin:.3rem 0 0;font-size:.8rem;color:#5a6873}
.v-key{display:inline-block;width:.8rem;height:.8rem;border-radius:2px;margin-right:.3rem;vertical-align:-1px}.v-key-visits{background:#9cc3d5}.v-key-unique{background:var(--brand)}
.v-key-nodata{background:repeating-linear-gradient(45deg,#d5dbe0 0 2px,transparent 2px 5px);border:1px solid #d5dbe0}
/* V9 follow-up: User Path Performance and Selector Funnel (compact tables) and the shared period control. */
.up-group{margin-top:.5rem}.up-kind{font-weight:400;font-size:.8rem}.up-table{font-size:.88rem}.up-table th,.up-table td{padding:.3rem .5rem}
.up-table .activity-bar{width:60px;height:6px;vertical-align:middle;margin-left:.3rem}
.period-control{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem}.period-custom{margin:0}
[data-overview="analytics"],[data-overview="secondary"]{grid-template-columns:repeat(3,minmax(0,1fr))}
@media (max-width:600px){[data-overview="analytics"],[data-overview="secondary"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
.up-table td.num{white-space:nowrap}.up-engage th,.up-engage td{background:#f6f9fa}
/* Date fields: Chrome focuses an inner segment, so :focus-visible doesn't match the input; text-entry fields show focus always. */
.period-custom input[type=date]:focus,.v-custom input[type=date]:focus{outline:3px solid var(--focus-ring);outline-offset:2px}
.period-custom label:focus-within,.v-custom label:focus-within{box-shadow:0 0 0 3px var(--focus-ring);border-radius:6px}
/* V10 Today (owner 2026-11-28): fixed From/To (today) and the incomplete-day note; wraps on narrow screens. */
.period-today input[type=date]:disabled{opacity:1;color:inherit;background:var(--surface-muted,#f4f6f8)}
.period-partial{flex-basis:100%;margin:.25rem 0 0;font-size:.85rem;color:#6b4e00}
.up-table th:first-child{min-width:9rem}.up-table thead th{font-size:.8rem;line-height:1.2;vertical-align:bottom}.up-history{margin-top:.6rem}.up-history>summary{cursor:pointer;font-weight:600;font-size:.9rem}
/* Universal Back button (V10, owner-approved 2026-11-27): one component on every lens-selection and recommendation step,
   top left immediately below the site header and above the progress bar and page title. Same size, arrow, border and
   states everywhere; a single remaining Continue/CTA keeps its right-hand place. */
.c-backbar{display:flex;justify-content:flex-start;padding-top:.6rem;padding-bottom:0}
.consumer .c-back-top{display:inline-flex;align-items:center;gap:.35rem;min-height:36px;min-width:0;padding:.35rem .85rem;font-size:.95rem;font-weight:600;line-height:1.2;border:1px solid #b9cdf3;border-radius:8px;background:#fff;color:var(--blue);text-decoration:none;box-shadow:none}
.consumer .c-back-top:hover{background:var(--pale);color:var(--blue-dark)}
.consumer .c-back-top:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px}
.c-back-arrow{font-size:1.05em;line-height:1}
.c-backbar+.c-question{padding-top:.5rem}
.c-backbar+.c-question:has(.c-choice-photo-card){padding-top:.1rem}.c-backbar+.c-question:has(.c-choice-photo-card) .c-stepper{margin-bottom:.55rem}
.c-backbar+.r-page{padding-top:.5rem}
.c-backbar+.s-page{padding-top:.5rem}
.c-nav-buttons>.button:only-child{margin-left:auto}
@media (max-width:520px){.c-backbar{padding-top:.6rem}.consumer .c-back-top{min-height:44px}.c-nav-buttons>.button:only-child{flex:1}}
/* How You're Buying, compact tiles (V10, owner 2026-11-27): the two cards' footprint reduced by about a third (card
   width and height, image height, inner padding and whitespace); type sizes unchanged. Continue to Prescription stays
   above the fold at 1280 × 724. */
.c-buying .c-stepper{margin-bottom:1rem}
.c-buying-panel{padding:1.3rem 2rem 1.2rem}
.c-buying .c-hint{margin:.3rem 0 1rem}
.c-buying-cards.c-buying-two{max-width:680px;gap:1rem}
.c-buying-card{padding:1.3rem 1.1rem 1rem}
.c-buying-card input{top:.8rem;left:.8rem;width:24px;height:24px}
.c-buying-art{height:100px}.c-buying-art img{max-height:100px}
.c-buying-title{min-height:0;margin:.5rem 0 .6rem}
.c-buying-desc{padding:.6rem 0 0 1.3rem}
.c-buying .c-nav-buttons{margin-top:1.1rem;padding-top:1rem}
@media (max-width:760px){.c-buying-card{grid-template-columns:64px 1fr;padding:.6rem .7rem .6rem 2.6rem}.c-buying-art{height:48px}.c-buying-art img{max-height:48px}
  .c-buying-card input{top:50%;left:.75rem;width:22px;height:22px}}
/* Add Your Prescription — upload panel, Option C revised (owner-locked, V10 2026-11-27): the heading, one compact dashed
   click-or-drag area (the whole area opens the picker; a dropped file is accepted anywhere on the panel), one line of
   explanation and the compact limits. No solid upload button, no large icon, no vertical centring in a tall panel. */
.rx-upc{display:flex;flex-direction:column}
.rx-upc-body{display:flex;flex-direction:column;align-items:stretch;gap:.6rem;padding:.2rem 0 0}
.rx-upc-zone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;text-align:center;padding:1.1rem 1rem 1rem;background:#f5f8ff;border:1.5px dashed #8fb0ee;border-radius:12px;color:var(--blue);cursor:pointer;transition:background .15s,border-color .15s}
.rx-upc-zone:hover{background:#eaf1ff;border-color:var(--blue)}
.rx-upc-zone:focus-within{outline:3px solid var(--focus-ring);outline-offset:2px}
.rx-upc-over .rx-upc-zone{background:#e3edff;border-color:var(--blue);border-style:solid}
.rx-upc-zone[aria-disabled=true]{opacity:.55;cursor:default}
.rx-upc-cloud{display:flex;color:var(--blue)}.rx-upc-cloud svg{width:36px;height:36px}
.rx-upc-zone-title{font-weight:700;font-size:1.05rem;color:var(--blue)}
.rx-upc-zone-hint{font-size:.88rem;color:var(--muted)}
.rx-upc .rx-upc-zone input.rx-upc-input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;cursor:pointer;font-size:16px}
.rx-upc .rx-upc-zone input.rx-upc-input:disabled{cursor:default}
.rx-upc-text{margin:0;color:var(--ink);text-align:center}
.rx-upc .rx-formats{margin:0;text-align:center;line-height:1.4}
.rx-upc-status:empty{display:none}
.rx-upc-status{width:100%;border-radius:10px;padding:.7rem .8rem;text-align:left;font-size:.95rem}
.rx-upc-busy{background:var(--pale);color:var(--navy)}.rx-upc-error{background:#fdecec;color:#8a1f17;border:1px solid #f2b8b5}.rx-upc-cancelled{background:#f4f6f8;color:var(--ink)}
.rx-upc-msg{margin:0;display:flex;align-items:center;gap:.5rem;overflow-wrap:anywhere}
.rx-upc-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}
.rx-upc-spinner{flex:none;width:18px;height:18px;border-radius:50%;border:3px solid #b9cdf3;border-top-color:var(--blue);animation:rx-upc-spin .8s linear infinite}
@keyframes rx-upc-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.rx-upc-spinner{animation:none}.rx-upc-zone{transition:none}}
/* The upload card no longer stretches to the manual card's height with its content centred in the middle. */
.rx-choice-grid>.rx-upc{align-self:start}
@media (max-width:720px){.rx-upc-zone{padding:.9rem .8rem .85rem}}
/* Results with the full header and the universal Back row (V10): keep the first retailer in view at 1280 × 800 — the
   a little vertical whitespace is trimmed. Nothing is removed. */
.c-backbar+.r-page{padding-top:.2rem}
.r-box{margin-bottom:.9rem}
.r-box .r-strip{margin-top:.45rem}
.r-rec{margin-top:.5rem}
/* The universal Back row sits immediately below the site header: on pages that start with it, main's top padding goes. */
main:has(>.c-full>.c-backbar:first-child){padding-top:0}
/* V10 insurance on Results, Option C (owner 2026-11-27): a quiet green check per verified acceptance and a compact
   "Insurance details" disclosure; no Out of Network label on the row; one concise disclosure above the list. */
.r-ins{display:flex;flex-wrap:wrap;align-items:center;gap:.2rem .7rem;margin-top:.35rem;font-size:.82rem;line-height:1.3}
.r-ins-ok{color:#14653a;font-weight:600}
/* Out-of-network line (owner 2026-11-28): every listing, smaller neutral text below the online acceptance. */
.r-ins-oon{flex-basis:100%;color:#5a6a7e;font-size:.74rem;font-weight:400}
.r-ins-more{position:relative}
.r-ins-more>summary{color:var(--blue);cursor:pointer;list-style:none;text-decoration:underline;text-underline-offset:2px}
.r-ins-more>summary::-webkit-details-marker{display:none}
.r-ins-more>summary:focus-visible{outline:3px solid var(--focus-ring);outline-offset:2px;border-radius:3px}
.r-ins-panel{margin-top:.35rem;background:#fff;border:1px solid var(--line);border-radius:10px;padding:.55rem .7rem;color:#33445c;font-weight:400;max-width:22rem}
.r-ins-panel ul{margin:0 0 .35rem;padding-left:1.1rem}.r-ins-panel p{margin:0;font-size:.78rem;color:var(--muted)}
.r-ins-note{margin:1rem 0 0;font-size:.78rem;line-height:1.45;font-weight:400;color:var(--muted)}
.r-ins-note+.r-affiliate-note{margin-top:.35rem}

/* VisionScore™ (Layout 1; LENSAGORA_VISIONSCORE, off by default). Compact: one line in the option cell; details collapsed. */
.vs-line{display:block;margin-top:.25rem;font-size:.875rem;line-height:1.3}
/* Checkpoint 023 (D-021.7 / D-022.9): the circular VisionScore™ graphic sits at the side of its option cell (like the approved
   mockup's own column), so it never adds row height; the text keeps the rest of the cell. Blue arc = score ÷ maximum. */
.r-option:has(.vs-ring),.r-opt-main:has(.vs-ring){position:relative;padding-right:76px}
.vs-line .vs-score:has(.vs-ring){position:absolute;top:0;right:0;line-height:0}
.vs-ring{display:block}
.vs-score{font-weight:700;color:#0b3d66}
.vs-warn{color:#8a4b00;font-weight:600}
.vs-unavailable .vs-score{color:#555;font-weight:600}.vs-reason{color:#555}
.vs-why{margin-top:.2rem;font-size:.85rem}
.vs-why>summary{cursor:pointer;color:#0b5cad;text-decoration:underline;display:inline-block;min-height:24px}
.vs-why>summary:focus-visible{outline:2px solid #0b5cad;outline-offset:2px}
.vs-panel{margin-top:.4rem;padding:.6rem .75rem;border:1px solid #d6dde5;border-radius:6px;background:#f7f9fb;max-width:42rem}
.vs-title{font-weight:700;margin:0 0 .3rem}
.vs-components{list-style:none;margin:0 0 .4rem;padding:0}
.vs-components li{display:flex;justify-content:space-between;gap:1rem;border-bottom:1px dotted #ccd5de;padding:.1rem 0}
.vs-notes{margin:.3rem 0;padding-left:1.1rem}
.vs-alt{margin:.4rem 0}.vs-fine{margin:.4rem 0 0;color:#555;font-size:.8rem}
/* DEV-D36: compact higher-scoring alternative on the collapsed retailer card; a small text link, subordinate to Check Price. */
.vs-alt-card{display:block;margin-top:.15rem;font-size:.85rem;line-height:1.3;color:#33445c}.vs-alt-card a{color:#0b5cad;font-weight:600;text-decoration:underline;display:inline-block;min-height:24px}
.vs-alt-card a:focus-visible{outline:2px solid #0b5cad;outline-offset:2px}
/* DEV-D20: the lens reached from “View this lens” (class set by results-options.js; :target without script). Amber edge and
   outline, distinct from the blue lowest-price row (.r-opt-primary); focus still moves to it. */
.vs-target,[id^="vs-"]:target{outline:3px solid #b45309;outline-offset:-3px;box-shadow:inset 6px 0 0 #b45309}
.vs-target:focus,.vs-target:focus-visible{outline:3px solid #b45309;outline-offset:-3px}
/* DEV-D21: while “Why this score?” is open, retailer, price and Check Price stay at the top of the card instead of
   re-centring on the taller explanation (class set by results-options.js; :has() where supported). Collapsed: unchanged. */
.r-card-row.vs-why-open,.r-card-row:has(.vs-why[open]){align-items:start}
.vs-method-table{border-collapse:collapse;width:100%;margin:.5rem 0}.vs-method-table th,.vs-method-table td{border:1px solid #d6dde5;padding:.4rem;vertical-align:top;text-align:left}
:target.r-row,:target.r-opt{outline:3px solid #0b5cad;outline-offset:2px}
@media (max-width:600px){.vs-panel{padding:.5rem}.vs-method-table{font-size:.85rem}}
/* About VisionScore™ (SR-02, Checkpoint 025) */
.vs-about-example{margin:1.2rem 0;display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem;border:1px solid #d6dde5;border-radius:12px;background:#f7f9fc}.vs-about-example figcaption{font-size:.9rem;color:var(--muted);text-align:center}
.vs-about-cta{margin:1.2rem 0}.vs-about-more{font-size:.9rem}.c-lib-vs h2 a{text-decoration:none}
/* SR-07 (Checkpoint 026): Results "Sort by" selector — compact, wraps on narrow screens, native select (keyboard). */
.r-sort:not([hidden]){display:flex;flex-wrap:wrap;align-items:center;gap:.4rem .6rem;margin:.6rem 0 0}
.r-sort label{font-weight:600;color:#1f2d3d;font-size:.95rem}
.r-sort-select{font:inherit;font-size:.95rem;min-height:44px;padding:.35rem 2rem .35rem .6rem;border:1px solid #9aa8b8;border-radius:8px;background-color:#fff;max-width:100%}
.r-sort-select:focus-visible{outline:3px solid #1d6fd6;outline-offset:2px}
/* Sunglasses entry links (P-25; LENSAGORA_SUNGLASSES on) and sun Results notes */
.c-sun-link{margin:.75rem 0 0}
.c-link-button{background:none;border:0;padding:0;font:inherit;color:var(--link,#1a56db);text-decoration:underline;cursor:pointer;display:inline-flex;align-items:center;gap:.35rem}
.c-link-button:hover,.c-link-button:focus-visible{text-decoration-thickness:2px}
.c-lib-sun-cta{margin:.25rem 0 .75rem}
.r-sun-uv,.r-sun-windscreen,.r-sun-alt,.r-sun-no-ar{display:block}
/* Complete non-prescription sunglasses (SG-IMP-02): four cells, no rank column; stacked on narrow screens. */
.r-row.r-complete-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1.5fr) auto;grid-template-areas:none}
.r-complete-row .r-cell{grid-area:auto;min-width:0}
.r-complete-row .r-retailer .r-name,.r-complete-row .r-retailer .r-product,.r-complete-row .r-retailer .r-more{display:block}
@media (max-width:900px){.r-row.r-complete-row{grid-template-columns:minmax(0,1fr);grid-template-areas:none}}
.r-complete-row .r-retailer .r-name{font-weight:700;color:var(--navy)}
/* B-2: sun lens type and notes on the Results Lens type card. */
.r-strip-sun{margin:.3rem 0 0;font-size:.88rem;color:var(--navy)}.r-strip-sun-note{margin:.15rem 0 0;font-size:.8rem;color:var(--muted);line-height:1.35}
/* DP-1 A: the retailer's own product name, shown only to tell apart options that would otherwise look identical. */
.r-opt-product{margin:.15rem 0 0;font-size:.86rem;color:var(--navy);font-weight:600}.r-option .r-option-product{display:block;font-size:.88rem;color:var(--navy);font-weight:600;margin-top:.1rem}
/* SF12-02 (D-02 B, 2026-12-04): sun lens line and "You selected" tag in Lens features; sun notes behind a disclosure. */
.r-strip-list .r-feat-tag{display:inline-block;margin-left:.3rem;font-size:.72rem;font-weight:700;color:#18794e;background:#e7f6ee;border-radius:999px;padding:0 .45rem;vertical-align:1px;white-space:nowrap}
.r-sun-about{margin-top:.35rem;font-size:.85rem}.r-sun-about summary{cursor:pointer;color:var(--blue);font-weight:600}.r-sun-about p{margin:.35rem 0 0;color:var(--muted);font-size:.82rem}
.r-start-over-form{display:inline-flex;margin:0}
/* SF12-01 (V12, D-09 B): compact Results price toolbar — heading, count and About VisionScore left; Sort menu right. */
.r-toolbar{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:0 0 .7rem;padding:0 0 .55rem;border-bottom:1px solid var(--line)}
.r-toolbar h2{margin:0;font-size:1.05rem;color:var(--navy);font-weight:800}.r-toolbar-sub{margin:.1rem 0 0;font-size:.82rem;color:var(--muted)}.r-toolbar-sub a{font-weight:600}
.r-toolbar .r-sort{display:flex;flex-direction:row;align-items:center;gap:.4rem;margin:0;font-size:.85rem;white-space:nowrap}.r-toolbar .r-sort[hidden]{display:none}
.r-toolbar .r-sort label{color:var(--muted)}.r-toolbar .r-sort select{width:auto;min-width:0;margin:0;padding:.35rem 1.8rem .35rem .6rem;font-size:.85rem}
@media(max-width:700px){.r-toolbar h2{font-size:.98rem}.r-toolbar .r-sort label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.r-toolbar .r-sort select{font-size:.78rem;padding:.3rem 1.4rem .3rem .45rem}}
/* SF12-06 (V12, D-10 A): Lens type "Clear lenses | Sunglasses" switch. Without :has() both lists show (still valid). */
.c-kind{display:inline-flex;border:1.5px solid var(--line);border-radius:999px;padding:3px;margin:.2rem 0 1rem;background:#fff}
.c-kind-opt{position:relative;cursor:pointer}.c-kind-opt input{position:absolute;opacity:0;inset:0;margin:0;cursor:pointer}
.c-kind-opt span{display:block;padding:.5rem 1.1rem;border-radius:999px;font-weight:700;color:var(--navy);font-size:.95rem}
.c-kind-opt input:checked+span{background:var(--navy);color:#fff}.c-kind-opt input:focus-visible+span{outline:3px solid var(--focus-ring);outline-offset:2px}
.c-kind-note{font-size:.86rem;color:var(--muted);margin:-.4rem 0 .9rem}
.c-lenstype:has(.c-kind input[value=sun]:checked) .c-designs-clear{display:none}
.c-lenstype:has(.c-kind input[value=clear]:checked) .c-designs-sun{display:none}
/* Marketing V1 ME-02 (owner 2026-12-04): VisionScore™ nav item always in brand blue; the current page is marked by an underline
   as well as colour (the VisionScore™ item is blue either way). The Get Started arrow sits inside the button. */
.c-nav a.c-nav-vs,.c-menu-panel a.c-nav-vs{color:var(--blue)}
.c-nav a[aria-current]{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.35em}
/* Marketing V1 ME-03 (owner 2026-12-04): the VisionScore™ circle is part of the "Why this score?" summary (one control). It keeps
   its place at the side of the option cell; a focus ring and hover state show it can be activated. */
.vs-why>summary .vs-score{position:absolute;top:0;right:0;line-height:0;border-radius:50%;cursor:pointer;text-decoration:none}
.vs-why>summary .vs-score:hover .vs-ring{filter:drop-shadow(0 0 3px rgba(20,99,243,.45))}
.vs-why>summary:focus-visible{outline:none}.vs-why>summary:focus-visible .vs-why-label,.vs-why>summary:focus-visible .vs-score{outline:2px solid #0b5cad;outline-offset:2px}
.vs-why[open]>summary .vs-score .vs-ring{filter:drop-shadow(0 0 3px rgba(20,99,243,.45))}
.vs-lead{margin:0 0 .35rem;color:#1d2b3c}.vs-learn{margin:.4rem 0 0}.vs-learn a{font-weight:600;color:#0b5cad}
/* Marketing V1 ME-OD-07: the standard VisionScore™ callout after selected Lens Library articles and on the hub. */
.c-vs-callout{display:flex;gap:1rem;align-items:flex-start;margin:2rem 0 1.5rem;padding:1.2rem 1.3rem;border:1px solid #cfdcf7;border-radius:14px;background:#f5f8ff}
.c-vs-callout-icon{flex:0 0 44px}.c-vs-callout h2{margin:0 0 .35rem;font-size:1.15rem;color:var(--navy)}.c-vs-callout p{margin:0 0 .6rem;color:#33445c}
.c-vs-callout-links{display:flex;flex-wrap:wrap;gap:.6rem 1.2rem;align-items:center;margin:0!important}.c-vs-callout-links>a:first-child{font-weight:700;color:var(--blue)}
@media(max-width:600px){.c-vs-callout{flex-direction:column;gap:.6rem;padding:1rem}}
/* Marketing V1 ME-01 (approved mockup, owner 2026-12-04): homepage hero, benefit cards and How It Works. */
.c-wrap.c-home-hero-grid{max-width:1200px}main:has(>.c-home){padding-top:0}
.c-home-hero{background:linear-gradient(180deg,#f4f7fc 0%,#fff 100%);border-bottom:1px solid #edf1f7;padding:3.2rem 0 3rem}
.c-home-hero-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:2rem;align-items:center}
.c-home-copy h1{font-size:clamp(2rem,3.9vw,3.1rem);line-height:1.08;letter-spacing:-.02em;color:var(--navy);margin:0 0 1.1rem}
.c-home-copy h1 .c-hl-line{display:block;color:var(--blue)}
.c-home-lede{font-size:1.2rem;line-height:1.5;color:#26354d;max-width:34rem;margin:0 0 1.6rem}
.c-home-cta{font-size:1.2rem;padding:.85rem 2.6rem;border-radius:12px}
.c-home-trust{margin:1rem 0 0;color:#33445c;font-size:.98rem;display:flex;flex-wrap:wrap;gap:.25rem 1rem}
.c-home-vs{display:flex;flex-direction:column}
.c-home-vs-art{position:relative;min-height:250px;margin-bottom:1.1rem}
.c-home-glasses{position:absolute;right:-3.5rem;top:50%;transform:translateY(-50%);width:80%;-webkit-mask-image:radial-gradient(ellipse 60% 56% at 58% 52%,#000 45%,transparent 80%);mask-image:radial-gradient(ellipse 60% 56% at 58% 52%,#000 45%,transparent 80%)}
.c-home-glasses img{display:block;width:100%;height:auto}
.c-home-ring-wrap{position:relative;margin:0;width:230px;text-align:center;z-index:1}
.c-home-ring{display:block;filter:drop-shadow(0 6px 18px rgba(10,31,68,.12))}
.c-home-example{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-top:.25rem}
.c-home-vs-h{font-size:1.55rem;font-weight:800;color:var(--navy);margin:0 0 .25rem;letter-spacing:-.01em}
.c-home-vs-p{margin:0 0 .5rem;color:#33445c;font-size:1.05rem}
.c-home-vs-link{font-weight:700;color:var(--blue);text-decoration:none;font-size:1.05rem}.c-home-vs-link:hover{text-decoration:underline}
.c-home-vs-photo img{width:100%;height:auto;border-radius:16px}
.c-home-benefits{padding:2.2rem 0 1rem}
.c-home-benefit-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.1rem}
.c-home-benefit{border:1px solid #e3e9f2;border-radius:14px;background:#fff;box-shadow:0 2px 10px rgba(10,31,68,.05);padding:1.4rem 1.1rem;text-align:center}
.c-home-benefit .c-icon{width:52px;height:52px;color:var(--blue);margin:0 auto .6rem;display:block}
.c-home-benefit h2{font-size:1.2rem;line-height:1.25;margin:0 0 .45rem;color:var(--navy)}.c-home-benefit p{margin:0;color:#33445c;font-size:.98rem}
.c-home-how{padding:2.4rem 0 1rem;text-align:center}.c-home-how>h2{font-size:clamp(1.7rem,3vw,2.3rem);color:var(--navy);margin:0 0 1.6rem}
.c-home-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:2.5rem}
.c-home-step{position:relative}
.c-home-step:not(:last-child)::after{content:"→";position:absolute;top:44px;right:-1.9rem;font-size:1.8rem;color:#9fb0c8}
.c-home-step-icon{position:relative;display:inline-grid;place-items:center;width:104px;height:104px;border-radius:50%;background:#eef3fb;margin-bottom:.9rem}
.c-home-step-icon .c-icon{width:48px;height:48px;color:var(--blue)}
.c-home-step-n{position:absolute;top:-4px;left:-4px;width:34px;height:34px;border-radius:50%;background:var(--blue);color:#fff;font-weight:800;display:grid;place-items:center;font-size:1rem}
.c-home-step h3{font-size:1.25rem;margin:0 0 .35rem;color:var(--navy)}.c-home-step p{margin:0 auto;color:#33445c;max-width:18rem}
.c-home-how-more{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.6rem 2rem;margin-top:1.6rem}
.c-home-how-more>a{font-weight:700;color:var(--blue);text-decoration:none}.c-home-sun{margin:0}
@media(max-width:980px){.c-home-hero-grid{grid-template-columns:1fr;gap:2rem}.c-home-vs{max-width:560px}.c-home-benefit-grid{grid-template-columns:repeat(2,1fr)}.c-home-glasses{right:0}}
@media(max-width:700px){.c-home-hero{padding:2rem 0 2rem}.c-home-lede{font-size:1.05rem}.c-home-cta{display:flex;justify-content:center;width:100%}
  .c-home-trust{font-size:.9rem}.c-home-vs-art{min-height:190px}.c-home-ring-wrap{width:170px}.c-home-ring{width:170px;height:170px}.c-home-glasses{width:62%}
  .c-home-benefit-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.c-home-benefit h2,.c-home-benefit p{overflow-wrap:break-word;hyphens:auto}.c-home-benefit{padding:1rem .7rem}.c-home-benefit .c-icon{width:40px;height:40px}.c-home-benefit h2{font-size:1.02rem}.c-home-benefit p{font-size:.88rem}
  .c-home-steps{grid-template-columns:1fr;gap:1.6rem}.c-home-step:not(:last-child)::after{content:"↓";top:auto;bottom:-1.55rem;right:50%;transform:translateX(50%);font-size:1.3rem}}
@media(max-width:400px){.c-home-benefit-grid{grid-template-columns:minmax(0,1fr)}}
/* Marketing V1 (ME-OD-07): on CMS articles the callout follows the article column. */
.cms-article-wrap>.c-vs-callout{max-width:760px;margin-left:auto;margin-right:auto}
/* Marketing V1: the eyeglasses photo bleeds right by design; clip it at the hero so no width scrolls sideways (1272 px found on staging). */
.c-home-hero{overflow-x:clip}
