@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@600;700;800&display=swap");:root{--ink:#142331;--muted:#6f7d89;--line:#e6ebef;--paper:#fff;--bg:#f3f6f7;--nav:#102735;--green:#18a77b;--green-dark:#0b795e}.billing-month-grid,.date-grid{display:grid;grid-template-columns:1fr 1fr;grid-gap:12px;gap:12px;align-items:start}.billing-month-grid .field,.date-grid .field{margin-bottom:14px}.billing-month-grid input,.billing-month-grid select,.date-grid input{display:block;width:100%;height:44px;min-height:44px}.select-cell{width:42px;text-align:center;padding-inline:10px}.select-cell input{width:16px;height:16px;accent-color:var(--green-dark);cursor:pointer}.bulk-delete,.confirm-delete{border:0;border-radius:8px;background:#b6453c;color:#fff;padding:9px 12px;font-size:10px;font-weight:700;cursor:pointer}.confirm-card{width:min(420px,100%);background:#fff;border-radius:16px;padding:27px;box-shadow:0 30px 80px rgba(0,0,0,.25);text-align:center}.confirm-card h2{font:700 19px Manrope;margin:13px 0 7px}.confirm-card p{color:var(--muted);font-size:12px;line-height:1.55;margin:0}.confirm-icon{width:44px;height:44px;margin:auto;border-radius:50%;display:grid;place-items:center;background:#fceae8;color:#b6453c;font-size:22px;font-weight:800}.confirm-card .modal-actions{justify-content:center}.success-toast{position:fixed;right:24px;bottom:24px;z-index:30;display:flex;align-items:center;gap:9px;background:#103f33;color:#fff;border-radius:10px;padding:13px 17px;box-shadow:0 16px 40px rgba(0,0,0,.2);font-size:12px;font-weight:700}.success-toast span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#43c99e;color:#08372b}.approval-badge{padding:5px 9px;border-radius:20px;font-size:10px;font-weight:700}.approval-badge.approved{background:#e4f6f0;color:#13765d}.approval-badge.pending{background:#fff3de;color:#9a681d}.approve-action{border:1px solid #bfe7da;background:#e8f8f3;color:#10755b;border-radius:8px;padding:7px 11px;font-size:10px;font-weight:700;cursor:pointer}.pending-card{text-align:center}.pending-card>p:not(.eyebrow){color:var(--muted);font-size:12px;line-height:1.6}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:DM Sans,sans-serif}button,input,select{font:inherit}.app-shell{min-height:100vh;display:flex}.sidebar{width:244px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#dce7eb;padding:28px 18px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:11px;padding:0 8px 28px;font:800 21px Manrope}.brand>span:last-child span{color:#42d2a4}.brand-mark{width:37px;height:37px;border-radius:11px;display:grid;place-items:center;color:#0d513f;background:#44d6a8}.workspace{border-top:1px solid #28404d;border-bottom:1px solid #28404d;padding:18px 7px;margin-bottom:16px}.workspace small{font-size:9px;letter-spacing:1.7px;color:#78909d}.workspace button{width:100%;padding:8px 0 0;background:none;border:0;color:#fff;display:flex;justify-content:space-between;font-size:13px;font-weight:600}.sidebar nav{display:grid;grid-gap:4px;gap:4px}.sidebar nav button{display:flex;align-items:center;gap:12px;padding:11px 13px;border:0;border-radius:8px;background:transparent;color:#9fb1ba;text-align:left;font-weight:500;cursor:pointer}.sidebar nav button.active,.sidebar nav button:hover{background:#1e4655;color:#fff}.sidebar nav button.active{box-shadow:inset 3px 0 #48d4a6}.profile{margin-top:auto;border-top:1px solid #28404d;padding:18px 7px 0;display:flex;align-items:center;gap:10px}.profile .avatar{width:34px;height:34px;border-radius:9px;background:#dff8ef;color:#14725a;display:grid;place-items:center;font-size:12px;font-weight:700}.profile div:nth-child(2){display:grid;flex:1 1}.profile strong{font-size:12px}.profile small{font-size:10px;color:#8fa3ad;margin-top:2px}.content{margin-left:244px;width:calc(100% - 244px);padding:28px 36px 40px;max-width:1600px}.content header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.eyebrow{font-size:10px;letter-spacing:1.5px;color:#86939d;font-weight:700;margin:0 0 4px}.content h1{font:800 29px Manrope;margin:0}.header-actions{display:flex;gap:10px}.icon-btn{position:relative;width:42px;border:1px solid var(--line);background:#fff;border-radius:9px}.icon-btn i{position:absolute;width:6px;height:6px;border-radius:50%;background:#f2655b;right:9px;top:8px}.primary{border:0;border-radius:9px;background:var(--green-dark);color:#fff;padding:11px 17px;display:flex;align-items:center;gap:7px;font-weight:600;cursor:pointer}.primary:hover{background:#09664f}.notice{background:#e8f8f3;border:1px solid #cceee3;border-radius:12px;padding:15px 18px;display:flex;align-items:center;gap:13px;margin-bottom:18px}.notice-icon{width:39px;height:39px;border-radius:10px;background:#c9eee2;color:#147c61;display:grid;place-items:center}.notice div:nth-child(2){flex:1 1}.notice strong{font-size:14px}.notice p{margin:3px 0 0;color:#55716b;font-size:12px}.notice button{border:0;background:transparent;color:#10755b;font-weight:700;cursor:pointer}.metrics{display:grid;grid-template-columns:repeat(4,1fr);grid-gap:14px;gap:14px;margin-bottom:18px}.metrics article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px;display:flex;gap:13px;min-width:0}.metric-icon{width:38px;height:38px;display:grid;place-items:center;border-radius:9px;flex:0 0 auto}.metric-icon.green{background:#e5f6f0;color:#178669}.metric-icon.blue{background:#e9f1fa;color:#3f72a9}.metric-icon.violet{background:#f1ecfa;color:#7959ad}.metric-icon.amber{background:#fff3de;color:#b67a24}.metrics p{margin:0 0 7px;color:var(--muted);font-size:11px}.metrics strong{display:block;font:700 19px Manrope;white-space:nowrap}.metrics small{display:block;margin-top:6px;color:#8a969e;font-size:10px}.metrics small b{color:#16a176}.logout{border:0;background:transparent;color:#9fb1ba;cursor:pointer;font-size:18px}.logout:hover{color:#fff}.mobile-logout{display:none;align-items:center;gap:6px;border:1px solid #f0d0cd;background:#fff5f4;color:#a9443c;border-radius:9px;padding:10px 12px;font-size:11px;font-weight:700;cursor:pointer}.auth-shell{min-height:100vh;display:grid;place-items:center;padding:20px;background:radial-gradient(circle at top,#e1f5ef 0,#f3f6f7 48%)}.auth-card{width:min(410px,100%);background:#fff;border:1px solid var(--line);border-radius:18px;padding:32px;box-shadow:0 24px 70px rgba(16,39,53,.12)}.auth-card h1{font:800 27px Manrope;margin:0 0 24px}.auth-brand{display:flex;align-items:center;gap:10px;margin-bottom:27px;font:800 20px Manrope}.auth-brand strong span{color:var(--green)}.auth-submit{width:100%;justify-content:center;margin-top:8px}.auth-switch{width:100%;border:0;background:transparent;color:var(--green-dark);font-weight:700;font-size:11px;margin-top:16px;cursor:pointer}.auth-error,.sync-error{background:#fceae8;border:1px solid #f4d0cc;color:#9b4039;border-radius:8px;padding:10px 12px;font-size:11px;line-height:1.45}.sync-error{margin-bottom:16px}.panel{background:#fff;border:1px solid var(--line);border-radius:13px;overflow:hidden}.panel-head{padding:20px 22px 17px;display:flex;align-items:flex-end;justify-content:space-between}.modal h2,.panel h2{font:700 18px Manrope;margin:0}.panel-head p{margin:4px 0 0;color:var(--muted);font-size:11px}.filters{display:flex;gap:8px}.filters label{border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;gap:7px;padding:0 10px;color:#94a0a9}.filters input{border:0;outline:0;padding:9px 0;width:190px;font-size:11px}.filters select{border:1px solid var(--line);border-radius:8px;padding:0 28px 0 10px;background:#fff;color:#52606a;font-size:11px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px}th{text-align:left;color:#84919b;font-size:9px;letter-spacing:.7px;font-weight:700;background:#f8fafb;padding:11px 18px;border-block:1px solid var(--line)}td{padding:15px 18px;border-bottom:1px solid #edf0f2;white-space:nowrap}td small{display:block;color:#919ca4;margin-top:3px;font-size:9px}.status{padding:5px 9px;border-radius:30px;font-size:10px;font-weight:700}.status.paid{color:#13765d;background:#e4f6f0}.status.issued{color:#396ca1;background:#e8f1fa}.status.overdue{color:#b34e45;background:#fceae8}.status.draft{color:#7a6b50;background:#f3efe5}.download{border:0;background:transparent;color:#5c6d78;cursor:pointer;padding:5px}.download:hover{color:var(--green)}.panel-foot{padding:14px 20px;display:flex;justify-content:space-between;color:#89959e;font-size:10px}.panel-foot button{background:none;color:#10765b}.panel-foot button,.status-select{border:0;font-weight:700;cursor:pointer}.status-select{border-radius:30px;padding:6px 28px 6px 10px;font-size:10px;outline:none}.status-select.paid{color:#13765d;background:#e4f6f0}.status-select.issued{color:#396ca1;background:#e8f1fa}.status-select.overdue{color:#b34e45;background:#fceae8}.status-select.draft{color:#7a6b50;background:#f3efe5}.empty-state{padding:54px 24px;text-align:center}.empty-state p{color:var(--muted);font-size:13px}.month-picker{border:1px solid var(--line);border-radius:8px;padding:9px 30px 9px 11px;background:#fff;color:#334651;font-size:11px;font-weight:600}.table-action{border:1px solid #cceee3;background:#e8f8f3;color:#10755b;border-radius:8px;padding:7px 11px;font-size:10px;font-weight:700;cursor:pointer}.table-action:hover{background:#d9f3eb}.report-toolbar{display:flex;justify-content:flex-end;margin:-8px 0 14px}.report-tabs{display:flex;gap:6px;flex-wrap:wrap}.report-tabs button{border:1px solid var(--line);background:#fff;color:#68757e;border-radius:8px;padding:8px 11px;font-size:10px;font-weight:700;cursor:pointer}.report-tabs button.active{border-color:#bfe7da;background:#e8f8f3;color:#10755b}.recycle-grid{display:grid;grid-gap:18px;gap:18px}.audit-action{display:inline-block;padding:5px 9px;border-radius:20px;background:#eef1f2;color:#52606a;font-size:9px;font-weight:800;text-transform:capitalize}.audit-action.created,.audit-action.restored{background:#e4f6f0;color:#13765d}.audit-action.status_changed,.audit-action.updated{background:#e8f1fa;color:#396ca1}.audit-action.moved_to_recycle_bin,.audit-action.permanently_deleted{background:#fceae8;color:#a9443c}.recycle-grid .table-action{display:flex;align-items:center;gap:5px}.role-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-gap:14px;gap:14px;margin-bottom:18px}.role-grid article{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px}.role-grid svg{color:var(--green-dark)}.role-grid h3{font:700 16px Manrope;margin:9px 0 5px}.role-grid p{font-size:11px;line-height:1.55;color:var(--muted);margin:0}.role-badge{padding:5px 9px;border-radius:20px;background:#e8f1fa;color:#396ca1;font-size:10px;font-weight:700}.row-actions{display:flex;gap:6px}.danger-action{border:1px solid #f4d0cc;background:#fceae8;color:#a9443c;border-radius:8px;padding:7px 11px;font-size:10px;font-weight:700;cursor:pointer}.danger-action:disabled{cursor:not-allowed;color:#87939b;background:#eef1f2;border-color:#e1e6e8}.modal-bg{position:fixed;inset:0;background:rgba(5,20,29,.55);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);display:grid;place-items:center;padding:18px;z-index:20}.modal{width:min(590px,100%);max-height:calc(100vh - 36px);overflow-y:auto;background:#fff;border-radius:16px;padding:24px;box-shadow:0 30px 80px rgba(0,0,0,.25)}.modal.compact{width:min(440px,100%)}.modal-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:21px}.modal-head>button{border:0;background:#f2f4f5;width:31px;height:31px;border-radius:8px;font-size:21px;color:#77838b;cursor:pointer}.field{display:grid;grid-gap:7px;gap:7px;font-size:11px;color:#68757e;font-weight:700;margin-bottom:14px}.field input,.field select{border:1px solid #dfe5e9;border-radius:8px;padding:11px 12px;color:#1d2d38;background:#fff;outline:none}.field input:focus,.field select:focus{border-color:#2aa982;box-shadow:0 0 0 3px #e0f6ef}.date-grid{grid-template-columns:1fr 1fr}.date-grid,.manual-items{display:grid;grid-gap:12px;gap:12px}.manual-item-title,.manual-items-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.manual-items-head>div{display:grid;grid-gap:3px;gap:3px}.manual-items-head small{color:var(--muted);font-size:10px}.manual-items-head .table-action{display:flex;align-items:center;gap:5px}.manual-item{border:1px solid var(--line);background:#f8fafb;border-radius:10px;padding:14px}.manual-item-title{margin-bottom:12px}.manual-item-title button{border:0;background:transparent;color:#b34e45;font-size:10px;font-weight:700;cursor:pointer}.manual-item .field:last-child{margin-bottom:0}.calc{background:#f6f8f9;border-radius:11px;padding:11px 15px;margin-top:17px}.calc div{display:flex;justify-content:space-between;padding:7px 0;color:#6e7a83;font-size:11px}.calc div+div{border-top:1px solid #e5e9eb}.calc strong{color:#24343f}.calc .grand{font-size:14px;color:#16392f}.calc .grand strong{color:#0b785b}.modal-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.modal-actions>button:not(.primary){border:1px solid #dfe5e9;background:#fff;border-radius:8px;padding:10px 16px;color:#65717a;cursor:pointer}.helper{background:#fff6df;border:1px solid #f5e4b4;border-radius:8px;padding:10px 12px;color:#77633a;font-size:11px;line-height:1.5}.pdf-preview-bg{padding:12px}.pdf-preview-modal{width:min(1040px,100%);height:calc(100vh - 24px);background:#fff;border-radius:14px;padding:14px;box-shadow:0 30px 80px rgba(0,0,0,.3);display:flex;flex-direction:column;gap:12px}.pdf-preview-head{display:flex;align-items:center;justify-content:space-between;gap:16px}.pdf-preview-head h2{font:700 17px Manrope;margin:0}.pdf-preview-actions{display:flex;align-items:center;gap:9px}.pdf-preview-close{width:38px;height:38px;border:0;border-radius:9px;background:#eef1f2;color:#65717a;font-size:24px;cursor:pointer}.pdf-preview-modal iframe{width:100%;flex:1 1;border:1px solid var(--line);border-radius:8px;background:#e9edef}@media(max-width:1100px){.metrics{grid-template-columns:repeat(2,1fr)}.panel-head{align-items:flex-start;gap:15px;flex-direction:column}}@media(max-width:760px){.sidebar{width:76px;padding-inline:10px}.brand>span:last-child,.profile div:nth-child(2),.profile>svg,.sidebar nav span,.workspace{display:none}.brand{padding-inline:9px}.profile,.sidebar nav button{justify-content:center}.content{margin-left:76px;width:calc(100% - 76px);padding:22px 16px}.metrics{grid-template-columns:1fr}.notice button{display:none}.content header{align-items:flex-start}.header-actions .icon-btn{display:none}.mobile-logout{display:flex}.panel-head{padding:18px}.filters{width:100%}.filters label{flex:1 1}.filters input{width:100%}.pdf-preview-actions .primary{font-size:0;padding:10px}.pdf-preview-actions .primary svg{margin:0}}@media(max-width:480px){.content{margin-left:0;width:100%;padding-bottom:92px}.sidebar{inset:auto 0 0;width:100%;height:67px;z-index:10;flex-direction:row;padding:8px;background:#102735}.brand,.profile,.sidebar nav button:nth-child(n+5){display:none}.brand{padding-inline:9px}.sidebar nav{display:flex;width:100%;justify-content:space-around}.sidebar nav button{padding:10px 14px}.metrics{grid-template-columns:1fr}.notice{align-items:flex-start}.notice p{line-height:1.5}.filters select{display:none}.header-actions .primary{font-size:0;padding:11px}.header-actions .primary svg{margin:0}.mobile-logout span{display:none}.content h1{font-size:25px}.pdf-preview-modal{padding:9px}.pdf-preview-head .eyebrow{display:none}.pdf-preview-head h2{font-size:13px}}