:root{--bg:#f6f4ef;--surface:#fff;--ink:#22302b;--muted:#66736d;--line:#dfdbd1;--accent:#2f5d50;--accent-ink:#fff;--accent-soft:#e4eee9;--sky:#1f5f8f;--sky-bg:#e1eef9;--good:#256b45;--good-bg:#e2f2e8;--warn:#8a5a00;--warn-bg:#fbf0d9;--bad:#a3302a;--bad-bg:#fae5e3;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#15201c;--surface:#1e2b26;--ink:#e9eeeb;--muted:#9aa8a1;--line:#33423b;--accent:#7cc0a8;--accent-ink:#10201a;--accent-soft:#263a32;--sky:#9ccbf0;--sky-bg:#1d3347;--good:#8fd6ab;--good-bg:#1f3a2b;--warn:#e6c177;--warn-bg:#3a3019;--bad:#f0a29c;--bad-bg:#40211f}}*{box-sizing:border-box}html{-webkit-text-size-adjust:100%;font-size:16px}html[data-size=grande]{font-size:18px}html[data-size=muy-grande]{font-size:20.5px}body{background:var(--bg);color:var(--ink);margin:0;font:1rem/1.4 -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}h1{margin:0;font-size:1.6rem}h2{margin:18px 0 8px;font-size:1.05rem}h3{margin:16px 0 8px;font-size:1rem}h4{margin:0 0 4px;font-size:.85rem}p{margin:6px 0}.page{max-width:760px;padding:16px 16px calc(104px + env(safe-area-inset-bottom));margin:auto}.page-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;display:flex}.muted{color:var(--muted)}.small{font-size:.85rem}.empty{color:var(--muted);text-align:center;padding:20px 8px}.error{color:var(--bad)}.note{background:var(--accent-soft);border-radius:10px;padding:10px 12px}.warn-box{background:var(--warn-bg);color:var(--warn);border-radius:10px;margin:8px 0;padding:10px 12px}button,.button{font:inherit;border:1px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink);cursor:pointer;text-align:center;border-radius:10px;justify-content:center;align-items:center;padding:8px 14px;display:inline-flex}button:disabled{opacity:.6;cursor:default}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.button:focus-within{outline:2px solid var(--accent);outline-offset:2px}.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent);font-weight:600}.danger{color:var(--bad);border-color:var(--bad)}.ghost{color:var(--muted);background:0 0;border:0;min-width:44px;padding:0}.wide{width:100%;margin:8px 0}.grow{flex:1}.row{flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0;display:flex}.row.between{justify-content:space-between}.row>.field{min-width:80px;margin:0}input,select,textarea{font:inherit;border:1px solid var(--line);background:var(--surface);width:100%;min-height:44px;color:var(--ink);border-radius:10px;padding:8px 10px;font-size:max(16px,1rem)}.row>select{width:auto}input[type=checkbox]{width:22px;height:22px;min-height:0;accent-color:var(--accent);flex:none}input[type=search]{margin:8px 0}.form{gap:10px;margin:10px 0;display:grid}.field{gap:4px;display:grid}.field>span{color:var(--muted);font-size:.85rem}.field small{color:var(--muted)}.check{align-items:center;gap:8px;min-height:44px;display:flex}.check.inline{display:inline-flex}.inline-field{grid-template-columns:1fr 1.3fr;align-items:center;margin-top:6px}.card{background:var(--surface);border:1px solid var(--line);border-radius:14px;flex-direction:column;align-items:flex-start;gap:2px;margin:8px 0;padding:12px;display:flex}.card.link{text-align:left;width:100%}.card.line{flex-flow:wrap;align-items:center;gap:4px 10px}.card.line .ghost,.card.line>button:not(.ghost){margin-left:auto}.card.block,.card.quick{display:block}.event{flex-direction:column;align-items:stretch;gap:6px;padding:8px 10px}.event-top{align-items:center;gap:10px;display:flex}.event-actions{flex-wrap:wrap;gap:8px;display:flex}.event-actions>*{flex:auto;font-weight:600}.line-body{text-align:left;min-width:0;color:inherit;font:inherit;background:0 0;border:0;flex-wrap:wrap;flex:1;justify-content:flex-start;align-items:center;gap:4px 10px;padding:0;display:flex}.line-body:disabled{opacity:1;cursor:default}.card.line>.line-body{margin-left:0}.event-body{text-align:left;background:0 0;border:0;flex-direction:column;flex:1;align-items:flex-start;min-width:0;padding:4px 0;display:flex}.tick-btn{width:44px;height:44px;color:var(--accent);border-radius:50%;flex:none;padding:0;font-size:1.1rem}.struck{color:var(--muted);text-decoration:line-through}.overdue h2{color:var(--bad)}.count{color:var(--muted);font-weight:400}.badge{background:var(--accent-soft);white-space:nowrap;border-radius:99px;padding:2px 8px;font-size:.75rem}.badge.good{background:var(--good-bg);color:var(--good)}.badge.warn{background:var(--warn-bg);color:var(--warn)}.badge.bad{background:var(--bad-bg);color:var(--bad)}.tabs{scrollbar-width:none;gap:6px;margin:8px -16px;padding:2px 16px;display:flex;overflow-x:auto}.tabs button{border-radius:99px;flex:none;min-height:40px}.tabs button.on{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}.segmented{gap:0;margin:8px 0;display:flex}.segmented button{border-radius:0;flex:1}.segmented button:first-child{border-radius:10px 0 0 10px}.segmented button:last-child{border-radius:0 10px 10px 0}.segmented button.on{background:var(--accent-soft);border-color:var(--accent);font-weight:600}.tabbar{background:var(--surface);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);z-index:5;justify-content:center;display:flex;position:fixed;inset:auto 0 0}.tabbar a,.tabbar .tab-add{letter-spacing:-.01em;min-width:0;max-width:150px;min-height:64px;color:var(--muted);white-space:nowrap;flex-direction:column;flex:1;justify-content:center;align-items:center;font-size:13px;font-weight:600;text-decoration:none;display:flex}.tabbar a span{filter:grayscale();font-size:1.3rem;line-height:1.25}.tabbar .tab-add{background:0 0;border:0;flex:.9;gap:2px;padding:0}.tabbar{padding-left:2px;padding-right:2px}.tabbar .tab-add span{background:var(--accent);color:var(--accent-ink);border-radius:12px;justify-content:center;align-items:center;width:46px;height:32px;font-size:1.3rem;font-weight:800;display:flex}.tabbar .tab-add{color:var(--accent)}.tabbar a.active{color:var(--accent);font-weight:600}.tabbar a.active span{filter:none}.fab{right:16px;bottom:calc(72px + env(safe-area-inset-bottom));background:var(--accent);width:56px;height:56px;color:var(--accent-ink);z-index:4;border:0;border-radius:50%;font-size:1.7rem;position:fixed;box-shadow:0 3px 10px #0004}.bell{background:0 0;border:0;justify-content:center;align-items:center;min-width:44px;min-height:44px;padding:0;font-size:1.3rem;text-decoration:none;display:inline-flex;position:relative}.head-actions{gap:2px;display:flex}.dot-count{background:var(--bad);color:#fff;border-radius:9px;min-width:18px;padding:0 4px;font-size:.7rem;position:absolute;top:2px;right:0}.sheet-back{z-index:10;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--bg);width:100%;max-width:620px;max-height:92dvh;padding:12px 16px calc(24px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;overflow-y:auto}@media (width>=700px){.sheet-back{align-items:center}.sheet{border-radius:18px}}.sheet-head{background:var(--bg);z-index:1;justify-content:space-between;align-items:center;gap:8px;padding:4px 0;display:flex;position:sticky;top:-12px}.sheet-head h2{flex:1;margin:0;font-size:1.15rem}.sheet-head{touch-action:none;padding-top:14px}.sheet-grip{background:var(--line);border-radius:3px;width:44px;height:5px;position:absolute;top:2px;left:50%;transform:translate(-50%)}.sheet-close{flex:none;font-weight:600}.sheet{transition:transform .15s ease-out}.login{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:100dvh;padding:24px;display:flex}.calendar{background:var(--surface);border:1px solid var(--line);border-radius:14px;margin:8px 0;padding:8px}.cal-head{text-transform:capitalize;justify-content:space-between;align-items:center;display:flex}.cal-head button{background:0 0;border:0;min-width:44px;font-size:1.3rem}.cal-grid{text-align:center;grid-template-columns:repeat(7,1fr);gap:2px;display:grid}.cal-week{color:var(--muted);padding:4px 0;font-size:.75rem}.cal-day{background:0 0;border:0;border-radius:10px;flex-direction:column;min-height:42px;padding:0;position:relative}.cal-day.now{color:var(--accent);font-weight:700}.cal-day.sel{background:var(--accent-soft)}.cal-day i{background:var(--accent);border-radius:50%;width:6px;height:6px;position:absolute;bottom:4px}.chart{background:var(--surface);border:1px solid var(--line);border-radius:14px;width:100%;height:auto;margin:8px 0;display:block}.chart .band{fill:var(--good-bg)}.chart .axis{stroke:var(--line)}.chart .tick{fill:var(--muted);font-size:11px}.chart .line{fill:none;stroke:var(--accent);stroke-width:2px}.chart .line.second{stroke:var(--muted);stroke-dasharray:4 3}.chart .dot{fill:var(--accent)}.chart .dot.second{fill:var(--muted)}.chart .dot.out{fill:var(--bad)}.totals{grid-template-columns:auto 1fr;gap:4px 12px;margin:10px 0;display:grid}.totals dt{color:var(--muted)}.totals dd{text-align:right;margin:0}.tiles{flex-wrap:wrap;gap:6px;min-height:8px;display:flex}.tile{width:84px;height:84px;position:relative}.tile-open{width:100%;height:100%;padding:0;overflow:hidden}.tile-open img{object-fit:cover;width:100%;height:100%}.tile-share{border-radius:50%;width:24px;min-height:24px;padding:0;font-size:.8rem;position:absolute;bottom:2px;right:2px}.chart-wrap{margin:0}.chart-wrap figcaption{margin-top:-4px}.ghost.share{color:var(--accent);padding:4px 8px;font-weight:600}.tile-x{border-radius:50%;width:24px;min-height:24px;padding:0;font-size:.7rem;position:absolute;top:2px;right:2px}.compare{grid-template-columns:repeat(3,1fr);gap:8px;display:grid}.compare .tile{aspect-ratio:1;width:100%;height:auto}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:.9rem}th,td{border-bottom:1px solid var(--line);text-align:right;white-space:nowrap;padding:8px 6px}th:first-child,td:first-child{text-align:left}meter{width:100%;height:14px}.chip{color:#fff;border-radius:50%;flex:none;justify-content:center;align-items:center;font-weight:700;display:inline-flex}.chip.md{width:26px;height:26px;font-size:.8rem}.chip.sm{width:22px;height:22px;font-size:.7rem}.chips{display:inline-flex}.chips .chip+.chip{box-shadow:0 0 0 2px var(--surface);margin-left:-6px}.event{padding-left:14px;position:relative;overflow:hidden}.stripe{width:5px;position:absolute;top:0;bottom:0;left:0}.with-stripe{padding-left:14px;position:relative;overflow:hidden}.event-side{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.person-picker,.person-filter{flex-wrap:wrap;gap:8px;display:flex}.person-picker button{flex:1;gap:8px}.person-filter{margin:8px 0}.person-filter button{border-radius:99px;min-width:52px}.person-filter button.on,.person-picker button.on{border-width:2px;font-weight:600}.person-filter button.on:first-child{background:var(--accent-soft);border-color:var(--accent)}.segmented button{gap:6px}.lock{margin-right:4px;font-size:.8em}input[type=color]{height:44px;padding:4px}.time-select{align-items:center;gap:6px;display:flex}.time-select select{width:auto;min-width:76px}.quick-add{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.quick-add input{flex:140px;width:auto}.quick-add .error{flex-basis:100%}.chart .val{fill:var(--ink);font-size:11px}.chart .val.out{fill:var(--bad);font-weight:700}.dots{gap:3px;display:flex;position:absolute;bottom:4px;left:50%;transform:translate(-50%)}.dots i{border-radius:50%;width:6px;height:6px;display:block}.day-nav{justify-content:space-between;align-items:center;gap:8px;margin:6px 0;display:flex}.day-nav button.arrow{background:0 0;border:0;min-width:44px;font-size:1.5rem}.day-nav strong{text-align:center;flex:1}.day-sep{color:var(--muted);border-bottom:1px solid var(--line);margin:14px 0 2px;padding-bottom:2px;font-size:.85rem}.pro-note{margin-top:4px}.sync-bar{z-index:20;background:var(--warn-bg);color:var(--warn);justify-content:space-between;align-items:center;gap:8px;padding:6px 16px;font-size:.85rem;display:flex;position:sticky;top:0}.sync-bar.bad{background:var(--bad-bg);color:var(--bad)}.sync-bar .ghost{color:inherit;min-width:auto;font-weight:600}.card.dose{flex-direction:row;align-items:center;gap:10px;padding:8px 10px}.dose-time{font-variant-numeric:tabular-nums;min-width:3.2em;font-weight:700}.dose-body{flex-direction:column;flex:1;min-width:0;display:flex}.dose-actions{gap:6px;display:flex}.card.dose.late{border-color:var(--warn);background:var(--warn-bg)}.card.dose.late .dose-time{color:var(--warn)}.card.dose.done{opacity:.75}details>summary{cursor:pointer;color:var(--muted);align-items:center;min-height:44px;display:flex}.board{font-size:.9rem}.board th,.board td{text-align:center;padding:3px 2px}.board thead th small{color:var(--muted);font-weight:400}.board tbody th{text-align:left;background:var(--bg);white-space:normal;max-width:9.5em;font-weight:600;position:sticky;left:0}.board tbody th span,.board tbody th small{text-overflow:ellipsis;display:block;overflow:hidden}.cell{background:var(--accent-soft);width:38px;min-height:40px;color:var(--ink);border:0;border-radius:10px;justify-content:center;align-items:center;padding:0;font-weight:700;display:inline-flex}.cell.good{background:var(--good-bg);color:var(--good)}.cell.warn{background:var(--warn-bg);color:var(--warn)}.cell.bad{background:var(--bad-bg);color:var(--bad)}.legend{flex-wrap:wrap;align-items:center;gap:4px 6px;display:flex}.legend .cell{border-radius:6px;width:22px;min-height:22px;margin-left:6px;font-size:.75rem}.toast{left:50%;bottom:calc(138px + env(safe-area-inset-bottom));z-index:30;background:var(--ink);width:min(560px,100% - 32px);color:var(--bg);border-radius:12px;justify-content:space-between;align-items:center;gap:10px;padding:6px 8px 6px 14px;display:flex;position:fixed;transform:translate(-50%);box-shadow:0 4px 14px #0005}.toast .ghost{color:var(--bg);padding:0 8px;font-weight:700;text-decoration:underline}.toast.bad{background:var(--bad)}a.button{box-sizing:border-box;text-decoration:none}.button.wa{color:var(--good);border-color:#25d366;font-weight:600}td.neg{color:var(--bad)}tr.total td{border-top:2px solid var(--line);font-weight:600}.card.now{border:2px solid var(--accent);background:var(--accent-soft);gap:4px;padding:14px}.now-label{letter-spacing:.05em;text-transform:uppercase;color:var(--accent);font-size:.85rem;font-weight:700}.now-title{font-size:1.3rem}.now-actions{gap:8px;width:100%;margin-top:8px;display:flex}.now-actions button{min-height:56px;font-weight:700}.now-actions .primary{flex:1.6}.now-actions button:not(.primary){flex:1}.card.summary{color:inherit;flex-direction:row;align-items:center;gap:12px;text-decoration:none}.card.summary.late{border-color:var(--bad)}.summary-ico,.opt-ico{background:var(--accent-soft);border-radius:12px;flex:none;justify-content:center;align-items:center;width:46px;height:46px;font-size:1.4rem;display:flex}.summary-body,.opt-body{text-align:left;flex-direction:column;flex:1;min-width:0;display:flex}.opt-chev{color:var(--muted);margin-left:auto;font-size:1.6rem}.card.opt{flex-direction:row;align-items:center;gap:12px;width:100%;min-height:72px}.card.quote{text-align:left;border-left:4px solid var(--accent);align-items:stretch;gap:6px;width:100%}.quote-open{text-align:left;min-height:0;color:inherit;background:0 0;border:0;flex-direction:column;align-items:flex-start;gap:2px;padding:0;display:flex}.quote-actions{justify-content:space-between;align-items:center;gap:8px;display:flex}.quote-actions .ghost{min-width:auto;padding:0 4px}.card.quote-min{border-left:4px solid var(--accent);text-align:left;flex-direction:row;align-items:center;gap:10px;width:100%;min-height:52px;padding:8px 12px;font-weight:600}.quote-label{letter-spacing:.05em;text-transform:uppercase;color:var(--muted);font-size:.8rem;font-weight:700}.quote-text{white-space:pre-line;margin:2px 0;font-size:1.02rem;line-height:1.4}.card.quote .quote-text{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.quote-text.big{font-size:1.2rem}.quote-more{color:var(--accent);margin-top:4px;font-size:.9rem;font-weight:600}.quote-author{color:var(--muted);margin:0;font-size:.9rem}.quote-author:before{content:"— "}.quote-full.peek{border-style:dashed}.quote-line{white-space:pre-line;text-align:left}.sizes{gap:8px;display:flex}.sizes button{flex:1;min-height:60px;font-weight:700;line-height:1.1}.sizes .size-normal{font-size:16px}.sizes .size-grande{font-size:18px}.sizes .size-muy-grande{font-size:20px}.sizes button.on{border:2px solid var(--accent);background:var(--accent-soft)}.holiday{vertical-align:middle;display:inline-flex;position:relative}.holiday-tag{background:var(--sky-bg);min-height:28px;color:var(--sky);border:1px solid #0000;border-radius:99px;padding:0 10px;font-size:.8rem;font-weight:700}.holiday-pop{z-index:8;background:var(--surface);width:max-content;max-width:min(280px,80vw);color:var(--ink);border:1px solid var(--line);text-align:left;border-radius:12px;flex-direction:column;gap:2px;padding:8px 12px;font-size:.95rem;font-weight:400;display:flex;position:absolute;top:calc(100% + 6px);left:50%;transform:translate(-50%);box-shadow:0 4px 14px #0003}.holiday-pop small{color:var(--muted);font-size:.8rem}.day-title{text-align:center;flex-wrap:wrap;flex:1;justify-content:center;align-items:center;gap:4px 8px;display:flex}.day-sep .holiday{margin-left:6px}.day-sep .holiday-tag{min-height:24px;font-size:.72rem}.cal-day.holi{color:var(--sky);background:var(--sky-bg);font-weight:700}.cal-day.holi.sel{box-shadow:inset 0 0 0 2px var(--accent)}.holiday-line{color:var(--muted);align-items:center;gap:8px;margin:4px 0;display:flex}.day-title strong{flex:none}.head-toggle{justify-content:space-between;align-items:center;gap:8px;display:flex}.done-toggle{min-width:48px;min-height:44px;color:var(--muted);border-radius:99px;gap:6px;padding:0 10px;font-size:.9rem;font-weight:700;position:relative}.done-toggle.on{background:var(--accent);border-color:var(--accent);color:var(--accent-ink)}.done-count{background:var(--accent-soft);min-width:1.4em;height:1.4em;color:var(--accent);border-radius:99px;justify-content:center;align-items:center;font-size:.8rem;display:inline-flex}.all-done{color:var(--good);margin:6px 0 4px;font-weight:600}details.upcoming{margin-top:10px}details.upcoming>summary{color:var(--ink);border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:52px;list-style:none;display:flex}details.upcoming>summary::-webkit-details-marker{display:none}details.upcoming>summary h2{margin:0}details.upcoming .chev{background:var(--surface);border:1px solid var(--line);border-radius:50%;flex:none;justify-content:center;align-items:center;width:40px;height:40px;display:inline-flex}details.upcoming .chev:before{content:"";border-right:2.5px solid var(--muted);border-bottom:2.5px solid var(--muted);width:10px;height:10px;transition:transform .15s;transform:translateY(-2px)rotate(45deg)}details.upcoming[open] .chev:before{transform:translateY(2px)rotate(225deg)}.faq>summary{color:var(--ink)}.faq p{margin:4px 0 2px}
