.portal .data-table-scroll{overflow-x:auto;max-height:calc(100vh - var(--portal-topbar-height) - 250px);border:1px solid var(--line);border-radius:15px;background:var(--surface)}.portal table.data-table{width:100%;border-collapse:collapse;text-align:start}.portal .data-table thead th{position:sticky;top:0;z-index:1;min-height:45px;padding:14px 10px;background:#f7faf8;color:var(--muted);font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.04em;text-align:start;white-space:nowrap}[dir=rtl] .portal .data-table thead th{text-transform:none;letter-spacing:0}.portal .data-table tbody td{padding:14px 10px;border-block-start:1px solid var(--line);font-size:var(--font-caption);color:var(--ink);vertical-align:middle}.portal .data-table tbody tr:hover{background:#fbfdfc}.portal .data-table tbody tr.is-clickable,.portal .data-table tbody tr[role=button]{cursor:pointer}.portal .data-table tbody tr:focus-visible{outline:3px solid rgba(79,154,127,.25);outline-offset:-3px}.portal .data-table .cell-strong{display:block;font-weight:800}.portal .data-table .cell-sub{display:block;margin-top:4px;color:var(--muted);font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:34ch}.portal .data-table .cell-nowrap{white-space:nowrap}.portal .data-table .cell-numeric{white-space:nowrap;font-variant-numeric:tabular-nums}.portal .data-table td .skeleton-line{width:70%}.portal .field{display:grid;gap:7px}.portal .field>.field-label{color:var(--ink-2);font-size:12px;font-weight:800}.portal .field .field-required{color:var(--coral);margin-inline-start:2px}.portal .field input,.portal .field select,.portal .field textarea{width:100%;min-height:44px;border:1px solid var(--line);border-radius:11px;background:var(--surface);padding:0 12px;color:var(--ink);font-size:var(--font-body);outline:0;transition:var(--portal-control-transition) ease}.portal .field textarea{min-height:56px;padding-top:12px;resize:vertical}.portal .field input:focus-visible,.portal .field select:focus-visible,.portal .field textarea:focus-visible{border-color:var(--green);outline:3px solid rgba(79,154,127,.25);outline-offset:1px}.portal .field input:disabled,.portal .field select:disabled,.portal .field textarea:disabled{background:#f4f7f5;color:var(--muted);cursor:not-allowed}.portal .field.is-invalid input,.portal .field.is-invalid select,.portal .field.is-invalid textarea{border-color:var(--coral)}.portal .field .field-error{display:flex;align-items:center;gap:6px;color:var(--coral);font-size:12px;font-weight:600}.portal .field .field-hint{color:var(--muted);font-size:12px}.portal .form-error-summary{display:grid;gap:6px;padding:14px 9px;border:1px solid #f3c7bd;border-radius:var(--radius-control);background:var(--coral-soft);color:var(--coral);font-size:var(--font-caption)}.portal .form-error-summary strong{font-weight:850}.portal .form-error-summary ul{margin:0;padding-inline-start:18px}.portal .form-error-summary button{border:0;background:transparent;color:inherit;text-decoration:underline;cursor:pointer;padding:0;font:inherit;text-align:start}.portal .drawer-backdrop{position:fixed;inset:0;z-index:80;display:flex;justify-content:flex-end;background:rgba(11,42,61,.26);backdrop-filter:blur(4px)}.portal .drawer-panel{width:min(440px,100%);height:100%;overflow-y:auto;padding:14px;background:var(--surface);box-shadow:-20px 0 60px rgba(11,42,61,.18);animation:portal-drawer-in var(--portal-drawer-transition) ease}.portal .drawer-panel.is-wide{width:min(880px,100%)}[dir=ltr] .portal .drawer-panel{margin-left:auto}@keyframes portal-drawer-in{0%{transform:translateX(-20px);opacity:0}to{transform:none;opacity:1}}.portal .drawer-panel::-webkit-scrollbar{width:6px}.portal .drawer-panel::-webkit-scrollbar-thumb{background:#d9e4de;border-radius:var(--portal-radius-pill)}.portal .drawer-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.portal .drawer-head h2{margin:5px 0 0;font-size:var(--portal-section-heading);font-weight:var(--portal-heading-weight);color:var(--ink);min-width:0;overflow-wrap:anywhere}.portal .drawer-head button{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--muted);cursor:pointer}.portal .toast-region{position:fixed;z-index:100;bottom:24px;inset-inline:0;display:grid;justify-items:center;gap:8px;pointer-events:none}.portal .toast{display:flex;align-items:center;gap:10px;min-width:280px;max-width:min(460px,calc(100vw - 32px));padding:12px 9px;border-radius:13px;background:var(--navy);color:#fff;box-shadow:0 16px 42px rgba(11,42,61,.28);font-size:var(--font-caption);font-weight:700;animation:portal-toast-in var(--portal-drawer-transition) ease;pointer-events:auto}@keyframes portal-toast-in{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}.portal .toast.leaving{animation:portal-toast-out .22s ease forwards;pointer-events:none}@keyframes portal-toast-out{0%{opacity:1;transform:none}to{opacity:0;transform:translateY(10px)}}@media (prefers-reduced-motion:reduce){.portal .toast,.portal .toast.leaving{animation-duration:1ms}}.portal .toast>.toast-icon{width:24px;height:24px;flex:0 0 24px;display:grid;place-items:center;border-radius:8px;background:hsla(0,0%,100%,.14);color:#91d3b4}.portal .toast.warning>.toast-icon{color:#f0c36b}.portal .toast.error>.toast-icon{color:#f0a08c}.portal .toast>.toast-dismiss{margin-inline-start:auto;border:0;background:transparent;color:hsla(0,0%,100%,.7);cursor:pointer;padding:4px;display:grid;place-items:center}.portal .toast>.toast-dismiss:hover{color:#fff}.portal .chart-frame{display:grid;gap:12px}.portal .chart-summary{color:var(--muted);font-size:var(--font-caption);line-height:var(--portal-caption-lh)}.portal .chart-skeleton{height:180px;border-radius:14px}.portal .chart-unavailable{display:grid;place-items:center;gap:6px;min-height:99px;padding:11px;border:1px dashed var(--line);border-radius:14px;color:var(--muted);font-size:var(--font-caption);text-align:center}.portal .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.portal .page-hero{min-height:0}.portal .page-hero h1{margin:2px 0;font-size:var(--portal-page-heading);line-height:var(--portal-page-heading-lh);letter-spacing:-.04em;font-weight:var(--portal-heading-weight);color:var(--ink)}.portal .page-hero h1 span{font-size:.75em}.portal .page-hero p{margin:0;color:var(--muted);font-size:var(--font-control);font-weight:400;line-height:var(--portal-body-lh)}.portal .split-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.portal .period-switch{display:inline-flex;align-items:center;gap:3px;padding:4px;border:1px solid var(--line);background:hsla(0,0%,100%,.75);border-radius:14px}.portal .period-switch button{border:0;background:transparent;color:var(--muted);border-radius:10px;padding:5px 11px;font-size:var(--font-caption);min-height:30px;cursor:pointer}.portal .period-switch button[aria-pressed=true]{color:var(--ink);background:var(--surface);box-shadow:0 5px 15px rgba(20,42,53,.07);font-weight:800}.portal .overview-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,.8fr);gap:12px}.portal .overview-lower-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,.7fr);gap:12px}.portal .live-panel,.portal .pulse-panel,.portal .revenue-panel{padding:var(--portal-panel-pad)}.portal .legend{display:flex;gap:14px;color:var(--muted);font-size:12px}.portal .legend span{display:flex;align-items:center;gap:5px}.portal .legend i{width:10px;height:10px;border-radius:3px;background:#dce4e0}.portal .legend i.current{background:var(--green)}.portal .revenue-total{display:flex;align-items:center;gap:10px;margin:10px 0 2px}.portal .revenue-total strong{font-size:18px;white-space:nowrap}.portal .overview-grid .revenue-chart{height:150px;display:grid;grid-template-columns:46px 1fr;gap:10px;margin-top:6px}.portal .chart-scale{display:flex;flex-direction:column;justify-content:space-between;padding:3px 0 26px;color:#a2ada8;font-size:11px}.portal .bars-area{position:relative;display:grid;align-items:end;gap:12px;padding-top:10px}.portal .grid-lines{position:absolute;inset:0 0 28px;display:flex;flex-direction:column;justify-content:space-between;pointer-events:none}.portal .grid-lines i{width:100%;border-top:1px dashed #e8eeea}.portal .bar-group{height:100%;display:flex;flex-direction:column;justify-content:end;align-items:center;gap:8px;position:relative;z-index:1}.portal .bar-pair{width:100%;flex:1;display:flex;align-items:end;justify-content:center;gap:5px}.portal .bar{width:min(15px,34%);min-height:6px;border-radius:7px 7px 3px 3px;transition:var(--portal-chart-transition) ease}.portal .bar.previous{background:#e2e9e5}.portal .bar.current{background:linear-gradient(180deg,#65ad8e,var(--green));box-shadow:0 7px 13px rgba(47,124,99,.15)}.portal .bar-group:hover .current{filter:brightness(1.08);transform:translateY(-2px)}.portal .bar-group small{color:var(--muted);font-size:11px}.portal .decision-card{padding:13px;background:linear-gradient(155deg,#eff9f3,#fff 66%)}.portal .decision-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:13px;color:var(--green);background:var(--surface);box-shadow:var(--shadow-small)}.portal .decision-card .eyebrow{margin-top:10px}.portal .decision-card h2{margin:7px 0 10px;font-size:var(--portal-section-heading);line-height:1.3;font-weight:var(--portal-heading-weight);color:var(--ink)}.portal .decision-card p{color:var(--ink-2);font-size:var(--font-caption);line-height:1.8}.portal .pipeline-strip{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:8px 0}.portal .pipeline-item{display:flex;align-items:center;gap:10px;padding:7px;border-radius:14px;background:#f7faf8}.portal .pipeline-icon{width:35px;height:35px;flex:0 0 35px;display:grid;place-items:center;border-radius:11px;background:var(--blue-soft);color:var(--blue);font-weight:900}.portal .pipeline-icon.gold{background:var(--gold-soft);color:#9c6711}.portal .pipeline-icon.green{background:var(--green-soft);color:var(--green)}.portal .pipeline-icon.coral{background:var(--coral-soft);color:var(--coral)}.portal .pipeline-item small,.portal .pipeline-item strong{display:block}.portal .pipeline-item strong{font-size:var(--font-caption)}.portal .pipeline-item small{margin-top:3px;color:var(--muted);font-size:11px}.portal .compact-orders{display:grid;border-top:1px solid var(--line)}.portal .compact-order{display:grid;grid-template-columns:minmax(0,1fr) auto 90px;align-items:center;gap:14px;padding:6px 2px;border-bottom:1px solid var(--line);text-align:start;border-inline:0;border-block-start:0;background:transparent;cursor:pointer;font:inherit;color:inherit}.portal .compact-order:last-child{border-bottom:0}.portal .compact-order:hover{background:#fbfdfc}.portal .compact-order>div small,.portal .compact-order>div strong{display:block}.portal .compact-order>div strong{font-size:var(--font-caption)}.portal .compact-order>div small{color:var(--muted);font-size:11px;margin-top:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.portal .compact-order>strong{text-align:end;font-size:var(--font-control);white-space:nowrap}.portal .donut-row{display:flex;align-items:center;gap:13px;margin-top:28px}.portal .donut{width:132px;aspect-ratio:1;border-radius:50%;background:conic-gradient(var(--green) 0 var(--value,0),#edf2ef var(--value,0) 100%);display:grid;place-items:center;position:relative;flex:0 0 auto}.portal .donut:after{content:"";position:absolute;width:74%;aspect-ratio:1;border-radius:50%;background:var(--surface);box-shadow:inset 0 0 0 1px var(--line)}.portal .donut>span{position:relative;z-index:1;text-align:center}.portal .donut strong{display:block;font-size:20px;letter-spacing:-.03em}.portal .donut small{display:block;margin-top:2px;color:var(--muted);font-size:11px}.portal .pulse-stats{display:grid;gap:14px}.portal .pulse-stats>div{display:flex;align-items:center;gap:9px}.portal .pulse-stats p{margin:0;color:var(--muted);font-size:var(--font-caption)}.portal .pulse-stats strong{color:var(--ink)}.portal .pulse-stats .dot{width:9px;height:9px;flex:0 0 9px;border-radius:50%;background:var(--green)}.portal .pulse-stats .dot.gold{background:var(--gold)}.portal .pulse-stats .dot.coral{background:var(--coral)}@media (max-width:1180px){.portal .kpi-grid{grid-template-columns:repeat(2,1fr)}.portal .overview-grid,.portal .overview-lower-grid{grid-template-columns:1fr}}@media (max-width:700px){.portal .split-heading{align-items:flex-start;flex-direction:column}.portal .split-heading .period-switch{width:100%}.portal .period-switch button{flex:1;padding-inline:8px}.portal .kpi-grid{grid-template-columns:1fr}.portal .kpi-card{min-height:78px}.portal .pipeline-strip{grid-template-columns:1fr 1fr}.portal .compact-order{grid-template-columns:1fr auto}.portal .compact-order>strong{grid-column:1/-1;text-align:start}.portal .donut-row{flex-direction:column;align-items:flex-start}.portal .pulse-stats{width:100%}}.portal .live-eyebrow{display:inline-flex;align-items:center;gap:9px}.portal .live-eyebrow i{width:7px;height:7px;border-radius:50%;background:#48a77f;box-shadow:0 0 0 5px rgba(72,167,127,.12)}.portal .stage-tabs{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.portal .stage-tabs button{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;padding:8px 10px;border:1px solid var(--line);border-radius:16px;background:var(--surface);cursor:pointer;color:var(--muted);font-size:var(--font-control);font-weight:600;text-align:start}.portal .stage-tabs button[aria-pressed=true]{color:var(--ink);border-color:rgba(47,124,99,.3);box-shadow:var(--shadow-control)}.portal .stage-tabs strong{min-width:27px;height:27px;padding:0 6px;border-radius:9px;display:grid;place-items:center;background:#f0f3f1;color:var(--ink);font-size:12px}.portal .stage-tabs strong.blue{color:var(--blue);background:var(--blue-soft)}.portal .stage-tabs strong.gold{color:#9c6711;background:var(--gold-soft)}.portal .stage-tabs strong.green{color:var(--green);background:var(--green-soft)}.portal .stage-tabs strong.coral{color:var(--coral);background:var(--coral-soft)}.portal .slim-panel{padding:var(--portal-panel-pad)}.portal .toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.portal .search-field{min-height:44px;display:flex;align-items:center;gap:9px;flex:1;min-width:230px;padding:0 13px;border:1px solid var(--line);border-radius:var(--radius-control);background:var(--surface)}.portal .search-field span{color:var(--muted);display:grid;place-items:center}.portal .search-field input{width:100%;border:0;background:transparent;outline:0;color:var(--ink);font-size:var(--font-control)}.portal .search-field input::-moz-placeholder{color:#a0aba7}.portal .search-field input::placeholder{color:#a0aba7}.portal .toolbar select{min-height:44px;border:1px solid var(--line);background:var(--surface);color:var(--ink-2);border-radius:var(--radius-control);padding:0 13px;font-size:var(--font-control);cursor:pointer}.portal .kanban-board{display:grid;grid-template-columns:repeat(4,minmax(250px,1fr));gap:12px;overflow-x:auto;padding-bottom:8px;align-items:start}.portal .kanban-board.single{grid-template-columns:minmax(0,1fr)}.portal .kanban-board.single .kanban-cards{grid-template-columns:repeat(4,minmax(250px,1fr))}.portal .kanban-board{max-height:calc(100vh - var(--portal-topbar-height) - 360px);min-height:260px}.portal .kanban-column{min-width:260px;padding:12px;border-radius:19px;background:rgba(235,243,239,.68);border-top:3px solid var(--blue);max-height:100%;display:flex;flex-direction:column;min-height:0}.portal .kanban-column .kanban-cards{overflow-y:auto;min-height:0;flex:1}.portal .kanban-column.tone-gold{border-color:var(--gold);background:rgba(255,247,229,.62)}.portal .kanban-column.tone-green{border-color:var(--green)}.portal .kanban-column.tone-coral{border-color:var(--coral);background:hsla(12,77%,95%,.55)}.portal .kanban-column.tone-neutral{border-color:var(--line)}.portal .kanban-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:7px 5px 15px}.portal .kanban-heading>div{display:flex;align-items:center;gap:8px}.portal .kanban-heading i{width:8px;height:8px;flex:0 0 8px;border-radius:50%;background:var(--blue)}.portal .tone-gold .kanban-heading i{background:var(--gold)}.portal .tone-green .kanban-heading i{background:var(--green)}.portal .tone-coral .kanban-heading i{background:var(--coral)}.portal .tone-neutral .kanban-heading i{background:var(--muted)}.portal .kanban-heading strong{font-size:var(--font-caption);color:var(--ink)}.portal .kanban-heading>span{min-width:25px;height:25px;padding:0 6px;display:grid;place-items:center;border-radius:8px;background:hsla(0,0%,100%,.8);font-size:11px;font-weight:900;color:var(--ink)}.portal .kanban-cards{display:grid;gap:10px;overflow-y:auto}.portal .empty-column{padding:17px 15px;text-align:center;color:var(--muted);font-size:var(--font-caption)}.portal .arrivals-pill{position:sticky;top:calc(var(--portal-topbar-height) + 8px);z-index:15;justify-self:center;border:0;border-radius:var(--portal-radius-pill);padding:10px;background:var(--green);color:#fff;font-size:var(--font-caption);font-weight:800;cursor:pointer;box-shadow:0 12px 30px rgba(47,124,99,.28)}@media (max-width:900px){.portal .kanban-board{grid-template-columns:repeat(4,280px)}.portal .kanban-board.single .kanban-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.portal .stage-tabs{grid-template-columns:repeat(3,1fr)}}@media (max-width:700px){.portal .stage-tabs{grid-template-columns:1fr 1fr}.portal .kanban-board,.portal .kanban-board.single .kanban-cards{grid-template-columns:minmax(0,1fr)}.portal .kanban-column{min-width:0}.portal .toolbar .search-field,.portal .toolbar>select{width:100%;flex:1 0 100%}}.portal .processing-failure-banner{display:flex;align-items:center;gap:10px;padding:13px 9px;border:1px solid rgba(214,92,66,.28);border-radius:14px;background:var(--coral-soft);color:var(--coral);font-size:var(--font-caption);font-weight:800;line-height:1.6}.portal .processing-failure-banner>.pfb-icon{display:grid;place-items:center;flex:0 0 auto}.portal .summary-strip{display:grid;grid-template-columns:repeat(3,1fr);padding:10px}.portal .summary-strip>div{padding:4px 11px;border-inline-end:1px solid var(--line)}.portal .summary-strip>div:last-child{border-inline-end:0}.portal .summary-strip small,.portal .summary-strip span,.portal .summary-strip strong{display:block}.portal .summary-strip span{color:var(--muted);font-size:12px;font-weight:700}.portal .summary-strip strong{margin:6px 0 5px;font-size:15px;white-space:nowrap;color:var(--ink)}.portal .summary-strip small{color:var(--muted);font-size:11px}.portal .summary-strip .positive{color:var(--green)}.portal .summary-strip .negative{color:var(--coral)}.portal .orders-table-panel{overflow:hidden}.portal .table-toolbar{padding:10px;border-bottom:1px solid var(--line)}.portal .filter-chips{display:flex;gap:5px;flex-wrap:wrap}.portal .filter-chips button{min-height:44px;padding:7px 12px;border:1px solid transparent;border-radius:10px;color:var(--muted);background:#f4f7f5;cursor:pointer;font-size:var(--font-caption)}.portal .filter-chips button[aria-pressed=true]{color:var(--green);border-color:rgba(47,124,99,.14);background:var(--green-soft);font-weight:900}.portal .orders-table-panel .data-table-scroll{border:0;border-radius:0;max-height:calc(100vh - var(--portal-topbar-height) - 470px)}.portal .table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 10px;border-top:1px solid var(--line);color:var(--muted);font-size:var(--font-caption)}.portal .pager{display:flex;align-items:center;gap:6px}.portal .pager button{min-width:36px;min-height:36px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink-2);cursor:pointer;font-size:var(--font-caption)}.portal .pager button[aria-current=page]{background:var(--green);border-color:var(--green);color:#fff;font-weight:800}.portal .pager button:disabled{opacity:.4;cursor:not-allowed}.portal .bulk-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 10px;border-top:1px solid var(--line);background:var(--green-soft)}.portal .bulk-bar>span{color:var(--ink-2);font-size:var(--font-caption);font-weight:700}.portal .bulk-bar .spacer{margin-inline-start:auto}@media (max-width:900px){.portal .summary-strip{grid-template-columns:1fr 1fr}}@media (max-width:700px){.portal .summary-strip{grid-template-columns:1fr}.portal .summary-strip>div{border-inline-end:0;border-bottom:1px solid var(--line);padding:12px}.portal .summary-strip>div:last-child{border-bottom:0}.portal .filter-chips{width:100%;overflow-x:auto}}.portal .card-text{font-size:var(--font-body)}.portal .card-caption{font-size:var(--font-caption)}.portal .driver-hero{display:grid;grid-template-columns:210px 1fr auto;align-items:center;gap:14px;padding:12px;overflow:hidden;background:linear-gradient(130deg,#fff,#f1f9f5)}.portal .driver-hero h1{margin:8px 0 5px;font-size:20px}.portal .driver-hero p{margin:0;color:var(--muted);font-size:var(--font-body)}.portal .driver-logo-crop{display:flex;align-items:center;justify-content:center;width:268px;max-width:100%}.portal .driver-logo-crop img{width:100%;height:auto;-o-object-fit:contain;object-fit:contain}.portal .driver-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.portal .driver-kpis .kpi-card{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;-moz-column-gap:10px;column-gap:10px;row-gap:1px;min-height:64px;padding:9px 13px}.portal .driver-kpis .kpi-topline{grid-column:1;grid-row:1;font-size:11px}.portal .driver-kpis .kpi-card>strong,.portal .driver-kpis .skeleton-value{grid-column:2;grid-row:1/span 2;margin:0;font-size:15px;line-height:1.1}.portal .driver-kpis .skeleton-value{width:54px;height:20px}.portal .driver-kpis .kpi-card.is-unavailable>strong{font-size:14px}.portal .driver-kpis .kpi-footer{grid-column:1;grid-row:2;flex-wrap:nowrap;gap:5px;min-width:0}.portal .driver-kpis .kpi-footer small{min-width:0;overflow:hidden;font-size:10px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}.portal .driver-kpis .kpi-footer .trend{flex:0 0 auto;min-height:0;padding:1px 7px;font-size:10px;white-space:nowrap}.portal .driver-kpis .kpi-dot{display:none}.portal .driver-kpis .kpi-card:after{top:-30px;inset-inline-end:-24px;width:68px;height:68px}.portal .subnav{display:flex;gap:6px;width:-moz-max-content;width:max-content;max-width:100%;padding:4px;border-radius:14px;background:#edf2ef}.portal .subnav button{min-height:44px;border:0;background:transparent;color:var(--muted);border-radius:10px;padding:10px 9px;cursor:pointer;font-size:var(--font-caption);display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.portal .subnav button:disabled{cursor:default;opacity:.72}.portal .subnav .nav-soon{margin-inline-start:0}.portal .subnav button:not(:disabled):not([aria-pressed=true]):not([aria-current=page]):hover{background:hsla(0,0%,100%,.6);color:var(--ink)}.portal .subnav button:focus-visible{outline:3px solid rgba(79,154,127,.25);outline-offset:1px}.portal .subnav button[aria-current=page],.portal .subnav button[aria-pressed=true]{background:#fff;color:var(--green);font-weight:900;box-shadow:var(--shadow-small)}.portal .fleet-directory .filters{display:flex;flex-wrap:wrap;gap:10px;margin-block:14px 4px}.portal .fleet-directory .filters>*{flex:1 1 170px;min-width:0}.portal .driver-person{display:flex;align-items:center;gap:9px}.portal .driver-person strong{display:block;max-inline-size:28ch;overflow-wrap:anywhere}.portal .driver-person small{display:block;max-inline-size:28ch;color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.portal .directory-row-actions{display:flex;gap:12px;white-space:nowrap}.portal .delivery-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.portal .cash-panel,.portal .dispatch-panel,.portal .driver-complaints,.portal .fleet-directory,.portal .fleet-panel,.portal .live-panel{padding:12px}.portal .driver-complaints .data-table-scroll,.portal .fleet-directory .data-table-scroll{max-width:100%;min-width:0;overflow-x:auto}.portal .driver-complaints,.portal .fleet-directory{min-width:0}.portal .panel-scroll{--row-h:61px;--rows-visible:12;max-height:calc(var(--row-h) * var(--rows-visible));overflow-y:auto;scrollbar-gutter:stable}.portal .driver-row{display:grid;grid-template-columns:34px 1fr minmax(92px,auto) auto 44px;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}.portal .driver-row>.status-pill{justify-self:start}.portal .driver-row>div{min-width:0}.portal .driver-row strong{overflow-wrap:anywhere}.portal .driver-row:last-child{border-bottom:0}.portal .driver-row .avatar{width:30px;height:30px;font-size:11px}.portal .driver-row small,.portal .driver-row strong{display:block}.portal .driver-row strong{font-size:var(--font-body);color:var(--ink);line-height:1.3}.portal .driver-row small{margin-top:2px;color:var(--muted);font-size:var(--font-caption);line-height:1.3}.portal .driver-row-menu{min-width:44px;min-height:44px;border:0;border-radius:10px;background:transparent;color:var(--muted);cursor:pointer}.portal .driver-row-menu[aria-expanded=true]{background:var(--green-soft);color:var(--green)}.portal .driver-actions{display:flex;flex-wrap:wrap;gap:6px;padding:0 0 13px;border-bottom:1px solid var(--line)}.portal .driver-actions:last-child{border-bottom:0}.portal .driver-actions button,.portal .driver-actions select{min-height:36px;padding:0 12px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink-2);cursor:pointer;font-size:var(--font-caption)}.portal .driver-actions button.danger{color:var(--coral);border-color:rgba(214,92,74,.25)}.portal .dispatch-mode{display:flex;flex-direction:column;align-items:flex-end;gap:6px}.portal .dispatch-mode-label{font-size:var(--font-caption);color:var(--muted);line-height:1.2;white-space:nowrap}.portal .dispatch-mode-warning{margin:0 0 12px;padding:10px 12px;border:1px solid var(--gold);border-radius:12px;background:var(--gold-soft);color:var(--ink);font-size:var(--font-caption);line-height:1.6}.portal .dispatch-row{display:grid;grid-template-columns:1fr auto 115px auto;gap:10px;align-items:center;padding:8px 0;border-bottom:1px solid var(--line)}.portal .dispatch-row:last-child{border-bottom:0}.portal .dispatch-row small,.portal .dispatch-row strong{display:block}.portal .dispatch-row strong{font-size:var(--font-body);color:var(--ink);line-height:1.3}.portal .dispatch-row small{color:var(--muted);margin-top:2px;font-size:var(--font-caption);line-height:1.3}.portal .dispatch-row select{min-height:44px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink-2);font-size:var(--font-caption);padding:0 8px}.portal .dispatch-row .primary-button{min-height:44px;padding:0 14px}.portal .dispatch-economics{display:flex;flex-wrap:wrap;gap:4px 6px;margin-top:4px}.portal .dispatch-economics>span{padding:1px 7px;border-radius:var(--radius-full);background:var(--surface-soft);color:var(--muted);font-size:10px;line-height:1.6;white-space:nowrap}.portal .dispatch-economics .dispatch-pay{background:var(--green-soft,rgba(47,124,99,.1));color:var(--green);font-weight:700}.portal .dispatch-economics .dispatch-beyond{background:var(--gold-soft);color:var(--ink);font-weight:700}.portal .dispatch-economics .dispatch-stale{background:var(--red-soft,rgba(190,63,63,.1));color:var(--red,#a13636);font-weight:700}.portal .dispatch-row.is-auto{grid-template-columns:1fr auto;padding:14px 0}.portal .live-delivery{padding:14px 0;border-bottom:1px solid var(--line)}.portal .live-delivery:last-child{border-bottom:0}.portal .live-delivery-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.portal .live-delivery-head strong{font-size:var(--font-body);color:var(--ink)}.portal .live-delivery-head small{color:var(--muted);font-size:var(--font-caption)}.portal .live-delivery-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.portal .delivery-progress{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:14px}.portal .delivery-progress>span{height:4px;border-radius:10px;background:#e7ece9}.portal .delivery-progress>span.done{background:var(--green)}.portal .delivery-progress>span.active{background:linear-gradient(90deg,var(--green) 55%,#e7ece9 55%)}[dir=rtl] .portal .delivery-progress>span.active{background:linear-gradient(-90deg,var(--green) 55%,#e7ece9 55%)}.portal .delivery-progress>div{grid-column:1/-1;display:flex;justify-content:space-between;color:var(--muted);font-size:var(--font-caption)}.portal .cash-total{margin:24px 0 14px;padding:10px;border-radius:15px;background:var(--green-soft)}.portal .cash-total span,.portal .cash-total strong{display:block}.portal .cash-total span{color:var(--green);font-size:var(--font-caption)}.portal .cash-total strong{margin-top:5px;font-size:19px;color:var(--ink)}.portal .cash-line{display:flex;justify-content:space-between;padding:11px 3px;border-bottom:1px solid var(--line);font-size:var(--font-body)}.portal .cash-line span{color:var(--muted)}.portal .cash-line .positive{color:var(--green)}.portal .cash-line .negative{color:var(--coral)}.portal .cash-panel .secondary-button{margin-top:17px;width:100%;justify-content:center}.portal .report-date-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}.portal .report-date-row input[type=date]{min-height:44px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--ink-2);font-size:var(--font-caption)}.portal .fees-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:10px}.portal .fee-card,.portal .zone-card{padding:12px}.portal .fee-card h2{margin:7px 0}.portal .fee-card p{color:var(--muted);line-height:1.7;font-size:var(--font-body)}.portal .segmented{display:flex;gap:4px;padding:4px;border-radius:12px;background:#eff3f1;margin:18px 0}.portal .segmented button{flex:1;min-height:44px;border:0;border-radius:9px;background:transparent;padding:9px;color:var(--muted);cursor:pointer;font-size:var(--font-caption)}.portal .segmented button[aria-pressed=true]{color:var(--green);background:#fff;font-weight:900;box-shadow:var(--shadow-small)}.portal .fee-card label{position:relative;display:grid;gap:7px;color:var(--muted);font-size:var(--font-caption)}.portal .fee-card input{height:44px;border:1px solid var(--line);border-radius:12px;padding:0 13px;background:var(--surface);color:var(--ink);font-size:var(--font-body)}.portal .fee-card label>span{position:absolute;bottom:14px;inset-inline-end:15px}.portal .fee-card .fee-hint{display:block;margin-top:8px;color:var(--muted);font-size:var(--font-caption)}.portal .fee-card .primary-button{margin-top:15px;width:100%;justify-content:center}.portal .zone-row{display:grid;grid-template-columns:12px 1fr auto auto;align-items:center;gap:13px;padding:15px 0;border-bottom:1px solid var(--line)}.portal .zone-row:last-child{border-bottom:0}.portal .zone-row>i{width:9px;height:9px;border-radius:50%;background:var(--green)}.portal .zone-row small,.portal .zone-row strong{display:block}.portal .zone-row strong{font-size:var(--font-body);color:var(--ink)}.portal .zone-row small{color:var(--muted);margin-top:3px;font-size:var(--font-caption)}.portal .zone-row-actions{display:flex;gap:2px}.portal .zone-row-actions button{min-height:44px;padding:0 10px;border:0;background:transparent;color:var(--green);font-size:var(--font-caption);cursor:pointer}.portal .zone-row-actions button.danger{color:var(--coral)}.portal .shift-settlement-page{display:grid;gap:10px}.portal .shift-policy{display:grid;grid-template-columns:auto 1fr auto;gap:9px;align-items:center;padding:12px;background:linear-gradient(120deg,#eef8f2,#fff 66%)}.portal .shift-policy-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:15px;color:#fff;background:var(--green);box-shadow:0 9px 20px rgba(47,124,99,.2);font-size:16px}.portal .shift-policy h2{margin:4px 0;font-size:17px}.portal .shift-policy p{margin:0;color:var(--muted);font-size:var(--font-body);line-height:1.7}.portal .shift-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:13px}.portal .shift-kpis>div{padding:10px;border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow)}.portal .shift-kpis small,.portal .shift-kpis span,.portal .shift-kpis strong{display:block}.portal .shift-kpis span{color:var(--muted);font-size:var(--font-caption)}.portal .shift-kpis strong{margin:6px 0 3px;font-size:17px;color:var(--ink)}.portal .shift-kpis small{color:var(--muted);font-size:var(--font-caption)}.portal .shift-table-panel{overflow:hidden;padding:var(--portal-panel-pad)}.portal .shift-table-panel>.section-heading{margin-bottom:16px}.portal .shift-driver{display:flex;align-items:center;gap:10px}.portal .shift-driver .avatar{width:34px;height:34px;font-size:12px}.portal .shift-driver small,.portal .shift-driver strong{display:block}.portal .shift-driver small{margin-top:3px;color:var(--muted);font-size:var(--font-caption)}.portal .shift-cash{position:relative;display:block;min-width:120px}.portal .shift-cash input{width:100%;height:42px;border:1px solid var(--line);border-radius:10px;padding:0 10px;padding-inline-end:42px;background:#fff;color:var(--ink);font-size:var(--font-body)}.portal .shift-cash span{position:absolute;top:11px;inset-inline-end:10px;color:var(--muted);font-size:var(--font-caption)}.portal .shift-table-panel .positive{color:var(--green)}.portal .shift-table-panel .negative{color:var(--coral)}.portal .shift-rules{padding:12px}.portal .shift-rules>.section-heading{margin-bottom:12px}.portal .shift-rules>div:not(.section-heading){display:grid;grid-template-columns:34px 1fr;gap:11px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line)}.portal .shift-rules>div:last-child{border-bottom:0}.portal .shift-rules>div>span{width:31px;height:31px;display:grid;place-items:center;border-radius:10px;color:var(--green);background:var(--green-soft);font-size:11px;font-weight:700}.portal .shift-rules p{margin:0;color:var(--muted);font-size:var(--font-caption);line-height:1.65}.portal .shift-rules p strong{display:block;color:var(--ink);font-size:var(--font-body)}.portal .variance-summary{margin:0 0 14px;padding:14px;border-radius:12px;background:var(--gold-soft,#fdf6e7);color:var(--ink-2);font-size:var(--font-body);line-height:1.7}.portal .portal-footnote{margin:0;padding:14px 10px;border:1px solid var(--line);border-radius:14px;background:var(--surface);color:var(--muted);font-size:var(--font-caption);line-height:1.7}.portal .cash-detail-link{border:0;background:none;padding:0;color:var(--green);font:inherit;font-variant-numeric:tabular-nums;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;cursor:pointer}.portal .cash-detail-link:hover{color:var(--green-2)}.portal .cash-breakdown-lede,.portal .cash-breakdown-state{margin:0 0 14px;color:var(--muted);font-size:var(--font-caption);line-height:1.7}.portal .cash-breakdown-state{margin-bottom:0}.portal .cash-breakdown table{width:100%;border-collapse:collapse;font-size:var(--font-caption)}.portal .cash-breakdown th{padding:0 8px 8px;border-bottom:1px solid var(--line);color:var(--muted);font-weight:600;text-align:start}.portal .cash-breakdown td{padding:10px 8px;border-bottom:1px solid var(--line);color:var(--ink);vertical-align:top}.portal .cash-breakdown tr:last-child td{border-bottom:0}.portal .cash-breakdown .numeric{text-align:end;font-variant-numeric:tabular-nums;white-space:nowrap}.portal .cash-breakdown .numeric strong[dir=ltr]{display:inline-block;unicode-bidi:isolate}.portal .cash-breakdown .positive{color:var(--green)}.portal .cash-breakdown .negative{color:var(--coral)}.portal .cash-breakdown .cash-note{display:block;margin-top:3px;color:var(--muted);font-size:var(--font-caption);line-height:1.6}.portal .cash-breakdown .cash-unconfirmed,.portal .cash-breakdown-summary .cash-unconfirmed{color:var(--gold);font-weight:600}.portal .cash-breakdown-summary{margin:12px 0 0;color:var(--muted);font-size:var(--font-caption);line-height:1.7}.portal .variance-breakdown{margin:0 0 18px;padding:14px;border:1px solid var(--line);border-radius:14px;background:var(--surface-soft)}.portal .variance-breakdown h3{margin:0 0 10px;font-size:var(--font-body);color:var(--ink)}@media (max-width:700px){.portal .cash-breakdown table{font-size:12px}.portal .cash-breakdown td,.portal .cash-breakdown th{padding-inline:4px}}@media (max-width:1180px){.portal .driver-kpis{grid-template-columns:repeat(2,1fr)}.portal .driver-hero{grid-template-columns:180px 1fr}.portal .driver-hero>button{grid-column:1/-1}.portal .fees-grid{grid-template-columns:1fr}}@media (max-width:900px){.portal .delivery-grid,.portal .shift-kpis{grid-template-columns:1fr}}@media (max-width:700px){.portal .panel-scroll{max-height:none;overflow-y:visible}.portal .driver-hero,.portal .driver-kpis,.portal .shift-policy{grid-template-columns:1fr}.portal .shift-table-panel{padding:14px}.portal .driver-logo-crop{width:220px}.portal .subnav{width:100%;overflow-x:auto}.portal .dispatch-row{grid-template-columns:1fr auto}.portal .dispatch-row .primary-button,.portal .dispatch-row select{width:100%;grid-column:1/-1}}.portal .driver-pay-card{padding:12px}.portal .driver-pay-card>.section-heading{margin-bottom:14px}.portal .pay-current{margin:0 0 14px;padding:11px 13px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft);color:var(--ink-2);font-size:var(--font-caption);line-height:1.7}.portal .pay-current.pay-unset{border-color:var(--gold);background:var(--gold-soft);color:var(--ink);font-weight:600}.portal .pay-inputs{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.portal .pay-note{margin:12px 0 14px;color:var(--muted);font-size:var(--font-caption);line-height:1.7}@media (max-width:700px){.portal .pay-inputs{grid-template-columns:1fr}}.portal .credentials-warning{margin:0 0 14px;padding:11px 13px;border:1px solid var(--gold);border-radius:12px;background:var(--gold-soft);color:var(--ink);font-size:var(--font-caption);line-height:1.7}.portal .credentials-field{margin:0 0 12px;padding:11px 13px;border:1px solid var(--line);border-radius:12px;background:var(--surface-soft)}.portal .credentials-field small{display:block;color:var(--muted);font-size:var(--font-caption)}.portal .credentials-field strong{display:block;margin-top:4px;color:var(--ink);font-size:var(--font-body);font-weight:700;overflow-wrap:anywhere}.portal .credentials-field strong.credentials-code{font-size:17px;letter-spacing:.22em;font-variant-numeric:tabular-nums}.portal .credentials-note{margin:12px 0 14px;color:var(--muted);font-size:var(--font-caption);line-height:1.7}.portal .credentials-error{margin:0 0 12px;padding:11px 13px;border:1px solid rgba(214,92,74,.25);border-radius:12px;background:var(--coral-soft);color:var(--coral);font-size:var(--font-caption);font-weight:600;line-height:1.7}.portal .table-footnote{margin:8px 2px 0;color:var(--muted);font-size:var(--font-caption)}.portal .driver-profile-head{display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:var(--portal-space-md);padding-bottom:var(--portal-space-md);border-bottom:1px solid var(--line)}.portal .driver-profile-head>div{min-width:0}.portal .driver-profile-head small,.portal .driver-profile-head strong{display:block}.portal .driver-profile-head strong{font-size:var(--font-body);color:var(--ink);overflow-wrap:anywhere}.portal .driver-profile-head small{font-size:var(--font-caption);color:var(--muted)}.portal .driver-profile-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(88px,1fr));gap:var(--portal-space-sm);margin:var(--portal-space-md) 0}.portal .driver-profile-stat{border:1px solid var(--line);border-radius:10px;padding:var(--portal-space-sm);text-align:center}.portal .driver-profile-stat strong{display:block;font-size:var(--portal-section-heading);line-height:1.2;color:var(--ink)}.portal .driver-profile-stat span{font-size:var(--font-caption);color:var(--muted)}.portal .driver-profile-tabs{display:flex;flex-wrap:wrap;gap:var(--portal-space-xs);margin-bottom:var(--portal-space-md)}.portal .driver-profile-tabs button{border:1px solid transparent;background:none;border-radius:8px;padding:var(--portal-space-xs) var(--portal-space-sm);font-size:var(--font-caption);color:var(--muted);cursor:pointer;min-height:44px}.portal .driver-profile-tabs button.is-active{background:var(--surface);border-color:var(--line);color:var(--ink);font-weight:700}.portal .driver-profile-panel{padding:var(--portal-panel-pad)}.portal .driver-profile-panel+.driver-profile-panel{margin-top:var(--portal-space-md)}.portal .driver-profile-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:var(--portal-space-sm)}.portal .driver-profile-card{border:1px solid var(--line);border-radius:10px;padding:var(--portal-space-sm)}.portal .driver-profile-card h3{margin:0 0 2px;font-size:var(--font-caption);color:var(--muted);font-weight:500}.portal .driver-profile-card p{margin:0;font-size:var(--font-body);color:var(--ink)}.portal .driver-profile-complaints,.portal .driver-profile-timeline{list-style:none;margin:0;padding:0;max-height:320px;overflow-y:auto;scrollbar-gutter:stable}.portal .driver-profile-complaints li,.portal .driver-profile-timeline li{padding:var(--portal-space-sm) 0;border-bottom:1px solid var(--line)}.portal .driver-profile-complaints li:last-child,.portal .driver-profile-timeline li:last-child{border-bottom:0}.portal .driver-profile-complaints strong,.portal .driver-profile-timeline b{display:block;font-size:var(--font-body);color:var(--ink)}.portal .driver-profile-complaints small,.portal .driver-profile-timeline small{font-size:var(--font-caption);color:var(--muted)}.portal .driver-profile-complaints p{margin:2px 0;font-size:var(--font-caption);color:var(--ink);overflow-wrap:anywhere}.portal .driver-profile-rule{margin:var(--portal-space-md) 0 0;padding:var(--portal-space-sm);border-radius:8px;background:var(--surface)}.portal .driver-profile-rule,.portal .track-dot{font-size:var(--font-caption);color:var(--muted)}.portal .track-dot{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.portal .track-dot:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--line);flex:0 0 auto}.portal .track-dot.is-live{color:var(--ink)}.portal .track-dot.is-live:before{background:var(--green)}.portal .record-rule{margin-top:var(--portal-space-md);padding:var(--portal-space-sm) var(--portal-space-md);border-radius:10px;background:var(--surface)}.portal .record-rule strong{display:block;font-size:var(--font-caption);color:var(--green)}.portal .record-rule p{margin:2px 0 0;font-size:var(--font-caption);color:var(--muted)}.portal .complaint-flow{flex-wrap:wrap;margin:0 0 var(--portal-space-md);padding:0;list-style:none}.portal .complaint-flow,.portal .complaint-flow li{display:flex;align-items:center;gap:var(--portal-space-sm)}.portal .complaint-flow li{padding:6px var(--portal-space-sm);border:1px solid var(--line);border-radius:999px;font-size:var(--font-caption);color:var(--muted);white-space:nowrap}.portal .complaint-flow li+li:before{content:"";width:6px;height:6px;border-top:1.5px solid var(--line);border-inline-start:1.5px solid var(--line);transform:rotate(-45deg);flex:0 0 auto}.portal .driver-complaints-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:var(--portal-space-md);align-items:start}@media (max-width:900px){.portal .driver-complaints-grid{grid-template-columns:minmax(0,1fr)}}.portal .complaint-cards{list-style:none;margin:var(--portal-space-sm) 0 0;padding:0;display:grid;gap:var(--portal-space-sm);max-height:60vh;overflow-y:auto;scrollbar-gutter:stable}.portal .complaint-cards>li{border:1px solid var(--line);border-radius:12px;padding:var(--portal-space-sm) var(--portal-space-md)}.portal .complaint-card-head{display:flex;align-items:center;flex-wrap:wrap;gap:var(--portal-space-sm)}.portal .complaint-card-head strong{font-size:var(--font-body);color:var(--ink)}.portal .complaint-card-head>.status-pill{margin-inline-start:auto}.portal .order-chip{padding:2px var(--portal-space-sm);border-radius:999px;background:var(--surface);font-size:var(--font-caption);color:var(--muted)}.portal .complaint-what{margin:var(--portal-space-sm) 0 0;font-size:var(--font-body);color:var(--ink);overflow-wrap:anywhere}.portal .complaint-why{margin:4px 0 0;font-size:var(--font-caption);color:var(--muted)}.portal .complaint-card-foot{display:flex;align-items:center;flex-wrap:wrap;gap:var(--portal-space-sm);margin-top:var(--portal-space-sm)}.portal .complaint-card-foot small{font-size:var(--font-caption);color:var(--muted)}.portal .complaint-card-foot>span{display:flex;align-items:center;gap:var(--portal-space-md);margin-inline-start:auto}.portal .complaint-rule{padding:var(--portal-panel-pad)}.portal .complaint-rule ol{list-style:none;margin:var(--portal-space-sm) 0 0;padding:0;display:grid;gap:var(--portal-space-sm)}.portal .complaint-rule li{display:grid;grid-template-columns:26px 1fr;gap:var(--portal-space-sm);align-items:start;padding-bottom:var(--portal-space-sm);border-bottom:1px solid var(--line)}.portal .complaint-rule li:last-child{border-bottom:0;padding-bottom:0}.portal .complaint-rule li>span{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:var(--surface);font-size:var(--font-caption);color:var(--green);font-weight:700}.portal .complaint-rule strong{display:block;font-size:var(--font-body);color:var(--ink)}.portal .complaint-rule p{margin:2px 0 0;font-size:var(--font-caption);color:var(--muted)}.portal .dispatch-batching{margin:0 0 12px;padding:var(--portal-panel-pad,12px);border:1px solid var(--line);border-radius:12px;background:var(--surface-2,transparent)}.portal .dispatch-batching-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.portal .dispatch-batching-head strong{display:block;font-size:var(--font-body);font-weight:var(--portal-heading-weight,700)}.portal .dispatch-batching-head p{margin:4px 0 0;font-size:var(--font-caption);color:var(--muted);line-height:1.6;min-width:0}.portal .dispatch-batching-head .dispatch-mode{flex:0 0 auto}.portal .dispatch-batching-fields{display:flex;flex-wrap:wrap;gap:12px;margin-top:12px}.portal .dispatch-batching-fields label{display:flex;align-items:center;gap:6px;font-size:var(--font-caption);color:var(--muted)}.portal .dispatch-batching-fields input{width:82px;padding:6px 8px;border:1px solid var(--line);border-radius:8px;background:var(--surface);color:var(--ink);font:inherit;font-size:var(--font-caption)}.portal .dispatch-batching-hint{display:block;margin:10px 0 12px;font-size:var(--font-caption);color:var(--muted);line-height:1.6}.portal .customer-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,.65fr);gap:10px;align-items:start}.portal .customer-directory-panel{overflow:hidden;padding:0}.portal .customer-toolbar{display:flex;flex-wrap:wrap;gap:12px;align-items:center;padding:10px;border-bottom:1px solid var(--line)}.portal .customer-toolbar .filter-chips{flex-wrap:wrap}.portal .filter-chips .chip-count{opacity:.7}.portal .customer-directory-panel .data-table-scroll{border:0;border-radius:0;max-height:calc(100vh - var(--portal-topbar-height) - 335px)}.portal .customer-identity{display:flex;align-items:center;gap:10px;min-width:0}.portal .customer-identity .avatar{flex:0 0 auto}.portal .customer-identity small,.portal .customer-identity strong{display:block}.portal .customer-identity small{margin-top:4px;color:var(--muted);font-size:var(--font-caption)}.portal .customer-last-order small,.portal .customer-last-order strong{display:block}.portal .customer-last-order small{margin-top:4px;color:var(--muted);font-size:var(--font-caption)}.portal .customer-open{width:44px;height:44px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--green);cursor:pointer}[dir=ltr] .portal .customer-open{transform:scaleX(-1)}.portal .customer-opportunity{position:sticky;top:96px;padding:14px;background:linear-gradient(155deg,#eff9f3,#fff 72%)}.portal .customer-opportunity-icon{width:48px;height:48px;display:grid;place-items:center;margin:17px 0;border-radius:15px;background:#fff;color:var(--green);box-shadow:var(--shadow-small);font-size:17px}[dir=ltr] .portal .customer-opportunity-icon{transform:scaleX(-1)}.portal .customer-opportunity h2{margin:0 0 10px;font-size:17px;line-height:1.35}.portal .customer-opportunity>p{color:var(--ink-2);font-size:var(--font-body);line-height:1.8}.portal .customer-opportunity-value{display:flex;justify-content:space-between;align-items:center;margin:18px 0;padding:14px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--muted);font-size:var(--font-caption)}.portal .customer-opportunity-value strong{color:var(--green);font-size:16px}.portal .customer-opportunity .primary-button{display:block;text-align:center;text-decoration:none}.portal .consent-note{display:flex;gap:9px;margin-top:16px;padding:12px;border-radius:13px;background:#fff}.portal .consent-note>span{color:var(--green)}.portal .consent-note p{margin:0;color:var(--muted);font-size:var(--font-caption);line-height:1.6}.portal .consent-note strong{display:block;color:var(--ink)}.portal .customer-profile-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.portal .customer-profile-phone{color:var(--muted);font-size:var(--font-body)}.portal .customer-profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 16px}.portal .customer-profile-stats>div{padding:12px;border:1px solid var(--line);border-radius:12px}.portal .customer-profile-stats dt{color:var(--muted);font-size:var(--font-caption)}.portal .customer-profile-stats dd{margin:5px 0 0;font-weight:700;color:var(--ink);font-size:var(--font-body)}.portal .customer-profile-consent{margin:0;color:var(--muted);font-size:var(--font-caption)}@media (max-width:1180px){.portal .customer-layout{grid-template-columns:1fr}.portal .customer-opportunity{position:static}}@media (max-width:700px){.portal .customer-toolbar{padding:14px}.portal .customer-profile-stats{grid-template-columns:1fr}}