*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:#171b29;background:#f6f7fa;font:16px/1.55 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}a{color:#254cf2;text-underline-offset:4px}button,select,input{font:inherit}button,select,summary{cursor:pointer}button,a,select,input,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #5a8aff;outline-offset:3px}button{border:0;background:none;color:inherit}header{background:white;border-bottom:1px solid #e1e4ea}.bar,main,footer>div{width:min(1120px,calc(100% - 64px));margin:auto}.bar{min-height:72px;display:flex;align-items:center;gap:38px}.brand{display:inline-flex;align-items:center;gap:10px;font-size:23px;letter-spacing:-1.2px;font-weight:740;color:#151a29;text-decoration:none;white-space:nowrap}.brand img{width:34px;height:34px;border-radius:9px}.bar nav{display:flex;gap:28px;margin-inline-start:auto}.bar nav a,.footerlinks a{color:#4e5666;text-decoration:none;font-size:15px;font-weight:550}.bar nav a:hover,.footerlinks a:hover{text-decoration:underline}.lang{display:flex;align-items:center;gap:5px;border-inline-start:1px solid #d9dde5;padding-inline-start:20px}select{appearance:none;color:inherit;border:1px solid #d6dae3;border-radius:9px;padding:10px 34px 10px 12px;background:white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23515b71' stroke-width='2'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center}.lang select{border:0;padding-left:0;font-size:14px}.hero{padding:46px 0 27px}.hero h1,.doc h1{font-size:clamp(46px,6.2vw,78px);line-height:1.03;letter-spacing:-.069em;margin:0 0 14px;font-weight:690}.hero p{margin:0;color:#556072;font-size:clamp(16px,1.7vw,20px);letter-spacing:-.025em}.deck{border:1px solid #d9dee7;border-radius:20px;overflow:hidden;background:white;box-shadow:0 5px 18px #18244608}.toolbar,.below{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px 25px}.toolbar h2{margin:0;display:flex;align-items:center;gap:11px;font-size:18px;letter-spacing:-.035em}.icon{width:20px;height:20px;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.toolicon,.tileicon{display:inline-grid;place-items:center;background:#eef1ff;color:#3656db;border-radius:9px;width:35px;height:35px}.units{display:flex;padding:3px;background:#edf0f4;border-radius:9px;direction:ltr}.units button{min-width:44px;min-height:32px;border-radius:7px;font-weight:650;color:#596172;font-size:14px}.units [aria-pressed=true]{background:#294ddb;color:white;box-shadow:0 1px 3px #101e4b26}.bench{position:relative;padding:26px 31px 35px;background-color:#182745;background-image:linear-gradient(#90acdf11 1px,transparent 1px),linear-gradient(90deg,#90acdf11 1px,transparent 1px),linear-gradient(#90acdf0b 1px,transparent 1px),linear-gradient(90deg,#90acdf0b 1px,transparent 1px);background-size:80px 80px,80px 80px,16px 16px,16px 16px;color:white}.readlabel,.sectionlabel{font:600 12px/1.4 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.1em;text-transform:uppercase}.readlabel{color:#c1cce2}.readout{font:500 clamp(40px,5.2vw,61px)/1.05 ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:-.085em;margin:5px 0 28px;font-variant-numeric:tabular-nums}.readout small{font-size:22px;color:#bdc9de;letter-spacing:-.035em}.status{position:absolute;inset-inline-end:25px;top:25px;border:1px solid #788caf61;border-radius:20px;padding:5px 11px;font-size:13px;color:#dbe4f4;background:#192b48;display:flex;align-items:center;gap:7px}.status:before{content:'';width:7px;height:7px;background:#ffcb78;border-radius:50%}.status.ok:before{background:#73ddac}.instrument{height:93px;position:relative;direction:ltr;background:linear-gradient(175deg,#fff4d0,#f4e4b6 72%,#e9d69c);border-radius:6px;box-shadow:0 5px 0 #b5a273,0 10px 18px #090e256b;color:#302f2c;touch-action:none;cursor:crosshair;user-select:none}.scale{position:absolute;inset:0 13px;overflow:hidden}.tick{position:absolute;top:0;width:1px;height:16px;background:#504c3e}.tick.half{height:25px}.tick.major{height:34px;width:2px}.tick b{font:600 15px/1 ui-monospace,monospace;position:absolute;top:41px;left:0;transform:translateX(-45%)}.tick:first-child b{transform:none}.scaleunit{position:absolute;bottom:5px;left:13px;font:600 12px/1 ui-monospace,monospace;letter-spacing:.08em}.marker{position:absolute;top:-5px;bottom:-7px;width:2px;background:#2855fb;z-index:2;pointer-events:none}.marker:before{position:absolute;content:'';width:18px;height:17px;left:-8px;top:-9px;background:#3765ff;clip-path:polygon(0 0,100% 0,100% 47%,50% 100%,0 47%)}.marker:after{content:'';position:absolute;width:8px;height:8px;bottom:-2px;left:-3px;background:#3765ff;border-radius:50%}.below{padding-block:13px;color:#576174;font-size:14px}.hint{display:flex;align-items:center;gap:8px}.below button{display:grid;place-items:center;width:34px;height:34px;border:1px solid #d9dfe8;border-radius:8px}.settings{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 44px}.tile{border:1px solid #dce1e9;border-radius:15px;background:white;padding:20px 22px;display:grid;grid-template-columns:39px 1fr;gap:0 12px;align-content:start}.tileicon{width:39px;height:39px}.tile h3{font-size:17px;letter-spacing:-.025em;margin:0}.tile p,.tile .small{color:#606b7b;font-size:14px;margin:3px 0 12px}.tile select{width:100%;font-size:15px}.action,.mainbtn{color:#2047d8;font-weight:600;border:1px solid #ccd5fa;background:#f1f4ff;border-radius:8px;padding:8px 14px}.guide,.faqs,.doc{scroll-margin-top:18px}.guide h2,.faqs h2{font-size:clamp(29px,3.6vw,43px);letter-spacing:-.055em;margin:0 0 20px}.guidegrid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.topic,.faqs details,.doc{background:#fff;border:1px solid #dce1e9;border-radius:14px;padding:22px}.topic h3{margin:0 0 8px;letter-spacing:-.035em;font-size:20px}.topic p,.doc p,.faqs p{margin:0;color:#4c5768;line-height:1.65}.faqs{max-width:850px;margin:48px auto}.faqs details{padding:15px 18px;margin:8px 0}.faqs p{margin-top:10px}summary{font-weight:600}.doc{max-width:760px;margin:65px auto;min-height:280px;padding:35px}.doc h1{font-size:43px}.doc p{margin-bottom:24px}footer{border-top:1px solid #dce1ea;padding:25px 0;background:white}footer>div,.footerlinks{display:flex;align-items:center;gap:20px;flex-wrap:wrap}.footerlinks{margin-inline-start:auto}dialog{width:min(440px,94vw);border:1px solid #dce1e9;border-radius:17px;padding:24px;color:#182032}dialog::backdrop{background:#111b37aa}dialog h2{margin:0;letter-spacing:-.04em}dialog p{color:#505d71}.reference{height:32px;border:solid #2454f0;border-width:0 2px;position:relative;margin:22px auto 10px}.reference:after{content:'';position:absolute;top:50%;left:0;right:0;border-top:2px solid #2454f0}dialog input{width:100%;accent-color:#294ddb;direction:ltr}dialog .actions{display:flex;justify-content:end;gap:8px;margin-top:15px}.mainbtn{background:#234add;color:white}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}[dir=rtl] .readout{direction:ltr;text-align:right}
@media(max-width:700px){.bar,main,footer>div{width:calc(100% - 32px)}.bar{min-height:58px;gap:10px;justify-content:space-between}.bar nav{display:none}.lang{border:0;padding:0}.brand{font-size:21px}.hero{padding:29px 0 20px}.hero h1{margin-bottom:9px}.toolbar{padding:12px}.toolbar h2{font-size:16px;gap:6px}.toolicon{width:28px;height:28px}.units button{min-width:33px}.bench{padding:22px 12px 29px}.status{top:18px;inset-inline-end:10px;max-width:46%;font-size:12px}.readout{margin-bottom:25px}.below{padding:9px 12px}.settings,.guidegrid{grid-template-columns:1fr}.settings{gap:10px;margin:12px 0 33px}.tile{padding:16px}.doc{padding:20px}.footerlinks{margin:0}.faqs{margin:30px auto}.instrument{height:85px}.topic{padding:17px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
.hero{display:flex;align-items:center;justify-content:space-between;gap:20px}.deviceart{width:170px;height:90px;flex:none}@media(max-width:700px){.deviceart{display:none}}
.theme-switch{border:1px solid #c5cedd;border-radius:50%;width:38px;height:38px;display:grid;place-items:center;flex:none}.theme-switch[aria-pressed=true]{color:#b6cbff;border-color:#4b6385;background:#26344b}.below .edge-open{width:auto;padding:0 13px;background:#234add;color:#fff;border:0;margin-inline-start:auto;font-weight:650;white-space:nowrap}.edge-open:hover{filter:brightness(1.13)}.measuring{overflow:hidden}
#edge-view{--surface:#f6f8fb;--panel:white;--line:#c6d1e0;--ink:#182032;--muted:#526177;--rail:#f1dfa9;--guide:#2855ed;margin:0;inset:0;padding:0;width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;color:var(--ink);background-color:var(--surface);background-image:radial-gradient(var(--line) 1px,transparent 1px);background-size:18px 18px;overflow:hidden}.edge-center{position:absolute;inset:36px;display:grid;place-items:center;overflow:auto}.edge-panel{position:relative;z-index:2;width:min(100%,332px);border:1px solid var(--line);border-radius:17px;background:var(--panel);padding:18px;box-shadow:0 6px 30px #0a18351a}.edge-head,.edge-actions{display:flex;align-items:center;justify-content:space-between;gap:8px}.edge-head h2{margin:0;font-size:21px;letter-spacing:-.045em}.edge-head button{font-size:26px;width:38px;height:38px;line-height:1;border-radius:8px;border:1px solid var(--line)}.edge-panel p,.edge-panel small{font-size:14px;color:var(--muted)}.edge-panel p{margin:5px 0 14px}.edge-panel small{display:block;margin-top:10px}.edge-switches{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.edge-switches button{border:1px solid var(--line);border-radius:7px;padding:7px;font-size:14px;font-weight:600}.edge-switches button[aria-pressed=true]{background:#3155c9;border-color:#3155c9;color:white}.edge-switches button:disabled{opacity:1;cursor:default}.edge-readings{display:flex;gap:18px;border-block:1px solid var(--line);padding:10px 0;margin:12px 0}.edge-readings>div{flex:1}.edge-readings span{display:block;font-size:13px;color:var(--muted)}.edge-readings output{font:600 17px ui-monospace,monospace}.edge-actions{flex-wrap:wrap}.edge-actions .action{font-size:14px}.edge-rail{position:absolute;overflow:hidden;background:var(--rail);color:#272b32;direction:ltr;touch-action:none;cursor:crosshair;user-select:none}.edge-left,.edge-right{top:24px;bottom:24px;width:34px}.edge-left{left:0}.edge-right{right:0}.edge-top,.edge-bottom{left:24px;right:24px;height:34px}.edge-top{top:0}.edge-bottom{bottom:0}.edge-rail .tick{height:6px;background:#394049}.edge-rail .tick.half{height:10px}.edge-rail .tick.major{height:13px}.edge-rail .tick b{top:15px;font-size:12px}.edge-left .tick,.edge-right .tick{height:1px;width:6px;left:0}.edge-left .tick.half,.edge-right .tick.half{height:1px;width:10px}.edge-left .tick.major,.edge-right .tick.major{height:2px;width:13px}.edge-left .tick b,.edge-right .tick b{left:14px;top:0;transform:translateY(-44%);font-size:11px}.edge-rail .tick:first-child b{transform:none}.edge-right .tick{right:0;left:auto}.edge-right .tick b{left:auto;right:14px}.edge-bottom .tick{bottom:0;top:auto}.edge-bottom .tick b{top:auto;bottom:15px}.guide-x,.guide-y{position:absolute;pointer-events:none;z-index:1}.guide-x{top:0;bottom:0;border-left:2px dashed var(--guide)}.guide-y{left:0;right:0;border-top:2px dashed var(--guide)}#caldialog{max-height:94dvh;overflow:auto}#reference-type{margin-top:10px}.reference{width:var(--ref-size)}.vertical-ref .reference{height:var(--ref-size);width:32px;border-width:2px 0}.vertical-ref .reference:after{top:0;bottom:0;left:50%;right:auto;border-top:0;border-left:2px solid #4676ff}
html[data-theme=dark]{color-scheme:dark}html[data-theme=dark] body{background:#101722;color:#eef2fa}html[data-theme=dark] :is(header,footer,.deck,.tile,.topic,.faqs details,.doc,dialog){background:#1a2433;border-color:#354255;color:#eef2fa}html[data-theme=dark] :is(.hero p,.tile p,.topic p,.faqs p,.doc p,.below,dialog p,.footerlinks a,.bar nav a){color:#c0cada}html[data-theme=dark] .brand{color:#f7f9fc}html[data-theme=dark] :is(.lang,.below button){border-color:#435069}html[data-theme=dark] select{background-color:#202d40;color:#e6edf9;border-color:#46546b}html[data-theme=dark] .units{background:#2d3a50}html[data-theme=dark] .units button{color:#e6edf9}html[data-theme=dark] .units [aria-pressed=true]{background:#395bcf;color:white}html[data-theme=dark] :is(.toolicon,.tileicon,.action){color:#b9ceff;background:#283b5d;border-color:#465e85}html[data-theme=dark] a{color:#a9c3ff}html[data-theme=dark] .deviceart{opacity:.65}html[data-theme=dark] #edge-view{--surface:#101a29;--panel:#1a273a;--line:#38475b;--ink:#eef4ff;--muted:#bfcbdf;--guide:#82aaff}html[data-theme=dark] .bench{border-block:1px solid #35455a}
@media(max-width:700px){.bar{gap:8px}.lang{margin-inline-start:auto}.theme-switch{width:34px;height:34px}.below{flex-wrap:wrap}.below .hint{flex:1 1 100%}.below .edge-open{margin-inline-start:0}.below #reset{margin-inline-start:auto}.edge-panel{padding:12px}.edge-actions .units button{min-width:31px}.edge-center{inset:36px}.edge-actions .action{padding:7px 9px}}
@media(max-height:470px){.edge-panel{width:min(100%,540px);padding:10px}.edge-switches{grid-template-columns:repeat(4,1fr)}.edge-panel p{margin:3px 0}.edge-readings{margin:5px 0;padding:3px 0}.edge-panel small{margin:3px 0}}
#edge-view{position:relative;inset:auto;display:block;width:100vw;margin-inline:calc(50% - 50vw);height:calc(100vh - 72px);height:calc(100svh - 72px);min-height:430px;max-height:790px;border-bottom:1px solid var(--line)}
.edge-center{inset:48px;overflow:visible}.edge-panel{width:min(100%,480px);padding:clamp(18px,3vw,32px);border-radius:18px}
.edge-panel h1{font-size:clamp(34px,4vw,56px);line-height:1.12;letter-spacing:-.055em;margin:0}.edge-panel p{font-size:16px;margin:8px 0 20px}.edge-readings{padding:16px 0;margin:14px 0 18px}.edge-readings output{font-size:clamp(20px,3vw,32px);letter-spacing:-.045em;font-variant-numeric:tabular-nums}.edge-readings span{margin-bottom:4px}.edge-options{border-block-start:1px solid var(--line);margin-top:16px;padding-top:12px}.edge-options summary{line-height:1.35;padding-block:7px}.edge-switches{margin:8px 0}.edge-options select{width:100%;min-height:44px}.model-picker{display:block;font-size:14px;margin:8px 0 4px}.edge-links{display:flex;gap:18px;flex-wrap:wrap;margin-top:8px}.edge-links a{font-size:14px;padding-block:6px}.edge-actions .action,.edge-actions .units button,.edge-switches button,.theme-switch{min-height:44px}.edge-actions .units button,.theme-switch{min-width:44px}.edge-rail{z-index:1}.guide-x,.guide-y{z-index:2}.edge-center{z-index:3;pointer-events:none}.edge-panel{pointer-events:auto}.edge-left,.edge-right{width:44px;top:44px;bottom:44px}.edge-top,.edge-bottom{height:44px;left:44px;right:44px}.edge-rail .tick.major{height:17px}.edge-rail .tick b{top:21px}.edge-bottom .tick b{top:auto;bottom:21px}.edge-left .tick.major,.edge-right .tick.major{height:2px;width:16px}.edge-left .tick b,.edge-right .tick b{top:0;font-size:12px}.edge-left .tick b{left:18px}.edge-right .tick b{right:18px}
#workspace{margin:28px 0}.comparison{grid-column:1/-1}.cal-step{display:flex;direction:ltr;gap:10px;align-items:center}.cal-step button{min-width:44px;min-height:44px;border:1px solid currentColor;border-radius:8px}.cal-step input{min-width:0}html[lang=hi] .edge-panel h1{letter-spacing:-.025em;line-height:1.35}
@media(max-width:700px){#edge-view{height:calc(100svh - 58px);max-height:none;min-height:390px}.edge-center{inset:46px 48px;display:flex;align-items:center;justify-content:center}.edge-panel{padding:14px;max-height:100%;overflow:auto;overscroll-behavior:contain}.edge-panel h1{font-size:clamp(25px,7vw,38px)}.edge-panel p{font-size:14px;margin:4px 0 10px}.edge-actions{align-items:stretch}.edge-actions .units{flex:1}.edge-actions .units button{flex:1;min-width:32px}.edge-actions .action{flex:1 1 auto}.edge-readings{gap:7px;padding:8px 0;margin:8px 0}.edge-readings output{font-size:clamp(16px,5vw,24px)}.edge-options{margin-top:9px;padding-top:6px}.edge-options summary,.edge-links a{min-height:44px;align-content:center}.edge-links{gap:10px;margin:0}.edge-options .edge-switches button{padding:5px}.bar .lang select{max-width:100px;min-height:44px}}
@media(max-height:580px) and (orientation:landscape){#edge-view{min-height:225px;height:calc(100svh - 58px)}.edge-center{inset:45px}.edge-panel{width:min(100%,680px);max-height:100%;overflow:auto;padding:12px 16px;display:grid;grid-template-columns:1fr 1fr;column-gap:20px;align-items:center}.edge-panel h1{font-size:25px}.edge-panel p,.edge-panel small{margin:0}.edge-readings{margin:4px 0;padding:4px 0}.edge-panel .edge-options{margin:0}.edge-options[open]{grid-column:1/-1}}
body{container-type:inline-size}
#edge-view{width:100cqw;margin-inline:calc(50% - 50cqw)}
.conversion{width:100%;border-collapse:collapse;font-variant-numeric:tabular-nums}.conversion :is(th,td){text-align:start;border-bottom:1px solid #8994a44f;padding:6px 10px}.conversion th{font-weight:650}.topic-links{display:flex;flex-wrap:wrap;gap:6px 16px;margin-block:12px 20px}.topic-links a,.show-inch{padding-block:8px;display:inline-block}.faqs section{scroll-margin-top:14px}.faqs section h3{margin:24px 0 8px;font-size:19px}
.bar{gap:clamp(8px,2vw,24px);flex-wrap:wrap}.header-edge-menu{position:relative}.header-edges{display:inline-flex;align-items:center;min-height:44px;color:inherit;font-size:14px;font-weight:650;text-decoration:none;cursor:pointer}.header-edge-menu summary{list-style:none}.header-edge-menu summary::-webkit-details-marker{display:none}.header-edge-menu summary::after{content:'⌄';margin-inline-start:5px}.header-edge-menu .edge-switches{position:absolute;inset-inline-start:0;top:100%;z-index:10;margin:0;width:180px;padding:8px;background:#fff;color:#172337;border:1px solid #abb8cb;border-radius:10px;box-shadow:0 8px 22px #0612222a}.header-edge-menu .edge-switches button{border:1px solid #8695aa}.header-edge-menu .edge-switches button[aria-pressed=true]{background:#3155c9;color:white}html[data-theme=dark] .header-edge-menu .edge-switches{background:#1a273a;color:#edf2ff;border-color:#41516c}.ppi-mode :is(.reference,#reference-mm,.cal-step){display:none}#ppi-fields label{display:block;margin-top:12px;font-size:15px}#ppi-fields input{display:block;min-height:44px;margin-top:4px;padding:6px;border:1px solid #8493aa;border-radius:7px}.header-edge-menu summary:focus-visible{outline:3px solid #799aff}@media(max-width:700px){.bar{justify-content:flex-start;row-gap:0;padding-block:4px}.bar .brand{font-size:18px}.bar .lang{margin-inline-start:auto}.header-edge-menu .edge-switches{inset-inline-start:auto;inset-inline-end:0}}@media(max-width:540px){.bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto}.bar>.header-edge-menu,.bar>a.header-edges{grid-row:2;grid-column:1/-1;justify-self:start}.bar .lang{grid-row:1;grid-column:2}.bar .theme-switch{grid-row:1;grid-column:3}.header-edge-menu .edge-switches{inset-inline-start:0;inset-inline-end:auto}#edge-view{height:calc(100svh - 96px)}}
.mobile-only{display:none}
@media(max-width:700px),(max-height:490px) and (orientation:landscape){
 html{--ph-bg:#fafafa;--ph-panel:#fff;--ph-border:#dadada;--ph-text:#171717;--ph-muted:#626262;--ph-on:#191919;--ph-active:#fff}
 html[data-theme=dark]{--ph-bg:#151515;--ph-panel:#202020;--ph-border:#363636;--ph-text:#f2f2f2;--ph-muted:#b2b2b2;--ph-on:#ededed;--ph-active:#161616}
 header.has-phone-tools{position:sticky;top:0;z-index:8;background:var(--ph-panel);border:0}
 .has-phone-tools>.bar{display:none}.phone-toolbar{display:block;color:var(--ph-text);background:var(--ph-panel)}
 .phone-row{min-height:43px;display:flex;align-items:center;padding:3px 9px;gap:4px;border-bottom:1px solid var(--ph-border)}
 .phone-row :is(button,a){width:31px;height:33px;padding:5px;display:grid;place-items:center;border:1px solid var(--ph-border);border-radius:6px;color:inherit;background:transparent}
 .phone-row:first-child a{border:0}.phone-row svg{width:17px;height:17px}.phone-row [aria-pressed=true],.phone-units button[aria-pressed=true]{background:var(--ph-on);color:var(--ph-active)}
 .phone-row #phone-guides,.phone-row #phone-cal{margin-inline-start:5px}.phone-units{display:flex;direction:ltr;border:1px solid var(--ph-border);border-radius:6px;overflow:hidden}
 .phone-units button{border:0;border-radius:0;font-weight:600;font-size:13px}.phone-units button+button{border-left:1px solid var(--ph-border)}
 #edge-view,html[data-theme=dark] #edge-view{--rail:var(--ph-panel);--ink:var(--ph-text);--line:var(--ph-border);--guide:var(--ph-muted);background:var(--ph-bg);color:var(--ph-text);height:calc(100dvh - 86px);min-height:280px;max-height:none}
 .edge-center{inset:12px 43px;align-items:center;justify-content:center;display:flex;z-index:3}.edge-panel{background:transparent;color:var(--ph-text);padding:8px 0;width:min(100%,250px);box-shadow:none;border:0;display:block;text-align:center;max-height:100%;overflow:auto;scrollbar-width:thin}
 .phone-mark{display:block;margin:0 auto 13px;background:var(--ph-panel);border:1px solid var(--ph-border);padding:8px;border-radius:10px}
 .edge-panel h1{font-size:22px;letter-spacing:-.04em}.edge-panel p{font-size:14px;line-height:1.45;color:var(--ph-muted);margin:6px auto 17px}
 .phone-cards{display:grid;grid-template-columns:1fr 1fr;gap:7px}.phone-cards button{padding:9px 12px;min-height:60px;text-align:start;border:1px solid var(--ph-border);border-radius:8px;background:var(--ph-panel);font-size:14px;color:var(--ph-text)}
 .phone-cards small{margin:0 0 4px;color:var(--ph-muted);font:11px/1.3 ui-monospace,monospace;text-transform:uppercase}.phone-cards [aria-pressed=true]{border-color:var(--ph-muted)}
 .edge-panel :is(.edge-actions,.edge-readings,.edge-links){display:none}
 .edge-panel #edge-status{display:block;width:100%;font-size:12px;margin:16px 0 0;padding:7px 10px;border:1px solid var(--ph-border);border-radius:24px;background:var(--ph-panel);color:var(--ph-text)}#edge-status:before{content:'';display:inline-block;width:7px;height:7px;margin-inline-end:6px;background:#96a5ad;border-radius:50%}
 .edge-options{border:0;margin:0;padding:0}.edge-options summary{padding:6px 0;color:var(--ph-muted);font-size:12px;font-weight:400;min-height:28px}
 .edge-options .edge-switches{display:none}.edge-options select{max-width:100%}.phone-info{display:flex;justify-content:center;align-items:center;gap:4px 12px;flex-wrap:wrap;margin:12px auto}
 .phone-info a,html[data-theme=dark] .phone-info a{color:var(--ph-muted);font-size:12px}.phone-info .lang{border:0;margin:0;padding:0}.phone-info .lang svg{width:14px}.phone-info .lang select{font-size:12px;background-color:var(--ph-panel);color:var(--ph-text);padding-block:3px}
 .phone-hide{display:inline-block;min-height:33px;font-size:12px;border:1px solid var(--ph-border);background:var(--ph-panel);color:var(--ph-text);border-radius:20px;padding:5px 13px}
 .quiet .edge-panel>:not(.phone-hide){display:none}.quiet .edge-center{align-items:flex-end}.quiet .edge-panel{width:auto;padding:4px}
 .edge-rail{background:var(--ph-panel);color:var(--ph-text);border:1px solid var(--ph-border)}.edge-left,.edge-right{width:40px;top:0;bottom:0}.edge-top,.edge-bottom{height:40px;left:0;right:0}
 #edge-view:has(.edge-left:not([hidden])) :is(.edge-top,.edge-bottom){left:40px}#edge-view:has(.edge-right:not([hidden])) :is(.edge-top,.edge-bottom){right:40px}#edge-view:has(.edge-top:not([hidden])) :is(.edge-left,.edge-right){top:40px}#edge-view:has(.edge-bottom:not([hidden])) :is(.edge-left,.edge-right){bottom:40px}
 .edge-rail .tick{background:var(--ph-muted)}.edge-left .tick b,.edge-right .tick b{font-size:10px}.edge-left .tick b{left:20px}.edge-right .tick b{right:20px}
 #edge-view:not(.touched):not(.guiding) :is(.guide-x,.guide-y){display:none}
 .phone-coords:not(:empty){display:block;position:absolute;inset-inline-end:45px;bottom:45px;z-index:4;padding:4px 8px;background:var(--ph-panel);color:var(--ph-text);border:1px solid var(--ph-border);border-radius:4px;font:12px monospace;pointer-events:none}
 .crossing:before,.crossing:after{content:'';position:absolute;pointer-events:none;z-index:2}.crossing:before{left:var(--cursor-x,-2px);inset-block:0;border-left:1px dotted var(--ph-muted)}.crossing:after{top:var(--cursor-y,-2px);inset-inline:0;border-top:1px dotted var(--ph-muted)}
 .phone-expanded{overflow:hidden}.phone-expanded main>:not(#edge-view):not(dialog),.phone-expanded footer{display:none}
 #guide,#faq,#workspace,#edge-view{scroll-margin-top:86px}
}

.header-edges,.edge-panel .edge-options summary,#model,.edge-switches button,.phone-cards button small{font-weight:500}
.edge-panel .edge-options summary,#model,.header-edge-menu summary,.edge-switches button{min-height:44px;cursor:pointer}
.edge-panel .edge-options summary{padding:10px 12px;color:var(--ink);font-size:1rem;border:1px solid var(--line);border-radius:8px;align-content:center}
#model{font-size:1rem;width:100%;max-width:100%}
.phone-row button[data-side]{min-width:44px;min-height:44px}
.phone-expanded{overflow:hidden}
body.phone-expanded header,body.phone-expanded footer,body.phone-expanded .phone-toolbar,body.phone-expanded main>:not(#edge-view){display:none!important}
body.phone-expanded #edge-view{position:fixed;inset:0;margin:0;width:100%;height:100dvh;max-height:none;min-height:0;z-index:1000;touch-action:none}
body.phone-expanded #edge-view>:not(.edge-rail),body.phone-expanded #edge-view::before,body.phone-expanded #edge-view::after{display:none!important}
@media(max-width:700px),(max-height:490px) and (orientation:landscape){.desktop-full{display:none}}

.ruler-settings{display:grid;grid-template-columns:minmax(0,1fr);gap:6px;grid-column:1/-1;width:100%;margin-block:8px;text-align:start}
.edge-panel .ruler-settings .edge-options{margin:0;padding:0;border:0;min-width:0}
.ruler-settings .edge-options .edge-switches{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.ruler-settings select{margin-block-start:6px}
