/* Rahdan panel: one visual system for office, central management and public entry. */
@font-face{font-family:Vazirmatn;src:url('./Vazirmatn-Regular.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Vazirmatn;src:url('./Vazirmatn-Bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--teal-900:#0d504b;--teal-800:#0f7b6c;--teal-700:#096557;--teal-100:#e7f5f1;--bg:#f5f7f9;--card:#fff;--text:#172534;--muted:#657585;--line:#e4e9ee;--green:#15805e;--amber:#976614;--red:#b33c41;--blue:#2d4bcb;--shadow:0 3px 14px #182d4010;--nav-width:246px}
*{box-sizing:border-box}html{scrollbar-gutter:stable}body{margin:0;font-family:Vazirmatn,Tahoma,sans-serif;color:var(--text);font-size:14px;line-height:1.8;background:var(--bg)}
h1,h2,h3,p{margin-top:0}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}button,a,input,select,textarea,summary{touch-action:manipulation}svg.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
[hidden]{display:none!important}:focus-visible{outline:3px solid #62b8a8;outline-offset:3px}::selection{background:#c5e9df}
.panel-shell{display:flex;min-height:100dvh}.panel-shell>main{width:calc(100% - var(--nav-width));flex:1;max-width:none;padding:0;margin:0;position:relative;min-width:0;isolation:isolate}.panel-content{max-width:1760px;margin:0 auto;padding:28px 32px 48px;min-width:0}.skip-link{position:fixed;top:-100px;right:20px;z-index:6000;background:#fff;padding:10px 20px;border-radius:10px;color:var(--teal-800)}.skip-link:focus{top:12px}
.panel-shell>aside{width:var(--nav-width);height:100dvh;position:sticky;top:0;flex:none;background:#182c39;color:#dbe4eb;padding:24px 14px 18px;border:0;box-shadow:none;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#556773 transparent}
.panel-brand{display:flex;align-items:center;gap:12px;border-bottom:1px solid #ffffff12!important;padding:0 10px 23px!important;margin-bottom:20px!important}.panel-brand .logo{width:42px;height:46px;border-radius:12px;background:#ffffff0c!important;color:#a3ddce!important;display:grid;place-items:center}.panel-brand b{font-size:25px!important;color:white}.panel-brand span{color:#9cabb6!important;font-size:11px!important;line-height:1.9;max-width:154px;display:block}.panel-nav a{display:flex;align-items:center;gap:12px;border:0!important;border-radius:9px;padding:11px 13px!important;margin:4px 0!important;font-size:13px!important;color:#d1dce5!important;opacity:1!important;transition:background-color .15s}.panel-nav a:hover:not(.active){background:#ffffff0b!important;color:white!important}.panel-nav a.active{background:var(--teal-800)!important;color:white!important;box-shadow:none!important}.panel-nav .ic{display:flex;width:21px;text-align:center}.nav-group-label{display:block;padding:2px 13px 8px;font-size:10px;color:#8799a7}.panel-nav #navPending{margin-right:auto;background:#ffffff20!important;color:white!important;border-radius:5px;font-size:10px;padding:0 6px;min-width:0}.panel-nav #navPending:empty{display:none}.logout-form{border-top:1px solid #ffffff12!important;margin-top:20px;padding-top:14px}.logout-form button{display:flex;align-items:center;gap:12px;width:100%;border:0;background:transparent;color:#b4c2ce!important;padding:11px 13px!important;border-radius:9px;font-size:13px!important;text-align:right}.logout-form button:hover{background:#ffffff0b;color:white!important}
.panel-header{min-height:88px;border-bottom:1px solid var(--line);background:white;padding:18px 32px;display:flex;align-items:center;justify-content:space-between;gap:20px}.panel-office,.panel-account,.account-link{display:flex;align-items:center;gap:12px}.header-symbol{display:grid;place-items:center;width:38px;height:38px;border-radius:11px;background:#f0f6f5;color:#0f7b6c}.panel-office strong,.account-link strong{display:block;font-size:13px;font-weight:700}.panel-office small,.account-link small{display:block;color:var(--muted);font-size:11px;line-height:1.7}.account-avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#f0f3f6;color:#647687}.account-link{border-radius:10px;padding:3px 5px}.account-link:hover{background:#f5f8f9}.connection-chip{display:inline-flex;align-items:center;gap:7px;font-size:10px;color:#557269;padding:5px 9px;background:#f1f8f5;border:1px solid #e1eee7;border-radius:7px;white-space:nowrap}.connection-chip i{width:6px;height:6px;background:#23976d;border-radius:50%}.connection-chip.is-offline{color:#a4672c;background:#fff7eb;border-color:#f2e0c4}.connection-chip.is-offline i{background:#c78b38}.connectivity-notice{background:#fff5e5;color:#8a5c16;padding:12px 32px;border-bottom:1px solid #eedec2;font-size:12px}
.topbar,.support-heading,.hq-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:24px}.topbar h1,.support-heading h1{font-size:25px;line-height:1.6;margin:2px 0 4px;letter-spacing:0}.eyebrow{font-size:10px;color:var(--teal-800);font-weight:700}.header-caption,.hq-subtitle{font-size:12px;line-height:1.9;color:var(--muted);margin:4px 0 0}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;box-shadow:0 2px 9px #19324404;padding:22px;margin-bottom:20px;min-width:0;max-width:100%}.card h2,.staff-heading{font-size:17px}.card h3.sec,h3.sec,h2.sec{font-size:15px;font-weight:700;line-height:1.7;margin:0 0 14px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:16px}.section-heading h3.sec{margin:0}.muted{color:var(--muted);font-size:12px;line-height:1.9}.text-link{color:var(--teal-800);font-size:12px;font-weight:700}.text-link:hover{text-decoration:underline}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 16px;min-height:42px;line-height:1.6;border:1px solid transparent;border-radius:9px;background:var(--teal-800);color:white;font-size:12px;font-weight:700;white-space:normal;text-align:center;box-shadow:none;transition:background-color .15s,color .15s}.btn:not(:disabled):not([aria-disabled=true]):hover{background:var(--teal-700);color:white}.btn.btn-ghost{background:#fff;border-color:#d9e3e6;color:#425d63}.btn.btn-ghost:not(:disabled):not([aria-disabled=true]):hover{background:#eff7f4;border-color:#b9d9d0;color:#0d6357}.btn.btn-danger,.btn.btn-no,.btn.danger{background:#fff0ef!important;border:1px solid #f0d0ce!important;color:#a6373c!important}.btn.btn-danger:not(:disabled):not([aria-disabled=true]):hover,.btn.btn-no:not(:disabled):hover,.btn.danger:not(:disabled):hover{background:#ffe3e0!important;color:#8f272c!important}.btn.btn-ok{background:#e5f5ed;color:#126849;border-color:#cde8d9}.btn.btn-ok:not(:disabled):hover{background:#cfeadb;color:#10553d}.btn:disabled,.btn[aria-disabled=true],button:disabled{opacity:.55;cursor:not-allowed}.actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}.badge,.pill,.support-status,.trip-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 9px;border-radius:7px;font-size:11px;line-height:1.8;white-space:normal;font-weight:400}.bg-green,.p-green{background:#e6f5ee;color:#177151}.bg-red,.p-red,.state-cancelled{background:#fff0ef;color:#a7383d}.bg-amber,.p-amber,.needs-followup{background:#fff4df;color:#916617}.bg-gray{background:#f0f3f6;color:#637584}.p-blue{background:#ebf1fc;color:#375ba9}.amount-pos{color:#168058;font-weight:700}.amount-neg{color:#b33c41;font-weight:700}
.panel-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.panel-shell select,.panel-shell textarea,.embedded-office input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.embedded-office select,.embedded-office textarea{min-width:0;max-width:100%;min-height:44px;border:1px solid #dce3e9;background:white;border-radius:9px;padding:10px 12px;color:var(--text);font:inherit;font-size:13px;line-height:1.7;box-shadow:none}
.panel-shell input::placeholder,.panel-shell textarea::placeholder{color:#8a98a5}.panel-shell input:focus-visible,.panel-shell select:focus-visible,.panel-shell textarea:focus-visible{border-color:#0f7b6c;outline:2px solid #a8d8cb;outline-offset:2px}.panel-shell :is(input,textarea,select):disabled{background:#f4f6f8;color:#8896a3}.panel-shell input[type=checkbox],.panel-shell input[type=radio]{accent-color:#0f7b6c;width:17px;height:17px;flex:none;vertical-align:middle}.panel-shell input[type=file]{width:100%;padding:12px;border:1px dashed #cbdad9;border-radius:9px;background:#f9fbfc;font-size:12px}.panel-shell input[type=file]::file-selector-button{font:inherit;border:0;background:#e7f5ef;color:#0f7b6c;border-radius:6px;padding:7px 10px;margin-left:10px}.searchbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.searchbar input{flex:1;min-width:180px!important}.searchbar select{flex:0 1 200px}.searchbar .btn{flex:none}.err,.support-error,.staff-notice.error{color:#a53338;border:1px solid #f0d3d1;background:#fff2f1;border-radius:11px;padding:13px 16px;margin-bottom:18px;font-size:13px;line-height:1.9}.kv{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px 20px;font-size:13px;line-height:2}.kv b{display:block;color:var(--muted);font-size:11px;font-weight:400}.kv>div{overflow-wrap:anywhere;min-width:0}.kv a{font-weight:700}.profile-fields dd{margin:0;font-size:13px}.profile-fields dt{font-size:11px}
.kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin-bottom:20px}.kpi{background:white;border:1px solid var(--line);border-radius:14px;padding:20px;min-height:124px;display:flex;justify-content:space-between;align-items:center;position:relative}.kpi .t{color:var(--muted);font-size:12px;margin-bottom:9px}.kpi .v{font-size:27px;font-weight:700;letter-spacing:0;line-height:1.5;font-variant-numeric:tabular-nums;white-space:normal;overflow-wrap:anywhere}.kpi .sub{font-size:10px;color:var(--muted);margin-top:4px}.stat-icon{width:42px;height:42px;border-radius:12px;background:#eaf5f1;color:#0f7b6c}.dashboard-kpis{gap:14px}.operations-strip{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:white;border:1px solid var(--line);border-radius:11px;font-size:12px;padding:14px 18px}.operations-strip a{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.date-chip{padding:5px 10px;font-size:11px;border:1px solid var(--line);background:white;border-radius:7px}.row2{grid-template-columns:minmax(0,2fr) minmax(280px,1fr)}.secondary-metrics{font-size:11px;gap:12px 20px}.stuck-alert{background:#fff3ef;color:#9c4334}.refresh-meta{font-size:11px}
.panel-shell table,.embedded-office table{width:100%;border-collapse:collapse;text-align:right;font-size:12px;line-height:1.8}.panel-shell th,.embedded-office th{padding:12px 14px;background:#f6f8fa;color:#697b8a;font-weight:400;font-size:11px;border-bottom:1px solid var(--line);white-space:nowrap}.panel-shell td,.embedded-office td{padding:14px;border-bottom:1px solid #edf0f4;vertical-align:middle}.panel-shell tr:last-child td{border-bottom:0}.panel-shell tr.rowlink{cursor:pointer}.panel-shell tr.rowlink:hover{background:#f3f9f6}.unified-table-wrap,.table-scroll,.profile-table,.trip-table-wrap,.hq-table{max-width:100%;overflow:auto;overscroll-behavior-inline:contain;border:1px solid var(--line);border-radius:11px;scrollbar-width:thin}.unified-table-wrap{margin-top:12px}.unified-table-wrap table{min-width:580px}.profile-table table,.table-scroll table{min-width:650px}.unified-table-wrap:focus-visible{outline:2px solid #0f7b6c}.table-help{font-size:10px;color:var(--muted);margin-top:5px;display:none}.empty,.profile-empty,.directory-empty{padding:30px;color:var(--muted);text-align:center}.docs a{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;background:#f0f7f4;color:var(--teal-800);border-radius:7px;font-size:11px;margin:0 0 7px 7px}.docs a:hover{background:#dbeee6}
.profile-header{padding:22px;background:white;align-items:center}.profile-avatar,.driver-initial{background:#edf5f1;border:1px solid #dbeae4;color:#0f7b6c}.profile-tabs{display:flex;gap:5px;overflow:auto;border-bottom:1px solid var(--line);padding:0 0 8px;margin-bottom:20px}.profile-tabs a,.dossier-tabs a{padding:10px 20px!important;border:1px solid transparent!important;border-radius:8px!important;font-size:13px!important}.profile-tabs a[aria-current=page],.profile-tabs a.active,.dossier-tabs a.active{background:#e5f3ed!important;border-color:#cce4d9!important;color:#0f7b6c!important}.profile-grid{gap:20px;margin-bottom:20px}.profile-warning{background:#fff6e8;color:#926223;border:1px solid #eadbbf;font-size:12px}.profile-filters label{font-size:11px}.profile-filters{margin:16px 0}.profile-filters input{width:155px}.directory-tools{display:flex;gap:10px;flex-wrap:wrap}.directory-table th,.driver-trip-table th{font-size:11px}.directory-table td,.driver-trip-table td{padding:14px!important}.driver-person strong{font-size:13px}.driver-person small{font-size:11px}.driver-initial{width:38px;height:38px;border-radius:11px}.review-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.review-summary,.review-help{font-size:12px}.review-pending{border-color:#e6deca;background:#fffefb}.review-field textarea{width:100%}.review-footer{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.document-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
/* Office dispatch: retain the map and independent order state machine. */
.dispatch-grid{grid-template-columns:280px minmax(0,1fr);gap:20px}.dispatch-list{padding:18px;top:18px}.dispatch-list h2{font-size:16px;margin:0 0 16px}.dispatch-list>input,.dispatch-list>select{font-size:12px!important}.dispatch-list>button{min-height:37px}.trip-item{border:1px solid #e2e8ec;border-radius:12px;margin-bottom:10px;background:white;box-shadow:none}.trip-item.selected{border-color:#57a492;background:#f4faf7;box-shadow:inset -3px 0 #0f7b6c}.trip-open{padding:15px 14px 15px 42px;min-height:128px}.trip-open b{font-size:12px}.trip-open small{font-size:11px;line-height:1.8}.trip-badge{font-size:10px;padding:4px 8px}.trip-dismiss{width:27px;height:27px;font-size:19px;left:8px;top:8px;border-radius:7px}.dispatch-tabs{gap:8px;padding:0 0 9px;margin-bottom:16px;min-height:0}.dispatch-tabs>div{border-radius:9px}.dispatch-tabs>div.selected{border-color:#78b4a5;background:#edf7f2}.dispatch-tabs button{font-size:12px;padding:10px 12px;color:#526a76}.dispatch-tabs button[aria-selected=true]{color:#0f7b6c}.dispatch-tabs button:hover{background:#e9f4ee;color:#0f7b6c}.detail-head{border-bottom:1px solid var(--line);padding-bottom:17px;margin-bottom:16px}.detail-head h2{font-size:21px;margin:0}.detail-grid{grid-template-columns:minmax(240px,.9fr) minmax(0,1.2fr);gap:24px}.detail-grid dl{margin:0}.detail-grid dt{font-size:11px;margin-top:13px}.detail-grid dd{font-size:13px;margin:4px 0 0}.detail-grid h3{font-size:13px}.detail-grid ol{padding-right:20px;border-right:1px solid #d8e5df}.detail-grid li{font-size:12px;padding-right:5px}.detail-grid time{font-size:10px}#detail-map{height:420px;isolation:isolate;position:relative;z-index:0;border:1px solid var(--line)}#map-note{margin-top:9px}.dispatch-empty{padding:78px 24px!important;background:linear-gradient(180deg,#fff,#fbfcfd)}.dispatch-empty h2{font-size:20px;color:#223b49}.dispatch-empty p{font-size:12px;margin:10px 0}.dispatch-empty:before{content:'↗';font-size:36px;width:66px;height:66px;border:1px solid #deebe5;border-radius:19px;color:#0f7b6c;background:#f0f8f3;display:grid;place-items:center;margin:0 auto 20px}#workspace-status:empty{display:none}#workspace-status:not(:empty){font-size:12px}.office-trip-grid{grid-template-columns:minmax(300px,355px) minmax(0,1fr);gap:20px}.office-field{margin-bottom:18px}.office-field>label,.office-address-title label{font-size:12px}.office-field>input+input{margin-top:8px}.office-link{font-size:11px}.office-map-card{top:18px;padding:16px}.office-map-tools{font-size:12px}.office-pick .btn{padding:7px 12px;min-height:36px}.office-fare{background:#edf7f2;border:1px solid #d8eae2;padding:17px;border-radius:12px}.office-fare-title{color:#517568;font-size:11px}.office-fare-value{font-size:28px;color:#0f6554}.office-payment button{font-size:12px;padding:9px}.office-payment button.active{background:#0f7b6c}.office-submit{min-height:47px;font-size:13px}.office-confirm{font-size:11px}#map{height:clamp(450px,65vh,750px);border-radius:12px;isolation:isolate;position:relative;z-index:0}.office-search{gap:8px}#place-results:empty{display:none}.embedded-office{background:transparent;display:block;min-height:0;overflow:hidden}.embedded-office main{margin:0!important;padding:0!important;width:100%!important;max-width:100%}.embedded-office .office-trip-grid{grid-template-columns:minmax(250px,305px) minmax(0,1fr)}.embedded-office .card{padding:18px}.embedded-office .office-map-card{padding:14px}.embedded-office #map{height:440px}
/* Pricing: editable currency values remain raw on submission. */
.tariff-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}.tariff-field{display:flex;flex-direction:column;gap:9px;min-width:0;padding:16px;background:#f8fafb;border:1px solid var(--line);border-radius:11px}.tariff-field>span{font-size:12px;font-weight:700}.tariff-field>div{position:relative}.tariff-field input{width:100%;padding-right:52px!important;background:white!important}.tariff-field>div small{position:absolute;right:10px;top:12px;color:var(--muted);font-size:10px;pointer-events:none}.tariff-field>small{color:var(--muted);font-size:10px}.pricing-form> .card{margin-bottom:20px}.pricing-form label:has(input[type=radio]){background:white;padding:16px!important;line-height:2}.pricing-form label:has(input[type=radio]:checked){background:#f4faf6;border-color:#a4cbbb!important}.pricing-form label:has(input[type=radio]) b{font-size:13px}.pricing-form label .muted{font-size:11px}.pricing-form label>div{font-size:12px}
/* Staff, identity and ticket cases. */
.staff-grid{grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr);gap:20px}.staff-member{border-radius:11px;padding:18px;background:#fff}.staff-member header strong{font-size:13px}.staff-member header [dir=ltr]{font-size:11px;color:#6a7c89;text-align:right}.staff-member>small{font-size:11px;color:var(--muted);display:block;margin:10px 0}.staff-member summary{font-size:12px;font-weight:700;color:#0f7b6c}.staff-actions{padding:0 8px}.staff-form{gap:9px;margin-top:20px}.staff-form label,.staff-actions label{font-size:12px;line-height:1.9}.grant-options{border:1px solid var(--line);border-radius:9px;background:#f8fafb;padding:13px;margin:12px 0}.grant-options summary{font-size:12px;font-weight:700;color:#466570;cursor:pointer}.grant-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.grant-grid label{font-size:11px;align-items:flex-start;line-height:1.8}.grant-grid input{margin-top:3px}.staff-event{padding:15px 0;font-size:12px}.staff-event time{font-size:11px}.staff-notice{border:1px solid #d1e6db;background:#edf7f1;color:#176347}.identity-layout{grid-template-columns:300px minmax(0,1fr);gap:20px}.identity-avatar{background:#ecf5f1;border:1px solid #d5e8df;border-radius:20px;width:70px;height:70px}.identity-card h2{font-size:20px}.identity-office{background:#f6faf7;padding:20px;border:1px solid #e5eee8}.capability-list{gap:10px}.capability-list li{padding:13px;background:white;border-color:#e2e9e6;font-size:12px}.capabilities-card h2{font-size:17px}.identity-logout{width:100%;margin-top:12px}.support-entry{display:block;padding:18px 21px;border:1px solid var(--line);border-radius:12px;background:white;margin-bottom:12px}.support-entry:hover{border-color:#9cc3b5;background:#fbfefb;box-shadow:0 3px 12px #153b2c05}.support-entry strong{font-size:13px}.support-meta{display:flex;gap:12px;flex-wrap:wrap;color:var(--muted);font-size:11px;margin-top:10px}.support-status{background:#eaf5ef;color:#1d7655;border-radius:6px;font-size:10px}.support-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:22px;align-items:start}.support-case{position:sticky;top:16px}.case-fields{display:grid;gap:5px;margin:0 0 20px}.case-fields dt{font-size:10px;color:var(--muted);margin-top:10px}.case-fields dd{margin:0;font-size:12px;overflow-wrap:anywhere}.support-message{background:white;padding:20px;border:1px solid var(--line);border-radius:12px;margin-bottom:16px;border-right:3px solid #cbd5df}.support-message.from-support{border-right-color:#0f7b6c;background:#f1f8f3;border-color:#cce3d3}.support-message small{display:block;font-size:11px;color:#657d80;margin-bottom:11px}.support-body{font-size:13px;line-height:2;white-space:pre-wrap;overflow-wrap:anywhere}.support-form{max-width:850px}.support-conversation .support-form{max-width:none}.support-form label{display:block;font-size:12px;margin:16px 0 8px;font-weight:700}.support-form :is(input,select,textarea){width:100%}.support-form textarea{min-height:135px;resize:vertical}.support-form .btn{margin-top:18px}.support-nav{display:flex;justify-content:center;align-items:center;gap:16px;font-size:11px;padding:15px}.support-nav a{color:#0f7b6c}.support-case>form .btn{width:100%;margin-top:12px}
/* Central organization wizard and SaaS accounts are visually separate from office balances. */
.onboarding-steps{background:#f7f9fb;border:1px solid var(--line);border-radius:11px;padding:6px;gap:5px}.onboarding-steps button{background:transparent;font-size:11px;border-radius:7px;padding:12px 8px}.onboarding-steps button.current{background:#e4f2eb;color:#0f7b6c}.hq-field{font-size:12px;gap:8px}.hq-field small{font-size:11px}.hq-form-grid{gap:18px}.hq-stage h3{font-size:15px}.hq-checkbox{font-size:12px}.hq-notice{background:#fff9ed;border-color:#eedebe;font-size:12px;padding:15px}.hq-success{background:#edf8f2;border-color:#c3e2d0;font-size:13px}.hq-review div{background:#f8fafb;border:1px solid var(--line);font-size:12px}.hq-review b{font-size:11px;color:#67807c}.hq-form-actions{padding-top:18px;border-top:1px solid var(--line)}.hq-plan-settings summary{font-size:13px}.hq-message{font-size:12px}.hq-pagination{font-size:12px}.hq-inline{gap:10px}.hq-inline input{min-width:240px}.hq-table td .btn{font-size:11px;padding:8px 10px;min-height:36px}.hq-table table{min-width:980px}
/* Public auth: generic branding only; no companies or membership list before authentication. */
.office-auth{display:grid;place-items:center;min-height:100dvh;padding:32px;background:#f5f7f9;font-family:Vazirmatn,Tahoma,sans-serif;color:#172534}.office-auth main{margin:0;width:100%;padding:0}.office-auth .shell{width:min(980px,100%);min-height:610px;display:grid;grid-template-columns:1fr 1fr;background:white;border:1px solid #e1e7ec;border-radius:22px;box-shadow:0 15px 55px #14344708;overflow:hidden}.office-auth .intro{background:#182e3a;padding:42px;color:#f0f7f6}.office-auth .brand-mark{background:#d6eee3;color:#0f5d51}.office-auth .intro-copy{margin-top:65px}.office-auth .intro h2{font-size:33px;line-height:1.7;color:#fff}.office-auth .intro p{color:#adc1cd;font-size:12px}.office-auth .intro-footer{color:#98b4ba;font-size:11px}.office-auth .form-side{padding:45px 42px}.office-auth .tag{background:#edf7f1;color:#0f7b6c;border-color:#d5e9dd;font-size:10px}.office-auth .form-side h1{font-size:26px;margin:20px 0 9px}.office-auth .subtitle{font-size:12px;color:#718290}.office-auth .field input{background:white;border-color:#dbe3e9;border-radius:9px;color:#172534;font-size:15px;height:52px}.office-auth label{font-size:12px;color:#425d69}.office-auth .submit{background:#0f7b6c;color:white;border-radius:9px;font-size:13px;height:50px}.office-auth .submit:hover{background:#096657}.office-auth .submit svg{width:18px;height:18px}.office-auth .error{border:1px solid #f1d1cb;background:#fff2ef;color:#a33c36;border-radius:9px;font-size:12px;padding:12px}.office-auth .help{font-size:11px;color:#7e8c97}.office-auth .edit-number{color:#0f7b6c}.office-auth .form-footer{font-size:10px;color:#93a2aa}.office-auth select{font:inherit}.activation-page .box,.forbidden-page .card{width:min(460px,100%);max-width:460px;background:white;border:1px solid var(--line);border-radius:20px;padding:30px;margin:0;box-shadow:0 10px 45px #17372e06}.activation-page h1,.forbidden-page h1{font-size:23px}.activation-page input{width:100%;padding:11px;border:1px solid var(--line);border-radius:9px;font:inherit}.activation-page button,.forbidden-page button{font:inherit;border:0;border-radius:9px;background:#0f7b6c;color:white;min-height:44px;padding:10px 16px}.forbidden-page .state-symbol{width:60px;height:60px;background:#fff5e9;color:#a17430;border-radius:18px;display:grid;place-items:center;margin-bottom:22px}.forbidden-page .state-symbol .icon{width:28px;height:28px}.forbidden-page .card p{font-size:12px;color:#647985;margin:12px 0}.forbidden-page a{background:#0f7b6c;padding:11px;border-radius:9px;font-size:12px}.forbidden-page .secondary,.forbidden-page button{background:#eff4f6;color:#49656f;width:100%;margin-top:10px}.logout-page .shell{display:block;min-height:0;max-width:440px;border:0;background:transparent;box-shadow:none;overflow:visible}.logout-page .card{padding:35px;border-radius:20px}.logout-page .success-icon{width:64px;height:64px;border-radius:19px}.logout-page h1{font-size:23px}.logout-page .primary{background:#0f7b6c;border-radius:9px}.logout-page .brand{color:#0f7b6c;justify-content:center}.logout-page .description{font-size:12px}.logout-page .secondary{font-size:11px}
.receipt-page{font-family:Vazirmatn,Tahoma,sans-serif;color:#172534;background:#f4f7f8}.receipt-page main{max-width:720px;margin:20px auto 45px;background:white;border:1px solid #e0e8e8;border-radius:18px;padding:36px;width:calc(100% - 32px);box-shadow:0 7px 30px #152e3005}.receipt-page header{border-bottom:2px solid #0f7b6c}.receipt-page h1{font-size:23px}.receipt-page h2{font-size:16px;margin-top:26px}.receipt-page dl{font-size:13px}.receipt-page .fare{background:#edf6f1;border:1px solid #d7e9df;border-radius:11px;padding:20px;font-size:16px}.receipt-page .fare strong{font-size:23px}.receipt-page .route{border-right:0;position:relative;padding-right:25px;font-size:13px}.receipt-page .route p{position:relative;margin:20px 0}.receipt-page .route p:before{content:'';position:absolute;right:-24px;top:6px;width:10px;height:10px;border-radius:50%;background:#2d4bcb;border:2px solid #c7d5fc}.receipt-page .route p:last-child:before{background:#111;border-color:#d5d5d5;border-radius:2px}.receipt-page .tools{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:24px 0}.receipt-page .tools button,.receipt-back{background:#0f7b6c;color:white;padding:10px 16px;min-height:42px;border:0;border-radius:9px;font-size:12px}.receipt-back{background:white;border:1px solid #d8e4e1;color:#42635c}.receipt-page .note{font-size:10px}
/* Horizontal overflow stays inside labeled table regions, never across the page or over navigation. */
.menu-toggle,.menu-backdrop,.menu-close{display:none}
@media(min-width:1600px){.panel-content{padding:34px 42px 52px}.panel-header{padding-inline:42px}}
@media(max-width:1350px){.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.tariff-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-grid{grid-template-columns:minmax(0,1fr)}#detail-map{height:340px}.office-trip-grid{grid-template-columns:minmax(280px,320px) minmax(0,1fr)}}
@media(max-width:1150px){.dispatch-grid{grid-template-columns:minmax(0,1fr)}.dispatch-list{position:static;display:grid;grid-template-columns:minmax(160px,1fr) 160px 135px;gap:10px}.dispatch-list h2,#trip-list,.dispatch-list small,#more-trips{grid-column:1/-1}.dispatch-list>input,.dispatch-list>select,.dispatch-list>button{margin:0}.dispatch-list #trip-list{display:flex;gap:10px;overflow:auto;max-height:none;padding:3px 0}.trip-item{min-width:235px;width:235px;flex:none;margin:0}.dispatch-list #list-time{margin:0}.support-layout{grid-template-columns:minmax(0,1fr) 240px}.grant-grid{grid-template-columns:1fr}}
@media(max-width:1000px){html{scrollbar-gutter:auto}.panel-shell{display:block;width:100%;overflow-x:clip}.panel-shell>main{width:100%;max-width:100%;margin:0;padding:0}.panel-content{padding:22px 20px 36px}.panel-header{padding:14px 75px 14px 18px;min-height:76px;gap:12px}.panel-office strong{font-size:12px}.header-symbol{display:none}.panel-account{gap:10px}.account-link strong{font-size:12px}.connection-chip{display:none}.panel-shell>aside{position:fixed;right:0;top:0;width:min(290px,86vw);height:100dvh;z-index:3000;transform:translateX(100%);visibility:hidden;transition:transform .2s ease;box-shadow:-8px 0 24px #001b3326}.menu-toggle{display:grid;place-items:center;position:absolute;top:17px;right:18px;width:42px;height:42px;z-index:1500;border:1px solid #e0e7eb;background:white;border-radius:10px;color:#0f7b6c;font-size:23px;cursor:pointer;box-shadow:none}.menu-close{display:grid;place-items:center;width:35px;height:35px;margin:0 auto 13px 0;border:1px solid #ffffff20;border-radius:8px;background:#ffffff08;cursor:pointer;color:#e2eeef}.menu-backdrop{display:none;position:fixed;inset:0;background:#10222b75;z-index:2000}#menu-switch:checked~aside{visibility:visible;transform:translateX(0)}#menu-switch:checked~.menu-backdrop{display:block}#menu-switch:checked~main .menu-toggle{visibility:hidden}.topbar h1,.support-heading h1{font-size:23px}.row2{grid-template-columns:1fr}.staff-grid,.identity-layout{grid-template-columns:1fr}.staff-grid>section:last-child{max-width:none}.capability-list{grid-template-columns:repeat(2,minmax(0,1fr))}.office-map-card{position:relative;top:0}.embedded-office .office-trip-grid{grid-template-columns:minmax(250px,305px) minmax(0,1fr)}.table-help{display:block}.hq-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.office-auth{padding:22px 16px}.office-auth .shell{grid-template-columns:1fr;min-height:0;width:min(460px,100%);border-radius:18px}.office-auth .intro{display:none}.office-auth .form-side{padding:32px 26px}.office-auth .mobile-brand{display:block;margin-bottom:20px;color:#0f7b6c}.support-layout{grid-template-columns:1fr}.support-case{position:static;grid-row:1}.support-case .case-fields{display:grid;grid-template-columns:100px minmax(0,1fr);gap:8px}.case-fields dt{margin:0}.support-case .muted{display:none}.profile-grid{grid-template-columns:1fr}.office-trip-grid,.embedded-office .office-trip-grid{grid-template-columns:minmax(0,1fr)}.office-trip-form{grid-row:1}.office-map-card{grid-row:2}#map,.embedded-office #map{height:350px}.dispatch-list{grid-template-columns:minmax(0,1fr) 145px}.dispatch-list>button{grid-column:1/-1}.hq-form-grid,.hq-review,.hq-plan-settings .hq-form-grid{grid-template-columns:1fr}.onboarding-steps{display:flex;overflow:auto}.onboarding-steps button{min-width:95px;flex:none}.grant-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.panel-content{padding:20px 14px 32px}.panel-header{padding-right:68px;padding-left:12px}.panel-office strong{font-size:11px;max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.panel-office small{font-size:10px}.account-link strong{font-size:11px;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-avatar{width:32px;height:32px}.account-link{gap:7px}.account-link small{font-size:9px}.panel-account{min-width:0}.menu-toggle{right:14px;width:40px;height:40px}.connectivity-notice{font-size:11px;padding:10px 14px}.topbar,.support-heading{margin-bottom:20px;align-items:flex-start}.topbar h1,.support-heading h1{font-size:21px}.topbar .btn{min-height:40px}.header-caption{font-size:11px}.card{padding:17px;border-radius:13px;margin-bottom:16px}.searchbar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}.searchbar input{min-width:0!important;width:100%}.searchbar input:first-child{grid-column:1/-1}.searchbar select{width:100%;min-width:0;max-width:100%}.searchbar .btn{white-space:nowrap}.panel-shell input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.panel-shell select,.panel-shell textarea,.embedded-office input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),.embedded-office select,.embedded-office textarea{font-size:16px;min-height:46px}.panel-shell textarea{width:100%}.btn{min-height:44px;font-size:12px;padding:10px 13px}.kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kpi{padding:15px!important;min-height:120px;align-items:flex-start}.kpi .v{font-size:22px}.kpi .t{font-size:10px;padding-left:25px}.kpi .sub{font-size:9px}.dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stat-icon{position:absolute;left:11px;top:12px;width:27px;height:27px;border-radius:8px}.stat-icon .icon{width:17px;height:17px}.operations-strip{font-size:11px;padding:13px}.operations-strip .strip-link{margin:0}.kv{grid-template-columns:1fr;gap:12px}.actions{align-items:stretch;gap:9px}.actions input{max-width:100%;min-width:0!important}.profile-search{display:grid;grid-template-columns:minmax(0,1fr)}.profile-search .btn{width:100%}.profile-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.profile-header{gap:15px}.profile-tabs a{font-size:12px!important;padding:9px 15px!important}.capability-list{grid-template-columns:1fr}.tariff-grid{grid-template-columns:1fr;gap:10px}.tariff-field{padding:14px}.pricing-form label:has(input[type=radio]){padding:13px!important}.pricing-form label .muted{display:block;margin-top:5px}.pricing-form label>div{padding-right:0!important}.dispatch-list{grid-template-columns:minmax(0,1fr)}.dispatch-list>input,.dispatch-list>select{font-size:16px!important}.trip-open{min-height:135px}#detail-map{height:300px}.detail-head h2{font-size:18px}.detail-grid{gap:18px}.dispatch-empty{padding:50px 18px!important}.dispatch-empty h2{font-size:18px}.detail-grid dd{font-size:13px}.office-trip-form{padding:17px}.office-map-tools{flex-wrap:wrap;gap:10px}.office-pick{width:100%}.office-pick .btn{flex:1}.office-search{flex-wrap:wrap}.office-search input{width:100%;flex:1 1 100%}.office-fare-value{font-size:27px}.office-confirm{font-size:11px;gap:7px}.grant-grid{grid-template-columns:1fr}.staff-actions{padding:0}.staff-member{padding:14px}.support-case{padding:17px}.support-message{padding:17px}.support-message small{font-size:10px}.support-body{font-size:13px}.hq-inline input{min-width:0;width:100%}.hq-form-actions{gap:9px}.hq-form-actions .btn{flex:1}.hq-review{grid-template-columns:1fr}.receipt-page main{padding:24px 20px}.receipt-page dl{grid-template-columns:92px minmax(0,1fr);font-size:12px}.receipt-page .fare strong{font-size:21px}.receipt-page h1{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.receipt-page{background:white}.receipt-page main{max-width:none;width:100%;margin:0;border:0;border-radius:0;box-shadow:none;padding:0}.receipt-page .tools{display:none!important}.receipt-page .fare{-webkit-print-color-adjust:exact;print-color-adjust:exact}.panel-header,.panel-shell>aside,.menu-toggle{display:none}@page{size:A4;margin:16mm}}
/* Case detail and driver search components. */
.driver-search-card{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;background:white;border:1px solid var(--line);border-radius:14px;padding:22px;align-items:end;max-width:950px}.driver-search-card .search-field{display:flex;flex-direction:column;gap:8px;min-width:0}.driver-search-card label{font-size:11px}.driver-search-card input{width:100%;min-width:0!important;flex:none}.driver-search-card .btn{height:44px}.trip-summary-head{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;padding-bottom:20px;border-bottom:1px solid var(--line)}.trip-summary-head h2{font-size:25px;margin:4px 0 0}.trip-people{display:grid;grid-template-columns:1fr 1fr;gap:20px;padding:22px 0;border-bottom:1px solid var(--line)}.trip-people>div{display:flex;align-items:center;gap:12px}.person-symbol{width:42px;height:42px;border-radius:12px;background:#f0f5f4;color:#5d7b78;display:grid;place-items:center;flex:none}.trip-people small{display:block;font-size:10px;color:var(--muted)}.trip-people strong{font-size:13px;display:block}.trip-people a:hover{color:#0f7b6c}.trip-summary-grid{display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:30px;align-items:center;padding-top:22px}.trip-route{position:relative;padding-right:26px}.trip-route:before{content:'';position:absolute;right:6px;top:14px;bottom:30px;border-right:1px dashed #b9c8d2}.trip-route>div{position:relative;padding-bottom:15px}.trip-route>div:last-child{padding-bottom:0}.trip-route small{font-size:10px;color:var(--muted)}.trip-route p{font-size:13px;margin:4px 0 0;line-height:2;overflow-wrap:anywhere}.route-mark{position:absolute;right:-26px;top:9px;width:13px;height:13px;display:block;box-shadow:0 0 0 4px white;background:#2d4bcb;border-radius:50%;border:3px solid #d7e0fc}.route-mark.destination{background:#182534;border:3px solid #e0e5e8;border-radius:3px}.trip-fare-box{padding:20px;border-radius:12px;border:1px solid #d9e9e1;background:#f2f8f4}.trip-fare-box>small{display:block;font-size:11px;color:#648172}.trip-fare-box strong{display:block;font-size:27px;color:#0f6756;margin:9px 0}.trip-fare-box strong small{font-size:11px;font-weight:400}.trip-fare-box>div{font-size:11px;color:#61796e;margin-top:7px}.trip-information-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.trip-timeline{list-style:none;padding:0 20px 0 0;margin:20px 0 0;border-right:1px solid #dce8e1}.trip-timeline li{position:relative;padding:0 0 20px 10px;font-size:12px}.trip-timeline li:before{content:'';position:absolute;width:9px;height:9px;border-radius:50%;background:#0f7b6c;right:-25px;top:8px;box-shadow:0 0 0 4px white}.trip-timeline li.waiting:before{background:#c9d3da}.trip-timeline li time{display:block;font-size:10px;color:#7d8e97;margin-top:4px}.trip-timeline li:last-child{padding-bottom:0}.boarding-note{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin-top:22px;padding:15px;background:#f2f5fc;border:1px solid #dce4f5;border-radius:10px;font-size:12px}.boarding-note strong{font-size:22px;letter-spacing:7px}.boarding-note small{font-size:10px;color:#73849a}
@media(max-width:900px){.driver-search-card{grid-template-columns:1fr 1fr}.driver-search-card .btn{grid-column:1/-1}.trip-summary-grid{grid-template-columns:minmax(0,1fr) 230px}.trip-information-grid{grid-template-columns:1fr}}
@media(max-width:600px){.driver-search-card{grid-template-columns:minmax(0,1fr);padding:17px}.trip-summary-head h2{font-size:22px}.trip-people{grid-template-columns:1fr;gap:16px}.trip-summary-grid{grid-template-columns:1fr;gap:18px}.trip-fare-box{padding:17px}.trip-fare-box strong{font-size:26px}.trip-summary-head>.actions{width:100%}.trip-summary-head>.actions .btn{width:100%}}
/* Put the map before lengthy fields on phones; keep the open request in view. */
@media(max-width:700px){.office-map-card{order:-1}.dispatch-grid:has(#draft-frame:not([hidden])) .dispatch-main,.dispatch-grid:has(#detail-view:not([hidden])) .dispatch-main{order:-1}.embedded-office .office-map-card{order:-1}}
@media(max-width:700px){.office-trip-grid>.office-map-card{grid-row:1}.office-trip-grid>.office-trip-form{grid-row:2}}
