:root{--ink:#252a3c;--muted:#7c8192;--line:#e9ebf1;--bg:#f7f8fb;--accent:#cd5529;--accent-dark:#aa421e;--soft:#fff1e9;--green:#278468;--nav-width:256px}*{box-sizing:border-box}body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.55;color:var(--ink);background:var(--bg)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer}h1,h2,h3,p{margin:0}h1{font-size:32px;letter-spacing:-1px;line-height:1.25;font-weight:650}h2{font-size:17px;font-weight:650}h3{font-size:17px}.muted,.page-heading p{color:var(--muted)}.accent{color:var(--accent)}.brand{display:flex;align-items:center;gap:11px;font-size:25px;letter-spacing:-1.2px;font-weight:750;line-height:1.1}.brand small{display:block;font-size:8px;letter-spacing:2.3px;font-weight:500;margin-top:8px;color:var(--muted)}.brand-symbol{display:inline-flex;align-items:center;justify-content:center;border:1.5px solid var(--accent);border-radius:12px;color:var(--accent);width:42px;height:45px;font-size:26px;font-weight:400;letter-spacing:-7px;padding-right:7px}.brand-symbol span{transform:translateY(3px)}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--nav-width);background:#fff;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30}.sidebar .brand{padding:32px 23px 31px;border-bottom:1px solid var(--line)}.nav-label{font-size:10px;letter-spacing:1.8px;color:#9c9eaa;padding:29px 25px 12px;font-weight:600}nav{padding:0 12px;display:grid;gap:6px}.nav-link{display:flex;align-items:center;gap:13px;padding:13px 14px;border-radius:8px;color:#62677b;font-size:14px;transition:background .15s}.nav-link:hover{background:#f6f7fa}.nav-link.active{color:var(--accent);background:var(--soft);font-weight:600}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar-bottom{margin-top:auto}.secure-note{display:flex;align-items:center;gap:9px;font-size:11px;color:#9095a4;padding:22px;border-bottom:1px solid var(--line)}.secure-note svg{width:16px;height:16px}.user-card{padding:21px 16px;display:flex;gap:10px;align-items:center}.avatar{width:35px;height:35px;border-radius:50%;background:#f1e7e1;color:#9e573a;display:grid;place-items:center;font-weight:600}.user-info{min-width:0;flex:1}.user-info strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.user-info small{font-size:11px;color:var(--muted)}.icon-button{border:0;background:transparent;color:#7b8090;padding:5px;display:grid;place-items:center}.main{margin-left:var(--nav-width);min-height:100vh}.topbar{height:78px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;color:#848897;font-size:12px}.slash{padding:0 13px;color:#c4c7d1}.account-pill{font-size:11px;border:1px solid var(--line);padding:6px 12px;border-radius:30px;color:#5c6477}.content{padding:37px 42px 20px;max-width:1600px;margin:auto}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:29px}.page-heading p{margin-top:10px;font-size:13px;max-width:720px}.eyebrow{color:#9c7a69;font-size:10px;font-weight:650;letter-spacing:1.9px;margin-bottom:10px}.button{border:1px solid var(--accent);background:var(--accent);color:white;border-radius:7px;padding:11px 18px;font-weight:550;display:inline-flex;align-items:center;justify-content:center;gap:12px;white-space:nowrap;font-size:13px;line-height:1.5}.button:hover{background:var(--accent-dark);border-color:var(--accent-dark)}.button.secondary{background:white;color:#606578;border-color:#dfe2e9}.button.secondary:hover{background:#f5f6f9}.button.small{padding:7px 10px;font-size:11px}.button.full{width:100%}.summary-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0 0 28px}.summary-row.four{grid-template-columns:repeat(4,minmax(0,1fr))}.metric{background:white;border:1px solid var(--line);border-radius:10px;padding:23px 25px;min-height:130px}.metric>span{color:#73798b;font-size:12px;display:block}.metric strong{display:block;font-weight:600;font-size:32px;letter-spacing:-1px;margin-top:9px;line-height:1.3}.metric strong small{font-size:12px;letter-spacing:0}.metric>small{display:block;font-size:11px;color:#9a9fad;margin-top:7px}.metric strong.metric-text{font-size:25px}.accent-card{background:#fff8f3;border-color:#f2dfd1}.accent-card strong{color:var(--accent)}.panel{border:1px solid var(--line);border-radius:10px;background:#fff;margin-bottom:23px;overflow:hidden}.panel-heading{display:flex;justify-content:space-between;align-items:center;padding:23px 25px;border-bottom:1px solid var(--line);gap:16px}.panel-heading p{font-size:12px;color:var(--muted);margin-top:4px}.text-link,.text-button{color:var(--accent);font-size:12px;font-weight:550}.text-button{padding:0;border:0;background:none}.text-link:hover,.text-button:hover{text-decoration:underline}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}th{font-size:10px;letter-spacing:.5px;text-transform:uppercase;color:#8a90a1;font-weight:550;background:#fcfcfd;white-space:nowrap}td,th{padding:17px 24px;border-bottom:1px solid #f0f1f5}tbody tr:last-child td{border:0}td{color:#606678}td small{display:block;color:#989dad;font-size:11px;margin-top:3px}td strong,.strong-link{font-weight:600;color:var(--ink)}.amount{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:550}.badge{display:inline-block;white-space:nowrap;font-size:10px;border-radius:20px;padding:5px 10px;font-weight:550}.badge.success{background:#eaf6f0;color:#28825e}.badge.warning{background:#fff5df;color:#a27b28}.badge.neutral{background:#f0f1f5;color:#7f8494}.empty{text-align:center;padding:56px 25px}.empty-icon{display:grid;place-items:center;margin:0 auto 17px;background:#f6f4f1;color:#c19c83;border-radius:14px;width:54px;height:54px;font-size:25px}.empty h3{font-weight:550}.empty p{color:var(--muted);font-size:12px;margin:9px auto 20px;max-width:470px}.help-strip{border:1px dashed #dedfe6;border-radius:10px;padding:23px;display:flex;align-items:center;gap:18px;background:#f9fafc;margin-top:27px}.help-strip strong{font-size:13px;font-weight:550}.help-strip p{color:#8d93a1;font-size:12px;margin-top:4px}.help-strip .button{margin-left:auto}.help-symbol{font-family:serif;font-size:20px;color:#ae8974;border:1px solid #e2d6ca;border-radius:50%;width:30px;height:30px;display:grid;place-items:center;flex-shrink:0}.page-footer{padding:30px 0 6px;color:#a1a5b0;font-size:10px;display:flex;justify-content:space-between;gap:15px}.section-label{font-size:10px;letter-spacing:1.4px;color:var(--muted);margin-bottom:12px}.filter-bar{padding:18px 23px;display:flex;align-items:center;gap:12px;border-bottom:1px solid var(--line)}.filter-bar input{max-width:390px}.filter-bar select{width:auto;min-width:150px}.form-panel{padding:30px;max-width:780px}.stack label{font-size:12px;font-weight:550;display:block;margin-bottom:8px}.stack p{margin:0 0 20px}.stack>label{margin-top:20px}.stack input,.stack select,.stack textarea,input,select{width:100%;border:1px solid #dfe3eb;background:white;border-radius:6px;padding:11px 13px;color:var(--ink);min-height:43px}input:focus,select:focus,textarea:focus{outline:2px solid #e4a88f;border-color:#cc8c71}input::placeholder{color:#b4b9c6}input[type=checkbox]{width:17px;height:17px;min-height:0;accent-color:var(--accent);vertical-align:middle}input[type=file]{font-size:12px;background:#fbfbfd;padding:16px;border-style:dashed}input[type=file]::file-selector-button{padding:8px 12px;border:0;border-radius:4px;margin-right:12px;color:#784d38;background:#f4e8e0}input[type=checkbox]+label{display:inline}.helptext{display:block;font-size:11px;color:var(--muted);margin-top:6px}.helptext ul{padding-left:18px}.errorlist{list-style:none;padding:10px 12px;color:#a53c33;background:#fff0ed;border-radius:5px;font-size:12px;margin:10px 0}.form-actions{display:flex;justify-content:flex-end;gap:12px;border-top:1px solid var(--line);padding-top:22px;margin-top:25px}.back-link{display:inline-block;font-size:12px;color:#8c7b72;margin-bottom:20px}.detail-panel{padding:27px}.detail-panel h2{margin-bottom:15px}.detail-panel dl{display:grid;grid-template-columns:180px 1fr;gap:15px;font-size:13px}dt{color:var(--muted)}dd{margin:0}.inline-form{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin-top:25px;padding-top:20px;border-top:1px solid var(--line);font-size:12px}.inline-form input{width:170px}.inline-actions{display:flex;align-items:center;gap:16px}.pay-form{display:flex;gap:6px;margin-top:12px}.pay-form input{font-size:11px;width:140px;min-height:32px;padding:5px}.cancel-form{margin:22px 0}.danger{color:#b04b45}.narrow{max-width:600px}.selection-total{padding:20px 0;color:var(--accent);font-weight:600}.detail-panel .muted{margin-bottom:20px;font-size:13px}.pagination{display:flex;justify-content:center;gap:25px;padding:20px;font-size:12px}.message{padding:13px 17px;border-radius:6px;font-size:13px;margin-bottom:20px;background:#edf3fa;color:#466583}.message.success{background:#edf8f2;color:#2f7652}.message.error,.message.warning{background:#fff1e6;color:#995a31}.auth-page{min-height:100vh;display:flex;align-items:center;flex-direction:column;padding:65px 20px 30px;background:radial-gradient(ellipse at 50% 30%,#fff 0%,#f4f6f9 70%);margin:0}.auth-brand{margin-bottom:39px;font-size:30px}.auth-brand .brand-symbol{width:49px;height:50px}.auth-card{width:100%;max-width:460px;background:white;border:1px solid #e7eaf0;border-radius:12px;padding:40px;box-shadow:0 12px 45px #29334c05}.auth-card h1{font-size:25px;letter-spacing:-.7px}.auth-card>.muted{font-size:12px;line-height:1.8;margin:13px 0 28px}.auth-card .eyebrow{font-size:9px}.auth-card .stack{margin-top:25px}.auth-card .stack .button{margin-top:25px;justify-content:space-between}.auth-card .label-row{display:flex;align-items:center;justify-content:space-between;margin-top:22px}.label-row a{font-size:10px;color:var(--accent);margin-bottom:8px}.password-field{position:relative}.password-field input{padding-right:64px}.password-toggle{position:absolute;right:12px;top:13px;background:none;border:none;font-size:10px;color:#969eae}.auth-note{text-align:center;font-size:10px;color:#a2a7b3;line-height:1.8;border-top:1px solid var(--line);margin-top:30px;padding-top:22px}.auth-footer{font-size:10px;color:#a6abba;margin-top:28px}.auth-page .messages{width:100%;max-width:460px}.mobile-toggle{display:none}.auth-card .back-link{margin-top:20px;margin-bottom:0}
@media(min-width:1500px){.content{padding-top:48px}}@media(max-width:1100px){:root{--nav-width:225px}.content{padding:28px 25px}.topbar{padding:0 25px}.sidebar .brand{font-size:22px;padding:28px 18px}.summary-row.four{grid-template-columns:repeat(2,minmax(0,1fr))}.metric{padding:20px}.metric strong{font-size:26px}.page-heading{align-items:flex-start}.help-strip .button{display:none}}@media(max-width:760px){.sidebar{transform:translateX(-100%);transition:transform .2s;box-shadow:8px 0 30px #0001}.menu-open .sidebar{transform:translateX(0)}.main{margin-left:0}.topbar{height:65px;padding:0 18px;gap:10px}.topbar>span:nth-child(2){flex:1}.mobile-toggle{display:grid}.menu-open .mobile-toggle{position:fixed;left:233px;top:15px;z-index:40;background:white;border-radius:6px;padding:8px}.content{padding:26px 18px}.page-heading{flex-direction:column;gap:18px;margin-bottom:23px}h1{font-size:27px}.summary-row,.summary-row.four{grid-template-columns:1fr;gap:10px}.metric{min-height:100px;padding:17px 20px}.metric strong{font-size:29px}.metric>small{margin-top:3px}.filter-bar{flex-wrap:wrap;padding:15px}.filter-bar input{max-width:none}.filter-bar select{flex:1}td,th{padding:15px 17px}.panel-heading{padding:19px}.panel-heading h2{font-size:15px}.form-panel,.detail-panel{padding:22px}.detail-panel dl{grid-template-columns:1fr;gap:5px}.detail-panel dd{margin-bottom:12px}.page-footer span{display:none}.auth-page{padding-top:40px}.auth-brand{margin-bottom:28px}.auth-card{padding:30px 25px}.auth-card h1{font-size:24px}.help-strip{padding:18px}.empty{padding:40px 20px}.account-pill{font-size:9px}.inline-form .button{width:100%}}
.brand-lockup{display:block}.brand-lockup img{width:180px;height:40px;object-fit:contain;display:block}.brand-lockup small{font-size:8px;letter-spacing:2px;margin-top:11px;text-align:center}.auth-brand .brand-lockup img{width:220px;height:48px}.auth-brand .brand-lockup small{font-size:9px}
