:root{--bg:#f6f8f5;--card:#fff;--ink:#182f2a;--muted:#6c7c75;--line:#e1e8e1;--teal:#0c766a;--soft:#eaf4ed;--lime:#d9f5be;--shadow:0 18px 65px #253d2810}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:15px system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.6}body.dark{--bg:#14221e;--card:#1c2e27;--ink:#ecf3eb;--muted:#acbbb2;--line:#34483e;--teal:#75d8bc;--soft:#2c4435;--lime:#345439;--shadow:none}button,a,input{ -webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;border:0;color:inherit;background:none}button:disabled{opacity:.45;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #70b8ed;outline-offset:4px}header{height:88px;max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:0 34px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:3px;align-items:center;font:800 22px system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;letter-spacing:-1px;text-decoration:none;color:var(--ink)}.brand>span:last-child{color:var(--teal)}.brandicon{display:grid;place-items:center;width:31px;height:38px;border:2px solid var(--teal);border-radius:8px;margin-right:10px;font-size:20px;color:var(--teal)}.headerlinks{display:flex;gap:22px;align-items:center}.text{font-size:13px;color:var(--muted)}.theme{width:35px;height:35px;border:1px solid var(--line);border-radius:50%;font-size:22px}main{max-width:1160px;margin:0 auto;padding:52px 26px 70px}h1,h2,h3{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;line-height:1.2}h1{font-size:clamp(38px,5.3vw,64px);letter-spacing:-2.7px;margin:20px 0}h2{font-size:32px;letter-spacing:-1px;margin:12px 0}h3{font-size:17px;margin:0 0 5px}p{margin:12px 0;color:var(--muted)}.eyebrow{font-size:11px;letter-spacing:2px;text-transform:uppercase;font-weight:800;color:var(--teal)}.pill{display:inline-flex;gap:8px;align-items:center;font-size:12px;background:var(--soft);padding:7px 13px;border-radius:25px;color:var(--teal)}.dot{width:6px;height:6px;border-radius:50%;background:var(--teal)}.hero{display:grid;grid-template-columns:1.15fr .85fr;gap:65px;align-items:center;padding:13px 0 54px}.hero p{font-size:17px;max-width:450px}.hero h1 em{font-style:normal;color:var(--teal)}.primary{background:var(--teal);color:var(--card);padding:14px 23px;border-radius:11px;font-weight:700;display:inline-flex;align-items:center;justify-content:center;gap:28px}.hero .primary{margin:20px 0}.secondary{border:1px solid var(--line);background:var(--card);padding:11px 17px;border-radius:10px;font-weight:600}.fine{font-size:12px;color:var(--muted)}.trust{display:flex;gap:23px;font-size:12px;color:var(--muted)}.visual{position:relative;display:flex;align-items:center;justify-content:center;min-height:390px;border-radius:50%;background:radial-gradient(ellipse,var(--lime),transparent 69%)}.phone{width:188px;height:352px;border:7px solid #213c33;box-shadow:18px 25px 40px #1c493c20;border-radius:34px;background:var(--card);transform:rotate(7deg);padding:24px 15px;position:relative}.notch{position:absolute;top:10px;width:55px;height:13px;border-radius:12px;background:#213c33;left:60px}.phone .mark{width:65px;height:65px;display:grid;place-items:center;background:var(--soft);border-radius:50%;color:var(--teal);font-size:30px;margin:31px auto 17px}.phone h3{text-align:center;font-size:16px}.phone p{text-align:center;font-size:10px}.phone-row{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:8px 0;font-size:10px}.float{position:absolute;background:var(--card);box-shadow:var(--shadow);border:1px solid var(--line);padding:13px 18px;border-radius:12px;font-size:12px;z-index:2}.float b{display:block;font-size:13px}.float.one{left:0;top:85px}.float.two{right:0;bottom:50px}.tick{color:var(--teal)}.sectionhead{display:flex;justify-content:space-between;align-items:end;margin:15px 0 20px}.sectionhead h2{font-size:23px;letter-spacing:-.7px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.tile{border:1px solid var(--line);background:var(--card);border-radius:15px;padding:20px;text-align:left;transition:transform .2s,border-color .2s}.tile:hover{transform:translateY(-3px);border-color:var(--teal)}.tile .ico{font-size:24px;display:block;color:var(--teal);margin-bottom:15px}.tile p{font-size:12px;margin:5px 0}.tile h3{font-size:14px}.tile small{font-size:10px;color:var(--muted)}.how{display:flex;gap:32px;margin-top:30px;padding:25px;background:var(--soft);border-radius:14px}.how p{font-size:13px;margin:0}.how strong{color:var(--ink)}footer{border-top:1px solid var(--line);max-width:1170px;margin:auto;padding:25px 25px 35px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;color:var(--muted);font-size:12px}footer div{display:flex;gap:18px}footer small{width:100%;font-size:11px}.workspace{display:grid;grid-template-columns:225px 1fr;gap:40px}.sidebar{border-right:1px solid var(--line);padding-right:24px}.sidebar .eyebrow{margin-bottom:20px}.stepnav{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border-radius:10px;padding:11px 9px;font-size:13px;margin:3px 0}.stepnav.active{background:var(--soft);color:var(--teal);font-weight:700}.num{border:1px solid var(--line);border-radius:50%;width:26px;height:26px;display:grid;place-items:center;font-size:11px;flex-shrink:0}.active .num{background:var(--teal);color:var(--card);border-color:var(--teal)}.stepnav small{margin-left:auto;color:var(--teal)}.progressline{height:5px;background:var(--line);border-radius:5px;margin:12px 0 30px;overflow:hidden}.progressline div{background:var(--teal);height:100%;transition:width .3s}.stephead{display:flex;justify-content:space-between;align-items:center}.stephead button{font-size:12px;color:var(--muted)}.testcard{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:28px;box-shadow:var(--shadow);margin:25px 0 18px}.teststage{background:var(--bg);border:1px solid var(--line);border-radius:12px;min-height:210px;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:24px;text-align:center;gap:12px}.teststage .big{font-size:42px;color:var(--teal)}.actions{display:flex;gap:9px;justify-content:center;flex-wrap:wrap}.status{font-size:13px;color:var(--muted);min-height:24px;margin-top:15px}.resultactions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.resultactions button{flex:1;white-space:nowrap}.notice{font-size:12px;border-left:3px solid var(--teal);padding:8px 13px;background:var(--soft);margin-top:18px;border-radius:0 8px 8px 0}.swatches{display:flex;gap:10px;justify-content:center;margin:15px 0}.swatch{height:34px;width:34px;border-radius:50%;border:1px solid #aaa}.swatch.selected{outline:3px solid var(--teal);outline-offset:3px}.screen-overlay{position:fixed;inset:0;z-index:1000;display:flex;align-items:end;justify-content:center;padding:30px 15px}.screen-controls{background:#17221ee8;color:white;border-radius:12px;padding:12px;display:flex;gap:12px;align-items:center;font-size:12px}.screen-controls button{border:1px solid #ffffff66;padding:8px 12px;border-radius:6px}.touchboard{position:relative;width:100%;height:290px;display:grid;grid-template-columns:repeat(8,1fr);grid-template-rows:repeat(6,1fr);gap:3px;touch-action:none;background:var(--bg);border-radius:10px;overflow:hidden;user-select:none}.cell{background:var(--line);border-radius:3px;pointer-events:none}.cell.hit{background:#8fd7b8}.touchboard:after{content:'Drag your finger across every tile';position:absolute;top:45%;left:0;right:0;text-align:center;pointer-events:none;color:#284c3e;font-size:12px}.touchboard.started:after{display:none}video{width:100%;max-height:310px;border-radius:10px;background:#14221e}audio{width:100%;margin-top:12px}.meter{height:10px;border-radius:10px;background:var(--line);width:100%;max-width:350px;overflow:hidden}.meter div{height:100%;width:0;background:var(--teal)}.reporthead{text-align:center;max-width:650px;margin:0 auto 30px}.reporthead .big{font-size:40px;color:var(--teal)}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:25px 0}.stat{padding:18px;background:var(--card);border:1px solid var(--line);border-radius:12px;text-align:center}.stat b{font:800 27px system-ui;display:block}.stat small{font-size:11px;color:var(--muted)}.reportlist{max-width:750px;margin:auto}.reportrow{display:flex;align-items:center;gap:15px;border-bottom:1px solid var(--line);padding:17px 0}.reportrow>div{flex:1}.reportrow small{display:block;color:var(--muted);font-size:12px}.badge{border-radius:25px;background:var(--soft);padding:5px 10px;font-size:11px;color:var(--teal)}.badge.issue{background:#fff0df;color:#8c5429}.reportrow button{font-size:12px;text-decoration:underline}.reportbuttons{justify-content:center;margin:25px 0}.faq{max-width:750px;margin:40px auto 0}details{border-bottom:1px solid var(--line);padding:14px 0;font-size:14px}summary{cursor:pointer;font-weight:600}details p{font-size:13px}dialog{background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:20px;padding:30px;max-width:550px;width:90%}dialog::backdrop{background:#12281fc0}.close{float:right;font-size:24px}.empty{padding:45px;text-align:center}@media(max-width:800px){.hero{gap:20px}.float.one{left:-10px}.grid{grid-template-columns:repeat(2,1fr)}.workspace{grid-template-columns:1fr;gap:0}.sidebar{display:none}}@media(max-width:550px){header{height:70px;padding:0 20px}.brand{font-size:20px}.headerlinks{gap:12px}.headerlinks .text{font-size:11px}main{padding:30px 18px 45px}.hero{grid-template-columns:1fr;padding:5px 0 28px;gap:8px}.hero h1{font-size:43px;letter-spacing:-2px}.hero p{font-size:15px}.visual{min-height:290px}.phone{transform:rotate(7deg) scale(.78);margin:-35px}.float.one{left:13px;top:68px}.float.two{right:6px;bottom:28px}.hero .primary{width:100%;margin:15px 0}.trust{justify-content:center;gap:14px;font-size:11px}.tile{padding:17px}.how{flex-direction:column;gap:15px;padding:20px}.sectionhead{align-items:start}.sectionhead h2{font-size:20px}.testcard{padding:17px;margin-top:20px}.teststage{padding:18px;min-height:200px}h2{font-size:28px}.resultactions{gap:8px}.resultactions button{padding:12px 8px;font-size:13px}.stats{gap:6px}.stat{padding:14px 4px}.stat small{font-size:10px}.reportrow{gap:8px}.reportrow h3{font-size:14px}.reportrow .badge{font-size:10px}.stephead{font-size:11px}.touchboard{height:330px}}@media print{header,footer,.reportbuttons,.reportrow button,.faq{display:none}body{background:white;color:black}.reportrow{break-inside:avoid}.stats{display:flex}.stat{flex:1}}
/* Mobile browser and translation layout */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scroll-padding-top:20px}body{min-width:280px}button,select{min-height:44px;touch-action:manipulation}button{white-space:normal;overflow-wrap:anywhere}select{font:inherit;font-size:16px;color:var(--ink);background:var(--card);border:1px solid var(--line);border-radius:9px;padding:9px 30px 9px 10px;max-width:100%}.language{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted)}.language select{width:146px}.headerlinks{gap:12px}.theme{min-width:44px;height:44px}.brand{white-space:nowrap}header{padding-left:max(20px,env(safe-area-inset-left));padding-right:max(20px,env(safe-area-inset-right))}.testsection{min-width:0}.decision>.stephead{margin-top:12px;gap:12px;align-items:start}.decision>.stephead button{text-align:left}.decision>.stephead button:last-child{text-align:right}.resultactions button{white-space:normal;min-width:0;line-height:1.35}.testcard,.teststage{min-width:0}.teststage h3{line-height:1.5}.stephead{gap:10px;flex-wrap:wrap}.camera-picker{display:flex;flex-direction:column;font-size:13px;gap:7px;margin-top:15px}.camera-picker select{width:100%}.browser-note p{font-size:12px}.browser-note{font-size:12px}.touchboard{overscroll-behavior:contain;-webkit-user-select:none;-webkit-touch-callout:none}.touchboard:after{content:attr(data-hint);padding:0 15px}.touchboard.started:after{display:none}.screen-overlay{padding:20px;padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(20px,env(safe-area-inset-bottom));padding-left:max(15px,env(safe-area-inset-left));padding-right:max(15px,env(safe-area-inset-right));height:100%;height:100dvh;overflow:hidden}.screen-controls{flex-wrap:wrap;justify-content:center;max-width:100%;gap:8px}.screen-controls button{min-height:44px}.reporthead h1{font-size:clamp(28px,5vw,42px);letter-spacing:-1px;overflow-wrap:anywhere}.reportrow>div{min-width:0}.reportrow small{overflow-wrap:anywhere}.badge{white-space:normal;text-align:center;max-width:150px}.float{max-width:190px}.phone h3{font-size:14px;line-height:1.4}.phone p{line-height:1.4}.phone-row{gap:4px}.hero h1{letter-spacing:-1.8px}html[lang=hi] h1,html[lang=hi] h2,html[lang=hi] .eyebrow{letter-spacing:0;line-height:1.45}html[lang=hi]{line-height:1.75}.how{justify-content:space-between}.how p{flex:1}.tile h3{line-height:1.4}.tile small{display:block;margin-top:12px}dialog{max-height:85vh;max-height:85dvh;overflow:auto}.status{overflow-wrap:anywhere}footer{padding-bottom:max(25px,env(safe-area-inset-bottom))}@media(max-width:600px){header{height:auto;min-height:76px;gap:14px;flex-wrap:wrap;padding-top:14px;padding-bottom:14px}.language>span{display:none}.headerlinks{margin-left:auto}.language select{width:129px;padding-left:8px}.brand{font-size:19px}.brandicon{margin-right:6px}.hero{gap:20px}.trust{flex-wrap:wrap}.hero h1{font-size:39px}.visual{min-height:320px}.float{font-size:10px;max-width:150px;padding:10px}.float b{font-size:11px}.float.one{left:0}.float.two{right:0;bottom:12px}.resultactions{display:grid;grid-template-columns:1fr 1fr}.resultactions button:last-child{grid-column:1/-1}.reportrow{display:grid;grid-template-columns:24px minmax(0,1fr) auto}.reportrow .badge{max-width:110px;grid-column:3;grid-row:1}.reportrow button{grid-column:3;grid-row:2}.stats{grid-template-columns:repeat(2,1fr)}.testcard{padding:15px}.touchboard{height:280px;height:min(46svh,360px)}.stephead #touchstats{font-size:12px}.teststage{min-height:180px}.teststage video{max-height:42vh;max-height:42svh}.progressline{margin:9px 0 20px}main{padding-top:26px}.how{flex-direction:column;gap:14px}}@media(max-width:370px){header{gap:8px}.brand{font-size:17px}.brandicon{width:25px;height:32px;font-size:16px}.language select{width:112px}.theme{min-width:40px;width:40px}.headerlinks{gap:6px}.hero h1{font-size:34px}.grid{gap:8px}.tile{padding:14px}}@media(orientation:landscape) and (max-height:500px){.teststage video{max-height:65vh}.touchboard{height:60vh}.screen-controls{padding:6px}.visual{display:none}.hero{grid-template-columns:1fr}.hero h1{font-size:36px}.hero p{max-width:100%}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important;scroll-behavior:auto!important}}@media print{.reporthead h1{font-size:26px}.reportlist{max-width:none}.reportrow{display:flex}.badge{color:black;background:none}.stats{display:flex}.stat{border:1px solid #ccc}.notice{background:none;color:black}}
/* Search guides stay after the tools, with readable line lengths on phones. */
.readiness{margin:28px 0;padding:24px;border:1px solid var(--line);border-radius:20px;background:var(--card);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center}.readiness h2{font-size:22px;margin:0}.readiness p{font-size:13px;max-width:760px}.readiness>button{border:1px solid var(--line);white-space:normal;max-width:240px}.readiness #supportResults{grid-column:1/-1}.readiness #supportResults:empty{display:none}#supportResults ul{list-style:none;padding:0;margin:0}#supportResults li{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding:10px 0;font-size:13px}#supportResults li span{text-align:right;color:var(--muted)}.learning{margin-top:60px;padding-top:36px;border-top:1px solid var(--line)}.learning article{max-width:780px;margin:0 auto}.learning>.eyebrow{display:block;max-width:780px;margin:0 auto 20px}.learning article h2{font-size:clamp(25px,4vw,34px);letter-spacing:-.6px}.learning article h3{margin:30px 0 10px;font-size:21px}.learning p{line-height:1.85}.learning .faq{max-width:780px;margin:40px auto 0}.faq summary{min-height:48px;line-height:1.5;padding-right:15px}.locale-links{display:flex;gap:8px 16px;flex-wrap:wrap;justify-content:center;width:100%}.locale-links a{font-size:13px;color:var(--teal);min-height:44px;display:inline-flex;align-items:center}.screen-controls select{background:#fff;color:#182f2a;max-width:min(250px,75vw);min-width:0}.screen-controls label{color:#fff;font-size:13px}.screen-controls button{white-space:normal}.noscript{max-width:1080px;margin:24px auto;padding:16px;background:var(--soft)}.hero h1{font-size:clamp(34px,4.4vw,58px)}.phone-row{font-size:10px}.phone-row>span{flex-shrink:0}.tile h3{overflow-wrap:anywhere}.sidebar .stepnav{overflow-wrap:anywhere;line-height:1.4}.sidebar .num{flex-shrink:0}footer{flex-wrap:wrap}footer small{max-width:600px}.hero .visual .float{overflow-wrap:anywhere}@media(max-width:600px){.readiness{grid-template-columns:1fr;padding:18px}.readiness>button{width:100%;max-width:none}.learning{margin-top:36px;padding-top:28px}.learning article h3{font-size:20px}.hero h1{font-size:36px}.locale-links{gap:4px 15px}#supportResults li{flex-wrap:wrap;gap:3px 12px}#supportResults li span{text-align:left}.screen-controls{max-width:100%;padding:10px}.screen-controls label{width:100%;text-align:center}.screen-controls select{width:100%;max-width:none}}@media print{.locale-links,.learning,.readiness{display:none}}
.sensor-values{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;max-width:100%;padding:12px;border-radius:10px;background:var(--soft);font-size:14px}.sensor-values:empty{display:none}#torchVideo{width:100%;max-width:420px;max-height:30vh;object-fit:contain;margin-top:16px;background:#10231c;border-radius:12px}#torchVideo:not([src]){min-height:0}.sidebar .stepnav{padding-top:9px;padding-bottom:9px}

.result-popup{border:1px solid var(--line);border-radius:24px;background:var(--card);color:var(--ink);padding:30px 24px;text-align:center;width:min(390px,calc(100vw - 32px));max-height:90dvh;box-sizing:border-box;box-shadow:var(--shadow)}.result-popup::backdrop{background:rgb(8 24 18 / .6)}.result-popup h2{font-size:28px;margin:8px 0}.result-popup p{margin:10px 0;color:var(--muted)}.result-popup .primary{margin-top:14px;min-height:48px}.result-symbol{display:grid;place-items:center;width:72px;height:72px;margin:auto;border-radius:50%;background:var(--soft);color:var(--teal);font-size:42px;font-weight:700}.result-popup.issue .result-symbol{background:#fff0d4;color:#8c4a00}

.browse-button{white-space:normal;line-height:1.3;min-height:44px}.module-browser{padding:24px 0 48px}.module-browser>p{max-width:650px;color:var(--muted)}.module-browser .tile h2{font-size:19px;margin:14px 0 8px;overflow-wrap:anywhere}.module-browser .tile p{font-size:13px;color:var(--muted);line-height:1.6}.module-browser .tile small{display:block;margin-top:16px}.module-browser .badge{display:inline-block}@media(max-width:600px){header{height:auto;min-height:88px;flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}.headerlinks{flex-wrap:wrap;gap:10px;max-width:100%}.browse-button{padding:10px 12px;font-size:13px}.module-browser{padding-top:12px}}

.phone-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:24px}.phone-info-card{border:1px solid var(--line);background:var(--card);padding:22px;border-radius:18px;overflow-wrap:anywhere}.phone-info-card h2{font-size:16px;margin:0 0 12px}.phone-info-card strong,#batteryValue{font-size:24px;color:var(--teal);font-weight:700}.phone-info-card p{font-size:13px;color:var(--muted);line-height:1.7}@media(max-width:650px){.phone-info-grid{grid-template-columns:1fr}.headerlinks{flex-wrap:wrap}header{height:auto;flex-wrap:wrap;gap:12px;padding-top:14px;padding-bottom:14px}}
/* Diagnostic hub: compact navigation, clear mobile steps and searchable modules. */
header{display:block;height:auto;padding-top:16px;padding-bottom:0}.header-main{display:flex;justify-content:space-between;align-items:center;gap:16px;min-width:0}.headerlinks{margin-left:0;flex-wrap:nowrap;min-width:0}.quick-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:12px;padding-bottom:12px}.quick-nav button{font-size:13px;line-height:1.4;border-radius:10px;background:var(--soft);color:var(--teal);padding:10px 12px;min-width:0}.quick-nav button:hover{background:var(--line)}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:20px 0}.hero-actions .primary{margin:0}.hero-actions .secondary{min-height:50px}.resume-panel{max-width:450px;padding:14px 16px;border:1px solid var(--line);border-radius:12px;margin-top:20px;background:var(--card);font-size:13px}.resume-panel progress{display:block;width:100%;height:8px;margin:10px 0;accent-color:var(--teal)}.resume-panel .text{min-height:44px}.preparation{padding:18px 20px;background:var(--soft);border:1px solid var(--line);border-radius:14px;margin:0 0 28px}.preparation summary{min-height:44px;display:list-item;align-content:center}.preparation p{max-width:800px;line-height:1.8}.module-filters{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:16px;margin:24px 0}.module-filters label{display:grid;gap:7px;font-size:13px;font-weight:600;min-width:0}.module-filters input,.module-filters select{width:100%;min-width:0;min-height:48px;border:1px solid var(--line);border-radius:10px;background:var(--card);color:var(--ink);padding:12px;font:inherit;font-size:16px}.module-top{display:flex;align-items:start;justify-content:space-between;gap:8px}.module-top .ico{margin:0;flex-shrink:0}.module-top .badge{max-width:70%;font-size:10px}.module-card{display:flex;flex-direction:column;min-width:0}.module-card .module-top{width:100%;margin-bottom:14px}.module-card p{font-size:13px;line-height:1.65;margin:8px 0 16px}.module-card h3{font-size:17px}.module-card small{margin-top:auto;color:var(--teal);font-size:12px}.module-card h2{letter-spacing:0}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.grid>.empty{grid-column:1/-1}.mobile-jump{display:none}.testsection .stephead button{min-height:44px}.decision{padding:18px 0 10px}.decision>.resultactions{margin-top:12px}.resultactions button{min-height:48px}.testsection>.browser-note{margin-top:12px}.teststage .actions{width:100%}.teststage .actions>button{max-width:100%}input:focus-visible{outline:3px solid #70b8ed;outline-offset:3px}
@media(max-width:900px){.language>span{display:none}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-nav{gap:6px}.hero{gap:24px}.headerlinks{gap:8px}}
@media(max-width:800px){.mobile-jump{display:grid;gap:6px;font-size:12px;color:var(--muted);margin-bottom:18px}.mobile-jump select{width:100%;min-width:0}.hero{grid-template-columns:1fr;padding-bottom:24px}.hero .visual{display:none}.hero p{max-width:640px}.hero h1{max-width:690px}.hero-actions{max-width:600px}.hero-actions>*{flex:1}.hero .trust{justify-content:flex-start}.testsection>h2{font-size:28px}.testsection>p{font-size:14px;line-height:1.65}.progressline{margin-bottom:16px}.module-browser>h1{font-size:clamp(30px,6vw,42px);letter-spacing:-1px}}
@media(max-width:600px){header{padding:12px 16px 0}.header-main{gap:8px}.headerlinks{gap:6px;max-width:none}.language select{width:116px}.brand{font-size:18px}.brandicon{margin-right:4px}.quick-nav{margin-top:12px;padding-bottom:10px}.quick-nav button{font-size:12px;padding:9px 6px;min-height:48px}.hero-actions{flex-direction:column;align-items:stretch;margin:18px 0}.hero-actions .primary{width:100%;margin:0;min-height:52px}.hero-actions .secondary{width:100%;min-height:48px}.hero h1{font-size:36px;line-height:1.15}.hero .trust{justify-content:center}.resume-panel{max-width:none}.module-filters{grid-template-columns:1fr;margin:20px 0;gap:12px}.module-card{padding:16px}.module-card p{font-size:12px}.module-card h3,.module-browser .tile h2{font-size:16px;line-height:1.4}.preparation{padding:12px 16px}.testcard{padding:12px;margin-top:16px}.teststage{padding:14px;min-height:155px}.teststage .actions>button{flex:1 1 110px}.resultactions{grid-template-columns:repeat(2,minmax(0,1fr))}.resultactions button{padding:12px 10px}.phone-info-card{padding:18px}.reportbuttons{display:grid;grid-template-columns:1fr}.reportbuttons button{width:100%}.reportrow .badge{max-width:95px}.grid{gap:10px}main{padding-left:16px;padding-right:16px}.module-browser{padding-top:6px}.phone-info-grid{gap:12px}.result-popup{max-height:calc(100dvh - 32px)}.result-popup p{line-height:1.6}}
@media(max-width:370px){.brand{font-size:16px;letter-spacing:-.6px}.brandicon{width:23px;height:31px;margin-right:3px}.language select{width:100px;font-size:16px;padding-right:22px}.theme{min-width:40px;width:40px}.header-main{gap:5px}.headerlinks{gap:4px}.grid{grid-template-columns:1fr}.module-card h3,.module-browser .tile h2{font-size:18px}.module-card p{font-size:13px}.hero h1{font-size:32px}.quick-nav button{font-size:11px}}
@media(orientation:landscape) and (max-height:500px){.mobile-jump{margin-bottom:8px}.teststage{min-height:110px}.result-popup{padding:16px}.result-symbol{width:44px;height:44px;font-size:26px}.result-popup h2{font-size:23px}}
@media print{.quick-nav,.mobile-jump,.module-filters,.preparation{display:none}}
/* Screen result choice appears over the test, with no trip down the page. */
.outcome-popup{margin:auto;padding:24px;max-height:calc(100dvh - 24px);overflow:auto}.outcome-popup h2{font-size:25px;line-height:1.3}.outcome-actions{display:grid;gap:12px;margin-top:20px}.outcome-actions button{width:100%;min-height:50px;margin:0;line-height:1.4}.outcome-popup .pill{max-width:100%;overflow-wrap:anywhere}.outcome-popup .text{min-height:44px}@media(orientation:landscape) and (max-height:500px){.outcome-popup{padding:16px}.outcome-popup h2{font-size:22px;margin:8px 0}.outcome-popup p{margin:8px 0}.outcome-actions{grid-template-columns:1fr 1fr;margin-top:12px;gap:8px}.outcome-actions .text{grid-column:1/-1}}

/* Keep result controls visible independently of the test's document height. */
.testsection{padding-bottom:calc(180px + env(safe-area-inset-bottom,0px))}
.testsection .resultactions{position:fixed;left:0;right:0;bottom:0;z-index:100;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0;padding:12px max(12px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:var(--card);border-top:1px solid var(--line);box-shadow:0 -6px 24px #182f2a18}
.testsection .resultactions button{grid-column:auto;min-height:48px;padding:10px 8px;gap:4px;font-size:14px;line-height:1.35}
@media(min-width:801px){.testsection .resultactions{padding-left:max(24px,calc((100vw - 780px)/2));padding-right:max(24px,calc((100vw - 780px)/2))}}
@media print{.testsection .resultactions{display:none}}
/* A compact header; navigation lives in the menu and footer. */
header{min-height:64px;height:auto;padding-top:8px;padding-bottom:8px;display:block}.header-main{display:flex;align-items:center;justify-content:space-between;width:100%}.headerlinks{flex-wrap:nowrap}.menu-toggle{font-size:22px;min-width:40px}.tools-menu{display:grid;gap:10px}footer>div{flex-wrap:wrap}.test-help{float:right}.refresh-stage #rateValue{font-size:32px;color:var(--teal);font-variant-numeric:tabular-nums}.refresh-track{position:relative;width:100%;height:24px;background:var(--soft);border-radius:12px;overflow:hidden}.refresh-track span{position:absolute;top:3px;width:18px;height:18px;border-radius:50%;background:var(--teal)}.multi-pad{height:260px;position:relative;overflow:hidden;background:var(--soft);border:1px solid var(--line);border-radius:12px;touch-action:none;user-select:none;-webkit-user-select:none}.multi-hint{position:absolute;inset:0;display:grid;place-content:center;padding:24px;text-align:center;color:var(--muted);pointer-events:none}.finger{position:absolute;transform:translate(-50%,-50%);width:54px;height:54px;display:grid;place-items:center;background:var(--finger-color);color:white;border:3px solid white;border-radius:50%;font-size:22px;pointer-events:none;box-shadow:0 2px 10px #0003}
@media(max-width:800px){
 header{min-height:60px;padding:6px 12px}.headerlinks{gap:2px}.header-main{gap:4px}.brand{font-size:17px}.brandicon{display:none}.language>span{display:none}.language select{width:102px;padding:8px 18px 8px 6px}.theme{min-width:34px;width:34px}.menu-toggle{min-width:34px;padding:0}.testing footer{display:none}.testing main{padding:8px 12px 0}.testing .workspace{display:block}.testing .testsection{position:relative;padding-bottom:100px}.testing .mobile-jump{display:block;margin:0 44px 6px 0;font-size:0}.testing .mobile-jump select{width:100%;font-size:14px;min-height:40px;padding:6px}.testing .testsection>.stephead{display:none}.testing .test-help{position:absolute;right:0;top:0;max-width:42px;overflow:hidden;font-size:0;min-height:40px}.testing .test-help::after{content:'ⓘ';font-size:23px}.testing .progressline{margin:4px 0 8px;height:3px}.testing h2{font-size:23px;margin:8px 0;line-height:1.3}.testing .testsection>p{font-size:13px;line-height:1.4;margin:6px 0}.testing .testcard{padding:10px;margin:10px 0}.testing .teststage{min-height:110px;padding:12px;gap:8px}.testing .teststage .big{display:none}.testing .testcard .notice,.testing .browser-note,.testing .decision>strong{display:none}.testing .status{font-size:12px;line-height:1.4;margin-top:8px;min-height:18px}.testing .touchboard,.testing .multi-pad{height:clamp(130px,calc(100dvh - 365px),360px)}.testing .teststage video{max-height:clamp(100px,calc(100dvh - 380px),260px)}.testing .decision>.stephead{margin-top:0}.testing .testsection .resultactions{padding-top:8px;padding-bottom:calc(8px + env(safe-area-inset-bottom));gap:6px}.testing .testsection .resultactions button{font-size:13px;min-height:46px}.testing .testcard #torchVideo{max-height:18dvh}.testing .camera-picker{margin-top:8px}.testing .actions{gap:6px}
}
@media(max-height:500px) and (max-width:900px){.testing .testsection>p{display:none}.testing .teststage{min-height:70px}.testing .touchboard,.testing .multi-pad{height:120px}}
@media(max-width:800px){.testing .touchboard,.testing .multi-pad{height:clamp(100px,calc(100dvh - 460px),360px)}.testing .decision{padding:0}.testing .testsection .resultactions{margin-top:0}}
@media(max-width:800px){.testing .testsection>p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.testing .teststage video{max-height:clamp(80px,calc(100dvh - 500px),220px)}.testing #torchVideo{max-height:90px;margin-top:4px}.testing .teststage{padding:8px;gap:6px}.testing .teststage h3{display:none}.testing audio{margin-top:4px}.testing #playback p{margin:4px 0}.testing .teststage button{padding:9px 12px;font-size:13px}.testing .sensor-values{padding:6px;font-size:12px}}
#torchVideo[hidden]{display:none}
/* Standalone information and contact pages. */
footer a:not(.brand){color:var(--muted);font-size:12px;display:inline-flex;align-items:center;min-height:44px;text-underline-offset:4px}footer nav:not(.locale-links){display:flex;gap:8px 20px;flex-wrap:wrap}.policy-page{max-width:760px;margin:auto}.policy-page h1{font-size:clamp(36px,6vw,56px);letter-spacing:-1.5px}.policy-intro{font-size:19px;line-height:1.65;margin:24px 0 38px}.policy-page section{margin:32px 0}.policy-page section h2{font-size:22px;letter-spacing:-.4px;margin-bottom:14px}.policy-page p,.policy-page li,.policy-data dd{line-height:1.8}.policy-page a{color:var(--teal);text-underline-offset:4px;overflow-wrap:anywhere}.policy-page .primary{color:var(--card);text-decoration:none}.policy-page ul{padding-left:22px;color:var(--muted)}.policy-data{border:1px solid var(--line);border-radius:16px;padding:22px;background:var(--card)}.policy-data dt{font-weight:700;margin-top:16px}.policy-data dt:first-child{margin-top:0}.policy-data dd{margin:4px 0 0;color:var(--muted)}.contact-card{border:1px solid var(--line);border-radius:20px;padding:28px;background:var(--card)}.contact-address{font-size:clamp(17px,3vw,24px);font-weight:650}.info-page .headerlinks{gap:12px}.info-page .brand{font-size:21px}@media(max-width:600px){.policy-page section{margin:26px 0}.policy-intro{font-size:17px}.contact-card,.policy-data{padding:18px}.info-page main{padding-top:28px}.info-page header .text{font-size:12px}}
/* Arabic direction and mixed-direction values. */
html[lang=ar]{line-height:1.8}html[lang=ar] h1,html[lang=ar] h2,html[lang=ar] h3,html[lang=ar] .eyebrow{letter-spacing:0;line-height:1.45}html[dir=rtl] .brand{direction:ltr}html[dir=rtl] .tile,html[dir=rtl] .stepnav{text-align:right}html[dir=rtl] .sidebar{border-right:0;border-left:1px solid var(--line);padding-right:0;padding-left:24px}html[dir=rtl] .stepnav small{margin-left:0;margin-right:auto}html[dir=rtl] .notice{border-left:0;border-right:3px solid var(--teal);border-radius:8px 0 0 8px}html[dir=rtl] .close{float:left}html[dir=rtl] .test-help{float:left}html[dir=rtl] select{padding-left:30px;padding-right:10px}html[dir=rtl] .decision>.stephead button{text-align:right}html[dir=rtl] .decision>.stephead button:last-child{text-align:left}html[dir=rtl] #rateValue,html[dir=rtl] .contact-address a{direction:ltr;unicode-bidi:isolate;display:inline-block}html[dir=rtl] .policy-page ul{padding-left:0;padding-right:22px}html[dir=rtl] .screen-controls{direction:rtl}html[dir=rtl] .sensor-values{unicode-bidi:plaintext}
@media(max-width:800px){html[dir=rtl] .testing .mobile-jump{margin:0 0 6px 44px}html[dir=rtl] .testing .test-help{right:auto;left:0}html[dir=rtl] .testing h2{font-size:22px;line-height:1.35}html[dir=rtl] .testing .testsection>p{line-height:1.5}html[dir=rtl] .testing .touchboard,html[dir=rtl] .testing .multi-pad{height:clamp(100px,calc(100dvh - 480px),340px)}}
html[dir=rtl] .touchboard{direction:ltr}html[dir=rtl] .touchboard:after{direction:rtl}html[dir=rtl] .info-page .headerlinks{flex-wrap:wrap}html[dir=rtl] .language select{padding-inline-end:22px;padding-inline-start:8px}
/* Reading space stays outside the compact testing flow. */
.guides-main{max-width:1060px;margin:auto;padding:32px 24px 64px}.guides-main h1{font-size:clamp(30px,5vw,52px);line-height:1.12;max-width:850px;margin:18px 0}.guides-main a{color:var(--accent,#70d4bc)}body:not(.dark) .guides-main a{color:#096953}.guide-lead{font-size:20px;line-height:1.6;max-width:780px}.breadcrumbs{font-size:13px;margin-bottom:34px;line-height:1.8}.guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.guide-card{display:block;text-decoration:none;border:1px solid #68877d55;border-radius:18px;padding:24px;background:#6688770c}.guide-card:hover{border-color:#6fcfb3;background:#6688771c}.guide-card h3{font-size:23px;line-height:1.3;margin:12px 0;color:inherit}.guide-card p{line-height:1.7;color:var(--muted,#91aaa0)}.guide-topic{margin:42px 0;scroll-margin-top:24px}.topic-jumps{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.topic-jumps a{border:1px solid #68877d55;border-radius:20px;padding:8px 14px;text-decoration:none}.guide-copy{max-width:760px;margin:36px 0;scroll-margin-top:24px}.guide-copy p,.guide-copy li{font-size:17px;line-height:1.85}.guide-copy h2{font-size:26px;line-height:1.3}.guide-contents,.guide-note{border:1px solid #68877d55;border-radius:16px;padding:22px;margin:30px 0;max-width:800px;line-height:1.8}.guide-contents ol{padding-inline-start:24px}.guide-contents li{padding:4px}.tools-menu a{text-align:center;text-decoration:none}a:focus-visible{outline:2px solid #73d7bb;outline-offset:4px}@media(max-width:600px){.guides-main{padding:22px 18px 44px}.guide-grid{grid-template-columns:1fr}.guide-card{padding:20px}.guide-lead{font-size:18px}.guides-main .breadcrumbs{margin-bottom:24px}.info-page .headerlinks{flex-wrap:wrap}.guide-copy p{font-size:16px}}
.info-page .headerlinks>a{color:inherit;text-decoration:none}.info-page .headerlinks>a:hover{text-decoration:underline}
/* Share content rows between neighbouring cards, including their action links. */
.guide-card{display:flex;flex-direction:column;min-width:0}.guide-card>span:last-child{margin-top:auto;padding-top:12px}.guide-card h3{margin:0}.guide-card p{margin:0}.guide-card>.eyebrow{margin:0}.guide-card>*+*{margin-top:12px}
@supports(grid-template-rows:subgrid){.guide-card{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:12px}.guide-card>*+*{margin-top:0}.guide-card>span:last-child{align-self:end;margin-top:0;padding-top:0}}
@media(max-width:600px){.guide-card{display:flex;grid-row:auto;gap:12px}.guide-card>*+*{margin-top:0}.guide-card>span:last-child{align-self:auto;margin-top:0;padding-top:0}}
.test-landing{max-width:820px;margin:32px auto 64px;padding:0 20px}.test-landing h1{font-size:clamp(30px,5vw,48px)}.test-landing section{margin:32px 0;line-height:1.8}.test-landing a{color:inherit}.mic-picker{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:12px}.mic-picker select{min-width:0;max-width:230px;flex:1}.rate-details{font-size:12px;line-height:1.5;margin:6px 0}.test-directory a{color:inherit}body:not(.dark) .guide-card p{color:#4a6258}
.brand-logo{display:inline-block;width:34px;height:34px;flex:none;margin-inline-end:8px;vertical-align:middle}.brand{white-space:nowrap}@media(max-width:600px){.brand-logo{width:26px;height:26px;margin-inline-end:5px}}
