:root{--primary:#1a3e74;--green:#2c9a6e;--text:#202027;--muted:#72727e;--border:#e5e5e9;--radius:10px;font-family:"Instrument Sans",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;color:var(--text);background:#fefffe;font-size:14px}*{box-sizing:border-box}body{margin:0}a{color:var(--primary);text-decoration:none}button,input,select,textarea{font:inherit}button,.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--border);border-radius:6px;background:white;padding:9px 14px;color:var(--text);cursor:pointer;white-space:nowrap}button:hover,.button:hover{background:#f1f4f8}button:disabled{opacity:.4;cursor:default}.primary{background:var(--primary);color:white;border-color:var(--primary)}.primary:hover{background:#28558e}.danger{color:#c52c49}input,select,textarea{border:1px solid var(--border);border-radius:6px;background:white;color:inherit;padding:9px 11px;min-width:0;width:100%}input[type=checkbox]{width:19px;height:19px;accent-color:var(--primary)}input[type=date]{width:auto}textarea{min-height:90px;resize:vertical}button:focus-visible,a:focus-visible,summary:focus-visible,input:focus,select:focus,textarea:focus{outline:2px solid #2e92c9;outline-offset:3px}h1{font-size:28px;line-height:1.2;color:var(--primary);margin:0}h2{font-size:19px;margin:0 0 20px}h3{font-size:14px;margin:0 0 18px;font-weight:500;color:var(--muted)}p{line-height:1.6}small,.muted{color:var(--muted)}.row{display:flex;align-items:center;gap:12px}.between{display:flex;justify-content:space-between;align-items:center;gap:16px}.wrap{flex-wrap:wrap}.stack{display:grid;gap:22px}.skip{position:fixed;top:-60px;background:white;z-index:100;padding:12px}.skip:focus{top:10px}#sidebar{position:fixed;inset:0 auto 0 0;width:256px;background:linear-gradient(135deg,#1a3e74 2%,#2c9a6e 20%,#1a3e74 70%);color:white;overflow:auto;padding:10px 16px;z-index:20;transition:transform .2s}.brand{display:flex;gap:10px;align-items:center;padding:6px 0 24px;color:white}.brand img{width:34px;height:34px;object-fit:contain;background:#ffffff22;border-radius:7px}.brand strong{display:block;font-weight:500}.brand small{display:block;color:#ffffffc0;font-size:11px;max-width:174px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-label{font-size:11px;letter-spacing:1px;color:#ffffff99;margin:12px 8px}.nav-link,#sidebar summary{display:flex;align-items:center;gap:10px;padding:9px 8px;color:white;border:1px solid transparent;border-radius:7px;font-size:14px;cursor:pointer;list-style:none}.nav-link:hover,#sidebar summary:hover{background:#ffffff18}.nav-icon{width:19px;text-align:center;flex-shrink:0}.nav-link.active{background:#ffffff26;border-color:#ffffff33;font-weight:600;box-shadow:0 4px 12px #00000015}#sidebar details{margin:9px 0}#sidebar summary:after{content:'›';margin-left:auto}#sidebar details[open]>summary:after{transform:rotate(90deg)}#sidebar details .nav-link{margin-left:18px;border-left:1px solid #ffffff30;font-size:12px;padding:8px}.sidebar-end{margin-top:26px;border-top:1px solid #ffffff20;padding-top:12px}#shell{margin-left:256px;min-height:100vh;display:flex;flex-direction:column;transition:margin .2s}header{height:64px;display:flex;align-items:center;justify-content:space-between;padding:0 20px;gap:12px}#breadcrumb{font-size:13px}.divider{height:17px;width:1px;background:var(--border)}.icon-button{border:0;padding:7px;font-size:18px}.demo-label{font-size:11px;color:var(--muted);background:#f5f5f7;border-radius:4px;padding:4px 8px}.account{position:relative}.account summary{list-style:none;border:1px solid var(--border);padding:7px 10px;border-radius:6px;cursor:pointer}.account>div{position:absolute;right:0;top:40px;background:white;box-shadow:0 8px 30px #0002;border:1px solid var(--border);border-radius:8px;width:220px;z-index:30;padding:16px;display:grid;gap:12px}main{padding:20px;flex:1;min-width:0}.page-heading{margin-bottom:24px}.card{border:1px solid var(--border);border-radius:12px;background:white;padding:24px;box-shadow:0 1px 3px #00000009;min-width:0}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:20px 0}.stat{padding:18px 24px;border-radius:12px;color:white;box-shadow:0 4px 8px #0002;min-width:0}.stat .value{font-size:30px;font-weight:700;margin-top:15px;white-space:nowrap}.stat small{color:#ffffffc9;font-size:12px}.stat-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:#ffffff30;font-size:20px}.change{border-radius:6px;background:#ffffff30;padding:5px 7px;font-size:11px}.emerald{background:linear-gradient(135deg,#065f46,#15803d)}.sky{background:#0369a1}.orange{background:linear-gradient(135deg,#fbbf24,#ea580c)}.rose{background:linear-gradient(135deg,#ec4899,#be123c)}.dashboard-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}.traffic{background:linear-gradient(135deg,#f0f9ff,#eef2ff,#fdf4ff)}.orders{background:linear-gradient(135deg,#fdf4ff,#fdf2f8,#fff1f2)}.weekly{background:linear-gradient(135deg,#f5f3ff,#eff6ff,#ecfeff)}.chart{width:100%;height:192px;display:block;margin:16px 0}.legend{display:flex;gap:12px;font-size:11px;color:var(--muted)}.dot{display:inline-block;width:8px;height:8px;border-radius:50%;background:#10b981;margin-right:6px}.donut{width:176px;height:176px;border-radius:50%;background:conic-gradient(#10b981 0 70.6%,#0ea5e9 70.6% 92.1%,#f43f5e 92.1% 97%,#f59e0b 97%);margin:20px auto;position:relative}.donut:after{content:'';position:absolute;inset:28px;border-radius:50%;background:#fdf2f8}.order-legend{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:11px}.bars{height:176px;display:flex;align-items:flex-end;gap:8px}.bars>div{flex:1;background:linear-gradient(to top,#22c55eb3,#3b82f6cc);border-radius:5px 5px 0 0}.weeks{display:flex;justify-content:space-between;font-size:11px;margin-top:12px;color:var(--muted)}.activity{padding:0;list-style:none}.activity li{display:flex;gap:8px;margin:16px 0;line-height:1.5}.activity small{display:block;font-size:11px}.activity .dot{flex-shrink:0;margin-top:7px}.table-scroll{overflow:auto}table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}th{font-weight:500;color:var(--muted);white-space:nowrap;background:#fafafa}td,th{padding:13px 12px;border-bottom:1px solid var(--border)}td{white-space:nowrap}tbody tr:hover{background:#f8fafc}.table-card{padding:8px 18px 18px}.avatar{display:inline-grid;place-items:center;background:#f0f0f2;border-radius:50%;width:28px;height:28px;font-size:11px;font-weight:600;margin-right:8px}.progress{height:8px;border-radius:6px;background:#f0f0f2;overflow:hidden;margin:7px 0 16px}.progress>span{display:block;height:100%;background:linear-gradient(90deg,#0ea5e9,#10b981);border-radius:6px}.badge{font-size:11px;display:inline-block;border-radius:5px;padding:4px 7px;background:#e5f7ed;color:#157343}.badge.off{background:#ffe9ed;color:#bd3453}.badge.warning{background:#fff3d3;color:#946815}footer{border-top:1px solid var(--border);padding:12px 20px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted);font-size:12px}footer img{width:144px;max-height:40px;object-fit:contain}.toolbar{display:flex;gap:10px;margin:20px 0;align-items:center;flex-wrap:wrap}.search{max-width:360px}.filters{padding:20px;background:#f9fafb;border:1px solid var(--border);border-radius:9px;margin-bottom:20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 36px}.field{display:flex;align-items:center;gap:15px;font-size:13px}.field>span{width:36%;flex-shrink:0}.field>input,.field>select,.field>textarea{flex:1}.field.check{justify-content:space-between}.field.check>span{width:auto}.field.check input{flex:none}.required{color:#cc3444}.actions{display:flex;justify-content:flex-end;gap:12px;margin-top:28px}.tabs{display:flex;gap:4px;overflow:auto;margin-bottom:24px;padding:5px;border-radius:8px;background:#f5f5f6}.tabs button{border:0;background:transparent;flex:1;color:var(--muted)}.tabs button.selected{color:var(--primary);background:white;box-shadow:0 1px 4px #0001;font-weight:600}.pagination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;font-size:12px}.pagination select{width:75px}.detail-grid{display:grid;grid-template-columns:2fr 1fr;gap:24px}.facts{display:grid;grid-template-columns:1fr 1fr;gap:20px}.facts dt{color:var(--muted);font-size:12px;margin-bottom:6px}.facts dd{margin:0;overflow-wrap:anywhere}.empty{text-align:center;padding:70px 24px}.empty h1{font-size:44px;color:#242432}.rocket{width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,#3b82f6,#9333ea);display:grid;place-items:center;font-size:45px;margin:0 auto 26px;color:white}.coming-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:660px;margin:30px auto}.login-page{min-height:100vh;background:url('images/login_bg.png') center/100% 100%;display:grid;place-items:center;padding:20px}.login-card{width:min(450px,100%);padding:28px}.login-card .field{display:grid;gap:8px;margin:22px 0}.login-card .field>span{width:auto}.login-brand{display:flex;align-items:center;gap:16px}.login-brand img{width:88px;height:88px;object-fit:contain}.login-brand h1{color:var(--text);font-size:24px}.login-card button{width:100%}.login-card .powered{text-align:center;margin-top:22px;color:var(--muted)}body.login #sidebar,body.login header,body.login footer{display:none}body.login #shell{margin:0}body.login main{padding:0}body.collapsed #sidebar{transform:translateX(-100%)}body.collapsed #shell{margin-left:0}#toast{position:fixed;bottom:24px;right:24px;z-index:100;background:#163b31;color:white;padding:14px 20px;border-radius:8px;box-shadow:0 6px 30px #0003;max-width:400px;display:none}dialog{border:1px solid var(--border);border-radius:12px;width:min(800px,calc(100% - 32px));padding:28px;color:var(--text);max-height:88vh}dialog::backdrop{background:#10233b60;backdrop-filter:blur(2px)}dialog .form-grid{margin-top:24px}.directory{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.directory a{display:block}.directory small{display:block;margin-top:8px}.source-note{font-size:12px;color:var(--muted);padding:12px 0}.report-bars{display:flex;align-items:flex-end;gap:16px;height:220px;margin:30px 0}.report-bars div{flex:1;background:linear-gradient(#2c9a6e,#1a3e74);color:white;text-align:center;padding-top:8px;border-radius:5px 5px 0 0}.report-bars span{font-size:11px}.hidden,[hidden]{display:none!important}@media(min-width:1500px){.field>span{width:30%}}@media(max-width:1150px){.stats{grid-template-columns:repeat(2,1fr)}.form-grid{gap:24px}.field{flex-direction:column;align-items:stretch;gap:8px}.field>span{width:auto}.field.check{flex-direction:row;align-items:center}.directory{grid-template-columns:repeat(2,1fr)}}@media(max-width:900px){#sidebar{width:240px}#shell{margin-left:240px}.dashboard-grid,.detail-grid{grid-template-columns:1fr}.directory{grid-template-columns:1fr}footer{flex-wrap:wrap}.stat{padding:18px}.form-grid{grid-template-columns:1fr}}@media(max-width:640px){#sidebar{transform:translateX(-100%);box-shadow:8px 0 25px #0002}#shell{margin-left:0}body.mobile-open #sidebar{transform:translateX(0)}header{padding:0 12px}main{padding:16px}.stats{gap:12px}.stat{padding:16px}.stat .value{font-size:24px}.stat .between{gap:6px}.stat-icon{width:28px;height:28px}.change{font-size:10px}.page-heading{align-items:flex-start;flex-direction:column}.date-range{flex-wrap:wrap}.card{padding:20px}.table-card{padding:8px 12px 16px}.facts{grid-template-columns:1fr}.coming-cards{grid-template-columns:1fr}.pagination{flex-wrap:wrap}.demo-label{display:none}footer img{width:100px}footer{font-size:10px}.login-card{padding:24px}.empty h1{font-size:34px}}
@media(max-width:640px){.stat>.between{flex-wrap:wrap}.stat .change{white-space:nowrap}.stat .value{font-size:23px}.stat .stat-icon{display:none}.date-range{gap:6px}.date-range input{max-width:145px}body{overflow-x:hidden}}
.form-section{margin:24px 0;scroll-margin-top:20px}.form-result{color:#176443;margin-top:20px}.tabs a{flex:1}.rocket svg{width:52px;height:52px}@media(max-width:640px){body:not(.mobile-open) #sidebar{visibility:hidden}.tabs{flex-wrap:wrap}.tabs a{flex:0 0 auto}}
