:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--bg:#f4f5f8;--surface:#fff;--surface-2:#f8f9fb;--line:#e1e4ea;--text:#1b2130;--muted:#636b7c;--accent:#4560e0;--accent-text:#fff;--accent-soft:#e9edfd;--danger:#bd2c45;--danger-soft:#fcebee;--ok:#0d7a5a;--ok-soft:#e3f5ee;--shadow:0 1px 2px #1419280f, 0 4px 16px #1419280a;--radius:10px;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;font-size:15px;line-height:1.45}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#11141b;--surface:#191d27;--surface-2:#1e2330;--line:#2d3444;--text:#e6e9f2;--muted:#99a2b6;--accent:#7b92ff;--accent-text:#0d1020;--accent-soft:#252d4d;--danger:#ff8296;--danger-soft:#3a1e27;--ok:#5fd3ac;--ok-soft:#173329;--shadow:none}}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);margin:0}h1,h2,p{margin:0}h1{font-size:1.35rem}h2{font-size:1.05rem}.muted{color:var(--muted)}.spacer{flex:1}.nowrap{white-space:nowrap}.pre{white-space:pre-wrap}button,input,select,textarea{font:inherit;color:inherit}button,a.button{border:1px solid var(--line);background:var(--surface);cursor:pointer;color:var(--text);border-radius:8px;justify-content:center;align-items:center;gap:6px;padding:7px 13px;text-decoration:none;display:inline-flex}button:hover:not(:disabled),a.button:hover{border-color:var(--accent)}button:disabled{opacity:.5;cursor:default}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}button.primary{background:var(--accent);border-color:var(--accent);color:var(--accent-text);font-weight:600}button.primary:hover:not(:disabled){filter:brightness(1.08)}button.danger{color:var(--danger)}button.danger.armed{background:var(--danger-soft);border-color:var(--danger);font-weight:600}button.icon{padding:4px 11px;font-size:1.15rem;line-height:1.3}.small{padding:4px 10px;font-size:.87rem}button.link{color:var(--accent);text-align:left;background:0 0;border:0;padding:0}button.link.strong{color:var(--text);font-weight:600}input,select,textarea{border:1px solid var(--line);background:var(--surface);border-radius:8px;width:100%;padding:7px 10px}textarea{resize:vertical}input[type=checkbox],input[type=radio]{width:auto;accent-color:var(--accent);margin:0 4px 0 0}input[type=color]{width:40px;height:30px;padding:2px}.segmented{border:1px solid var(--line);background:var(--surface-2);border-radius:9px;padding:2px;display:inline-flex}.segmented button{white-space:nowrap;background:0 0;border:0;border-radius:7px;padding:5px 12px}.segmented button[aria-pressed=true]{background:var(--accent);color:var(--accent-text);font-weight:600}.dot{border-radius:50%;flex:none;width:10px;height:10px;display:inline-block}.dot.all{background:conic-gradient(#4f6bed,#0f9d76,#d97706,#dc4c64,#4f6bed)}.badge{background:var(--surface-2);border:1px solid var(--line);color:var(--muted);border-radius:99px;padding:1px 8px;font-size:.76rem;font-weight:500;display:inline-block}.badge.ok{background:var(--ok-soft);color:var(--ok);border-color:#0000}.badge.off{background:var(--danger-soft);color:var(--danger);border-color:#0000}.error{color:var(--danger);background:var(--danger-soft);border-radius:8px;margin:8px 0;padding:8px 12px}.empty{color:var(--muted);text-align:center;padding:22px 8px;list-style:none}.layout{grid-template-columns:240px minmax(0,1fr);min-height:100vh;display:grid}.layout.shared{grid-template-columns:minmax(0,1fr)}main{flex-direction:column;min-width:0;min-height:100vh;display:flex}.sidebar{background:var(--surface);border-right:1px solid var(--line);flex-direction:column;gap:14px;height:100vh;padding:16px 12px;display:flex;position:sticky;top:0}.brand{align-items:center;gap:9px;font-size:1.05rem;font-weight:700;display:flex}.sidebar nav{flex-direction:column;flex:1;gap:2px;display:flex;overflow-y:auto}.nav-item{text-align:left;background:0 0;border-color:#0000;justify-content:flex-start;gap:10px}.nav-item span:last-child{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.nav-item[aria-current=true]{background:var(--accent-soft);font-weight:600}.nav-more{color:var(--muted);background:0 0;border:0;justify-content:flex-start;font-size:.87rem}.nav-new{color:var(--muted);border-style:dashed;margin-top:8px}.mobile-projects{display:none}.account{border-top:1px solid var(--line);flex-wrap:wrap;gap:6px;padding-top:12px;display:flex}.account span{width:100%;font-size:.85rem}.page-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:18px 22px 0;display:flex}.page-head h1{align-items:center;gap:10px;display:flex}.page-head h1:empty{display:none}.shared .page-head .brand{margin-bottom:8px;font-size:.92rem}.actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.content{flex-direction:column;flex:1;gap:16px;padding:16px 22px 22px;display:flex}.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 16px}.welcome{flex-direction:column;align-items:flex-start;gap:12px;max-width:560px;display:flex}.toolbar,.section-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.section-head h2{margin-bottom:1px}.navigator{flex-wrap:wrap;align-items:center;gap:6px;display:inline-flex}.navigator input{width:auto}.period-head{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px;margin:14px 0 10px;display:flex}.list-filters{flex-wrap:wrap;gap:10px;margin-bottom:10px;display:flex}.list-filters input{max-width:320px}.day-view{flex-direction:column;gap:8px;display:flex}.session{text-align:left;justify-content:flex-start;align-items:stretch;gap:14px;padding:12px 14px 12px 0;overflow:hidden}.stripe{border-radius:0 3px 3px 0;flex:none;width:4px}.session-time{flex-direction:column;min-width:74px;display:flex}.session-time small{color:var(--muted)}.session-body{flex-direction:column;flex:1;min-width:0;display:flex}.session-project{color:var(--muted);font-size:.8rem;font-weight:600}.session-text{white-space:pre-wrap;overflow-wrap:anywhere}.session-amount{white-space:nowrap;font-variant-numeric:tabular-nums}.add-row{color:var(--muted);border-style:dashed;padding:10px}.chip{background:var(--surface-2);text-align:left;border-left-width:4px;border-radius:6px;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:0;width:100%;min-width:0;padding:3px 7px;font-size:.8rem;display:flex}.chip span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;color:var(--muted);overflow:hidden}.add-small{color:var(--muted);background:0 0;border-color:#0000;padding:0 8px;font-size:1.05rem;line-height:1.5}.week-view{grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;display:grid}.week-day{border:1px solid var(--line);border-radius:8px;flex-direction:column;min-height:220px;display:flex}.week-day.is-today{border-color:var(--accent)}.week-day-head{border:0;border-bottom:1px solid var(--line);background:var(--surface-2);border-radius:8px 8px 0 0;flex-direction:column;gap:0}.week-day-body{flex-direction:column;gap:5px;padding:6px;display:flex}.week-day .chip span{white-space:normal;-webkit-line-clamp:4;overflow-wrap:anywhere;-webkit-box-orient:vertical;display:-webkit-box}.month-view{border-top:1px solid var(--line);border-left:1px solid var(--line);grid-template-columns:repeat(7,minmax(0,1fr));display:grid}.month-weekday,.month-cell{border-right:1px solid var(--line);border-bottom:1px solid var(--line)}.month-weekday{color:var(--muted);background:var(--surface-2);padding:5px 8px;font-size:.78rem;font-weight:600}.month-cell{flex-direction:column;gap:3px;min-width:0;min-height:108px;padding:4px;display:flex}.month-cell.outside{background:var(--surface-2)}.month-cell.outside>*{opacity:.55}.month-cell-head{align-items:center;gap:4px;display:flex}.day-number{background:0 0;border:0;border-radius:99px;padding:1px 7px;font-size:.85rem}.is-today .day-number{background:var(--accent);color:var(--accent-text);font-weight:700}.day-total{color:var(--accent);white-space:nowrap;font-size:.78rem;font-weight:700}.month-cell-head .add-small{opacity:.35;margin-left:auto}.month-cell:hover .add-small,.add-small:focus-visible{opacity:1}.month-chips{flex-direction:column;gap:3px;min-width:0;display:flex}.month-chips .chip{flex-direction:row;align-items:baseline;gap:6px}.month-chips .chip strong{white-space:nowrap;flex:none}.month-chips .chip span{min-width:0}.more{color:var(--muted);background:0 0;border:0;justify-content:flex-start;padding:0 6px;font-size:.76rem}.table-wrap{margin-top:8px;overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--line);vertical-align:top;padding:8px 10px}th{color:var(--muted);font-size:.78rem;font-weight:600}.num{text-align:right;font-variant-numeric:tabular-nums}.description{white-space:pre-wrap;overflow-wrap:anywhere;width:100%;min-width:200px}tr.clickable{cursor:pointer}tr.clickable:hover{background:var(--surface-2)}tfoot td{border-bottom:0;font-weight:700}.totals{z-index:5;background:var(--surface);border-top:2px solid var(--accent);max-height:75vh;padding:10px 22px 12px;position:sticky;bottom:0;overflow-y:auto;box-shadow:0 -6px 20px #1419281a}.totals-controls{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex}.totals-title{font-size:1rem}.totals-period{font-size:.87rem}.totals-figures{flex-wrap:wrap;align-items:flex-start;gap:10px 28px;margin-top:8px;display:flex}.money-group{border-left:1px solid var(--line);flex-wrap:wrap;gap:10px 28px;padding-left:28px;display:flex}.figure{flex-direction:column;display:flex}.figure-label{text-transform:uppercase;letter-spacing:.05em;color:var(--muted);font-size:.72rem}.figure-value{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.2rem;font-weight:650}.figure.strong .figure-value{color:var(--accent);font-weight:800}.figure.dim .figure-value{color:var(--muted)}.figure-detail{color:var(--muted);font-size:.76rem}.breakdown-toggle{align-self:center;margin-left:auto}.footnote{margin-top:6px;font-size:.8rem}.breakdown{max-height:35vh;overflow-y:auto}.modal{border:1px solid var(--line);background:var(--surface);width:min(520px,100vw - 24px);max-height:calc(100vh - 24px);color:var(--text);border-radius:14px;padding:18px 20px}.modal.wide{width:min(680px,100vw - 24px)}.modal::backdrop{background:#0a0e188c}.modal-head{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.modal-head button{border-color:#0000}.modal-foot{flex-wrap:wrap;align-items:center;gap:8px;margin-top:16px;display:flex}form{flex-direction:column;gap:12px;display:flex}.field{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.field>span{font-size:.82rem;font-weight:600}.field small{color:var(--muted)}.field .segmented{align-self:flex-start}.row{align-items:flex-start;gap:12px;display:flex}.quick{flex-wrap:wrap;gap:6px;margin-top:-4px;display:flex}.quick button{padding:2px 11px;font-size:.85rem}.check{align-items:baseline;gap:4px;display:flex}.choice{border:1px solid var(--line);border-radius:8px;flex-direction:column;gap:5px;display:flex}.choice legend{font-size:.82rem;font-weight:600}.swatches{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.swatch{border:2px solid var(--surface);border-radius:50%;width:28px;height:28px;padding:0}.swatch[aria-pressed=true]{box-shadow:0 0 0 2px var(--text)}.details{grid-template-columns:auto 1fr;gap:8px 18px;margin:0;display:grid}.details dt{color:var(--muted)}.details dd{overflow-wrap:anywhere;margin:0}.new-link{border:1px solid var(--line);background:var(--surface-2);border-radius:10px;margin:12px 0;padding:12px}.new-link button{align-self:flex-start}.links{flex-direction:column;gap:10px;margin:0;padding:0;list-style:none;display:flex}.links li:not(.empty){border:1px solid var(--line);border-radius:10px;flex-direction:column;gap:6px;padding:10px 12px;display:flex}.links li.inactive{background:var(--surface-2)}.link-head{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.center{justify-content:center;align-items:center;padding:20px}.login{width:min(360px,100%);padding:26px}.notice{flex-direction:column;align-items:flex-start;gap:10px;max-width:460px;padding:24px;display:flex}@media (width<=900px){.layout{grid-template-rows:auto 1fr;grid-template-columns:minmax(0,1fr)}.sidebar{border-right:0;border-bottom:1px solid var(--line);flex-flow:wrap;align-items:center;height:auto;position:static}.sidebar nav{display:none}.mobile-projects{flex:1;gap:8px;min-width:220px;display:flex}.mobile-projects button{white-space:nowrap}.account{border-top:0;margin-left:auto;padding-top:0}.account span{display:none}.week-view{grid-template-columns:minmax(0,1fr)}.week-day{min-height:0}.week-day-head{flex-direction:row;justify-content:space-between}}@media (width<=640px){.page-head,.content{padding-left:12px;padding-right:12px}.row{flex-direction:column;align-items:stretch}.month-cell{align-items:center;min-height:62px;padding:2px}.month-cell-head{flex-direction:column;gap:0}.month-cell-head .add-small,.month-chips{display:none}.day-total{font-size:.68rem}.session{flex-wrap:wrap}th,td{padding:7px 5px}table.stack,table.stack tbody,table.stack tfoot{display:block}table.stack thead{display:none}table.stack tr{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:baseline;gap:2px 12px;padding:9px 0;display:flex}table.stack td{border:0;padding:0}table.stack td.description{flex-basis:100%;order:2;min-width:0}table.stack td.num{order:3;font-weight:600}.totals{max-height:none;padding-left:12px;padding-right:12px;position:static}.money-group{border-left:0;gap:10px 18px;padding-left:0}.figure-value{font-size:1.05rem}}
