:root{--blue:#167eb5;--ink:#173446;--muted:#617887;--bg:#f1f6f9;--line:#dce7ef;--white:#fff}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--bg);font:16px/1.55 system-ui,-apple-system,'Segoe UI',sans-serif}button,a,input{touch-action:manipulation}button{font:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}a{color:var(--blue)}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #e0a53d;outline-offset:4px}button:disabled{opacity:.45;cursor:default}header{background:white;border-bottom:1px solid var(--line);padding:18px max(20px,env(safe-area-inset-left));display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{text-decoration:none;color:var(--ink);font-size:21px;font-weight:800;letter-spacing:-1px}.brand span{color:var(--blue)}.label{font-size:10px;letter-spacing:1.5px;color:var(--muted);text-transform:uppercase}.app{max-width:600px;margin:auto;padding:28px 20px calc(25px + env(safe-area-inset-bottom))}h1,h2,h3,p{margin:0}h1{font-size:32px;line-height:1.15;letter-spacing:-1px;margin:10px 0 15px}h2{font-size:26px;line-height:1.2;letter-spacing:-.6px;margin:10px 0 14px}h3{font-size:16px}p{color:var(--muted);font-size:14px}.eyebrow{font-size:11px;color:var(--blue);letter-spacing:1.6px;font-weight:700;text-transform:uppercase}.card{background:white;border:1px solid var(--line);border-radius:18px;padding:22px;margin:20px 0}.introicon{width:60px;height:60px;border-radius:18px;background:#e2f1fa;color:var(--blue);display:grid;place-items:center;font-size:30px}.primary,.secondary,.option{min-height:52px;width:100%;border-radius:12px;border:0;padding:14px 16px;font:inherit;font-weight:650;display:flex;align-items:center;justify-content:center;gap:12px;text-decoration:none}.primary{background:var(--blue);color:white}.primary:hover{background:#086599}.secondary{background:white;border:1px solid var(--line);color:var(--ink)}.stack{display:grid;gap:10px;margin-top:20px}.note{font-size:12px;background:#e9f1f6;border-radius:10px;padding:14px;margin-top:18px;color:#4c6577}.meta{display:flex;gap:15px;font-size:11px;color:var(--muted);margin:20px 0}.tests{display:grid;grid-template-columns:1fr 1fr;gap:10px}.test{border:1px solid var(--line);padding:16px;border-radius:12px;background:white;text-align:left;color:var(--ink);min-height:105px}.test b{display:block;margin:7px 0 2px}.test small{color:var(--muted);font-size:11px}.test span{color:var(--blue);font-size:22px}.test:hover{border-color:var(--blue)}.topline{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.linkbutton{border:0;padding:8px;background:none;color:var(--muted);font-size:13px;min-height:44px}.progress{height:5px;background:#d9e5ee;border-radius:5px;overflow:hidden;margin-bottom:25px}.progress i{display:block;background:var(--blue);height:100%;transition:width .2s}.steptext{font-size:12px;color:var(--muted)}.eyeinfo{display:flex;gap:14px;align-items:center;background:#e3f0f9;border:1px solid #cde4f5;border-radius:12px;padding:16px;margin:20px 0}.eyeinfo .icon{font-size:28px}.eyeinfo strong{display:block;font-size:16px}.eyeinfo p{font-size:12px}.stimulus{background:#fff;border:1px solid var(--line);border-radius:16px;display:grid;place-items:center;width:100%;aspect-ratio:1.2;margin:20px 0;color:#111;overflow:hidden}.stimulus svg{width:88%;height:88%;max-width:280px;max-height:280px}.question{font-size:16px;font-weight:650;margin:18px 0 12px}.options{display:grid;gap:9px}.option{background:white;border:1px solid var(--line);color:var(--ink);justify-content:space-between;text-align:left;font-size:14px}.option:hover{border-color:var(--blue);background:#eaf5fc}.directions{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.directions button{height:58px;border:1px solid var(--line);background:white;color:var(--ink);border-radius:12px;font-size:27px}.directions .up{grid-column:2}.directions .left{grid-column:1}.directions .down{grid-column:2;grid-row:3}.directions .right{grid-column:3}.skip{margin-top:12px}.symbol-e{font-family:Arial,sans-serif;font-weight:900;line-height:1;color:#111}.check{display:flex;align-items:start;gap:12px;padding:15px 0;border-bottom:1px solid var(--line);font-size:14px;cursor:pointer}.check input{margin-top:4px;min-width:22px;height:22px;accent-color:var(--blue)}.measure{height:55px;border:2px solid var(--blue);border-radius:8px;background:repeating-linear-gradient(90deg,#e4f2fa 0px,#e4f2fa 9px,#c7dce9 10px);margin:25px auto 10px;max-width:100%}.range{width:100%;min-height:44px;accent-color:var(--blue)}.measurecaption{text-align:center;font-size:11px}.stat{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.stat div{background:#e7f1f7;padding:16px;border-radius:12px}.stat strong{font-size:26px;display:block}.stat small{font-size:11px;color:var(--muted)}.result{border:1px solid var(--line);border-radius:14px;padding:18px;background:white;margin-top:12px}.result h3{padding-bottom:12px;border-bottom:1px solid var(--line)}.resultrow{display:flex;justify-content:space-between;gap:15px;font-size:12px;padding-top:12px}.resultrow span{color:var(--muted);text-align:right;max-width:68%}.foot{text-align:center;font-size:11px;margin-top:24px;color:var(--muted)}.backrow{display:flex;justify-content:space-between;margin-top:14px}.dialog{position:fixed;inset:0;background:#143045aa;display:grid;place-items:center;padding:20px;z-index:10}.dialog .card{max-width:420px}.hidden{display:none}footer{text-align:center;padding:10px 20px 25px;font-size:11px;color:var(--muted)}.offline{font-size:10px;color:var(--muted)}@media(min-width:850px){.app{max-width:680px;padding-top:40px}header{padding:20px max(35px,calc((100vw - 1100px)/2))}.stimulus{aspect-ratio:1.6}.tests{grid-template-columns:repeat(4,1fr)}h1{font-size:38px}}@media(max-width:360px){.app{padding:20px 14px}header{padding:16px 14px}.label{font-size:9px}h1{font-size:29px}.card{padding:18px}.tests{gap:8px}.test{padding:12px}.meta{gap:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}@media print{header,footer,.noprint,.topline,.progress{display:none!important}body{background:white}.app{max-width:none;padding:0}.card,.result{break-inside:avoid}.resultrow{font-size:13px}.note{border:1px solid #ccc}}

.swatches{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:15px}.swatch{height:100px;border:3px solid transparent;border-radius:12px;display:grid;place-items:end center;padding:9px;color:white}.swatch[aria-pressed="true"]{border-color:#162f43;outline:3px solid #fff;outline-offset:-6px}.swatch span{background:#1236;border-radius:50%;width:24px;height:24px;font-size:11px;display:grid;place-items:center}.coloranchors{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}@media(min-width:850px){.tests{grid-template-columns:repeat(3,1fr)}}
.brand img{display:block;width:128px;height:auto}.seo-content,.landing{max-width:680px;margin:auto;padding:26px 20px}.landing h1{font-size:clamp(30px,6vw,42px)}.landing p,.seo-content p{line-height:1.75;margin:12px 0}.seo-content h2{margin-top:32px}.seo-content h3{margin-top:22px}.seo-content li{font-size:14px;color:var(--muted);margin:10px 0}.seo-content summary{cursor:pointer;font-weight:650;padding:16px 0}.seo-content details{border-bottom:1px solid var(--line)}.shop-photo{width:100%;height:auto;border-radius:14px;margin-top:15px}.testing .seo-content,.testing .landing{display:none}.breadcrumb{font-size:12px;margin-bottom:20px}.app{scroll-margin-top:10px}.skip-link{position:absolute;left:15px;top:-100px}.skip-link:focus{top:10px;background:white;padding:10px;z-index:20}@media print{.seo-content,.landing{display:none!important}}
/* Active tests use the visible viewport; long content remains scrollable with zoom. */
body.testing header,body.testing>footer{display:none}body.testing{background:#f1f6f9}body.testing .app{height:100svh;height:100dvh;max-width:620px;padding:8px 16px max(8px,env(safe-area-inset-bottom));display:flex;flex-direction:column;overflow-y:auto;overscroll-behavior:contain}body.testing .app>*{flex-shrink:0}body.testing .topline{margin:0;min-height:36px}body.testing .topline .linkbutton{font-size:12px;min-height:36px;padding:5px 8px}body.testing .progress{margin:0 0 10px;height:4px}body.testing h2{font-size:23px;margin:6px 0 8px;line-height:1.15}body.testing p{font-size:13px;line-height:1.4}body.testing .eyebrow{font-size:10px;letter-spacing:1px}body.testing .stimulus{flex:1 1 auto;min-height:80px;aspect-ratio:auto;margin:12px 0;max-height:none;position:relative}body.testing .stimulus>svg{position:absolute;max-width:230px;max-height:230px;width:85%;height:85%}body.testing .directions{gap:6px}body.testing .directions button{height:44px;font-size:25px}body.testing .primary,body.testing .secondary,body.testing .option{min-height:44px;padding:10px 14px;font-size:14px}body.testing .skip{margin-top:8px}body.testing .backrow{margin-top:2px;min-height:36px}body.testing .backrow .linkbutton{min-height:36px;font-size:12px}body.testing .card{padding:16px;margin:12px 0}body.testing .stack{margin-top:12px;gap:8px}body.testing .check{font-size:13px;padding:10px 0}body.testing .check input{margin-top:0}body.testing .foot{margin-top:12px;font-size:11px}body.testing .note{margin-top:10px;padding:10px;font-size:11px}body.testing .eyeinfo{padding:12px;margin:12px 0}body.testing .question{font-size:14px;margin:0 0 8px}body.testing .options{gap:6px}body.testing .measure{margin:16px auto 8px}body.testing .measurecaption{font-size:11px}.color-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.color-choice{height:68px;border:2px solid white;border-radius:12px;box-shadow:0 0 0 1px #c5d7e4;display:grid;place-items:center}.color-choice span{display:grid;place-items:center;width:25px;height:25px;background:#fff;color:#173446;border-radius:50%;font-size:13px;font-weight:700}.color-model{width:110px;height:110px;border-radius:20px;display:grid;place-items:center}.color-model span{font-size:10px;letter-spacing:1.5px;background:white;color:#173446;border-radius:20px;padding:4px 9px}body.testing .dialog .card{max-height:85dvh;overflow:auto}.answering .app>.backrow{margin-bottom:0}
@media(max-height:620px){body.testing h2{font-size:20px}body.testing .stimulus{margin:7px 0;min-height:65px}body.testing .progress{margin-bottom:6px}body.testing .card{padding:12px;margin:8px 0}body.testing .eyeinfo{margin:8px 0}.color-model{width:85px;height:85px}.color-choice{height:52px}body.testing .directions button{height:44px}}
@media print{body.testing .app{height:auto;overflow:visible;display:block}}
