:root{--ink:#172e28;--green:#153a31;--deep:#102d27;--brand:#235c45;--mint:#dce9e0;--gold:#e4ac63;--paper:#f0f3ef;--white:#fff;--line:#d6e0d9;--muted:#4e6258;--radius:15px;--pad:clamp(16px,4vw,36px);font:16px/1.5 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none;}
*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button,.button,select{cursor:pointer}button:disabled,.button[aria-disabled=true]{opacity:.55;cursor:not-allowed}button:focus-visible,a:focus-visible,label.button:focus-within,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #c47925;outline-offset:3px}
h1,h2,h3,p{margin:0}p+p{margin-top:.65rem}h1{font-size:clamp(1.9rem,4.2vw,3rem);line-height:1.04;letter-spacing:-.043em;font-weight:770;overflow-wrap:anywhere}h2{font-size:clamp(1.25rem,3vw,1.58rem);line-height:1.15;letter-spacing:-.022em}h3{font-size:1.04rem;line-height:1.16;letter-spacing:-.012em}
svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}.symbols{position:absolute;overflow:hidden}
.shell{max-width:1180px;margin:0 auto;padding-inline:var(--pad)}.site-header{background:var(--green);color:white}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:77px}.branding,.header-actions{display:flex;align-items:center;gap:12px}.branding img{border-radius:11px}.branding strong{display:block;font-size:.95rem;letter-spacing:.065em;white-space:nowrap}.branding small{display:block;color:#a6c4b5;font-size:.59rem;letter-spacing:.17em;font-weight:700}.pill{white-space:nowrap;display:inline-flex;align-items:center;gap:7px;border:1px solid #6f9182;border-radius:20px;padding:5px 10px;font-size:.73rem;font-weight:700}.pill i,.eyebrow span{background:#aad8ab;width:8px;height:8px;border-radius:50%;display:inline-block}.pill.offline i{background:var(--gold)}
.main-nav{background:var(--white);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:5}.nav-inner{display:flex;gap:5px}.nav-button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:53px;padding:8px 15px;border:none;border-bottom:3px solid transparent;background:transparent;color:var(--muted);font-weight:730;font-size:.87rem;white-space:nowrap}.nav-button.active{border-bottom-color:var(--brand);color:var(--green)}.nav-button:hover{background:#f3f6f3}.count{background:#e5eee7;color:#23503d;border-radius:20px;padding:3px 8px;font-size:.72rem}
.main{min-height:62vh;padding-top:clamp(19px,4vw,33px);padding-bottom:30px}
.hero{background:var(--green);color:white;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:clamp(23px,5vw,39px);border:1px solid #35574a;border-radius:var(--radius);position:relative;overflow:hidden}
.hero-content{position:relative;z-index:1;min-width:0}.hero p:not(.eyebrow){color:#d5e6db;margin-top:12px;max-width:34rem}.hero .eyebrow{color:#bcdbc9;margin-bottom:12px}.hero .eyebrow b{margin-left:7px;font-size:inherit;color:#b8d2c4}.hero-watermark{position:absolute;right:5%;top:-19%;width:255px;height:255px;opacity:.13;stroke-width:.35}.empty-hero .button{margin-top:22px}.hero-actions{display:grid;justify-items:end;gap:10px;flex-shrink:0;z-index:1}.save-state{font-size:.77rem;color:#c0daca;text-align:right}
.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;padding:9px 14px;min-height:47px;border-radius:9px;border:1px solid transparent;font-size:.88rem;font-weight:740;text-decoration:none;line-height:1.15}.button svg{width:17px;height:17px}.primary{background:var(--brand);color:#fff}.primary:hover{background:#184632}.secondary{background:#f8faf8;border-color:#cddbd1;color:var(--green)}.secondary:hover{background:#eaf1ec}.light{background:#e7f2e8;color:var(--deep)}.light:hover{background:#d5e8d8}.compact{min-height:38px;padding:6px 10px;font-size:.74rem}.quiet{background:transparent;color:#365449;border-color:transparent}.quiet:hover{background:#edf3ee}
.eyebrow{font-size:.68rem;letter-spacing:.145em;font-weight:800;color:#397358}.eyebrow span{margin-right:5px}.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:28px 0 13px}.section-head h2,.standalone h1{margin-top:4px}.standalone{margin-top:4px;margin-bottom:19px}.standalone p.muted{margin-top:9px}.muted{color:var(--muted);font-size:.91rem}.hint{font-size:.78rem}
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:13px}.metrics article,.panel,.timer{border:1px solid var(--line);background:#fff;border-radius:var(--radius)}.metrics article{padding:12px 15px;display:grid;align-content:start;gap:2px}.metrics span{text-transform:uppercase;letter-spacing:.055em;font-size:.67rem;font-weight:800;color:var(--muted)}.metrics strong{font-size:clamp(1.13rem,2.4vw,1.68rem);line-height:1.2;font-variant-numeric:tabular-nums}.metrics small{font-size:.71rem;color:var(--muted)}
.timers{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.timer{padding:13px 12px;min-width:0;display:grid;gap:9px;border-top:3px solid #94ae9b}.timer[data-status=running]{background:#eaf4ea;border-top-color:#2c7d52}.timer[data-status=paused]{border-top-color:#c88a37}.timer[data-status=finished]{border-top-color:#527463}.timer header{display:grid;gap:5px}.status{font-size:.69rem;color:var(--muted);font-weight:750}.timer-clock{font:730 clamp(1.32rem,3.8vw,2.07rem)/1.07 system-ui;font-variant-numeric:tabular-nums;letter-spacing:-.04em}.timer-actions{display:flex;flex-wrap:wrap;gap:6px}.timer-actions .button{flex:1;padding-inline:7px}.timer footer{border:0}.timer footer button{min-height:43px;justify-content:flex-start;padding:6px 4px;color:#365449;font-size:.78rem}
.below{margin-top:10px;font-size:.82rem}.panel{padding:clamp(15px,3vw,23px)}.form-panel{margin-bottom:11px}.form-panel h3{margin-bottom:14px}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.span-all{grid-column:1/-1}.field{display:grid;gap:5px;align-content:start;min-width:0;color:var(--muted);font-size:.83rem;font-weight:730}
.field input,.field select,.field textarea{min-height:46px;width:100%;border:1px solid #c6d6cb;border-radius:8px;background:#fcfdfc;color:var(--ink);padding:8px 10px;min-width:0;font-size:1rem;font-weight:480}.field input:invalid:not(:placeholder-shown){border-color:#b87142}.field textarea{resize:vertical;min-height:94px}.evidence .section-head{margin:0 0 10px}.photo-buttons{margin:11px 0;display:flex;gap:8px;flex-wrap:wrap}label.button{position:relative}label.button input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(130px,1fr));gap:10px}.photo{border:1px solid var(--line);border-radius:9px;overflow:hidden;background:#f8faf8}.photo img{display:block;width:100%;height:125px;object-fit:cover}.photo span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:5px 8px;font-size:.72rem}.photo button{width:100%;min-height:43px}
.history-list{margin-top:13px;display:grid;gap:8px}.history-item{padding:12px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px;text-align:left;background:#f8faf8;border:1px solid var(--line);border-radius:9px;color:var(--ink);min-height:62px}.history-item:hover{background:#e8f1ea}.history-item strong{display:block;overflow-wrap:anywhere}.history-item small{color:var(--muted);display:block}.history-panel .field{max-width:490px}
.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.backup{display:grid;align-content:start;justify-items:start;gap:10px}.backup>svg{color:var(--brand);width:25px;height:25px}.backup p{font-size:.9rem}.backup .field{width:min(100%,330px)}.tip,.notice{margin:13px 0;padding:12px 14px;border:1px solid #cddcd0;border-radius:10px;background:#e6efe7;color:#254d3a;font-size:.88rem}.tip{display:flex;align-items:flex-start;gap:9px}.notice.warn{background:#fbf2e2;border-color:#e4cda8;color:#654215}.notice.error{background:#fff0ee;border-color:#e1b4ab;color:#752918}
.footer{display:flex;justify-content:space-between;gap:12px;color:var(--muted);font-size:.76rem;padding-bottom:calc(16px + env(safe-area-inset-bottom))}.toast{position:fixed;bottom:calc(13px + env(safe-area-inset-bottom));right:clamp(12px,4vw,32px);max-width:calc(100vw - 24px);z-index:15;border-radius:9px;background:var(--deep);color:#fff;padding:12px 16px;font-size:.9rem;box-shadow:0 4px 18px #21342940}.toast.bad{background:#7f2c21}
dialog{border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);padding:23px;width:min(92vw,480px)}dialog::backdrop{background:#112e26a6}dialog p{margin:10px 0}.time-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.dialog-actions{display:flex;justify-content:end;gap:8px;margin-top:18px}
.skip{position:absolute;left:8px;top:-60px;z-index:20;background:#fff;color:#16382d;padding:8px}.skip:focus{top:8px}
@media (max-width:900px){.timers{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:635px){.metrics,.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-actions{justify-items:start}.save-state{text-align:left}.work-hero{align-items:flex-start;flex-direction:column}.standalone{align-items:flex-start;flex-direction:column}.backup-grid{grid-template-columns:1fr}.nav-inner{gap:0;justify-content:space-between;padding-inline:8px}.nav-button{padding-inline:7px;min-height:49px;flex:1}.nav-button svg{width:17px;height:17px}.hint{display:none}.footer{flex-direction:column;gap:3px}}
@media (max-width:380px){.nav-button{font-size:.75rem;gap:4px}.nav-button .count{display:none}.branding strong{font-size:.79rem}.branding{gap:8px}.header-actions{gap:4px}.header-inner{gap:5px}.header-actions .pill{font-size:.62rem;padding-inline:6px}.timer h3{font-size:.95rem}.form-grid{grid-template-columns:1fr}.timer-actions .button{font-size:.79rem}.metrics article{padding:9px 11px}}
.logo-board{display:grid;place-items:center;flex:none;width:clamp(124px,20vw,192px);padding:16px;background:#f8fbf8;border-radius:13px;border:1px solid #6c8c7c;transform:rotate(3deg)}
.logo-board img{width:100%;height:auto;max-height:124px;object-fit:contain}
@media(max-width:540px){.logo-board{display:none}}
