@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--blue:#1764e8;--navy:#123363;--ink:#172c4b;--muted:#7a889c;--line:#e7ecf3;--bg:#f4f6fa;--sidebar:258px;--shadow:0 3px 15px #16365b04}*{box-sizing:border-box}body{margin:0;font:14px 'DM Sans',Arial,sans-serif;color:var(--ink);background:var(--bg)}a{color:var(--blue);text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer}svg{width:20px;height:20px;flex-shrink:0}h1,h2,h3,h4,p{margin-top:0}h1,h2,h3{font-family:'Manrope',Arial,sans-serif}h1{font-size:29px;letter-spacing:-1px;margin:7px 0 9px;font-weight:800}h2{font-size:16px;margin:0 0 6px;letter-spacing:-.3px;font-weight:750}h3{font-size:15px}p{line-height:1.65}small{font-size:11px}button{border:0}.muted{color:var(--muted)}.block{display:block}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.8px;color:#7186a0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #dfe6f0;background:white;border-radius:7px;padding:10px 15px;color:#445772;font-size:12px;font-weight:650;min-height:38px;white-space:nowrap;transition:background .15s,box-shadow .15s}.btn:hover{background:#f4f7fd;border-color:#bdcee5}.btn svg{width:16px;height:16px}.btn.primary{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 3px 7px #1764e817}.btn.primary:hover{background:#0d53c9}.btn.danger{color:#b84c45;background:#fff6f5;border-color:#f4d5d1}.btn.small{font-size:11px;padding:6px 10px;min-height:30px}.wide{width:100%}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;color:#8795a7;background:transparent;border-radius:6px;font-size:23px}.icon-btn:hover{background:#edf2f9;color:var(--blue)}.brand{display:flex;align-items:center;gap:10px;color:#173763;font-family:Manrope,Arial,sans-serif;font-size:21px;font-weight:800;letter-spacing:-.7px}.brand small{display:block;letter-spacing:1.6px;font:8px 'DM Sans',Arial,sans-serif;font-weight:750;margin-top:4px;color:#91a0b5}.brand-mark{height:38px;width:38px;display:grid;place-items:center;background:var(--blue);color:white;border-radius:11px}.brand-mark svg{width:25px;height:25px}.sidebar{position:fixed;inset:0 auto 0 0;width:var(--sidebar);background:white;border-right:1px solid var(--line);display:flex;flex-direction:column;z-index:30;transition:transform .2s}.sidebar>.brand{padding:27px 20px 22px}.workspace{display:flex;align-items:center;gap:10px;border:1px solid var(--line);margin:0 18px 22px;padding:11px 10px;border-radius:8px;background:#fbfcfe}.workspace-avatar{width:30px;height:30px;border-radius:6px;background:#edf3fd;color:var(--blue);display:grid;place-items:center;font-weight:700}.workspace strong{display:block;font-size:11px}.workspace small{display:block;font-size:10px;color:#9aa5b6;margin-top:4px}.online-dot{display:inline-block;width:6px;height:6px;background:#2fb48b;border-radius:50%;flex-shrink:0}.workspace>.online-dot{margin-left:auto}.sidebar nav{padding:0 13px;overflow-y:auto;scrollbar-width:thin;flex:1}.nav-caption{display:block;font-size:9px;letter-spacing:1.8px;color:#99a5b7;font-weight:700;padding:0 14px 10px;margin-top:13px}.nav-link,.nav-group summary{display:flex;align-items:center;gap:12px;font-size:12px;color:#66758c;padding:11px 13px;margin-bottom:3px;border-radius:6px;font-weight:550;min-height:40px}.nav-link svg,.nav-group svg{width:17px;height:17px;color:#8c9aaf}.nav-link:hover,.nav-group summary:hover{background:#f6f8fc;color:#224f89}.nav-link.active{background:#ebf2ff;color:var(--blue);font-weight:750}.nav-link.active svg{color:var(--blue)}.nav-group summary{cursor:pointer;list-style:none}.nav-group summary::-webkit-details-marker{display:none}.nav-group summary b{font-size:15px;margin-left:auto;color:#a5afbd;transition:transform .2s}.nav-group[open] summary{color:var(--blue)}.nav-group[open] summary b{transform:rotate(180deg)}.nav-group>div{padding:0 0 6px 35px}.nav-group>div a{display:block;font-size:11px;color:#8491a5;padding:9px 10px;border-left:1px solid #edf0f6}.nav-group>div a.active{color:var(--blue);background:#f0f5ff;font-weight:700;border-left:2px solid var(--blue)}.nav-group>div a:hover{color:var(--blue)}.sidebar-help{display:flex;align-items:center;gap:10px;margin:18px 20px;padding:12px;background:#f6f8fb;border-radius:7px;color:#536780;font-size:11px;font-weight:650}.sidebar-help svg{color:#8ca7cb}.sidebar-help small{display:block;color:#94a3b7;margin-top:5px;font-weight:400}.sidebar-bottom{display:flex;align-items:center;gap:7px;padding:15px 24px;border-top:1px solid var(--line);font-size:9px;color:#8c9bad}.sidebar-bottom small{margin-left:auto;font-size:9px}.main-shell{margin-left:var(--sidebar);transition:margin .2s}.topbar{height:77px;border-bottom:1px solid var(--line);background:white;display:flex;align-items:center;justify-content:space-between;padding:0 33px;gap:10px}.topbar>div{display:flex;align-items:center;gap:15px}.breadcrumb{font-size:11px;color:#95a1b1}.breadcrumb>span{margin:0 12px;color:#ccd3df}.breadcrumb b{font-weight:500;color:#53627a}.topbar-right{gap:15px!important}.today{font-size:11px;color:#8b98a9;margin-right:7px}.notification{position:relative}.notification i{position:absolute;top:7px;right:8px;width:5px;height:5px;background:#ef9860;border:1px solid white;border-radius:50%}.user-chip{display:flex;align-items:center;gap:9px;color:#435671;font-size:11px;border-left:1px solid var(--line);padding-left:20px}.user-chip small{display:block;font-size:9px;color:#9aa7ba;margin-top:4px}.avatar{display:flex;align-items:center;justify-content:center;width:33px;height:33px;border-radius:50%;background:#e9eff9;color:#466c9c;font-weight:700}.avatar.large{width:56px;height:56px;font-size:23px;background:#e8f0ff;color:var(--blue);border-radius:12px}main{padding:30px 33px 45px;min-height:calc(100vh - 135px);max-width:1850px;margin:auto}.page-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:25px}.page-head p{font-size:12px;color:#8592a6;margin:0}.head-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.dashboard-tabs{display:flex;align-items:center;gap:24px;border-bottom:1px solid #dde5ef;margin-bottom:24px;height:44px}.dashboard-tabs>button,.dashboard-tabs>a{display:flex;align-items:center;gap:7px;padding:0 1px 14px;height:100%;background:transparent;font-size:11px;color:#8c99ac;font-weight:550;border-bottom:2px solid transparent}.dashboard-tabs svg{width:14px;height:14px}.dashboard-tabs>button.active{color:var(--blue);border-bottom-color:var(--blue);font-weight:700}.dashboard-tabs>span{margin-left:auto;font-size:9px;color:#8a99ac;display:flex;align-items:center;gap:6px;padding-bottom:15px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:23px}.stat{background:white;border:1px solid var(--line);padding:17px 20px 19px;border-radius:9px;box-shadow:var(--shadow)}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#798aa1;font-size:11px;font-weight:550;gap:10px}.stat-icon{display:flex;align-items:center;justify-content:center;width:31px;height:31px;border-radius:7px;background:#f0f5ff;color:#4c82d0}.stat-icon svg{width:16px;height:16px}.stat>strong{display:block;font-family:Manrope,Arial,sans-serif;font-size:26px;letter-spacing:-.9px;font-weight:800;margin:10px 0 8px;white-space:nowrap}.stat>small{color:#99a4b5;font-size:10px}.stat.amber .stat-icon{color:#c99131;background:#fff7e8}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px;margin-bottom:22px}.card{background:white;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow);margin-bottom:22px;overflow:hidden}.dashboard-grid>.card{margin:0}.card-head{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:21px 22px 18px}.card-head p{margin:3px 0 0;color:#95a1b2;font-size:10px}.card-head>a{font-size:10px;font-weight:650}.card-head>svg{color:#9baac0;width:16px}.operation-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px;padding:0 22px 22px}.operation-tile{position:relative;border-radius:7px;padding:19px 20px 16px;overflow:hidden;color:white;background:#2789df;min-height:134px}.operation-tile:after{content:'';position:absolute;right:-30px;bottom:-65px;width:150px;height:150px;border-radius:50%;background:#ffffff0c;pointer-events:none}.operation-tile>span{font-size:11px;font-weight:600;color:#ffffffd9}.operation-tile>svg{position:absolute;right:20px;top:19px;width:23px;height:23px;color:#ffffffa8}.operation-tile>strong{display:block;font-family:Manrope,Arial,sans-serif;font-size:32px;font-weight:800;margin:9px 0 13px;letter-spacing:-1px}.operation-tile>small{font-size:10px;color:#ffffffbb;display:flex;align-items:center;justify-content:space-between}.operation-tile small b{color:white;font-size:17px}.operation-tile.blue{background:linear-gradient(115deg,#187be2,#348ce9)}.operation-tile.navy{background:linear-gradient(115deg,#194579,#28588b)}.operation-tile.teal{background:linear-gradient(115deg,#168d90,#39a5a4)}.operation-tile.gold{background:linear-gradient(115deg,#b08532,#c99b43)}.operation-tile:hover{filter:brightness(1.045)}.quick-actions{padding:0 22px 10px}.quick-actions>a,.attention-list>a{display:flex;align-items:center;gap:12px;padding:15px 0;border-bottom:1px solid #edf0f5;color:#455b78}.quick-actions>a:last-child,.attention-list>a:last-child{border-bottom:0}.quick-icon{width:37px;height:37px;border-radius:8px;background:#f0f5fd;display:grid;place-items:center;color:#5989d1}.quick-icon svg{width:18px;height:18px}.quick-actions strong,.attention-list strong{display:block;font-size:11px;font-weight:650}.quick-actions small,.attention-list small{display:block;font-size:10px;color:#96a3b6;margin-top:5px}.quick-actions>a>svg,.attention-list>a>svg{width:15px;height:15px;color:#b6c1cf;margin-left:auto}.activity-list{padding:0 22px 8px}.activity-list>div{display:flex;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0f5}.activity-list>div:last-child{border:0}.activity-icon{width:29px;height:29px;border-radius:50%;color:#7096cf;background:#f0f5fc;display:flex;align-items:center;justify-content:center;flex-shrink:0}.activity-icon svg{width:13px;height:13px}.activity-list strong{font-size:11px;font-weight:600;display:block}.activity-list small{display:block;color:#a0acbd;font-size:10px;margin-top:5px;max-width:700px;overflow-wrap:anywhere}.activity-list time{font-size:9px;color:#a0acbd;margin-left:auto;white-space:nowrap}.attention-list{padding:0 22px 12px}.attention-icon{width:34px;height:34px;background:#fff7e9;color:#c99c51;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.attention-icon svg{width:16px;height:16px}.badge{display:inline-flex;align-items:center;gap:5px;white-space:nowrap;padding:5px 8px;border-radius:5px;font-size:9px;font-weight:600;background:#edf3fc;color:#6984aa}.badge:before{content:'';height:4px;width:4px;background:currentColor;border-radius:50%}.badge-active,.badge-approved,.badge-paid,.badge-resolved,.badge-completed,.badge-done,.badge-posted,.badge-valid,.badge-verified,.badge-connected,.badge-published,.badge-matched{background:#edf8f3;color:#399b78}.badge-pending,.badge-reported,.badge-unpaid,.badge-scheduled,.badge-reviewed,.badge-under-review,.badge-follow-up{background:#fff6e6;color:#bf9135}.badge-rejected,.badge-terminated,.badge-sos,.badge-voided,.badge-expired,.badge-exited,.badge-suspended{background:#fff0ee;color:#c57467}.badge-on-site,.badge-investigating,.badge-in-progress{background:#eaf3ff;color:#468bdc}.badge-inactive,.badge-closed,.badge-checked-out,.badge-ended,.badge-archived{background:#f1f3f7;color:#9ca8b8}.register-stats{display:flex;align-items:center;gap:30px;font-size:11px;color:#8e9caf;margin:-4px 0 22px}.register-stats strong{color:#375579;font-size:14px;margin-right:5px}.register-stats .online-dot{margin-right:7px}.register-stats>span:last-child{margin-left:auto;font-size:10px}.toolbar{display:flex;align-items:end;gap:12px;padding:18px 22px;border-bottom:1px solid var(--line);flex-wrap:wrap}.toolbar>label{font-size:10px;min-width:140px}.toolbar>select{width:auto;min-width:150px}.toolbar input,.toolbar select{font-size:11px;padding:10px 12px;height:38px}.search-input{display:flex;align-items:center;gap:9px;border:1px solid #e3e9f2;border-radius:6px;min-width:280px;background:#fbfcfe;padding:0 11px}.search-input svg{width:15px;height:15px;color:#9facbd}.search-input input{border:0;background:transparent;padding:11px 0;box-shadow:none!important;width:100%}.record-count{margin-left:auto;font-size:10px;color:#a2adbd;align-self:center}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left;font-size:11px}th{background:#f9fbfe;color:#8c9bb0;font-size:9px;font-weight:650;text-transform:uppercase;letter-spacing:.6px;padding:14px 20px;white-space:nowrap;border-bottom:1px solid var(--line)}td{padding:14px 20px;border-bottom:1px solid #edf1f6;color:#73839a;line-height:1.6}td small{color:#9fabbc}tbody tr:hover{background:#fcfdff}tbody tr:last-child td{border-bottom:0}tfoot th{color:#375679;background:#f3f7fd}.record-link{color:#365779;font-weight:650}.record-link:hover{color:var(--blue)}.row-arrow{display:flex;width:26px;height:26px;align-items:center;justify-content:center;color:#b1c0d3;border:1px solid #e8edf5;border-radius:5px}.row-arrow svg{height:13px;width:13px}.table-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:14px 22px;font-size:10px;color:#9ba9bb}.empty{text-align:center;padding:50px;color:#96a6bb}.billing-banner{background:#edf3ff;border:1px solid #dce7fc;border-radius:8px;padding:20px 22px;margin-bottom:22px;display:flex;align-items:center;justify-content:space-between;gap:20px}.billing-banner h3{color:#3969b2;margin:0 0 5px;font-size:13px}.billing-banner p{font-size:10px;color:#7d98bd;margin:0}.billing-banner form{display:flex;gap:10px}.billing-banner input{background:white;font-size:11px}.record-summary{display:flex;align-items:center;gap:15px;border:1px solid var(--line);border-radius:9px;background:white;padding:23px;margin-bottom:22px}.record-summary h2{font-size:18px;margin:0 0 7px}.record-summary p{font-size:10px;color:#8e9db1;margin:0}.workflow-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-left:auto}.workflow-actions .btn{font-size:10px;padding:8px 11px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;padding:5px 23px 25px;margin:0}.detail-grid dt{text-transform:uppercase;font-size:9px;letter-spacing:.8px;color:#9aa8ba;margin-bottom:8px}.detail-grid dd{margin:0;font-size:12px;color:#456080;line-height:1.7;overflow-wrap:anywhere}.detail-grid dd a{color:#497bc3}.profile-tabs{display:flex;gap:9px;margin:0 0 17px;flex-wrap:wrap}.profile-tabs button.active{background:var(--blue);color:white;border-color:var(--blue)}.related-links{padding:0 22px 20px;display:flex;gap:10px;flex-wrap:wrap}.audit-detail{font-size:10px;max-width:450px;word-break:break-word}.report-nav{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:20px}.report-nav a{padding:9px 13px;font-size:11px;color:#7d8ea5;background:white;border:1px solid var(--line);border-radius:6px}.report-nav a.active{background:var(--blue);color:white;border-color:var(--blue)}.report-total{padding:25px;text-align:right;font-size:15px}.report-total strong{margin-left:20px}.financial-summary{display:flex;gap:24px;flex-wrap:wrap;padding:15px 24px 30px}.financial-summary>div{flex:1;min-width:180px;padding:15px 18px;background:#f5f8fd;border-radius:7px}.financial-summary span{display:block;font-size:10px;color:#8a9bb2}.financial-summary strong{display:block;font-size:20px;margin-top:10px;color:#30587f}.usage-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px;padding:22px}.usage-card{border:1px solid var(--line);border-radius:7px;padding:20px}.usage-card h3{font-size:13px;margin-bottom:6px}.usage-card h3 b{float:right;background:#154786;color:white;padding:2px 6px;font-size:11px}.usage-card p{font-size:10px;color:#96a3b6}.usage-card>div{display:flex;justify-content:space-between;font-size:10px;color:#8394aa;padding:5px 0}.usage-card .btn{margin-top:13px}.flash{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;background:#eaf7f0;border:1px solid #d7edde;color:#358366;border-radius:7px;font-size:12px;margin-bottom:20px;line-height:1.7;overflow-wrap:anywhere}.flash button{background:transparent;color:inherit;font-size:19px;margin-left:15px}.flash.error{background:#fff1ee;border-color:#f6d9d2;color:#b46958}.flash.info{background:#edf4ff;border-color:#d9e7fc;color:#5a7faa}.readonly-banner{background:#edf3ff;border:1px solid #dce8ff;color:#6689ba;display:flex;align-items:center;gap:10px;padding:11px 15px;font-size:10px;border-radius:7px;margin-bottom:20px}.readonly-banner svg{height:15px;width:15px}label{display:block;font-size:11px;color:#677c97;font-weight:550}input,select,textarea{display:block;width:100%;border:1px solid #dfe6ef;border-radius:6px;padding:11px 12px;margin-top:7px;color:#446080;background:#fcfdff;min-width:0}input::placeholder,textarea::placeholder{color:#adbacb}input:focus,select:focus,textarea:focus{border-color:#70a3f0;box-shadow:0 0 0 3px #eaf1fd;outline:none}select{cursor:pointer}.toolbar>input,.toolbar>select{margin-top:0}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.form-grid label small{display:block;margin-top:6px;font-size:10px;color:#93a3b7}.span-2{grid-column:span 2}.required{color:#bc7663}.form-footer{display:flex;justify-content:flex-end;margin-top:25px;padding-top:18px;border-top:1px solid var(--line)}.form-note{font-size:11px;color:#96a4b8;margin-top:20px}dialog{border:1px solid var(--line);border-radius:12px;width:720px;max-width:95vw;max-height:90vh;padding:0;box-shadow:0 20px 100px #17305230;color:var(--ink)}dialog::backdrop{background:#162c4a70;backdrop-filter:blur(3px)}.modal-top{display:flex;align-items:center;justify-content:space-between;padding:23px 25px;border-bottom:1px solid var(--line);position:sticky;top:0;background:white;z-index:1}.modal-top h2{font-size:20px;margin:7px 0 0}.record-form{padding:24px 25px}.padded-form{padding:0 24px 24px}.padded-form>label{margin-bottom:17px}.padded-form .btn{margin-top:18px}.two-column{display:grid;grid-template-columns:1.2fr 1fr;gap:22px;align-items:start}.checkbox{display:flex;align-items:center;gap:8px;font-size:10px}.checkbox input{width:14px;height:14px;margin:0;padding:0;box-shadow:none}.permission-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;max-height:230px;overflow:auto;border:1px solid var(--line);padding:15px;border-radius:6px}.guide-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.guide-card{padding:25px;margin:0}.guide-card>span{display:block;color:#99b7e6;font-size:28px;font-family:Manrope;font-weight:800;margin-bottom:16px}.guide-card h2{font-size:17px}.guide-card p{font-size:12px;color:#889ab2;margin:12px 0 0}.invoice-sheet{padding:35px}.invoice-header{display:flex;align-items:start;justify-content:space-between;gap:30px;padding-bottom:25px;border-bottom:1px solid var(--line);margin-bottom:25px}.invoice-header p{color:#93a2b5;font-size:11px;margin-top:10px}.invoice-header>div:last-child{text-align:right}.align-right{text-align:right}.invoice-sheet>h2{margin-top:25px}.payslip-body{padding:40px 20px}.print-actions{max-width:850px;margin:0 auto 20px;display:flex;justify-content:space-between}.payslip-sheet{max-width:850px;margin:auto;background:white;padding:45px;border:1px solid var(--line);border-radius:10px}.payslip-net{display:flex;justify-content:space-between;padding:23px;background:#edf4ff;color:#3263ab;margin:25px 0;border-radius:7px}.payslip-net strong{font-size:25px}.payslip-sheet>small{color:#a1afc0}.payslip-sheet .detail-grid{padding:0 0 25px}.payslip-sheet table{margin-bottom:15px}footer{border-top:1px solid var(--line);font-size:9px;color:#a0adbd;display:flex;justify-content:space-between;padding:18px 34px;gap:15px}footer>span{display:flex;gap:9px;align-items:center}.sidebar-collapsed .sidebar{transform:translateX(-100%)}.sidebar-collapsed .main-shell{margin-left:0}[hidden]{display:none!important}.login-layout{display:grid;grid-template-columns:1fr 1fr;min-height:100vh}.login-brand{display:flex;flex-direction:column;justify-content:space-between;padding:50px 65px;background:linear-gradient(145deg,#122e54,#174e89);color:white;position:relative;overflow:hidden}.login-brand:after{content:'';width:600px;height:600px;border:1px solid #ffffff0b;border-radius:50%;position:absolute;right:-280px;bottom:-200px;box-shadow:0 0 0 75px #ffffff03,0 0 0 150px #ffffff03;pointer-events:none}.login-brand .brand{color:white;z-index:1}.login-brand .brand small{color:#8fa9c9}.login-brand .brand-mark{background:#ffffff15;border:1px solid #ffffff20}.login-brand .eyebrow{color:#73a4d9;letter-spacing:2.5px}.login-brand h1{font-size:53px;line-height:1.2;letter-spacing:-2px;margin:20px 0 25px}.login-brand p{font-size:15px;line-height:1.85;color:#a5bdd9;max-width:390px}.login-brand>small{color:#7f9bbb;font-size:11px}.login-features{display:flex;flex-direction:column;gap:21px;margin-top:40px}.login-features>span{display:flex;align-items:center;gap:14px;color:#c5d6ec;font-size:13px}.login-features svg{color:#6d9acf;width:20px;height:20px}.login-form{display:flex;justify-content:center;align-items:center;padding:50px;background:#fbfcfe}.login-card{width:380px}.login-card h2{font-size:25px;letter-spacing:-.8px;margin:12px 0}.login-card>.muted{font-size:12px;margin-bottom:32px}.login-card form>label{margin:0 0 20px;font-size:12px}.login-card input{background:white;padding:13px}.login-card .wide{margin-top:6px;justify-content:space-between;padding:13px 18px}.demo-box{border:1px solid var(--line);background:white;border-radius:9px;padding:18px;margin-top:30px}.demo-box>div{display:flex;justify-content:space-between;align-items:center;font-size:12px}.demo-box>p{color:#9ba8ba;font-size:10px;margin:10px 0 15px}.demo-account{display:flex;justify-content:space-between;align-items:center;padding:13px 0;width:100%;background:white;text-align:left;border-top:1px solid #edf0f5;color:#536d90}.demo-account strong{font-size:11px}.demo-account small{display:block;font-size:9px;color:#a0acbc;margin-top:5px}.demo-account b{color:#5486ce;font-size:10px}.login-foot{font-size:9px;color:#a5b0bf;text-align:center;margin-top:20px}
@media(min-width:1550px){main{padding:35px 45px}.operation-tile{min-height:157px}.operation-tile>strong{font-size:39px}.stat>strong{font-size:30px}.dashboard-grid{grid-template-columns:1.7fr 1fr}.topbar{padding:0 45px}}
@media(max-width:1200px){:root{--sidebar:230px}.sidebar>.brand{font-size:18px}.sidebar>.brand small{font-size:7px}.topbar{padding:0 22px}.today{display:none}main{padding:26px 22px}.dashboard-grid{grid-template-columns:1.4fr 1fr;gap:15px}.stat{padding:15px}.stat>strong{font-size:21px}.operation-tile{padding:16px}.quick-actions,.attention-list,.activity-list{padding-left:17px;padding-right:17px}.page-head{align-items:start}.head-actions{justify-content:end}.card-head{padding:20px 17px}.operation-grid{padding:0 17px 17px}.dashboard-tabs{gap:19px}.dashboard-tabs>span{display:none}.detail-grid{grid-template-columns:1fr 1fr}.login-brand{padding:45px}.login-brand h1{font-size:43px}.login-form{padding:35px}}
@media(max-width:980px){.stats-grid{grid-template-columns:1fr 1fr}.dashboard-grid{grid-template-columns:1fr}.page-head{flex-direction:column;gap:15px}.head-actions{justify-content:start}.breadcrumb{display:none}.billing-banner{align-items:start;flex-direction:column}.two-column{grid-template-columns:1fr}.usage-grid{grid-template-columns:1fr 1fr}.guide-grid{grid-template-columns:1fr}.record-summary{flex-wrap:wrap}.workflow-actions{margin-left:0;width:100%}.topbar-right{gap:8px!important}.user-chip{padding-left:12px}.login-brand h1{font-size:36px}.login-brand{padding:35px}.login-form{padding:25px}.login-card h2{font-size:22px}.register-stats>span:last-child{display:none}}
@media(max-width:740px){:root{--sidebar:258px}.sidebar{transform:translateX(-100%);box-shadow:8px 0 25px #12336315}.main-shell{margin-left:0}.sidebar-collapsed .sidebar{transform:translateX(0)}.topbar{height:64px;padding:0 17px}.user-chip>span:last-child{display:none}.user-chip{border:0;padding:0}main{padding:22px 16px}h1{font-size:25px}.stats-grid{gap:11px}.stat{padding:15px}.stat>strong{font-size:22px}.stat small{font-size:9px}.stat-top{font-size:10px}.stat-icon{width:26px;height:26px}.dashboard-tabs{gap:15px;overflow:auto;white-space:nowrap}.dashboard-tabs button,.dashboard-tabs a{font-size:10px}.dashboard-tabs a:last-of-type{display:none}.operation-grid{gap:10px}.operation-tile{padding:15px;min-height:135px}.operation-tile>span{font-size:10px}.operation-tile>svg{right:14px;top:17px;width:18px}.operation-tile>strong{font-size:29px}.operation-tile>small{font-size:9px}.toolbar{padding:15px;gap:10px}.toolbar .search-input{width:100%;min-width:0}.toolbar>select{min-width:100px;flex:1}.record-count{display:none}td,th{padding:13px 15px}.detail-grid{gap:20px;grid-template-columns:1fr 1fr;padding:5px 18px 25px}.billing-banner{padding:18px}.billing-banner form{width:100%;flex-wrap:wrap}.billing-banner .btn{font-size:10px}.usage-grid{grid-template-columns:1fr}.form-grid{gap:15px}.record-form{padding:20px}.form-grid label{font-size:10px}.form-grid input,.form-grid select{font-size:11px;padding:10px}.record-summary h2{font-size:15px}.record-summary .badge{margin-left:auto}.invoice-header{flex-direction:column}.invoice-header>div:last-child{text-align:left}.invoice-sheet{padding:22px}.login-layout{display:block}.login-brand{min-height:auto;padding:27px}.login-brand>div,.login-brand>small{display:none}.login-form{padding:40px 24px;min-height:calc(100vh - 96px)}.login-card{max-width:420px;width:100%}.login-card h2{font-size:26px}footer{padding:18px 16px}footer>span{display:none}.payslip-sheet{padding:25px}.payslip-body{padding:25px 12px}}
@media print{body{background:white!important;font-size:12px}.sidebar,.topbar,footer,.page-head .head-actions,.workflow-actions,.dashboard-tabs,.toolbar,.profile-tabs,.billing-banner,.readonly-banner,.flash,.print-actions,dialog{display:none!important}.main-shell{margin:0}main{padding:0}.card{box-shadow:none;border:1px solid #ddd;break-inside:avoid}.payslip-body{padding:0}.payslip-sheet{border:0;max-width:none;box-shadow:none}.btn{display:none}a{color:inherit!important}.invoice-sheet{border:0}th,td{padding:10px}.detail-grid{font-size:10px}.page-head{margin-bottom:15px}.table-wrap{overflow:visible}}

#patrol-map{height:430px;z-index:1}.qr-card{display:flex;flex-direction:column;align-items:center;gap:18px;padding:5px 24px 30px}.qr-card img{max-width:180px}.bulk-issue>summary{padding:20px 23px;cursor:pointer;font-weight:650;font-size:12px}.bulk-issue>summary span{font-size:10px;color:#94a4b8;margin-left:20px}

@media(max-width:740px){.stat>strong{white-space:normal;overflow-wrap:anywhere}.stats-grid .stat:nth-child(3)>strong{font-size:19px}.bulk-issue>summary span{display:block;margin:8px 0 0}.table-footer span{display:none}#patrol-map{height:320px}}

.inline-form{display:inline-flex;margin:0}.row-actions{display:flex;align-items:center;gap:6px;white-space:nowrap}.row-actions .btn{font-size:10px;padding:5px 9px;min-height:28px}.bulk-toolbar{display:flex;align-items:center;justify-content:space-between;padding:11px 22px;background:#fcfdff;border-bottom:1px solid var(--line);font-size:10px;color:#8b9bb1}.select-record,#select-all-records{width:15px;height:15px;padding:0;margin:0;box-shadow:none}.btn:disabled{opacity:.45;cursor:not-allowed}.crud-notice{border:1px solid #e1e9f5;padding:13px 17px;margin-bottom:18px;border-radius:7px;background:#f7faff;font-size:11px;color:#758aa5;line-height:1.7}@media print{.row-actions,.bulk-toolbar,.select-record,#select-all-records,.crud-notice,.inline-form{display:none!important}}

.related-add{padding:0 22px 15px;display:flex;justify-content:flex-end}@media print{.related-add{display:none}}

/* Keep metric values and supporting details inside cards at every viewport/zoom. */
.card,.dashboard-grid>*,.stats-grid>*{min-width:0}
.stat{container-type:inline-size;min-width:0}
.stat-top>span:first-child{min-width:0;overflow-wrap:anywhere;line-height:1.5}
.stat-icon{flex-shrink:0}
.stat>strong{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
.stat>small{display:block;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.6}
.stat.stat-money>strong{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:.25em;row-gap:0;font-size:clamp(16px,9.5cqi,30px);letter-spacing:-.5px}
.stat-currency{font-size:.65em;letter-spacing:0;flex-shrink:0}
.stat-amount{min-width:0;max-width:100%;overflow-wrap:anywhere}
.financial-summary>div{min-width:0;flex-basis:180px}
.financial-summary strong,.usage-card h3{overflow-wrap:anywhere}
.quick-actions>a>span:nth-child(2),.attention-list>a>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
