:root{color-scheme:light;--ink:#18312d;--muted:#526861;--line:#d6e1d9;--paper:#f5f7f2;--accent:#1b644b;--soft:#e5efe6;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--paper);line-height:1.6;font-size:16px}*{box-sizing:border-box}body{margin:0}header,main,footer{width:min(1160px,100% - 40px);margin-inline:auto}header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding-block:24px;border-bottom:1px solid var(--line)}a{color:var(--accent);text-underline-offset:4px}button,select,textarea,input{font:inherit}button,select{min-height:44px;min-width:44px;border:1px solid #9caf9f;border-radius:9px;background:#fff;color:var(--ink);padding:9px 14px;cursor:pointer;max-width:100%}button{font-weight:650;line-height:1.4}button:hover{background:var(--soft)}button:disabled{opacity:.5;cursor:default}.primary{background:var(--accent);color:white;border-color:var(--accent)}.primary:hover{background:#124d39}:focus-visible{outline:3px solid #c17c23;outline-offset:3px}.brand{display:flex;align-items:center;gap:12px;color:var(--ink);text-decoration:none;font-weight:750;line-height:1.3;font-size:14px;min-height:44px;min-width:0}.brand-icon{font-family:monospace;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--ink);color:#fff;min-width:58px;height:48px;gap:3px}.brand-icon span{color:#a7d6a7}.language{font-size:13px;display:flex;flex-direction:column;gap:3px;min-width:140px}.language select{width:100%}.intro{padding-block:38px 28px;max-width:860px}h1{font-size:clamp(1.9rem,4vw,3rem);letter-spacing:-.035em;line-height:1.15;margin:8px 0 16px}h2{font-size:1.2rem;line-height:1.35;margin-top:0}h3{font-size:1rem}.eyebrow{color:var(--accent);font-family:monospace;letter-spacing:.13em;margin:0}.tagline{color:var(--muted);font-size:1.1rem;margin:0}.workspace{display:grid;grid-template-columns:1.05fr 1fr;gap:22px;align-items:start}.panel{border:1px solid var(--line);background:#fff;border-radius:18px;padding:25px;min-width:0}.controls{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:18px}label{display:flex;flex-direction:column;gap:7px;font-size:.9rem;font-weight:650;min-width:0}label select{width:100%;font-weight:400}textarea{display:block;width:100%;min-width:0;resize:vertical;border:1px solid #8fa499;border-radius:10px;padding:12px;color:var(--ink);background:#fbfcf9;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;line-height:1.6;font-size:1.1rem;overflow-wrap:anywhere;margin-top:8px}textarea[aria-invalid="true"]{border:2px solid #a3352f}.hint{font-size:.8rem;color:var(--muted);margin:9px 0;line-height:1.55}.actions{display:flex;flex-wrap:wrap;gap:10px;margin-block:15px 20px}.actions button{flex:1}.check{display:flex;flex-direction:row;align-items:center;min-height:44px;gap:9px;font-weight:500;cursor:pointer}.check input{appearance:none;border:1px solid #789282;border-radius:8px;width:44px;height:44px;flex:0 0 44px;margin:0;background:#fff;cursor:pointer}.check input:checked{background:var(--accent);border-color:var(--accent)}.check input:checked::after{content:'✓';display:block;text-align:center;color:#fff;line-height:42px;font-size:23px}.storage{border-top:1px solid var(--line);padding-top:14px;margin-top:18px}.quiet{margin-top:8px;font-size:.85rem}#error{color:#a3352f;font-size:.9rem;margin:8px 0}#error:empty,#copy-status:empty,#storage-status:empty{display:none}#copy-status,#storage-status{font-size:.85rem}#storage-status{color:#87501b}.result-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px}.result-heading h2{margin:0}.exact-badge{font-family:monospace;font-size:12px;padding:4px 9px;background:var(--soft);border-radius:6px;color:var(--accent)}#result-status{color:var(--muted);font-size:.9rem;margin:0 0 15px}#result[data-stale="true"]{border-inline-start:3px solid #b37427;padding-inline-start:12px}#result[data-stale="true"] .value-row{opacity:.6}.value-row{border-top:1px solid var(--line);padding-block:15px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;align-items:start}.value-label{font-size:.8rem;font-weight:650;color:var(--muted);grid-column:1}.number{direction:ltr;text-align:left;unicode-bidi:isolate;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;word-break:break-all;white-space:pre-wrap;min-width:0;max-width:100%;font-size:1.05rem;line-height:1.7}.value-row .number{grid-column:1}.value-row button{grid-column:2;grid-row:1 / span 2;max-width:130px;font-size:.78rem}.output-panel>#copy{margin-top:20px;width:100%}details{border-top:1px solid var(--line);padding-top:16px;margin-top:24px}summary{cursor:pointer;min-height:44px;font-weight:650}details p{font-size:.85rem;color:var(--muted)}.range{font-family:monospace;font-size:.85rem;overflow-wrap:anywhere}.guide{display:grid;grid-template-columns:1fr 1fr;gap:30px 48px;margin-block:52px}.guide p,.privacy-page p{color:var(--muted);font-size:.94rem;overflow-wrap:anywhere}.guide article{min-width:0}.guide h3{margin-bottom:6px}.guide h3+p{margin-top:0}footer{display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--line);padding-block:22px 35px;color:var(--muted);gap:20px;font-size:.85rem}footer a,.text-link{display:inline-flex;align-items:center;min-width:44px;min-height:44px}.privacy-page{max-width:800px;padding-block:40px}.skip{position:fixed;top:-100px;inset-inline-start:12px;z-index:10;padding:12px;background:white}.skip:focus{top:8px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}@media(max-width:760px){.workspace,.guide{grid-template-columns:1fr}.guide{gap:22px;margin-block:36px}.intro{padding-top:28px}.panel{padding:20px}.brand{font-size:12px}.language{min-width:125px;max-width:145px}header{gap:16px}.brand-icon{display:none}}@media(max-width:400px){header,main,footer{width:calc(100% - 28px)}.panel{padding:17px}.controls{grid-template-columns:1fr}.intro{padding-bottom:24px}.value-row{gap:6px}.value-row button{max-width:96px;padding:8px;font-size:.73rem}h1{font-size:1.9rem}}@media(prefers-reduced-motion:no-preference){button{transition:background .15s}}@media print{header,.input-panel,#copy,.value-row button,#copy-fallback,footer,.skip{display:none}.workspace,.guide{display:block}.panel{border:none}main{width:100%}}
