:root{color-scheme:dark;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#050505;color:#f3f3f3;font-size:15px}*{box-sizing:border-box}body{margin:0}main{max-width:650px;margin:auto;padding:14px 18px 150px}header{display:flex;align-items:center;gap:12px;height:44px;font-size:16px}header #connection{margin-inline-start:auto;color:#929292;font-size:12px}.heading{display:flex;align-items:center;justify-content:space-between;margin-top:24px;gap:8px}.heading h1{font-size:28px;letter-spacing:-.5px;margin:14px 0}.heading>div{display:flex;gap:7px}button{border:0;border-radius:999px;padding:10px 17px;background:#222;color:#f8f8f8;cursor:pointer;font:inherit;min-height:40px;touch-action:manipulation}button:disabled{opacity:.35;cursor:default}button:focus-visible,.row:focus-visible{outline:2px solid #3b98fd;outline-offset:2px}header button{background:transparent;padding:4px 10px;font-size:29px}nav{font-size:12px;color:#999;padding:8px 1px 14px;direction:ltr;text-align:start}.entries{border-radius:20px;background:#1b1b1b;overflow:hidden}.row{width:100%;border-radius:0;background:transparent;display:flex;align-items:center;gap:14px;text-align:start;min-height:64px;border-bottom:1px solid #252525;padding:15px}.row:last-child{border-bottom:0}.row .icon{color:#a4a4a4;font-size:23px;width:24px}.row .name{overflow-wrap:anywhere;flex:1}.row .meta{font-size:11px;color:#999;display:block;margin-top:4px}.row .arrow{font-size:24px;color:#696969}.circle{width:22px;height:22px;border:1px solid #666;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.row.checked .circle{background:#358eef;border-color:#358eef;color:white}.storage{margin:25px 12px}.storage>div{display:flex;justify-content:space-between;color:#999;font-size:12px;gap:8px}.storage p,.storage small{font-size:11px;color:#888}.storage progress{display:block;width:100%;height:5px;margin-top:12px;appearance:none;border:0;border-radius:5px;overflow:hidden;background:#242424}.storage progress::-webkit-progress-bar{background:#242424}.storage progress::-webkit-progress-value{background:#eee;border-radius:5px}.storage progress::-moz-progress-bar{background:#eee}.wide{display:block;width:100%;margin-top:12px;background:#151515;border:1px solid #252525}#message{font-size:13px;color:#9ecbff;line-height:1.7}#message:empty{display:none}#empty{font-size:14px;color:#999;padding:15px;line-height:1.7}footer{position:fixed;bottom:max(15px,env(safe-area-inset-bottom));inset-inline:16px;max-width:614px;margin:auto;background:#1a1a1a;border-radius:36px;display:flex;align-items:center;padding:6px;gap:6px;box-shadow:0 6px 30px #000;min-height:57px}footer span,footer button{flex:1;text-align:center;white-space:nowrap;font-size:13px}footer span{padding:13px 6px;color:#bbb}footer span.active{border-radius:30px;background:#292929;color:white}footer button{padding:12px 7px;background:#2b2b2b}.danger{color:#ef7373;background:#291a1a}#undo{font-size:13px;line-height:1.8;color:#b7d9b7;background:#172217;border-radius:15px;padding:15px;margin-top:18px}#undo button{margin:8px}dialog{background:#202020;color:white;border:1px solid #444;border-radius:20px;max-width:90%;width:400px;padding:24px}dialog::backdrop{background:#000b}dialog h2{font-size:20px}dialog p{line-height:1.8;font-size:14px;color:#ccc}dialog>div{display:flex;gap:10px;margin-top:20px}dialog input{width:100%;background:#111;color:white;border:1px solid #555;border-radius:10px;padding:12px;font:inherit}[hidden]{display:none!important}@media(min-width:700px){main{padding-top:25px}.heading{margin-top:38px}}

#usage{direction:ltr;unicode-bidi:isolate} .row .meta{direction:ltr;unicode-bidi:isolate}#trashitems{background:#171717;padding:12px;border-radius:15px;margin-top:12px}#trashitems button{width:100%;margin-top:8px}

/* v30: quiet depth, consistent rhythm, responsive typography, logical direction */
:root{background:#080a0d;color:#edf1f7;font-size:14px;--panel:#15191f;--line:#252c35;--accent:#73d6a3}body{background:radial-gradient(ellipse at top,#131c24 0,#080a0d 65%);min-height:100vh}main{padding:14px 18px 150px;max-width:680px}header{gap:10px;color:#c8d1de;letter-spacing:.15px}header strong{font-weight:600}.brand-mark{color:var(--accent);font-size:23px}#connection{border:1px solid #2a3540;border-radius:30px;padding:5px 10px}.hero{margin-top:24px;padding:20px;background:linear-gradient(130deg,#202b35,#141b23);border:1px solid #2b3743;border-radius:24px}.eyebrow{color:#9baebf;font-size:10px;letter-spacing:2.5px;direction:ltr;display:block}.heading{margin-top:4px;align-items:center}.heading h1{font-size:clamp(22px,6vw,30px);font-weight:650;line-height:1.35;overflow-wrap:anywhere;min-width:0}.heading>div{flex-wrap:wrap;justify-content:flex-end;flex-shrink:0}button{font-size:13px;min-height:44px;border-radius:13px;transition:background .15s}button.accent{background:#284e40;color:#b4f0cf;border:1px solid #396652}.language-control{display:flex;gap:10px;align-items:center;justify-content:space-between;padding-top:16px;border-top:1px solid #32404b;margin-top:10px;font-size:12px;color:#aebccc}.language-control select{max-width:65%;min-width:0;background:#111a23;color:#e5edf7;border:1px solid #3b4855;border-radius:10px;padding:8px;font:inherit;min-height:38px}nav{padding:19px 5px 12px;direction:inherit;overflow-wrap:anywhere;line-height:1.6;color:#9eafbf}.entries{background:var(--panel);border:1px solid var(--line);border-radius:20px}.row{gap:12px;padding:15px;min-height:76px;border-color:var(--line);font-size:14px}.row .icon{background:#24323d;color:#b4c9d9;border-radius:12px;width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0}.row .name{min-width:0;line-height:1.5}.row .arrow{color:#8397aa}.row.checked{background:#1c3040}.row.checked .circle{background:#458dbc}.storage{padding:19px;background:#11171d;border:1px solid var(--line);border-radius:20px;margin:18px 0}.storage>div{color:#b4c2cf;align-items:center;flex-wrap:wrap}.storage progress{margin:14px 0;height:6px}.storage progress::-webkit-progress-value{background:linear-gradient(90deg,#5fb1cf,#8ae5b2)}.storage small{display:block;line-height:1.7;color:#8b9dab}.storage p{line-height:1.7}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.wide{background:#151d25;border:1px solid #2a3743;margin-top:0;color:#cad6e2;padding:14px;line-height:1.5}.quiet{background:transparent;margin-top:12px;color:#9baebf}footer{border:1px solid #2b3742;background:#141c23;border-radius:22px;bottom:max(12px,env(safe-area-inset-bottom));box-shadow:0 10px 40px #0008;max-width:644px}footer span,footer button{white-space:normal;min-width:0;line-height:1.4;overflow-wrap:anywhere}footer span.active{border-radius:15px;background:#263b3c;color:#a8e6c5}footer button{border-radius:14px;background:#25333f}footer button.danger{background:#372329;color:#ffacb0}dialog{background:#161f28;border:1px solid #3a4b5b;max-height:85vh;overflow:auto}dialog>div{flex-wrap:wrap}dialog>div button{flex:1;line-height:1.5}.loading main,.loading footer{visibility:hidden}#trashitems{background:#141c24;border:1px solid var(--line)}#trashitems button{height:auto;white-space:normal;line-height:1.6}#message{background:#132432;border-radius:12px;padding:12px;color:#b9d9ee}#empty{line-height:1.8}.danger{color:#ffacb0}#undo{background:#142c24;color:#b6e8cc}#undo span{line-height:1.7}#usage{white-space:nowrap}.row .meta{color:#94a9bb}button:focus-visible,select:focus-visible{outline:2px solid #80caae;outline-offset:3px}@media(max-width:360px){main{padding-inline:12px}.hero{padding:15px}.heading{align-items:flex-start}.heading>div{max-width:49%;gap:5px}.heading button{padding:9px}.action-grid{grid-template-columns:1fr}.row{padding:12px;gap:9px}.language-control{align-items:flex-start;flex-wrap:wrap}.language-control select{max-width:100%}footer{inset-inline:10px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Long localized selection labels get their own line, never squeezed by actions. */
.hero .heading{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.hero .heading h1{margin:8px 0 0;overflow-wrap:normal;word-break:normal}.hero .heading>div{display:flex;width:100%;max-width:none;justify-content:flex-end;gap:8px}.hero .heading button{max-width:100%;white-space:normal;overflow-wrap:normal}.hero .heading>div button{flex:0 1 auto}html[dir=rtl] #back{transform:scaleX(-1)}
