:root{--brand-teal: #2dd4bf;--brand-blue: #3b82f6;--brand-green: #10b981;--brand-indigo: #6366f1;--brand-navy: #0f172a;--brand-slate: #64748b;--brand-light: #e2e8f0;--brand-bg: #f8fafc;--brand-surface: #ffffff;--brand-gradient: linear-gradient(135deg, #2dd4bf 0%, #3b82f6 100%);color:var(--brand-navy);background:var(--brand-bg);font-family:Inter,Noto Sans SC,Source Han Sans SC,Microsoft YaHei,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}.auth-shell{align-items:center;background:#111812;display:flex;justify-content:center;min-height:100vh;padding:24px}.auth-card{background:#fff;border:1px solid #dfe6d9;border-radius:8px;box-shadow:0 24px 70px #0000003d;display:grid;gap:22px;max-width:420px;padding:28px;width:100%}.auth-card p{color:#667262;font-size:13px;font-weight:800;margin:0 0 6px;text-transform:uppercase}.auth-card h1{font-size:32px;margin:0 0 6px}.auth-card span{color:#667262;font-size:14px;line-height:1.5}.auth-form{display:grid;gap:14px}.auth-password-input{font-family:Segoe UI,Arial,sans-serif;letter-spacing:0}button,input,select,textarea{font:inherit}button{cursor:pointer}.app-shell{display:grid;grid-template-columns:260px minmax(0,1fr);min-height:100vh}.sidebar{background:#111812;color:#eef4ea;display:flex;flex-direction:column;gap:28px;padding:26px 18px}.brand{align-items:center;display:flex;gap:12px}.brand-mark{align-items:center;background:#fff;border-radius:8px;display:flex;height:44px;justify-content:center;overflow:hidden;width:44px}.brand-mark img{display:block;height:100%;object-fit:cover;object-position:center 56%;width:100%}.brand strong,.brand span{display:block}.brand span{color:#aebbaa;font-size:13px;margin-top:3px}.nav-list{display:grid;gap:8px}.nav-item{align-items:center;background:transparent;border:0;border-radius:8px;color:#dce6d7;display:flex;gap:10px;min-height:42px;padding:0 12px;text-align:left}.nav-item:hover,.nav-item.active{background:#243123;color:#fff}.nav-item.active{box-shadow:inset 3px 0 #c8f05a}.sidebar-bottom{display:grid;gap:10px;margin-top:auto}.account-card{background:#1b241b;border:1px solid #33402f;border-radius:8px;display:grid;gap:8px;padding:14px}.account-card strong,.account-card span{display:block}.account-card span{color:#aebbaa;font-size:12px;line-height:1.45}.account-card button{align-items:center;background:#243123;border:1px solid #3d4b39;border-radius:8px;color:#eef4ea;display:inline-flex;gap:8px;justify-content:center;min-height:34px}.workspace{min-width:0;padding:28px}.topbar{align-items:center;display:flex;justify-content:space-between;margin-bottom:24px}.topbar-actions{align-items:center;display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.topbar p{color:#667262;font-size:13px;font-weight:700;letter-spacing:0;margin:0 0 4px;text-transform:uppercase}.topbar h1{font-size:32px;letter-spacing:0;line-height:1.1;margin:0}.primary-action{align-items:center;background:#17201a;border:0;border-radius:8px;color:#fff;display:inline-flex;gap:8px;justify-content:center;min-height:42px;padding:0 16px}.primary-action:disabled,.secondary-action:disabled{cursor:not-allowed;opacity:.55}.secondary-action{align-items:center;background:#eef3ea;border:1px solid #dce5d7;border-radius:8px;color:#243023;display:inline-flex;gap:8px;justify-content:center;min-height:42px;padding:0 14px;text-decoration:none}.compact-action{min-height:36px;padding:0 12px;white-space:nowrap}.icon-button{align-items:center;background:#f8fafc;border:1px solid #dce5d7;border-radius:8px;color:#475569;display:inline-flex;height:36px;justify-content:center;padding:0;width:36px}.icon-button:hover{background:#fff;border-color:#3b82f66b;color:var(--brand-blue)}.screen-grid{display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.metric-grid{display:grid;gap:14px;grid-column:1 / -1;grid-template-columns:repeat(4,minmax(0,1fr))}.metric,.panel{background:#fff;border:1px solid #dfe6d9;border-radius:8px;box-shadow:0 16px 40px #18251912}.metric{display:grid;gap:10px;min-height:138px;padding:20px}.metric svg{color:#41503d}.metric span{color:#64705f;font-size:14px}.metric strong{font-size:28px;line-height:1}.metric.green{border-top:4px solid #2f9e44}.metric.red{border-top:4px solid #e03131}.metric.blue{border-top:4px solid #1971c2}.metric.amber{border-top:4px solid #f08c00}.panel{min-width:0;padding:20px}.panel.wide{grid-column:1 / -1}.panel-heading{align-items:flex-start;display:flex;gap:12px;justify-content:space-between;margin-bottom:18px}.panel-heading-actions{align-items:center;display:inline-flex;flex-wrap:wrap;gap:10px;justify-content:flex-end}.panel-heading h2{font-size:18px;letter-spacing:0;margin:0}.panel-heading p{color:#687466;font-size:14px;line-height:1.5;margin:5px 0 0}.risk-list,.stack-list{display:grid;gap:12px}.queue-page-indicator{align-items:center;background:#f4f7f1;border:1px solid #dfe8da;border-radius:999px;color:#52604e;display:inline-flex;font-size:12px;font-weight:800;min-height:28px;padding:0 10px;white-space:nowrap}.pagination-row{align-items:center;border-top:1px solid #edf1e9;color:#657062;display:flex;flex-wrap:wrap;font-size:13px;gap:10px;justify-content:space-between;margin-top:14px;padding-top:14px}.pagination-row button{align-items:center;background:#fff;border:1px solid #dce5d7;border-radius:8px;color:#263225;display:inline-flex;font-weight:800;gap:6px;min-height:34px;padding:0 12px}.pagination-row button:disabled{color:#98a295;cursor:not-allowed;opacity:.55}.page-jump-control{align-items:center;color:#657062;display:inline-flex;font-weight:800;gap:6px}.page-jump-control input{background:#fff;border:1px solid #dce5d7;border-radius:8px;color:#263225;font:inherit;height:34px;padding:0 8px;text-align:center;width:62px}.pagination-pages{align-items:center;display:inline-flex;flex-wrap:wrap;gap:8px;justify-content:center}.pagination-pages button{min-width:34px;padding:0 10px}.pagination-pages button.active{background:#263225;border-color:#263225;color:#fff}.pagination-pages button.active:disabled{opacity:1}.pagination-ellipsis{color:#7b8677;font-weight:800;line-height:1;padding:0 2px}.empty-state{align-items:center;background:#f8faf5;border:1px dashed #d8e2d3;border-radius:8px;color:#687466;display:flex;font-size:14px;gap:8px;min-height:58px;padding:0 14px}.ledger-filter-panel{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:12px;margin-bottom:14px;padding:12px}.ledger-filter-title{align-items:center;display:flex;flex-wrap:wrap;gap:8px}.ledger-filter-title svg{color:var(--brand-blue)}.ledger-filter-title strong{color:var(--brand-navy);font-size:13px;font-weight:850}.ledger-filter-title span{color:var(--brand-slate);font-size:12px;line-height:1.4}.ledger-search-field{align-items:center;background:#fff;border:1px solid #dbe4ee;border-radius:8px;display:grid;gap:8px;grid-template-columns:auto minmax(0,1fr);min-height:42px;padding:0 11px}.ledger-search-field:focus-within{border-color:var(--brand-blue);box-shadow:0 0 0 3px #3b82f624}.ledger-search-field svg{color:#64748b}.ledger-search-field input{background:transparent;border:0;color:var(--brand-navy);min-width:0;outline:0;width:100%}.ledger-filter-grid{display:grid;gap:10px;grid-template-columns:1fr 1fr 1.2fr 1fr 1fr 1fr auto}.ledger-filter-grid input,.ledger-filter-grid select{background:#fff;border:1px solid #dbe4ee;border-radius:8px;color:var(--brand-navy);min-height:36px;padding:0 10px;width:100%}.ledger-filter-grid input:focus,.ledger-filter-grid select:focus{border-color:var(--brand-blue);box-shadow:0 0 0 3px #3b82f624;outline:0}.risk-row{align-items:center;background:#f8faf5;border:1px solid #e1e8dc;border-radius:8px;display:flex;gap:10px;min-height:44px;padding:0 12px}.risk-row span{background:#f08c00;border-radius:999px;height:8px;width:8px}.compact-row,.ledger-card{align-items:center;border-bottom:1px solid #edf1e9;display:flex;gap:12px;justify-content:space-between;padding:0 0 12px}.compact-row:last-child,.ledger-card:last-child{border-bottom:0;padding-bottom:0}.compact-row strong,.compact-row span,.ledger-card strong,.ledger-card span,.ledger-card p{display:block}.compact-row strong,.ledger-card strong{font-size:14px}.dashboard-ledger-row{align-items:flex-start}.compact-row span,.ledger-card span,.ledger-card p,.ledger-actions small{color:#667262;font-size:13px;line-height:1.45;margin:4px 0 0}.positive{color:#2f9e44}.negative{color:#c92a2a}.data-table{border:1px solid #e3e9de;border-radius:8px;overflow:hidden}.table-head,.table-row{display:grid;grid-template-columns:1.5fr 1.2fr 1fr .8fr}.table-head{background:#f2f6ee;color:#61705d;font-size:12px;font-weight:800;text-transform:uppercase}.table-head span,.table-row span{border-right:1px solid #e3e9de;min-width:0;padding:12px}.table-head span:last-child,.table-row span:last-child{border-right:0}.table-row{border-top:1px solid #e3e9de;font-size:14px}.two-column{display:grid;gap:18px;grid-template-columns:minmax(360px,.9fr) minmax(0,1.1fr)}.account-admin-layout{display:grid;gap:18px;width:100%}.form-grid{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}.button-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.field{display:grid;gap:7px}.field span{color:#4d5a49;font-size:13px;font-weight:700}.field-hint{color:var(--brand-blue);font-size:12px;font-weight:700;line-height:1.45;text-decoration:none}.native-file-input{height:1px;opacity:0;pointer-events:none;position:absolute;width:1px}.attachment-picker{align-items:center;background:linear-gradient(180deg,#fffffff5,#f8fafcf5);border:1px solid rgba(203,213,225,.92);border-radius:8px;box-shadow:inset 0 1px #ffffffe6,0 10px 26px #0f172a0d;display:flex;gap:12px;justify-content:space-between;min-height:58px;padding:9px 10px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.attachment-picker:hover,.attachment-picker:focus-within{border-color:#3b82f68c;box-shadow:inset 0 1px #fffffff2,0 0 0 3px #3b82f61f,0 14px 34px #0f172a14}.attachment-picker label{align-items:center;cursor:pointer;display:flex;flex:1;gap:11px;min-width:0}.attachment-icon{align-items:center;background:linear-gradient(135deg,#2dd4bf29,#3b82f629);border:1px solid rgba(59,130,246,.16);border-radius:8px;color:var(--brand-blue);display:inline-flex;height:36px;justify-content:center;width:36px}.attachment-picker strong,.attachment-picker small{display:block;min-width:0}.attachment-picker strong{color:var(--brand-navy);font-size:13px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-picker small{color:var(--brand-slate);font-size:12px;line-height:1.35;margin-top:2px}.attachment-picker.has-file{border-color:#2dd4bf80}.attachment-paste-tip{color:#64748b;font-size:12px;line-height:1.45}.attachment-clear{align-items:center;background:#f1f5f9e6;border:1px solid rgba(203,213,225,.86);border-radius:999px;color:#475569;display:inline-flex;flex:0 0 auto;height:28px;justify-content:center;padding:0;width:28px}.attachment-clear:hover{background:#fff;border-color:#3b82f673;color:var(--brand-blue)}.attachment-file-list,.attachment-existing-block{display:grid;gap:8px}.attachment-existing-block>strong{color:var(--brand-navy);font-size:12px;font-weight:800}.attachment-file-row{align-items:center;background:#f8fafcd1;border:1px solid rgba(226,232,240,.95);border-radius:8px;display:flex;gap:10px;justify-content:space-between;min-height:42px;padding:7px 9px 7px 12px}.attachment-file-row span{min-width:0}.attachment-file-row strong,.attachment-file-row small{display:block;min-width:0}.attachment-file-row strong{color:var(--brand-navy);font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-file-row small{color:var(--brand-slate);font-size:11px;margin-top:2px}.attachment-file-row button{align-items:center;background:#fff;border:1px solid rgba(203,213,225,.88);border-radius:999px;color:#64748b;display:inline-flex;flex:0 0 auto;height:26px;justify-content:center;padding:0;width:26px}.attachment-file-row button:hover{border-color:#b4231847;color:#b42318}.wide-field,.wide-button{grid-column:1 / -1}.field input,.field select,.field textarea,.inline-form input,.task-card select{background:#fbfcf9;border:1px solid #dce5d7;border-radius:8px;color:#17201a;min-height:40px;padding:0 11px;width:100%}.field textarea{min-height:82px;padding-top:10px;resize:vertical}.form-warning{background:#fff8e6;border:1px solid #ffe0a3;border-radius:8px;color:#8a5a00;font-size:13px;line-height:1.45;padding:10px 12px}.modal-backdrop{align-items:center;background:#0f172a6b;display:flex;inset:0;justify-content:center;padding:24px;position:fixed;z-index:50}.modal-panel{background:#fff;border:1px solid rgba(226,232,240,.92);border-radius:8px;box-shadow:0 28px 90px #0f172a47;max-height:calc(100vh - 48px);max-width:760px;overflow:auto;padding:20px;width:min(100%,760px)}.modal-heading{align-items:flex-start;display:flex;gap:14px;justify-content:space-between;margin-bottom:18px}.modal-heading h2{font-size:19px;letter-spacing:0;margin:0}.modal-heading p{color:#687466;font-size:14px;line-height:1.5;margin:5px 0 0}.modal-form{align-items:start}.segmented{background:#eef3ea;border-radius:8px;display:grid;grid-column:1 / -1;grid-template-columns:repeat(2,1fr);padding:4px}.segmented button{background:transparent;border:0;border-radius:6px;color:#566251;min-height:36px}.segmented button.selected{background:#fff;color:#17201a;font-weight:800;box-shadow:0 6px 16px #18251914}.ledger-card{align-items:flex-start;display:grid;grid-template-columns:minmax(0,1fr) auto;min-width:0}.ledger-main{min-width:0}.ledger-summary-button{background:transparent;border:1px solid transparent;border-radius:8px;color:inherit;cursor:pointer;display:block;margin:-6px;min-width:0;padding:6px;text-align:left;width:calc(100% + 12px)}.ledger-summary-button:hover,.ledger-summary-button:focus-visible{background:#3b82f60f;border-color:#3b82f633}.ledger-summary-button:focus-visible{outline:2px solid rgba(59,130,246,.32);outline-offset:2px}.ledger-table-area{display:grid;gap:12px}.ledger-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow-x:auto}.ledger-table{border-collapse:collapse;min-width:1120px;table-layout:fixed;width:100%}.ledger-table th,.ledger-table td{border-bottom:1px solid #e2e8f0;min-width:0;padding:11px 12px;text-align:left;vertical-align:top}.ledger-table th{background:#f8fafc;color:var(--brand-slate);font-size:12px;font-weight:800;letter-spacing:0;white-space:nowrap}.ledger-table tbody tr:hover{background:#fbfdff}.ledger-table tbody tr:last-child td{border-bottom:0}.ledger-table th:nth-child(1),.ledger-table td:nth-child(1){width:220px}.ledger-table th:nth-child(2),.ledger-table td:nth-child(2){width:102px}.ledger-table th:nth-child(3),.ledger-table td:nth-child(3){width:150px}.ledger-table th:nth-child(4),.ledger-table td:nth-child(4),.ledger-table th:nth-child(5),.ledger-table td:nth-child(5),.ledger-table th:nth-child(6),.ledger-table td:nth-child(6){width:96px}.ledger-table th:nth-child(7),.ledger-table td:nth-child(7){width:170px}.ledger-table th:nth-child(8),.ledger-table td:nth-child(8){width:108px}.ledger-table th:nth-child(9),.ledger-table td:nth-child(9){width:210px}.ledger-table-summary-button{background:transparent;border:1px solid transparent;border-radius:8px;color:inherit;cursor:pointer;display:grid;gap:6px;margin:-6px;min-width:0;padding:6px;text-align:left;width:calc(100% + 12px)}.ledger-table-summary-button:hover,.ledger-table-summary-button:focus-visible{background:#3b82f60f;border-color:#3b82f633}.ledger-table-summary-button strong{align-items:center;color:var(--brand-navy);display:flex;flex-wrap:wrap;font-size:13px;gap:6px;line-height:1.4}.ledger-table-summary-button span:last-child,.ledger-table-stack span,.muted-cell{color:var(--brand-slate);font-size:12px;line-height:1.45}.ledger-type-pill,.ledger-status-pill{align-items:center;border-radius:999px;display:inline-flex;font-size:12px;font-weight:800;line-height:1;min-height:22px;padding:0 8px;white-space:nowrap}.ledger-type-pill.income{background:#e9f8ef;color:#2f9e44}.ledger-type-pill.expense{background:#fff1f2;color:#c92a2a}.ledger-status-pill.draft{background:#eef2f7;color:#64748b}.ledger-status-pill.ready{background:#fff7ed;color:#c2410c}.ledger-status-pill.synced{background:#ecfdf3;color:#15803d}.ledger-status-pill.error{background:#fef2f2;color:#b42318}.ledger-table-stack{display:grid;gap:4px}.ledger-table-stack strong{color:var(--brand-navy);font-size:13px;overflow-wrap:anywhere}.ledger-table-attachments{display:grid;gap:6px}.ledger-table-attachments .attachment-link{width:100%}.ledger-table-attachments .attachment-link span{color:inherit;display:block;margin:0;min-width:0;overflow-wrap:anywhere;white-space:normal;word-break:break-word}.amount-cell{text-align:right;white-space:nowrap}.amount-cell b{font-size:14px}.ledger-table-actions{display:grid;gap:7px}.ledger-table-actions button{align-items:center;background:#eef3ea;border:1px solid #dce5d7;border-radius:8px;color:#243023;display:inline-flex;gap:5px;justify-content:center;min-height:30px;padding:0 8px;white-space:nowrap}.ledger-table-actions .ledger-action-row{justify-content:flex-start}.ledger-table-actions .danger-action{color:#b42318}.ops-table-wrap{background:#fff;border:1px solid #e2e8f0;border-radius:8px;overflow-x:auto}.ops-table{border-collapse:collapse;min-width:900px;table-layout:fixed;width:100%}.ops-table th,.ops-table td{border-bottom:1px solid #e2e8f0;min-width:0;padding:11px 12px;text-align:left;vertical-align:top}.ops-table th{background:#f8fafc;color:var(--brand-slate);font-size:12px;font-weight:800;letter-spacing:0;white-space:nowrap}.ops-table tbody tr:hover{background:#fbfdff}.ops-table tbody tr:last-child td{border-bottom:0}.ops-table td,.ops-table td span,.ops-table td p{color:var(--brand-slate);font-size:13px;line-height:1.45}.ops-table td strong{color:var(--brand-navy);font-size:13px;overflow-wrap:anywhere}.ops-table select,.ops-table input{background:#fbfcf9;border:1px solid #dce5d7;border-radius:8px;color:#17201a;min-height:34px;padding:0 9px;width:100%}.ops-table button,.table-action-button{align-items:center;background:#eef3ea;border:1px solid #dce5d7;border-radius:8px;color:#243023;display:inline-flex;font-weight:800;gap:5px;justify-content:center;min-height:34px;padding:0 10px;white-space:nowrap}.table-stack{display:grid;gap:4px}.numeric-cell{text-align:right;white-space:nowrap}.table-danger-text{color:#b42318;font-weight:700}.table-empty-state{border:0;border-radius:0;min-height:52px;padding:0}.task-table{min-width:1060px}.task-table th:nth-child(1),.task-table td:nth-child(1){width:220px}.task-table th:nth-child(2),.task-table td:nth-child(2),.task-table th:nth-child(3),.task-table td:nth-child(3),.task-table th:nth-child(4),.task-table td:nth-child(4),.task-table th:nth-child(5),.task-table td:nth-child(5),.task-table th:nth-child(6),.task-table td:nth-child(6){width:110px}.task-table th:nth-child(7),.task-table td:nth-child(7){width:150px}.task-table th:nth-child(8),.task-table td:nth-child(8){width:250px}.ai-cost-table{min-width:1120px}.ai-cost-table th:nth-child(1),.ai-cost-table td:nth-child(1),.ai-cost-table th:nth-child(2),.ai-cost-table td:nth-child(2){width:150px}.ai-cost-table th:nth-child(3),.ai-cost-table td:nth-child(3),.ai-cost-table th:nth-child(4),.ai-cost-table td:nth-child(4){width:110px}.ai-cost-table th:nth-child(n+5),.ai-cost-table td:nth-child(n+5){width:100px}.users-table{min-width:860px}.users-table th:nth-child(1),.users-table td:nth-child(1){width:190px}.users-table th:nth-child(2),.users-table td:nth-child(2),.users-table th:nth-child(3),.users-table td:nth-child(3),.users-table th:nth-child(4),.users-table td:nth-child(4),.users-table th:nth-child(5),.users-table td:nth-child(5){width:120px}.users-table th:nth-child(6),.users-table td:nth-child(6){width:260px}.audit-table{min-width:760px}.audit-table th:nth-child(1),.audit-table td:nth-child(1){width:180px}.audit-table th:nth-child(2),.audit-table td:nth-child(2){width:180px}.audit-table th:nth-child(3),.audit-table td:nth-child(3){width:160px}.dashboard-ai-table{min-width:640px}.dashboard-ai-table th:nth-child(1),.dashboard-ai-table td:nth-child(1),.dashboard-ai-table th:nth-child(2),.dashboard-ai-table td:nth-child(2){width:190px}.dashboard-ai-table th:nth-child(3),.dashboard-ai-table td:nth-child(3),.dashboard-ai-table th:nth-child(4),.dashboard-ai-table td:nth-child(4){width:120px}.ledger-attachment-list{display:grid;gap:6px;margin-top:8px;max-width:min(100%,520px)}.attachment-link{align-items:center;background:#f8fafce6;border:1px solid rgba(226,232,240,.95);border-radius:8px;color:var(--brand-blue);display:inline-grid;font-size:12px;font-weight:700;gap:6px;justify-items:start;grid-template-columns:auto minmax(0,1fr);line-height:1.35;max-width:100%;min-height:30px;padding:5px 8px;text-decoration:none;width:fit-content}.ledger-card .attachment-link span{color:inherit;display:block;font-size:inherit;line-height:inherit;margin:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment-link:hover{background:#fff;border-color:#3b82f659}.ledger-actions{display:grid;gap:8px;justify-items:end;min-width:164px}.ledger-actions button{align-items:center;background:#eef3ea;border:1px solid #dce5d7;border-radius:8px;color:#243023;display:inline-flex;gap:6px;justify-content:center;min-height:32px;padding:0 10px}.ledger-action-row{display:flex;flex-wrap:wrap;gap:6px;justify-content:flex-end}.ledger-actions .danger-action{color:#b42318}.ledger-actions .danger-action:hover{border-color:#b4231847;color:#b42318}.ledger-detail{display:grid;gap:16px}.ledger-detail-summary{align-items:center;background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:flex;gap:12px;justify-content:space-between;min-height:58px;padding:12px 14px}.ledger-detail-summary span{color:var(--brand-slate);font-size:13px;font-weight:800}.ledger-detail-summary strong{font-size:22px;white-space:nowrap}.ledger-detail-grid{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.ledger-detail-item{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:5px;min-width:0;padding:10px}.ledger-detail-item span,.ledger-detail-section p,.ledger-detail-attachment a{color:var(--brand-slate);font-size:12px;line-height:1.45}.ledger-detail-item strong{color:var(--brand-navy);font-size:13px;overflow-wrap:anywhere}.ledger-detail-section{display:grid;gap:10px}.ledger-detail-section h3{color:var(--brand-navy);font-size:14px;margin:0}.ledger-detail-section p{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;margin:0;min-height:44px;padding:10px 12px;white-space:pre-wrap}.ledger-detail-attachments{display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.ledger-detail-attachment{background:#fff;border:1px solid #e2e8f0;border-radius:8px;display:grid;gap:10px;min-width:0;overflow:hidden;padding:10px}.ledger-detail-image-button{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;cursor:zoom-in;display:block;overflow:hidden;padding:0;width:100%}.ledger-detail-image-button:hover,.ledger-detail-image-button:focus-visible{border-color:#3b82f673;box-shadow:0 0 0 3px #3b82f61f}.ledger-detail-attachment img{aspect-ratio:4 / 3;display:block;height:auto;object-fit:contain;width:100%}.ledger-detail-attachment strong,.ledger-detail-attachment a{display:block;min-width:0}.ledger-detail-attachment strong{color:var(--brand-navy);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ledger-detail-attachment a{color:var(--brand-blue);font-weight:800;margin-top:3px;text-decoration:none}.ledger-detail-file{align-items:center;background:#f8fafc;border:1px dashed #cbd5e1;border-radius:8px;color:var(--brand-slate);display:grid;gap:8px;justify-items:center;min-height:136px;padding:16px}.ledger-detail-file span{font-size:12px;font-weight:800}.ledger-detail-empty{min-height:48px}.ledger-image-preview{display:grid;gap:12px}.ledger-image-preview img{background:#f8fafc;border:1px solid #e2e8f0;border-radius:8px;display:block;max-height:min(68vh,720px);object-fit:contain;width:100%}.ledger-image-preview a{color:var(--brand-blue);font-size:13px;font-weight:800;justify-self:start;text-decoration:none}.inline-form{display:grid;gap:12px;grid-template-columns:minmax(0,1fr) auto;margin-bottom:18px}.report-bars{display:grid;gap:12px}.report-month{border-bottom:1px solid #edf2f7;display:grid;gap:8px;padding-bottom:12px}.report-month:last-child{border-bottom:0;padding-bottom:0}.report-month>strong{font-size:13px}.report-bar-line{align-items:center;display:grid;gap:10px;grid-template-columns:44px minmax(0,1fr) 86px}.report-bar-line span,.report-bar-line b,.report-row span{color:#64748b;font-size:12px}.report-bar-line div{background:#eef2f7;border-radius:999px;height:8px;overflow:hidden}.report-bar{border-radius:inherit;display:block;height:100%;min-width:3px}.report-bar.income{background:#10b981}.report-bar.expense{background:#ef4444}.report-bar.profit{background:#3b82f6}.report-bar.loss{background:#f59e0b}.report-row{align-items:center;border-bottom:1px solid #edf2f7;display:flex;gap:12px;justify-content:space-between;padding-bottom:12px}.report-row:last-child{border-bottom:0;padding-bottom:0}.report-row strong,.report-row span{display:block}.report-row strong{font-size:14px}.kanban{display:grid;gap:14px;grid-template-columns:repeat(4,minmax(0,1fr))}.lane{background:#f7faf4;border:1px solid #e1e8dc;border-radius:8px;min-height:280px;padding:12px}.lane h3{color:#4d5a49;font-size:13px;margin:0 0 10px}.task-card{background:#fff;border:1px solid #e1e8dc;border-radius:8px;display:grid;gap:8px;margin-bottom:10px;padding:12px}.task-card strong,.task-card span,.task-card p,.task-card em{display:block}.task-card strong{font-size:14px}.task-card span,.task-card p{color:#667262;font-size:13px;line-height:1.45;margin:0}.task-card em{color:#c92a2a;font-size:12px;font-style:normal}.status-pill{border-radius:999px;font-size:12px;font-weight:800;padding:5px 8px;white-space:nowrap}.status-pill.todo{background:#edf2ff;color:#364fc7}.status-pill.doing{background:#fff4e6;color:#d9480f}.status-pill.blocked{background:#fff5f5;color:#c92a2a}.status-pill.done{background:#ebfbee;color:#2f9e44}.password-reset-row{display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto;width:100%}.password-reset-row input{background:#fbfcf9;border:1px solid #dce5d7;border-radius:8px;min-height:36px;padding:0 10px}.password-reset-row button{background:#eef3ea;border:1px solid #dce5d7;border-radius:8px;color:#243023;min-height:36px;padding:0 10px}.status-badge{border-radius:999px;font-size:12px;font-weight:800;padding:5px 8px}.status-badge.green{background:#ebfbee;color:#2f9e44}.status-badge.red{background:#fff5f5;color:#c92a2a}.audit-table .table-head,.audit-table .table-row{grid-template-columns:1.2fr 1fr 1fr 1.2fr}.audit-heading-actions{align-items:center;display:inline-flex;gap:10px}.audit-filter-grid{display:grid;gap:10px;grid-template-columns:repeat(6,minmax(0,1fr));margin-bottom:14px}.audit-filter-grid input,.audit-filter-grid select{background:#fbfcf9;border:1px solid #dce5d7;border-radius:8px;color:#17201a;min-height:36px;padding:0 10px;width:100%}.audit-empty{border:0;border-radius:0;border-top:1px solid #e3e9de}.result-banner{border-radius:8px;display:grid;gap:4px;margin-top:14px;padding:12px}.result-banner strong,.result-banner span{display:block}.result-banner span{font-size:13px;line-height:1.45}.result-banner.ok{background:#ebfbee;border:1px solid #b2f2bb;color:#2b8a3e}.result-banner.error{background:#fff5f5;border:1px solid #ffc9c9;color:#c92a2a}body{background:radial-gradient(circle at 82% -12%,rgba(59,130,246,.16),transparent 34%),radial-gradient(circle at 24% 16%,rgba(45,212,191,.12),transparent 30%),var(--brand-bg)}.auth-shell{background:radial-gradient(circle at 76% 34%,rgba(59,130,246,.24),transparent 28%),radial-gradient(circle at 24% 68%,rgba(45,212,191,.24),transparent 30%),var(--brand-navy)}.auth-card{border-color:#e2e8f0d1;box-shadow:0 26px 90px #0f172a3d;overflow:hidden;position:relative}.auth-card:after,.workspace:after{border:44px solid rgba(45,212,191,.09);border-radius:999px;content:"";height:180px;pointer-events:none;position:absolute;width:180px}.auth-card:after{bottom:-82px;right:-76px}.auth-card p,.topbar p{color:var(--brand-blue);font-size:12px;letter-spacing:.02em}.app-shell{background:var(--brand-bg)}.sidebar{background:radial-gradient(circle at 0% 8%,rgba(45,212,191,.16),transparent 34%),linear-gradient(180deg,#0f172a,#111827);color:#f8fafc;position:relative}.brand{min-height:48px}.brand strong{color:#fff;letter-spacing:0}.brand span{color:#94a3b8}.brand-mark{background:#fff;border:1px solid rgba(226,232,240,.82);border-radius:8px;box-shadow:0 12px 28px #0f172a29;overflow:hidden;position:relative}.nav-item{color:#cbd5e1;font-size:14px}.nav-item:hover{background:#94a3b81f;color:#fff}.nav-item.active{background:linear-gradient(90deg,#2dd4bf2e,#3b82f633);box-shadow:inset 3px 0 0 var(--brand-teal);color:#fff}.account-card{background:#0f172abd;border-color:#94a3b83d;box-shadow:inset 0 1px #ffffff0a}.account-card span{color:#94a3b8}.account-card button{background:#1e293bc7;border-color:#94a3b847}.workspace{background:linear-gradient(180deg,#ffffffc2,#f8fafceb);position:relative}.workspace:after{border-color:#3b82f60f;right:24px;top:18px}.topbar{position:relative;z-index:1}.topbar h1{color:var(--brand-navy);font-weight:850}.primary-action{background:var(--brand-gradient);box-shadow:0 14px 30px #3b82f638;font-size:14px;font-weight:800}.primary-action:hover{transform:translateY(-1px)}.secondary-action{background:#fff;border-color:var(--brand-light);color:#1e293b;font-size:14px;font-weight:700}.secondary-action:hover,.ledger-actions button:hover,.password-reset-row button:hover{border-color:#3b82f67a;color:var(--brand-blue)}.metric,.panel{border-color:#e2e8f0f2;box-shadow:0 18px 44px #0f172a12}.metric{overflow:hidden;position:relative}.metric:before{background:var(--brand-gradient);content:"";height:4px;left:0;position:absolute;right:0;top:0}.metric span,.compact-row span,.ledger-card span,.ledger-card p,.ledger-actions small,.panel-heading p,.task-card span,.task-card p{color:var(--brand-slate)}.metric strong,.panel-heading h2,.compact-row strong,.ledger-card strong,.task-card strong{color:var(--brand-navy)}.metric svg,.panel-heading svg{color:var(--brand-blue)}.metric.green,.metric.red,.metric.blue,.metric.amber{border-top:0}.metric.green svg,.positive{color:var(--brand-green)}.metric.red svg,.negative{color:#ef4444}.metric.amber svg{color:var(--brand-indigo)}.risk-row,.lane{background:#f8fafc;border-color:var(--brand-light)}.risk-row span{background:var(--brand-gradient)}.compact-row,.ledger-card{border-bottom-color:#edf2f7}.data-table,.field input,.field select,.field textarea,.inline-form input,.task-card select,.password-reset-row input{border-color:var(--brand-light)}.table-head{background:#f1f5f9;color:#475569}.table-head span,.table-row span,.table-row{border-color:#e2e8f0}.field span,.lane h3{color:#334155}.field input,.field select,.field textarea,.inline-form input,.task-card select,.password-reset-row input{background:#fff;color:var(--brand-navy)}.field input:focus,.field select:focus,.field textarea:focus,.inline-form input:focus,.password-reset-row input:focus{border-color:var(--brand-blue);box-shadow:0 0 0 3px #3b82f624;outline:0}.segmented{background:#eef2f7}.segmented button.selected{color:var(--brand-blue);box-shadow:0 8px 20px #0f172a14}.ledger-actions button,.password-reset-row button{background:#fff;border-color:var(--brand-light);color:#334155}.task-card{border-color:var(--brand-light)}.result-banner.ok{background:#ecfdf5;border-color:#a7f3d0;color:#047857}.result-banner.error{background:#fef2f2;border-color:#fecaca;color:#b91c1c}@media(max-width:1080px){.app-shell{grid-template-columns:1fr}.sidebar{border-bottom:1px solid #283426;display:grid;gap:18px;grid-template-columns:1fr;padding:16px}.brand,.nav-list,.sidebar-bottom{width:100%}.nav-list{display:flex;flex-wrap:wrap}.account-card{min-width:220px}.metric-grid,.two-column,.kanban,.ledger-filter-grid,.ledger-detail-grid,.ledger-detail-attachments,.audit-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.workspace{padding:18px}.topbar{align-items:stretch;flex-direction:column;gap:14px}.topbar-actions{justify-content:flex-start}.screen-grid,.metric-grid,.two-column,.kanban,.form-grid,.ledger-filter-grid,.ledger-detail-grid,.ledger-detail-attachments,.audit-filter-grid{grid-template-columns:1fr}.data-table{overflow-x:auto}.table-head,.table-row{min-width:620px}.ledger-card{grid-template-columns:1fr}.ledger-actions{justify-items:start;min-width:0;width:100%}.ledger-action-row{justify-content:flex-start}}
