/* ===== MrTelex v6 — approved app-style redesign: shell and design system =====
   Loaded after every other stylesheet. Visual only; no route, permission or business rule depends on it.
   Colours: the site's own brand palette (navy #0A2E5C / #082a55, blue #0B63CE / #1479e0, orange #F07C1E) and one
   accent per role — shipper blue, carrier orange, customs broker purple, admin navy (client decision, v6.1). */
:root{--v4-bg:#f2f5fa;--v4-line:#e3e9f2;--v4-mut:#6b7d93;--v4-sh:0 1px 2px rgba(10,40,80,.04),0 8px 24px rgba(10,40,80,.06);--r:18px}
.app{--acc:#1479e0;--acc-d:#0B63CE;--acc-bg:#e8f1fd;--acc-glow:rgba(20,121,224,.38)}
.app.r-shipper{--acc:#1479e0;--acc-d:#0B63CE;--acc-bg:#e8f1fd;--acc-glow:rgba(20,121,224,.38)}
.app.r-carrier{--acc:#F07C1E;--acc-d:#D9670C;--acc-bg:#fff1e3;--acc-glow:rgba(240,124,30,.38)}
.app.r-broker{--acc:#6A4C93;--acc-d:#5a3f80;--acc-bg:#efeaf7;--acc-glow:rgba(106,76,147,.36)}
.app.r-admin{--acc:#1d4f8f;--acc-d:#082a55;--acc-bg:#e6edf6;--acc-glow:rgba(8,42,85,.32)}
html,body{background:var(--v4-bg)!important}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- desktop shell: navy side bar on the right, white header with global search ---------- */
@media (min-width:901px){
  .app{padding:0!important;gap:0!important;min-height:100vh}
  .side{width:250px!important;margin:0!important;border-radius:0!important;height:100vh!important;top:0!important;position:sticky!important;
    background:linear-gradient(180deg,#071d3f 0%,#082a55 60%,#0a3d86 100%)!important;box-shadow:none!important;border:0!important;padding:14px 12px!important}
  .side .s-top{display:none!important}
  .app>.main{min-width:0;display:flex;flex-direction:column;min-height:100vh}
  .app>.main>.top{position:sticky!important;top:0!important;z-index:40;flex:none;height:66px!important;margin:0!important;padding:0 22px!important;border-radius:0!important;
    background:#fff!important;border:0!important;border-bottom:1px solid var(--v4-line)!important;box-shadow:inset 0 -3px 0 var(--acc)!important;gap:12px!important;backdrop-filter:none!important}
  .app>.main>.content{flex:1;padding:22px 24px 34px!important}
  .app>.main.has-ph>.top .ttl-w{visibility:hidden}
  .top .top-logo{display:inline-flex!important;align-items:center}
  .top .top-logo .logo{padding:0!important;color:#0A2E5C!important}
  .top .top-logo .logo span,.top .top-logo .logo b{color:#0A2E5C!important}
}
.side{display:flex!important;flex-direction:column!important;overflow:hidden!important}
.side .rolecard.who{display:flex!important;flex:none!important;align-items:center;gap:10px;padding:12px!important;margin:4px 2px 12px!important;border-radius:16px!important;
  background:rgba(255,255,255,.08)!important;border:1px solid rgba(255,255,255,.12)!important;color:#fff!important;text-decoration:none;box-shadow:none!important}
.side .who .av{width:42px;height:42px;flex:none;border-radius:50%;display:grid;place-items:center;font-weight:900;font-size:17px;background:var(--acc)!important;color:#fff!important;border:2px solid rgba(255,255,255,.3)}
.side .who .n{display:block;font-weight:800;font-size:13.5px;color:#fff}
.side .who .t{display:block;font-size:11px;color:#b6cdea;margin-top:2px;line-height:1.5}
.side .snav{gap:2px!important;flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.22) transparent}
.side .snav a{color:#d6e3f5!important;border-radius:12px!important;padding:10px 12px!important;font-weight:600!important;background:transparent!important;border:0!important;box-shadow:none!important}
.side .snav a .i{color:#9fc0e6!important}
.side .snav a:hover{background:rgba(255,255,255,.08)!important;color:#fff!important}
.side .snav a.on{background:var(--acc)!important;color:#fff!important;box-shadow:0 8px 18px var(--acc-glow)!important}
.side .snav a.on .i{color:#fff!important}
.side .snav a.cta{background:var(--acc)!important;color:#fff!important;font-weight:800!important;margin-bottom:8px!important;justify-content:center;box-shadow:0 8px 18px var(--acc-glow)!important}
.side .snav a.cta .i{color:#fff!important}
.side .snav .cnt{background:#F07C1E!important;color:#fff!important;border:0!important}
.r-carrier .side .snav .cnt{background:#fff!important;color:#D9670C!important}
.side .snav .sep{border-color:rgba(255,255,255,.12)!important;background:rgba(255,255,255,.12)!important}
.side .s-card{flex:none;display:flex;flex-direction:column;gap:6px;margin:12px 2px 8px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.09);border:1px solid rgba(255,255,255,.14);color:#fff;text-decoration:none}
.side .s-card .xs{color:#b6cdea}
.side .s-card b{font-size:15px;color:#fff}
.side .s-card .btn{background:var(--acc)!important;color:#fff!important;border:0!important}
.side .s-card .btn-ghost{background:rgba(255,255,255,.12)!important}
.side .s-bot{flex:none!important;border-top:1px solid rgba(255,255,255,.12)!important;padding-top:10px!important}
.side .s-bot .btn{color:#d6e3f5!important;background:transparent!important;border-color:rgba(255,255,255,.2)!important}

/* global search */
.gsearch{display:flex;align-items:center;gap:8px;flex:0 1 440px;min-width:0;height:42px;padding:0 14px;border-radius:14px;background:#f2f5fa;border:1px solid var(--v4-line);color:var(--v4-mut)}
.gsearch input{border:0!important;background:transparent!important;outline:0;flex:1;min-width:0;font:inherit;font-size:13px;color:#0A2E5C;box-shadow:none!important;padding:0!important;height:auto!important}
.gsearch:focus-within{border-color:var(--acc);box-shadow:0 0 0 3px var(--acc-bg);background:#fff}
.gsearch kbd{font:600 10.5px/1 Vazirmatn,Tahoma,sans-serif;color:var(--v4-mut);background:#fff;border:1px solid var(--v4-line);border-radius:6px;padding:4px 6px;direction:ltr}

/* search results */
.srch .srch-it{display:flex;align-items:center;gap:10px;padding:10px 12px;border-radius:12px;border:1px solid var(--v4-line);background:#fff;color:inherit;text-decoration:none}
.srch .srch-it:hover{border-color:var(--acc);background:var(--acc-bg)}
.srch .srch-it b{color:#0A2E5C;direction:ltr;unicode-bidi:isolate}
@media (max-width:640px){.srch .srch-it{flex-wrap:wrap;row-gap:4px}.srch .srch-it .grow{flex-basis:100%;order:3}}

/* ---------- mobile shell: navy header tinted with the role colour, search row, bottom bar with raised action ---------- */
@media (max-width:900px){
  .app>.main>.top{background:linear-gradient(135deg,#082a55,var(--acc-d))!important;border:0!important;border-radius:0 0 22px 22px!important;margin:0 0 6px!important;
    padding:10px 12px 12px!important;flex-wrap:wrap;row-gap:10px!important;height:auto!important;min-height:0!important;box-shadow:0 8px 20px rgba(8,42,85,.18)!important;position:sticky;top:0;z-index:40}
  .app>.main>.top .crumb{color:#c9daf0!important}
  .app>.main>.top .ttl{color:#fff!important}
  .app>.main>.top .icon-btn,.app>.main>.top .u-back,.app>.main>.top .wchip{background:rgba(255,255,255,.14)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:none!important}
  .app>.main>.top .wchip .i,.app>.main>.top .icon-btn .i{color:#fff!important}
  .gsearch{order:10;flex:1 1 100%;height:40px;background:#fff;border:0}
  .app .bnav a.mid .pi{background:linear-gradient(135deg,var(--acc),var(--acc-d))!important;box-shadow:0 10px 22px var(--acc-glow)!important}
}

/* ---------- v6.1 desk (dashboards): photo banner + KPI column, quick-action strip ---------- */
.desk-top{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:16px;margin-bottom:16px;align-items:stretch}
.desk-top.solo{grid-template-columns:1fr}
.desk-top .ph.u3-hero{margin:0!important;min-height:230px;grid-template-columns:1fr!important;align-content:center;border-radius:22px!important}
.desk-top .u3-intro{max-width:52%}
@media (max-width:1200px){.desk-top .u3-intro{max-width:70%}}
.desk-top .ph.u3-hero::after{display:none}
.desk-kpi .journey{display:grid!important;grid-template-columns:1fr 1fr!important;gap:10px!important;height:100%;margin:0!important}
.desk-kpi .journey a{display:flex!important;flex-direction:column;justify-content:center;gap:2px;padding:10px 12px!important;min-height:0!important;border-radius:16px!important;background:#fff!important;border:1px solid var(--v4-line)!important;box-shadow:var(--v4-sh)!important}
.desk-kpi .journey a .sv{font-size:22px!important;font-weight:900;color:var(--acc-d)!important;order:-1}
.desk-kpi .journey a .sl{font-size:12px!important;color:#34475c;font-weight:700}
.desk-kpi .journey a .sn{font-size:10.5px!important;color:var(--v4-mut)}
.desk-kpi .journey a.next{border-color:var(--acc)!important;background:var(--acc-bg)!important}
.desk-kpi .journey a.next .sn{color:var(--acc-d);font-weight:800}
.desk-kpi .journey a::before,.desk-kpi .journey a::after{display:none!important}
.desk-acts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:12px!important;margin:0 0 18px!important}
.desk-acts .u3-tile{display:flex!important;flex-direction:row!important;align-items:center;justify-content:flex-start!important;gap:12px;min-height:64px!important;padding:12px 14px!important;border-radius:18px!important;
  background:#fff!important;border:1px solid var(--v4-line)!important;color:#0A2E5C!important;box-shadow:var(--v4-sh)!important;font-weight:800;text-align:right}
.desk-acts .u3-tile .u3-ti{width:42px;height:42px;flex:none;border-radius:13px;display:grid;place-items:center;background:var(--acc-bg);color:var(--acc-d)}
.desk-acts .u3-tile .u3-ti .i{width:22px!important;height:22px!important}
.desk-acts .u3-tile>.i{color:var(--v4-mut);width:16px;height:16px}
.desk-acts .u3-tile.main{background:linear-gradient(135deg,var(--acc),var(--acc-d))!important;border-color:transparent!important;color:#fff!important;box-shadow:0 10px 24px var(--acc-glow)!important}
.desk-acts .u3-tile.main .u3-ti{background:rgba(255,255,255,.2);color:#fff}
.desk-acts .u3-tile.main>.i{color:#fff}
.wdesk{border-top:3px solid #F07C1E!important}
@media (max-width:1200px){.desk-top{grid-template-columns:1fr}.desk-kpi .journey{grid-template-columns:repeat(3,1fr)!important}}
@media (max-width:900px){
  .desk-top .ph.u3-hero{min-height:0}
  .desk-kpi .journey{grid-template-columns:1fr 1fr!important}
  .desk-acts{grid-template-columns:1fr 1fr!important}
}

/* ===================== v6.2 — workspace layout of list pages (loads, capacity, market, warehouse, clearance…) ===================== */
:is(.content.wsp,.pub-wsp.pub-vw){display:flex;flex-wrap:wrap;align-content:flex-start;align-items:center;gap:12px}
:is(.content.wsp,.pub-wsp.pub-vw)>*{flex:1 1 100%;min-width:0;margin:0!important}
:is(.content.wsp,.pub-wsp.pub-vw)>div[style^="height"]{display:none}
:is(.content.wsp,.pub-wsp.pub-vw)>.ph{order:-2;flex:1 1 380px;align-items:center;gap:10px;flex-wrap:nowrap}
:is(.content.wsp,.pub-wsp.pub-vw)>.ph>div:last-child:not(:first-child){margin-inline-start:auto;flex-wrap:nowrap}
:is(.content.wsp,.pub-wsp.pub-vw)>.ph h1{font-size:22px!important}
:is(.content.wsp,.pub-wsp.pub-vw)>.ph p{margin-top:2px;font-size:12.5px}
:is(.content.wsp,.pub-wsp.pub-vw)>.subnav{order:-1;flex:0 1 auto;max-width:100%;padding:4px!important;gap:4px!important}
:is(.content.wsp,.pub-wsp.pub-vw)>.subnav a{padding:7px 12px;font-size:12.5px}
:is(.content.wsp,.pub-wsp.pub-vw)>.subnav a.on{background:var(--acc)!important;color:#fff}
:is(.content.wsp,.pub-wsp.pub-vw)>.vw-bar{flex:1 1 100%;padding:6px 8px!important;gap:8px!important;min-height:0}
:is(.content.wsp,.pub-wsp.pub-vw)>.tabs{flex:1 1 auto;margin:0!important}
:is(.content.wsp,.pub-wsp.pub-vw)>.filterbar{flex:1 1 300px;max-width:440px;padding:6px 8px!important;gap:8px!important;align-items:flex-end;border-top:0!important}
:is(.content.wsp,.pub-wsp.pub-vw)>.filterbar:not(.fdr) .field{display:flex!important;flex-direction:column!important;align-items:stretch;gap:3px;flex:1 1 200px;margin:0!important}
/* v6.6.1: every filter field keeps a visible title (no unlabeled boxes) */
:is(.content.wsp,.pub-wsp.pub-vw)>.filterbar:not(.fdr) .field>label{position:static!important;width:auto;height:auto;overflow:visible;clip:auto;white-space:nowrap;font-size:11px;font-weight:600;color:#6b7c90;margin:0}
:is(.content.wsp,.pub-wsp.pub-vw)>.filterbar .in{min-height:36px}
:is(.content.wsp,.pub-wsp.pub-vw)>.pager{margin-top:0!important}
:is(.content.wsp,.pub-wsp.pub-vw)>.notice{padding:8px 12px}
.vw-exp{display:inline-flex;gap:0}
.vw-exp .btn:first-child{border-start-end-radius:0;border-end-end-radius:0}
.vw-exp .btn+.btn{border-start-start-radius:0;border-end-start-radius:0;margin-inline-start:-1px}
.vw-sw .vw-b.on{background:var(--acc-d)!important;color:#fff!important}

/* compact entity cards (same content, less height) */
:is(.content.wsp,.pub-wsp.pub-vw) .results{gap:12px!important}
:is(.content.wsp,.pub-wsp.pub-vw) .ent{padding:10px 13px!important;padding-inline-start:16px!important;gap:5px!important}
:is(.content.wsp,.pub-wsp.pub-vw) .ent .route .wire{margin-top:0}
:is(.content.wsp,.pub-wsp.pub-vw) .ent .route .city{font-size:15px}
:is(.content.wsp,.pub-wsp.pub-vw) .ent .route{margin:0!important}
:is(.content.wsp,.pub-wsp.pub-vw) .ent .meta .chip{padding:2px 8px;font-size:11.5px}
:is(.content.wsp,.pub-wsp.pub-vw) .ent .foot{padding-top:7px}
:is(.content.wsp,.pub-wsp.pub-vw) .vw-card{padding:12px 14px!important;gap:8px!important}
:is(.content.wsp,.pub-wsp.pub-vw) .tbl td,:is(.content.wsp,.pub-wsp.pub-vw) .tbl th{padding-top:9px!important;padding-bottom:9px!important}
:is(.content.wsp,.pub-wsp.pub-vw) .vw-table tbody tr[data-href]{cursor:pointer}
:is(.content.wsp,.pub-wsp.pub-vw) .vw-table tbody tr[data-href]:hover td{background:var(--acc-bg)}

/* map fills the remaining screen height (the map itself pans/zooms; the page does not scroll) */
:is(.content.wsp,.pub-wsp.pub-vw)>.vm-ctl{flex:1 1 100%}
:is(.content.wsp,.pub-wsp.pub-vw) .vm-map{height:var(--fit-h,60vh)!important;min-height:280px}

/* kanban: each column shows what fits, the rest is behind its "more" link (no scrolling lists) */
.kb-col .kb-fitmore{display:block;margin-top:6px;text-align:center;font-weight:800;color:var(--acc-d)}

/* filter drawer (market search with many fields): the form opens as a side panel on demand */
.fdr-btn{display:none}
.fdr-on .fdr-btn{display:inline-flex;flex:0 0 auto!important;align-self:center}
.fdr-on>.filterbar.fdr:not(.open){visibility:hidden;transition:transform .22s ease,visibility 0s .22s}
.fdr-on>.filterbar.fdr{position:fixed;inset:0 auto 0 0;z-index:80;width:min(420px,92vw);max-width:none;flex-direction:column;align-items:stretch;flex-wrap:nowrap;
  border-radius:0 22px 22px 0!important;padding:18px!important;gap:12px!important;transform:translateX(-105%);transition:transform .22s ease;animation:none!important;box-shadow:0 20px 60px rgba(8,42,85,.25)!important}
.fdr-on>.filterbar.fdr .field{flex:none;display:block}
.fdr-on>.filterbar.fdr.open{transform:none}
.fdr-on>.filterbar.fdr .fdr-h{display:flex;align-items:center;justify-content:space-between;font-weight:900;color:#0A2E5C}
.fdr-h{display:none}
.fdr-on>.filterbar.fdr.fdr-init{transition:none!important}
.fdr-mask{position:fixed;inset:0;z-index:79;background:rgba(8,26,48,.35);display:none}
.fdr-mask.open{display:block}

/* stepped forms (create load / capacity): one section at a time with a step bar */
.st-bar{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 12px;padding:6px;background:#fff;border:1px solid var(--v4-line);border-radius:16px;box-shadow:var(--v4-sh)}
.st-bar button{flex:1 1 0;display:flex;align-items:center;gap:8px;justify-content:center;border:0;background:transparent;border-radius:12px;padding:9px 10px;font:inherit;font-size:12.5px;font-weight:800;color:#5a6b7d;cursor:pointer;min-width:0}
.st-bar button span.n{width:24px;height:24px;flex:none;border-radius:50%;display:grid;place-items:center;background:#eef2f7;color:#5a6b7d;font-size:12px}
.st-bar button.on{background:var(--acc-bg);color:var(--acc-d)}
.st-bar button.on span.n,.st-bar button.done span.n{background:var(--acc);color:#fff}
.st-bar button b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.st-hide{display:none!important}
.st-nav{display:flex;gap:10px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.st-nav .st-pos{font-size:12px;color:var(--v4-mut);font-weight:700}

@media (max-width:900px){
  :is(.content.wsp,.pub-wsp.pub-vw){gap:10px}
  :is(.content.wsp,.pub-wsp.pub-vw)>.ph h1{font-size:19px!important}
  :is(.content.wsp,.pub-wsp.pub-vw)>.subnav,:is(.content.wsp,.pub-wsp.pub-vw)>.vw-bar,:is(.content.wsp,.pub-wsp.pub-vw)>.tabs,:is(.content.wsp,.pub-wsp.pub-vw)>.filterbar{flex:1 1 100%}
  .st-bar button b{display:none}
  .st-bar button.on b{display:inline}
}
@media (min-width:901px){:is(.content.wsp,.pub-wsp.pub-vw) .kb{grid-auto-columns:minmax(175px,1fr)}}
:is(.content.wsp,.pub-wsp.pub-vw) .kb-list{max-height:none!important;overflow:visible!important}
/* v6.2 mobile: module links and status tabs become one compact chip strip each (same links, less height) */
@media (max-width:900px){
  .content>.subnav,.content.wsp-det>.subnav,:is(.content.wsp,.pub-wsp.pub-vw)>.subnav,:is(.content.wsp,.pub-wsp.pub-vw)>.tabs,.content>.tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;gap:6px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}
  :is(.content.wsp,.pub-wsp.pub-vw)>.subnav::-webkit-scrollbar,:is(.content.wsp,.pub-wsp.pub-vw)>.tabs::-webkit-scrollbar{display:none}
  .content>.subnav a,.content>.tabs a,.content.wsp-det>.subnav a,:is(.content.wsp,.pub-wsp.pub-vw)>.subnav a,:is(.content.wsp,.pub-wsp.pub-vw)>.tabs a{flex:none!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;min-height:0!important;padding:7px 12px!important;border-radius:99px!important;white-space:nowrap!important;font-size:12.5px!important;background:#fff!important;border:1px solid var(--v4-line)!important;box-shadow:none!important;color:#34475c!important}
  .content>.subnav a .i,.content.wsp-det>.subnav a .i,:is(.content.wsp,.pub-wsp.pub-vw)>.subnav a .i{width:15px!important;height:15px!important;padding:0!important;background:none!important;color:inherit!important}
  .content>.subnav a .cnt,.content.wsp-det>.subnav a .cnt,:is(.content.wsp,.pub-wsp.pub-vw)>.subnav a .cnt{position:static!important}
  .content>.tabs a>.cnt,:is(.content.wsp,.pub-wsp.pub-vw)>.tabs a>.cnt{font-size:11px!important;font-weight:800;color:inherit!important;background:#eef2f7!important;border-radius:9px;padding:0 6px!important}
  .content>.subnav a.on,.content>.tabs a.on,.content.wsp-det>.subnav a.on,:is(.content.wsp,.pub-wsp.pub-vw)>.subnav a.on,:is(.content.wsp,.pub-wsp.pub-vw)>.tabs a.on{background:var(--acc)!important;color:#fff!important;border-color:transparent!important}
  :is(.content.wsp,.pub-wsp.pub-vw)>.tabs a.on>.cnt{background:rgba(255,255,255,.25)!important}
  :is(.content.wsp,.pub-wsp.pub-vw)>.ph{flex-wrap:nowrap}
  :is(.content.wsp,.pub-wsp.pub-vw)>.vw-bar{flex-wrap:nowrap!important;overflow-x:auto;scrollbar-width:none;padding:5px!important}
  :is(.content.wsp,.pub-wsp.pub-vw)>.vw-bar>*{flex:none!important}
  :is(.content.wsp,.pub-wsp.pub-vw)>.vw-bar .vw-sw .vw-b:not(.on) span{display:none}
  :is(.content.wsp,.pub-wsp.pub-vw)>.vw-bar .vw-tools{flex-wrap:nowrap!important}
  :is(.content.wsp,.pub-wsp.pub-vw)>.vw-bar .vw-per label{display:none}
}
@media (min-width:901px){:is(.content.wsp,.pub-wsp.pub-vw) .tbl-vw td,:is(.content.wsp,.pub-wsp.pub-vw) .tbl-vw th{padding-inline:8px!important;font-size:12.5px}}
@media (max-width:900px){.st-bar button.on{flex:3 1 0}}

/* ===================== v6.3 — detail pages, operations room, offers ===================== */
.content.wsp-det>.ph{align-items:center!important;margin-bottom:12px!important;gap:10px}
.content.wsp-det>.ph>div:first-child{display:flex;flex-wrap:wrap;align-items:center;gap:4px 10px;min-width:0}
.content.wsp-det>.ph .back{order:-1;margin:0!important;font-size:0;width:32px;height:32px;flex:none;display:inline-grid!important;place-items:center;border-radius:10px;background:#fff;border:1px solid var(--v4-line);color:var(--acc-d)!important}
.content.wsp-det>.ph .back .i{width:16px;height:16px}
.content.wsp-det>.ph h1{font-size:21px!important;margin:0}
.content.wsp-det>.ph p{margin:0!important;display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.content.wsp-det>div[style="height:14px"]{display:none}

/* KPI strip of a record */
.dkpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px;margin:0 0 12px}
.dkpi{display:flex;align-items:center;gap:12px;background:#fff;border:1px solid var(--v4-line);border-radius:16px;box-shadow:var(--v4-sh);padding:10px 14px;min-width:0}
.dkpi .dk-i{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--acc-bg);color:var(--acc-d)}
.dkpi.t-ok .dk-i{background:#e7f6ee;color:#167a4a}.dkpi.t-cap .dk-i{background:#fff1e3;color:#D9670C}.dkpi.t-warn .dk-i{background:#fff5e0;color:#b4690e}.dkpi.t-mute .dk-i{background:#eef2f7;color:#4d5f73}
.dkpi .dk-b{display:flex;flex-direction:column;min-width:0}
.dkpi .dk-v{font-size:19px;font-weight:900;color:#0A2E5C;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.dkpi .dk-l{font-size:12px;color:var(--v4-mut);font-weight:700}

/* two-column record body: the working list (offers…) on the right, the record facts beside it */
.det2{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(0,1fr);gap:14px;align-items:start}
.det2>.det-main{order:-1}
@media (max-width:1000px){.det2{grid-template-columns:1fr}}

/* offer cards: facts in two pairs per row (same facts, half the height) */
.ocard{gap:8px!important;padding:12px 14px!important}
@media (min-width:640px){
  .ocard .oc-facts{display:grid!important;grid-template-columns:max-content minmax(0,1fr) max-content minmax(0,1fr);gap:4px 10px}
  .ocard .oc-facts{border:0!important;border-radius:0!important;background:none!important;gap:2px 10px!important;padding:6px 0;border-top:1px dashed var(--v4-line)!important;border-bottom:1px dashed var(--v4-line)!important}
  .ocard .oc-facts dt,.ocard .oc-facts dd{margin:0!important;padding:3px 0!important;border:0!important;background:none!important}
  .ocard .oc-facts dt{color:var(--v4-mut);font-weight:700;font-size:12px}
}
.ocard .oc-met{font-size:12px;gap:4px 10px}

/* client-side pager for long lists inside a record (every item stays in the page) */
.fl-pager{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:8px;font-size:12.5px;color:var(--v4-mut);font-weight:700}
.fl-pager button{border:1px solid var(--v4-line);background:#fff;border-radius:10px;padding:5px 12px;font:inherit;color:#0A2E5C;cursor:pointer}
.fl-pager button[disabled]{opacity:.4;cursor:default}

/* operations room frame */
.wsp-room .rhead{padding:7px 12px!important;margin-bottom:10px!important;font-size:12.5px}
.wsp-room .rhead .rh-facts{gap:4px 14px!important}
.wsp-room .rsum{flex-direction:row!important;align-items:center;gap:16px;padding:10px 14px!important;margin-bottom:10px!important;flex-wrap:wrap}
.wsp-room .rsum>.rstep{flex:1 1 520px}
.wsp-room .rsum>.rsum-row{flex:0 1 auto;gap:10px}
.wsp-room .rsum .rstep .dot{width:24px;height:24px;font-size:11px}
.wsp-room .rsum .rstep li::before{top:11px}
.wsp-room .rsum .rstep .lb{font-size:10.5px}
.wsp-room .rtabs{margin-bottom:12px}
.wsp-room .rtabs .tabs{padding:5px!important;gap:4px!important;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}
.wsp-room .rtabs .tabs a{padding:7px 13px!important;white-space:nowrap}
.wsp-room .rtabs .tabs a.on{background:var(--acc-d)!important;border-color:var(--acc-d)!important}
.rov3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;align-items:start}
@media (max-width:1150px){.rov3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.rov3{grid-template-columns:1fr}}
.wsp-room .filterbar{padding:6px 8px!important;align-items:center!important;margin-bottom:10px}
.wsp-room .filterbar .field{display:flex!important;flex-direction:row!important;align-items:center;gap:8px;margin:0!important}
.wsp-room .filterbar .field>label{white-space:nowrap;font-size:12px;color:var(--v4-mut)}
.wsp-room .chat{scroll-behavior:auto}

/* record facts tables: tighter rows on record pages */
.content.wsp-det .kv dt,.content.wsp-det .kv dd{padding-top:6px!important;padding-bottom:6px!important}
.content.wsp-det .tbl td,.content.wsp-det .tbl th{padding-top:7px!important;padding-bottom:7px!important}
@media (max-width:760px){
  .dkpis{grid-template-columns:1fr 1fr;gap:8px}
  .dkpi{padding:8px 10px;gap:8px;border-radius:14px}
  .dkpi .dk-i{width:32px;height:32px;border-radius:10px}
  .dkpi .dk-v{font-size:15px}
  .dkpi .dk-l{font-size:11px}
  .content.wsp-det>.ph{flex-wrap:wrap}
  .content.wsp-det>.subnav{margin-bottom:10px!important}
}
@media (max-width:900px){
  .wsp-room .rtabs .tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;gap:6px!important}
  .wsp-room .rtabs .tabs a{flex:none!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:6px!important;min-height:0!important;padding:7px 12px!important;border-radius:99px!important;white-space:nowrap!important;font-size:12.5px!important;background:#fff!important;border:1px solid var(--v4-line)!important;color:#34475c!important}
  .wsp-room .rtabs .tabs a>.cnt{font-size:11px!important;font-weight:800;color:inherit!important;background:#eef2f7!important;border-radius:9px;padding:0 6px!important}
  .wsp-room .rtabs .tabs a.on{background:var(--acc)!important;color:#fff!important;border-color:transparent!important}
  .wsp-room .rtabs .tabs a.on>.cnt{background:rgba(255,255,255,.25)!important}
  .wsp-room .rhead .rh-facts{font-size:12px}
  .wsp-room .rsum{gap:8px}
}


/* ===================== v6.3.2 — guest header and home page = approved design 1-01 (site palette) ===================== */
.pub{--hm-ink:#0A2E5C;--hm-mut:#6b7c90;--hm-line:#e3eaf4;--hm-blue:#0B63CE;--hm-blue2:#1479e0;--hm-mist:#e8f1fd;--hm-org:#F07C1E;--hm-org2:#D9670C;--hm-orgbg:#fff1e3;--hm-amber:#F7A04E;--hm-bg:#f3f6fa}
/* header */
.pub .pub-h{background:#fff!important;border-bottom:1px solid var(--hm-line)!important;box-shadow:none!important;position:sticky;top:0}
.pub .pub-h::before,.pub .pub-h::after{display:none!important}
.pub .pub-h .in-w{max-width:none!important;height:68px!important;padding:0 28px!important;gap:18px!important;justify-content:flex-start!important}
.pub .pub-h .logo{color:var(--hm-ink)!important;gap:10px}
.pub .pub-h .logo .mk{width:44px;height:44px}
.pub .pub-h .lg-t{display:flex;flex-direction:column;line-height:1.15}
.pub .pub-h .lg-t>span{font-size:22px;font-weight:900;color:var(--hm-ink)}
.pub .pub-h .lg-t>span b{color:var(--hm-ink)}
.pub .pub-h .lg-t small{font-size:10.5px;color:var(--hm-mut);font-weight:600;letter-spacing:.2px;direction:ltr;text-align:right}
.pub .pub-h .pub-nav{display:flex;gap:4px;margin-inline-start:18px}
.pub .pub-h .pub-nav a{padding:8px 12px!important;border-radius:10px!important;font-weight:600!important;color:var(--hm-ink)!important;background:none!important;font-size:14px}
.pub .pub-h .pub-nav a:hover{background:#f1f5fa!important}
.pub .pub-h .pub-nav a.on{background:var(--hm-mist)!important;color:var(--hm-blue)!important}
.pub .pub-h .pub-login{display:inline-flex!important;align-items:center;gap:6px;background:#fff!important;color:var(--hm-ink)!important;border:1px solid var(--hm-line)!important;border-radius:12px!important;padding:9px 16px!important;font-weight:700}
.pub .pub-h .btn-dark{background:linear-gradient(135deg,var(--hm-org),var(--hm-org2))!important;color:#fff!important;border-radius:12px!important;padding:10px 20px!important;font-weight:800;box-shadow:0 8px 18px rgba(240,124,30,.28)!important}
.pub .pub-h .pub-q,.pub .pub-h .ph-ic,.pub .pub-h .pub-menu{display:none!important}

/* home frame */
.pub-home{background:var(--hm-bg)!important}
.pub-home .pub-main{background:none!important;padding:0!important}
.hm{padding:18px 28px 12px;display:flex;flex-direction:column;gap:16px;color:var(--hm-ink)}
.hm a{text-decoration:none}
.hm .sp{flex:1}
.hm .xs{font-size:11.5px}.hm .mut{color:var(--hm-mut)}
.hm .row{display:flex;align-items:center;gap:8px}
.hm-card,.hm-stat,.hm-filters{background:#fff;border:1px solid var(--hm-line);border-radius:16px;box-shadow:0 1px 2px rgba(8,42,85,.04),0 6px 18px rgba(8,42,85,.05)}
.hm .m{display:none}
.hm-top{display:grid;grid-template-columns:270px minmax(0,1fr);gap:16px;height:268px}
.hm-stats{display:grid;grid-template-rows:repeat(3,minmax(0,1fr));gap:8px}
.hm-stat{display:flex;align-items:center;gap:10px;padding:6px 12px;color:var(--hm-ink)}
.hm-stat:hover{border-color:#bcd5f3}
.hm-stat .ti{width:38px;height:38px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--hm-mist);color:var(--hm-blue)}
.hm-stat .ti .i{width:20px;height:20px}
.hm-stat.tone-a .ti{background:#fff5e0;color:#c7831b}.hm-stat.tone-b .ti{background:#e9f0fb;color:#1d4f8f}.hm-stat.tone-c .ti{background:var(--hm-orgbg);color:var(--hm-org2)}
.hm-stat .tx{display:flex;flex-direction:column}
.hm-stat b{font-size:18px;font-weight:800;line-height:1.2;color:var(--hm-ink)}
.hm-stat .l{font-size:11.5px;color:var(--hm-mut);line-height:1.3}
.hm-banner{position:relative;border-radius:18px;overflow:hidden;background:#082a55;min-height:0}
.hm-banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;max-width:none}
.hm-banner::after{content:"";position:absolute;inset:0;background:linear-gradient(270deg,rgba(8,42,85,.92) 0%,rgba(8,42,85,.55) 38%,rgba(8,42,85,0) 65%)}
.hm-banner .bt{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;justify-content:center;padding:0 30px;color:#fff;max-width:58%}
.hm-banner h1{font-size:30px!important;line-height:1.5;font-weight:900;color:#fff!important;margin:0}
.hm-banner h1>span,.hm-banner h1 em{display:block}
.hm-banner h1 em{font-style:normal;color:var(--hm-amber)}
.hm-banner p{font-size:13.5px;color:#dbe7f5;margin:4px 0 0}
/* market search */
.hm-filters{display:flex;align-items:center;gap:10px;padding:10px}
.hm-seg{display:flex;background:#eef3f9;border-radius:12px;padding:4px;flex:none}
.hm-seg label{cursor:pointer}
.hm-seg input{position:absolute;opacity:0;pointer-events:none}
.hm-seg span{display:block;padding:8px 14px;border-radius:9px;font-size:13px;font-weight:700;color:var(--hm-mut)}
.hm-seg input:checked+span{background:#fff;color:var(--hm-ink);box-shadow:0 1px 4px rgba(8,42,85,.12)}
.hm-seg input:focus-visible+span{outline:2px solid var(--hm-blue)}
.hm-mode{display:contents}
.hm-sel{flex:1;min-width:0;display:flex;align-items:center;gap:8px;border:1px solid var(--hm-line);border-radius:12px;padding:0 12px;height:44px;background:#fff;color:var(--hm-mut);cursor:text}
.hm-sel>.i{flex:none;width:16px;height:16px;color:var(--hm-mut)}
.hm-sel .mut{font-size:12.5px;white-space:nowrap}
.hm-sel .in{flex:1;min-width:0;border:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;min-height:0!important;height:40px;font-weight:800;color:var(--hm-ink);font-size:13.5px}
.hm-sel .in::placeholder{color:var(--hm-ink);font-weight:800;opacity:1}
.hm-sel select.in{appearance:none;-webkit-appearance:none;cursor:pointer;background-image:none!important}
.hm-sel .ac-list,.hm-sel [class*="ac-"]{font-weight:500}
.hm-go{flex:none;display:inline-flex;align-items:center;gap:8px;border:0;cursor:pointer;font:inherit;font-weight:800;font-size:14px;color:#fff;padding:12px 22px;border-radius:12px;background:linear-gradient(135deg,var(--hm-blue),var(--hm-ink));box-shadow:0 8px 18px rgba(11,99,206,.25)}
/* doors + special capacities */
.hm-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.55fr);gap:16px;flex:1;min-height:0}
.hm-door{padding:18px;display:flex;flex-direction:column;gap:10px}
.hm-door .dh{display:flex;align-items:center;gap:12px}
.hm-door .dh .ti{width:46px;height:46px;flex:none;border-radius:14px;display:grid;place-items:center;background:var(--hm-orgbg);color:var(--hm-org)}
.hm-door.d-car .dh .ti{background:var(--hm-mist);color:var(--hm-blue)}
.hm-door .dh .ti .i{width:24px;height:24px}
.hm-door h3,.hm-door h2{font-size:16px;font-weight:900;color:var(--hm-ink);margin:0}
.hm-door .dh .xs{color:var(--hm-mut)}
.hm-door p{font-size:13px;color:var(--hm-mut);line-height:1.85;margin:0}
.hm-door ol{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-direction:column;gap:9px;counter-reset:hs}
.hm-door li{counter-increment:hs;display:grid;grid-template-columns:26px 1fr;column-gap:10px;align-items:center}
.hm-door li::before{content:counter(hs,persian);grid-row:span 2;width:26px;height:26px;border-radius:50%;background:var(--hm-mist);color:var(--hm-blue);display:grid;place-items:center;font-weight:800;font-size:12px}
.hm-door li b{font-size:13px;color:var(--hm-ink)}
.hm-door li span{font-size:11.5px;color:var(--hm-mut)}
.hm-btn{margin-top:auto;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:12px;font-weight:800;color:#fff!important;background:linear-gradient(135deg,var(--hm-org),var(--hm-org2));box-shadow:0 8px 18px rgba(240,124,30,.25)}
.hm-door.d-car .hm-btn{background:linear-gradient(135deg,var(--hm-blue),var(--hm-ink));box-shadow:0 8px 18px rgba(11,99,206,.22)}
.hm-spec{display:flex;flex-direction:column;min-height:0}
.hm-spec .hm-ch{display:flex;align-items:center;gap:8px;padding:16px 18px 10px}
.hm-spec .bul{width:10px;height:10px;border-radius:50%;background:var(--hm-org);box-shadow:0 0 0 4px var(--hm-orgbg)}
.hm-spec h3,.hm-spec h2{font-size:15px;font-weight:900;color:var(--hm-ink);margin:0}
.hm-spec .more{margin-inline-start:auto;display:inline-flex;align-items:center;gap:4px;font-size:12.5px;font-weight:700;color:var(--hm-blue)}
.hm-spec .more .i{width:14px;height:14px}
.hm-spec .cb{padding:0 18px 18px}
.hm-capgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hm-caprows{display:none}
.hm-cap{border:1px solid var(--hm-line);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:7px;color:var(--hm-ink);background:#fff}
.hm-cap:hover{border-color:#bcd5f3;box-shadow:0 6px 16px rgba(8,42,85,.07)}
.hm .badge{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:700;padding:3px 9px;border-radius:99px;background:var(--hm-mist);color:var(--hm-blue);white-space:nowrap}
.hm .badge .i{width:13px;height:13px}
.hm .badge.c{background:var(--hm-orgbg);color:var(--hm-org2)}
.hm .badge.b{background:#e9f0fb;color:#1d4f8f}
.hm .badge.g{background:#eef2f7;color:#4d5f73}
.hm .route{font-size:15px;font-weight:800;color:var(--hm-ink)}
.hm .route .ar{color:var(--hm-mut);margin:0 6px;font-weight:400}
.hm-cap .rt{line-height:1.4}
.hm-cap .xs .i{width:13px;height:13px;vertical-align:-2px}
.hm-cap .pr{color:var(--hm-blue);font-size:13.5px}
.hm-qa{display:none}
.hm-spec .empty{padding:20px 0}
/* footer line */
.hm-foot{display:flex;align-items:center;gap:16px;font-size:11px;color:var(--hm-mut);padding:6px 30px 10px;flex-wrap:wrap}
.hm-foot .sp{flex:1}
.hm-foot a{color:var(--hm-mut)}
.hm-foot a:hover{color:var(--hm-blue)}
.hm-foot .on-dot{display:inline-flex;align-items:center;gap:6px;color:#167a4a;font-weight:700}
.hm-foot .on-dot::before{content:"";width:8px;height:8px;border-radius:50%;background:#22a565}
.hm-foot .hm-seal img{height:38px;width:auto;display:block}
@media (min-width:1101px){
  .pub-home{min-height:100vh;display:flex;flex-direction:column}
  .pub-home .pub-main{flex:1;display:flex;flex-direction:column}
  .pub-home .hm{flex:1}
}
@media (max-width:1100px){
  .pub .pub-h .pub-nav{display:none}
  .hm-top{grid-template-columns:1fr;height:auto}
  .hm-banner{height:220px}
  .hm-stats{grid-template-rows:none;grid-template-columns:repeat(3,minmax(0,1fr))}
  .hm-row{grid-template-columns:1fr 1fr}
  .hm-spec{grid-column:1/-1}
}

/* ---------- phones: the app shell of design 1-01 (mobile) ---------- */
@media (max-width:700px){
  .pub .pub-h{position:sticky;top:0;background:linear-gradient(160deg,#0A2E5C,#0B4FA8)!important;border:0!important;border-radius:0 0 24px 24px;padding:10px 14px 14px;box-shadow:0 8px 22px rgba(8,42,85,.22)!important}
  .pub .pub-h .in-w{height:auto!important;padding:0!important;gap:8px!important}
  .pub .pub-h .logo .mk{width:40px;height:40px}
  .pub .pub-h .lg-t>span,.pub .pub-h .lg-t>span b{color:#fff!important;font-size:20px}
  .pub .pub-h .lg-t small{color:rgba(255,255,255,.75)}
  .pub .pub-h .pub-login,.pub .pub-h .btn-dark{display:none!important}
  .pub .pub-h .ph-ic{display:grid!important;place-items:center;width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.12);color:#fff!important;flex:none}
  .pub .pub-h .ph-ic .i{width:20px;height:20px}
  .pub .pub-h .ph-user{background:#e8f1fd;color:#0A2E5C!important;border-radius:50%}
  .pub .pub-h .grow{flex:1}
  .pub .pub-h .pub-q{display:flex!important;align-items:center;gap:8px;margin-top:12px;background:#fff;border-radius:16px;padding:0 14px;height:46px;color:#6b7c90}
  .pub .pub-h .pub-q input{flex:1;min-width:0;border:0;outline:0;background:transparent;font:inherit;font-size:13.5px;color:#0A2E5C}
  .pub .pub-h .pub-q .i{width:18px;height:18px}
  .pub .pub-mob{display:none!important}
  .hm{padding:12px 12px 100px;gap:12px}
  .hm .d{display:none}.hm .m{display:inline}
  .hm-banner h1>.m,.hm-banner h1 em>.m{display:block}
  .hm-top{display:flex;flex-direction:column-reverse;gap:12px}
  .hm-banner{height:126px;border-radius:16px}
  .hm-banner .bt{max-width:72%;padding:0 16px}
  .hm-banner h1{font-size:17px!important}
  .hm-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  .hm-stat{flex-direction:column;text-align:center;gap:3px;padding:8px 4px;border-radius:14px}
  .hm-stat .ti{width:34px;height:34px;border-radius:10px}
  .hm-stat .tx{align-items:center}
  .hm-stat b{font-size:16px}
  .hm-stat .l{font-size:10.5px}
  .hm-stat .l.d{display:none}.hm-stat .l.m{display:block}
  .hm-filters{flex-wrap:wrap;padding:10px;gap:8px}
  .hm-seg{flex:1 1 100%}
  .hm-seg label{flex:1;text-align:center}
  .hm-sel{flex:1 1 calc(50% - 4px);height:44px}
  .hm-sel .mut{display:none}
  .hm-sel>.i:last-child{display:none}
  .hm-mode{display:none}
  .hm-go{flex:1 1 100%;justify-content:center}
  .hm-qa{display:grid;grid-template-columns:1fr 1fr;gap:8px}
  .hm-qa .qa{display:flex;align-items:center;gap:10px;padding:12px;border-radius:16px;background:#fff;border:1px solid var(--hm-line);color:var(--hm-ink);font-weight:800;font-size:14px;line-height:1.4}
  .hm-qa .qa .ti{width:42px;height:42px;flex:none;border-radius:13px;display:grid;place-items:center;background:var(--hm-mist);color:var(--hm-blue)}
  .hm-qa .qa>.i{margin-inline-start:auto;color:var(--hm-mut);width:14px;height:14px}
  .hm-qa .qa.c{background:linear-gradient(135deg,var(--hm-org),var(--hm-org2));border-color:transparent;color:#fff;box-shadow:0 10px 22px rgba(240,124,30,.3)}
  .hm-qa .qa.c .ti{background:rgba(255,255,255,.2);color:#fff}.hm-qa .qa.c>.i{color:rgba(255,255,255,.8)}
  .hm-row{display:block}
  .hm-spec .hm-ch{padding:14px 14px 6px}
  .hm-spec .cb{padding:0 14px 10px}
  .hm-caprows{display:none}
  .hm .lrow{display:flex;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid #eef2f7;color:var(--hm-ink)}
  .hm .lrow:last-child{border-bottom:0}
  .hm .lrow .ti{width:40px;height:40px;flex:none;border-radius:12px;display:grid;place-items:center;background:var(--hm-orgbg);color:var(--hm-org2)}
  .hm .lrow .ti.t{background:var(--hm-mist);color:var(--hm-blue)}
  .hm .lrow .lt{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
  .hm .lrow .route{font-size:14px}
  .hm .lrow .ss{font-size:11.5px;color:var(--hm-mut);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .hm-foot{padding:0 14px 100px;justify-content:center;text-align:center}
  .hm-foot .sp{display:none}
}
.hm-spec .hm-ch{text-align:start}
.hm-spec .hm-ch h3,.hm-spec .hm-ch h2{text-align:start;flex:none}
@media (max-width:700px){.hm-banner img{object-position:30% center}}
@media (min-width:1101px){.hm{padding-bottom:6px}.hm-foot{padding-top:2px;padding-bottom:6px}.hm-foot .hm-seal img{height:30px}}

/* ===================== v6.4 — guest pages: blue footer bar (desktop), app shell without footer (phones), sign-in split screen ===================== */
/* desktop footer: one blue bar, same links and seal */
.pub .pf{background:linear-gradient(90deg,#0A2E5C 0%,#0B4FA8 100%)!important;color:#d6e4f5!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important;font-size:12px!important}
.pub .pf::before,.pub .pf::after{display:none!important}
.pub .pf .wrap{max-width:none!important;display:flex!important;align-items:center;gap:8px 18px;padding:8px 28px!important;flex-wrap:wrap}
.pub .pf .pf-top,.pub .pf .pf-about{display:none!important}
.pub .pf .pf-grid{display:flex!important;flex:1;align-items:center;flex-wrap:wrap;gap:4px 18px;margin:0!important;padding:0!important;border:0!important}
.pub .pf .pf-col{display:flex!important;flex-wrap:wrap;align-items:center;gap:2px 12px}
.pub .pf h4{display:none!important}
.pub .pf a,.pub .pf .pf-col>a{display:inline-flex!important;padding:0!important;color:#d6e4f5!important;font-size:12px!important;transform:none!important}
.pub .pf .pf-col>a::before{display:none!important}
.pub .pf a:hover{color:#fff!important}
.pub .pf .pf-acc{display:flex!important;gap:8px}
.pub .pf .pf-acc a{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.2)!important;border-radius:9px;padding:3px 10px!important;color:#fff!important}
.pub .pf .pf-acc a .i{color:#F7A04E!important}
.pub .pf .pf-tel,.pub .pf .pf-ct{color:#d6e4f5!important;font-size:12px!important}
.pub .pf .pf-tel .i,.pub .pf .pf-ct .i{color:#F7A04E!important}
.pub .pf .pf-trust{display:flex;align-items:center;margin:0}
.pub .pf .pf-seal{min-width:0!important;min-height:0!important;padding:3px!important;border-radius:9px!important;background:#fff!important;box-shadow:none!important;border:0!important;display:flex}
.pub .pf .pf-seal img{height:38px!important;width:auto!important}
.pub .pf .pf-bot{margin:0!important;padding:0!important;border:0!important;order:9}
.pub .pf .pf-copy{color:#b9cde6!important;font-size:11.5px!important;white-space:nowrap}
.hm-foot{background:linear-gradient(90deg,#0A2E5C 0%,#0B4FA8 100%)!important;color:#d6e4f5!important;padding:8px 28px!important}
.hm-foot a{color:#d6e4f5!important}.hm-foot a:hover{color:#fff!important}
.hm-foot .on-dot{color:#7ee2a8!important}
.hm-foot .hm-seal{background:#fff;border-radius:9px;padding:3px;display:flex}
@media (min-width:701px){
  .pub-in{min-height:100vh;display:flex;flex-direction:column}
  .pub-in .pub-main{flex:1}
  .pub .pub-ttl{display:none}
}
/* guest inner pages: compact head like the app workspace */
.pub-wsp{padding-top:16px!important;padding-bottom:14px!important;max-width:1480px!important}
.pub-wsp>.ph{margin-bottom:12px!important}
.pub-wsp>.ph h1{font-size:21px!important}
.pub-wsp>.ph p{font-size:12.5px}
.pub-wsp .cc-grid,.pub-wsp>.results{gap:12px!important}

/* ---------- phones: app shell, no footer anywhere ---------- */
@media (max-width:900px){
  .pf,.hm-foot,.pub-f,.au-foot{display:none!important}
}
@media (max-width:700px){
  .pub-in .pub-h .logo{display:none!important}
  .pub .pub-ttl{display:block;color:#fff;font-size:19px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}
  .pub-in .pub-main{padding-bottom:96px}
  .pub-wsp{padding:12px 12px 0!important}
  .hm-spec{flex:1;min-height:0;display:flex;flex-direction:column}
  .hm-row{flex:1;min-height:0;display:flex!important;flex-direction:column}
  .hm .fl-pager{margin:4px 0 0}
  .pub-home,.pub-in{overscroll-behavior:none}
}

/* ---------- sign-in pages (design 1-07…1-09) ---------- */
.pub-auth{background:#fff!important;margin:0}
.au{min-height:100vh;display:grid;grid-template-columns:minmax(0,1fr) 560px;direction:ltr}
.au>*{direction:rtl}
.au-pic{position:relative;background:#082a55}
.au-pic::after{content:"";position:absolute;inset:0;background:linear-gradient(200deg,rgba(8,42,85,.25),rgba(8,42,85,.92))}
.au-cap{position:absolute;bottom:56px;right:56px;left:56px;color:#fff;z-index:1}
.au-cap h2{font-size:34px;line-height:1.5;font-weight:900;color:#fff;margin:0}
.au-cap h2 em{font-style:normal;color:#F7A04E}
.au-cap p{color:#d6e4f5;margin-top:6px}
.au-brand{display:none}
.au-panel{display:flex;flex-direction:column;padding:26px 40px;background:#fff;min-height:100vh}
.au-top{display:flex;align-items:center;gap:12px}
.au-top .logo{color:#0A2E5C;gap:10px}
.au-top .logo .mk{width:44px;height:44px}
.au .lg-t{display:flex;flex-direction:column;line-height:1.15}
.au .lg-t>span{font-size:22px;font-weight:900;color:#0A2E5C}.au .lg-t>span b{color:#0A2E5C}
.au .lg-t small{font-size:10.5px;color:#6b7c90;font-weight:600;direction:ltr;text-align:right}
.au-home{margin-inline-start:auto;display:inline-flex;align-items:center;gap:6px;border:1px solid #e3eaf4;border-radius:12px;padding:8px 14px;font-weight:700;color:#0A2E5C;font-size:13px}
.au-main{flex:1;display:flex;flex-direction:column;justify-content:center;max-width:420px;width:100%;margin:0 auto;padding:20px 0}
.au-main>.ph{margin:0 0 14px!important;padding:0!important}
.au-main>.ph h1{font-size:24px!important;color:#0A2E5C!important}
.au-main>.ph .back{display:none}
.au-main .card{max-width:none!important;margin:0!important;border:0!important;box-shadow:none!important;padding:0!important;background:none!important}
.au-main .in{min-height:46px;border-radius:12px!important}
.au-main .btn-dark,.au-main .btn-load,.au-main .btn-cap,.au-main button.btn:not(.btn-line):not(.btn-ghost){background:linear-gradient(135deg,#F07C1E,#D9670C)!important;border-color:transparent!important;color:#fff!important;min-height:48px;border-radius:12px!important;box-shadow:0 8px 18px rgba(240,124,30,.25);justify-content:center}
.au-main a.b{color:#0B63CE}
.au-main .notice{margin-bottom:10px}
.au-foot{font-size:11px;color:#6b7c90;display:flex;gap:16px}
@media (max-width:900px){
  .au{grid-template-columns:1fr;min-height:100dvh;display:flex;flex-direction:column}
  .au-pic{height:190px;flex:none;border-radius:0 0 24px 24px;overflow:hidden}
  .au-pic::after{background:linear-gradient(180deg,rgba(8,42,85,.15),rgba(8,42,85,.85))}
  .au-cap{bottom:16px;right:18px;left:18px}
  .au-cap h2,.au-cap p{display:none}
  .au-brand{display:flex;align-items:center;gap:10px;justify-content:flex-start}
  .au-brand .logo .mk{width:42px;height:42px}
  .au-brand .lg-t>span,.au-brand .lg-t>span b{color:#fff!important}
  .au-brand .lg-t small{color:rgba(255,255,255,.8)}
  .au-cap::after{content:"بارِ خوب، زمین نمی‌مونه!";display:block;color:#F7A04E;font-weight:800;font-size:13px;margin-top:6px}
  .au-panel{min-height:0;flex:1;padding:16px 18px 18px}
  .au-top{display:none}
  .au-main{justify-content:flex-start;padding:4px 0}
}
/* guest pages on phones: segmented tabs and chip strips like the app (design 1-02…1-05 mobile) */
@media (max-width:900px){
  .pub-wsp .tabs,.pub-wsp .subnav{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;scrollbar-width:none;gap:4px!important;padding:4px!important;background:#eef3f9!important;border:0!important;border-radius:14px!important;box-shadow:none!important;margin:0 0 10px!important}
  .pub-wsp .tabs a,.pub-wsp .subnav a{flex:1 0 auto!important;display:inline-flex!important;flex-direction:row!important;justify-content:center;align-items:center!important;gap:6px!important;min-height:0!important;padding:8px 12px!important;border-radius:10px!important;white-space:nowrap!important;font-size:13px!important;font-weight:700;background:transparent!important;border:0!important;box-shadow:none!important;color:#6b7c90!important}
  .pub-wsp .tabs a.on,.pub-wsp .subnav a.on{background:#fff!important;color:#0A2E5C!important;box-shadow:0 1px 4px rgba(8,42,85,.12)!important}
  .pub-wsp .tabs a>.cnt{font-size:11px!important;color:inherit!important;background:#e3eaf4!important;border-radius:9px;padding:0 6px!important}
  .pub-wsp .subnav a .i{width:15px!important;height:15px!important;padding:0!important;background:none!important;color:inherit!important}
  .pub-wsp .subnav a .cnt{position:static!important}
  .pub-wsp .fdr-btn{margin:0 0 10px}
}
/* sign-in steps */
.au-main .fsec{border:0!important;box-shadow:none!important;background:none!important;padding:0!important}
.au-main .fsec>h4{display:none}
.au-main .st-bar{background:#f4f7fb;box-shadow:none;border:0}
.au-main .st-nav .btn-dark{background:linear-gradient(135deg,#F07C1E,#D9670C)!important}
@media (max-width:900px){
  .bnet.bnet-c:not(.bnet-o){display:none!important}
}
@media (min-width:0px){
  .bnet.bnet-c:not(.bnet-o){display:none!important}
  .bnet-t{display:block;width:100%;text-align:start;border:1px solid #e3eaf4;background:#fff;border-radius:14px;padding:10px 14px;font:inherit;font-weight:800;color:#0A2E5C;margin:0 0 10px;cursor:pointer}
  .bnet-t{display:block;width:100%;text-align:start;border:1px solid #e3eaf4;background:#fff;border-radius:14px;padding:10px 14px;font:inherit;font-weight:800;color:#0A2E5C;margin:0 0 10px;cursor:pointer}
}
@media (max-width:700px){
  .hm{gap:10px}
  .hm-banner{height:104px}
  .hm-filters{padding:8px;gap:7px}
  .hm-sel{height:42px}
  .hm-go{padding:10px}
  .hm-qa .qa{padding:9px 12px}
  .hm-qa .qa .ti{width:38px;height:38px}
  .hm-spec .hm-ch{padding:10px 14px 2px}
  .hm .lrow{padding:7px 0}
}
/* guest market on desktop: the filters as one compact row (design 1-02) */
@media (min-width:901px){
  .pub-wsp.pub-vw>form.filterbar{flex:1 1 100%!important;max-width:none!important;padding:8px 10px!important;gap:8px!important;align-items:flex-end!important;flex-wrap:nowrap!important}
  .pub-wsp.pub-vw>form.filterbar .field{display:block!important;flex:1 1 0!important;min-width:0;margin:0!important}
  .pub-wsp.pub-vw>form.filterbar .field>label{position:static!important;width:auto;height:auto;clip:auto;font-size:11px;color:#6b7c90;margin-bottom:3px;display:block}
  .pub-wsp.pub-vw>form.filterbar .in{min-height:38px!important;height:38px;font-size:12.5px}
  .pub-wsp.pub-vw>form.filterbar>.btn,.pub-wsp.pub-vw>form.filterbar>a{flex:none;white-space:nowrap}
}
.hm-foot{padding:5px 28px!important}
.hm-foot .hm-seal img{height:28px!important}
.pub .pf .wrap{padding:6px 28px!important}
.pub .pf .pf-seal img{height:32px!important}
@media (min-width:901px){
  .pub-wsp>form.filterbar{padding:8px 10px!important;gap:8px!important;align-items:flex-end!important}
  .pub-wsp>form.filterbar .field>label{font-size:11px;margin-bottom:3px}
  .pub-wsp>form.filterbar .in{min-height:38px!important;height:38px}
  .pub-wsp .sec-h{margin:0 0 8px!important}
  .pub-wsp .sec-h h2{font-size:15px!important}
  .pub-wsp .cc-grid>*{padding:12px 14px!important;gap:6px!important}
  .pub-wsp .bnet-t{margin-bottom:8px}
  :is(.content.wsp,.pub-wsp.pub-vw) .vm-map{min-height:200px!important}
}
.pub{--acc:#1479e0;--acc-d:#0B63CE;--acc-bg:#e8f1fd;--acc-glow:rgba(20,121,224,.3)}

/* ===================== v6.5 — app-like experience (owner's UX brief): natural scroll, rails, load more, gradient banners, role-coloured menus ===================== */
html{scroll-behavior:auto}
body{overflow-x:hidden}
:root{--gb-motif:repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 2px,transparent 2px 24px)}

/* ---- gradient banners (no photo): dashboards, home, sign-in — each in its role / brand colours ---- */
.desk-top .ph.u3-hero,.r-carrier .desk-top .ph.u3-hero,.r-broker .desk-top .ph.u3-hero{position:relative;overflow:hidden}
.desk-top .ph.u3-hero{background:radial-gradient(120% 140% at 0% 100%,rgba(20,121,224,.55) 0%,rgba(20,121,224,0) 55%),radial-gradient(90% 120% at 100% 0%,rgba(240,124,30,.28) 0%,rgba(240,124,30,0) 50%),var(--gb-motif),linear-gradient(135deg,#071d3f 0%,#0A2E5C 45%,#0B63CE 100%)!important}
.r-carrier .desk-top .ph.u3-hero{background:radial-gradient(120% 140% at 0% 100%,rgba(247,160,78,.55) 0%,rgba(247,160,78,0) 55%),radial-gradient(90% 120% at 100% 0%,rgba(20,121,224,.25) 0%,rgba(20,121,224,0) 50%),var(--gb-motif),linear-gradient(135deg,#4a2204 0%,#9a4507 45%,#F07C1E 100%)!important}
.r-broker .desk-top .ph.u3-hero{background:radial-gradient(120% 140% at 0% 100%,rgba(155,120,205,.55) 0%,rgba(155,120,205,0) 55%),radial-gradient(90% 120% at 100% 0%,rgba(240,124,30,.22) 0%,rgba(240,124,30,0) 50%),var(--gb-motif),linear-gradient(135deg,#21163a 0%,#3d2a5c 45%,#6A4C93 100%)!important}
.r-admin .desk-top .ph.u3-hero{background:radial-gradient(120% 140% at 0% 100%,rgba(29,79,143,.6) 0%,rgba(29,79,143,0) 55%),radial-gradient(90% 120% at 100% 0%,rgba(240,124,30,.2) 0%,rgba(240,124,30,0) 50%),var(--gb-motif),linear-gradient(135deg,#04122a 0%,#082a55 50%,#1d4f8f 100%)!important}
.desk-top .ph.u3-hero::before{content:"";position:absolute;inset:auto -60px -80px auto;width:320px;height:320px;border-radius:50%;border:38px solid rgba(255,255,255,.06);pointer-events:none}
.desk-top .u3-intro{max-width:none!important;position:relative;z-index:1}
.hm-banner{background:radial-gradient(110% 140% at 0% 100%,rgba(20,121,224,.6) 0%,rgba(20,121,224,0) 55%),radial-gradient(80% 120% at 100% 0%,rgba(240,124,30,.32) 0%,rgba(240,124,30,0) 50%),var(--gb-motif),linear-gradient(135deg,#071d3f 0%,#0A2E5C 45%,#0B63CE 100%)!important}
.hm-banner::after{display:none!important}
.hm-banner .bt{max-width:70%!important}
.gb-motif{position:absolute;inset:auto 22px 18px auto;display:flex;gap:14px;opacity:.16;color:#fff;pointer-events:none;z-index:0}
.gb-motif .i{width:52px!important;height:52px!important}
.au-pic{background:radial-gradient(110% 120% at 0% 100%,rgba(20,121,224,.55) 0%,rgba(20,121,224,0) 55%),radial-gradient(80% 100% at 100% 0%,rgba(240,124,30,.3) 0%,rgba(240,124,30,0) 50%),var(--gb-motif),linear-gradient(160deg,#071d3f 0%,#0A2E5C 45%,#0B63CE 100%)!important}
.au-pic::after{display:none!important}
.au-pic .gb-motif{inset:56px 56px auto auto;opacity:.12}
.au-pic .gb-motif .i{width:84px!important;height:84px!important}
@media (max-width:700px){
  .gb-motif{gap:8px;inset:auto 12px 10px auto}.gb-motif .i{width:30px!important;height:30px!important}
  .au-pic .gb-motif{inset:auto 16px 14px auto}.au-pic .gb-motif .i{width:34px!important;height:34px!important}
  .hm-banner .bt{max-width:84%!important}
  .hm-banner p{display:block;font-size:12px;margin-top:2px}
  .hm-banner{height:auto!important;min-height:120px;padding:16px 0}
  .hm-banner .bt{position:relative;inset:auto}
}

/* ---- side menu in the organisation colour of each role (desktop and the mobile hamburger drawer), white readable text ---- */
.app .side{background:var(--gb-motif),linear-gradient(180deg,#1479e0 0%,#0B63CE 45%,#0a3d86 100%)!important;color:#fff!important;border:0!important}
.app.r-carrier .side{background:var(--gb-motif),linear-gradient(180deg,#b9560a 0%,#8a3d05 65%,#5c2803 100%)!important}
.app.r-broker .side{background:var(--gb-motif),linear-gradient(180deg,#6A4C93 0%,#4b346d 65%,#2e1f47 100%)!important}
.app.r-admin .side{background:var(--gb-motif),linear-gradient(180deg,#0A2E5C 0%,#082a55 60%,#04122a 100%)!important}
.app .side .s-top{border-color:rgba(255,255,255,.14)!important;background:transparent!important}
.app .side .s-top .logo,.app .side .s-top .logo span,.app .side .s-top .logo b,.app .side .s-top .icon-btn{color:#fff!important}
.app .side .s-top .icon-btn{background:rgba(255,255,255,.12)!important;border-radius:12px}
.app .side .snav a{color:rgba(255,255,255,.9)!important;background:transparent!important;border-radius:12px!important;font-weight:700}
.app .side .snav a .i{color:rgba(255,255,255,.85)!important;background:transparent!important}
.app .side .snav a:hover{background:rgba(255,255,255,.1)!important;color:#fff!important}
.app .side .snav a.on{background:rgba(255,255,255,.2)!important;color:#fff!important;box-shadow:inset 3px 0 0 #fff!important}
.app .side .snav a.on .i{color:#fff!important}
.app .side .snav a .cnt{background:#fff!important;color:var(--acc-d)!important}
.app .side .snav a.cta{background:#fff!important;color:var(--acc-d)!important;box-shadow:0 8px 18px rgba(0,0,0,.18)!important}
.app .side .snav a.cta .i{color:var(--acc-d)!important}
.app .side .snav .sep{background:rgba(255,255,255,.16)!important}
.app .side .snav .grp,.app .side .snav .lbl,.app .side .snav small{color:rgba(255,255,255,.62)!important}
.app .side .s-card{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;color:#fff!important}
.app .side .s-card *{color:#fff}
.app .side .s-card .btn{background:#fff!important;color:var(--acc-d)!important}
.app .side .s-card .btn-line{background:transparent!important;color:#fff!important;border-color:rgba(255,255,255,.4)!important}
.app .side .s-bot{background:transparent!important;border-top:1px solid rgba(255,255,255,.14)!important}
.app .side .s-bot .btn{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.2)!important}
.app .side .s-bot .btn:hover{background:rgba(255,255,255,.2)!important}
@media (max-width:900px){
  .app .side{width:min(300px,86vw)!important;padding-top:calc(12px + env(safe-area-inset-top,0px))!important;z-index:90}
  .app .side .s-top{display:flex!important}
  .app .overlay{background:rgba(4,18,42,.5)!important;backdrop-filter:blur(2px)}
}

/* ---- horizontal rails (phones and tablets): swipe, RTL, a peek of the next card, no page-wide side scroll ---- */
@media (max-width:900px){
  .hm-stats,.hm-capgrid,.desk-acts,.desk-kpi .journey,.dkpis,.content .kpis{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;overflow-y:hidden;
    scroll-snap-type:x mandatory;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none;gap:10px!important;
    margin-inline:-14px!important;padding:2px 14px 6px!important;scroll-padding-inline:14px;grid-template-columns:none!important;grid-template-rows:none!important;height:auto!important}
  .hm-stats::-webkit-scrollbar,.hm-capgrid::-webkit-scrollbar,.desk-acts::-webkit-scrollbar,.desk-kpi .journey::-webkit-scrollbar,.dkpis::-webkit-scrollbar,.content .kpis::-webkit-scrollbar{display:none}
  .hm-stats>*,.hm-capgrid>*,.desk-acts>*,.desk-kpi .journey>*,.dkpis>*,.content .kpis>*{flex:0 0 auto!important;scroll-snap-align:start;min-width:0}
  .hm-stats>*{width:30%}
  .hm-capgrid>*{width:80%}
  .desk-acts>*{width:44%}
  .desk-kpi .journey>*{width:36%}
  .dkpis>*{width:62%}
  .content .kpis>*{width:58%}
  .hm-capgrid{display:flex!important}
  .hm .hm-spec .cb{padding-inline:14px}
  .hm-spec .hm-capgrid{margin-inline:-14px!important}
  .desk-top{display:flex!important;flex-direction:column}
}
@media (max-width:700px){.hm-stats,.hm-capgrid{margin-inline:-12px!important;padding-inline:12px!important}}
.rail-drag{cursor:grabbing!important;user-select:none}
.rail-drag *{pointer-events:none}
.rail-nav{display:none;justify-content:flex-end;gap:6px;margin-top:6px}
.rail-nav.on{display:flex}
.rail-nav button{width:32px;height:32px;border-radius:50%;border:1px solid var(--v4-line,#e3eaf4);background:#fff;color:#0A2E5C;font-size:18px;line-height:1;cursor:pointer;box-shadow:0 2px 8px rgba(8,42,85,.08)}
.rail-nav button[disabled]{opacity:.35;cursor:default}

/* ---- load more (replaces the numbered pager when JS is on; the pager remains for no-JS) ---- */
.pager.lm-hidden{display:none!important}
.lm-bar{display:flex;flex-direction:column;align-items:center;gap:8px;margin:14px 0 4px;flex:1 1 100%}
.lm-bar .lm-info{font-size:12px;color:var(--v4-mut,#6b7c90);font-weight:700}
.lm-bar .lm-btn{min-width:220px;justify-content:center;border-radius:14px!important;font-weight:800}
.lm-bar.lm-done .lm-info::after{content:" — همه موارد";font-weight:700}

/* ---- inner scroll only where it belongs: the chat list, long tables on phones ---- */
#chat{max-height:min(62vh,640px);overflow-y:auto;overscroll-behavior:contain}
@media (max-width:900px){
  .content .tbl-wrap,.content .table-wrap,.content .vw-table{overflow-x:auto;-webkit-overflow-scrolling:touch}
  .pub-wsp>.ph h1{display:none}
  .pub-wsp>.ph{margin-bottom:8px!important}
  .content{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))!important}
  .pub-in .pub-main{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
  .hm{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))!important}
  .hm-door{margin-top:0}
  .hm-row{display:flex!important;flex-direction:column;gap:12px}
  .hm-row .hm-spec{order:-1}
}
/* safe areas (notch, home indicator) */
@supports (padding:env(safe-area-inset-top)){
  @media (max-width:900px){.app>.main>.top,.pub .pub-h{padding-top:calc(10px + env(safe-area-inset-top,0px))!important}}
}
@media (max-width:700px){.hm-banner .gb-motif,.au-pic .gb-motif{display:none}}

/* ===================== v6.6 — sign-in method tabs (email | SMS code) ===================== */
.au-tabs{display:flex;gap:4px;background:#eef3f9;border-radius:14px;padding:4px;margin:0 0 14px}
.au-tabs a{flex:1;display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:10px 8px;border-radius:11px;font-weight:800;font-size:13.5px;color:#6b7c90;text-decoration:none;white-space:nowrap}
.au-tabs a .i{width:16px;height:16px}
.au-tabs a.on{background:#fff;color:#0A2E5C;box-shadow:0 1px 6px rgba(8,42,85,.12)}
.au-tabs a.on .i{color:#F07C1E}
.au-tabs a:focus-visible{outline:2px solid #0B63CE;outline-offset:1px}
.au-main .otp-in{font-size:22px!important;letter-spacing:.5em;text-align:center;font-weight:800}

/* v6.6.1 scroll boxes for long vertical runs of information (set by ui4.js scrollBoxes) */
.sbox{max-height:min(70vh,640px);overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:rgba(10,46,92,.35) transparent;transition:box-shadow .2s}
.sbox::-webkit-scrollbar{width:8px;height:8px}.sbox::-webkit-scrollbar-thumb{background:rgba(10,46,92,.3);border-radius:8px}
.sbox.sbox-more{box-shadow:inset 0 -18px 14px -14px rgba(10,46,92,.28)}
.sbox-t{overflow-x:auto}
.sbox thead th{position:sticky;top:0;z-index:2;background:#f3f6fb;box-shadow:0 1px 0 #e3e9f2}
@media (max-width:900px){.sbox{max-height:62vh}}
.sbox:is(ol.tl,.tl,.feed,.notif-list){max-height:440px}
:is(.content,.pub-wsp) .kb-list.sbox,:is(.content.wsp,.pub-wsp.pub-vw) .kb-list.sbox{max-height:min(72vh,680px)!important;overflow-y:auto!important}
/* v6.6.2 stat / price cards: the amount never runs out of its card. The text column may shrink; on phones the icon sits
   above the amount so a long rial amount gets the whole card width. */
.stat{grid-template-columns:46px minmax(0,1fr)!important}
.stat .v,.stat .lb,.stat .d{min-width:0;overflow-wrap:anywhere}
.stat .v{line-height:1.35}
@media (max-width:600px){
  .grid .stat{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto!important;row-gap:4px;padding:14px!important}
  .grid .stat::before{grid-row:auto!important;grid-column:1;width:38px!important;height:38px!important;border-radius:12px!important;background-size:20px!important;align-self:start;margin-bottom:4px}
  .grid .stat .v,.grid .stat .lb,.grid .stat .d{grid-column:1!important}
  .grid .stat .v{font-size:clamp(16px,4.8vw,20px)!important}
}
/* v6.6.3 suggested carriers / customs brokers tiles (home module + shipper desk) */
.pd-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pd-t{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;border:1px solid var(--pd-l);background:var(--pd-bg);color:#0A2E5C;text-decoration:none;transition:transform .15s,box-shadow .2s;min-width:0}
.pd-t:hover{transform:translateY(-2px);box-shadow:0 10px 24px -14px var(--pd-c)}
.pd-car{--pd-c:#F07C1E;--pd-bg:#FFF6EE;--pd-l:#FBDDC2}
.pd-clr{--pd-c:#6A4C93;--pd-bg:#F5F0FB;--pd-l:#E2D6F1}
.pd-i{flex:none;width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:var(--pd-c);color:#fff;box-shadow:0 8px 18px -10px var(--pd-c)}
.pd-i .i{width:24px;height:24px}
.pd-x{flex:1;min-width:0;display:flex;flex-direction:column;gap:3px}
.pd-x b{font-size:14px;font-weight:800;line-height:1.5}
.pd-s{font-size:12px;color:#5b6b80}
.pd-b{align-self:flex-start;display:inline-flex;align-items:center;gap:4px;font-size:11px;font-weight:700;color:var(--pd-c);background:#fff;border:1px solid var(--pd-l);border-radius:99px;padding:1px 8px}
.pd-b .i{width:12px;height:12px}
.pd-go{flex:none;display:inline-flex;align-items:center;gap:2px;font-size:12px;font-weight:800;color:var(--pd-c)}
.layout2 aside .pd-grid{grid-template-columns:minmax(0,1fr)}
.hm-dirs{margin-top:16px;padding:16px 18px 18px!important}
.hm-dirs .hm-ch{display:flex;align-items:center;gap:8px;margin:0 0 12px!important;padding:0!important;border:0!important}
.hm-dirs .hm-ch h3,.hm-dirs .hm-ch h2{margin:0;font-size:15px}
.hm-dirs .cb{padding:0!important}
@media (max-width:600px){.pd-grid{grid-template-columns:minmax(0,1fr)}.pd-t{padding:12px}.pd-i{width:40px;height:40px}}
/* six guest tabs: tighter labels so «شرکت‌های حمل» and «ترخیص‌کاران» fit on one line */
@media (max-width:900px){
  .gnav{padding-inline:2px!important}
  .gnav a{flex:1 1 auto!important;min-width:0;font-size:10px!important;letter-spacing:-.25px;padding-inline:0}
  .gnav a>span:last-child{max-width:100%;white-space:nowrap;text-align:center;line-height:1.2}
  .gnav a .nb-i{width:36px!important}
}

/* v6.6.4 hero for every inner page: the page head (title, description, actions) sits on a gradient banner in the colour of
   the area — guests and shippers blue, carriers orange, brokers purple, admins navy — with the four transport modes as a
   quiet motif. Dashboards keep their own hero; the sign-in split screen keeps its own panel. */
:root{--ph-motif:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20126%2024%22%20fill%3D%22none%22%20stroke%3D%22%23fff%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20opacity%3D%22.16%22%3E%3Cg%20transform%3D%22translate%280%200%29%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2214%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%2011h16M8%2021l2-4M16%2021l-2-4%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2834%200%29%22%3E%3Cpath%20d%3D%22M21%2016v-2l-8-5V3.5a1.5%201.5%200%200%200-3%200V9l-8%205v2l8-2.5V19l-2%201.5V22l3.5-1%203.5%201v-1.5L13%2019v-5.5z%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%2868%200%29%22%3E%3Cpath%20d%3D%22M3%2015l2%205h14l2-5-9-3-9%203z%22%2F%3E%3Cpath%20d%3D%22M6%2013V7h12v6%22%2F%3E%3Cpath%20d%3D%22M12%203v4%22%2F%3E%3C%2Fg%3E%3Cg%20transform%3D%22translate%28102%200%29%22%3E%3Cpath%20d%3D%22M1%205h13v11H1z%22%2F%3E%3Cpath%20d%3D%22M14%209h4l4%204v3h-8z%22%2F%3E%3Ccircle%20cx%3D%225.5%22%20cy%3D%2218%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2218.5%22%20cy%3D%2218%22%20r%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E")}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero){position:relative;overflow:hidden;isolation:isolate;flex:1 1 100%!important;order:-2;display:flex!important;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 20px;
  margin:0 0 16px!important;padding:26px 30px!important;min-height:132px;border-radius:22px!important;border:0!important;color:#fff;box-shadow:0 18px 40px -26px rgba(10,46,92,.55);
  background:var(--ph-motif) no-repeat left 26px bottom 18px/150px auto,radial-gradient(120% 160% at 0% 100%,rgba(20,121,224,.55) 0%,rgba(20,121,224,0) 55%),radial-gradient(80% 120% at 100% 0%,rgba(240,124,30,.26) 0%,rgba(240,124,30,0) 50%),repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 2px,transparent 2px 24px),linear-gradient(135deg,#071d3f 0%,#0A2E5C 45%,#0B63CE 100%)!important}
.app.r-carrier .content>.ph:not(.u3-hero){background:var(--ph-motif) no-repeat left 26px bottom 18px/150px auto,radial-gradient(120% 160% at 0% 100%,rgba(247,160,78,.55) 0%,rgba(247,160,78,0) 55%),radial-gradient(80% 120% at 100% 0%,rgba(20,121,224,.22) 0%,rgba(20,121,224,0) 50%),repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 2px,transparent 2px 24px),linear-gradient(135deg,#4a2204 0%,#9a4507 45%,#F07C1E 100%)!important}
.app.r-broker .content>.ph:not(.u3-hero){background:var(--ph-motif) no-repeat left 26px bottom 18px/150px auto,radial-gradient(120% 160% at 0% 100%,rgba(155,120,205,.55) 0%,rgba(155,120,205,0) 55%),radial-gradient(80% 120% at 100% 0%,rgba(240,124,30,.2) 0%,rgba(240,124,30,0) 50%),repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 2px,transparent 2px 24px),linear-gradient(135deg,#21163a 0%,#3d2a5c 45%,#6A4C93 100%)!important}
.app.r-admin .content>.ph:not(.u3-hero){background:var(--ph-motif) no-repeat left 26px bottom 18px/150px auto,radial-gradient(120% 160% at 0% 100%,rgba(29,79,143,.6) 0%,rgba(29,79,143,0) 55%),radial-gradient(80% 120% at 100% 0%,rgba(240,124,30,.18) 0%,rgba(240,124,30,0) 50%),repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 2px,transparent 2px 24px),linear-gradient(135deg,#04122a 0%,#082a55 50%,#1d4f8f 100%)!important}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero)::before{content:"";display:block!important;position:absolute;z-index:-1;inset:auto -70px -90px auto;width:300px;height:300px;border-radius:50%;border:36px solid rgba(255,255,255,.06);pointer-events:none}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero)::after{display:none!important}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero)>div:first-child{flex:1 1 320px;min-width:0}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) h1{display:block!important;color:#fff!important;font-size:26px!important;font-weight:900;margin:0 0 6px!important;line-height:1.45;text-shadow:0 2px 14px rgba(0,0,0,.18)}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) p{color:rgba(255,255,255,.86)!important;font-size:13.5px;max-width:780px;margin:0!important;line-height:1.9}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) p a,:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) p b{color:#fff!important}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) .back{display:inline-flex!important;align-items:center;gap:4px;margin-bottom:8px;padding:4px 12px 4px 10px;border-radius:99px;background:rgba(255,255,255,.14);color:#fff!important;font-size:12px;font-weight:700;backdrop-filter:blur(4px)}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) .badge{box-shadow:0 0 0 1px rgba(255,255,255,.35)}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero)>.row{position:relative;z-index:1;gap:8px}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) .btn{background:#fff!important;color:#0A2E5C!important;border:1px solid #fff!important;box-shadow:0 10px 22px -14px rgba(0,0,0,.5)}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) .btn .i{color:inherit}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) :is(.btn-line,.btn-ghost){background:rgba(255,255,255,.14)!important;color:#fff!important;border-color:rgba(255,255,255,.4)!important;box-shadow:none}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) :is(.btn-cap,.btn-warn,.btn-danger){background:#F07C1E!important;color:#fff!important;border-color:#F07C1E!important}
.app.r-carrier .content>.ph:not(.u3-hero) .btn-cap{background:#fff!important;color:#9a4507!important;border-color:#fff!important}
@media (max-width:900px){
  :is(.app .content,.pub-wsp)>.ph:not(.u3-hero){padding:18px 18px!important;min-height:0;border-radius:18px!important;margin-bottom:12px!important;background-size:96px auto,auto,auto,auto,auto!important;background-position:left 14px bottom 12px,0 0,0 0,0 0,0 0!important}
  :is(.app .content,.pub-wsp)>.ph:not(.u3-hero) h1{font-size:19px!important;margin-bottom:4px!important}
  :is(.app .content,.pub-wsp)>.ph:not(.u3-hero) p{font-size:12.5px;line-height:1.8}
  :is(.app .content,.pub-wsp)>.ph:not(.u3-hero)>.row{width:100%}
  :is(.app .content,.pub-wsp)>.ph:not(.u3-hero)::before{width:200px;height:200px;border-width:26px;inset:auto -60px -80px auto}
}
.app .content.wsp-det>.ph:not(.u3-hero) .back{width:34px;height:34px;padding:0!important;margin:0!important;font-size:0!important;display:inline-grid!important;place-items:center;border-radius:11px;background:rgba(255,255,255,.16)!important;border:1px solid rgba(255,255,255,.35)!important}
.app .content.wsp-det>.ph:not(.u3-hero) .back .i{width:16px;height:16px}
.app .content.wsp-det>.ph:not(.u3-hero) h1{margin:0!important}
/* v6.7 support ticketing */
.tk-wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}
.tk-side{display:flex;flex-direction:column;gap:14px}
.tk-form textarea.in{min-height:150px;resize:vertical}
.tk-hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);opacity:0;pointer-events:none;margin:0!important}
.tk-form{position:relative}
.tk-steps{list-style:none;margin:0;padding:0;counter-reset:tk;display:flex;flex-direction:column;gap:10px}
.tk-steps li{counter-increment:tk;display:grid;grid-template-columns:28px 1fr;gap:2px 10px;font-size:13px}
.tk-steps li::before{content:counter(tk);grid-row:1/3;width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:var(--acc-bg,#e8f1fc);color:var(--acc-d,#0B63CE);font-weight:800;font-size:12px}
.tk-steps li span{font-size:12px;color:#6b7c90}
.tk-contact{display:flex;flex-direction:column;gap:10px}
.tk-c{display:flex;align-items:center;gap:12px;padding:14px;border-radius:16px;background:#fff;border:1px solid #e3e9f2;color:#0A2E5C;text-decoration:none;box-shadow:0 8px 20px -18px rgba(10,46,92,.6)}
a.tk-c:hover{border-color:#b9d3f3}
.tk-c>span:last-child{display:flex;flex-direction:column;gap:2px;min-width:0;font-size:13.5px;overflow-wrap:anywhere}
.tk-c b{font-size:12px;color:#6b7c90;font-weight:700}
.tk-ci{flex:none;width:42px;height:42px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,#0A2E5C,#0B63CE);color:#fff}
.tk-done{text-align:center;align-items:center;margin:0 auto}
.tk-ok{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;background:#e7f7ee;color:#1a8f4c;margin:0 auto}
.tk-link{display:flex;gap:8px;width:100%}.tk-link .in{flex:1;min-width:0}
.tk-list{display:flex;flex-direction:column;gap:8px}
.tk-row{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;background:#fff;border:1px solid #e3e9f2;color:inherit;text-decoration:none;flex-wrap:wrap}
.tk-row:hover{border-color:#b9d3f3;box-shadow:0 10px 22px -18px rgba(10,46,92,.6)}
.tk-row.unread{border-inline-start:4px solid var(--acc,#0B63CE)}
.tk-ri{flex:none;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#eef4fb;color:#0B63CE}
.tk-ri.pri-high{background:#fff4e6;color:#c76a0a}.tk-ri.pri-urgent{background:#fdecec;color:#b42318}.tk-ri.pri-low{background:#f2f4f7;color:#6b7c90}
.tk-rm{flex:1 1 240px;min-width:0;display:flex;flex-direction:column;gap:2px}
.tk-rm b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tk-thread{display:flex;flex-direction:column;gap:12px}
.tk-msg{background:#fff;border:1px solid #e3e9f2;border-radius:16px;padding:14px 16px;max-width:92%}
.tk-msg.req{align-self:flex-start;border-start-start-radius:6px}
.tk-msg.staff{align-self:flex-end;background:#f2f7fe;border-color:#cfe0f6;border-start-end-radius:6px}
.tk-msg.note{align-self:stretch;max-width:none;background:#fff9e8;border:1px dashed #e9c46a}
.tk-mh{display:flex;align-items:center;gap:8px;margin-bottom:6px;font-size:13px;flex-wrap:wrap}
.tk-mh .sp{flex:1}
.tk-av{width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:#e8eef6;color:#0A2E5C}
.tk-msg.staff .tk-av{background:#0B63CE;color:#fff}
.tk-b{font-size:14px;line-height:1.95;overflow-wrap:anywhere}
.tk-file{display:inline-flex;align-items:center;gap:6px;margin-top:8px;padding:6px 10px;border-radius:10px;background:#fff;border:1px solid #dbe5f1;font-size:12.5px;color:#0B63CE}
.tk-sys{align-self:center;font-size:12px;color:#6b7c90;background:#f2f4f7;border-radius:99px;padding:4px 12px;display:inline-flex;gap:6px;align-items:center}
.tk-rate{display:flex;gap:4px;direction:ltr;justify-content:flex-end}
.tk-rate button{border:0;background:none;font-size:26px;line-height:1;color:#d0d7e2;cursor:pointer;padding:0 2px}
.tk-rate button.on,.tk-rate:hover button{color:#F5A524}
.tk-rate button:hover~button{color:#d0d7e2}
@media (max-width:900px){.tk-wrap{grid-template-columns:minmax(0,1fr)}.tk-msg{max-width:100%}.tk-link{flex-direction:column}}
.s-bot{display:flex;flex-direction:column;gap:8px}
.app .side .s-bot .s-sup{display:flex;align-items:center;justify-content:flex-start;gap:8px;width:100%;color:#fff!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.22)!important}
.app .side .s-bot .s-sup.on{background:rgba(255,255,255,.24)!important}
.app .side .s-bot .s-sup .nb{margin-inline-start:auto;min-width:20px;height:20px;border-radius:99px;background:#fff;color:var(--acc-d,#0B63CE);font-size:11px;font-weight:800;display:grid;place-items:center;padding:0 6px}
.hm-banner .bt p{text-align:start!important;text-justify:none;word-spacing:normal}
/* v6.8 SMS notification settings */
.sn-grp{border:1px solid #e3e9f2;border-radius:14px;padding:10px 14px 12px;margin:0}
.sn-grp legend{display:flex;align-items:center;gap:8px;padding:0 6px;font-size:13px}
.sn-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:6px 14px}
.sn-i{display:flex;align-items:flex-start;gap:8px;font-size:13px;padding:5px 0;cursor:pointer}
.sn-i input{margin-top:3px;accent-color:var(--acc,#0B63CE)}
.sn-prev{background:#f3f7fd;border:1px solid #d6e4f5;border-radius:16px 16px 4px 16px;padding:12px 14px;font-size:13.5px;line-height:2}

/* ===================== v6.9.1 legal documents and confirmations ===================== */
.lg-wrap{max-width:980px;margin:0 auto;display:flex;flex-direction:column;gap:16px}
.lg-tabs{display:flex;gap:8px;flex-wrap:wrap}
.lg-tabs a{display:inline-flex;align-items:center;gap:6px;padding:9px 16px;border-radius:999px;background:#fff;border:1px solid var(--v4-line);color:#0A2E5C;font-weight:600;font-size:14px;text-decoration:none}
.lg-tabs a.on{background:#0A2E5C;border-color:#0A2E5C;color:#fff}
.lg-head{background:linear-gradient(135deg,#0A2E5C,#0B63CE);color:#fff;border-radius:var(--r);padding:26px 26px 22px;box-shadow:var(--v4-sh)}
.lg-head h1{margin:0 0 12px;font-size:clamp(19px,2.6vw,26px);line-height:1.6;color:#fff}
.lg-meta{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;font-size:13px;opacity:.95}
.lg-meta>span{display:inline-flex;align-items:center;gap:6px}
.lg-meta .badge{background:rgba(255,255,255,.16)!important;color:#fff!important;border:0}
.lg-head .lg-print{margin-inline-start:auto;background:#fff!important;color:#0A2E5C!important;border-color:#fff!important}
.lg-intro{margin-top:14px;padding-top:14px;border-top:1px solid rgba(255,255,255,.2)}
.lg-intro .lg-p{color:#eaf2ff;font-size:14.5px;line-height:2.1;margin:0 0 6px}
.lg-body{display:grid;grid-template-columns:250px minmax(0,1fr);gap:16px;align-items:start}
.lg-toc{position:sticky;top:84px;background:#fff;border:1px solid var(--v4-line);border-radius:var(--r);padding:12px;box-shadow:var(--v4-sh);max-height:calc(100vh - 110px);overflow:auto}
.lg-toc summary{font-weight:700;color:#0A2E5C;cursor:pointer;display:flex;align-items:center;gap:6px;padding:4px 2px 8px;list-style:none}
.lg-toc summary::-webkit-details-marker{display:none}
.lg-toc-in{display:flex;flex-direction:column;gap:2px}
.lg-toc-in a{display:flex;gap:8px;align-items:baseline;padding:6px 8px;border-radius:10px;color:#24364d;font-size:13.5px;line-height:1.7;text-decoration:none}
.lg-toc-in a:hover{background:#eef4fc;color:#0B63CE}
.lg-tn{flex:0 0 26px;height:22px;border-radius:7px;background:#eef4fc;color:#0B63CE;font-size:12px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.lg-main{display:flex;flex-direction:column;gap:14px;min-width:0}
.lg-art{background:#fff;border:1px solid var(--v4-line);border-radius:var(--r);padding:20px 22px;box-shadow:var(--v4-sh);scroll-margin-top:90px}
.lg-art h2{margin:0 0 12px;font-size:17px;line-height:1.8;color:#0A2E5C;display:flex;flex-wrap:wrap;align-items:center;gap:10px}
.lg-an{background:#F07C1E;color:#fff;border-radius:8px;padding:2px 10px;font-size:13px;font-weight:700}
.lg-art p,.lg-art li{font-size:15px;line-height:2.15;color:#1f2f44;text-align:justify}
.lg-p{margin:0 0 8px}
.lg-cl{display:flex;gap:10px;align-items:flex-start;margin:0 0 8px}
.lg-n{flex:0 0 auto;min-width:34px;height:24px;margin-top:5px;padding:0 6px;border-radius:7px;background:#eef4fc;color:#0B63CE;font-size:12.5px;font-weight:700;display:inline-flex;align-items:center;justify-content:center}
.lg-sub{display:flex;gap:8px;align-items:center;margin:14px 0 6px;font-size:15px;color:#0A2E5C}
.lg-ul{margin:0 0 10px;padding-inline-start:22px}
.lg-ul li::marker{color:#F07C1E}
.lg-ol{list-style:none;margin:0 0 10px;padding:0;display:flex;flex-direction:column;gap:2px}
.lg-ol li{display:flex;gap:10px;align-items:flex-start}
.lg-core{display:flex;gap:12px;align-items:flex-start;background:#fff7ef;border:1px solid #f6c9a0;border-radius:var(--r);padding:16px 18px;color:#5a3412}
.lg-core p{margin:0;font-weight:600;line-height:2}
.lg-see{font-size:14px;color:var(--v4-mut);text-align:center}
@media (max-width:860px){
  .lg-body{grid-template-columns:1fr}
  .lg-toc{position:static;max-height:none}
  .lg-toc:not([open]) .lg-toc-in{display:none}
  .lg-art{padding:16px}
  .lg-art p,.lg-art li{font-size:14.5px;text-align:start}
  .lg-head{padding:20px 16px}
  .lg-head .lg-print{margin-inline-start:0}
}
/* the tick on forms */
.lg-agree{background:#f3f8ff;border:1px solid #cfe0f7;border-radius:14px;padding:12px 14px}
.lg-chk{display:flex;gap:10px;align-items:flex-start;cursor:pointer;font-size:14px;line-height:2;color:#1f2f44}
.lg-chk input{flex:0 0 auto;width:20px;height:20px;margin-top:5px;accent-color:#0B63CE}
.lg-link{white-space:nowrap}
.lg-box{background:#fbfcfe;border:1px solid var(--v4-line);border-radius:14px;padding:12px 14px}
.lg-sum{margin:6px 0 0;padding-inline-start:20px;font-size:13.5px;line-height:2;color:#2c3e55;text-align:start}
.lg-chk span,.lg-rules p{text-align:start}
.lg-re{border-inline-start:4px solid #F07C1E!important;margin-bottom:14px}
.lg-log{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.lg-log li{display:flex;justify-content:space-between;gap:10px;padding:7px 0;border-bottom:1px dashed var(--v4-line);font-size:13.5px}
.s-legal{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;font-size:11.5px;margin-top:8px;opacity:.85}
.s-legal a{color:inherit;text-decoration:none}
.s-legal a:hover{text-decoration:underline}
.pf-legal{display:flex;gap:16px;flex-wrap:wrap}
.pf-legal a{color:inherit;opacity:.85;text-decoration:none;font-size:13px}
/* room entry gate */
.lg-gate{max-width:820px}
.lg-gate-h{display:flex;gap:12px;align-items:flex-start}
.lg-gate-h>svg{flex:0 0 auto;width:34px;height:34px;color:#0B63CE}
.lg-gate-h b{font-size:16px;color:#0A2E5C}
.lg-rules{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.lg-rules li{display:flex;gap:12px;align-items:flex-start;padding:12px;border:1px solid var(--v4-line);border-radius:14px;background:#fbfcfe}
.lg-rules p{margin:2px 0 0;font-size:14px;line-height:2;color:#2c3e55}
.lg-ri{flex:0 0 34px;height:34px;border-radius:10px;background:#eef4fc;color:#0B63CE;display:inline-flex;align-items:center;justify-content:center}
@media print{
  .side,.topbar,.bnav,.app-top,.pub-h,.pub-f,.hm-foot,.lg-tabs,.lg-print,.lg-toc,.s-bot,header.top,nav.bnav{display:none!important}
  .lg-head{background:none!important;color:#000!important;box-shadow:none;padding:0}
  .lg-head h1,.lg-meta{color:#000!important}
  .lg-body{display:block}
  .lg-art{box-shadow:none;border:0;padding:0 0 10px;break-inside:avoid-page}
}

/* ===================== v6.9.3 carrier / capacity colour: duck green (سبز کله‌غازی کلاسیک) =====================
   main #0E6E5C · dark #0A4F42 · deeper #073A31 · light #E7F0EF · border #B9D5CF · lift #2E9B83.
   Orange #F07C1E stays the brand colour (logo, main buttons, warnings); every carrier / capacity use below is green. */
.app.r-carrier{--acc:#0E6E5C;--acc-d:#0A4F42;--acc-bg:#E7F0EF;--acc-glow:rgba(14,110,92,.38)}
.r-carrier{--u-acc:#0E6E5C;--u-acc2:#2E9B83;--u-glow:rgba(14,110,92,.42)}
.btn-cap{background:#0E6E5C!important;border-color:#0E6E5C!important;color:#fff!important;box-shadow:0 6px 14px rgba(14,110,92,.28)!important}
.btn-cap:hover{background:#0A4F42!important;border-color:#0A4F42!important}
.ph.u-hero .btn-cap{background:#0E6E5C!important;box-shadow:0 10px 22px rgba(14,110,92,.38)!important}
:is(.app .content,.pub-wsp)>.ph:not(.u3-hero) .btn-cap{background:#0E6E5C!important;border-color:#0E6E5C!important;color:#fff!important}
.app.r-carrier .content>.ph:not(.u3-hero) .btn-cap{background:#fff!important;color:#0A4F42!important;border-color:#fff!important}
.app.r-carrier .side{background:var(--gb-motif),linear-gradient(180deg,#0E6E5C 0%,#0A4F42 62%,#073A31 100%)!important}
.r-carrier .side .snav .cnt{background:#fff!important;color:#0E6E5C!important}
.r-carrier .bnav a.on::before{background:#7FD3BF!important}
.r-carrier .bnav a.mid .pi{background:linear-gradient(135deg,#0E6E5C,#2E9B83)!important;box-shadow:0 8px 20px rgba(14,110,92,.45)!important}
.r-carrier .journey .sv{color:#0E6E5C!important}
.r-carrier .desk-top .ph.u3-hero{background:radial-gradient(120% 140% at 0% 100%,rgba(70,180,150,.5) 0%,rgba(70,180,150,0) 55%),radial-gradient(90% 120% at 100% 0%,rgba(20,121,224,.22) 0%,rgba(20,121,224,0) 50%),var(--gb-motif),linear-gradient(135deg,#062e27 0%,#0A4F42 45%,#0E6E5C 100%)!important}
.app.r-carrier .content>.ph:not(.u3-hero){background:var(--ph-motif) no-repeat left 26px bottom 18px/150px auto,radial-gradient(120% 160% at 0% 100%,rgba(70,180,150,.5) 0%,rgba(70,180,150,0) 55%),radial-gradient(80% 120% at 100% 0%,rgba(20,121,224,.2) 0%,rgba(20,121,224,0) 50%),repeating-linear-gradient(135deg,rgba(255,255,255,.035) 0 2px,transparent 2px 24px),linear-gradient(135deg,#062e27 0%,#0A4F42 45%,#0E6E5C 100%)!important}
/* capacity everywhere (market tabs, rows, KPIs, tiles, cards) */
.stat.cap::before{background-color:#E7F0EF!important}
.dkpi.t-cap .dk-i{background:#E7F0EF!important;color:#0E6E5C!important}
.hh-tiles a:nth-child(2) .i,.hh-tiles a:nth-child(4) .i{background:#E7F0EF!important;color:#0E6E5C!important}
#lt-cap:checked~.ltab-bar .lt-c{color:#0E6E5C!important}
#lt-cap:checked~.ltab-bar .lt-c .cnt{background:#E7F0EF!important;color:#0E6E5C!important}
.lm .mrow.cap .mr-arr,.lm .mrow.cap .mr-go{color:#0E6E5C!important}
.pa .pa-cap .pa-hd{background:linear-gradient(125deg,#0A4F42,#0E6E5C 55%,#2E9B83)!important}
.pa .pa-cap .pa-ic{background:#E7F0EF!important}
.pd-car{--pd-c:#0E6E5C;--pd-bg:#EEF6F4;--pd-l:#B9D5CF}
.door.d-cap{background:linear-gradient(160deg,#0E6E5C 0%,#073A31 100%)!important}
.t-carrier .uc-av{background:linear-gradient(150deg,#0E6E5C,#0A4F42)!important}
/* public site: «ثبت رایگان ظرفیت حمل» and the carrier door are green */
.pf-b2{background:#0E6E5C!important;color:#fff!important;box-shadow:0 6px 18px rgba(14,110,92,.4)!important}.pf-b2:hover{background:#0A4F42!important}
.hm-door.d-car .dh .ti{background:#E7F0EF!important;color:#0E6E5C!important}
.hm-door.d-car .hm-btn{background:linear-gradient(135deg,#0E6E5C,#0A4F42)!important;box-shadow:0 8px 18px rgba(14,110,92,.28)!important}
.hm-qa .qa:not(.c) .ti{background:#E7F0EF;color:#0E6E5C}
.hm-stat[href*="tab=cap"] .ti{background:#E7F0EF!important;color:#0E6E5C!important}

/* ===================== v7.0 clearance-only cargo owner ===================== */
/* home: three doors (transport · clearance only · carrier) above the special capacities */
@media (min-width:1101px){
  .hm-row{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .hm-row .hm-spec{grid-column:1/-1}
  .hm-row .hm-spec .hm-capgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
}
.hm-door.d-clr .dh .ti{background:#F1ECF8;color:#6A4C93}
.hm-door.d-clr li::before{background:#F1ECF8;color:#6A4C93}
.hm-door.d-clr .hm-btn{background:linear-gradient(135deg,#6A4C93,#4E3570)!important;box-shadow:0 8px 18px rgba(106,76,147,.28)!important}
@media (max-width:1100px){.hm-row .hm-door.d-car{grid-column:1/-1}}
.hm-qa .qa.q-clr{grid-column:1/-1}
.hm-qa .qa.q-clr .ti{background:#F1ECF8!important;color:#6A4C93!important}
.pf-b3{background:#6A4C93;color:#fff;box-shadow:0 6px 18px rgba(106,76,147,.4)}.pf-b3:hover{background:#4E3570;color:#fff}
/* registration: the needs of a cargo owner (shown only while «صاحب کالا» is chosen) */
.reg-needs{display:none;margin-top:12px;padding-top:12px;border-top:1px dashed var(--v4-line)}
form:has(input[name="type"][value="shipper"]:checked) .reg-needs{display:flex;flex-direction:column;gap:8px}
.need-opts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.need-opt{align-items:flex-start!important}
.need-opt>span{display:flex;flex-direction:column;gap:2px}
.need-opt>span .i{color:#0B63CE}
.need-opt small{font-size:11.5px;color:var(--v4-mut);line-height:1.6;font-weight:400}
@media (max-width:700px){.need-opts{grid-template-columns:1fr}}
/* clearance file: bridge to transport / warehouse */
.clr-bridge{border-inline-start:4px solid #6A4C93!important}
/* v7.1 multi-file document field */
.clr-files{padding:10px!important;cursor:pointer}
.clr-files-list ul{margin:6px 0 2px;padding-inline-start:18px;line-height:1.9}
.clr-files-list .bad{color:var(--bad,#B23A2E)}
/* v7.1 second main action of the cargo owner's menu: «درخواست ترخیص» (clearance purple) */
.side .snav a.cta2{display:flex;align-items:center;justify-content:center;gap:8px;margin:0 0 10px!important;padding:10px 12px!important;border-radius:14px!important;font-weight:800!important;
  background:rgba(255,255,255,.1)!important;color:#fff!important;border:1.5px solid rgba(255,255,255,.35)!important;box-shadow:none!important}
.side .snav a.cta2 .i{color:#fff!important}
.side .snav a.cta2:hover,.side .snav a.cta2.on{background:#6A4C93!important;border-color:#6A4C93!important}

/* v7.1 advertiser contact — only in the two «پیشنهادی» directories and named profiles, signed-in users only */
.cc-contact{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid var(--cap-bd,#B9D5CF);background:var(--cap-bg,#E7F0EF);border-radius:10px}
.bcard .cc-contact,.cc-contact.is-b{border-color:#D9CCEA;background:#F4F0FA}
.cc-contact .cc-cl{display:flex;flex-wrap:wrap;gap:6px 14px}
.cc-contact a{display:inline-flex;align-items:center;gap:6px;font-weight:700;color:var(--navy,#0A2E5C);text-decoration:none;min-height:32px;max-width:100%;overflow-wrap:anywhere}
.cc-contact a:hover{text-decoration:underline}
.cc-contact a .ic{flex:none;color:var(--cap,#0E6E5C)}
.bcard .cc-contact a .ic,.cc-contact.is-b a .ic{color:#6A4C93}
.cc-contact.is-locked{flex-direction:row;align-items:flex-start;gap:8px;font-size:.86rem;color:#41506A;background:#F5F7FA;border-color:#E2E8F0}
.cc-contact.is-locked .ic{flex:none;margin-top:2px}
.cc-contact.is-wide{margin:0 0 14px;flex-direction:row;align-items:center;gap:14px;flex-wrap:wrap}
.cc-contact.is-wide.is-locked{align-items:flex-start}
.adc-card .card-h{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.adc-card .card-h h3{display:flex;align-items:center;gap:8px}

/* v7.2 cross-role requests: clearance action button, agency badge and agency tick */
.btn.btn-clr{background:#6A4C93 !important;border-color:#6A4C93 !important;color:#fff !important}
.btn.btn-clr:hover{background:#563C7A !important;border-color:#563C7A !important}
.btn.btn-clr .ic{color:#fff !important}
.badge.agency-badge{background:#FFF4E8 !important;color:#8A4A0B !important;border:1px solid #F5C89A !important;white-space:normal}
.lg-agree.agency-agree{border-color:#F5C89A !important;background:#FFF9F2 !important}
.notice.agency-note b{margin-inline-end:4px}

/* v7.3 destructive action button (pre-launch reset, clearance cancel) */
.btn.btn-bad{background:#D64545 !important;border-color:#D64545 !important;color:#fff !important}
.btn.btn-bad:hover{background:#B83434 !important;border-color:#B83434 !important}
.btn.btn-bad .ic{color:#fff !important}
.btn.btn-bad[disabled]{opacity:.5;cursor:not-allowed}

/* v7.4 «مستر تلکس» mascot: empty states, welcome, not found */
.masc{display:flex;align-items:center;justify-content:center;gap:30px;padding:30px 28px;background:linear-gradient(160deg,#F3F8FE,#fff);border:2px dashed #CFE0F3;border-radius:26px;text-align:right}
.masc .masc-img img{height:230px;width:auto;display:block;filter:drop-shadow(0 14px 22px rgba(10,46,92,.18));animation:mascBob 3.2s ease-in-out infinite}
.masc-bubble{position:relative;background:#fff;border-radius:22px;padding:20px 24px;box-shadow:0 10px 30px rgba(10,46,92,.10);max-width:480px}
.masc-bubble:after{content:"";position:absolute;left:-12px;top:42px;border:12px solid transparent;border-right-color:#fff;border-left:0}
.masc-bubble h4{margin:0 0 8px;font-size:20px;line-height:1.6;color:#0A2E5C}
.masc-bubble p{margin:0;color:#4B5B72;line-height:1.95;font-size:15px;text-align:right}
.masc-act{margin-top:14px;display:flex;gap:8px;flex-wrap:wrap}
.masc-welcome{display:flex;align-items:center;gap:28px;background:linear-gradient(120deg,#0A2E5C,#0B63CE);color:#fff;border-radius:28px;padding:24px 32px;margin-bottom:18px}
.app.r-carrier .masc-welcome{background:linear-gradient(120deg,#0A4F42,#0E6E5C)}
.app.r-broker .masc-welcome{background:linear-gradient(120deg,#3F2A63,#6A4C93)}
.masc-welcome .masc-img img{height:210px;width:auto;margin:-10px 0 -14px;display:block;filter:drop-shadow(0 14px 22px rgba(0,0,0,.3))}
.masc-welcome h3{margin:0 0 6px;font-size:26px;color:#fff}.masc-welcome p{margin:0 0 14px;opacity:.92;line-height:1.9}
.masc-steps{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:16px}
.masc-steps span{background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.25);border-radius:999px;padding:7px 16px;font-weight:800;font-size:14px}
.masc-steps b{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:#F07C1E;margin-left:6px;font-size:13px}
.btn.masc-later{background:transparent !important;color:#fff !important;border:1.5px solid rgba(255,255,255,.55) !important}
.masc-404{display:flex;align-items:center;justify-content:center;gap:50px;min-height:480px;padding:20px 0}
.masc-404 .masc-img img{height:340px;width:auto;display:block;filter:drop-shadow(0 20px 30px rgba(10,46,92,.25))}
.masc-404 .n{font:900 108px/1 Arial,sans-serif;color:#0B63CE;letter-spacing:4px}
.masc-404 h2{font-size:34px;color:#0A2E5C;margin:10px 0}.masc-404 p{color:#4B5B72;font-size:17px;line-height:1.9;max-width:460px}
@keyframes mascBob{50%{transform:translateY(-6px)}}
@media (prefers-reduced-motion:reduce){.masc .masc-img img{animation:none}}
@media (max-width:760px){
 .masc{flex-direction:column-reverse;text-align:center;padding:22px 14px;gap:14px}.masc .masc-img img{height:180px}
 .masc-bubble:after{left:50%;top:-12px;bottom:auto;margin-left:-12px;border:12px solid transparent;border-bottom-color:#fff;border-top:0}
 .masc-bubble p{text-align:center}.masc-act{justify-content:center}
 .masc-welcome{flex-direction:column;text-align:center;padding:22px 16px}.masc-welcome .masc-img img{height:170px;margin:0}.masc-steps,.masc-welcome .row{justify-content:center}
 .masc-404{flex-direction:column;gap:6px;min-height:0;text-align:center}.masc-404 .masc-img img{height:240px}.masc-404 .n{font-size:72px}.masc-404 .row{justify-content:center}
}

/* v7.5 app install prompt (after sign-in) */
.appi{position:fixed;inset:0;z-index:1200;background:rgba(6,22,44,.55);display:flex;align-items:flex-end;justify-content:center;padding:16px;animation:appiF .2s ease}
.appi[hidden]{display:none}
.appi-c{position:relative;background:#fff;border-radius:20px;max-width:420px;width:100%;padding:22px 20px 18px;box-shadow:0 20px 50px rgba(10,46,92,.3);animation:appiU .28s cubic-bezier(.2,.8,.2,1)}
@media (min-width:720px){.appi{align-items:center}}
.appi-x{position:absolute;top:10px;left:10px;background:#f1f4f9;border:0;border-radius:50%;width:32px;height:32px;display:grid;place-items:center;cursor:pointer;color:#0A2E5C}
.appi-h{display:flex;gap:14px;align-items:center;margin-bottom:12px}
.appi-h img{width:64px;height:64px;border-radius:16px;box-shadow:0 6px 16px rgba(10,46,92,.25);flex:none}
.appi-h h3{margin:0 0 4px;font-size:1.12rem;color:#0A2E5C}
.appi-h p{margin:0;color:#4a5b73;font-size:.9rem}
.appi-l{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:7px}
.appi-l li{display:flex;gap:8px;align-items:flex-start;font-size:.9rem;color:#24364f}
.appi-l .i{color:#0E6E5C;flex:none;margin-top:2px}
.appi-ios{background:#f3f6fb;border-radius:12px;padding:10px 12px;margin-bottom:12px;font-size:.88rem;color:#24364f}
.appi-ios ol{margin:6px 0 0;padding-inline-start:20px;display:grid;gap:4px}
.appi-ios .i{vertical-align:-3px;color:#0B63CE}
.appi-a{display:flex;gap:8px}
.appi-a .btn{flex:1;justify-content:center}
@keyframes appiF{from{opacity:0}}
@keyframes appiU{from{transform:translateY(30px);opacity:0}}

/* v7.10 «شرکت‌های حمل» / «ترخیص‌کاران»: featured (gold, on top) vs the free list (plain, folded, signed-in only) */
.dir-feat{background:linear-gradient(160deg,#FFF8E6,#FFF1CF);border:1.5px solid #E9C46A;border-radius:22px;padding:18px;margin:6px 0 22px;box-shadow:0 14px 34px rgba(160,110,0,.12)}
.dir-feat.is-empty{background:#FFFBF0;box-shadow:none;border-style:dashed}
.dir-feat-h{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:14px}
.dir-feat.is-empty .dir-feat-h{margin-bottom:0}
.dir-feat-h h2{margin:0;font-size:18px;font-weight:900;color:#5C4300}
.dir-feat-h p{margin:2px 0 0;font-size:12.5px;color:#7C5800}
.dir-feat-cta{margin-inline-start:auto}
.dir-crown{display:inline-flex;align-items:center;gap:6px;background:linear-gradient(135deg,#F2B227,#E08A00);color:#fff;font-weight:900;font-size:13px;padding:7px 14px;border-radius:999px;box-shadow:0 6px 14px rgba(224,138,0,.3);flex:none}
.dir-crown .i{color:#fff}
.dir-feat .ccard{border:2px solid #E9C46A!important;box-shadow:0 10px 26px rgba(160,110,0,.16)!important;background:#fff}
.dir-free{border:1px solid var(--u-line,#E3E8F0);border-radius:20px;background:#F8FAFC;padding:4px 16px 4px;margin-bottom:18px}
.dir-free>summary{list-style:none;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 0;cursor:pointer}
.dir-free>summary::-webkit-details-marker{display:none}
.dir-sum-t{font-weight:900;font-size:16px;color:#3A4B63}
.dir-sum-b{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid #CBD5E1;border-radius:999px;padding:7px 16px;font-weight:800;font-size:13px;color:#0A2E5C}
.dir-free[open] .when-closed,.dir-free:not([open]) .when-open{display:none}
.dir-free[open] .dir-sum-b .i{transform:rotate(180deg)}
.dir-free-b{padding:4px 0 16px}
.dir-plain .ccard{background:#fff;box-shadow:none!important;border:1px solid #E3E8F0!important;filter:saturate(.75)}
.dir-plain .ccard .cc-av{opacity:.8}
.dir-free.is-locked{padding:14px 16px}
.dir-free.is-locked .ps-h{margin:0 0 10px}
.dir-lock{display:flex;gap:14px;align-items:flex-start;background:#fff;border:1px dashed #CBD5E1;border-radius:16px;padding:16px}
.dir-lock>.i{width:28px;height:28px;color:#64748B;flex:none}
.dir-lock p{margin:4px 0 10px;color:#526079}
@media (max-width:640px){.dir-feat{padding:14px}.dir-feat-h h2{font-size:16px}.dir-feat-cta{margin-inline-start:0}.dir-free{padding:2px 12px}}

/* ---------------- v7.12 «دریافت اپلیکیشن»: store buttons, home promo, /app page ---------------- */
.asb-row{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 4px}
.asb{display:inline-flex;align-items:center;gap:10px;min-height:54px;padding:8px 16px 8px 18px;border-radius:14px;background:#0B1B33;color:#fff!important;text-decoration:none!important;border:1px solid rgba(255,255,255,.14);font:inherit;cursor:pointer;box-shadow:0 10px 22px rgba(10,46,92,.22);transition:transform .15s,box-shadow .15s}
.asb:hover{transform:translateY(-2px);box-shadow:0 14px 28px rgba(10,46,92,.3)}
.asb:focus-visible{outline:3px solid #F07C1E;outline-offset:2px}
.asb-i{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;background:rgba(255,255,255,.12);flex:none}
.asb-i svg{width:20px;height:20px}
.asb-t{display:flex;flex-direction:column;line-height:1.25;text-align:start}
.asb-t small{font-size:11px;opacity:.78;font-weight:500}
.asb-t b{font-size:15px;font-weight:800}
.asb-bazaar{background:linear-gradient(135deg,#2E7D32,#43A047)}
.asb-myket{background:linear-gradient(135deg,#1565C0,#1E88E5)}
.asb-play{background:#111827}
.asb-apk{background:linear-gradient(135deg,#37474F,#546E7A)}
.asb-pwa{background:linear-gradient(135deg,#F07C1E,#F59E0B);box-shadow:0 10px 22px rgba(240,124,30,.32)}
.is-ios .asb:not(.asb-pwa){display:none}
.is-app .web-only{display:none!important}
.app-steps{margin:10px 0 2px;padding:12px 14px;border-radius:14px;background:#fff;border:1.5px dashed #9DB6D6;color:#13243B;font-size:13.5px}
.app-steps ol{margin:6px 0 2px;padding-inline-start:20px}
.app-steps li{margin:3px 0}
.app-steps svg{width:15px;height:15px;vertical-align:-3px}
.app-in-app{margin:14px 0;padding:10px 14px;border-radius:12px;background:#E8F7EF;color:#0E6E5C;font-weight:700}
.ap-chip{display:inline-flex;align-items:center;gap:6px;padding:5px 12px;border-radius:999px;background:rgba(240,124,30,.14);color:#C2570C;font-size:12.5px;font-weight:800}
.ap-chip svg{width:15px;height:15px}
.ap-pts{display:flex;flex-wrap:wrap;gap:6px 16px;list-style:none;margin:10px 0 0;padding:0;font-size:13px;color:#40536E;font-weight:600}
.ap-pts li{display:inline-flex;align-items:center;gap:5px}
.ap-pts svg{width:15px;height:15px;color:#0E6E5C}
.ap-phone{width:200px;aspect-ratio:270/550;border-radius:34px;background:#0f1724;padding:8px;box-shadow:0 30px 60px rgba(10,46,92,.35),inset 0 0 0 2px #2a3547;position:relative}
.ap-phone img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:27px;background:#F3F7FC}
.ap-bub{position:absolute;background:#fff;color:#0A2E5C;font-weight:800;font-size:13.5px;line-height:1.6;padding:9px 14px;border-radius:16px;box-shadow:0 12px 26px rgba(10,46,92,.2);white-space:nowrap}
.ap-masc{position:absolute;pointer-events:none;filter:drop-shadow(0 14px 18px rgba(10,46,92,.25))}
.ap-masc img{height:100%;width:auto;display:block}
/* home promo */
.app-promo{margin-top:16px;border-radius:24px;overflow:hidden;background:radial-gradient(120% 140% at 100% 0,#123E78 0,#0A2E5C 45%,#071B38 100%);color:#fff;position:relative}
.app-promo:before{content:'';position:absolute;left:-80px;top:-140px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(240,124,30,.28),rgba(240,124,30,0) 70%)}
.ap-in{display:grid;grid-template-columns:1fr 330px;gap:18px;align-items:center;padding:26px 28px;position:relative}
.ap-txt h2{margin:10px 0 8px;font-size:26px;line-height:1.45;font-weight:900;color:#fff}
.ap-txt h2 em{font-style:normal;color:#FDBA74}
.ap-txt p{margin:0;color:#C9D7EA;font-size:14px;line-height:1.9}
.app-promo .ap-chip{background:rgba(255,255,255,.12);color:#FFD7B0}
.app-promo .ap-pts{color:#DCE6F3}
.app-promo .ap-pts svg{color:#6EE7B7}
.app-promo .asb{border-color:rgba(255,255,255,.2)}
.ap-more{display:inline-flex;align-items:center;gap:4px;margin-top:10px;color:#FFD7B0!important;font-weight:700;font-size:13px}
.ap-more svg{width:14px;height:14px;transform:rotate(90deg)}
.ap-art{position:relative;height:330px;order:2}
.ap-art .ap-phone{position:absolute;left:24px;top:4px;width:158px;transform:rotate(-6deg)}
.ap-art .ap-masc{right:0;bottom:-8px;height:190px}
.ap-art .ap-bub{right:4px;top:26px}
.app-promo .ap-txt{order:1}
@media (max-width:820px){.ap-in{grid-template-columns:1fr;padding:22px 18px}.ap-art{order:0;height:250px;max-width:330px;width:100%;margin:0 auto}.ap-art .ap-phone{width:118px;left:30px}.ap-art .ap-masc{height:150px}.ap-txt h2{font-size:21px}.asb{flex:1 1 150px}}
/* the /app page */
.appx{max-width:1120px;margin:0 auto}
.apx-hero{border-radius:28px;background:linear-gradient(160deg,#EAF3FF 0,#D6E7FC 55%,#FFF1E2 100%);overflow:hidden;position:relative}
.apx-hero:before{content:'';position:absolute;width:420px;height:420px;border-radius:50%;background:rgba(255,255,255,.55);left:-140px;top:-160px}
.apx-in{display:grid;grid-template-columns:1.1fr .9fr;gap:20px;align-items:center;padding:34px 34px 28px;position:relative}
.apx-txt h1{margin:12px 0 10px;font-size:32px;line-height:1.5;font-weight:900;color:#0A2E5C}
.apx-txt h1 em{font-style:normal;color:#F07C1E}
.apx-lead{margin:0;color:#40536E;font-size:15px;line-height:2}
.apx-share{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:14px}
.apx-art{position:relative;height:440px}
.apx-art .ap-phone{position:absolute;top:10px;width:190px}
.apx-art .ap-b{left:20px;top:46px;transform:rotate(-8deg);opacity:.92}
.apx-art .ap-f{left:150px;transform:rotate(4deg);z-index:1}
.apx-art .ap-masc{right:-6px;bottom:-6px;height:230px;z-index:2}
.apx-art .ap-bub{right:0;top:20px;z-index:3;white-space:normal}
.apx-sec{margin:30px 0 0}
.apx-sec h2{font-size:21px;font-weight:900;color:#0A2E5C;margin:0 0 14px}
.apf-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.apf{background:#fff;border:1px solid #E3EAF4;border-radius:18px;padding:16px;box-shadow:0 8px 22px rgba(10,46,92,.06)}
.apf-i{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#EAF3FF;color:#0B63CE;margin-bottom:8px}
.apf-i svg{width:22px;height:22px}
.apf b{display:block;font-size:15px;color:#0A2E5C}
.apf p{margin:4px 0 0;font-size:13px;line-height:1.9;color:#5B6B82}
.apx-shots{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 2px 12px;-webkit-overflow-scrolling:touch}
.apx-shots figure{margin:0;flex:0 0 180px;scroll-snap-align:start;text-align:center}
.apx-shots img{width:180px;height:auto;aspect-ratio:9/16;border-radius:18px;box-shadow:0 12px 26px rgba(10,46,92,.18);display:block}
.apx-shots figcaption{font-size:12.5px;color:#40536E;margin-top:6px;font-weight:600}
.apx-steps{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.apx-steps li{background:#fff;border:1px solid #E3EAF4;border-radius:18px;padding:16px;position:relative}
.apx-steps li>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#F07C1E;color:#fff;font-weight:900;margin-bottom:8px}
.apx-steps b{color:#0A2E5C}
.apx-steps p{margin:4px 0 0;font-size:13px;line-height:1.9;color:#5B6B82}
.apq{background:#fff;border:1px solid #E3EAF4;border-radius:14px;margin:0 0 8px;padding:0 14px}
.apq summary{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:13px 0;font-weight:700;color:#0A2E5C;cursor:pointer;list-style:none}
.apq summary::-webkit-details-marker{display:none}
.apq summary svg{width:16px;height:16px;transition:transform .2s;flex:none}
.apq[open] summary svg{transform:rotate(180deg)}
.apq p{margin:0 0 13px;font-size:13.5px;line-height:1.9;color:#40536E}
.apx-end{margin:30px 0 8px;border-radius:24px;padding:26px;text-align:center;background:radial-gradient(120% 140% at 100% 0,#123E78 0,#0A2E5C 50%,#071B38 100%);color:#fff}
.apx-end h2{margin:0 0 6px;font-size:23px;font-weight:900;color:#fff}
.apx-end p{margin:0 auto;color:#C9D7EA;text-align:center}
.apx-end .asb-row{justify-content:center}
@media (max-width:860px){.apx-in{grid-template-columns:1fr;padding:22px 18px}.apx-art{height:340px;max-width:380px;width:100%;margin:0 auto}.apx-art .ap-phone{width:150px}.apx-art .ap-f{left:116px}.apx-art .ap-masc{height:180px}.apx-txt h1{font-size:24px}.apf-grid,.apx-steps{grid-template-columns:1fr 1fr}.asb{flex:1 1 150px}}
@media (max-width:520px){.apf-grid,.apx-steps{grid-template-columns:1fr}.apx-art .ap-bub{font-size:12px}}
/* popup and sidebar */
.appi-st{margin:10px 0 4px}
.appi-st .asb-row{margin-top:6px}
.s-app{width:100%;justify-content:flex-start}
.s-app svg,.hm-app svg,.pf-appl svg{width:15px;height:15px}
.hm-app{display:inline-flex;align-items:center;gap:4px;font-weight:700}
.pf-appl{display:inline-flex!important;align-items:center;gap:6px;margin-top:6px;padding:7px 12px;border-radius:10px;background:rgba(240,124,30,.14);color:#FDBA74!important;font-weight:700}
.snav .grp-l{font-size:11.5px;font-weight:800;color:rgba(255,255,255,.55);padding:12px 14px 2px;letter-spacing:.2px}

/* v8.0 stage 10 — simpler home page */
.hm-sq .hm-qin{flex:1;display:flex;align-items:center;gap:10px;background:#f6f9fd;border:1.5px solid var(--hm-line);border-radius:14px;padding:0 14px;min-height:50px;color:var(--hm-mut);transition:border-color .15s,box-shadow .15s,background .15s}
.hm-sq .hm-qin:focus-within{background:#fff;border-color:var(--hm-blue);box-shadow:0 0 0 4px rgba(11,99,206,.12)}
.hm-sq .hm-qin .i{width:20px;height:20px;flex:none;color:var(--hm-blue)}
.hm-sq .hm-qin input{flex:1;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;min-width:0;width:100%;font-size:15px;padding:12px 0;color:var(--hm-ink);-webkit-appearance:none;appearance:none}
.hm-sq .hm-qin input::placeholder{color:#8a99ad}
.hm-sq .hm-qin input::-webkit-search-cancel-button{-webkit-appearance:none}
.hm-door{gap:14px}.hm-door .hm-btn{margin-top:auto}
.hm-how{background:#fff;border:1px solid var(--hm-line);border-radius:16px;padding:14px 18px;margin-top:14px;display:flex;align-items:center;gap:18px;flex-wrap:wrap}
.hm-how b{font-size:15px;color:var(--hm-ink)}.hm-how ol{list-style:none;margin:0;padding:0;display:flex;gap:18px;flex-wrap:wrap;counter-reset:hw;flex:1}
.hm-how li{counter-increment:hw;display:flex;align-items:center;gap:8px;font-size:13px;color:var(--hm-mut)}
.hm-how li::before{content:counter(hw,persian);width:24px;height:24px;border-radius:50%;background:var(--hm-mist);color:var(--hm-blue);display:grid;place-items:center;font-weight:800;font-size:12px;flex:none}
.hm-appbar{display:flex;align-items:center;gap:12px;background:#fff;border:1px dashed var(--hm-line);border-radius:16px;padding:12px 16px;margin-top:14px;color:var(--hm-ink)}
.hm-appbar>span:nth-of-type(1){flex:1}.hm-appbar b{display:block;font-size:14px}.hm-appbar small{color:var(--hm-mut);font-size:12px}
@media (max-width:900px){.hm-row .hm-door{display:none}.hm-sq .hm-qin{flex:1 1 100%}}
@media (max-width:900px){.hm-how ol{flex-direction:column;gap:8px}}
