/* Shared reset and installation flow. Screen layout lives in nearby.css. */
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}[hidden]{display:none!important}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:4px}input[type=search],select{width:100%}img{max-width:100%}.photo{display:block;width:100%;object-fit:cover}.photo-empty{display:grid;place-items:center}.filters{display:flex;gap:12px}.filters label{flex:1;min-width:0}.toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px}.urgent{display:flex;align-items:center;gap:8px}.urgent input{width:19px;height:19px;accent-color:var(--accent)}dialog{border:0;max-width:520px;width:calc(100% - 24px);max-height:90dvh;color:var(--ink);background:var(--surface);overflow:auto}#toast{position:fixed;left:50%;transform:translateX(-50%);max-width:calc(100% - 32px);padding:14px 20px;background:var(--ink);color:var(--bg);border-radius:16px;display:none;box-shadow:0 10px 30px #0002}#toast.show{display:block}
#installDialog{padding:28px;max-width:470px;background:linear-gradient(145deg,#fffaf3,#eef2e5);border:1px solid #e2e5d7;border-radius:28px;box-shadow:0 24px 80px #16362340}#installDialog::backdrop{background:#173d30b8;backdrop-filter:blur(5px)}.install-top{display:flex;align-items:center;justify-content:space-between}.install-top img{border-radius:16px;box-shadow:0 6px 16px #ef623426}#installClose{height:44px;width:44px;border:1px solid #dce2d2;background:#ffffffb0;color:#315743;border-radius:50%;font-size:20px}.install-kicker{font-size:12px;letter-spacing:.1em;color:#b95431;font-weight:900;margin:22px 0 8px}#installTitle{font:650 32px/1.15 Fredoka,Nunito,sans-serif;color:#214d3b;margin:0 0 12px}#installDescription{font-size:16px;line-height:1.6;color:#596b58}.install-steps{list-style:none;margin:24px 0;padding:0;counter-reset:steps;display:grid;gap:12px}.install-steps li{counter-increment:steps;display:flex;align-items:center;gap:12px;color:#778271;font-size:14px;font-weight:750}.install-steps li:before{content:counter(steps);display:grid;place-items:center;flex:0 0 29px;height:29px;border:1px solid #d4ddca;border-radius:50%;background:#fff;color:#708565}.install-steps li.current{color:#244d3b}.install-steps li.current:before{background:#ef6234;color:white;border-color:#ef6234}.install-steps li.done:before{content:'✓';background:#244d3b;color:white;border-color:#244d3b}.install-progress-label{display:flex;justify-content:space-between;gap:12px;font-size:14px;font-weight:800;color:#365c46;margin:20px 0 9px}#installProgress{width:100%;height:12px;display:block;appearance:none;border:0;border-radius:999px;overflow:hidden;background:#dce4d3;accent-color:#ef6234}#installProgress::-webkit-progress-bar{background:#dce4d3;border-radius:999px}#installProgress::-webkit-progress-value{background:linear-gradient(90deg,#ef6234,#ff9e69);border-radius:999px;transition:width .2s}#installProgress::-moz-progress-bar{background:#ef6234}#installProgress:indeterminate{background:linear-gradient(90deg,#dce4d3 25%,#ef6234 50%,#dce4d3 75%);background-size:200% 100%;animation:installLoading 1.5s linear infinite}#installProgress:indeterminate::-webkit-progress-bar{background:transparent}.install-status{min-height:48px;font-size:14px;line-height:1.6;color:#5b715e;margin:14px 0}#installContinue{background:#ef6234;border-radius:999px;font-size:16px;min-height:48px}#installContinue:disabled{opacity:.6;cursor:wait}#installDismiss{border-radius:999px;width:100%;font-size:14px;background:transparent;color:#365b46}#installInstructions{padding:10px 15px;border:1px solid #dae1cf;border-radius:16px;background:#ffffff85;margin:18px 0;font-size:14px;line-height:1.7}#installInstructions ol{padding-left:22px;margin:5px 0}#installInstructions li+li{margin-top:8px}[data-theme=dark] #installDialog{background:linear-gradient(145deg,#26382c,#1e2a22);border-color:#506349}[data-theme=dark] #installTitle,[data-theme=dark] #installDescription,[data-theme=dark] .install-progress-label,[data-theme=dark] .install-status,[data-theme=dark] .install-steps li.current,[data-theme=dark] #installDismiss{color:#edf4e7}[data-theme=dark] #installInstructions{background:#ffffff0c;color:#edf4e7;border-color:#506349}@keyframes installLoading{to{background-position:-200% 0}}@media(max-width:400px){#installDialog{padding:23px;width:calc(100% - 22px)}#installTitle{font-size:29px}}@media(prefers-reduced-motion:reduce){#installProgress:indeterminate{animation:none}#installProgress::-webkit-progress-value{transition:none}}
.install-phone{display:block;margin:0 auto 8px;padding:0;border:0;background:transparent;cursor:pointer}.install-phone img{display:block;width:80px;height:120px;object-fit:contain;filter:drop-shadow(0 6px 10px #173d3230)}.install-phone:focus-visible{outline:3px solid #ef6336;outline-offset:4px;border-radius:12px}
