/* LK24H DRIVER RUNTIME SCALE v18.6 — orders/history clean runtime UI.
   UI only. No dispatch authority. No business-state mutation. */
:root{--drs186-bg:#f7f8fb;--drs186-card:#fff;--drs186-text:#0f172a;--drs186-muted:#64748b;--drs186-line:#e5e7eb;--drs186-soft:#f1f5f9;--drs186-radius:18px;--drs186-shadow:0 14px 34px rgba(15,23,42,.07)}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"],body.driver-theme[data-runtime-ui-contract="orders_history_runtime_ui_read_only"]{background:var(--drs186-bg);color:var(--drs186-text)}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .drv-wrap{max-width:1180px;margin:0 auto;padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .topbar,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .hhd{background:rgba(247,248,251,.9);backdrop-filter:blur(14px);border-bottom:1px solid rgba(226,232,240,.82);box-shadow:none}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .topbar .inner,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .hhd__wrap{gap:14px;align-items:center}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .title,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .hhd__title{font-size:clamp(20px,3.6vw,28px);font-weight:850;letter-spacing:-.03em;color:#111827}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .subtitle,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .hhd__sub{color:var(--drs186-muted);font-size:14px;line-height:1.45}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .card,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .summary,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .filters,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .order-card,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .drawer__sheet,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .modal__sheet{background:var(--drs186-card);border:1px solid var(--drs186-line);border-radius:var(--drs186-radius);box-shadow:var(--drs186-shadow)}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .btn{min-height:42px;border-radius:14px;font-weight:750;border:1px solid var(--drs186-line);box-shadow:none}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .btn--primary,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .btn-primary{font-weight:850}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .filters{padding:14px;margin:14px 0}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .filters__row,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .filters-row{gap:12px;align-items:flex-end}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] input,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] select{border:1px solid var(--drs186-line);border-radius:14px;background:#fff;min-height:42px}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .summary__grid,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .summary__item,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .kpi{background:linear-gradient(180deg,#fff,var(--drs186-soft));border:1px solid var(--drs186-line);border-radius:16px;padding:12px}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .list{display:grid;gap:12px;margin-top:12px}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] table{border-collapse:separate;border-spacing:0;width:100%;overflow:hidden;border-radius:16px;background:#fff;border:1px solid var(--drs186-line)}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] th{background:#f8fafc;color:#334155;font-size:12px;text-transform:none;letter-spacing:.01em}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] td,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] th{padding:12px;border-bottom:1px solid #eef2f7}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] tr:last-child td{border-bottom:0}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .pager{position:sticky;bottom:calc(70px + env(safe-area-inset-bottom,0px));z-index:30;background:rgba(255,255,255,.9);backdrop-filter:blur(12px);border:1px solid var(--drs186-line);border-radius:999px;padding:8px 10px;box-shadow:var(--drs186-shadow);max-width:max-content;margin:16px auto}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .runtime-ui-badge-v18-6{display:inline-flex;align-items:center;gap:6px;padding:6px 10px;border-radius:999px;background:#ecfdf5;color:#047857;font-size:12px;font-weight:800;border:1px solid #bbf7d0;margin-top:8px;width:max-content}
body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] [data-runtime-ui-version],body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .version,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .technical-version{display:none!important}
@media (max-width:760px){body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .topbar .inner,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .hhd__wrap{align-items:flex-start;flex-direction:column}body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .actions,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .hhd__right{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .actions .btn,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .hhd__right .btn{width:100%;padding:0 8px}body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .summary__grid,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .filters__row,body[data-runtime-ui-contract="orders_history_runtime_ui_read_only"] .filters-row{display:grid;grid-template-columns:1fr}}
