:root{--bg:#f6f3ee;--surface:#fff;--line:#e4ddd3;--text:#2b2723;--muted:#8a8178;--accent:#2b2723;--accent-text:#fff;--danger:#a8402f;--radius:10px;color:var(--text);font-family:Segoe UI,system-ui,-apple-system,sans-serif;font-size:15px}*{box-sizing:border-box}body{background:var(--bg);margin:0}h2{margin:0 0 12px;font-size:18px;font-weight:600}p{margin:0}.muted{color:var(--muted)}.empty{text-align:center;color:var(--muted);padding:28px 0}input,select,button{font:inherit;color:inherit}input,select{border:1px solid var(--line);background:var(--surface);border-radius:8px;min-width:0;height:36px;padding:0 10px}input:focus-visible,select:focus-visible,button:focus-visible,a:focus-visible{outline-offset:1px;outline:2px solid #b08968}button{cursor:pointer;white-space:nowrap;border:1px solid #0000;border-radius:8px;height:36px;padding:0 16px}button:disabled{opacity:.45;cursor:default}button.primary{background:var(--accent);color:var(--accent-text)}button.danger{background:var(--danger);color:#fff}button.ghost{background:var(--surface);border-color:var(--line)}button.link{height:auto;color:var(--muted);text-underline-offset:3px;background:0 0;padding:0;text-decoration:underline}button.link:hover{color:var(--text)}button.icon{width:32px;height:32px;color:var(--muted);background:0 0;padding:0;font-size:12px}button.icon:hover{background:var(--bg);color:var(--text)}label{color:var(--muted);flex-direction:column;gap:5px;font-size:13px;display:flex}label>input,label>select{color:var(--text);font-size:15px}label.check{flex-direction:row;align-items:center;gap:8px}label.check input{width:16px;height:16px}.topbar{background:var(--surface);border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:8px 28px;padding:12px 24px;display:flex}.brand{letter-spacing:.04em;text-transform:uppercase;font-size:17px;font-weight:600}.topbar nav{flex:1;gap:4px;display:flex}.topbar nav a{color:var(--muted);border-radius:8px;padding:7px 14px;text-decoration:none}.topbar nav a:hover{color:var(--text)}.topbar nav a.active{background:var(--bg);color:var(--text);font-weight:600}.account{align-items:center;gap:16px;font-size:14px;display:flex}.account-name{font-weight:600}main{flex-direction:column;gap:16px;max-width:1180px;margin:0 auto;padding:24px 16px 64px;display:flex}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:16px}.card-actions{flex-wrap:wrap;align-items:center;gap:12px 16px;margin-bottom:12px;display:flex}.timer,.entry{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.timer-description,.entry-description{flex:220px}.timer select,.entry select{max-width:190px}.clock{text-align:right;font-variant-numeric:tabular-nums;min-width:92px;font-size:20px;font-weight:600}.week-nav{flex-wrap:wrap;align-items:center;gap:10px;margin-top:8px;display:flex}.week-nav .ghost{width:36px;padding:0}.week-total{margin-left:auto}.day{padding:0}.day>header{border-bottom:1px solid var(--line);border-radius:var(--radius) var(--radius) 0 0;color:var(--muted);background:#faf8f4;justify-content:space-between;padding:10px 16px;display:flex}.day>header strong{color:var(--text)}.entry{padding:8px 16px}.entry+.entry{border-top:1px solid var(--line)}.entry input,.entry select{border-color:#0000}.entry input:hover,.entry select:hover,.entry input:focus,.entry select:focus{border-color:var(--line)}.entry-duration{text-align:right;font-variant-numeric:tabular-nums;min-width:48px}.filters{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.filters label{flex:130px}.filter-actions{gap:8px;display:flex}.report-head{justify-content:space-between;align-items:flex-start;margin-bottom:12px;display:flex}.report-head h2{margin-bottom:2px}.report-total{text-align:right}.report-total strong{font-variant-numeric:tabular-nums;font-size:26px;display:block}table{border-collapse:collapse;width:100%}.table-scroll{overflow-x:auto}th,td{text-align:left;vertical-align:middle;padding:9px 10px}table.data thead th{text-transform:uppercase;letter-spacing:.04em;color:var(--muted);border-bottom:1px solid var(--line);white-space:nowrap;font-size:12px;font-weight:600}table.data tbody tr+tr td{border-top:1px solid var(--line)}.num{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right!important}table.bars th{width:26%;font-weight:400}.bar-cell{width:55%}.bar{border-radius:4px;min-width:2px;height:14px}.dot{border-radius:50%;width:10px;height:10px;margin-right:8px;display:inline-block}.tag{background:var(--bg);color:var(--muted);border-radius:6px;margin-left:8px;padding:2px 7px;font-size:12px}tr.archived td{color:var(--muted)}.row-actions{text-align:right;white-space:nowrap}.row-actions .link+.link{margin-left:14px}.budget{font-variant-numeric:tabular-nums;align-items:center;gap:10px;min-width:160px;display:flex}.budget-track{background:var(--bg);border-radius:4px;flex:1;height:8px;overflow:hidden}.budget-fill{background:#5a9e4b;height:100%}.budget-fill.over{background:var(--danger)}.over-text{color:var(--danger);font-weight:600}.tabs{gap:4px;display:flex}.tabs button{color:var(--muted);background:0 0}.tabs button.active{background:var(--surface);border-color:var(--line);color:var(--text);font-weight:600}.auth{place-items:center;min-height:100vh;padding:16px;display:grid}.overlay{background:#2b272359;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.dialog{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:14px;width:min(400px,100%);padding:24px;display:flex}.dialog h2{margin:0}.dialog-actions{justify-content:flex-end;gap:8px;display:flex}.form-error{color:var(--danger);font-size:14px}.swatches{flex-wrap:wrap;gap:8px;display:flex}.swatch{border-radius:50%;width:26px;height:26px;padding:0}.swatch.selected{box-shadow:0 0 0 2px var(--surface), 0 0 0 4px var(--text)}.toast{background:var(--danger);color:#fff;cursor:pointer;z-index:10;border-radius:8px;max-width:calc(100% - 32px);padding:12px 18px;position:fixed;bottom:24px;left:50%;transform:translate(-50%)}@media (max-width:640px){.topbar{padding:10px 16px}.topbar nav{flex-basis:100%;order:3}.account{margin-left:auto}.timer select,.entry select{flex:140px;max-width:none}}@media print{body{background:#fff}.topbar,.no-print,.toast{display:none!important}main{max-width:none;padding:0}.card{border:none;padding:0 0 16px}.bar{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.report-scope{margin-top:4px;font-weight:600}.chart{margin:8px 0 0}.chart-readout{text-align:right;min-height:20px;color:var(--muted);font-size:13px}.chart-plot{height:220px;margin:18px 0 0 48px;position:relative}.grid-line{border-top:1px solid var(--line);position:absolute;left:0;right:0}.grid-line span{color:var(--muted);white-space:nowrap;padding-right:8px;font-size:12px;position:absolute;top:-8px;right:100%}.chart-bars,.chart-x{gap:2px;display:flex}.chart-bars{position:absolute;inset:0}.bar-slot{outline-offset:-2px;flex-direction:column;flex:1 1 0;justify-content:flex-end;align-items:center;min-width:0;display:flex}.bar-value{font-variant-numeric:tabular-nums;white-space:nowrap;margin-bottom:4px;font-size:12px}.vbar{background:#8a6f5a;border-radius:4px 4px 0 0;width:100%;max-width:56px}.chart-x{margin:6px 0 0 48px}.chart-x span{text-align:center;min-width:0;color:var(--muted);white-space:nowrap;flex:1 1 0;font-size:12px;overflow:hidden}.summary{flex-wrap:wrap;align-items:flex-start;gap:24px;display:flex}.summary table{flex:420px;width:auto}.donut{flex:0 0 240px;width:240px;margin:0 auto}.donut circle{-webkit-print-color-adjust:exact;print-color-adjust:exact}.donut-total{fill:var(--text);font-size:4.4px;font-weight:600}.donut-caption{fill:var(--muted);font-size:2.4px}tr.expandable{cursor:pointer}tr.expandable:hover td{background:#faf8f4}button.count{background:var(--bg);min-width:26px;height:22px;color:var(--muted);border-radius:6px;margin-right:10px;padding:0 6px;font-size:12px}button.count[aria-expanded=true]{background:var(--text);color:#fff}tr.child-row td{background:#faf8f4;font-size:14px}tr.child-row td:first-child{padding-left:62px}button.sort{height:auto;font:inherit;letter-spacing:inherit;text-transform:inherit;color:inherit;background:0 0;padding:0}.detail-project{margin-top:2px;font-size:13px}.detail-time{white-space:nowrap;font-variant-numeric:tabular-nums}.detail-time .muted{font-size:13px}.detail-duration{font-size:17px;font-weight:600}.page-title{margin:8px 0 0;font-size:22px;font-weight:600}.page-title .dot{width:12px;height:12px}button.project-link{color:var(--text);-webkit-text-decoration-color:var(--line);text-decoration-color:var(--line)}.legend{color:var(--muted);flex-wrap:wrap;gap:6px 18px;margin-bottom:8px;font-size:13px;display:flex}.legend-item{align-items:center;gap:6px;display:inline-flex}.legend-swatch{-webkit-print-color-adjust:exact;print-color-adjust:exact;border-radius:3px;width:12px;height:12px}.legend-tick{background:var(--text);width:2px;height:14px}.budget-input{text-align:right;width:84px;height:32px}.stage-bar{background:var(--bg);border-radius:4px;min-width:120px;height:22px;position:relative;overflow:hidden}.stage-percent{font-variant-numeric:tabular-nums;place-items:center;font-size:12px;font-weight:600;display:grid;position:absolute;inset:0}.stage-fill{height:100%}.stage-fill.over{background:var(--danger)}.stage-tick{background:var(--text);width:2px;margin-left:-1px;position:absolute;top:-4px;bottom:-4px}.stage-state{white-space:nowrap}.status{flex-wrap:wrap;gap:24px;display:flex}.status-figures{flex:260px;margin:0}.status-figures div{justify-content:space-between;align-items:baseline;gap:16px;padding:14px 0;display:flex}.status-figures div+div{border-top:1px solid var(--line)}.status-figures dt{color:var(--muted)}.status-figures dd{font-variant-numeric:tabular-nums;margin:0;font-size:22px;font-weight:600}.status-chart{flex-direction:column;flex:2 320px;align-items:center;gap:16px;display:flex}.status-progress{text-align:center;width:100%}.status-progress .budget-track{margin-top:6px}.status-chart .legend{justify-content:center}@media print{.vbar,.stage-fill,.budget-fill,.dot{-webkit-print-color-adjust:exact;print-color-adjust:exact}.table-scroll{overflow:visible}button.count{display:none}}.dialog-link{align-self:flex-start;margin-top:-8px;font-size:13px}textarea{border:1px solid var(--line);background:var(--surface);font:inherit;color:var(--text);resize:vertical;border-radius:8px;padding:8px 10px;font-size:15px}.dialog.wide{width:min(560px,100%)}.inline-form{gap:8px;display:flex}.templates{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;display:grid}.template{border:1px solid var(--line);border-radius:8px;padding:14px 16px}.template header{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.template h2{margin:0}.template ol{margin:10px 0 0;padding:0;font-size:14px;list-style:none}.template li{padding:4px 0}.template li+li{border-top:1px solid var(--line)}.report-amount{font-variant-numeric:tabular-nums;font-size:17px;font-weight:600;display:block}table.weekly thead th{text-transform:none;letter-spacing:0;line-height:1.3}table.weekly td:first-child{min-width:200px}table.weekly tfoot th{border-top:1px solid var(--line)}.stage-title{text-transform:uppercase}.stage-sub{color:var(--muted);margin-top:1px;font-size:13px;display:block}.stage-done{text-align:center}.stage-done input{vertical-align:middle;width:18px;height:18px}.done-text{color:#3d7a31;font-weight:600}tr.stage-completed td{color:var(--muted);background:#f1efec}tr.stage-completed .budget-input{color:var(--muted);background:0 0}tr.stage-completed .stage-bar{opacity:.55}.period-nav{gap:4px;display:flex}.period-nav .ghost{width:36px;padding:0}.filter-actions{align-items:center}.topbar{z-index:5;position:sticky;top:0}.card{box-shadow:0 1px 2px #2b27230a}.page-head h1{letter-spacing:-.01em;margin:0;font-size:26px;font-weight:600}.page-head p{color:var(--muted);margin-top:4px}.tabs,.segmented{background:#ebe6de;border-radius:10px;align-self:flex-start;gap:2px;padding:3px;display:inline-flex}.tabs button,.segmented button{height:32px;color:var(--muted);background:0 0;border:none;border-radius:8px;padding:0 16px}.tabs button:hover,.segmented button:hover{color:var(--text)}.tabs button.active,.segmented button.active{background:var(--surface);color:var(--text);font-weight:600;box-shadow:0 1px 2px #2b27231f}.timer{border-left:4px solid var(--line);padding:14px 16px 16px;display:block}.timer-top{align-items:center;min-height:38px;margin-bottom:10px;display:flex}.live{color:#3d7a31;align-items:center;gap:8px;font-weight:600;display:inline-flex}.live-dot{background:#5a9e4b;border-radius:50%;width:10px;height:10px;animation:1.6s ease-in-out infinite pulse}@keyframes pulse{50%{opacity:.35}}@media (prefers-reduced-motion:reduce){.live-dot{animation:none}}.timer-fields{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.field{flex:0 210px}.field.grow{flex:260px}.field.narrow{flex:none}.field>input,.field>select{width:100%;max-width:none;height:40px}.timer .clock{min-width:108px;font-size:26px;line-height:40px}button.big{min-width:104px;height:40px;font-weight:600}.day>header{color:var(--text);align-items:baseline;font-weight:600}.day>header span:first-letter{text-transform:uppercase}.entry{grid-template-columns:10px minmax(140px,1fr) 190px 210px 134px 76px 8px 76px 56px 32px 32px;align-items:center;gap:6px;padding:6px 12px 6px 16px;display:grid}.entry:hover{background:#fbfaf7}.entry-color{border-radius:50%;width:10px;height:10px}.entry input,.entry select{background:0 0;width:100%;max-width:none;padding:0 8px}.entry input[type=time]{text-align:center;font-variant-numeric:tabular-nums;padding:0 6px}.entry input[type=time]::-webkit-calendar-picker-indicator{display:none}.entry-dash{text-align:center}.entry .icon{opacity:.55}.entry:hover .icon,.entry .icon:focus-visible{opacity:1}@media (max-width:1120px){.entry{flex-wrap:wrap;display:flex}.entry input,.entry select{width:auto}.entry-description{flex:220px}}.filters{grid-template-columns:repeat(auto-fill,minmax(168px,1fr));align-items:end;gap:12px;display:grid}.filters label>input,.filters label>select{width:100%}.filter-actions{border-top:1px solid var(--line);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:8px 14px;padding-top:12px;display:flex}.filter-actions .check{color:var(--text);margin-right:auto;font-size:14px}table.data tbody tr:not(.stage-completed):not(.child-row):hover td{background:#fbfaf7}.row-actions .link{font-size:14px}button.project-link{font-weight:600;text-decoration:none}button.project-link:hover{text-decoration:underline}.filters .check{flex-direction:row;flex:none}.filters .check input{width:16px}table.stages th,table.stages td{padding:8px}table.stages thead th{white-space:normal;vertical-align:bottom;line-height:1.25}table.stages td:first-child{min-width:210px}table.stages .budget-input{width:72px}table.stages .stage-state{white-space:normal;min-width:130px;font-size:14px}.stage-bar-head{width:16%}.legend{line-height:1.5}.brand{align-items:center;display:flex}.brand img{width:auto;height:44px;display:block}.topbar{padding-top:8px;padding-bottom:8px}.auth .brand img{height:64px}.tabs,.segmented{border:1px solid var(--line);background:#efebe5}.tabs button,.segmented button{color:#5a534c}@media (min-width:1460px){.topbar{grid-template-columns:1fr minmax(0,574px) minmax(0,574px) 1fr;gap:0;display:grid}.topbar nav{margin-left:-14px}.topbar .account{justify-self:end}}.topbar{min-height:60px}.topbar .brand img{height:34px}.account{gap:22px}.account-name{border-right:1px solid var(--line);padding-right:22px;line-height:24px}.account .link{color:#5a534c;text-decoration:none}.account .link:hover{color:var(--text);text-decoration:underline}.report-bar{flex-direction:column;gap:14px;display:flex}.report-row{flex-wrap:wrap;align-items:flex-end;gap:12px;display:flex}.report-row+.report-row{border-top:1px solid var(--line);padding-top:14px}.period{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.period select{min-width:190px;font-weight:600}button.square{width:36px;padding:0}button.period-range{color:var(--muted);font-variant-numeric:tabular-nums;background:0 0;margin-left:8px;padding:0}button.period-range:hover{color:var(--text);text-decoration:underline}.report-actions{gap:8px;margin-left:auto;display:flex}.report-row.filters{grid-template-columns:none;display:flex}.report-row.filters label:not(.check){flex:0 220px}.report-row.filters .check{height:36px;color:var(--text);font-size:14px}.filter-links{align-items:center;gap:18px;height:36px;margin-left:auto;display:flex}.tabs,.segmented{max-width:100%;overflow-x:auto}.tabs button,.segmented button{flex:none}.report-row.filters label:not(.check){flex-basis:200px}.vbar{background:#a9c49a}.vbar.active{background:#8fb07f}.budget-fill{background:#a9c49a}.budget-fill.over,.stage-fill.over{background:#d99a8c}.stage-percent.on-fill{color:var(--text)}.timer.running{border-left-color:#a9c49a}.live-dot{background:#8fb07f}.stage-info{background:var(--bg);border-radius:8px;margin:0 0 14px;padding:10px 14px}.stage-tools{margin-bottom:0;padding-bottom:16px}table.stages thead th{border-top:1px solid var(--line);color:#5a534c;background:#faf8f4;padding-top:10px;padding-bottom:10px}table.stages thead th:first-child{border-left:1px solid var(--line);border-top-left-radius:8px}table.stages thead th:last-child{border-right:1px solid var(--line);border-top-right-radius:8px}table.stages{border-collapse:separate;border-spacing:0}table.stages tbody tr+tr td{border-top:none}table.stages tbody td{border-bottom:1px solid var(--line)}table.stages tfoot th{border-top:none}.stage-info{color:var(--muted);border:1px solid var(--line);background:#fff}.tabs,.segmented{background:#f1ede7;border:none}.tabs button.active,.segmented button.active{font-weight:500;box-shadow:0 1px 2px #2b272312}.tabs button:focus-visible,.segmented button:focus-visible{outline-offset:0;outline:1px solid #cdc4b8}table.stages thead th{vertical-align:middle;background:#f6f3ee;padding-top:13px;padding-bottom:13px;font-size:12.5px}table.stages thead th:first-child{letter-spacing:.08em;color:var(--text);font-size:15px}table.stages thead th{white-space:nowrap;letter-spacing:.02em;font-size:12px}table.stages thead th:first-child{letter-spacing:.08em}table.stages tfoot th{padding-top:14px;padding-bottom:14px;font-weight:600}table.stages tfoot .stage-bar{height:26px}table.stages tfoot .stage-state{text-align:left;font-weight:400}.rule>header{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.rule h2{margin-bottom:4px}.rule>header .check{color:var(--text);flex:none;font-size:14px}.rule.off>header h2{color:var(--muted)}.rule-body{border-top:1px solid var(--line);flex-direction:column;gap:12px;margin-top:14px;padding-top:14px;display:flex}.rule-line,.rule-body .check{color:var(--text);flex-wrap:wrap;align-items:center;gap:8px;font-size:15px;display:flex}.rule-line.muted{color:var(--muted)}.rule-body input[type=number]{text-align:right;width:76px}.rule-save{align-items:center;gap:14px;display:flex}.stage-info a{color:inherit}@media (min-width:1460px){.topbar{gap:8px 28px;display:flex}.topbar nav{margin-left:0}}.modules{background:#f1ede7;border-radius:10px;gap:2px;padding:3px;display:inline-flex}.modules a{color:#5a534c;letter-spacing:.08em;text-transform:uppercase;border-radius:8px;padding:6px 16px;font-size:13px;font-weight:600;text-decoration:none}.modules a:hover{color:var(--text)}.modules a.active{background:var(--accent);color:var(--accent-text)}main.wide{max-width:none;padding-left:24px;padding-right:24px}.chip{background:var(--bg);color:#5a534c;white-space:nowrap;border-radius:6px;align-items:center;gap:4px;padding:1px 7px;font-size:12px;display:inline-flex}.chip.done{color:#3f5a2c;background:#dfe9d4}.chip.over{color:var(--danger);background:#f3d9d2}.plan-dot{border-radius:50%;flex:none;width:10px;height:10px;display:inline-block}.board-tools{flex-wrap:wrap;align-items:center;gap:12px 16px;display:flex}.board-tools input{width:280px}.board{align-items:flex-start;gap:12px;padding-bottom:12px;display:flex;overflow-x:auto}.board-column{border-radius:var(--radius);background:#ece7df;flex-direction:column;flex:0 0 272px;max-height:calc(100vh - 230px);display:flex}.board-column header{justify-content:space-between;align-items:baseline;gap:8px;padding:12px 12px 8px;display:flex}.board-column h3{margin:0;font-size:14px;font-weight:600}.board-cards{flex-direction:column;gap:8px;padding:0 8px 10px;display:flex;overflow-y:auto}.board-empty{color:var(--muted);text-align:center;border:1px dashed #cfc6b9;border-radius:8px;padding:14px 8px;font-size:13px}.board-card{background:var(--surface);cursor:pointer;border-radius:8px;flex:none;overflow:hidden;box-shadow:0 1px 2px #2b27231f}.board-card:hover{box-shadow:0 2px 6px #2b272329}.board-card.dragging{opacity:.4}.board-card.drop-before{box-shadow:0 -3px #b08968}.board-card-team{letter-spacing:.04em;text-align:center;padding:5px 10px;font-size:12px;font-weight:600}.board-card-body{flex-direction:column;gap:4px;padding:9px 10px 10px;display:flex}.board-card-body strong{overflow-wrap:anywhere;font-weight:600}.board-card-body .muted{font-size:13px}.board-card-meta{flex-wrap:wrap;gap:6px;margin-top:4px;display:flex}.board-card-plan{color:#5a534c;align-items:center;gap:6px;font-size:12px;display:flex}.card-dialog{width:min(1040px,100%);max-height:calc(100vh - 32px);padding:20px 24px 24px;overflow-y:auto}.card-dialog-head{justify-content:space-between;align-items:flex-start;gap:16px;display:flex}.card-dialog-head h2{font-size:22px}.card-dialog-grid{grid-template-columns:minmax(0,1fr) 300px;gap:24px;display:grid}@media (max-width:860px){.card-dialog-grid{grid-template-columns:1fr}}.card-dialog-main{flex-direction:column;gap:16px;display:flex}.card-fields{grid-template-columns:240px minmax(0,1fr);align-items:start;gap:16px;display:grid}@media (max-width:640px){.card-fields{grid-template-columns:1fr}}.card-team{flex-direction:column;gap:8px;display:flex}.field-label{color:var(--muted);font-size:13px}.team-picker{flex-wrap:wrap;gap:6px;display:flex}.team-picker .person{border:1px solid var(--line);background:var(--surface);color:#5a534c;border-radius:14px;height:28px;padding:0 10px;font-size:13px}.team-picker .person.on{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.checklists{flex-direction:column;gap:10px;display:flex}.checklist{border:1px solid var(--line);border-radius:var(--radius)}.checklist.current{border-color:#c9b7a0}.checklist-head{text-align:left;white-space:normal;background:0 0;align-items:center;gap:10px;width:100%;height:auto;min-height:44px;padding:8px 12px;display:flex}.checklist-arrow{width:12px;color:var(--muted)}.checklist-title{flex-wrap:wrap;flex:1;align-items:center;gap:8px;font-weight:600;display:flex}.checklist-time,.checklist-count{color:#5a534c;white-space:nowrap;font-size:13px}.checklist-progress{background:var(--bg);border-radius:2px;height:3px;margin:0 12px}.checklist-progress div{background:#a9b995;border-radius:2px;height:100%}.checklist ul{margin:0;padding:8px 12px 12px;list-style:none}.checklist li{align-items:flex-start;gap:10px;padding:5px 0;display:flex}.checklist li input[type=checkbox]{flex:none;width:16px;height:16px;margin-top:3px}.item-text{flex:1;line-height:1.4}.checklist li.done .item-text{color:var(--muted);text-decoration:line-through}.item-edit{flex:1}.item-edit input{width:100%}.item-delete{visibility:hidden;width:24px;height:24px}.checklist li:hover .item-delete,.item-delete:focus-visible{visibility:visible}.item-add form{flex:1}.item-add input{border-style:dashed;width:100%}.card-dialog-side{flex-direction:column;gap:10px;display:flex}.card-dialog-side h3{margin:6px 0 0;font-size:14px;font-weight:600}.side-plan{align-items:center;gap:8px;font-size:13px;display:flex}.comment-form{flex-direction:column;align-items:flex-end;gap:8px;display:flex}.comment-form textarea{width:100%}.comment{background:var(--bg);border-radius:8px;padding:10px 12px;font-size:14px}.comment-head{flex-wrap:wrap;align-items:baseline;gap:4px 10px;margin-bottom:4px;font-size:13px;display:flex}.comment p{white-space:pre-wrap}.plan-tools{flex-wrap:wrap;align-items:center;gap:12px 20px;display:flex}.plan-tools .primary{margin-left:auto}.plan-range{margin-left:8px;font-weight:600}.plan-legend{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px 24px;display:grid}.plan-legend h3{letter-spacing:.06em;text-transform:uppercase;margin:0 0 6px;font-size:13px;font-weight:600}.legend-row{grid-template-columns:14px 1fr auto;align-items:center;gap:8px;padding:2px 0;font-size:14px;display:grid}.legend-row .plan-dot{width:12px;height:12px}.plan-card{padding:0;overflow-x:auto}.plan-grid{-webkit-user-select:none;user-select:none;min-width:900px;display:grid}.plan-corner{border-bottom:1px solid var(--line)}.plan-week{border-left:1px solid var(--line);color:var(--muted);padding:8px 6px 4px;font-size:12px;font-weight:600}.plan-day{border-bottom:1px solid var(--line);color:var(--muted);flex-direction:column;align-items:center;padding:2px 0 6px;font-size:11px;display:flex}.plan-day strong{color:var(--text);font-size:14px;font-weight:600}.plan-day.today strong{background:var(--accent);width:24px;height:24px;color:var(--accent-text);border-radius:50%;place-items:center;display:grid}.plan-row{border-bottom:1px solid var(--line);grid-template-columns:170px minmax(0,1fr);display:grid}.plan-person{padding:8px 12px;font-size:14px;font-weight:600}.plan-lanes{row-gap:4px;padding:4px 0;display:grid}.plan-cell{cursor:copy;background:0 0;border:none;border-left:1px solid #f0ebe4;border-radius:0;height:auto;margin:-4px 0;padding:0}.plan-cell:nth-child(5n+1){border-left-color:var(--line)}.plan-cell:hover{background:#f7f3ee}.plan-bar{z-index:1;background:var(--bar);min-width:0;color:var(--text);cursor:grab;touch-action:none;border-radius:6px;margin:0 2px;font-size:12px;display:flex;position:relative;overflow:hidden}.plan-bar.dark{color:#fff}.plan-bar.moving{cursor:grabbing;box-shadow:0 3px 10px #2b272340}.plan-bar-main{flex-basis:0;align-items:center;gap:8px;min-width:0;padding:0 8px;display:flex}.plan-bar-label{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.plan-bar-hours{opacity:.8;white-space:nowrap;margin-left:auto}.plan-bar-extra{background:repeating-linear-gradient(135deg,#ffffff8c 0 5px,#0000 5px 10px);border-left:2px solid #2b272359;flex-basis:0}.plan-bar-handle{cursor:ew-resize;width:8px;position:absolute;top:0;bottom:0;right:0}.plan-dialog{width:min(480px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.plan-preview{border-radius:6px;padding:6px 10px;font-size:13px;font-weight:600}.plan-dates{grid-template-columns:1fr 1fr 110px;gap:10px;display:grid}.delete-left{margin-right:auto}.plan-card{overscroll-behavior-x:contain;min-height:320px;max-height:calc(100vh - 250px);overflow:auto}.plan-grid{min-width:0}.plan-corner,.plan-month,.plan-week,.plan-day{z-index:3;background:var(--surface);position:sticky}.plan-corner{z-index:4;border-bottom:none;left:0}.plan-head-month,.plan-month{height:34px;top:0}.plan-head-day{border-bottom:1px solid var(--line)}.plan-month{text-transform:capitalize;background:#f4efe8;border-left:2px solid #c9b7a0;align-items:center;padding:0 10px;font-size:14px;font-weight:600;display:flex}.plan-month span{position:sticky;left:200px}.plan-week{border-left:1px solid var(--line);white-space:nowrap;border-bottom:1px solid #efe9e1;align-items:center;padding:0 8px;font-size:12px;font-weight:500;display:flex}.plan-day{justify-content:center;gap:1px;padding:0;font-size:11px}.plan-day.month-start{box-shadow:inset 2px 0 #c9b7a0}.plan-person{z-index:2;border-right:1px solid var(--line);background:var(--surface);text-overflow:ellipsis;white-space:nowrap;align-items:center;padding:0 14px;display:flex;position:sticky;left:0;overflow:hidden}.plan-cell.week-start{border-left-color:var(--line)}.plan-cell.month-start{border-left:2px solid #c9b7a0}.plan-cell.today{background:#f8f1e6;box-shadow:inset 2px 0 #b08968,inset -2px 0 #b08968}.plan-bar{border-radius:7px;margin:0 3px;font-size:13px;box-shadow:0 1px 2px #2b272326}.plan-range{text-transform:capitalize;min-width:140px;font-size:16px}.overlay{z-index:20}.toast{z-index:30}.plan-day.weekend{background:#f6f2ec}.plan-page{flex-direction:column;gap:16px;min-width:0;display:flex}.plan-card{max-width:100%}.plan-hint{font-size:13px}.plan-head-week,.plan-week{height:30px;top:40px}.plan-week{font-size:13px}.plan-day span{font-size:12px}.plan-day.today strong{width:32px;height:32px}.plan-person{font-size:15px}.plan-tile{background:var(--bar);color:var(--text);cursor:grab;touch-action:none;border-radius:8px;margin:0 3px;position:relative;box-shadow:0 1px 2px #2b27232e}.plan-tile:hover{box-shadow:0 0 0 2px #2b272359}.plan-tile.dark{color:#fff}.plan-tile.extra{background:repeating-linear-gradient(135deg, #ffffff80 0 6px, transparent 6px 12px), var(--bar)}.plan-tile.moving{z-index:3;cursor:grabbing;box-shadow:0 4px 12px #2b27234d}.plan-tile-label{z-index:2;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;align-items:center;font-size:14px;font-weight:600;display:flex;position:absolute;top:0;bottom:0;left:9px;overflow:hidden}.plan-tile{flex-direction:column;justify-content:center;gap:1px;min-width:0;padding:5px 9px;line-height:1.25;display:flex;overflow:hidden}.plan-tile strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;font-weight:600;overflow:hidden}.plan-tile span{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.plan-tile .plan-tile-hours{opacity:.8}.plan-lanes{row-gap:6px}main.plan-main{gap:10px;padding-top:12px;padding-bottom:12px}.plan-main .plan-page{gap:10px}.plan-tools{gap:8px 16px}.plan-tools .period button{height:32px}.plan-main .plan-card{height:calc(100vh - 130px);min-height:300px;max-height:none}.plan-head-month,.plan-month{height:30px}.plan-month{font-size:14px}.plan-month span{left:182px}.plan-head-week,.plan-week{height:24px;font-size:12px;top:30px}.plan-head-day,.plan-day{height:42px;top:54px}.plan-day{flex-direction:row;justify-content:center;align-items:baseline;gap:6px;padding-top:8px}.plan-day strong{font-size:17px}.plan-day.today strong{align-self:center;width:28px;height:28px}.plan-row{min-height:0}.plan-lanes{row-gap:4px;padding:4px 0}.plan-cell{margin:-4px 0}.plan-person{padding:0 12px;font-size:14px}.plan-tile{padding:3px 8px;line-height:1.2}.plan-cell.weekend,.plan-day.weekend{background:#f0f0ef}.plan-cell.weekend:hover{background:#e7e7e5}.plan-day.weekend span,.plan-day.weekend strong{color:#9b9b98}.plan-cell.today,.plan-day.today{background:#fbf0dc}.plan-row{border-bottom:3px solid #a89b8a}.plan-day{align-items:center;padding-top:0}.plan-row,.plan-row .plan-person{background:#fbf7f1}.plan-row.alt,.plan-row.alt .plan-person{background:#e7e3dc}.plan-cell.weekend{background:#2b27230b}.plan-cell:hover,.plan-cell.weekend:hover{background:#2b272314}.plan-cell.today{background:#e8a84833}.context-menu{z-index:25;border:1px solid var(--line);background:var(--surface);border-radius:8px;flex-direction:column;min-width:220px;padding:4px;display:flex;position:fixed;box-shadow:0 6px 20px #2b27232e}.context-menu button{text-align:left;background:0 0;border-radius:6px;height:34px;padding:0 12px}.context-menu button:hover{background:var(--bg)}.context-menu .danger-text{color:var(--danger)}.plan-tools{flex-wrap:nowrap;overflow-x:auto}.plan-tools>*{flex:none}.plan-main .plan-card{height:calc(100vh - 118px)}.plan-tile strong{font-size:14px}.plan-tile span{font-size:12.5px}.board-column{background:var(--surface);border:1px solid var(--line)}.board-column.drop{background:#f7f3ee}.board-card{box-shadow:0 1px 3px #2b272329}.board-card-team.none{color:#2b272399;background:#ffffff59}.board-card-body .muted{color:#2b2723b3}.board-card .chip{color:var(--text);background:#fff9}.board-card .chip.done{background:#dfe9d4}.board-card .chip.over{background:#f3d9d2}.board-card-plan{color:#2b2723cc}.board-empty{border-color:var(--line)}.card-dialog{width:min(860px,100%)}.card-fields{grid-template-columns:220px minmax(0,1fr) minmax(0,1fr)}@media (max-width:760px){.card-fields{grid-template-columns:1fr}}.card-team p{font-size:14px;line-height:1.4}.board-card-team{color:#2b2723bf;background:#fff6}.board-templates{flex-direction:column;gap:14px;max-width:980px;display:flex}.template-section h3{margin:0 0 10px;font-size:15px;font-weight:600}.template-section ol{flex-direction:column;gap:6px;margin:0 0 10px;padding-left:24px;display:flex}.template-section li{align-items:flex-start;gap:4px;display:flex}.template-section li::marker{color:var(--muted);font-size:13px}.template-section textarea{field-sizing:content;resize:vertical;flex:1;min-height:36px}.template-add input{border-style:dashed;width:100%}.template-actions{background:var(--bg);justify-content:flex-end;align-items:center;gap:16px;padding:12px 0;display:flex;position:sticky;bottom:0}.template-actions .link{margin-right:auto}.plan-main .board-page{flex-direction:column;gap:10px;display:flex}.plan-main .board-tools input{height:32px}.plan-main .board-tools .muted{font-size:13px}.plan-main .board-column{max-height:calc(100vh - 130px)}.plan-main .board{padding-bottom:4px}.plan-tile.over{box-shadow:inset 0 0 0 2px var(--danger)}.plan-tile.over .plan-tile-hours{color:var(--danger);opacity:1;font-weight:700}.plan-tile-badge{color:var(--text);background:#ffffffbf;border-radius:6px;padding:0 5px;font-size:11px;font-weight:700;line-height:16px;position:absolute;top:3px;right:4px}.plan-tile.part{background:color-mix(in srgb, var(--bar) 60%, white);outline-offset:-2px;outline:1.5px dashed #2b272359}.plan-tile strong{padding-right:30px}.plan-overload{background:var(--danger);pointer-events:none;border-radius:2px;align-self:start;height:3px;margin:-4px 3px 0}.context-hours{border-bottom:1px solid var(--line);align-items:center;gap:2px;padding:4px 8px 6px;font-size:13px;display:flex}.context-hours span{color:var(--muted);margin-right:6px}.context-menu .context-hours button{border:1px solid var(--line);text-align:center;min-width:30px;height:28px;padding:0 6px}.context-menu .context-hours button.on{border-color:var(--accent);background:var(--accent);color:var(--accent-text)}.plan-hours{grid-template-columns:1fr 1fr}.password-field{display:flex;position:relative}.password-field input{color:var(--text);flex:1;padding-right:64px;font-size:15px}.password-field button.link{font-size:13px;text-decoration:none;position:absolute;top:50%;right:10px;transform:translateY(-50%)}.clients-page{flex-direction:column;gap:12px;display:flex}.clients-tools{flex-wrap:wrap;align-items:center;gap:10px 16px;display:flex}.clients-tools input[type=search]{width:340px}table.clients td{vertical-align:top}table.clients tr.client-row td{background:#f4efe8;padding-top:16px;font-weight:600}.contact-cell{min-width:200px;font-size:13px}.contact-cell strong,.contact-cell a{display:block}.contact-cell strong{font-size:14px;font-weight:600}.contact-cell a{color:#5a534c;text-decoration:none}.contact-cell a:hover{text-decoration:underline}.client-dialog{width:min(680px,100%);max-height:calc(100vh - 32px);overflow-y:auto}.client-grid{grid-template-columns:1fr 1fr;gap:10px 14px;display:grid}@media (max-width:560px){.client-grid{grid-template-columns:1fr}}.contact-fieldset{border:1px solid var(--line);border-radius:var(--radius);flex-direction:column;gap:10px;margin:0;padding:12px 14px 14px;display:flex}.contact-fieldset legend{padding:0 6px;font-size:13px;font-weight:600}.read-value{min-height:24px;color:var(--text);font-size:15px}.sort-arrow{letter-spacing:-1px;opacity:.35;margin-left:6px;font-size:9px}.sort-arrow.on{opacity:1}table.clients th button.sort:hover .sort-arrow{opacity:.8}.money-cell{white-space:nowrap;font-size:13px}.contract-figures{border-bottom:1px solid var(--line);margin-bottom:14px;padding-bottom:14px}.contract-hint{margin-bottom:12px}.stage-breakdown{border-top:1px solid var(--line);flex-direction:column;grid-column:1/-1;gap:14px;margin-top:18px;padding-top:16px;display:flex}.stage-breakdown h3{margin:0;font-size:15px;font-weight:600}.breakdown-row{flex-direction:column;gap:5px;display:flex}.breakdown-row.done{opacity:.65}.breakdown-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 16px;font-size:14px;display:flex}.breakdown-head .muted,.breakdown-head .over-text{white-space:nowrap;font-size:13px}.breakdown-people{flex-wrap:wrap;gap:2px 16px;font-size:13px;display:flex}.status .stage-breakdown,.status .contract-figures,.status .contract-hint{flex:0 0 100%}.theme-toggle{border:1px solid var(--line);width:34px;height:34px;color:var(--text);border-radius:17px;font-size:16px}.scope-text{white-space:pre-wrap}.card-scope{background:var(--bg);border-left:3px solid #c9b7a0;border-radius:6px;padding:10px 14px}.card-scope p{white-space:pre-wrap;margin-top:4px;font-size:14px;line-height:1.45}.card-scope.limited{border-left-color:var(--danger)}.survey-chip{white-space:nowrap;color:var(--muted);font-size:12px;display:block}.survey-chip.submitted{color:#4f7a3f;font-weight:600}.survey-panel{gap:12px;display:grid}.survey-row-head{flex-wrap:wrap;align-items:baseline;gap:4px 10px;display:flex}.survey-row-actions{flex-wrap:wrap;align-items:center;gap:8px 12px;margin-top:6px;display:flex}.survey-answers{background:var(--bg);border-radius:8px;margin-top:10px;padding:2px 12px 10px}.survey-answers h3{letter-spacing:.08em;text-transform:uppercase;margin:14px 0 4px;font-size:12px}.survey-answers dl{margin:0}.survey-answers dt{color:var(--muted);margin-top:8px;font-size:13px}.survey-answers dd{white-space:pre-line;margin:0}.dialog.survey-editor{width:min(860px,100vw - 32px)}.survey-editor>label{margin-top:10px;display:block}.survey-edit-section{border:1px solid var(--line);border-radius:8px;margin-top:10px;padding:8px 12px}.survey-edit-question{background:var(--bg);border-radius:8px;margin-top:10px;padding:10px}.survey-edit-head{align-items:center;gap:8px;display:flex}.survey-edit-head>:first-child{text-align:left;flex:1}.survey-edit-grid{grid-template-columns:repeat(3,1fr)}.survey-edit-question label,.survey-edit-section>label{margin-top:8px;display:block}.link.danger{color:var(--danger)}.survey-editor label input:not([type=checkbox]),.survey-editor label select,.survey-editor label textarea{width:100%;margin-top:4px;display:block}.survey-edit-head>input{width:100%}.time-edited{color:var(--danger);background:#a8402f29;border-radius:4px;padding:1px 5px;font-weight:600}.time-manual{background:#d6a0323d;border-radius:4px;padding:1px 5px}.trace-row{align-items:center;gap:14px;margin-top:10px}.trace-note{color:var(--muted);white-space:normal;font-size:12px}.survey-lang{align-items:center;gap:8px;display:flex}.survey-edit-en{color:#5b7f99}.star{height:auto;color:var(--muted);background:0 0;border:0;margin-right:8px;padding:0;font-size:18px;line-height:1}.star.on{color:#d1a02e}
:root[data-theme=dark]{--bg:#1b1917;--surface:#25221f;--line:#3a3530;--text:#ece6de;--muted:#9a9088;--accent:#ece6de;--accent-text:#1b1917;--danger:#e07a66;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-theme=dark] .day>header{background:#221f1c}@media print{:root[data-theme=dark] body{background:#25221f}}:root[data-theme=dark] tr.expandable:hover td,:root[data-theme=dark] tr.child-row td{background:#221f1c}:root[data-theme=dark] tr.stage-completed td{background:#2e2b28}:root[data-theme=dark] .entry:hover,:root[data-theme=dark] table.data tbody tr:not(.stage-completed):not(.child-row):hover td{background:#221f1c}:root[data-theme=dark] .tabs button,:root[data-theme=dark] .segmented button,:root[data-theme=dark] .account .link{color:#cfc6bb}:root[data-theme=dark] table.stages thead th{color:#cfc6bb;background:#221f1c}:root[data-theme=dark] .stage-info{background:#25221f}:root[data-theme=dark] .tabs,:root[data-theme=dark] .segmented{background:#2e2a26}:root[data-theme=dark] table.stages thead th{background:#1b1917}:root[data-theme=dark] .modules{background:#2e2a26}:root[data-theme=dark] .modules a,:root[data-theme=dark] .chip{color:#cfc6bb}:root[data-theme=dark] .chip.done{background:#2f3d27}:root[data-theme=dark] .chip.over{background:#4a2e28}:root[data-theme=dark] .board-column{background:#2a2622}:root[data-theme=dark] .board-empty{border:1px dashed #4a433c}:root[data-theme=dark] .board-card-plan,:root[data-theme=dark] .team-picker .person{color:#cfc6bb}:root[data-theme=dark] .checklist.current{border-color:#6b5d4c}:root[data-theme=dark] .checklist-time,:root[data-theme=dark] .checklist-count{color:#cfc6bb}:root[data-theme=dark] .plan-cell{border-left:1px solid #302c28}:root[data-theme=dark] .plan-cell:hover{background:#2c2925}:root[data-theme=dark] .plan-month{background:#2c2925;border-left:2px solid #6b5d4c}:root[data-theme=dark] .plan-week{border-bottom:1px solid #34302b}:root[data-theme=dark] .plan-cell.month-start{border-left:2px solid #6b5d4c}:root[data-theme=dark] .plan-day.weekend{background:#2a2724}:root[data-theme=dark] .plan-cell.weekend,:root[data-theme=dark] .plan-day.weekend{background:#2a2827}:root[data-theme=dark] .plan-cell.weekend:hover{background:#34312e}:root[data-theme=dark] .plan-day.weekend span,:root[data-theme=dark] .plan-day.weekend strong{color:#7d7a76}:root[data-theme=dark] .plan-cell.today,:root[data-theme=dark] .plan-day.today{background:#3a3122}:root[data-theme=dark] .plan-row{border-bottom:3px solid #6b5d4c}:root[data-theme=dark] .plan-row,:root[data-theme=dark] .plan-row .plan-person{background:#25221f}:root[data-theme=dark] .plan-row.alt,:root[data-theme=dark] .plan-row.alt .plan-person{background:#36322e}:root[data-theme=dark] .board-column.drop{background:#2c2925}:root[data-theme=dark] .board-card .chip.done{background:#2f3d27}:root[data-theme=dark] .board-card .chip.over{background:#4a2e28}:root[data-theme=dark] table.clients tr.client-row td{background:#2c2925}:root[data-theme=dark] .contact-cell a{color:#cfc6bb}:root[data-theme=dark] .plan-tile,:root[data-theme=dark] .plan-preview,:root[data-theme=dark] .board-card,:root[data-theme=dark] .board-card-body strong,:root[data-theme=dark] .board-card .chip,:root[data-theme=dark] .plan-tile-badge,:root[data-theme=dark] .stage-percent,:root[data-theme=dark] .budget-fill{color:#2b2723}:root[data-theme=dark] .plan-tile.dark{color:#fff}:root[data-theme=dark] .board-card .chip.over{color:#a8402f}:root[data-theme=dark] .brand img{filter:invert()hue-rotate(180deg)}:root[data-theme=dark] input,:root[data-theme=dark] select,:root[data-theme=dark] textarea{color:var(--text);background:#2a2724}:root[data-theme=dark] .overlay{background:#0000008c}:root[data-theme=dark] .plan-cell.weekend{background:#ffffff09}:root[data-theme=dark] .plan-cell:hover,:root[data-theme=dark] .plan-cell.weekend:hover{background:#ffffff12}:root[data-theme=dark] .plan-cell.today{background:#e8a84824}:root[data-theme=dark] .plan-row{border-bottom-color:#6b5d4c}
