:root{--green:#176348;--line:#dce4df;--muted:#53675c;color:#20372b;background:#f1f4f2;font-family:system-ui,-apple-system,"Microsoft YaHei",sans-serif;font-size:14px}body{margin:0}button,input,select,textarea{border-radius:5px}button{min-height:38px;font-size:13px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid #267557;outline-offset:3px}.skip-link{position:fixed;left:12px;top:-80px;z-index:100;background:white;padding:12px;color:#174d38}.skip-link:focus{top:8px}#demo-notice{display:flex;gap:16px;justify-content:space-between;align-items:center;padding:9px 20px;background:#fbf4df;color:#604b18;border-bottom:1px solid #d9c98e;font-size:12px}#demo-notice strong{margin-right:10px}#demo-notice nav{display:flex;gap:5px;flex-shrink:0}#demo-notice a{padding:5px 10px;color:#604b18;text-decoration:none;border:1px solid transparent}#demo-notice a[aria-current]{background:white;border-color:#b5a477;border-radius:4px}.layout{grid-template-columns:172px minmax(0,1fr);min-height:calc(100vh - 50px)}aside{position:static;width:auto;padding:27px 14px;background:#153e2e;gap:25px}.logo{font-size:18px;letter-spacing:0;gap:9px}.mark{width:29px;height:29px;font-size:18px;border-radius:4px;background:#d3e7da;color:#143f2d}.nav{gap:6px}.nav button{font-size:14px;min-height:44px;padding:11px 12px;color:#c2dacb;border-radius:4px}.nav button.active{background:#e1efe6;color:#143e2c}.nav button:hover{background:#2c5541}.nav button.active:hover{background:#cfdfd4}.side-note{color:#b3cbbc}.side-bottom{padding:14px 4px;border-color:#476a57;font-size:13px}.workspace{margin:0}.topbar{padding:14px 24px;min-height:76px;gap:15px}.topbar>div:first-child{display:flex;align-items:center;gap:12px}.org-selector{max-width:290px;width:290px;font-size:13px;background:#f6f8f6;border:1px solid #dce4df}.identity{font-size:12px;gap:8px}.identity .tag{background:#f0f4f1;color:#365343}.user-small{color:#53675c}#content{padding:24px;max-width:none}.heading{margin-bottom:22px;align-items:center;gap:20px}.heading h1{font-size:26px;font-weight:700;line-height:1.3;margin:0 0 8px;letter-spacing:0}.heading .muted{font-size:13px;margin:0;color:#53675c}.heading .actions{gap:8px;flex-shrink:0}.filter-panel{display:grid;grid-template-columns:minmax(230px,1.5fr) minmax(180px,1fr) minmax(130px,.6fr) auto auto;align-items:end;gap:12px;background:white;border:1px solid #dce4df;padding:16px;margin:0;border-radius:6px}.filter-field{display:grid;gap:7px;min-width:0}.filter-field>span{font-size:12px;font-weight:600;color:#42584a}.filter-panel input,.filter-panel select{width:100%;max-width:100%;min-width:0;min-height:40px;font-size:13px;padding:8px 10px}.filter-panel [type=submit]{background:#176348;color:white;border-color:#176348;min-height:40px}.filter-panel button{min-height:40px}.ledger-heading{display:flex;justify-content:space-between;align-items:center;margin:24px 0 10px;gap:12px}.ledger-heading h2{font-size:16px;margin:0}.ledger-heading h2 span{margin-left:6px;font-size:13px;color:#176348}.ledger-heading p{font-size:12px;color:#53675c;margin:0}.tablewrap{border:1px solid #dce4df;border-radius:5px;background:white;overflow:auto;max-width:100%}.tablewrap .ledger{table-layout:fixed;min-width:1050px;width:100%;font-size:13px}.ledger th{background:#e9efeb;color:#43594a;font-size:12px;letter-spacing:0;font-weight:600;padding:12px;white-space:normal}.ledger th:nth-child(1){width:22%}.ledger th:nth-child(2){width:14%}.ledger th:nth-child(3){width:11%}.ledger th:nth-child(4){width:15%}.ledger th:nth-child(5){width:15%}.ledger th:nth-child(6){width:12%}.ledger th:nth-child(7){width:11%}.ledger td{padding:16px 12px;vertical-align:top;overflow-wrap:anywhere;border-bottom:1px solid #e4eae5;line-height:1.65}.ledger tr:last-child td{border-bottom:0}.ledger tr:hover td{background:#f8fbf9}.ledger .customer-company{padding:0;margin:0;font-size:14px;line-height:1.65;display:block;color:#213e2c}.ledger .customer-person{display:block;color:#20372b;font-weight:600;margin:0 0 5px}.ledger small{font-size:11px;color:#5d7063;line-height:1.6;margin-top:5px;display:block}.ledger .relationship{display:block;background:none;border:0;padding:0;margin:0;min-height:0}.ledger .relationship svg,.ledger .relationship div>small:first-child{display:none}.ledger .relationship b,.ledger .relationship span{font-size:13px;color:#20372b;font-weight:500}.ledger .tag{margin-top:7px;font-size:11px;border-radius:4px;padding:3px 6px;line-height:1.6;white-space:normal;display:inline-block}.ledger .table-actions{display:grid;grid-template-columns:auto auto;justify-content:start;align-items:start;gap:4px;min-width:0}.ledger .table-actions button:first-child{grid-column:1/-1;justify-self:start}.ledger .relationship>div{padding:0}.ledger .relationship small{font-size:12px}.scroll-instruction{display:none;font-size:12px;color:#425f4c;margin:8px 0}body:has(dialog[open]){overflow:hidden}@media(max-width:1250px){.scroll-instruction{display:block}}.ledger .table-actions button{padding:4px 8px;min-height:32px;font-size:12px;background:transparent;border:1px solid transparent;border-radius:4px;color:#176348}.ledger .table-actions button:first-child{border-color:#cadbd0}.ledger .table-actions .ledger-delete{color:#9a3630}.ledger-key{margin:10px 0 18px;font-size:12px;color:#53675c}.export-panel{padding:13px 16px;margin:0;border:1px solid #dce4df;border-radius:5px;background:transparent;box-shadow:none}.export-panel summary{font-size:13px;cursor:pointer}.tag.good{background:#e3f0e7;color:#24623d}.tag.warn{background:#faf0d5;color:#775510}.tag.bad{background:#f7e7e5;color:#913e35}dialog{border:0;border-radius:8px;padding:0;width:min(580px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);box-shadow:0 20px 65px #10251d40}dialog::backdrop{background:#10261e70}.modal-top{padding:17px 24px;border-bottom:1px solid #dce4df;background:#f7faf8}.modal-top strong{font-size:17px}.modal-top #close{font-size:13px;min-width:56px;height:auto;padding:6px 10px;position:static}#modal-body{padding:24px}dialog.detail-v2{width:1080px}.detail-v2 #modal-body{padding:0}.detail-columns{display:grid;grid-template-columns:42% minmax(0,1fr)}.detail-summary{padding:24px;border-right:1px solid #dce4df;background:#f8faf8}.detail-history{padding:24px}.detail-columns h2{font-size:17px;margin:0 0 18px}.detail-grid{display:grid;grid-template-columns:1fr;gap:13px}.detail-grid>div{padding:0;border:0;background:none;font-size:14px}.detail-grid small{display:block;color:#53675c;font-size:12px;margin-bottom:3px}.detail-relations{margin:20px 0 0;border-top:1px solid #dce4df}.detail-relations>div{padding-top:14px}.detail-relations dt{font-size:12px;color:#53675c}.detail-relations dd{margin:4px 0 0;line-height:1.7;font-size:13px}.detail-history .timeline{margin:16px 0 0;padding:0;border:0}.detail-history .timeline p{border:0;border-bottom:1px solid #dce4df;background:none;border-radius:0;padding:0 0 18px;margin:0 0 18px;font-size:13px}.timeline small{display:block;color:#53675c;font-size:12px;margin-top:7px}.manual-note{font-size:12px;color:#775510}.detail-footer{border-top:1px solid #dce4df;padding:16px 24px;display:flex;flex-wrap:wrap;gap:8px}.detail-v2 .text-note{color:#53675c}.field{font-size:13px}.field input,.field select{min-width:0;width:100%}@media(min-width:1600px){#content{padding:30px 36px}}@media(max-width:1100px){.layout{grid-template-columns:148px minmax(0,1fr)}.topbar{align-items:flex-start;flex-wrap:wrap}.heading{align-items:flex-start;flex-direction:column}.filter-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto auto}.filter-field:first-child{grid-column:1/-1}.identity{width:100%}.detail-columns{grid-template-columns:1fr 1fr}}@media(max-width:700px){#demo-notice{align-items:flex-start;flex-direction:column;padding:10px 14px;gap:6px}#demo-notice strong{display:block}.layout{display:block}aside{padding:14px;gap:12px}.logo{font-size:17px}.side-note,.side-bottom{display:none}.nav{display:flex;overflow:auto;gap:5px}.nav button{white-space:nowrap;flex-shrink:0;min-height:40px;font-size:12px;padding:8px 10px}.topbar{padding:14px}.topbar>div:first-child{width:100%;display:block}.org-selector{max-width:100%;width:100%}.identity{gap:6px}.identity b{font-size:12px}.identity button{font-size:11px;padding:6px 8px;min-height:34px}.identity>.tag{display:none}#content{padding:20px 14px}.heading{gap:14px}.heading h1{font-size:24px}.heading .actions{flex-wrap:wrap}.filter-panel{padding:12px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:10px}.filter-field:first-child{grid-column:1/-1}.filter-panel [name=project]{font-size:12px}.ledger-heading{align-items:flex-start;flex-direction:column;gap:4px}.ledger-heading p{font-size:11px}.detail-columns{display:block}.detail-summary{border:0;border-bottom:1px solid #dce4df;padding:20px}.detail-history{padding:20px}.detail-footer{padding:14px 20px}.detail-footer button{flex:1 1 130px}#modal-body{padding:20px}.modal-top{padding:12px 18px}dialog{max-height:calc(100dvh - 24px)}.ledger-key{font-size:11px}}

/* Production has no demo notice strip. */
.layout{min-height:100vh}
