@font-face{font-family:Visus;src:local('Arial')}*{box-sizing:border-box}html{scroll-behavior:smooth}body{--bg:#fff;--fg:#111;--muted:#686868;--line:#ddd;--soft:#f6f6f4;--faint:#eee;margin:0;background:var(--bg);color:var(--fg);font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.5}body.dark{--bg:#101010;--fg:#fff;--muted:#aaa;--line:#424242;--soft:#1b1b1b;--faint:#333}button,input,select{font:inherit;color:inherit}button,a,input,select{ -webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer;background:none;border:0}button:disabled{opacity:.35;cursor:not-allowed}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--fg);outline-offset:5px}button:focus-visible{background:var(--soft)}input,select{border:1px solid var(--line);background:var(--bg);border-radius:5px;padding:12px;width:100%;min-height:46px}input[type=checkbox]{width:22px;min-height:22px;accent-color:var(--fg)}input[type=range]{padding:0;accent-color:var(--fg)}label{display:block;font-size:13px;font-weight:600;margin:12px 0 7px}.topbar{height:96px;border-bottom:1px solid var(--line);padding:0 4.2%;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand{display:flex;align-items:center;gap:12px;text-decoration:none}.brand b{font-size:30px;letter-spacing:-1.7px;line-height:1}.brand small{display:block;font-size:8px;letter-spacing:2px;margin-top:7px;font-weight:400}.brandmark{width:38px;height:38px}.topnav{display:flex;align-items:center;gap:25px}.topnav button{padding:10px 0;font-size:13px}.topnav .active{font-weight:bold;border-bottom:1px solid var(--fg)}.header-right{display:flex;gap:12px;align-items:center}.iconbtn{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);border-radius:50%}.lang{font-size:12px;font-weight:bold;padding:8px}.shell{max-width:1600px;margin:auto;padding:0 5.8%}.eyebrow{font:11px ui-monospace,'Courier New',monospace;text-transform:uppercase;letter-spacing:2px;display:flex;align-items:center;gap:10px}.dot{width:6px;height:6px;background:var(--fg);border-radius:50%;display:inline-block}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:7%;padding:66px 0 48px;align-items:center}.hero h1{font-size:clamp(44px,5.5vw,80px);line-height:1.04;letter-spacing:-4px;font-weight:500;margin:26px 0}.hero h1 span{color:var(--muted)}.hero p{font-size:16px;max-width:440px;color:var(--muted);line-height:1.7}.actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:26px}.btn{min-height:46px;padding:12px 19px;border:1px solid var(--line);border-radius:5px;display:inline-flex;align-items:center;justify-content:center;gap:12px;font-size:13px;font-weight:600;text-decoration:none;background:var(--bg)}.btn.primary{background:var(--fg);color:var(--bg);border-color:var(--fg)}.btn.primary:focus-visible{outline-color:var(--fg)}.btn:hover{border-color:var(--fg)}.textbtn{padding:10px 0;font-size:13px;text-decoration:underline;text-underline-offset:5px}.hero .subnote{font-size:11px;margin-top:20px;display:flex;gap:7px;align-items:center;color:var(--muted)}.hero-board{height:346px;border:1px solid var(--line);border-radius:9px;position:relative;overflow:hidden;background:var(--bg)}.board-caption{position:absolute;left:21px;right:21px;top:15px;display:flex;justify-content:space-between;font:9px ui-monospace,monospace;letter-spacing:1.5px;color:var(--muted)}.decor-chart{display:flex;flex-direction:column;align-items:center;gap:18px;margin:50px 0 34px}.decor-row{display:flex;gap:26px;align-items:center;justify-content:center}.board-bottom{position:absolute;bottom:14px;left:21px;right:21px;border-top:1px solid var(--line);padding-top:9px;font:9px ui-monospace,monospace;letter-spacing:1px;display:flex;justify-content:space-between;color:var(--muted)}.corner{position:absolute;width:12px;height:12px;border:solid var(--fg);border-width:1px 0 0 1px;left:12px;top:34px}.corner.r{left:auto;right:12px;transform:rotate(90deg)}.section-title{display:flex;align-items:end;justify-content:space-between;margin:14px 0 21px}.section-title h2{font-weight:500;font-size:24px;letter-spacing:-.7px;margin:0}.section-title p{font-size:12px;color:var(--muted);margin:0}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.test-card{position:relative;text-align:left;border:1px solid var(--line);border-radius:7px;padding:23px;min-height:184px;display:flex;flex-direction:column;align-items:start;background:var(--bg);transition:border-color .15s,background .15s}.test-card:hover{border-color:var(--fg);background:var(--soft)}.card-top{display:flex;align-items:center;justify-content:space-between;width:100%;margin-bottom:20px;height:37px}.card-number{font:10px ui-monospace,monospace;color:var(--muted)}.test-card h3{font-size:17px;letter-spacing:-.4px;margin:0 0 6px;font-weight:600}.test-card p{font-size:12px;color:var(--muted);max-width:260px;margin:0;line-height:1.6}.card-arrow{position:absolute;right:20px;bottom:23px;font-size:18px}.cal-banner{display:flex;align-items:center;gap:22px;background:var(--soft);border:1px solid var(--line);border-radius:7px;padding:23px 26px;margin:26px 0 36px}.cal-banner h3{font-size:14px;margin:0 0 3px}.cal-banner p{font-size:12px;margin:0;color:var(--muted)}.cal-banner .btn{margin-left:auto;white-space:nowrap}.cal-icon{font-size:26px}.home-meta{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:21px 0;gap:20px;font-size:11px;color:var(--muted)}footer{padding:23px 5.8%;border-top:1px solid var(--line);display:flex;gap:22px;align-items:center;font-size:11px;color:var(--muted)}footer .version{margin-right:auto;font:10px ui-monospace,monospace;letter-spacing:1px}footer button{font-size:11px;padding:7px}.workspace{padding:24px 5.8% 30px}.workspace-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.workspace-head h1{font-size:28px;letter-spacing:-1px;font-weight:500;margin:0}.back{font-size:12px;padding:8px 0;margin-bottom:10px;color:var(--muted)}.chips{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.chip{padding:8px 12px;background:var(--soft);border:1px solid var(--line);border-radius:4px;font-size:12px}.toolbar{display:flex;gap:15px;align-items:end;border:1px solid var(--line);border-radius:7px;padding:15px 20px;margin-bottom:18px;flex-wrap:wrap}.toolbar label{font-size:10px;color:var(--muted);margin:0 0 5px;text-transform:uppercase;letter-spacing:1px}.toolbar select{min-height:40px;padding:8px 28px 8px 10px;font-size:12px}.toolbar .field{min-width:140px}.toolbar .grow{margin-left:auto}.toggle{display:flex;border:1px solid var(--line);border-radius:4px;padding:3px}.toggle button{padding:8px 12px;font-size:12px;border-radius:3px;min-height:35px}.toggle .chosen{background:var(--fg);color:var(--bg)}.test-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px}.stage{border:1px solid var(--line);border-radius:7px;position:relative;overflow:hidden;background:var(--bg);min-height:420px}.stage-label{position:absolute;left:20px;right:20px;top:15px;display:flex;justify-content:space-between;font:10px ui-monospace,monospace;letter-spacing:1px;color:var(--muted)}.single-stage{height:440px;display:flex;align-items:center;justify-content:center;padding:50px 20px}.single-target{display:flex;align-items:center;justify-content:center;background:var(--bg);border:0;padding:0;min-width:50px;min-height:50px}.stage-note{position:absolute;bottom:14px;left:20px;right:20px;text-align:center;font:10px ui-monospace,monospace;color:var(--muted)}.answer-panel{border:1px solid var(--line);border-radius:7px;display:flex;flex-direction:column;min-height:420px;padding:22px;text-align:center;background:var(--bg)}.answer-panel h2{font:10px ui-monospace,monospace;letter-spacing:2px;margin:0;text-transform:uppercase;font-weight:400}.answer-content{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:235px}.answer-content .placeholder{font-size:80px;line-height:1;color:var(--line);font-weight:300}.answer-content p{font-size:11px;color:var(--muted);max-width:180px}.answer-panel .btn{width:100%}.controlbar{display:flex;gap:10px;margin-top:16px;flex-wrap:wrap;align-items:center}.controlbar .push{margin-left:auto}.scale-label{font:12px ui-monospace,monospace;padding:0 6px}.notice{border-left:2px solid var(--fg);padding:10px 15px;background:var(--soft);font-size:12px;color:var(--muted);margin:16px 0;line-height:1.7}.chart-stage{height:min(57vh,590px);min-height:330px;padding:42px 18px 30px}.chart-rows{height:100%;display:flex;flex-direction:column;justify-content:center;gap:0}.chart-row{display:flex;align-items:center;justify-content:center;gap:0;flex-shrink:0;position:relative}.row-label{font:10px ui-monospace,monospace;width:66px;flex-shrink:0;color:var(--muted);text-align:right;padding-right:14px}.row-signs{display:flex;justify-content:center;align-items:center;flex:1;gap:0}.optotype{display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative;padding:0;background:var(--bg);border:0;border-radius:0;min-width:44px;min-height:44px}.optotype.selected:after,.optotype:focus:after{content:'';position:absolute;inset:2px;border:1px dashed var(--fg);pointer-events:none}.optotype:focus-visible{outline:2px solid var(--fg);outline-offset:0}.optotype:focus-visible{background:var(--bg)}.row-mark{width:24px;font-size:14px;align-self:center;padding:4px}.chart-page{font:10px ui-monospace,monospace;color:var(--muted)}.row-actions{border-top:1px solid var(--line);padding-top:14px;margin-top:14px;display:flex;flex-wrap:wrap;gap:8px}.row-actions .btn{font-size:11px;padding:10px 13px;min-height:40px}.blocked{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:24px;text-align:center;font-size:12px;color:var(--muted)}.direction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:12px 0}.direction-grid button{border:1px solid var(--line);border-radius:4px;font-size:24px;min-height:48px}.direction-grid .empty{visibility:hidden}.result-line{font-size:12px;margin:10px 0;min-height:22px}.doc{max-width:820px;margin:35px auto 65px}.doc h1{font-size:44px;letter-spacing:-1.5px;line-height:1.15}.doc h2{font-size:20px;margin-top:32px;letter-spacing:-.4px}.doc p,.doc li{font-size:14px;line-height:1.8;color:var(--muted)}.doc .lead{font-size:19px}.doc details{border-top:1px solid var(--line);padding:20px 0}.doc summary{font-size:16px;cursor:pointer}.doc table,.summary-table{width:100%;border-collapse:collapse;font-size:13px}.doc td,.doc th,.summary-table td,.summary-table th{text-align:left;border-bottom:1px solid var(--line);padding:13px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.panel{padding:25px;border:1px solid var(--line);border-radius:7px}.panel h2{font-size:19px;letter-spacing:-.5px;margin:0 0 18px}.panel p{font-size:13px;color:var(--muted)}.panel .eyebrow{margin-bottom:15px}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.field-inline{display:flex;align-items:center;gap:10px}.profile-item{border-bottom:1px solid var(--line);padding:12px 0;display:flex;align-items:center;gap:10px}.profile-item span{flex:1}.profile-item small{display:block;color:var(--muted);font-size:11px}.profile-item button{font-size:12px;padding:10px}.compare-setup{max-width:950px;margin:0 auto}.compare-progress{height:3px;background:var(--line);margin:18px 0}.compare-progress span{display:block;height:100%;background:var(--fg)}.ratings{display:flex;gap:10px;margin-top:20px}.ratings .btn{flex:1}.glasses-list{display:grid;gap:8px}.glass-row{display:flex;gap:8px}.glass-row .btn{min-width:44px}.modal-backdrop{position:fixed;inset:0;background:#0007;z-index:100;display:flex;align-items:center;justify-content:center;padding:25px}.modal{background:var(--bg);border:1px solid var(--line);border-radius:10px;width:min(760px,100%);max-height:90vh;overflow:auto;padding:30px;box-shadow:0 20px 100px #0003}.modal-head{display:flex;justify-content:space-between;align-items:start;gap:20px}.modal h2{font-size:28px;letter-spacing:-1px;font-weight:500;margin:0 0 10px}.modal p{font-size:13px;color:var(--muted)}.cal-ruler{height:130px;display:flex;align-items:center;justify-content:center;overflow:auto;border:1px dashed var(--line);margin:18px 0;background:var(--soft)}.credit-card{height:90px;border:2px solid var(--fg);border-radius:8px;display:flex;align-items:center;justify-content:center;font:13px ui-monospace,monospace;flex-shrink:0;background:var(--bg)}.cal-controls{display:grid;grid-template-columns:auto 1fr auto;gap:12px;align-items:center}.cal-controls input{min-width:0}.cal-controls button{min-width:48px}.distance-presets{display:flex;gap:7px;flex-wrap:wrap;margin:15px 0}.distance-presets .btn{padding:9px 13px;min-height:40px}.stack{display:grid;gap:12px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:var(--fg);color:var(--bg);padding:12px 20px;border-radius:5px;z-index:200;font-size:13px;max-width:90vw;display:none}#toast.visible{display:block}.fullscreen .topbar,.fullscreen footer{display:none}.fullscreen .shell{max-width:none;padding:0 3%}.fullscreen .chart-stage{height:67vh}.fullscreen .workspace{padding-top:10px}.fullscreen .back{display:none}.full-notice{font-size:11px;color:var(--muted)}.empty-state{padding:32px;text-align:center;color:var(--muted);font-size:13px}.table-wrap{overflow:auto}.update{position:fixed;bottom:20px;right:20px;z-index:99}.privacy-save{display:flex;align-items:center;gap:10px;margin-top:20px;font-size:13px}.hidden{display:none!important}
@media(min-width:1800px){body{font-size:18px}.topbar{height:112px}.topnav button{font-size:16px}.hero{padding-top:90px}.hero-board{height:400px}.decor-chart{margin-top:75px}.test-card{min-height:210px}.test-card h3{font-size:20px}.test-card p{font-size:14px}.btn{min-height:54px;font-size:16px}.single-stage,.answer-panel{min-height:520px}.toolbar select{font-size:15px}.topnav{gap:35px}}
@media(max-width:1000px){.topnav{gap:14px}.topnav button{font-size:12px}.shell{padding:0 4%}.hero{gap:4%;padding-top:45px}.hero h1{letter-spacing:-2.5px}.hero-board{height:310px}.test-layout{grid-template-columns:minmax(0,1fr) 230px}.answer-panel{padding:18px}.cards{gap:10px}.test-card{padding:19px}.card-arrow{right:15px}.test-card p{padding-right:12px}.hero .subnote{font-size:10px}}
@media(max-width:700px){.topbar{height:76px;padding:0 5%;gap:10px}.brand b{font-size:25px}.brand small{font-size:6px}.brandmark{width:31px}.topnav{display:none}.header-right{gap:6px}.iconbtn{width:38px;height:38px}.shell{padding:0 5%}.hero{grid-template-columns:1fr;padding:35px 0 28px;gap:28px}.hero h1{font-size:49px;letter-spacing:-2.7px;margin:22px 0}.hero p{font-size:14px}.hero-board{height:285px}.decor-chart{gap:14px;margin-top:47px}.decor-row{gap:23px}.hero .actions{margin-top:20px}.section-title{align-items:start;gap:14px}.section-title h2{font-size:23px}.section-title p{max-width:120px;font-size:10px;text-align:right}.cards{grid-template-columns:1fr 1fr;gap:10px}.test-card{padding:17px;min-height:190px}.test-card h3{font-size:15px}.test-card p{font-size:11px;padding:0}.card-top{margin-bottom:16px}.card-arrow{display:none}.cal-banner{padding:19px;gap:14px;flex-wrap:wrap}.cal-banner .btn{margin:0;width:100%}.cal-banner>div{flex:1}.home-meta{font-size:10px;flex-wrap:wrap}.workspace-head{align-items:start;margin-bottom:15px}.workspace-head h1{font-size:24px}.chips{gap:6px}.chip{font-size:10px;padding:7px 8px}.toolbar{padding:12px;gap:10px}.toolbar .field{flex:1;min-width:110px}.toolbar .grow{margin:0}.test-layout{grid-template-columns:1fr;gap:12px}.single-stage{min-height:280px;height:36vh}.stage{min-height:270px}.answer-panel{min-height:185px;padding:18px;display:grid;grid-template-columns:1fr 140px;column-gap:12px;align-items:center}.answer-panel h2{grid-column:1;text-align:left;align-self:start}.answer-content{grid-column:2;grid-row:1/4;min-height:140px}.answer-content svg{max-width:135px;max-height:135px}.answer-panel .btn{grid-column:1;font-size:12px}.answer-panel .answer-hint{display:none}.answer-content p{font-size:10px}.answer-content .placeholder{font-size:60px}.controlbar{gap:8px}.controlbar .btn{font-size:11px;padding:11px 13px}.controlbar .push{margin-left:0}.scale-label{font-size:11px}.chart-stage{height:44vh;min-height:300px;padding:40px 8px 25px}.row-label{width:46px;font-size:9px;padding-right:5px}.row-mark{width:20px}.row-actions .btn{flex:1}.settings-grid,.form-grid{grid-template-columns:1fr}.panel{padding:20px}.doc h1{font-size:34px}.doc{margin-top:25px}.doc p,.doc li{font-size:13px}.modal-backdrop{padding:12px}.modal{padding:22px;max-height:94vh}.modal h2{font-size:25px}.cal-ruler{justify-content:start;padding:10px}.cal-controls .btn{padding:10px;min-width:44px}footer{gap:10px;flex-wrap:wrap;padding:18px 5%}footer .version{width:100%;margin:0}.ratings{gap:6px}.ratings .btn{font-size:11px;padding:10px}.fullscreen .chart-stage{height:48vh}.fullscreen .answer-panel{min-height:150px}.summary-table td,.summary-table th{padding:10px;white-space:nowrap}.direction-grid{grid-column:1/3}.answer-panel .result-line{grid-column:1}.answer-panel .next-answer{grid-column:1/3}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

@media(max-width:1000px){.workspace{padding:24px 4% 30px}}@media(max-width:700px){.workspace{padding:20px 5% 26px}}

.answer-panel.answering .answer-content{min-height:135px}.answer-panel.answering .answer-content svg{max-height:130px;max-width:130px}.answer-panel.answering .direction-grid{margin:10px 0}.answering .direction-grid button{min-height:44px}.answer-panel.answering .answer-hint{font-size:10px;margin:5px 0}.answer-panel.answering .result-line{margin:4px 0;font-size:10px}

.answer-content svg{max-width:100%}@media(min-width:1800px){.test-layout{grid-template-columns:minmax(0,1fr) 400px}}
@media(min-width:2800px){body{font-size:24px}.shell{max-width:2800px}.topbar{height:160px}.brand b{font-size:48px}.brand small{font-size:13px}.brandmark{width:64px;height:64px}.topnav button,.lang{font-size:23px}.topnav{gap:44px}.iconbtn{width:64px;height:64px}.btn{font-size:22px;min-height:70px;padding:17px 27px}.hero h1{font-size:116px}.hero p{font-size:25px;max-width:700px}.hero-board{height:520px}.hero .subnote{font-size:17px}.section-title h2{font-size:40px}.section-title p{font-size:19px}.test-card{padding:35px;min-height:295px}.test-card h3{font-size:29px}.test-card p{font-size:20px;max-width:450px}.card-top{height:55px;margin-bottom:30px}.card-top svg{min-width:42px;min-height:42px}.eyebrow{font-size:17px}.cal-banner h3{font-size:23px}.cal-banner p{font-size:20px}.home-meta,footer{font-size:17px}.workspace-head h1{font-size:46px}.back,.chip{font-size:20px}.chip{padding:13px 20px}.workspace-head{margin-bottom:30px}.toolbar{padding:22px 30px;gap:28px}.toolbar label{font-size:17px}.toolbar select{font-size:22px;min-height:60px}.toggle button{font-size:22px;padding:14px 22px}.test-layout{grid-template-columns:minmax(0,1fr) 500px;gap:28px}.single-stage{height:850px}.chart-stage{height:min(60vh,1100px);padding:60px 30px 45px}.stage-label,.stage-note{font-size:17px}.stage-label{top:23px;left:30px;right:30px}.stage-note{bottom:22px}.answer-panel{padding:35px}.answer-panel h2{font-size:17px}.answer-content p{font-size:19px;max-width:360px}.answer-panel .answer-hint{font-size:17px!important}.row-label{font-size:17px;width:100px}.row-mark{width:35px;font-size:24px}.notice{font-size:19px;padding:15px 22px}.scale-label,.chart-page{font-size:20px}.controlbar{gap:16px;margin-top:24px}.row-actions{padding-top:22px;margin-top:22px;gap:14px}.row-actions .btn{font-size:19px;min-height:60px}.direction-grid button{min-height:75px!important}.answer-panel.answering .answer-content{min-height:230px}.answer-panel.answering .answer-content svg{max-width:240px;max-height:240px}.answer-panel.answering .result-line{font-size:18px}.panel{padding:38px}.panel h2{font-size:30px}.panel p{font-size:20px}.doc{max-width:1200px}.doc h1{font-size:65px}.doc h2{font-size:30px}.doc p,.doc li{font-size:21px}.summary-table{font-size:21px}.modal{width:1100px;padding:45px}.modal h2{font-size:40px}.modal p,label{font-size:21px}.modal input,.modal select{min-height:65px;font-size:24px}}

.cal-method{margin:16px 0;max-width:100%;flex-wrap:wrap}.cal-intro{font-size:14px!important;line-height:1.7}.cal-steps{padding-left:24px;margin:15px 0;font-size:13px;line-height:1.7}.cal-steps li{padding-left:5px;margin:8px 0}.cal-buttons{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cal-fine{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin:6px 0 18px}.cal-fine>span{font-size:11px;color:var(--muted)}.cal-fine .btn{font-size:11px;min-height:40px;padding:9px 12px}.cal-edge-hint{text-align:center;font-size:11px;color:var(--muted);margin-top:-9px}.cal-width-note{font-size:11px!important;line-height:1.6}.cal-advanced{padding:13px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:16px 0}.cal-advanced summary{cursor:pointer;font-size:12px;padding:6px 0}.cal-advanced input{margin-bottom:10px}#cal-slider{margin:14px 0;min-height:32px}.cal-ruler{justify-content:flex-start;padding-left:16px}.cal-ruler .credit-card{height:70px;border-radius:5px;font-size:13px}.cal-ruler .credit-card span{pointer-events:none}@media(max-width:700px){.cal-method button{font-size:11px;padding:8px}.cal-steps{font-size:12px}.cal-buttons .btn{font-size:12px;padding:12px}.cal-fine{gap:6px}.cal-fine>span{width:100%}.cal-fine .btn{flex:1}.cal-ruler{margin:14px 0;height:110px}.cal-edge-hint{font-size:10px}.cal-advanced .btn{font-size:11px}.cal-steps li{margin:6px 0}}@media(min-width:2800px){.cal-intro{font-size:22px!important}.cal-steps{font-size:20px}.cal-width-note{font-size:18px!important}.cal-edge-hint{font-size:17px}.cal-fine>span,.cal-advanced summary{font-size:18px}.cal-fine .btn{font-size:17px;min-height:55px}.cal-ruler{height:160px}}

.cal-ruler.card-reference{height:auto;min-height:130px;padding:16px;align-items:flex-start}.cal-ruler.card-reference .credit-card{flex-shrink:0}

/* Visible full-screen controls and remote-friendly dialogs. */
.fullscreen-button{white-space:nowrap;gap:8px;min-height:42px;padding:9px 13px;font-size:12px}.full-exit{position:fixed;right:20px;top:14px;z-index:90}.full-exit .btn{box-shadow:0 2px 12px #0002}.fullscreen .workspace-head{padding-right:180px}.fullscreen .hero{padding-top:64px}.modal{display:flex;flex-direction:column;overflow:hidden;max-height:90vh;max-height:90dvh;padding:24px}.modal-head{flex-shrink:0;gap:14px;padding-bottom:15px}.modal-body{overflow-y:auto;overflow-x:hidden;min-height:0;flex:1 1 auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-gutter:stable;padding:0 7px 10px 0;-webkit-overflow-scrolling:touch}.modal-footer{flex-shrink:0;border-top:1px solid var(--line);padding-top:12px;background:var(--bg)}.modal-scroll-buttons{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:10px}.modal-footer-actions{display:flex;gap:10px;align-items:center}.modal-footer-actions>.btn{flex:1}.modal-scroll-buttons .btn{font-size:12px;min-height:43px;padding:9px 12px}.modal-footer-actions .btn{font-size:12px;min-height:43px;padding:10px 12px}.modal-body:focus-visible{outline:2px solid var(--fg);outline-offset:-2px}.fullscreen .doc{padding-top:35px}
@media(max-width:700px){.topbar{height:auto;min-height:76px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px;row-gap:12px}.header-right{flex-wrap:wrap;justify-content:flex-end;margin-left:auto}.header-right .fullscreen-button{font-size:11px;min-height:38px;padding:7px 9px}.modal{padding:16px;max-height:94vh;max-height:94dvh}.modal h2{font-size:21px;line-height:1.2}.modal-head{padding-bottom:10px}.modal-head .iconbtn{flex-shrink:0}.modal-footer-actions .btn,.modal-scroll-buttons .btn{font-size:11px;padding:9px 7px;min-height:42px;white-space:normal}.modal-footer-actions{align-items:stretch}.modal-footer{padding-top:9px}.modal-scroll-buttons{gap:7px;margin-bottom:7px}.full-exit{top:8px;right:10px}.fullscreen .workspace-head{padding-right:0;padding-top:46px}.fullscreen .hero{padding-top:64px}}
@media(min-width:1800px){.fullscreen-button{font-size:16px;min-height:52px;padding:11px 18px}.modal-footer-actions .btn,.modal-scroll-buttons .btn{font-size:16px;min-height:52px}.full-exit{right:30px;top:20px}.fullscreen .workspace-head{padding-right:240px}}
@media(min-width:2800px){.fullscreen-button{font-size:22px;min-height:66px;padding:15px 22px}.modal{padding:35px}.modal-head{padding-bottom:24px}.modal-footer-actions .btn,.modal-scroll-buttons .btn{font-size:21px;min-height:66px}.modal-footer{padding-top:18px}.modal-scroll-buttons{gap:16px;margin-bottom:14px}.full-exit{right:42px;top:25px}.fullscreen .workspace-head{padding-right:340px}}

.paged-document{height:100%;min-height:0;display:flex;flex-direction:column;margin:0 auto!important;padding:14px 0;overflow:hidden}.document-pages{flex:1;min-height:0;overflow:hidden}.document-controls{flex-shrink:0;display:flex;gap:14px;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid var(--line)}.document-controls>span{font:12px ui-monospace,monospace}.paged-document h1{font-size:32px;margin:12px 0}.paged-document h2{font-size:20px;margin:14px 0 8px}.paged-document p,.paged-document li{font-size:13px;line-height:1.65}.paged-document .lead{font-size:18px}.modal-page .choice-grid{width:100%}.modal-scroll-buttons .btn{min-height:40px}.modal-page .wizard-step{font:11px ui-monospace,monospace;color:var(--muted);margin:0 0 10px}.modal-page .cal-ruler.card-reference{flex-shrink:0}.settings-tabs{flex-wrap:wrap}.modal-body .wizard-lead{margin:10px 0 15px}@media(max-width:700px){.paged-document h1{font-size:26px}.paged-document h2{font-size:17px}.paged-document p,.paged-document li{font-size:12px}.document-controls .btn{font-size:11px;min-height:40px;padding:9px 12px}.settings-tabs button{padding:7px 10px}.modal-page .choice-grid.four{grid-template-columns:repeat(2,1fr)}}

.simple-heading{display:flex;align-items:center;gap:18px}.simple-heading .back{margin:0}.compare-setup{display:flex;flex-direction:column;min-height:0;flex:1;width:100%}.compare-setup #compare-form{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.comparison-pages{flex:1;min-height:0;overflow:hidden}.comparison-controls{flex-shrink:0;display:flex;gap:12px;align-items:center;justify-content:space-between;padding-top:12px}.comparison-controls>span{font:12px ui-monospace,monospace}.comparison-controls .btn{font-size:12px;min-height:42px}.comparison-pages .form-grid{grid-template-columns:1fr 1fr;width:100%}.comparison-pages .panel{width:100%}body[data-view=compare] main.workspace{display:flex;flex-direction:column;min-height:0}body[data-view=compare] main>.panel{overflow:hidden;min-height:0}.summary-table td,.summary-table th{overflow-wrap:anywhere}.table-wrap{overflow:hidden}.select-trigger:focus-visible{outline:3px solid var(--fg);outline-offset:3px}@media(max-width:700px){.simple-heading{gap:12px}.simple-heading h1{font-size:22px}.comparison-controls{gap:6px;flex-wrap:wrap}.comparison-controls .btn{font-size:10px;min-height:36px;padding:8px 10px}.comparison-pages .form-grid{grid-template-columns:1fr}.summary-table{table-layout:fixed;font-size:10px}.summary-table td,.summary-table th{padding:8px 5px;white-space:normal}.compare-setup .panel{padding:13px}}
/* Fixed viewport and remote-first controls. Test targets are never scaled. */
html,body{height:100%;overflow:hidden}#app{height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden}.topbar{height:70px;min-height:70px;padding:0 3%;flex-shrink:0;flex-wrap:nowrap}.topbar .brand b{font-size:27px}.topbar .brandmark{width:34px;height:34px}.header-right{flex-wrap:nowrap}.topbar .btn{font-size:15px;min-height:48px}.shell{width:100%;max-width:1800px;min-height:0;flex:1}.workspace{padding:14px 3%;overflow:hidden}.workspace-head{margin-bottom:12px;flex-shrink:0}.workspace-head h1{font-size:26px}.simple-heading{display:flex;align-items:center;gap:18px}.simple-heading .back{margin:0}footer{padding:6px 3%;min-height:32px;flex-shrink:0;font-size:10px}footer button{padding:4px;font-size:10px}footer .version{font-size:9px}.home-screen{display:flex;flex-direction:column;padding:20px 5%;gap:18px}.home-intro{flex:1;min-height:0;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:35px}.home-intro h1{font-size:clamp(36px,4.8vw,68px);line-height:1.05;letter-spacing:-2.5px;font-weight:500;margin:16px 0}.home-intro h1 span{color:var(--muted)}.home-intro p{max-width:500px;color:var(--muted);font-size:15px}.home-mini-chart{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px}.home-mini-chart>div{display:flex;gap:25px;justify-content:center}.home-choices{display:grid;grid-template-columns:1fr 1fr;gap:18px;flex:0 0 31%;min-height:150px}.main-choice{border:1px solid var(--line);border-radius:8px;padding:24px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:8px}.main-choice h2{font-size:28px;letter-spacing:-1px;font-weight:500;margin:0}.main-choice p{font-size:13px;color:var(--muted);margin:0;max-width:430px}.main-choice>span{display:flex;align-items:center;gap:12px;font-size:13px;font-weight:bold;margin-top:6px}.primary-choice{background:var(--fg);color:var(--bg);border-color:var(--fg)}.primary-choice p{color:inherit;opacity:.75}.primary-choice:focus-visible{background:var(--fg);color:var(--bg);outline-color:var(--fg)}.home-settings-strip{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid var(--line);padding-top:12px;font-size:12px;color:var(--muted);flex-shrink:0}.home-settings-strip .btn{font-size:12px;min-height:40px}.in-test .topbar,.in-test footer{display:none}.in-test .test-screen,.in-test .workspace{max-width:none;display:flex;flex-direction:column;gap:10px;padding:10px 2%;width:100%;height:100%;min-height:0}.test-headbar{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-shrink:0;min-height:50px}.test-headbar>div{display:flex;align-items:center;gap:12px}.test-headbar h1{font-size:26px;font-weight:500;letter-spacing:-.6px;margin:0;white-space:nowrap}.test-headbar .btn{font-size:15px;min-height:48px;padding:9px 13px}.test-condition{font-size:12px;color:var(--muted)}.in-test .test-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 230px;gap:12px}.in-test .stage{min-height:0;height:100%;border-radius:6px}.in-test .single-stage{padding:35px 18px}.in-test .chart-stage{padding:30px 8px 8px;height:100%;min-height:0}.in-test .chart-rows{height:100%;min-height:0}.in-test .stage-label{top:9px;left:14px;right:14px;font-size:10px}.in-test .stage-note{bottom:8px;font-size:10px}.in-test .answer-panel{min-height:0;height:100%;padding:16px;display:flex;flex-direction:column}.in-test .answer-content{min-height:0;flex:1;overflow:hidden}.in-test .answer-content svg{max-width:185px;max-height:80%}.in-test .answer-content p{font-size:11px}.in-test .answer-hint{display:none}.in-test .answer-panel .btn{font-size:15px;min-height:48px}.in-test .answer-panel.answering .answer-content{min-height:0}.in-test .direction-grid{flex-shrink:0;gap:6px}.in-test .direction-grid button{min-height:42px}.in-test .controlbar{margin:0;gap:8px;flex-wrap:nowrap;flex-shrink:0;min-height:50px;align-self:stretch;width:100%}.in-test .controlbar .btn{font-size:15px;min-height:48px;padding:10px 13px}.in-test .controlbar .scale-label,.in-test .chart-page{font-size:12px}.in-test .controlbar>[data-action=testOptions]{margin-left:auto}.in-test .optotype{min-width:28px;min-height:28px}.in-test .row-label{width:55px;padding-right:8px;font-size:10px}.in-test .row-mark{width:24px}.in-test main>.notice,.in-test .full-notice{display:none}.in-test .notice{display:block}.in-test main>.notice{display:none}.in-test .ratings,.in-test .compare-progress{margin:0;flex-shrink:0}.in-test .workspace-head{margin:0;padding:0}.in-test .back{display:inline-flex}.in-test .single-target{min-width:32px;min-height:32px}.in-test #toast{bottom:auto;top:63px;max-width:65%;pointer-events:none}.native-select{display:none!important}.select-trigger{display:flex;justify-content:space-between;align-items:center;width:100%;border:1px solid var(--line);border-radius:5px;background:var(--bg);font-size:13px;min-height:44px;padding:10px 13px;text-align:left;gap:12px}.select-trigger>svg{transform:rotate(-90deg);flex-shrink:0}.select-trigger:focus-visible{outline:3px solid var(--fg);outline-offset:3px}.choice-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:12px 0}.choice-grid.four{grid-template-columns:repeat(4,1fr)}.choice-grid.three{grid-template-columns:repeat(3,1fr)}.choice-grid.one{grid-template-columns:1fr}.choice-grid .btn{white-space:normal;min-height:50px;font-size:16px}.settings-tabs{display:flex;gap:5px;flex-shrink:0;border-bottom:1px solid var(--line);padding-bottom:10px;margin-bottom:12px;flex-wrap:wrap}.settings-tabs button{padding:9px 11px;border-radius:4px;font-size:14px;min-height:42px}.settings-tabs .chosen{background:var(--fg);color:var(--bg)}.settings-tabs .chosen:focus-visible{outline:2px solid var(--fg)}.modal{width:min(900px,100%);height:min(720px,94vh);height:min(720px,94dvh);max-height:94vh;max-height:94dvh}.modal-body{overflow:hidden;padding:0 3px;flex:1;min-height:0}.modal-body p{font-size:15px;line-height:1.6}.wizard-step{font:11px ui-monospace,monospace;color:var(--muted);margin:4px 0 15px}.wizard-lead{font-size:23px!important;line-height:1.35!important;color:var(--fg)!important;margin:10px 0 20px}.instruction-card{margin:25px 0;padding:20px;background:var(--soft);border:1px solid var(--line);border-radius:7px;display:flex;gap:20px;align-items:center}.instruction-card>svg{flex-shrink:0}.instruction-card p{margin:0}.cal-short-instruction{font-size:13px!important;margin:8px 0}.cal-fixed-adjust,.cal-fixed-nav{display:flex;gap:10px;width:100%}.cal-fixed-adjust .btn,.cal-fixed-nav .btn{flex:1;min-width:0}.cal-measure-footer{flex-direction:column;align-items:stretch}.cal-method{margin:5px 0}.cal-ruler.card-reference{padding:10px;min-height:0;margin:10px 0}.cal-ruler .credit-card{font-size:13px}.modal-scroll-buttons{grid-template-columns:1fr auto 1fr;align-items:center}.modal-page-count{font:11px ui-monospace,monospace;text-align:center}.modal-page{height:100%;overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start}.modal-page>*{flex-shrink:0}.modal-page .choice-grid{width:100%}.modal-page .notice{margin:8px 0}.modal-footer-actions>.btn,.modal-footer-actions>button{min-width:0}.modal-footer-actions .btn,.modal-scroll-buttons .btn{font-size:14px;min-height:46px}.guided-intro{padding:25px 5%;overflow:hidden;display:flex;flex-direction:column;justify-content:center}.guided-intro h1{font-size:46px;letter-spacing:-1.5px;line-height:1.1;margin:15px 0}.guided-lead{font-size:20px;max-width:850px;line-height:1.6;color:var(--muted)}.guided-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:20px 0;max-width:1100px}.guided-steps>div{padding:20px;border:1px solid var(--line);border-radius:7px}.guided-steps b{font:12px ui-monospace,monospace;color:var(--muted)}.guided-steps p{font-size:16px;margin:10px 0 0}.small-note{font-size:11px;color:var(--muted)}.guided-screen .guided-stage{flex:1;min-height:0}.guided-progress{display:flex;align-items:center;justify-content:space-between;font:12px ui-monospace,monospace;flex-shrink:0;color:var(--muted)}.guided-answer{height:min(23vh,175px);min-height:40px;flex-shrink:0;display:flex;align-items:center;justify-content:center;gap:25px;border:1px solid var(--line);border-radius:5px;background:var(--bg);color:var(--muted)}.guided-answer svg{max-height:85%;max-width:155px}.guided-answer>span{font-size:15px}.guided-controls{display:flex;align-items:stretch;justify-content:center;gap:12px;flex-shrink:0;min-height:56px}.guided-controls>.btn{flex:1;font-size:18px;min-height:56px;max-width:400px}.fullscreen .test-headbar,.fullscreen .workspace-head{padding-right:0}.fullscreen .workspace{padding-top:10px}.compare-setup{max-width:1200px;display:flex;flex-direction:column;min-height:0;flex:1;width:100%}.compare-setup>.intro{display:none}.compare-setup .panel{padding:16px;width:100%}.compare-setup .panel h2{font-size:18px;margin-bottom:10px}.compare-setup label{margin:6px 0 4px}.compare-setup input,.compare-setup .select-trigger{min-height:39px;padding:8px 11px}.compare-setup p{font-size:11px;margin:6px 0}.compare-setup #compare-form{display:flex;flex-direction:column;min-height:0;flex:1;overflow:hidden}.comparison-pages,.document-pages,.result-pages{flex:1;min-height:0;overflow:hidden}.comparison-controls,.document-controls{flex-shrink:0;display:flex;gap:12px;align-items:center;justify-content:space-between;padding-top:12px}.comparison-controls>span,.document-controls>span{font:12px ui-monospace,monospace}.comparison-controls .btn,.document-controls .btn{font-size:12px;min-height:42px}.comparison-controls [type=submit]{margin-left:auto}.comparison-pages .form-grid{grid-template-columns:1fr 1fr;width:100%}body[data-view=compare] main.workspace{display:flex;flex-direction:column;min-height:0}body[data-view=compare] main>.panel{overflow:hidden;min-height:0}.result-paged{display:flex;flex-direction:column;flex:1;min-height:0}.summary-table td,.summary-table th{overflow-wrap:anywhere}.table-wrap{overflow:hidden}.paged-document{height:100%;min-height:0;display:flex;flex-direction:column;margin:0 auto!important;padding:14px 0;overflow:hidden}.paged-document h1{font-size:32px;margin:12px 0}.paged-document h2{font-size:20px;margin:14px 0 8px}.paged-document p,.paged-document li{font-size:13px;line-height:1.65}.paged-document .lead{font-size:18px}.document-controls{border-top:1px solid var(--line)}
@media(max-height:760px) and (min-width:800px){.home-screen{gap:12px;padding:14px 4%}.home-intro h1{font-size:43px;margin:10px 0}.home-intro p{font-size:13px}.home-intro .eyebrow{font-size:10px}.home-mini-chart{gap:9px;transform:scale(.8)}.home-choices{min-height:145px;flex-basis:32%}.main-choice{padding:16px;gap:5px}.main-choice h2{font-size:24px}.main-choice p{font-size:12px}.main-choice>.eyebrow{font-size:9px}.guided-intro h1{font-size:35px}.guided-lead{font-size:17px;margin:10px 0}.guided-steps{margin:12px 0}.guided-steps>div{padding:15px}.guided-steps p{font-size:14px}.guided-intro .actions{margin-top:10px}}
@media(max-width:700px){.topbar{height:66px;min-height:66px;padding:0 4%;flex-wrap:nowrap;gap:10px}.topbar .brand b{font-size:22px}.topbar .brand small{font-size:5px}.topbar .brandmark{width:27px;height:27px}.topbar .brand{gap:6px}.header-right{gap:5px}.topbar .btn{font-size:10px;padding:8px;min-height:38px;gap:5px}.topbar .btn svg{width:15px}.shell{padding-left:4%;padding-right:4%}footer{min-height:27px;padding:4px;gap:5px;flex-wrap:nowrap}footer>span:not(.version){display:none}footer .version{width:auto;white-space:nowrap;margin-right:auto}footer button{font-size:9px}.home-screen{gap:10px;padding-top:12px;padding-bottom:12px}.home-intro{grid-template-columns:1fr;gap:0;flex:.75}.home-intro h1{font-size:38px;letter-spacing:-1.8px;margin:12px 0}.home-intro .eyebrow{font-size:9px}.home-intro p{font-size:13px;margin:8px 0}.home-mini-chart{display:none}.home-choices{grid-template-columns:1fr;gap:10px;flex:1;min-height:0}.main-choice{padding:16px;gap:5px;min-height:0}.main-choice h2{font-size:23px}.main-choice p{font-size:12px}.main-choice>.eyebrow{font-size:8px}.main-choice>span{font-size:11px;margin-top:4px}.home-settings-strip{font-size:9px;padding-top:9px;gap:6px;flex-wrap:wrap}.home-settings-strip .btn{font-size:10px;padding:8px 10px;min-height:35px}.in-test .test-screen,.in-test .workspace{gap:7px;padding:7px 2%}.test-headbar{gap:6px;min-height:42px;flex-wrap:wrap}.test-headbar h1{font-size:17px}.test-headbar>div{gap:6px}.test-headbar .btn{font-size:10px;padding:7px;min-height:36px;gap:4px}.test-condition{display:none}.in-test .test-layout{grid-template-columns:minmax(0,1fr) 126px;gap:6px}.in-test .answer-panel{padding:9px}.in-test .answer-panel h2{font-size:8px;letter-spacing:1px}.in-test .answer-content svg{max-width:100px;max-height:80%}.in-test .answer-content .placeholder{font-size:44px}.in-test .answer-content p{font-size:9px}.in-test .answer-panel .btn{font-size:9px;min-height:40px;padding:7px 4px;gap:4px;white-space:normal}.in-test .controlbar{gap:5px;min-height:75px;flex-wrap:wrap;align-content:center}.in-test .controlbar .btn{font-size:10px;min-height:34px;padding:7px 9px}.in-test .chart-page{font-size:9px}.in-test .controlbar>[data-action=testOptions]{margin-left:0}.in-test .row-label{width:35px;font-size:8px;padding-right:3px}.in-test .row-mark{width:16px;font-size:10px}.in-test .stage-label{font-size:8px;left:8px;right:8px;top:8px}.in-test .chart-stage{padding:27px 3px 4px}.in-test .answer-panel .direction-grid{grid-column:auto;gap:3px}.in-test .direction-grid button{min-height:31px;padding:3px}.in-test .direction-grid svg{width:15px}.in-test .answer-panel .result-line{font-size:9px}.in-test .answer-panel.answering .answer-content svg{max-width:85px;max-height:85px}.modal{height:94vh;height:94dvh;padding:13px}.modal h2{font-size:19px}.modal-head{padding-bottom:9px}.modal-head .iconbtn{height:34px;width:34px}.settings-tabs{gap:3px;margin-bottom:8px;padding-bottom:7px}.settings-tabs button{font-size:10px;padding:7px 10px;min-height:32px}.choice-grid{gap:7px;margin:8px 0}.choice-grid.four{grid-template-columns:repeat(2,1fr)}.choice-grid .btn{font-size:12px;min-height:44px;padding:10px}.wizard-lead{font-size:20px!important}.instruction-card{margin:18px 0;padding:15px;gap:12px}.cal-fixed-nav{gap:6px}.cal-fixed-nav .btn{font-size:10px;min-width:0;padding:9px 5px}.modal-footer-actions>.cal-fixed-adjust,.modal-footer-actions>.cal-fixed-nav{flex:none}.guided-intro{padding:15px 5%}.guided-intro h1{font-size:33px}.guided-lead{font-size:15px;line-height:1.5}.guided-steps{grid-template-columns:1fr;gap:8px;margin:12px 0}.guided-steps>div{padding:12px;display:flex;align-items:center;gap:13px}.guided-steps p{font-size:13px;margin:0}.guided-intro .actions{margin-top:12px;gap:7px}.guided-intro .actions .btn{font-size:11px;min-height:42px;padding:10px}.guided-answer{min-height:65px;height:18vh;gap:15px}.guided-answer>span{font-size:11px}.guided-answer svg{max-width:110px}.guided-controls{gap:5px;min-height:55px}.guided-controls>.btn{font-size:11px;min-height:50px;padding:9px}.guided-progress{font-size:10px}.paged-document h1{font-size:26px}.paged-document h2{font-size:17px}.paged-document p,.paged-document li{font-size:12px}.comparison-controls{gap:6px;flex-wrap:wrap}.comparison-controls .btn{font-size:10px;min-height:36px;padding:8px 10px}.comparison-pages .form-grid{grid-template-columns:1fr}.summary-table{table-layout:fixed;font-size:10px}.summary-table td,.summary-table th{padding:8px 5px;white-space:normal}}
@media(min-width:1800px){.topbar{height:90px;min-height:90px}.topbar .btn{font-size:17px;min-height:54px}.home-screen{max-width:2200px}.home-intro h1{font-size:80px}.home-intro p{font-size:20px}.home-choices{min-height:220px}.main-choice h2{font-size:38px}.main-choice p,.main-choice>span{font-size:17px}.home-settings-strip,.home-settings-strip .btn{font-size:16px}.test-headbar{min-height:60px}.test-headbar h1{font-size:30px}.test-headbar .btn,.in-test .controlbar .btn{font-size:16px;min-height:52px}.test-condition{font-size:15px}.in-test .test-layout{grid-template-columns:minmax(0,1fr) 300px}.in-test .answer-content svg{max-width:250px}.in-test .answer-panel .btn{font-size:16px;min-height:52px}.in-test .chart-stage{padding-top:38px}.in-test .stage-label,.in-test .row-label{font-size:13px}.settings-tabs button{font-size:16px;min-height:44px}.choice-grid .btn{font-size:17px;min-height:54px}}
@media(min-width:2800px){.topbar{height:120px;min-height:120px}.topbar .brand b{font-size:42px}.topbar .brandmark{width:56px;height:56px}.topbar .brand small{font-size:10px}.topbar .btn{font-size:24px;min-height:70px}.home-screen{max-width:2900px;gap:30px;padding:35px 5%}.home-intro h1{font-size:110px}.home-intro p{font-size:27px;max-width:800px}.home-choices{min-height:300px}.main-choice{padding:40px;gap:14px}.main-choice h2{font-size:53px}.main-choice p{font-size:24px;max-width:800px}.main-choice>span{font-size:24px}.home-settings-strip,.home-settings-strip .btn{font-size:23px}.test-headbar{min-height:80px}.test-headbar h1{font-size:42px}.test-headbar .btn,.in-test .controlbar .btn{font-size:23px;min-height:68px}.test-condition{font-size:21px}.in-test .test-layout{grid-template-columns:minmax(0,1fr) 450px;gap:25px}.in-test .answer-content svg{max-width:350px}.in-test .answer-panel .btn{font-size:23px;min-height:68px}.in-test .answer-panel h2{font-size:18px}.in-test .stage-label{font-size:19px;top:15px}.in-test .chart-stage{padding-top:45px}.in-test .row-label{font-size:18px;width:80px}.in-test .row-mark{width:30px}.in-test .controlbar{min-height:80px;gap:17px}.settings-tabs button{font-size:20px;padding:12px}.modal{height:min(1200px,94vh);height:min(1200px,94dvh)}.choice-grid .btn{font-size:22px;min-height:70px}.guided-intro h1{font-size:70px}.guided-lead{font-size:30px}.guided-steps p{font-size:25px}.guided-progress{font-size:23px}.guided-controls>.btn{font-size:24px;min-height:75px}.guided-answer{height:250px}.guided-answer svg{max-height:230px;max-width:230px}.guided-answer>span{font-size:23px}}
@media(max-height:520px){.topbar{height:50px;min-height:50px}.topbar .brand b{font-size:22px}.topbar .brandmark{width:26px;height:26px}.topbar .btn{min-height:35px;padding:7px 10px;font-size:11px}footer{min-height:24px;padding-top:3px;padding-bottom:3px}.home-screen{padding:8px 4%;gap:8px}.home-intro{flex:0 0 auto;display:block;min-height:0}.home-intro .eyebrow,.home-intro p,.home-mini-chart{display:none}.home-intro h1{font-size:24px;letter-spacing:-1px;margin:0;line-height:1.2}.home-intro h1 br{display:none}.home-intro h1 span{margin-left:8px}.home-choices{flex:1;min-height:0;grid-template-columns:1fr 1fr;gap:10px}.main-choice{padding:12px;gap:4px}.main-choice .eyebrow{display:none}.main-choice h2{font-size:22px}.main-choice p,.main-choice>span{font-size:11px}.home-settings-strip{padding-top:6px;min-height:32px;flex-wrap:nowrap;font-size:10px}.home-settings-strip .btn{min-height:31px;padding:7px 10px;font-size:10px}.guided-intro{padding:8px 4%}.guided-intro h1{font-size:26px;margin:6px 0}.guided-lead{font-size:13px;line-height:1.35;margin:6px 0}.guided-steps{grid-template-columns:repeat(3,1fr);gap:8px;margin:8px 0}.guided-steps>div{padding:9px;display:block}.guided-steps p{font-size:11px;margin-top:5px}.guided-intro>.eyebrow,.guided-intro>.small-note{display:none}.guided-intro p{margin:6px 0;font-size:12px}.guided-intro .actions{margin-top:7px}.guided-intro .actions .btn{font-size:11px;min-height:36px;padding:8px 12px}.guided-answer{height:70px;min-height:50px}.guided-answer svg{max-height:60px;max-width:60px}.guided-controls>.btn{font-size:12px;min-height:42px}.guided-controls{min-height:42px}.test-headbar .btn,.in-test .controlbar .btn{font-size:11px;min-height:36px;padding:7px 10px}.test-headbar h1{font-size:20px}.in-test .controlbar,.in-test .test-headbar{min-height:38px}.in-test .answer-panel{padding:10px}.in-test .direction-grid button{min-height:30px}.modal{padding:12px}.modal h2{font-size:20px}.modal-head{padding-bottom:8px}.modal-footer-actions .btn,.modal-scroll-buttons .btn{min-height:35px;padding:7px 9px;font-size:11px}.settings-tabs{padding-bottom:6px;margin-bottom:7px}.settings-tabs button{font-size:11px;min-height:32px;padding:7px 9px}.modal-body p{font-size:12px;line-height:1.4}.choice-grid .btn{font-size:12px;min-height:37px;padding:8px}.wizard-lead{font-size:19px!important}.document-controls .btn{min-height:34px;padding:7px 10px;font-size:11px}}

/* Inversion is the rightmost control in every visible header. */
.topbar-start{display:flex;align-items:center;gap:18px;min-width:0}.invert-button{flex-shrink:0;white-space:nowrap;gap:8px}.invert-icon{display:inline-block;width:18px;height:18px;border:1.5px solid currentColor;border-radius:50%;background:linear-gradient(90deg,var(--fg) 50%,var(--bg) 50%);flex-shrink:0}.modal-head h2{flex:1;min-width:0}.full-invert{position:fixed;top:10px;left:2%;z-index:90}.in-test .simple-heading{display:flex;align-items:center;gap:12px}
@media(max-width:700px){.topbar-start{gap:8px}.topbar-start .brand{display:none}.topbar .invert-button{min-height:38px;padding:8px 10px;font-size:12px}.modal-head{flex-wrap:wrap;gap:10px}.modal-head h2{order:3;flex-basis:100%;margin:0}.modal-head>.iconbtn{margin-left:auto}.test-headbar .invert-button{padding:8px;font-size:11px}.full-invert .invert-button{font-size:11px;padding:8px;min-height:36px}}

.full-exit{display:flex;align-items:center;gap:8px}.modal-head>.invert-button{order:2}.modal-head>.iconbtn{order:1}@media(max-width:700px){.modal-head>.invert-button{margin-left:0}.modal-head>.iconbtn{margin-left:auto}.topbar-start .brand{display:flex}.topbar-start .brand div{display:none}.header-right{gap:6px}.topbar .header-right>.btn{padding:8px;font-size:11px}.topbar{padding-left:3%;padding-right:3%;gap:6px}}
.test-headbar>div:last-child{margin-left:auto;justify-content:flex-end}
/* Scored C/E test: target and complete response set share a fixed frame. */
.guided-choice-layout{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,32%);gap:16px}.in-test .guided-choice-layout .guided-stage{height:100%;min-height:0;flex:none}.guided-choice-panel{min-height:0;display:flex;flex-direction:column;align-items:stretch;justify-content:center;border:1px solid var(--line);border-radius:6px;padding:18px;gap:12px;overflow:hidden}.guided-choice-panel h2{margin:0;text-align:center;font-size:18px;font-weight:500}.guided-choice-panel .direction-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:0;max-width:520px;width:100%;align-self:center}.guided-choice-panel .direction-grid button{display:flex;align-items:center;justify-content:center;min-height:84px;padding:9px;border:1px solid var(--line);border-radius:5px;background:var(--bg)}.guided-choice-panel .direction-grid button:focus-visible{outline:3px solid var(--fg);outline-offset:3px;background:var(--soft)}.guided-choice-panel .direction-grid svg{width:clamp(48px,9vh,120px)!important;height:clamp(48px,9vh,120px)!important}.guided-choice-panel>.btn{font-size:16px;min-height:48px}.objective-feedback{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:0;flex:1}.objective-feedback h2{font-size:32px}.objective-feedback p{margin:0;font-size:15px}.objective-scoreline{display:flex;justify-content:space-between;gap:10px;flex-shrink:0;font-size:13px;color:var(--muted)}.guided-score{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:16px 0}.guided-score>div{border:1px solid var(--line);border-radius:6px;padding:18px;display:flex;flex-direction:column}.guided-score b{font-size:34px;font-weight:500}.guided-score span{font-size:14px;color:var(--muted)}
@media(max-width:700px){.guided-choice-layout{grid-template-columns:1fr;grid-template-rows:minmax(160px,1fr) auto;gap:8px}.guided-choice-panel{padding:10px;gap:9px}.guided-choice-panel h2{font-size:14px}.guided-choice-panel .direction-grid{max-width:330px;gap:7px}.guided-choice-panel .direction-grid button{min-height:52px;padding:5px}.guided-choice-panel .direction-grid svg{width:36px!important;height:36px!important}.guided-choice-panel>.btn{min-height:40px;font-size:12px;padding:8px}.objective-scoreline{font-size:10px;flex-wrap:wrap;gap:2px}.objective-feedback{gap:6px}.objective-feedback h2{font-size:22px}.objective-feedback p{font-size:12px}.objective-feedback>svg{width:60px!important;height:60px!important}.guided-score{gap:7px;margin:10px 0}.guided-score>div{padding:12px}.guided-score b{font-size:24px}.guided-score span{font-size:12px}.guided-results .guided-lead{font-size:17px}}
@media(max-height:520px){.guided-choice-layout{grid-template-columns:minmax(0,1fr) minmax(225px,35%);grid-template-rows:1fr;gap:8px}.guided-choice-panel{padding:7px;gap:5px}.guided-choice-panel h2{font-size:12px}.guided-choice-panel .direction-grid{gap:5px;max-width:280px}.guided-choice-panel .direction-grid button{min-height:40px;padding:4px}.guided-choice-panel .direction-grid svg{width:29px!important;height:29px!important}.guided-choice-panel>.btn{font-size:11px;min-height:33px;padding:6px}.objective-scoreline{font-size:10px}.objective-feedback{gap:5px}.objective-feedback h2{font-size:22px}.objective-feedback p{font-size:11px}.objective-feedback>svg{width:55px!important;height:55px!important}.guided-score{margin:6px 0}.guided-score>div{padding:7px}.guided-score b{font-size:23px}.guided-score span{font-size:11px}}
@media(min-width:2800px){.guided-choice-panel{padding:35px;gap:24px}.guided-choice-panel h2{font-size:30px}.guided-choice-panel .direction-grid{gap:18px}.guided-choice-panel .direction-grid button{min-height:135px;padding:20px}.guided-choice-panel>.btn{font-size:26px;min-height:75px}.objective-feedback h2{font-size:56px}.objective-feedback p{font-size:27px}.objective-feedback>svg{width:200px!important;height:200px!important}.objective-scoreline{font-size:24px}.guided-score b{font-size:60px}.guided-score span{font-size:25px}}

.site-footer {
  flex-wrap: wrap;
  gap: 4px clamp(12px, 2vw, 26px);
}
.site-footer .version {
  width: auto;
  margin: 0;
  white-space: nowrap;
}
.site-footer .footer-purpose {
  margin-right: auto;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 14px;
}
.footer-links button,
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 28px;
  color: var(--fg);
  font-size: inherit;
  line-height: 1.25;
  white-space: nowrap;
}
.footer-links button {
  padding: 0;
}
.footer-support a {
  text-decoration: none;
}
.footer-support a:hover,
.footer-support a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-scroll {
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.legal-scroll:focus-visible {
  outline-offset: -3px;
}
.legal-document {
  margin: clamp(20px, 4vh, 48px) auto 44px;
}
.legal-navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}
.legal-navigation .back {
  min-height: 36px;
  margin: 0;
}
.legal-document h1 {
  margin: 14px 0 10px;
  font-size: clamp(1.8rem, 6vw, 3.6rem);
  overflow-wrap: anywhere;
}
.legal-document .lead {
  margin: 0 0 26px;
  max-width: 65ch;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  line-height: 1.55;
}
.legal-document section {
  margin: 0 0 12px;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}
.legal-document section h2 {
  margin: 0 0 8px;
}
.legal-document section p,
.legal-document address {
  margin: 0;
  font-size: max(0.875rem, 1em);
  font-style: normal;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.legal-document section p + p {
  margin-top: 10px;
}
.legal-document a {
  color: var(--fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}
@media (max-width: 600px) {
  .site-footer {
    gap: 2px 12px;
  }
  .footer-links {
    gap: 2px 10px;
  }
}
