:root{--ink:#17273b;--muted:#8090a2;--bg:#f5f7fb;--line:#e8edf3;--line2:#d9e2ed;--primary:#2563eb;--primary2:#164dd1;--soft:#edf4ff;--teal:#159b91;--purple:#7663d8;--orange:#c3832e;--surface:#fff;--radius:15px;--shadow:0 7px 28px rgba(29,53,91,.035)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);font:14px/1.52 Inter,-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;color:var(--ink)}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}input,select,textarea{outline:none}::selection{background:#dce9ff}
.app{display:flex;min-height:100vh}.sidebar{width:247px;position:fixed;top:0;bottom:0;left:0;background:#fff;border-right:1px solid var(--line);padding:28px 15px 16px;display:flex;flex-direction:column;z-index:5}.brand{padding:1px 14px 27px;display:flex;align-items:center;gap:10px}.brandmark{width:35px;height:35px;background:linear-gradient(137deg,#1665ef,#17b3bd);border-radius:11px;display:grid;place-items:center;box-shadow:0 7px 17px #2563eb33;color:#fff;font-size:16px;font-weight:900;letter-spacing:-3px;padding-right:3px}.brand-name{font-size:18px;font-weight:810;letter-spacing:-.65px;line-height:1.1}.brand-name small{display:block;font-size:9px;font-weight:760;color:#8b9aab;letter-spacing:2.2px;margin-top:6px}.nav-heading{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#abb6c4;font-weight:800;padding:14px 15px 8px}.nav-item{border:0;background:none;width:100%;display:flex;gap:13px;align-items:center;padding:12px 13px;color:#617289;text-align:left;border-radius:10px;margin:2px 0;font-weight:590;transition:.16s}.nav-item:hover{background:#f6f8fc;color:#2b4e86}.nav-item.active{color:#185ae8;background:#edf4ff;font-weight:760}.nav-item svg{height:18px;width:18px;stroke-width:1.9;flex-shrink:0}.nav-item .nav-count{margin-left:auto;font-size:11px;background:#eef1f7;padding:1px 7px;border-radius:7px;color:#7d8b9c}.sidebar-bottom{margin-top:auto;padding:13px 7px 2px}.helpbox{background:#f4f7fc;border:1px solid #eaf0f8;padding:14px 12px;border-radius:11px}.helpbox b{font-size:12px}.helpbox p{margin:5px 0 0;font-size:11px;color:#8b9aab;line-height:1.6}.main{margin-left:247px;min-width:0;flex:1}.topbar{height:73px;display:flex;align-items:center;justify-content:space-between;padding:0 38px;border-bottom:1px solid var(--line);background:rgba(255,255,255,.93);position:sticky;top:0;z-index:4;backdrop-filter:blur(12px)}.crumbs{display:flex;align-items:center;gap:10px;font-size:13px;color:#8393a7}.crumbs strong{color:#233a57;font-weight:730}.top-right{display:flex;align-items:center;gap:20px}.demo-pill{font-size:10px;letter-spacing:.8px;font-weight:800;color:#8c6d2e;border:1px solid #fae8c2;background:#fff8ec;border-radius:50px;padding:4px 10px}.role-box{display:flex;align-items:center;gap:10px;font-size:12px;color:#8896a6}.role-box select{background:#f7f9fd;border:1px solid #e7edf4;border-radius:9px;padding:8px 10px;font-weight:690;color:#435875;max-width:160px}.avatar{width:34px;height:34px;display:grid;place-items:center;background:#e3edff;color:#2860c8;font-weight:850;border-radius:11px}.content{max-width:1480px;margin:0 auto;padding:31px 39px 68px}.page-title{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin:0 0 25px}.page-title h1{font-size:26px;font-weight:790;letter-spacing:-.85px;margin:0 0 5px}.subtitle{color:#8997a9;font-size:13px;margin:0}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.btn{border:1px solid var(--line2);background:#fff;color:#334861;padding:10px 15px;display:inline-flex;align-items:center;gap:8px;border-radius:9px;font-weight:680;box-shadow:0 1px 2px #243b520a;transition:.15s;white-space:nowrap}.btn svg{width:16px;height:16px}.btn:hover{border-color:#bdcde0;transform:translateY(-1px)}.btn.primary{background:var(--primary);color:white;border-color:var(--primary);box-shadow:0 6px 15px #2563eb2b}.btn.primary:hover{background:var(--primary2)}.btn.ghost{border-color:transparent;box-shadow:none;background:transparent}.btn.tiny{font-size:12px;padding:6px 9px}.btn.danger{color:#bb4552}.page-caption{font-size:12px;color:#97a4b5;margin-top:7px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow)}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:24px}.stat{min-height:132px;padding:20px 19px}.stat-top{display:flex;align-items:center;justify-content:space-between;color:#8493a6;font-size:12px;font-weight:580}.stat-icon{width:35px;height:35px;border-radius:11px;display:grid;place-items:center;background:#edf4ff;color:#2162da}.stat-icon svg{height:19px;width:19px}.stat-icon.amber{background:#fff4df;color:#bd8723}.stat-icon.green{background:#e9f8f2;color:#2aa179}.stat-icon.purple{background:#f1edff;color:#8466d6}.stat-number{font-size:32px;font-weight:800;line-height:1.15;letter-spacing:-1.4px;margin-top:9px}.stat-foot{font-size:11px;color:#99a6b5;margin-top:5px}.two-col{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:19px}.card-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 23px;border-bottom:1px solid #eef1f5}.card-header h2{font-size:15px;letter-spacing:-.2px;margin:0;font-weight:780}.card-header p{font-size:12px;color:#9aa6b5;margin:4px 0 0}.card-body{padding:19px 23px}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;white-space:nowrap}th{font-size:10px;letter-spacing:.9px;text-align:left;text-transform:uppercase;color:#9cabbc;background:#f9fbfd;font-weight:790;padding:12px 17px}td{border-bottom:1px solid #eff2f6;padding:13px 17px;font-size:12px;color:#5f7188}tr:last-child td{border-bottom:none}.cell-main{font-weight:760;color:#2c415a}.cell-sub{font-size:11px;color:#9aa8b9;margin-top:2px}.badge-status{display:inline-flex;gap:5px;align-items:center;border-radius:25px;padding:4px 9px;font-size:10px;font-weight:770}.badge-status:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor}.badge-status.done{background:#e6f8ef;color:#24966a}.badge-status.review{background:#fff3de;color:#ba8227}.badge-status.draft{background:#edf3ff;color:#5e84ca}.badge-status.sync{background:#f1edff;color:#7965c3}.section-small{font-size:10px;color:#98a6b5;letter-spacing:1.4px;text-transform:uppercase;font-weight:790}.quick{display:flex;align-items:center;gap:12px;border:1px solid #edf1f6;border-radius:10px;padding:15px 13px;margin-bottom:11px;text-align:left;background:#fff;width:100%;transition:.15s}.quick:hover{border-color:#cadbf5;background:#f9fbff}.quick .circle{width:36px;height:36px;border-radius:9px;background:#edf4ff;display:grid;place-items:center;color:#3569d6;flex-shrink:0}.quick .circle svg{width:18px;height:18px}.quick strong{display:block;font-size:12px}.quick small{display:block;color:#a0acba;font-size:11px;margin-top:2px}.quick>svg{margin-left:auto;width:15px;color:#9aacc0}.notice{display:flex;gap:10px;border:1px solid #e0eafb;background:#f6f9ff;border-radius:11px;padding:12px 14px;color:#617998;font-size:12px}.notice svg{flex-shrink:0;width:16px;height:16px;color:#3470e6}.mini-bars{display:flex;align-items:flex-end;height:116px;gap:10px;padding:12px 2px 0}.mini-bar{flex:1;border-radius:5px 5px 3px 3px;background:#d7e6ff;position:relative}.mini-bar:last-child{background:#316be7}.mini-bar span{position:absolute;bottom:-22px;text-align:center;width:100%;font-size:10px;color:#a0abbb}
.form-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:20px;align-items:start}.form-card{margin-bottom:17px}.form-section-head{display:flex;align-items:center;gap:12px;padding:19px 23px 16px;border-bottom:1px solid #eef2f8}.section-n{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;background:#eef4ff;color:#2162d9;font-size:12px;font-weight:800}.form-section-head b{font-size:14px}.form-section-head small{display:block;color:#9aa8ba;font-size:11px;margin-top:2px}.form-inner{padding:20px 23px}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.span2{grid-column:span 2}.field{min-width:0}.field label{font-size:11px;color:#657890;font-weight:730;display:block;margin:0 0 7px}.required{color:#e36c73}.field input,.field textarea,.field select,.search-input,.compact-input{width:100%;background:#fff;border:1px solid #dfe7f0;border-radius:9px;padding:10px 12px;color:#2a415a;min-height:42px;transition:.15s}.field input:focus,.field textarea:focus,.field select:focus,.search-input:focus,.compact-input:focus{border-color:#72a1ec;box-shadow:0 0 0 3px #eaf2ff}.field textarea{resize:vertical;min-height:79px}.field input:disabled,.field textarea:disabled,.field select:disabled{background:#f7f9fc;color:#8998aa}.field .helper{font-size:10px;color:#a0acba;margin-top:6px}.readonly{min-height:42px;background:#f8fafc;border:1px solid #edf0f5;border-radius:9px;padding:10px 12px;color:#66788d}.chips{display:flex;flex-wrap:wrap;gap:7px}.chip{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-size:11px;color:#65788d;border:1px solid #e1e8f1;background:#fff;padding:8px 11px;border-radius:8px;user-select:none}.chip:has(input:checked){border-color:#85adef;background:#eef5ff;color:#205cc2}.chip input{accent-color:#2962d8;margin:0}.line-title{font-size:11px;text-transform:uppercase;letter-spacing:1px;font-weight:800;color:#9eabba;margin:22px 0 12px}.equip-row{background:#fafbfe;border:1px solid #e9eef5;border-radius:11px;padding:13px;margin:11px 0}.equip-row-top{display:flex;justify-content:space-between;align-items:center;padding-bottom:11px;color:#526882;font-size:12px;font-weight:780}.inline-void{font-size:12px;color:#95a3b7;font-style:italic;padding:10px 0}.sticky-side{position:sticky;top:94px}.side-panel{padding:20px;margin-bottom:17px}.side-panel h3{margin:0 0 15px;font-size:14px}.side-step{display:flex;gap:10px;align-items:center;margin:13px 0;font-size:12px;color:#60748e}.step-circle{width:22px;height:22px;border:1px solid #e1e8f3;border-radius:50%;display:grid;place-items:center;color:#a1b0c1;font-size:10px;font-weight:800}.step-circle.on{border-color:#2f6be9;background:#2f6be9;color:#fff}.side-divider{height:1px;background:#edf0f5;margin:18px 0}.progress-line{width:100%;height:6px;border-radius:15px;background:#eef1f7;overflow:hidden;margin:10px 0}.progress-line>span{display:block;background:#3474e9;height:100%;width:67%;border-radius:15px}.form-footer{padding:17px 22px;border-top:1px solid #edf1f5;display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}.total-box{display:flex;align-items:center;justify-content:space-between;background:#f7faff;padding:15px;border-radius:10px;margin-top:13px;color:#6d819c}.total-box strong{font-size:21px;color:#2861d4}.upload{padding:21px 18px;border:1.5px dashed #cbd9ea;border-radius:11px;text-align:center;background:#fafcff;cursor:pointer;color:#94a6bc;font-size:12px}.upload strong{display:block;color:#526b89;font-weight:720;font-size:12px;margin-top:6px}.upload input{display:none}.upload svg{height:25px;width:25px;color:#7ba5e7}.file-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.file-pill{font-size:11px;border-radius:7px;padding:5px 8px;background:#eaf2ff;color:#356bbd}
.toolbar{display:flex;gap:12px;align-items:center;margin-bottom:17px}.toolbar .search-input{max-width:420px}.toolbar select{height:42px;padding:0 12px;border:1px solid var(--line2);border-radius:9px;color:#5b718b;background:white}.toolbar .spacer{flex:1}.empty-state{padding:37px;text-align:center;color:#9aabba}.empty-state b{display:block;margin:7px 0;color:#536983}.table-actions{display:flex;gap:6px;align-items:center}.table-actions button{background:transparent;border:1px solid #e6ebf2;border-radius:7px;padding:6px 8px;font-size:11px;color:#55708c}.table-actions button:hover{background:#eef5ff}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.detail-grid .pair{padding:11px;background:#f9fbfd;border-radius:9px}.pair small{font-size:11px;display:block;color:#9ba9ba;margin-bottom:3px}.pair strong{font-size:12px;font-weight:700;color:#45617b}.permission-grid{width:100%}.permission-grid td{padding:11px 15px}.permission-grid tr:hover td{background:#fafcff}.permission-grid th{text-align:left}.permission-grid td:first-child{color:#314a68;font-weight:650}.permission-grid select{border:1px solid #e3eaf3;border-radius:8px;padding:7px 10px;min-width:143px;font-size:11px;background:white;color:#506681}.perm-note{display:block;font-size:10px;color:#98a7ba;font-weight:400}.settings-roles{display:flex;gap:8px;margin:0 0 18px}.role-btn{border:1px solid #e2e8f0;border-radius:9px;padding:10px 14px;background:#fff;color:#7c8da1;font-weight:650;font-size:12px}.role-btn.on{background:#eaf3ff;border-color:#b5cdf6;color:#2460c7}.settings-grid{display:grid;grid-template-columns:260px minmax(0,1fr);gap:20px}.setting-aside{padding:20px}.setting-aside h3{font-size:14px;margin:0 0 13px}.role-inset{background:#f5f8fd;border:1px solid #eaf0f8;border-radius:10px;padding:13px}.role-inset h4{margin:0 0 5px;font-size:12px}.role-inset p{margin:0;font-size:11px;color:#8396ac}.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:15px 0;font-size:12px;color:#697e95}.toggle{appearance:none;width:36px;height:20px;border-radius:99px;background:#d9e2ee;position:relative;cursor:pointer;transition:.15s;flex-shrink:0}.toggle:after{content:'';position:absolute;width:14px;height:14px;background:#fff;border-radius:50%;top:3px;left:3px;box-shadow:0 1px 4px #42596a42;transition:.15s}.toggle:checked{background:#2867dd}.toggle:checked:after{left:19px}.section-row{background:#f6f9fd;font-size:11px;font-weight:800;color:#6380a1;letter-spacing:.7px}.section-row td{padding:9px 15px}.integration-cards{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.integration-flow{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px;background:#f8faff;border:1px solid #eaf0fa;border-radius:11px}.flow-node{display:flex;flex-direction:column;gap:5px;align-items:center;text-align:center;font-size:11px;color:#7790ad}.flow-node .circle{width:45px;height:45px;border-radius:13px;background:white;border:1px solid #e6edf6;display:grid;place-items:center;color:#326ddf}.flow-node svg{width:21px;height:21px}.flow-arrow{color:#a6bad5}.flow-arrow svg{height:17px;width:17px}.code-box{font:11px/1.6 Consolas,'Courier New',monospace;white-space:pre-wrap;word-break:break-word;background:#142138;color:#d7e6f7;border-radius:11px;padding:16px;margin:13px 0;max-height:310px;overflow:auto}.config-list{display:grid;grid-template-columns:1fr 1fr;gap:13px}.mapping{font-size:11px;border-collapse:collapse}.mapping td{border-bottom:1px solid #edf1f6;padding:10px 12px}.mapping td:first-child{font-weight:680;color:#425a77}.mapping code{font-family:Consolas,monospace;color:#6784ad;background:#f3f6fb;padding:4px 7px;border-radius:5px}.mapping input{width:110px;border:1px solid #dce6f2;border-radius:6px;padding:6px}.small-muted{font-size:11px;color:#9ba9b9}.panel-dot{width:8px;height:8px;border-radius:50%;background:#eda954;display:inline-block;margin-right:4px}.panel-dot.green{background:#2ca879}.segmented{display:inline-flex;padding:4px;background:#eef2f8;border-radius:9px;gap:3px}.segmented button{padding:7px 13px;border:0;border-radius:7px;background:transparent;color:#7b90aa;font-weight:700;font-size:11px}.segmented button.on{background:#fff;color:#2163dc;box-shadow:0 1px 5px #0000000c}.customer-list{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.customer{padding:19px;cursor:pointer;transition:.15s}.customer:hover{border-color:#b7cef4;transform:translateY(-1px)}.customer h3{margin:9px 0 3px;font-size:14px}.customer small{color:#a1acba}.customer .symbol{height:42px;width:42px;display:grid;place-items:center;border-radius:11px;background:#eef4ff;color:#316fe6;font-size:18px;font-weight:770}.customer .meta{font-size:11px;color:#8193a7;border-top:1px solid #edf1f6;margin-top:17px;padding-top:13px;display:flex;justify-content:space-between}.vehicle-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.vehicle{padding:17px}.vehicle .plate{font-family:Consolas,monospace;font-size:19px;color:#183d76;font-weight:780;letter-spacing:.7px}.vehicle p{font-size:12px;color:#8092a9;margin:4px 0}.vehicle .vbot{display:flex;justify-content:space-between;align-items:center;margin-top:16px;padding-top:12px;border-top:1px solid #f0f3f8}.vehicle .vbot small{font-size:11px;color:#97a6b7}.toast{position:fixed;bottom:25px;right:26px;z-index:90;background:#20344c;color:#fff;border-radius:10px;box-shadow:0 10px 35px #09284e30;padding:13px 18px;font-size:12px;max-width:370px;animation:pop .2s ease}@keyframes pop{from{transform:translateY(12px);opacity:0}to{transform:translateY(0);opacity:1}}.modal-cover{position:fixed;inset:0;z-index:40;background:#1e2e4394;display:flex;align-items:center;justify-content:center;padding:18px}.modal{width:100%;max-width:690px;max-height:90vh;overflow:auto;background:white;border-radius:16px;box-shadow:0 26px 120px #091b3255}.modal-head{padding:22px 25px;border-bottom:1px solid #eef1f5;display:flex;justify-content:space-between;align-items:center}.modal-head h2{margin:0;font-size:18px}.modal-body{padding:23px 25px}.modal-foot{padding:17px 25px;border-top:1px solid #edf1f5;display:flex;justify-content:flex-end;gap:8px}.x{border:0;background:none;font-size:25px;color:#9eb0c5;line-height:1;padding:3px}.demo-banner{color:#8b7b58;font-size:11px;display:flex;align-items:center;gap:7px;background:#fffaf0;border:1px solid #fff0cc;border-radius:9px;padding:9px 12px;margin-bottom:17px}.footer{font-size:11px;color:#a9b4c3;margin-top:26px}.hide{display:none!important}
@media(max-width:1250px){.stats{grid-template-columns:repeat(2,1fr)}.sidebar{width:219px}.main{margin-left:219px}.content{padding:25px 24px 55px}.topbar{padding:0 25px}.form-layout{grid-template-columns:minmax(0,1fr) 225px}.integration-cards{grid-template-columns:1fr}.customer-list,.vehicle-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:870px){.sidebar{width:68px;padding:19px 8px}.sidebar .brand-name,.sidebar .nav-heading,.sidebar .nav-item span,.sidebar-bottom{display:none}.sidebar .brand{padding:0 8px 26px}.sidebar .nav-item{justify-content:center;padding:12px}.sidebar .nav-item svg{width:20px;height:20px}.main{margin-left:68px}.topbar{height:64px}.content{padding:23px 19px 40px}.form-layout{grid-template-columns:1fr}.sticky-side{position:static}.two-col{grid-template-columns:1fr}.settings-grid{grid-template-columns:1fr}.page-title{align-items:flex-start}.page-title h1{font-size:23px}.fields{gap:12px}.form-inner{padding:18px}.integration-cards{grid-template-columns:1fr}}
@media(max-width:550px){.sidebar{width:57px;padding-left:3px;padding-right:3px}.main{margin-left:57px}.content{padding:18px 11px 30px}.topbar{padding:0 13px}.top-right{gap:7px}.role-box>span,.demo-pill{display:none}.role-box select{max-width:124px;font-size:11px}.avatar{display:none}.page-title{flex-direction:column;margin-bottom:17px}.stats{gap:9px}.stat{min-height:120px;padding:13px}.stat-number{font-size:26px}.stat-top{font-size:10px}.stat-icon{width:28px;height:28px}.stat-icon svg{width:15px}.fields{grid-template-columns:1fr}.span2{grid-column:span 1}.customer-list,.vehicle-grid{grid-template-columns:1fr}.form-section-head,.form-inner{padding-left:14px;padding-right:14px}.toolbar{flex-wrap:wrap}.toolbar .search-input{max-width:100%}.toolbar .spacer{display:none}.config-list{grid-template-columns:1fr}.page-title h1{font-size:21px}.permission-grid select{min-width:112px;width:112px}.permission-grid td{padding:9px}.toast{left:14px;right:14px;bottom:14px}}
/* Contain wide table content on narrow screens instead of expanding the page. */
.card,.two-col>*,.form-layout>*,.integration-cards>*,.settings-grid>*{min-width:0}
.table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain}
@media(max-width:870px){.two-col{grid-template-columns:minmax(0,1fr)}.settings-grid,.integration-cards{grid-template-columns:minmax(0,1fr)}}
