/* VaultPik look: same dark, big, bold, phone-first style as the calculators and CleanUp. */
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
:root{--share:#38bdf8;--keep:#fbbf24;--gold:#f5b301;--bg:#0b1220;--card:#1e293b;--line:#334155}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
html,body{margin:0}
body{background:var(--bg);color:#f8fafc;font:20px/1.3 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;
 padding:0 14px calc(120px + env(safe-area-inset-bottom));touch-action:manipulation;overflow-x:hidden}
body.lock{overflow:hidden}
button,input,label.big{font:inherit;color:inherit}
button{cursor:pointer;border:0;touch-action:manipulation;user-select:none;-webkit-user-select:none;background:none}
button:active,label.big:active{transform:scale(.96)}
main{max-width:600px;margin:0 auto;display:flex;flex-direction:column;gap:12px}
.top{max-width:600px;margin:0 auto;display:flex;align-items:center;gap:10px;padding:calc(10px + env(safe-area-inset-top)) 0 4px}
.top img{width:40px;height:40px;border-radius:10px}
.top h1{margin:0;font-size:1.5rem;font-weight:900;flex:1;color:var(--gold)}
.hbtn{height:52px;padding:0 16px;border-radius:14px;background:var(--card);border:3px solid var(--line);font-weight:900;font-size:1.05rem}
.hbtn[aria-pressed=true]{background:#f8fafc;color:var(--bg);border-color:#f8fafc}

/* Two big lists */
.tabs{display:flex;gap:10px;margin-top:4px}
.tab{flex:1;height:84px;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:20px;border:4px solid var(--c);background:#111a2e;color:var(--c);font-size:1.45rem;font-weight:900}
.tab.share{--c:var(--share)}.tab.keep{--c:var(--keep)}
.tab .te{font-size:1.6rem}
.tab .c{font-size:1rem;min-width:34px;padding:2px 8px;border-radius:20px;background:var(--c);color:var(--bg)}
.tab.on{background:var(--c);color:var(--bg);box-shadow:0 0 0 3px #fff}.tab.on .c{background:var(--bg);color:#fff}
.tabhint{margin:0;text-align:center;color:#94a3b8;font-size:1rem;font-weight:700}
#list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.it{display:flex;flex-wrap:wrap;align-items:center;gap:8px;background:var(--card);border:3px solid var(--line);border-left:12px solid var(--c);border-radius:20px;padding:6px}
.it.share{--c:var(--share)}.it.keep{--c:var(--keep)}
.it .open{flex:1;min-width:0;display:flex;align-items:center;gap:12px;min-height:76px;padding:4px 8px;text-align:left}
.it .ic{flex:0 0 56px;height:56px;border-radius:14px;background:#f8fafc;display:flex;align-items:center;justify-content:center;font-size:1.9rem}
.it .nm{display:block;font-size:1.35rem;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.it .ty{display:block;font-size:.95rem;font-weight:700;color:#94a3b8}
.it .tx{min-width:0;overflow:hidden}
.it .ed{display:none;gap:6px}
body.editing .it .ed{display:flex;flex:1 1 100%;padding:0 4px 4px}
.ed button{flex:1;height:60px;border-radius:14px;background:#0f172a;border:3px solid var(--line);font-size:1.4rem}
.ed button.del{border-color:#ef4444}
.ed button:disabled{opacity:.3}
.empty{text-align:center;color:#94a3b8;padding:20px 10px;border:3px dashed var(--line);border-radius:22px}
.empty .ee{font-size:3.4rem}.empty p{margin:6px 0 0;font-size:1.2rem;font-weight:800}
.count{text-align:center;margin:4px 0 0;font-weight:800;color:#cbd5e1}
.count.full{color:#fca5a5}
.link{align-self:center;height:52px;padding:0 18px;border-radius:14px;color:var(--gold);font-weight:900;font-size:1.1rem;border:2px solid #3b3220}

/* Bottom bar: the two big jobs */
#bar{position:fixed;left:0;right:0;bottom:0;z-index:6;display:flex;gap:10px;padding:10px 14px calc(12px + env(safe-area-inset-bottom));background:linear-gradient(transparent,var(--bg) 22%)}
#bar .big{height:84px;font-size:1.6rem;max-width:300px;margin:0 auto}
.big{width:100%;height:72px;border-radius:22px;font-size:1.4rem;font-weight:900;background:var(--card);border:3px solid var(--line);display:flex;align-items:center;justify-content:center;gap:10px;cursor:pointer}
.big span{font-size:1.7rem}
.big.go{background:var(--gold);border-color:var(--gold);color:#1a1300}
.big.go2{background:var(--share);border-color:var(--share);color:#04121c}
.big:disabled{opacity:.4}
.pair{display:flex;gap:10px}.pair>*{flex:1}

/* Full-screen views */
.view{position:fixed;inset:0;z-index:10;background:var(--bg);overflow-y:auto;padding:calc(10px + env(safe-area-inset-top)) 14px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;gap:14px}
.view>*{width:100%;max-width:600px;margin-left:auto;margin-right:auto}
.vh{display:flex;align-items:center;gap:12px}
.vh h2{margin:0;font-size:1.5rem;font-weight:900}
.back{height:56px;padding:0 16px;border-radius:16px;background:var(--card);border:3px solid var(--line);font-weight:900;font-size:1.1rem;white-space:nowrap}
.status{text-align:center;font-size:1.25rem;font-weight:800;margin:0;color:#fde68a;min-height:1.4em}
.cam{position:relative;aspect-ratio:1;border-radius:24px;overflow:hidden;background:#000;border:4px solid var(--line)}
.cam video{width:100%;height:100%;object-fit:cover;display:block}
.cam .frame{position:absolute;inset:16%;border:6px solid var(--gold);border-radius:22px;box-shadow:0 0 0 999px #0006}
label.big{border-color:var(--share);color:var(--share)}
.types{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.types button{height:118px;border-radius:22px;background:var(--card);border:4px solid var(--line);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;font-size:1.35rem;font-weight:900}
.types button .e{font-size:2.6rem;line-height:1}
.types button.wide{grid-column:span 2}
.f{display:block}
.l{display:block;font-size:1.15rem;font-weight:800;margin:0 0 6px 4px;color:#e2e8f0}
.l small{font-weight:600;color:#94a3b8;font-size:.9rem}
.box{display:flex;align-items:center;min-height:68px;border-radius:18px;border:3px solid var(--line);background:#111a2e;padding:0 6px 0 16px;gap:6px}
.box:focus-within{border-color:var(--gold)}
.box input,.box textarea{flex:1;min-width:0;width:100%;border:0;background:transparent;outline:none;font:inherit;font-size:1.4rem;font-weight:700;color:inherit;padding:14px 0}
.box textarea{resize:vertical;min-height:110px}
.box input::placeholder,.box textarea::placeholder{color:#475569}
.mic{flex:0 0 56px;height:56px;border-radius:14px;background:#0f172a;border:3px solid var(--line);font-size:1.5rem}
.mic.on{background:#ef4444;border-color:#fff;animation:p 1s infinite}
@keyframes p{50%{transform:scale(.92)}}
body.no-voice .mic{display:none!important}
.chips{display:flex;gap:8px;flex-wrap:wrap}
.chips button{flex:1;min-width:30%;height:60px;border-radius:16px;background:var(--card);border:3px solid var(--line);font-size:1.2rem;font-weight:900}
.chips button.on{background:var(--gold);border-color:var(--gold);color:#1a1300}
#fields{display:flex;flex-direction:column;gap:14px}
.prev{display:flex;justify-content:center}
.prev canvas,.prev img{width:200px;height:200px;border-radius:16px;background:#fff;object-fit:contain}
.msg{text-align:center;font-size:1.1rem;font-weight:800;color:#fde68a;margin:0}
.what{text-align:center;margin:0;font-size:1.15rem;font-weight:700;color:#cbd5e1;word-break:break-word;white-space:pre-line}
.pick{display:flex;gap:10px}
.pk{flex:1;height:76px;border-radius:20px;border:4px solid var(--c);color:var(--c);background:#111a2e;font-size:1.4rem;font-weight:900}
.pk.share{--c:var(--share)}.pk.keep{--c:var(--keep)}
.pk.on{background:var(--c);color:var(--bg);box-shadow:0 0 0 3px #fff}

/* Show: white, high contrast, as big as the screen allows */
.view.light{background:#fff;color:#000;align-items:center;gap:10px}
.sh{display:flex;justify-content:flex-end}
.done{height:60px;padding:0 22px;border-radius:18px;background:#000;color:#fff;font-weight:900;font-size:1.2rem}
#showName{margin:0;text-align:center;font-size:1.7rem;font-weight:900;word-break:break-word}
.qrwrap{display:flex;justify-content:center}
#showC,#showImg{width:min(92vw,62vh,560px);height:min(92vw,62vh,560px);image-rendering:pixelated;object-fit:contain}
.view.light .what{color:#111;font-size:1.25rem}
.share1{background:#000;color:#fff;border-color:#000}
.tools{display:flex;gap:8px}
.tools button{flex:1;height:58px;border-radius:16px;border:3px solid #000;font-weight:900;font-size:1.05rem;color:#000;background:#fff}
.tools button.red{border-color:#dc2626;color:#dc2626}

/* Unlock screen */
.lead{margin:0;font-size:1.2rem;font-weight:800;text-align:center;color:#fde68a}
.pro{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}
.pro li{background:var(--card);border:3px solid var(--line);border-radius:18px;padding:14px 16px;font-size:1.15rem;font-weight:800;display:flex;justify-content:space-between;gap:10px}
.pro li small{color:#94a3b8;font-weight:700;white-space:nowrap}
.pro li.yes small{color:#4ade80}
.foot{text-align:center;color:#64748b;font-size:.95rem}

.modal{position:fixed;inset:0;z-index:30;background:#000c;display:flex;align-items:center;justify-content:center;padding:18px}
.mbox{width:100%;max-width:460px;background:var(--card);border:3px solid var(--line);border-radius:24px;padding:20px;display:flex;flex-direction:column;gap:16px}
.mbox p{margin:0;font-size:1.35rem;font-weight:900;text-align:center;word-break:break-word}
.mbox .go.red{background:#ef4444;border-color:#ef4444;color:#fff}
.toast{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(120px + env(safe-area-inset-bottom));z-index:40;background:#f8fafc;color:#0b1220;border-radius:18px;padding:14px 22px;font-weight:900;font-size:1.2rem;box-shadow:0 10px 30px #000a;max-width:92vw;text-align:center}
[hidden]{display:none!important}
input,textarea{font-size:max(16px,1em)}
@media (min-width:700px){body{font-size:21px}.types{grid-template-columns:1fr 1fr 1fr}.types button.wide{grid-column:auto}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
