[hidden]{display:none!important}fieldset{border:1px solid #555;border-radius:10px;padding:18px;margin:12px 0;min-width:0}legend{padding:0 8px;font-weight:600}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:10px 0 20px}.check{display:flex;flex-direction:row;align-items:center;gap:10px;min-height:42px}.check input{width:18px;height:18px;flex-shrink:0}.banner{padding:14px;border:1px solid #a28d62;background:#393126;border-radius:10px}.error{border-left:4px solid #f19d94;padding-left:12px}.link{padding:5px 8px;background:#303030;color:#eee;line-height:1.6}.chart-scroll{overflow-x:auto;max-width:100%;margin:10px 0}figure{margin:22px 0}figure svg{width:100%;min-width:650px;height:auto;display:block}figcaption{font-size:15px}.legend{font-size:12px;color:#bbb;margin-left:14px}svg text{fill:#d5d5d5;font:9px system-ui}svg .axis{stroke:#888;stroke-width:1}svg .solid{fill:#8ed2c3;stroke:#b3ecdd;stroke-width:1}svg .planned{fill:#383f3e;stroke:#d7e8e3;stroke-width:1.5;stroke-dasharray:3 2}svg .limit{stroke:#f3ca85;stroke-width:1.5;stroke-dasharray:5 3}svg .l1{stroke:#d5b7f0;stroke-dasharray:2 2}.point{cursor:pointer}.point:hover rect{stroke:#fff;stroke-width:3}.rate{max-width:360px;width:100%}.rate .track{fill:#434343}.stage details{margin-top:10px}#notice{position:sticky;top:0;z-index:5;background:#212121;padding:10px 0}form>section:last-child{position:relative}.toolbar label{min-width:110px}.toolbar{flex-wrap:wrap}td{overflow-wrap:anywhere}textarea{width:100%}section h2{line-height:1.5}.grid section{margin:0}.grid{margin-bottom:22px}form[data-permission]{padding:12px 0;border-bottom:1px solid #555}button{touch-action:manipulation;min-height:42px}main{max-width:1800px}input[type=checkbox]{padding:0}#login{margin-top:4vh}.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px}fieldset[disabled]{opacity:.75}@media(max-width:850px){.two-col{grid-template-columns:1fr 1fr;gap:10px}fieldset{padding:12px}.fields{grid-template-columns:1fr}.grid{grid-template-columns:1fr 1fr}.grid .number{font-size:20px}.toolbar{align-items:flex-end}.toolbar select{max-width:155px}aside{overflow:hidden}nav button{min-height:44px}.legend{display:block;margin:8px 0}}@media(max-width:420px){.grid{grid-template-columns:1fr}.two-col{grid-template-columns:1fr 1fr}.two-col select{width:100%}main{padding:20px 12px}section{padding:14px}.number{font-size:22px}}
svg .contrib{stroke:#eee;stroke-width:2;fill:#416e66}svg .c1{fill:#5a5473}svg .c2{fill:#6f592f}svg .c3{fill:#364f77}svg .c4{fill:#6b4346}

table{min-width:680px}th,td{min-width:100px;overflow-wrap:normal;word-break:normal}.scroll{max-width:100%}td .link{white-space:normal;min-width:110px}

/* Compact ledger: fixed-width cells, no navigation buttons, no horizontal scrolling. */
.ledger-mode main{padding:20px 22px;max-width:none}.ledger-mode h1{margin:6px 0 14px}.ledger-mode #workspace>.toolbar{display:none}.sheet-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:8px 0}.sheet-toolbar label{display:flex;flex-direction:row;align-items:center;gap:5px}.sheet-toolbar input{max-width:180px}.sheet-toolbar button,.sheet-toolbar select,.sheet-toolbar input,.sheet-views button{min-height:30px;padding:5px 9px;font-size:12px}.sheet-views{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin:10px 0}.sheet-views button{background:#303030;color:#ddd}.sheet-views button[aria-pressed=true]{background:#dedede;color:#171717}.sheet-views span,.sheet-foot,#sheetCount{font-size:11px;color:#aaa}.sheet-wrap{width:100%;overflow:hidden;border:1px solid #454545;border-radius:5px}.sheet-table{width:100%;min-width:0;table-layout:fixed;font-size:12px}.sheet-table th,.sheet-table td{min-width:0;padding:0 3px;height:31px;border-right:1px solid #3d3d3d;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}.sheet-table th{height:39px;background:#303030}.sheet-table th button{width:100%;min-height:26px;border:0;background:transparent;color:#ccc;padding:3px 0;font-size:11px;text-align:left;white-space:normal;line-height:1.3}.sheet-table td input:not([type=checkbox]),.sheet-table td select{width:100%;height:27px;min-height:0;min-width:0;padding:3px 1px;border:1px solid transparent;border-radius:2px;background:transparent;color:inherit;font-size:12px;line-height:20px}.sheet-table td select{padding-right:0}.sheet-table td input:not([type=checkbox]):focus,.sheet-table td select:focus{border-color:#a2d5cb;outline:1px solid #a2d5cb;background:#202a28}.sheet-table td[data-kind=money] input,.sheet-table td[data-kind=calc]{text-align:right;font-variant-numeric:tabular-nums}.sheet-table input[type=checkbox]{display:block;margin:auto;width:15px;height:15px}.sheet-table [data-sheet-save]{min-height:25px;padding:2px 3px;font-size:11px;width:100%}.sheet-table [data-sheet-save]:disabled{background:transparent;border-color:transparent;color:#8eb9ac;opacity:.8}.sheet-table .sheet-even-month{background:#3c3829}.sheet-table .sheet-dirty{box-shadow:inset 3px 0 #cbb56f}.sheet-table [aria-invalid=true]{border-color:#ed9b90!important}.sheet-table input:disabled,.sheet-table select:disabled{opacity:.75;cursor:default}.sheet-col-name{width:23%}.sheet-col-date{width:10%}.sheet-col-save{width:42px}.sheet-table.sheet-other .sheet-col-name,.sheet-table.sheet-billing .sheet-col-name{width:22%}.sheet-error{color:#e8a098}.sheet-foot{line-height:1.6;margin-top:8px}.sheet-table td span[data-result]{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet-people .sheet-col-name{width:20%}.sheet-people input,.sheet-people select{font-size:11px!important}
@media(min-width:851px){.ledger-mode aside{width:190px;padding:24px 14px}.ledger-mode aside strong{font-size:20px}.ledger-mode nav button{padding:10px;font-size:12px}.ledger-mode main{margin-left:190px;width:calc(100% - 190px)}}
@media(max-width:700px){.ledger-mode main{padding:16px 8px}.sheet-table{font-size:10px}.sheet-table td input:not([type=checkbox]),.sheet-table td select{font-size:10px}.sheet-table th button{font-size:10px}.sheet-table td,.sheet-table th{padding:0 2px}.sheet-money [data-column=invoice_date],.sheet-money [data-column=due_date],.sheet-money [data-column=cost],.sheet-money [data-column=profit],.sheet-money [data-column=margin],.sheet-money th:nth-child(1),.sheet-money th:nth-child(2),.sheet-money th:nth-child(7),.sheet-money th:nth-child(8),.sheet-money th:nth-child(9){display:none}.sheet-money col:nth-child(1),.sheet-money col:nth-child(2),.sheet-money col:nth-child(7),.sheet-money col:nth-child(8),.sheet-money col:nth-child(9){display:none}.sheet-money .sheet-col-name{width:37%}.sheet-col-save{width:34px}.sheet-toolbar input{max-width:135px}.sheet-views span{width:100%}.sheet-dates .sheet-col-name{width:24%}.sheet-billing .sheet-col-name{width:25%}}

.sheet-support{display:flex;align-items:center;gap:2px}.sheet-support select{flex:1;min-width:0}.sheet-support button{font-size:9px;min-height:20px;padding:0 2px;flex-shrink:0;background:#393d35;color:#ddd}.sheet-views select{padding:4px;min-width:0;font-size:12px}
.sheet-table .sheet-month-band td{height:auto;padding:7px 8px;background:#273b36;white-space:normal;border-top:2px solid #789c90}.sheet-month-band div{display:flex;gap:6px 18px;flex-wrap:wrap;font-size:11px}.sheet-month-band strong{color:#d7f1e8}.sheet-month-band span{font-variant-numeric:tabular-nums}.sheet-assignee{display:flex;flex-direction:column;gap:0}.sheet-assignee small{display:block;font-size:10px;line-height:17px;color:#abd4c5;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sheet-people td:not(.sheet-month-band td){height:46px}.sheet-person-summary{padding:12px;margin:10px 0;border:1px solid #454545}.sheet-person-summary h2{font-size:16px;margin:0 0 10px}.sheet-person-summary label{display:flex;gap:8px;align-items:center}.sheet-person-summary select{max-width:210px;font-size:12px;padding:5px}.sheet-summary-table{min-width:0;width:100%;table-layout:fixed;font-size:12px}.sheet-summary-table th,.sheet-summary-table td{min-width:0;padding:7px;overflow-wrap:anywhere;white-space:normal}.sheet-summary-table th:nth-child(1){width:16%}.sheet-summary-table th:nth-child(2){width:20%}.sheet-summary-table th:nth-child(3){width:23%}.sheet-summary-table th:nth-child(4){width:10%}.sheet-summary-amount{font-variant-numeric:tabular-nums;text-align:right}.sheet-summary-amount small{display:block;font-size:10px;color:#c7b985}.sheet-summary-detail{font-size:10px;color:#bbb}@media(max-width:700px){.sheet-month-band div{gap:5px 10px}.sheet-summary-table{font-size:10px}.sheet-summary-table th,.sheet-summary-table td{padding:6px 3px}.sheet-summary-table th:last-child,.sheet-summary-table td:last-child{display:none}.sheet-summary-table th:nth-child(1){width:24%}.sheet-summary-table th:nth-child(2){width:27%}.sheet-summary-table th:nth-child(3){width:35%}.sheet-summary-table th:nth-child(4){width:14%}.sheet-person-summary{padding:8px}.sheet-assignee small{font-size:10px}}
