:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}body{margin:0}:root{--bg:#f1efe9;--surface:#fff;--surface-2:#f7f6f2;--ink:#1b1c1e;--muted:#57564f;--line:#e4e1d8;--acc:#f2b705;--acc-strong:#d9a400;--acc-ink:#1b1c1e;--acc-soft:#fff4cc;--hero:#1d1f22;--hero-ink:#f5f4ef;--hero-muted:#a9a79f;--ok:#23804f;--ok-soft:#e3f3ea;--bad:#b8382a;--bad-soft:#fbe7e4;--wait:#935d00;--wait-soft:#fdf0d6;--shadow:0 1px 2px #1414120d, 0 6px 20px #1414120f;--radius:18px;--c-hours:#2563c9;--c-hours-soft:#e6eefb;--c-km:#15845c;--c-km-soft:#e2f4ec;--c-cost:#c2620e;--c-cost-soft:#fcefe2;--card-border:#1414120f;--glow:0 8px 20px #d9a40040}@media (prefers-color-scheme:dark){:root:not([data-theme=light]){--bg:#101215;--surface:#171a1f;--surface-2:#1e2228;--ink:#f2f3f5;--muted:#a7adb8;--line:#2c3139;--acc:#d9aa3f;--acc-strong:#c4952f;--acc-soft:#d9aa3f1f;--hero:#101215;--hero-muted:#9aa1ad;--ok:#5fd39a;--ok-soft:#5fd39a24;--bad:#ff8a7a;--bad-soft:#ff8a7a24;--wait:#ffcc5c;--wait-soft:#ffcc5c24;--shadow:0 1px 2px #00000059;--card-border:#ffffff12;--glow:none;--c-hours:#8cb6ff;--c-hours-soft:#8cb6ff21;--c-km:#5ee0aa;--c-km-soft:#5ee0aa21;--c-cost:#ffae5e;--c-cost-soft:#ffae5e21}}:root[data-theme=dark]{--bg:#101215;--surface:#171a1f;--surface-2:#1e2228;--ink:#f2f3f5;--muted:#a7adb8;--line:#2c3139;--acc:#d9aa3f;--acc-strong:#c4952f;--acc-soft:#d9aa3f1f;--hero:#101215;--hero-muted:#9aa1ad;--ok:#5fd39a;--ok-soft:#5fd39a24;--bad:#ff8a7a;--bad-soft:#ff8a7a24;--wait:#ffcc5c;--wait-soft:#ffcc5c24;--shadow:0 1px 2px #00000059;--card-border:#ffffff12;--glow:none;--c-hours:#8cb6ff;--c-hours-soft:#8cb6ff21;--c-km:#5ee0aa;--c-km-soft:#5ee0aa21;--c-cost:#ffae5e;--c-cost-soft:#ffae5e21}body{background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;font-size:16px;line-height:1.45}button{cursor:pointer}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid var(--acc);outline-offset:2px}.muted{color:var(--muted)}.small{font-size:15px}.note{color:var(--muted);text-align:center;margin:18px 0 0;font-size:14px}.error{color:var(--bad);margin:12px 0 0}.bad-text{color:var(--bad)!important}.sr-only{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.icon{flex:none}h1{letter-spacing:-.4px;margin:0;font-size:28px;line-height:1.15}h2{letter-spacing:-.2px;align-items:center;gap:8px;margin:0 0 10px;font-size:18px;display:flex}.logo{background:var(--acc);border-radius:12px;flex:none;place-items:center;width:40px;height:40px;display:inline-grid;box-shadow:inset 0 -3px #0000001f}.logo svg{width:30px;height:30px;fill:var(--acc-ink)}.logo.big{border-radius:20px;width:72px;height:72px}.logo.big svg{width:54px;height:54px}.splash{place-items:center;min-height:100vh;display:grid}.hero,.login-hero{color:var(--hero-ink);background-color:var(--hero);background-image:radial-gradient(circle at 85% -20%,#f2b70547,#0000 45%),linear-gradient(#ffffff09 1px,#0000 1px),linear-gradient(90deg,#ffffff09 1px,#0000 1px);background-size:auto,28px 28px,28px 28px;position:relative}.hero:before,.login-hero:before{content:"";background:repeating-linear-gradient(-45deg, var(--acc) 0 12px, var(--hero) 12px 24px);height:5px;position:absolute;inset:0 0 auto}.shell{min-height:100vh}.main{min-width:0}.hero{padding:calc(14px + env(safe-area-inset-top)) 16px 72px}.hero-bar,.hero-title,.content{max-width:600px;margin-left:auto;margin-right:auto}.hero-bar{align-items:center;gap:12px;display:flex}.who{flex:1;min-width:0}.who strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.who span{color:var(--hero-muted);font-size:13px;display:block}.avatar{background:#ffffff1a;border:1px solid #ffffff26;border-radius:50%;flex:none;place-items:center;width:40px;height:40px;font-size:14px;font-weight:700;display:grid}.icon-btn{width:48px;height:48px;color:var(--hero-ink);background:#ffffff0f;border:1px solid #ffffff26;border-radius:14px;place-items:center;display:grid}.hero-title{margin-top:22px}.hero-title p{color:var(--hero-muted);margin:4px 0 0}.hero-title p:first-letter{text-transform:uppercase}.content{margin-top:-52px;padding:0 14px 40px;position:relative}.with-nav .content{padding-bottom:calc(110px + env(safe-area-inset-bottom))}.content>:first-child{margin-top:0}.card{background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow);margin-top:14px;padding:18px}.card-head{justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;display:flex}.card-head h2{margin:0}.card.empty{text-align:center;color:var(--muted);padding:32px 20px}.card.empty h2{color:var(--ink);justify-content:center;margin:10px 0 4px}.section-label{color:var(--muted);text-transform:uppercase;letter-spacing:.6px;margin:22px 4px 0;font-size:12px;font-weight:700}label{color:var(--muted);margin:14px 0 6px;font-size:14px;font-weight:600;display:block}input,select,textarea{width:100%;min-height:52px;font:inherit;color:var(--ink);background:var(--surface-2);border:1.5px solid var(--line);border-radius:12px;padding:12px 14px;transition:border-color .15s,background .15s}input:focus,select:focus,textarea:focus{border-color:var(--acc);background:var(--surface);outline:none}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.7}textarea{resize:vertical;min-height:110px}input:disabled,textarea:disabled,select:disabled{opacity:.6}.amount-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.btn{background:var(--acc);width:100%;min-height:56px;color:var(--acc-ink);border:0;border-radius:14px;justify-content:center;align-items:center;gap:10px;margin-top:16px;padding:0 18px;font-family:inherit;font-size:18px;font-weight:700;transition:transform 80ms,filter .15s;display:flex;box-shadow:inset 0 -3px #0000001f}.btn:active{transform:scale(.98)}.btn:disabled{opacity:.55;transform:none}.btn.big,.btn.start{min-height:64px;font-size:20px}.btn.start{border-radius:18px;min-height:76px;font-size:22px}.btn.stop{background:var(--ink);color:var(--surface);box-shadow:none}.btn.secondary,.btn.plain{background:var(--surface-2);color:var(--ink);border:1.5px solid var(--line);box-shadow:none;font-size:16px}.btn.accept{background:var(--ok);color:#fff;box-shadow:none}.btn.reject{background:var(--bad-soft);color:var(--bad);box-shadow:none}@media (prefers-color-scheme:dark){:root:not([data-theme=light]) .btn.accept{color:#0d1f15}}:root[data-theme=dark] .btn.accept{color:#0d1f15}.link{color:var(--muted);font:inherit;text-underline-offset:3px;background:0 0;border:0;min-height:44px;padding:0 4px;font-weight:600;text-decoration:underline}.link.inline{min-height:0;color:var(--ink);padding:6px 0}.chip{border:1.5px solid var(--line);background:var(--surface-2);min-height:44px;color:var(--ink);font:inherit;border-radius:999px;align-items:center;gap:6px;margin-top:8px;padding:0 14px;font-size:14px;font-weight:600;display:inline-flex}.chip.ok{color:var(--ok);border-color:var(--ok);background:var(--ok-soft)}.badge{white-space:nowrap;background:var(--surface-2);color:var(--muted);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700;display:inline-block}.badge.zaakceptowany{background:var(--ok-soft);color:var(--ok)}.badge.odrzucony{background:var(--bad-soft);color:var(--bad)}.badge.oczekuje{background:var(--wait-soft);color:var(--wait)}.badges{flex-direction:column;align-items:flex-end;gap:4px;display:flex}.flash{background:var(--surface-2);border-radius:12px;margin:14px 0 0;padding:12px 14px;font-weight:600}.flash.ok{background:var(--ok-soft);color:var(--ok)}.flash.bad{background:var(--bad-soft);color:var(--bad)}.count{background:var(--acc);min-width:26px;height:26px;color:var(--acc-ink);border-radius:999px;place-items:center;padding:0 8px;font-size:13px;display:inline-grid}.item{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:14px 0;display:flex}.item:first-of-type{border-top:0}.item>div:first-child{min-width:0}.item small{color:var(--muted);display:block}.clip{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.pre{white-space:pre-wrap;font-style:normal}.expense-line{padding:4px 0}.money{text-align:right;font-variant-numeric:tabular-nums;font-weight:700}.login-page{min-height:100vh;padding-bottom:40px}.login-hero{padding:calc(56px + env(safe-area-inset-top)) 20px 96px;text-align:center}.login-hero h1{margin-top:16px;font-size:34px}.login-hero p{color:var(--hero-muted);margin:6px 0 0}.login-card{max-width:420px;margin:-64px auto 0;position:relative}.login-page .note{max-width:420px;margin-left:auto;margin-right:auto;padding:0 16px}.login-page form.card{margin-left:14px;margin-right:14px}@media (width>=460px){.login-page form.card{margin-left:auto;margin-right:auto}}.demo-hint{background:var(--acc-soft);border-radius:12px;margin:14px 0 0;padding:10px 12px;font-size:14px}.clock{text-align:center}.clock.working{outline:2px solid var(--ok);outline-offset:-2px}.site-select{background:var(--surface-2);border:1.5px solid var(--line);color:var(--ink);text-align:left;border-radius:14px;align-items:center;gap:8px;margin:0 0 4px;padding-left:14px;display:flex}.site-select select{background:0 0;border:0;padding-left:0;font-weight:600}.site-select.static{min-height:52px;font-weight:600}.clock .btn.start{margin-top:12px}.live{background:var(--ok-soft);color:var(--ok);border-radius:999px;align-items:center;gap:8px;margin:0;padding:6px 12px;font-size:14px;font-weight:700;display:inline-flex}.dot{background:var(--ok);border-radius:50%;width:10px;height:10px;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.3}}.timer{font-variant-numeric:tabular-nums;letter-spacing:-1.5px;margin:10px 0 0;font-size:56px;font-weight:800;line-height:1.05}.clock .muted.small{margin:2px 0 0}.step-label{color:var(--muted);margin:18px 0 8px;font-size:14px;font-weight:600}.stepper{justify-content:center;align-items:center;gap:18px;display:flex}.stepper button{border:1.5px solid var(--line);background:var(--surface-2);width:60px;height:60px;color:var(--ink);border-radius:16px;place-items:center;display:grid}.stepper button:disabled{opacity:.35}.stepper strong{text-align:center;font-variant-numeric:tabular-nums;min-width:130px;font-size:24px}.tiles{grid-template-columns:1fr 1fr;gap:10px;margin-top:14px;display:grid}.tiles.three{grid-template-columns:1.35fr 1fr 1fr;margin-top:8px}.tile{background:var(--surface);box-shadow:var(--shadow);border-radius:16px;min-width:0;padding:14px}.tile span{color:var(--muted);font-size:13px;font-weight:600;display:block}.tile strong{font-variant-numeric:tabular-nums;letter-spacing:-.4px;margin-top:2px;font-size:24px;display:block}.tiles.three .tile{padding:12px}.tiles.three .tile strong{font-size:19px}.tile.wide{grid-column:span 2}.tile.accent{background:var(--acc);color:var(--acc-ink)}.tile.accent span{color:var(--acc-ink);opacity:.75}.fit{overflow-wrap:anywhere;line-height:1.25;font-size:17px!important}.photo-buttons .btn{margin-top:10px}.photo-preview{text-align:center;margin-top:12px}.photo-preview img{max-width:100%;max-height:280px;box-shadow:var(--shadow);border-radius:14px}.cat-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.cat-grid button{text-align:left;border:1.5px solid var(--line);background:var(--surface-2);min-height:54px;color:var(--ink);font:inherit;border-radius:14px;align-items:center;gap:10px;padding:0 14px;font-weight:600;display:flex}.cat-grid button.active{background:var(--acc);color:var(--acc-ink);border-color:var(--acc-strong)}.viewer{z-index:50;padding:16px 16px calc(16px + env(safe-area-inset-bottom));background:#000000e6;flex-direction:column;justify-content:center;align-items:center;gap:14px;display:flex;position:fixed;inset:0}.viewer img{object-fit:contain;background:#fff;border-radius:10px;max-width:100%;max-height:80vh}.viewer .btn{max-width:240px}.segment{background:var(--surface);box-shadow:var(--shadow);border-radius:16px;gap:4px;padding:4px;display:flex}.segment button{min-height:48px;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:12px;flex:1;font-weight:700}.segment button.active{background:var(--ink);color:var(--surface)}.entry{border-top:1px solid var(--line);padding:16px 0}.entry:first-of-type{border-top:0}.entry small{color:var(--muted);display:block}.entry-head{justify-content:space-between;align-items:center;gap:10px;display:flex}.person-line{align-items:center;gap:10px;min-width:0;display:flex}.person-line strong{font-size:17px}.mini-avatar{background:var(--acc-soft);width:36px;height:36px;color:var(--ink);border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:800;display:grid}.hours{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:18px;font-weight:800}.entry-note{background:var(--surface-2);border-radius:12px;margin:8px 0 0;padding:10px 12px;font-style:italic}.entry-note.pre{font-style:normal}.actions{gap:10px;display:flex}.actions .btn{flex:1;margin-top:12px;font-size:17px}.bulk{margin-top:14px}.filters{gap:0 12px;display:grid}.filters label{margin-top:10px}.bar-row{border-top:1px solid var(--line);padding:12px 0}.bar-row:first-of-type{border-top:0}.bar-top{justify-content:space-between;align-items:baseline;gap:10px;display:flex}.bar-top span,.bar-top strong{font-variant-numeric:tabular-nums}.bar{background:var(--surface-2);border-radius:999px;height:12px;margin:8px 0 6px;overflow:hidden}.bar.thin{height:8px}.bar div{background:linear-gradient(90deg, var(--acc-strong), var(--acc));border-radius:999px;height:100%}.report{border-top:1px solid var(--line);padding:16px 0}.report:first-of-type{border-top:0}.report .badge{margin-top:10px}.facts{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.facts span{background:var(--surface-2);color:var(--muted);border-radius:10px;padding:6px 10px;font-size:14px}.facts b{color:var(--ink)}.export-grid{grid-template-columns:1fr 1fr;gap:8px;display:grid}.export-grid .btn{min-height:56px;margin-top:0;font-size:15px}.dash-grid{gap:0 16px;display:grid}.add-site{border-top:1px solid var(--line);margin-top:10px;padding-top:6px}.person{border-top:1px solid var(--line)}.person:first-of-type{border-top:0}.person-head{width:100%;min-height:64px;color:var(--ink);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:12px;padding:10px 0;display:flex}.person-head>div{flex:1;min-width:0}.person-head small{color:var(--muted);display:block}.person-edit{padding:0 0 18px}.check{min-height:52px;color:var(--ink);align-items:center;gap:12px;margin:0;font-size:15px;font-weight:500;display:flex}.check input{width:24px;height:24px;min-height:24px;accent-color:var(--acc-strong);flex:none}.bottom-nav{left:12px;right:12px;bottom:calc(10px + env(safe-area-inset-bottom));z-index:20;background:var(--surface);max-width:560px;box-shadow:0 10px 30px #0000002e, 0 0 0 1px var(--line);border-radius:22px;margin:0 auto;padding:6px;display:flex;position:fixed}.bottom-nav button,.side-nav button{min-height:60px;color:var(--muted);font:inherit;background:0 0;border:0;border-radius:16px;flex-direction:column;flex:1;align-items:center;gap:2px;padding:4px 0;font-size:12px;font-weight:600;display:flex}.pill{border-radius:999px;place-items:center;padding:4px 18px;display:grid;position:relative}.bottom-nav button.active{color:var(--ink)}.dot-count{background:var(--bad);color:#fff;text-align:center;border:2px solid var(--surface);border-radius:999px;min-width:20px;height:20px;padding:0 5px;font-size:11px;font-weight:800;line-height:20px;position:absolute;top:-4px;right:4px}.side{display:none}@media (width>=960px){.shell.with-nav{grid-template-columns:248px 1fr;display:grid}.with-nav .bottom-nav,.with-nav .hero-bar .logo{display:none}.with-nav .content{padding-bottom:48px}.side{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;height:100vh;padding:20px 14px;display:flex;position:sticky;top:0}.side-brand{align-items:center;gap:10px;padding:0 8px 24px;font-size:20px;font-weight:800;display:flex}.side-nav{flex-direction:column;gap:4px;display:flex}.side-nav button{flex-direction:row;justify-content:flex-start;gap:6px;min-height:52px;padding:0 6px;font-size:16px}.side-nav .pill{padding:6px 10px}.side-nav button:hover{background:var(--surface-2);color:var(--ink)}.side-nav button.active{background:var(--acc-soft);color:var(--ink)}.side-nav .dot-count{top:-2px;right:-2px}.hero{padding-left:32px;padding-right:32px}.hero-title h1{font-size:34px}.content{padding-left:32px;padding-right:32px}.content.wide,.hero.wide .hero-bar,.hero.wide .hero-title{max-width:1120px}.content.wide .tiles{grid-template-columns:repeat(4,1fr)}.content.wide .tile.wide{grid-column:span 1}.dash-grid{grid-template-columns:1fr 1fr;align-items:start}.dash-grid .span-2{grid-column:span 2}.filters{grid-template-columns:repeat(3,1fr);align-items:end}.export-grid{grid-template-columns:repeat(4,1fr)}.entries-grid{grid-template-columns:1fr 1fr;gap:0 28px;display:grid}.entries-grid .entry:nth-of-type(2){border-top:0}}.row-actions{flex-wrap:wrap;gap:0 8px;display:flex}.toast{left:50%;bottom:calc(100px + env(safe-area-inset-bottom));z-index:40;background:var(--ink);width:min(92vw,520px);color:var(--surface);border-radius:16px;padding:14px 18px;font-weight:700;animation:.2s ease-out toast-in;position:fixed;transform:translate(-50%);box-shadow:0 12px 32px #0000004d}.toast.ok:before{content:"✓  ";color:var(--acc)}.toast.bad{background:var(--bad);color:#fff}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,12px)}}@media (width>=960px){.toast{bottom:28px;left:calc(50% + 124px)}}.seg-count{background:var(--acc);min-width:22px;height:22px;color:var(--acc-ink);border-radius:999px;place-items:center;margin-left:6px;padding:0 6px;font-size:12px;display:inline-grid}.lines{white-space:pre-line}.done-today{margin:10px 0 0}.week-head{border-bottom:1px solid var(--line);padding-bottom:6px}.week-head h2{margin:0}.week-head .facts{margin-top:8px}.week-head+.item{border-top:0}.chips{scrollbar-width:none;gap:6px;margin:0 -4px;padding:2px 4px 4px;display:flex;overflow-x:auto}.chips::-webkit-scrollbar{display:none}.chips button{border:1.5px solid var(--line);background:var(--surface-2);min-height:44px;color:var(--ink);font:inherit;white-space:nowrap;border-radius:999px;flex:none;padding:0 16px;font-size:15px;font-weight:600}.chips button.active{background:var(--ink);color:var(--surface);border-color:var(--ink)}.filter-bar{justify-content:space-between;align-items:center;gap:10px;margin-top:8px;display:flex}button.tile{font:inherit;text-align:left;color:inherit;border:0}.tile strong small{margin-left:6px;font-size:14px;font-weight:700}.person-line>div{min-width:0}.person-line small{display:block}.site-row{border-top:1px solid var(--line);padding-bottom:8px}.site-row:first-of-type{border-top:0}.site-row .item{border-top:0;padding-bottom:2px}.site-action{color:var(--muted);font-size:14px}.confirm{background:var(--surface-2);border-radius:14px;margin:6px 0 4px;padding:12px}.confirm p{margin:0}.person-edit{background:var(--surface-2);border-radius:16px;margin-bottom:12px;padding:4px 14px 16px}.person-edit input,.person-edit select{background:var(--surface)}.hint{margin:-4px 0 4px 36px}.metric{font-variant-numeric:tabular-nums;white-space:nowrap;border-radius:999px;align-items:center;gap:5px;padding:4px 10px;font-size:14px;font-weight:700;display:inline-flex}.metric.big{padding:6px 12px;font-size:17px}.metric.hours{background:var(--c-hours-soft);color:var(--c-hours)}.metric.km{background:var(--c-km-soft);color:var(--c-km)}.metric.cost{background:var(--c-cost-soft);color:var(--c-cost)}.metrics{flex-wrap:wrap;gap:6px;margin-top:8px;display:flex}.metric-tile{flex-direction:column;gap:2px;display:flex;position:relative}.metric-tile .tile-icon{background:var(--surface-2);border-radius:11px;place-items:center;width:36px;height:36px;margin-bottom:6px;display:grid}.metric-tile.hours .tile-icon{background:var(--c-hours-soft);color:var(--c-hours)}.metric-tile.km .tile-icon{background:var(--c-km-soft);color:var(--c-km)}.metric-tile.cost .tile-icon{background:var(--c-cost-soft);color:var(--c-cost)}.metric-tile.pending{background:var(--acc);color:var(--acc-ink)}.metric-tile.pending .tile-icon{background:#0000001a}.metric-tile .tile-label{color:var(--muted);font-size:13px;font-weight:600}.metric-tile.pending .tile-label{color:var(--acc-ink);opacity:.75}.metric-tile strong{font-size:24px;line-height:1.15}.metric-tile small{color:var(--muted);font-size:13px}.metric-tile.pending small{color:var(--acc-ink)}.step-head{align-items:center;gap:12px;margin-bottom:10px;display:flex}.step-head h2{flex:1;margin:0}.step-num{background:var(--surface-2);border:2px solid var(--line);width:34px;height:34px;color:var(--muted);border-radius:50%;flex:none;place-items:center;font-weight:800;display:grid}.step-state{background:var(--surface-2);color:var(--muted);white-space:nowrap;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:700}.step-head.todo .step-num{border-color:var(--acc);color:var(--ink);background:var(--acc-soft)}.step-head.todo .step-state{background:var(--acc-soft);color:var(--wait)}.step-head.done .step-num{border-color:var(--ok);background:var(--ok);color:#fff}.step-head.done .step-state{background:var(--ok-soft);color:var(--ok)}.step-head.active .step-num{border-color:var(--ok);color:var(--ok);background:var(--ok-soft)}.step-head.active .step-state{background:var(--ok);color:#fff}.card.step.working{box-shadow:var(--shadow), 0 0 0 2px var(--ok)}.day-line{margin:0 0 4px}.item-sub{margin-top:6px}.clock .live{margin-top:2px}.bar.cost div{background:linear-gradient(90deg, var(--c-cost), #f0a04b)}.chart{align-items:flex-end;gap:3px;height:160px;padding-top:8px;display:flex}.chart-col{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:4px;min-width:0;height:100%;display:flex}.chart-bar{background:var(--c-hours);border-radius:6px 6px 2px 2px;width:100%;max-width:28px;min-height:2px}.chart-col.weekend .chart-bar{opacity:.35}.chart-col span{height:14px;color:var(--muted);font-variant-numeric:tabular-nums;font-size:11px}.people-grid{gap:10px;display:grid}.person-card{background:var(--surface-2);border-radius:14px;padding:12px}.person-card .metrics{margin-top:10px}.table-wrap{margin:0 -18px;padding:0 18px;overflow-x:auto}.table{border-collapse:collapse;width:100%;font-size:14px}.table th{border-bottom:2px solid var(--line);color:var(--muted);text-align:left;text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;padding:10px 8px;font-size:12px;font-weight:700}.table td{border-bottom:1px solid var(--line);vertical-align:middle;padding:12px 8px}.table tbody tr:hover{background:var(--surface-2)}.table .num{text-align:right;white-space:nowrap}.table .num .chip{width:fit-content;margin:6px 0 0 auto;display:flex}.table .tasks{max-width:280px;color:var(--muted)}.nowrap{white-space:nowrap}.desktop-only{display:none}@media (width>=640px){.people-grid{grid-template-columns:repeat(2,1fr)}}@media (width>=960px){.desktop-only{display:block}.mobile-only{display:none}.people-grid{grid-template-columns:repeat(3,1fr)}.chart{gap:6px;height:200px}}.table .person-line strong{font-size:15px}.segment button{white-space:nowrap;padding:0 4px;font-size:15px}.segment .seg-count{margin-left:4px}@media (width<=380px){.segment button{font-size:14px}}.day-form .chips{margin-bottom:4px}.chip-date{border:1.5px solid var(--line);background:var(--surface-2);min-height:44px;color:var(--ink);border-radius:999px;flex:none;align-items:center;gap:6px;margin:0;padding:0 16px;font-size:15px;font-weight:600;display:inline-flex;position:relative}.chip-date.active{background:var(--ink);color:var(--surface);border-color:var(--ink)}.chip-date input{opacity:0;cursor:pointer;min-height:0;padding:0;position:absolute;inset:0}.time-row{grid-template-columns:1fr 1fr;gap:10px;display:grid}.time-row input{text-align:center;font-variant-numeric:tabular-nums;min-height:60px;font-size:24px;font-weight:700}.worked{background:var(--surface-2);border-radius:14px;justify-content:space-between;align-items:center;margin-top:16px;padding:12px 14px;font-weight:600;display:flex}.locked{margin-top:8px}.week-nav{align-items:center;gap:6px;display:flex}.icon-mini{border:1.5px solid var(--line);background:var(--surface-2);width:40px;height:40px;color:var(--ink);border-radius:12px;font-size:22px;line-height:1}.icon-mini:disabled{opacity:.35}.week-day{border:0;border-top:1px solid var(--line);width:calc(100% + 20px);min-height:64px;color:var(--ink);font:inherit;text-align:left;background:0 0;border-radius:0;justify-content:space-between;align-items:center;gap:10px;margin:0 -10px;padding:12px 10px;display:flex}.week-day:first-of-type{border-top:0}.week-day.current{background:var(--acc-soft);border-radius:12px}.week-day .metrics:empty{display:none}.warn-card h2{color:var(--wait)}.editor{background:var(--surface-2);border-radius:14px;margin-top:10px;padding:4px 14px 14px}.editor input,.editor select,.editor textarea{background:var(--surface)}.time-row.three{grid-template-columns:1fr 1fr 1fr}.time-row.three input{font-size:18px}.edit-link{color:var(--muted);margin-top:6px;font-size:14px;display:block}.decided{border-top:1px solid var(--line);padding-bottom:6px}.decided:first-of-type,.decided .item{border-top:0}.site-actions{justify-content:space-between;align-items:center;gap:10px;display:flex}.site-actions .chip{margin-top:0}.cat-budgets{grid-template-columns:1fr 1fr;gap:0 10px;display:grid}.budget-grid{gap:14px;display:grid}.budget-site{background:var(--surface-2);border-radius:14px;padding:14px}.budget-site>strong{margin-bottom:4px;font-size:16px;display:block}.budget-row{padding:8px 0 4px}.budget-row .bar{background:var(--surface)}.budget-row.big .bar{height:16px}.budget-row.big .bar-top span{font-weight:700}.bar.budget.ok div{background:var(--ok)}.bar.budget.near div{background:var(--acc-strong)}.bar.budget.over div{background:var(--bad)}.budget-pct{border-radius:999px;padding:2px 8px;font-size:13px}.budget-pct.ok{background:var(--ok-soft);color:var(--ok)}.budget-pct.near{background:var(--wait-soft);color:var(--wait)}.budget-pct.over{background:var(--bad-soft);color:var(--bad)}@media (width>=960px){.budget-grid{grid-template-columns:1fr 1fr}}.metric-tile.hours strong{white-space:nowrap}@media (width<=639px){.metric-tile strong{font-size:20px}.tiles.three .metric-tile strong{font-size:16px}}.quick-hours{margin:4px 0 12px}.week-sum{align-items:center;margin:4px 0 8px}.sticky-actions{margin-top:4px}.history-filter{margin-bottom:12px}.day-card .metrics{margin-top:8px}.day-card .bad-text{margin-top:6px}.day-expense{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;margin-top:10px;display:flex}.day-expense small{flex:160px}.day-expense small:not(.bad-text){color:var(--ink)}.day-card .entry-head>.muted{white-space:nowrap}.day-card .actions .btn{white-space:nowrap;font-size:16px}.receipt-thumb{border:1.5px solid var(--line);background:#fff;border-radius:12px;width:96px;height:96px;padding:0;display:block;overflow:hidden}.receipt-thumb img{object-fit:cover;width:100%;height:100%}.reason-chips{flex-wrap:wrap;margin-top:8px}.reason-chips button{min-height:38px;font-size:14px}.segment{scrollbar-width:none;overflow-x:auto}.segment::-webkit-scrollbar{display:none}.segment button{flex:1 0 auto;padding:0 12px}.chart.few{justify-content:space-around}.chart.few .chart-col{max-width:72px}.chart.few .chart-bar{max-width:44px}.chart.few .chart-col span{white-space:nowrap;font-size:12px}.chart-val{color:var(--c-hours);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:12px}.entry small,.item small,.tile-label,.metric-tile .tile-label{font-size:14px}.who span{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}@media (width<=420px){.hero-bar .avatar{display:none}}.skeleton{gap:12px;display:grid}.skeleton i{background:linear-gradient(90deg, var(--surface-2) 25%, var(--line) 50%, var(--surface-2) 75%);background-size:200% 100%;border-radius:8px;height:18px;animation:1.2s linear infinite shimmer;display:block}.skeleton i:first-child{width:45%;height:22px}.skeleton i:nth-child(3){width:80%}.skeleton i:nth-child(4){width:60%;height:52px}@keyframes shimmer{to{background-position:-200% 0}}@media (prefers-reduced-motion:reduce){.skeleton i{animation:none}}.logout-confirm{align-items:center;gap:6px;display:flex}.logout-confirm button{min-height:40px;font:inherit;border:0;border-radius:12px;padding:0 12px;font-size:14px;font-weight:700}.logout-confirm .yes{background:var(--bad);color:#fff}.logout-confirm .no{color:var(--hero-ink);background:#ffffff24}.doc-types{grid-template-columns:1fr 1fr 1fr;gap:8px;display:grid}.doc-types button{border:1.5px solid var(--line);background:var(--surface-2);min-height:52px;color:var(--ink);font:inherit;border-radius:14px;padding:0 6px;font-size:15px;font-weight:700}.doc-types button.active{background:var(--acc);color:var(--acc-ink);border-color:var(--acc-strong)}h1{letter-spacing:-.6px;font-size:30px;font-weight:800}.hero,.login-hero{background-image:radial-gradient(120% 90% at 100% 0,#ffc21a38,#0000 55%),radial-gradient(90% 80% at 0 100%,#5078ff1f,#0000 60%),linear-gradient(#ffffff08 1px,#0000 1px),linear-gradient(90deg,#ffffff08 1px,#0000 1px);background-size:auto,auto,28px 28px,28px 28px}.card,.tile{border:1px solid var(--card-border);border-radius:22px}.btn{letter-spacing:-.1px;border-radius:16px}.btn.secondary,.btn.plain{border-color:var(--line)}input,select,textarea{border-color:var(--line);border-radius:14px}.chips button.active,.segment button.active{background:var(--acc);color:var(--acc-ink);border-color:var(--acc);box-shadow:0 6px 16px #ffc21a38}.chips button.active .seg-count,.segment button.active .seg-count{background:var(--acc-ink);color:var(--acc)}.bottom-nav{background:color-mix(in srgb, var(--surface) 82%, transparent);-webkit-backdrop-filter:blur(18px)saturate(1.4);backdrop-filter:blur(18px)saturate(1.4);border:1px solid var(--card-border);box-shadow:0 16px 40px #00000059}.week-day.current{box-shadow:inset 3px 0 0 var(--acc)}.time-row input{border-radius:16px}.worked{border:1px solid var(--card-border)}.stepper button{border-radius:18px}.site-badge{border:1px solid var(--card-border);background:var(--surface-2);border-radius:999px;align-items:center;gap:8px;max-width:100%;margin:2px 0 10px;padding:6px 12px;font-size:14px;font-weight:600;display:inline-flex}.site-badge .flag{font-size:18px;line-height:1}.site-badge span:last-child{color:var(--muted)}.copy-open{margin-top:10px}.copy-days .check{margin-top:12px}.copy-plan{background:var(--surface-2);border-radius:14px;gap:4px;margin:14px 0 0;padding:10px 12px;list-style:none;display:grid}.copy-plan li{color:var(--ok);align-items:center;gap:8px;font-size:15px;font-weight:600;display:flex}.copy-plan li span{color:var(--ink)}.copy-plan li.skip{color:var(--muted)}.copy-plan li.skip span{color:var(--muted);font-weight:500;text-decoration:line-through}.copy-plan small{margin-left:auto;font-size:13px}.cat-grid button .icon{color:var(--acc)}.field-hint{margin:6px 0 0}.week-day{flex-direction:column;align-items:stretch;gap:0}.week-day-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.week-day .metrics{margin-top:8px}.amount-row{align-items:end}.chart.few .chart-col span{text-align:center;height:auto;line-height:1.2}.chart.few{gap:4px;height:190px}.chart-val{font-size:12px}.card-head{flex-wrap:wrap}.table th,.table td{padding-left:6px;padding-right:6px}.table .site-cell{min-width:90px}.table .tasks{min-width:130px}.table .badge{padding:3px 8px;font-size:12px}.table .person-line{gap:8px}.crumbs{flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:10px;font-size:17px;font-weight:700;display:flex}.crumbs .link{color:var(--muted);align-items:center;gap:6px;font-size:17px;display:inline-flex}.crumbs .here{color:var(--ink);text-decoration:none}.crumbs>span{color:var(--muted)}.drill-list{gap:10px;margin-top:12px;display:grid}.drill-row{border:1px solid var(--card-border);background:var(--surface-2);width:100%;color:var(--ink);font:inherit;text-align:left;border-radius:16px;align-items:center;gap:12px;padding:14px;transition:border-color .15s,transform 80ms;display:flex}.drill-row:hover{border-color:var(--acc)}.drill-row:active{transform:scale(.99)}.drill-flag{font-size:28px;line-height:1}.drill-main{flex:1;min-width:0}.drill-main strong{font-size:17px;display:block}.drill-main small{color:var(--muted);font-size:14px;display:block}.drill-main .metrics{margin-top:8px}.drill-arrow{color:var(--acc);font-size:28px}.worker-day{border-top:1px solid var(--line);padding:14px 0}.worker-day:first-of-type{border-top:0}.worker-day-top{justify-content:space-between;align-items:center;gap:10px;display:flex}.worker-time{color:var(--muted);margin-top:4px;font-size:15px;display:block}@media (width>=960px){.drill-list{grid-template-columns:1fr 1fr}}.sheet-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.sheet-head .metrics{align-items:center;margin-top:0}.sheet-download{width:auto;min-height:44px;margin-top:0;font-size:15px}.sheet-wrap{margin:14px -18px 0;padding:0 18px;overflow-x:auto}.sheet{border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums;width:100%;min-width:760px;font-size:14px}.sheet th,.sheet td{border-bottom:1px solid var(--line);text-align:left;vertical-align:top;padding:10px 8px}.sheet thead th{background:var(--surface-2);color:var(--muted);text-transform:uppercase;letter-spacing:.4px;white-space:nowrap;font-size:12px;font-weight:700;position:sticky;top:0}.sheet thead th:first-child{border-top-left-radius:12px}.sheet thead th:last-child{border-top-right-radius:12px}.sheet tbody th,.sheet tfoot th,.sheet thead th:first-child{z-index:1;background:var(--surface);white-space:nowrap;position:sticky;left:0}.sheet thead th:first-child{background:var(--surface-2);z-index:2}.sheet tbody tr:nth-child(2n) td,.sheet tbody tr:nth-child(2n) th{background:color-mix(in srgb, var(--surface-2) 45%, var(--surface))}.sheet tbody tr:hover td,.sheet tbody tr:hover th{background:var(--surface-2)}.sheet tr.rejected th{box-shadow:inset 3px 0 0 var(--bad)}.sheet .num{text-align:right;white-space:nowrap}.sheet .strong{color:var(--ink);font-weight:800}.sheet td.num.strong{color:var(--c-hours)}.sheet .tasks-cell{min-width:200px;max-width:320px;color:var(--muted)}.sheet .exp-cell{min-width:160px}.sheet .exp-cell>div+div{margin-top:6px}.sheet .exp-cell .chip{width:fit-content;margin-top:4px;display:flex}.sheet tfoot th,.sheet tfoot td{border-top:2px solid var(--line);background:var(--surface-2);border-bottom:0;font-size:15px}.sheet tfoot th{background:var(--surface-2);border-bottom-left-radius:12px}.sheet tfoot td:last-child{border-bottom-right-radius:12px}.login-switch{margin:14px auto 0;font-size:15px;display:block}h1{letter-spacing:-.3px;font-weight:700}h2{font-weight:700}.hero,.login-hero{background-image:none;background-color:var(--hero)}.hero:before,.login-hero:before{display:none}.logo{box-shadow:none;border-radius:10px}.logo.big{border-radius:16px}.card,.tile{box-shadow:var(--shadow);border-radius:12px}.card{background:var(--surface)}.btn{border-radius:10px}.btn:not(.secondary):not(.plain):not(.accept):not(.reject):not(.stop){background:var(--acc);box-shadow:none}.btn.accept{background:var(--ok)}input,select,textarea,.time-row input{border-radius:10px}input:focus,select:focus,textarea:focus{box-shadow:0 0 0 3px var(--acc-soft)}.chips button.active,.segment button.active,.doc-types button.active,.cat-grid button.active{background:var(--acc-soft);color:var(--ink);border-color:var(--acc);box-shadow:none}.cat-grid button.active .icon{color:var(--acc)}.chips button,.doc-types button,.cat-grid button,.duration-field,.stepper button{border-radius:10px}.chips button{border-radius:999px}.bottom-nav{background:var(--surface);-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:14px;box-shadow:0 4px 16px #0000004d}.bottom-nav button.active .pill{background:var(--acc-soft);color:var(--acc)}.metric-tile.pending{background:var(--surface);color:var(--ink);box-shadow:inset 3px 0 0 var(--acc), var(--shadow)}.metric-tile.pending .tile-icon{background:var(--acc-soft);color:var(--acc)}.metric-tile.pending .tile-label,.metric-tile.pending small{color:var(--muted);opacity:1}.warn-card{box-shadow:inset 3px 0 0 var(--acc), var(--shadow)}.metric{border:0}.drill-row{border-radius:10px}.drill-arrow{color:var(--muted)}.drill-row:hover{border-color:var(--line);background:var(--surface-2)}.sheet thead th:first-child,.sheet thead th:last-child,.sheet tfoot th,.sheet tfoot td:last-child{border-radius:0}.confirm-row{background:var(--bad-soft);border-radius:10px;flex-wrap:wrap;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;font-size:15px;font-weight:600;display:flex}.confirm-row span{flex:160px}.chip.danger{background:var(--bad);color:var(--bg);border-color:var(--bad)}.delete-day{color:var(--bad);margin:12px auto 0;display:block}
