:root{--bg: #f4f6f8;--surface: #ffffff;--text: #13202b;--muted: #5d6b78;--line: #dde3e9;--primary: #0f9488;--accent: #d97706;--danger: #c2410c;--radius: 16px;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media(prefers-color-scheme:dark){:root{--bg: #0f1720;--surface: #18232f;--text: #e8eef3;--muted: #93a3b1;--line: #273544;--primary: #2dd4bf;--accent: #f59e0b;--danger: #fb923c}}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}h1,h2,h3,p{margin:0}h2{font-size:.85rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}h3{font-size:1rem;margin-top:1rem}a{color:var(--primary)}.shell{max-width:1100px;margin:0 auto;padding:16px 16px 120px}.top-tiles{display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:12px}.top-tiles .card{gap:4px}.ephemeris .title:first-letter{text-transform:uppercase}.agreement-tile{justify-content:center}.agreement-text{font-size:1.15rem;font-style:italic;font-weight:600;line-height:1.35}.top{display:flex;align-items:center;gap:16px;margin-bottom:20px}.brand{display:flex;align-items:center;gap:8px;font-weight:700;font-size:1.2rem}.brand img{width:28px;height:28px}.tabs{display:flex;gap:4px;flex:1}.tabs button{background:none;border:0;color:var(--muted);padding:8px 12px;border-radius:10px;font:inherit;cursor:pointer}.tabs button.active{background:var(--surface);color:var(--text);font-weight:600}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px;display:flex;flex-direction:column;gap:8px;color:inherit;font:inherit;text-align:left}button.card{cursor:pointer}button.card:hover{border-color:var(--primary)}.muted{color:var(--muted)}.small{font-size:.85rem}.big{font-size:2rem;font-weight:700}.big small{font-size:.9rem;font-weight:400;color:var(--muted)}.title{font-weight:600}.error{color:var(--danger)}.dashboard{display:flex;flex-direction:column;gap:16px}.counters-row{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}.counter .icon{font-size:1.5rem}.counter .days{font-size:2.6rem;font-weight:800;line-height:1;color:var(--primary)}.counter .days small{font-size:1rem;color:var(--muted)}.counter .label{font-weight:600}.empty{justify-content:center;align-items:center;color:var(--muted);min-height:140px}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}.quote blockquote{margin:0;font-size:1.1rem;font-style:italic}.quote{margin:0}.bar{height:8px;border-radius:4px;background:var(--line);overflow:hidden}.bar>div{height:100%;border-radius:4px;transition:width .4s}.bar .primary{background:var(--primary)}.bar .accent{background:var(--accent)}.plain{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:6px}.plain li{display:flex;justify-content:space-between;gap:8px}.quotes{padding-left:1rem;margin:0;display:flex;flex-direction:column;gap:6px;font-style:italic}.stack{display:flex;flex-direction:column;gap:16px;max-width:720px}.counter-line,.item{flex-direction:row;align-items:center;gap:12px}.counter-line .icon{font-size:1.8rem}.grow{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}.narrow{width:110px}.actions{display:flex;flex-direction:column;gap:6px}.row{display:flex;gap:12px;align-items:flex-end;flex-wrap:wrap}.form label,label{display:flex;flex-direction:column;gap:4px;font-size:.9rem;color:var(--muted)}input,textarea{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:10px;padding:10px 12px;width:100%}input:focus,textarea:focus,button:focus-visible{outline:2px solid var(--primary);outline-offset:1px}button.primary,button.ghost{font:inherit;border-radius:10px;padding:10px 16px;cursor:pointer}button.primary{background:var(--primary);color:#fff;border:0;font-weight:600}button.ghost{background:none;border:1px solid var(--line);color:var(--text)}button.danger{color:var(--danger)}.urge-button{position:fixed;right:24px;bottom:24px;z-index:5;background:var(--accent);color:#1a1205;border:0;border-radius:999px;padding:16px 24px;font:inherit;font-weight:700;font-size:1.05rem;cursor:pointer;box-shadow:0 8px 24px #00000040}.sheet-backdrop{position:fixed;inset:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10;padding:16px}.sheet{width:100%;max-width:440px;gap:12px}.timer{font-size:3.5rem;font-weight:800;text-align:center;color:var(--accent);font-variant-numeric:tabular-nums}.suggestion{font-size:1.2rem;font-weight:600;text-align:center}.login{max-width:360px;margin:12vh auto;align-items:stretch;text-align:center}.login img{align-self:center}.steps-chart{display:flex;align-items:flex-end;gap:3px;height:120px}.steps-chart>div{flex:1;min-height:2px;border-radius:3px 3px 0 0;background:var(--line)}.steps-chart>div.reached{background:var(--primary)}.steps-howto{margin:0;padding-left:1.2rem;display:flex;flex-direction:column;gap:6px}button:disabled{opacity:.6;cursor:default}@media(max-width:700px){.shell{padding-bottom:calc(170px + env(safe-area-inset-bottom))}.tabs{position:fixed;left:0;right:0;bottom:0;z-index:5;background:var(--surface);border-top:1px solid var(--line);padding:6px 8px calc(6px + env(safe-area-inset-bottom));justify-content:space-around}.tabs button{display:flex;flex-direction:column;align-items:center;font-size:.7rem;padding:6px 2px}.tabs button span{font-size:1.3rem}.top{justify-content:space-between}.top-tiles{grid-template-columns:1fr 1fr}.top-tiles .ephemeris{grid-column:1 / -1;order:3}.agreement-text{font-size:1rem}.urge-button{left:16px;right:16px;bottom:calc(72px + env(safe-area-inset-bottom))}.counters-row{grid-template-columns:repeat(2,1fr)}.counter-line,.item{flex-wrap:wrap}.actions{flex-direction:row;width:100%}.actions button{flex:1}}
