/* SEPINDAR panel UI 2026-11-01, only loaded in private workspaces */
:root{--s-navy:#06264f;--s-ink:#18324d;--s-gold:#af8b3e;--s-border:#dce5ed;--s-shadow:0 10px 25px rgba(7,38,79,.055)}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{font-size:16px;line-height:1.72;color:var(--s-ink)}
body :is(p,li,dd){line-height:1.75}
body :is(label,legend,small,.muted,.meta,.hint){font-size:14px;line-height:1.65}
body :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){font-size:16px;line-height:1.55;min-height:46px;max-width:100%;border-radius:12px;color:var(--s-ink)}
body textarea{min-height:100px}
body :is(button,.btn,.portal-btn,.app-button,[role="button"]){font-size:15px;min-height:44px;border-radius:12px;line-height:1.5;font-weight:650}
body :is(a,button,input,select,textarea,summary):focus-visible{outline:2px solid var(--s-gold);outline-offset:3px}
body :is(button,input,select,textarea):disabled{cursor:not-allowed;opacity:.65}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
body :is(h1,h2,h3){letter-spacing:0;line-height:1.45;overflow-wrap:anywhere}
body h1{font-size:clamp(24px,2.2vw,31px)}
body h2{font-size:clamp(19px,1.6vw,24px)}
body h3{font-size:clamp(17px,1.4vw,20px)}
body :is(th,td){font-size:14px;line-height:1.65;padding:11px 12px}
body th{background:#f6f8fb;color:#3b526a;font-weight:700}
body :is(table,.tablewrap){max-width:100%}
body details>summary{min-height:44px;padding-block:12px;cursor:pointer}
body :is(.warn,.notice,.app-feedback){font-size:14px;border-radius:13px;line-height:1.7}
.shell>.main{color:var(--s-ink);background:#f7f9fc}
.shell>.main .top h1{color:var(--s-navy)}
.shell>.main>header:not(.top) h1{color:#fff}
.shell>.main :is(section,.card,.panel,.tile,.stat,.kpi){border-radius:16px;border-color:var(--s-border)}
.shell>.main :is(section,.card,.panel,.tile,.stat,.kpi):not(.map-container):not(.hero){background-color:#fff;box-shadow:var(--s-shadow)}
.shell>.main :is(.grid,.emp-grid,.form-grid),.shell>.main :is(.grid,.emp-grid,.form-grid)>*{min-width:0}
.shell>.main :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]){min-height:46px;border:1px solid #cbd8e4;padding:11px 13px}
.shell>.main :is(th,td){border-bottom:1px solid #e7edf4}
.sep-admin-sidebar .sep-admin-link{font-size:14px;line-height:1.55}
.sep-admin-sidebar :is(.sep-admin-search input,.sep-admin-link small,.sep-admin-profile small,.sep-admin-brand small){font-size:14px}
.sep-admin-sidebar :is(.sep-admin-link,.sep-admin-search){border-radius:13px}
.shell>.main .fleet-shipment-suggestions button{background:#fff;color:var(--s-ink);box-shadow:none;border:0;border-bottom:1px solid #e9eef4;text-align:start}
.shell>.main .fleet-shipment-suggestions button:is(:hover,:focus-visible){background:#f4f7fb}
:where(.portal-v400-card,.portal-v400-sidebar,.app-card,.card,.sp-kpi,.customer-shell .panel){border-radius:16px;border-color:var(--s-border);box-shadow:var(--s-shadow)}
:where(.portal-v400-card,.portal-v400-sidebar,.app-card,.sp-kpi){background:#fff}
:where(.portal-v400-actions a,.portal-v400-actions button,.app-actions a,.app-actions button,.portal-btn){font-size:15px;min-height:46px;border-radius:12px}
:where(.portal-v400-brand p,.portal-v400-card p,.app-card p,.app-hero p){font-size:15px;line-height:1.75}
.portal-v400-brand small,.portal-v400-count,.sp-kpi-label,.app-eyebrow,.sp-empty-eyebrow,.app-status{font-size:14px;letter-spacing:0}
.portal-v400-card-head h2,.app-card h2{font-size:20px}
.sp-kpi-value{font-size:clamp(19px,2vw,24px)}
.portal-v400-shipments>.portal-v400-empty{font-size:14px}
.portal-v400-sidebar-head h2{font-size:18px}
.app-bottom{background:#fff;border-top:1px solid var(--s-border);box-shadow:0 -3px 14px rgba(6,38,79,.04)}
.app-bottom a{font-size:14px;color:#50647b}
.app-bottom a.active{color:var(--s-navy)}
body .tablewrap{max-width:100%;overflow-x:auto}
@media(max-width:900px){.shell>.main{padding:18px 13px 30px}.shell>.main :is(.grid,.emp-grid,.form-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,275px),1fr))}.shell>.main :is(section,.card,.panel){padding:clamp(14px,3vw,20px)}}
@media(max-width:650px){body{font-size:15.5px}body :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){font-size:16px}body :is(th,td){font-size:14px;padding:10px}.shell>.main :is(section,.card,.panel){margin-bottom:12px;border-radius:14px}}
@media print{.shell>.main :is(section,.card,.panel),.portal-v400-card,.app-card{box-shadow:none}}

/* QA screenshot refinements: prevent stretched empty cards and tiny labels. */
.shell>.main .grid{align-items:start}
.shell>.main :is(label,legend){font-size:15px}
.shell>.main :is(.card,.panel,section) :is(small,.muted){font-size:14px}
.client-app .app-quick b{font-size:16px;line-height:1.5}
.client-app .app-quick span,.client-app .app-quick small{font-size:14px;line-height:1.6}
.client-app .app-bottom a{font-size:14px;line-height:1.4}
.client-app .app-brand small,.client-app .app-hero p{font-size:14px}
.client-app .app-eyebrow,.client-app .app-info{font-size:14px}
.portal-v400-brand small,.portal-v400-brand p{font-size:14px}
.portal-v400-actions a,.portal-v400-actions button{font-size:15px}
.sp-kpi-label,.sp-channel-name,.sp-channel-note,.sp-settings-heading small,
.sp-pref-field,.sp-portal-foot,.sp-empty-info,.sp-empty-eyebrow,
.portal-v400-count,.portal-v400-shipments>.portal-v400-empty,
.sp-pref-field :is(label,small),.sp-telegram-body{font-size:14px;line-height:1.6}
.sp-copy-btn,.sp-empty-actions .portal-btn,.portal-v400-inline-actions .portal-btn{font-size:14px;min-height:44px}
@media(max-width:430px){.client-app .app-bottom a{font-size:14px}}

/* Fleet assignment two columns, one column on small screens. */
.shell>.main section:has(#fleet-shipment-ref) .grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:650px){.shell>.main section:has(#fleet-shipment-ref) .grid{grid-template-columns:1fr}}

/* SEPINDAR card palette pass 4: calibrated navy / warm gold / subtle neutrals. */
/* Dashboard KPI surfaces, including employee-sensitive operational totals. */
.shell>.main .metric-row>.card,
.shell>.main .ref-kpis>.ref-kpi,
.shell>.main :is(.customer-card,.section-card,.ref-panel){
  border:1px solid #dbe4ee;
  border-radius:17px;
  box-shadow:0 8px 24px rgba(6,38,79,.045);
}
.shell>.main .metric-row>.card,
.shell>.main .ref-kpis>.ref-kpi{
  background:linear-gradient(155deg,#ffffff 60%,#f4f7fb 100%);
  border-top:3px solid #b68c3c;
}
.shell>.main .metric-row>.card:nth-child(even),
.shell>.main .ref-kpis>.ref-kpi:nth-child(even){
  background:linear-gradient(155deg,#ffffff 60%,#f0f5fa 100%);
  border-top-color:#52789e;
}
.shell>.main .metric-row>.card :is(strong,b),
.shell>.main .ref-kpi :is(strong,b){color:#092d54}
.shell>.main .ref-command{
  background:linear-gradient(115deg,#0a2a50,#17416a);
  border:1px solid rgba(194,157,71,.35);
  box-shadow:0 12px 25px rgba(6,38,79,.09);
}
.shell>.main section.ref-command :is(h1,h2,h3){color:#fff}
.shell>.main .notice:not(.error),
.shell>.main .section-note:not(.error){background:#f6f8fb;border-color:#dce5ee;color:#36536f}
.shell>.main :is(.badge.ok,.status-ok){background:#eaf4ef;border-color:#cfdfd5;color:#276143}
.shell>.main :is(.badge.warn,.status-warn){background:#fff7e5;border-color:#ead9a7;color:#865f18}
.shell>.main :is(.badge.error,.status-error){background:#fff0ef;border-color:#efd1cf;color:#9b3e34}
/* Customer: use color as a cue, not dominant card fills. */
.portal-v400 .sp-kpi{
  border:1px solid #dfe7ef;
  background:#fff;
  box-shadow:0 8px 22px rgba(6,38,79,.043);
}
.portal-v400 .sp-kpi:nth-child(1){border-top:3px solid #b68c3c;background:linear-gradient(155deg,#fff 72%,#fffaf0)}
.portal-v400 .sp-kpi:nth-child(2){border-top:3px solid #5881a2;background:linear-gradient(155deg,#fff 72%,#f2f7fb)}
.portal-v400 .sp-kpi:nth-child(3){border-top:3px solid #749c91;background:linear-gradient(155deg,#fff 72%,#f2f8f6)}
.portal-v400 :is(.portal-v400-card,.portal-v400-sidebar){
  border:1px solid #dde6ef;background:#fff;
  box-shadow:0 9px 24px rgba(6,38,79,.045);
}
.portal-v400 .portal-v400-shipment:not(.active){background:#fafcfe;border-color:#e1e9f1}
.portal-v400 .portal-v400-shipment.active{background:linear-gradient(120deg,#0b325d,#14527b);color:#fff}
.client-app :is(.app-quick,.app-card,.app-shipment){
  border:1px solid #dfe7ef;
  background:#fff;
  box-shadow:0 7px 22px rgba(6,38,79,.04);
}
.client-app .app-quick:nth-child(even) i{background:#edf3f8;color:#28577b}
.client-app .app-quick:nth-child(odd) i{background:#f8f1e3;color:#926d2d}
.client-app .app-bottom{background:rgba(255,255,255,.98)}
@media(max-width:650px){
 .shell>.main .metric-row>.card,.shell>.main .ref-kpis>.ref-kpi,
 .portal-v400 .sp-kpi{border-radius:14px}
}

/* Measured accessibility repair, iPhone 390px QA, 2026-11-01.
   Only customer login and customer PWA. Public Home/Tracking untouched. */
body.portal-auth-page :is(small,.portal-privacy,.portal-site-back,.sep-footer-apps__disclaimer){
 font-size:14px!important;line-height:1.68;
}
body.portal-auth-page .language-switch :is(a,button),
body.portal-auth-page :is(a,button)[lang],
body.portal-auth-page :is(a,button)[data-lang]{
 min-height:44px;
}
body.portal-auth-page :is(a[href*="forgot"],.portal-site-back){
 display:inline-flex;align-items:center;min-height:44px;font-size:14px;
}
body.client-app .app-network{font-size:14px;line-height:1.65}
body.client-app .app-top :is(a,button)[aria-label]{
 min-width:44px;min-height:44px;
}

/* SEPINDAR workspace premium harmonization v5 — private pages only. */
.shell>.main .top{border-bottom:1px solid #e2e9f1;padding-bottom:19px;margin-bottom:21px}
.shell>.main .top h1{font-size:clamp(26px,2.5vw,35px)!important;letter-spacing:-.02em}
.shell>.main .top p{font-size:15px;line-height:1.7;color:#63778d}
.shell>.main main>p.muted{font-size:14.5px;line-height:1.8}
.shell>.main :is(.card,.panel,.customer-card,.ref-panel,section){
 border:1px solid #dfe7ef;
 border-radius:18px;
 box-shadow:0 9px 29px rgba(8,42,78,.055);
}
.shell>.main :is(.card,.panel,.customer-card,section) :is(h2,h3){
 color:#092d53;letter-spacing:0;font-weight:750;
}
.shell>.main :is(.card,.panel,.customer-card,section) h2{font-size:clamp(19px,1.6vw,23px)}
.shell>.main :is(.card,.panel,.customer-card,section) :is(p,small,.muted){line-height:1.8}
.shell>.main :is(.card,.panel,.customer-card,section) small{font-size:14px}
.shell>.main :is(.grid,.emp-grid){align-items:start}
.shell>.main :is(.emp-grid,.grid)>*{min-width:0}
.shell>.main :is(.card,.panel,.customer-card) label,
.shell>.main section label{font-size:15px;line-height:1.65;color:#35516c;font-weight:650}
.shell>.main :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]){
 border:1px solid #cdd9e6;border-radius:12px;min-height:46px;background:#fff;
 color:#163859;padding:10px 13px;
}
.shell>.main :is(input,select,textarea):focus{
 outline:2px solid #b99a58;outline-offset:1px;border-color:#aa842f;
 box-shadow:0 0 0 3px rgba(192,155,80,.13);
}
.shell>.main :is(button,.btn):not([type="radio"]):not(.secondary){
 border-radius:12px;min-height:44px;font-weight:700;
}
.shell>.main :is(.btn.primary,button.primary){
 background:linear-gradient(125deg,#0c315c,#164976);
 color:#fff;box-shadow:0 5px 14px rgba(5,42,77,.13);
}
.shell>.main :is(.btn.primary,button.primary):hover{background:#1d4d7a}
.shell>.main :is(.emp-tabs,.tabs,.ref-tabs){border-radius:14px;gap:6px}
.shell>.main .emp-tabs{padding:5px;background:#edf2f7;border:1px solid #dde5ef;display:flex;flex-wrap:wrap}
.shell>.main .emp-tabs>a{border-radius:11px;min-height:43px;padding:9px 15px;font-size:14px;font-weight:700}
.shell>.main .emp-tabs>a.current{background:#0b315b;color:#fff;border:1px solid #0b315b}
.shell>.main .emp-wrap .card{padding:clamp(18px,2vw,26px)}
.shell>.main .emp-wrap .actions-row{display:flex;gap:9px;flex-wrap:wrap}
.shell>.main .customer-card{background:#fff;border-top:3px solid #c3a263}
.shell>.main .customer-card :is(.secure-output,.secure-once-v40){border-radius:13px}
.shell>.main .customer-card :is(.hint,.muted){color:#5c7087;font-size:14px}
.shell>.main table{border-spacing:0;border-collapse:separate}
.shell>.main table th{background:#eff4f8;color:#314e69;font-size:14px;padding:13px}
.shell>.main table td{font-size:14.5px;padding:13px;line-height:1.65}
.shell>.main table tbody tr:hover{background:#fafcff}
.shell>.main section:has(#fleet-shipment-ref){border-top:3px solid #b6914b}
.shell>.main .fleet-create-tools{
 border:1px solid #dfe6ee;border-top:3px solid #7893b0;
 background:linear-gradient(135deg,#fff,#f9fbfd);
 border-radius:17px;box-shadow:0 7px 21px rgba(8,42,78,.045);
 padding:13px 16px;
}
.shell>.main .fleet-create-tools summary{color:#0c335d;font-size:16px;font-weight:750;min-height:44px}
.shell>.main .fleet-create-tools[open]{padding-bottom:19px}
.shell>.main .fleet-create-tools .grid{gap:14px}
.shell>.main .fleet-create-tools section{box-shadow:none;border:1px solid #e3eaf1}
.shell>.main #fleet-shipment-suggestions{border-radius:12px;box-shadow:0 14px 32px rgba(6,38,79,.12)}
.shell>.main #fleet-container-hint{font-size:14px;color:#567289}
.shell>.main section:has(.sep-fleet-map-table) h2{font-size:20px}
@media(max-width:760px){
 .shell>.main :is(.card,.panel,.customer-card,section){border-radius:14px}
 .shell>.main :is(.emp-tabs,.tabs){width:100%}
 .shell>.main .emp-tabs>a{flex:1;min-width:80px;justify-content:center;text-align:center}
 .shell>.main .fleet-create-tools{padding:12px}
}
