*{box-sizing:border-box;margin:0;padding:0}body,html{height:100%}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#f8fafc;color:#1e293b;font-size:13px}a{color:inherit}.sidebar{position:fixed;top:0;left:0;width:210px;height:100vh;background:#fff;border-right:1px solid #e2e8f0;display:flex;flex-direction:column;z-index:100}.sidebar-logo{padding:16px 14px;border-bottom:1px solid #e2e8f0}.nav-section{font-size:10px;font-weight:600;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em;padding:14px 14px 4px}.nav-item{display:flex;align-items:center;gap:8px;padding:7px 14px;border-radius:6px;margin:1px 6px;font-size:12px;color:#475569;text-decoration:none;transition:background .15s;cursor:pointer}.nav-item:hover{background:#f1f5f9;color:#1e293b}.nav-item.active{background:#eff6ff;color:#1e40af;font-weight:500}.nav-badge{font-size:10px;font-weight:600;padding:1px 6px;border-radius:10px}.nav-badge-red{background:#fee2e2;color:#dc2626}.sidebar-user{padding:12px 14px;border-top:1px solid #e2e8f0;gap:8px}.avatar,.sidebar-user{display:flex;align-items:center}.avatar{width:30px;height:30px;border-radius:50%;background:#1e40af;color:#fff;font-size:11px;font-weight:600;justify-content:center;flex-shrink:0}.topbar{padding:14px 24px;background:#fff;border-bottom:1px solid #e2e8f0;display:flex;justify-content:space-between;position:-webkit-sticky;position:sticky;top:0;z-index:50}.btn,.topbar{align-items:center}.btn{display:inline-flex;gap:6px;padding:7px 14px;border-radius:6px;font-size:12px;font-weight:500;border:1px solid transparent;cursor:pointer;text-decoration:none;transition:all .15s}.btn-primary{background:#1e40af;color:#fff}.btn-primary:hover{background:#1d3a9e}.btn-secondary{background:#fff;color:#475569;border-color:#e2e8f0}.btn-secondary:hover{background:#f8fafc}.btn-danger{background:#dc2626;color:#fff}.btn-danger:hover{background:#b91c1c}.btn-success{background:#16a34a;color:#fff}.btn-success:hover{background:#15803d}.btn-sm{padding:4px 10px;font-size:11px}.card{background:#fff;border:1px solid #e2e8f0;border-radius:8px;padding:16px;margin-bottom:16px}.card-title{font-size:13px;font-weight:600;color:#1e293b;margin-bottom:12px;padding-bottom:10px;border-bottom:1px solid #f1f5f9}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-gap:12px;gap:12px;margin-bottom:20px}.stat-card{background:#fff;border-radius:8px;padding:16px;border:1px solid #e2e8f0;border-left:4px solid transparent;display:block}.stat-card.blue{border-left-color:#1e40af}.stat-card.amber{border-left-color:#f59e0b}.stat-card.green{border-left-color:#22c55e}.stat-card.red{border-left-color:#dc2626}.stat-card.purple{border-left-color:#7c3aed}.stat-card.teal{border-left-color:#0d9488}.stat-label{font-size:11px;color:#64748b;font-weight:500;margin-bottom:6px}.stat-value{font-size:26px;font-weight:700;color:#1e293b}.stat-sub{font-size:11px;color:#94a3b8;margin-top:4px}.two-col{display:grid;grid-template-columns:1fr 1fr;grid-gap:16px;gap:16px}@media (max-width:900px){.two-col{grid-template-columns:1fr}.stat-grid{grid-template-columns:repeat(2,1fr)}}table{width:100%;border-collapse:collapse;font-size:12px}th{background:#f8fafc;color:#64748b;font-weight:600;padding:8px 10px;text-align:left;border-bottom:1px solid #e2e8f0;white-space:nowrap;position:-webkit-sticky;position:sticky;top:0;z-index:2}td{padding:9px 10px;border-bottom:1px solid #f1f5f9;color:#374151;vertical-align:middle}tr:hover td{background:#fafbfc}tr:last-child td{border-bottom:none}.table-scroll{overflow-x:auto}.table-scroll table{border-collapse:separate;border-spacing:0}.table-scroll th{background:#f8fafc;position:-webkit-sticky;position:sticky;top:0;z-index:2;box-shadow:0 1px 0 #e2e8f0}.pill{display:inline-block;padding:2px 8px;border-radius:12px;font-size:11px;font-weight:500}.pill-draft{background:#f1f5f9;color:#64748b}.pill-pending{background:#fefce8;color:#a16207}.pill-pending_cs,.pill-waiting_cs{background:#eff6ff;color:#1d4ed8}.pill-changes_requested{background:#fff7ed;color:#c2410c}.pill-pending_shsb,.pill-shsb_review{background:#faf5ff;color:#7e22ce}.pill-approved,.pill-approved_for_payment{background:#f0fdf4;color:#16a34a}.pill-rejected,.pill-rejected_by_cs,.pill-rejected_by_shsb{background:#fef2f2;color:#dc2626}.pill-payment_initiated,.pill-payment_processing{background:#f5f3ff;color:#7c3aed}.pill-paid{background:#ecfdf5;color:#059669}.form-group{margin-bottom:14px}.form-group label{display:block;font-size:12px;font-weight:500;color:#374151;margin-bottom:5px}input,select,textarea{width:100%;padding:8px 10px;border:1px solid #d1d5db;border-radius:6px;font-size:12px;color:#1e293b;background:#fff;outline:none;transition:border .15s}input:focus,select:focus,textarea:focus{border-color:#1e40af;box-shadow:0 0 0 2px rgba(30,64,175,.1)}textarea{resize:vertical;min-height:80px}.form-row{display:grid;grid-gap:12px;gap:12px}.form-row-2{grid-template-columns:1fr 1fr}.form-row-3{grid-template-columns:1fr 1fr 1fr}.alert{padding:10px 14px;border-radius:6px;font-size:12px;margin-bottom:12px}.alert-danger{background:#fef2f2;color:#dc2626;border:1px solid #fecaca}.alert-success{background:#f0fdf4;color:#16a34a;border:1px solid #bbf7d0}.alert-info{background:#eff6ff;color:#1d4ed8;border:1px solid #bfdbfe}.alert-warn{background:#fefce8;color:#a16207;border:1px solid #fef08a}.login-wrap{height:100%;align-items:stretch}.login-left,.login-wrap{min-height:100vh;display:flex}.login-left{flex:1 1;background:linear-gradient(160deg,#0f172a,#1e3a8a 60%,#2563eb);flex-direction:column;align-items:center;justify-content:center;padding:60px 48px;position:relative;overflow:hidden}.login-left:before{content:"";position:absolute;width:500px;height:500px;border-radius:50%;border:1px solid hsla(0,0%,100%,.06);top:-160px;right:-160px}.login-left:after{content:"";position:absolute;width:350px;height:350px;border-radius:50%;border:1px solid hsla(0,0%,100%,.05);bottom:-100px;left:-100px}.login-right{width:480px;flex-shrink:0;min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:48px 44px;background:#fff;box-shadow:-4px 0 40px rgba(0,0,0,.08)}.login-card{width:100%;max-width:360px}.login-logo{text-align:center;margin-bottom:32px}.login-logo-icon{font-size:42px;margin-bottom:10px}.login-title{font-size:18px;font-weight:700;color:#1e293b;margin-bottom:4px}.login-sub{font-size:12px;color:#64748b}.login-brand-title{font-size:28px;font-weight:800;color:#fff;line-height:1.25;margin-bottom:10px;letter-spacing:-.3px}.login-brand-sub,.login-brand-title{text-align:center;position:relative;z-index:1}.login-brand-sub{font-size:14px;color:hsla(0,0%,100%,.55);margin-bottom:48px}.login-brand-badge{background:hsla(0,0%,100%,.07);border:1px solid hsla(0,0%,100%,.12);border-radius:12px;padding:14px 22px;margin-bottom:12px;width:100%;max-width:300px;position:relative;z-index:1;transition:background .2s}.login-brand-badge:hover{background:hsla(0,0%,100%,.11)}.login-brand-badge-label{font-size:9px;color:hsla(0,0%,100%,.4);text-transform:uppercase;letter-spacing:1.2px;margin-bottom:4px}.login-brand-badge-value{font-size:13px;color:hsla(0,0%,100%,.9);font-weight:600}.login-card input:focus{outline:none;border-color:#2563eb;box-shadow:0 0 0 3px rgba(37,99,235,.12)}@media (max-width:768px){.login-left{display:none}.login-right{width:100%;box-shadow:none;padding:32px 24px}}.upload-zone{border:2px dashed #cbd5e1;border-radius:8px;padding:24px;text-align:center;cursor:pointer;transition:all .15s;color:#64748b;font-size:12px}.upload-zone:hover{border-color:#1e40af;background:#eff6ff;color:#1e40af}.timeline{position:relative;padding-left:20px}.timeline:before{content:"";position:absolute;left:6px;top:0;bottom:0;width:2px;background:#e2e8f0}.timeline-item{position:relative;padding-bottom:16px}.timeline-dot{position:absolute;left:-17px;top:3px;width:10px;height:10px;border-radius:50%;background:#1e40af;border:2px solid #fff;box-shadow:0 0 0 2px #1e40af}.timeline-time{font-size:10px;color:#94a3b8;margin-top:2px}.filter-bar{display:flex;gap:8px;margin-bottom:14px;flex-wrap:wrap;align-items:center}.search-input{max-width:200px}.text-muted{color:#64748b}.text-sm{font-size:11px}.fw-600{font-weight:600}.mt-8{margin-top:8px}.flex-row{display:flex;align-items:center;gap:8px}.page-header{margin-bottom:16px}.empty-state{padding:48px;text-align:center;color:#94a3b8}.empty-state h3{font-size:14px;font-weight:600;color:#64748b;margin-bottom:4px}