@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@400;500;600;700;800&display=swap');
:root{font-family:Tajawal,Arial,sans-serif;color:#263a31;background:#f7f9f7;font-synthesis:none}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0}button,input{font:inherit}button{cursor:pointer}a{text-decoration:none;color:inherit}svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.shell{display:flex;min-height:100vh}.sidebar{width:226px;flex:none;position:sticky;top:0;height:100vh;background:#105039;color:#d4e9db;display:flex;flex-direction:column;padding:25px 15px 16px;z-index:15}.brand{display:flex;align-items:center;gap:12px;margin:0 12px 40px;color:#fff}.brand-mark{display:grid;place-items:center;background:#eef9ec;color:#12583e;width:45px;height:45px;border-radius:12px;direction:ltr;font-family:Arial,sans-serif;font-size:31px;font-weight:900;letter-spacing:-4px;padding-right:4px}.brand-dot{color:#6ebc68}.brand-text{display:flex;flex-direction:column;gap:0}.brand-text strong{font-size:21px;line-height:1.1}.brand-text small{font:600 9px Arial,sans-serif;letter-spacing:2.1px;color:#b0d3bb;margin-top:5px}.sidebar-label{font-size:11px;letter-spacing:.2px;color:#9ec0a9;margin:0 16px 12px}.nav{display:grid;gap:4px}.nav-link{min-height:42px;display:flex;align-items:center;gap:13px;padding:0 14px;border-radius:8px;font-weight:600;font-size:14px;transition:background .15s,color .15s}.nav-link svg{width:19px;height:19px}.nav-link:hover,.nav-link:focus-visible{background:#21644b;color:white}.nav-link.current{background:#d9eec7;color:#17553c;font-weight:800}.sidebar-bottom{margin-top:auto;border-top:1px solid #3c745a;padding:20px 7px 0;display:flex;align-items:center;gap:10px;color:white}.sidebar-bottom .avatar,.header-avatar{width:34px;height:34px;border-radius:50%;display:grid;place-items:center;background:#d9efce;color:#186143;font-weight:800}.sidebar-bottom span:nth-child(2){display:grid;gap:3px;flex:1}.sidebar-bottom strong{font-size:13px}.sidebar-bottom small{font-size:10px;color:#b6d3bf}.sidebar-bottom svg{width:14px}.workspace{min-width:0;flex:1}.topbar{height:68px;background:#fff;border-bottom:1px solid #e6ede7;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 31px}.header-right,.header-actions{display:flex;align-items:center;gap:14px}.search-field{width:230px;height:36px;background:#f5f7f4;border:1px solid #e8eeea;border-radius:8px;display:flex;align-items:center;gap:9px;padding:0 11px;color:#799287}.search-field svg{width:17px;height:17px}.search-field:focus-within{border-color:#3b9970}.search-field input{border:0;outline:0;background:transparent;min-width:0;width:100%;font-size:12px;color:#243a31}.search-field input::placeholder{color:#94a69a}.header-date{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600;color:#64776b;white-space:nowrap}.header-date svg{width:16px;height:16px;color:#59846c}.sample-date{font-size:10px;color:#9aab9e}.icon-button{background:transparent;border:0;color:#5d7567;display:grid;place-items:center;width:30px;height:34px;border-radius:6px}.icon-button:hover,.icon-button:focus-visible{background:#eaf4eb}.icon-button svg{width:19px;height:19px}.header-avatar{width:31px;height:31px;font-size:13px}.mobile-menu{display:none}.content{max-width:1510px;margin:0 auto;padding:29px 30px 24px}.page-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:23px}.eyebrow{margin:0 0 5px;color:#29845a;font-size:11px;font-weight:700}.page-heading h1{font-size:23px;letter-spacing:-.5px;margin:0 0 3px;color:#22372d}.subtitle{color:#85958a;font-size:12px;margin:0}.demo-badge{border:1px solid #d5e8d7;background:#eef7ed;color:#377657;padding:8px 12px;border-radius:50px;font-size:11px;font-weight:700;white-space:nowrap}.demo-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#6daa74;margin-inline-end:4px}.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:19px}.metric{min-width:0;background:#eaf6e9;border:1px solid #dbeedf;border-radius:11px;padding:17px 18px 14px;min-height:124px}.metric-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#536e5c;font-size:12px;font-weight:700}.metric-icon{width:31px;height:31px;display:grid;place-items:center;background:#d8eedc;border-radius:8px;color:#2b8354}.metric-icon svg{width:18px;height:18px}.metric-value{color:#184d36;font-size:27px;font-weight:800;line-height:1.22;white-space:nowrap;margin:7px 0 6px;direction:ltr;text-align:right}.metric-value small{font-size:14px}.revenue-number{font-size:25px}.metric-change{font-size:11px;font-weight:800;color:#168653;margin:0}.metric-change span{color:#90a495;font-weight:500;margin-inline-start:4px}.analysis-grid,.bottom-grid{display:grid;grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:18px;margin-bottom:18px}.panel{min-width:0;border:1px solid #e5ece6;background:#fff;border-radius:11px;box-shadow:0 2px 12px rgba(24,72,41,.025);padding:17px 19px}.panel-heading,.panel-heading>div{display:flex;align-items:center}.panel-heading{justify-content:space-between;gap:8px;margin-bottom:16px}.panel-heading>div{gap:9px}.panel-heading h2{font-size:14px;font-weight:800;color:#283e30;margin:0;white-space:nowrap}.panel-icon{display:grid;place-items:center;color:#258659}.panel-icon svg{width:18px;height:18px}.pill,.preview-tag{background:#f0f7f0;color:#669577;border:1px solid #e0eee1;border-radius:6px;padding:5px 9px;font-size:10px;white-space:nowrap}.chart-wrap{position:relative;height:201px;padding:2px 0 0 30px}.line-chart{width:100%;height:100%;overflow:visible;direction:ltr}.grid-lines{fill:none;stroke:#e8eee8;stroke-width:1;stroke-dasharray:3 4}.chart-area{fill:url(#area)}.chart-line{fill:none;stroke:#228554;stroke-width:3;stroke-linecap:round}.chart-points circle{fill:#fff;stroke:#228554;stroke-width:2.5}.chart-points circle:last-child{fill:#228554;stroke:#fff;stroke-width:2}.y-axis{position:absolute;left:0;top:7px;bottom:15px;display:flex;flex-direction:column;justify-content:space-between;font-size:10px;color:#728778;white-space:nowrap;direction:rtl}.chart-days{display:flex;justify-content:space-between;gap:4px;padding:2px 27px 0 28px;font-size:11px;color:#718778}.donut-layout{display:flex;align-items:center;justify-content:center;gap:35px;min-height:221px}.donut{width:174px;height:174px;flex:none;border-radius:50%;background:conic-gradient(#147b56 0 36%,#3e9d72 36% 58%,#6ab78e 58% 74%,#a3d4b7 74% 86%,#d5ebdc 86% 100%);display:grid;place-items:center;transform:rotate(-90deg)}.donut-hole{width:112px;height:112px;background:#fff;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;transform:rotate(90deg)}.donut-hole strong{font-size:24px;color:#22543b;line-height:1}.donut-hole span{font-size:12px;color:#87998c;margin-top:5px}.legend{list-style:none;margin:0;padding:0;width:130px;display:grid;gap:12px}.legend li{display:flex;align-items:center;gap:8px;font-size:11px;color:#647669}.legend i{width:9px;height:9px;border-radius:2px;background:var(--swatch);flex:none}.legend b{margin-inline-start:auto;color:#304f3a;font-size:11px}.muted-small{font-size:10px;color:#9cab9e}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;text-align:right;font-size:11px;white-space:nowrap}th{color:#87978b;font-weight:700;background:#f7f9f7;padding:10px 8px}th:first-child{border-radius:0 6px 6px 0}th:last-child{border-radius:6px 0 0 6px}td{border-bottom:1px solid #f0f2ef;padding:12px 8px;color:#40574a}tbody tr:last-child td{border-bottom:0}td:first-child{color:#74907d;font-weight:700}bdi{direction:ltr;unicode-bidi:isolate}.status{display:inline-block;border-radius:5px;padding:4px 7px;font-size:10px;font-weight:700}.status.planned{background:#eff6ed;color:#448053}.status.done{background:#e5f5e8;color:#288452}.status.progress{background:#e7f4ed;color:#227857}.empty-state{text-align:center;color:#68816f;padding:14px;font-size:12px}.fleet-body{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(135px,.8fr);gap:12px}.map-preview{position:relative;background:#edf2ed;border-radius:8px;min-height:170px;overflow:hidden}.map-preview>svg{display:block;width:100%;height:100%;position:absolute;inset:0}.map-blocks{fill:#e4eae2;stroke:#fff;stroke-width:3}.map-road{fill:none;stroke:#fff;stroke-width:12}.map-route{fill:none;stroke:#54b67d;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:8 5}.map-watermark{position:absolute;bottom:6px;right:7px;background:#ffffffdc;color:#508163;padding:4px 6px;border-radius:4px;font-size:8px}.fleet-stats{display:grid;gap:7px}.fleet-stat{display:flex;align-items:center;gap:8px;border-radius:7px;padding:7px 9px;color:#526d57;background:#e9f6e9;font-size:10px;font-weight:700}.fleet-stat .stat-icon{display:grid;place-items:center;width:27px;height:27px;border-radius:5px;background:#d5eeda;color:#288456;flex:none}.fleet-stat svg{width:15px;height:15px}.fleet-stat span:last-child{display:flex;flex-direction:column;gap:2px}.fleet-stat strong{font-size:17px;line-height:1;color:#276847}.fleet-stat.maintenance{background:#fff3e9;color:#a47145}.fleet-stat.maintenance .stat-icon{background:#ffe7d3;color:#cb8b50}.fleet-stat.maintenance strong{color:#ad7748}.fleet-stat.inactive{background:#fef0ef;color:#ab7370}.fleet-stat.inactive .stat-icon{background:#fbe0de;color:#c57069}.fleet-stat.inactive strong{color:#ad6661}.map-button{width:100%;border:0;border-radius:7px;background:#e4f2e4;color:#33784b;font-weight:800;font-size:11px;padding:9px;margin-top:10px}.map-button:hover,.map-button:focus-visible{background:#d4ead8}.map-button svg{width:12px;height:12px;vertical-align:middle}.map-detail{background:#f6faf6;color:#54735d;font-size:11px;padding:10px;border-radius:6px;margin:9px 0 0}footer{display:flex;justify-content:space-between;gap:10px;color:#99a99c;font-size:10px;padding:5px 0 12px}dialog{border:1px solid #d4e9d9;border-radius:12px;max-width:min(420px,90vw);padding:24px;box-shadow:0 20px 70px #103d2b30;color:#284733}dialog::backdrop{background:#0b291c80}dialog h2{margin:0 0 12px;font-size:20px}dialog p{line-height:1.8;font-size:14px}dialog button{border:0}.dialog-close{float:left;background:transparent;font-size:24px;color:#53715a}.dialog-action{background:#145940;color:white;border-radius:7px;padding:8px 24px}.backdrop{display:none}
@media(min-width:901px){.analysis-grid>.revenue-panel,.bottom-grid>.trips-panel{grid-column:2;grid-row:1}.analysis-grid>.regions-panel,.bottom-grid>.fleet-panel{grid-column:1;grid-row:1}}
@media(max-width:1160px){.sidebar{width:200px}.content{padding-inline:20px}.metrics{gap:10px}.metric{padding:14px 12px}.metric-value{font-size:23px}.revenue-number{font-size:20px}.analysis-grid,.bottom-grid{gap:12px}.panel{padding:15px}.donut-layout{gap:12px}.donut{width:145px;height:145px}.donut-hole{width:95px;height:95px}}
@media(max-width:900px){.sidebar{width:210px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.analysis-grid,.bottom-grid{grid-template-columns:1fr}.topbar{padding-inline:20px}.header-date{display:none}.donut-layout{gap:40px}.donut{width:170px;height:170px}.donut-hole{width:112px;height:112px}}
@media(max-width:640px){.sidebar{position:fixed;right:0;top:0;transform:translateX(100%);transition:transform .2s;width:260px}.sidebar.open{transform:translateX(0)}.backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#0b291b75;z-index:12}.mobile-menu{display:grid}.topbar{height:60px;padding-inline:14px}.header-right{flex:1;gap:7px}.search-field{width:min(100%,270px)}.header-actions{gap:5px}.header-actions .icon-button:first-child{display:none}.content{padding:21px 14px}.page-heading{display:block}.page-heading h1{font-size:21px}.demo-badge{display:inline-flex;margin-top:12px}.metrics{gap:9px}.metric{min-height:110px;padding:12px}.metric-value{font-size:23px}.revenue-number{font-size:18px}.metric-change span{display:none}.metric-head{font-size:11px}.panel{padding:13px}.panel-heading h2{font-size:12px}.chart-wrap{height:190px}.chart-days{font-size:9px}.fleet-body{grid-template-columns:1fr}.map-preview{height:175px}.fleet-stats{grid-template-columns:repeat(3,minmax(0,1fr))}.fleet-stat{padding:6px;gap:5px;align-items:start}.fleet-stat .stat-icon{display:none}.fleet-stat strong{font-size:16px}.fleet-stat span:last-child{font-size:9px}footer{display:block;line-height:1.6}footer span{display:block}}
@media(max-width:370px){.donut-layout{gap:12px}.donut{width:135px;height:135px}.donut-hole{width:88px;height:88px}.legend{width:110px}.metric-value{font-size:21px}.revenue-number{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.sidebar{transition:none}}
