/* BLACKGSM v85 premium bridge: business + delivery + public nav fixes */
:root{
  --bgsm-premium-bg:#f5f7fb;
  --bgsm-premium-surface:#ffffff;
  --bgsm-premium-text:#1f2937;
  --bgsm-premium-muted:#6b7280;
  --bgsm-premium-border:rgba(15,23,42,.08);
  --bgsm-premium-shadow:0 18px 44px rgba(15,23,42,.10);
  --bgsm-premium-shadow-soft:0 10px 28px rgba(15,23,42,.08);
  --bgsm-premium-radius:24px;
  --bgsm-premium-primary:#111827;
  --bgsm-premium-accent:#2563eb;
  --bgsm-premium-accent-2:#14b8a6;
  --bgsm-premium-topbar:78px;
  --bgsm-premium-sidebar:280px;
}
body.business-portal-page,
body.bgsm-delivery-ui{
  background:
    radial-gradient(circle at top right, rgba(37,99,235,.10), transparent 22%),
    radial-gradient(circle at top left, rgba(20,184,166,.09), transparent 18%),
    var(--bgsm-premium-bg) !important;
  color:var(--bgsm-premium-text);
}
body.business-portal-page .admin-page-shell,
body.bgsm-delivery-ui .admin-page-shell,
body.bgsm-delivery-ui .delivery-dashboard-shell{
  padding-top:calc(var(--bgsm-premium-topbar) + 1rem)!important;
}
.bgsm-react-topbar.admin-topbar{
  position:fixed!important;
  top:0; left:0; right:0;
  min-height:var(--bgsm-premium-topbar);
  background:linear-gradient(135deg,#0f172a 0%,#1f2937 55%,#2563eb 100%)!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
  box-shadow:0 18px 38px rgba(2,6,23,.22)!important;
  z-index:1100!important;
}
.bgsm-react-topbar .container-fluid{gap:.8rem}
.bgsm-react-topbar .navbar-brand{display:flex;align-items:center;gap:.75rem;white-space:nowrap}
.bgsm-react-topbar .navbar-brand img{width:46px;height:46px;border-radius:16px;background:#fff;padding:.42rem;box-shadow:0 10px 26px rgba(15,23,42,.18)}
.bgsm-react-topbar .nav-link,.bgsm-react-topbar .navbar-brand,.bgsm-react-topbar .btn{color:#fff!important}
.bgsm-topbar-user-pill{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.16)!important}
.bgsm-dashboard-sidebar{background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;border-right:1px solid var(--bgsm-premium-border)!important;box-shadow:0 0 0 1px rgba(255,255,255,.4), 18px 0 40px rgba(15,23,42,.06)!important}
.bgsm-dashboard-sidebar .offcanvas-header{padding:1.2rem 1.15rem 1rem;border-bottom:1px solid rgba(15,23,42,.06)}
.bgsm-dashboard-sidebar .offcanvas-body{padding:1rem}
.bgsm-dashboard-sidebar .sb-logo{width:46px;height:46px;border-radius:16px;background:#eef4ff;padding:.35rem}
.bgsm-dashboard-sidebar .sb-section{margin:.35rem 0 .7rem .55rem;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8}
.bgsm-dashboard-sidebar .sb-links{display:grid;gap:.38rem}
.bgsm-dashboard-sidebar .sidebar-link{display:flex;align-items:center;gap:.85rem;padding:.9rem 1rem;border-radius:18px;color:#334155;font-weight:700;text-decoration:none;transition:all .18s ease}
.bgsm-dashboard-sidebar .sidebar-link i{font-size:1rem;color:#64748b}
.bgsm-dashboard-sidebar .sidebar-link:hover,
.bgsm-dashboard-sidebar .sidebar-link:focus,
.bgsm-dashboard-sidebar .sidebar-link.is-active{background:linear-gradient(135deg,rgba(37,99,235,.11),rgba(20,184,166,.10));color:#0f172a;transform:translateX(2px);box-shadow:var(--bgsm-premium-shadow-soft)}
.bgsm-dashboard-sidebar .sidebar-link:hover i,
.bgsm-dashboard-sidebar .sidebar-link:focus i,
.bgsm-dashboard-sidebar .sidebar-link.is-active i{color:#2563eb}
.bgsm-dashboard-sidebar .sb-bottom{padding-top:1rem;margin-top:1rem;border-top:1px solid rgba(15,23,42,.06)}
.business-dashboard-hero,
.bgsm-delivery-hero,
.business-auth-side,
.auth-side{
  position:relative;overflow:hidden;border:0!important;border-radius:32px!important;
  background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 55%,#14b8a6 100%)!important;
  box-shadow:0 28px 68px rgba(15,23,42,.22)!important;
}
.business-dashboard-hero::before,
.bgsm-delivery-hero::before,
.business-auth-side::before,
.auth-side::before{
  content:"";position:absolute;inset:auto -60px -60px auto;width:240px;height:240px;border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.24),rgba(255,255,255,0) 70%);pointer-events:none;
}
.business-auth-card,
.auth-card,
.business-panel-card,
.business-stat-card,
.delivery-job-card,
.delivery-meta-card,
body.business-portal-page .card,
body.bgsm-delivery-ui .card{
  border:1px solid var(--bgsm-premium-border)!important;
  background:var(--bgsm-premium-surface)!important;
  border-radius:var(--bgsm-premium-radius)!important;
  box-shadow:var(--bgsm-premium-shadow)!important;
}
.business-auth-shell,.auth-shell{padding:2rem 0 3rem}
.business-auth-form,.auth-form-wrap{padding:2rem!important}
.business-auth-brand img,.auth-brand img{width:52px;height:52px;object-fit:contain;border-radius:18px;background:#eef4ff;padding:.45rem;box-shadow:0 14px 32px rgba(37,99,235,.10)}
.business-auth-brand,.auth-brand{display:flex;align-items:center;gap:.9rem;font-weight:800;color:#0f172a}
.business-auth-topbar,.auth-topbar-compact{display:flex;justify-content:space-between;gap:1rem;align-items:center;flex-wrap:wrap;margin-bottom:1.5rem;padding-bottom:1rem;border-bottom:1px solid rgba(15,23,42,.06)}
.business-auth-topbar__actions,.auth-topbar-compact__actions{display:flex;flex-wrap:wrap;gap:.6rem}
.business-auth-title,.auth-form-wrap h2{font-weight:800;color:#0f172a;margin-bottom:.35rem}
.business-auth-lead,.auth-lead{color:#64748b;max-width:56ch}
.business-auth-section-card{padding:1.15rem 1.15rem 1.05rem;border-radius:20px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);margin-bottom:1rem}
.business-auth-section-card h3{font-size:1rem;font-weight:800;color:#111827;margin-bottom:1rem}
.business-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.business-action-btn{display:flex;align-items:center;gap:.85rem;padding:1rem 1.05rem;border-radius:20px;border:1px solid rgba(15,23,42,.07);background:#fff;text-decoration:none;color:#0f172a;font-weight:700;box-shadow:0 12px 26px rgba(15,23,42,.06);transition:all .18s ease}
.business-action-btn i{width:44px;height:44px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.12));color:#2563eb}
.business-action-btn:hover,.business-action-btn:focus{transform:translateY(-2px);box-shadow:0 18px 32px rgba(15,23,42,.10);color:#0f172a}
.business-auth-note{padding:1rem 1.05rem;border-radius:18px;background:#fff;border:1px solid rgba(15,23,42,.06);box-shadow:0 10px 24px rgba(15,23,42,.05);color:#475569}
.business-stat-card{overflow:hidden;position:relative}
.business-stat-card::before{content:"";position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(180deg,#2563eb,#14b8a6)}
.business-stat-card .icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.12));color:#2563eb;font-size:1.25rem}
.business-stat-card .label{font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8;margin-bottom:.25rem}
.business-stat-card .value{font-size:2rem;font-weight:800;color:#0f172a;line-height:1.04}
.business-section-title{font-size:1.08rem;font-weight:800;color:#0f172a;margin-bottom:.2rem}
.business-section-sub,.business-muted,.text-muted,.text-secondary{color:#64748b!important}
.business-quick-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.business-quick-link{display:flex;gap:.95rem;align-items:flex-start;padding:1.05rem;border-radius:20px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);text-decoration:none;color:#0f172a;transition:all .18s ease}
.business-quick-link i{width:44px;height:44px;display:grid;place-items:center;border-radius:16px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.12));color:#2563eb}
.business-quick-link:hover,.business-quick-link:focus{background:#fff;transform:translateY(-2px);box-shadow:0 16px 28px rgba(15,23,42,.08)}
.business-form-section{padding:1rem;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.06)}
.business-form-section-title{font-weight:800;color:#0f172a;margin-bottom:.9rem}
.business-profile-list{display:grid;gap:.9rem}
.business-profile-item,.delivery-meta-card{padding:1rem 1.05rem;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.06)}
.business-profile-item .k,.delivery-meta-card .k{font-size:.72rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase;color:#94a3b8;margin-bottom:.35rem}
.business-preview-logo{max-width:110px;max-height:110px;object-fit:contain;border-radius:22px;padding:.8rem;background:#fff;border:1px solid rgba(15,23,42,.06);box-shadow:0 14px 28px rgba(15,23,42,.08)}
body.business-portal-page .form-control,
body.business-portal-page .form-select,
body.business-portal-page textarea,
body.bgsm-delivery-ui .form-control,
body.bgsm-delivery-ui .form-select,
body.bgsm-delivery-ui textarea{min-height:48px;border-radius:16px!important;border:1px solid rgba(15,23,42,.12)!important;background:#fff!important;box-shadow:none!important}
body.business-portal-page textarea,body.bgsm-delivery-ui textarea{min-height:100px}
body.business-portal-page .form-control:focus,
body.business-portal-page .form-select:focus,
body.bgsm-delivery-ui .form-control:focus,
body.bgsm-delivery-ui .form-select:focus,
body.bgsm-delivery-ui textarea:focus,
body.business-portal-page textarea:focus{border-color:rgba(37,99,235,.45)!important;box-shadow:0 0 0 .22rem rgba(37,99,235,.10)!important}
body.business-portal-page .btn-dark,
body.bgsm-delivery-ui .btn-dark,
.btn-auth-primary,
.business-auth-submit{background:linear-gradient(135deg,#111827,#2563eb)!important;border-color:transparent!important;color:#fff!important;box-shadow:0 16px 26px rgba(37,99,235,.18)}
body.business-portal-page .btn-outline-dark,
body.bgsm-delivery-ui .btn-outline-dark{background:#fff!important;color:#111827!important;border-color:rgba(15,23,42,.14)!important}
body.business-portal-page .btn-light,
body.bgsm-delivery-ui .btn-light{box-shadow:0 12px 24px rgba(15,23,42,.12)!important}
body.business-portal-page .table,
body.bgsm-delivery-ui .table{--bs-table-bg:transparent;--bs-table-striped-bg:#f8fafc;--bs-table-hover-bg:rgba(37,99,235,.04)}
body.business-portal-page .table-responsive,
body.bgsm-delivery-ui .table-responsive{border-radius:20px;border:1px solid rgba(15,23,42,.06);overflow:auto}
body.business-portal-page .table thead th,
body.bgsm-delivery-ui .table thead th{font-size:.75rem;letter-spacing:.09em;text-transform:uppercase;color:#94a3b8;border-bottom:1px solid rgba(15,23,42,.08)}
body.business-portal-page .table > :not(caption) > * > *,
body.bgsm-delivery-ui .table > :not(caption) > * > *{padding:.95rem .85rem;border-bottom-color:rgba(15,23,42,.06)}
.bgsm-portal-footer{margin-top:1rem;padding-bottom:1.25rem}
.bgsm-portal-footer__card{padding:1.5rem 1.4rem!important;border-radius:26px!important;border:1px solid rgba(15,23,42,.06)!important;background:#fff!important;box-shadow:var(--bgsm-premium-shadow)!important}
.bgsm-portal-footer__brand{display:flex;align-items:center;gap:1rem;margin-bottom:1rem}
.bgsm-portal-footer__logo{display:grid;place-items:center;width:58px;height:58px;border-radius:18px;background:#eef4ff;box-shadow:0 14px 28px rgba(37,99,235,.10)}
.bgsm-portal-footer__logo img{width:38px;height:38px;object-fit:contain}
.bgsm-portal-footer h3,.bgsm-portal-footer h4{font-weight:800;color:#0f172a}
.bgsm-portal-footer p,.bgsm-portal-footer li,.bgsm-portal-footer a{color:#64748b;text-decoration:none}
.bgsm-portal-footer a:hover{color:#2563eb}
.bgsm-portal-footer__chips{display:flex;flex-wrap:wrap;gap:.6rem}
.bgsm-portal-footer__chips span{display:inline-flex;align-items:center;gap:.45rem;padding:.6rem .8rem;border-radius:999px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);font-weight:700;color:#334155}
/* public homepage menu fixes */
.portal-site-header{position:sticky!important;top:0;z-index:1080;background:rgba(255,255,255,.96)!important;backdrop-filter:blur(12px);border-bottom:1px solid rgba(15,23,42,.06);min-height:74px;box-shadow:0 12px 34px rgba(15,23,42,.08)!important}
.portal-site-header .navbar-brand{min-width:0;gap:.75rem}
.portal-site-header .bgsm-brand-logo{width:48px;max-height:48px;object-fit:contain;border-radius:16px;background:#eef4ff;padding:.35rem}
.portal-site-header .brand-heading{display:flex;flex-direction:column;line-height:1.02;font-size:1rem!important;white-space:nowrap}
.portal-site-header .brand-heading .brand-main{font-size:1.05rem;font-weight:800;letter-spacing:.02em}
.portal-site-header .brand-heading .brand-sub{font-size:.78rem;font-weight:700;letter-spacing:.14em}
.portal-site-header .navbar-collapse{flex-grow:1}
.portal-site-header .site-desktop-nav{display:flex!important;align-items:center;justify-content:center;gap:.15rem;flex-wrap:wrap;padding:.6rem!important;border-radius:22px;background:#f8fafc!important;box-shadow:inset 0 0 0 1px rgba(15,23,42,.04)}
.portal-site-header .site-desktop-nav .nav-link{padding:.7rem .95rem!important;border-radius:999px;color:#111827!important;font-weight:700;font-size:.92rem;white-space:nowrap}
.portal-site-header .site-desktop-nav .nav-link:hover,
.portal-site-header .site-desktop-nav .nav-link.active,
.portal-site-header .site-desktop-nav .show > .nav-link{background:#fff;box-shadow:0 10px 22px rgba(15,23,42,.08);color:#2563eb!important}
.portal-site-header .navbar-toggler{display:inline-flex!important;align-items:center;justify-content:center;border:1px solid rgba(15,23,42,.12)!important;border-radius:14px;padding:.55rem .75rem;background:#fff!important;box-shadow:0 8px 20px rgba(15,23,42,.08)}
.portal-site-header .btn-square{width:40px;height:40px;display:inline-flex;align-items:center;justify-content:center}
.site-mobile-menu-corner{position:static}
.site-mobile-actions{display:flex;align-items:center;gap:.5rem}
.site-mobile-drawer-overlay{position:fixed;inset:0;background:rgba(15,23,42,.46);z-index:1190}
.site-mobile-drawer{position:fixed;top:0;left:0;bottom:0;width:min(90vw,360px);max-width:360px;background:#fff;box-shadow:24px 0 48px rgba(15,23,42,.18);z-index:1200;padding:1rem;overflow:auto;transform:translateX(-104%);transition:transform .24s ease}
.site-mobile-drawer.is-open{transform:translateX(0)}
.site-mobile-drawer__header{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:1rem;margin-bottom:1rem;border-bottom:1px solid rgba(15,23,42,.08)}
.site-mobile-menu-title{font-size:.78rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8;margin:.2rem 0 .65rem}
.site-mobile-menu-group{display:grid;gap:.45rem}
.site-mobile-menu-link{display:flex;align-items:center;justify-content:space-between;padding:.88rem 1rem;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);color:#111827;text-decoration:none;font-weight:700}
.site-mobile-menu-link:hover{color:#2563eb;background:#fff}
body.site-mobile-menu-open{overflow:hidden}
@media (min-width: 992px){
  .bgsm-dashboard-sidebar{visibility:visible!important;transform:none!important;position:fixed!important;top:var(--bgsm-premium-topbar)!important;left:0;bottom:0;width:var(--bgsm-premium-sidebar)!important;max-width:var(--bgsm-premium-sidebar)!important;height:calc(100vh - var(--bgsm-premium-topbar))!important;z-index:1040}
  body.business-portal-page .admin-page-shell,
  body.bgsm-delivery-ui .admin-page-shell,
  body.bgsm-delivery-ui .delivery-dashboard-shell,
  body.business-portal-page .bgsm-portal-footer,
  body.bgsm-delivery-ui .bgsm-portal-footer{margin-left:var(--bgsm-premium-sidebar)!important}
  body.business-portal-page .admin-topbar .container-fluid,
  body.bgsm-delivery-ui .admin-topbar .container-fluid{padding-left:1rem;padding-right:1rem}
}
@media (min-width: 1200px){
  .portal-site-header .navbar-collapse{display:flex!important;flex-basis:auto}
}
@media (max-width: 1199.98px){
  .portal-site-header .site-desktop-nav{justify-content:flex-start}
  .business-quick-grid,.business-action-grid{grid-template-columns:1fr}
}
@media (max-width: 991.98px){
  :root{--bgsm-premium-topbar:70px}
  body.business-portal-page .admin-page-shell,
  body.bgsm-delivery-ui .admin-page-shell,
  body.bgsm-delivery-ui .delivery-dashboard-shell,
  body.business-portal-page .bgsm-portal-footer,
  body.bgsm-delivery-ui .bgsm-portal-footer{margin-left:0!important}
  .portal-site-header{padding-left:1rem!important;padding-right:1rem!important}
  .portal-site-header .navbar-toggler{display:none!important}
  .portal-site-header .navbar-collapse{display:none!important}
  .portal-site-header .site-mobile-actions{display:flex!important}
  .site-mobile-menu-trigger{display:inline-flex!important;align-items:center;justify-content:center;width:44px;height:44px;padding:0}
}
@media (max-width: 767.98px){
  .business-auth-form,.auth-form-wrap{padding:1.2rem!important}
  .business-auth-topbar,.auth-topbar-compact{align-items:flex-start}
  .business-dashboard-hero,.bgsm-delivery-hero,.business-auth-side,.auth-side{border-radius:24px!important}
  .business-stat-card .value{font-size:1.6rem}
  .portal-site-header .brand-heading .brand-main{font-size:.94rem}
  .portal-site-header .brand-heading .brand-sub{font-size:.68rem}
  .site-mobile-actions .btn{font-size:.78rem}
}

/* v86 business dashboard widgets */
.business-widget-card{position:relative;overflow:hidden;padding:1.2rem 1.15rem;border:1px solid rgba(15,23,42,.06);border-radius:24px;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%);box-shadow:0 16px 34px rgba(15,23,42,.08)}
.business-widget-card::after{content:"";position:absolute;top:0;right:0;width:88px;height:88px;border-radius:0 0 0 88px;background:radial-gradient(circle at top right,rgba(37,99,235,.12),rgba(37,99,235,0) 70%)}
.business-widget-icon{width:54px;height:54px;display:grid;place-items:center;border-radius:18px;background:linear-gradient(135deg,rgba(37,99,235,.12),rgba(20,184,166,.13));color:#2563eb;font-size:1.2rem;margin-bottom:.95rem}
.business-widget-label{font-size:.74rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:#94a3b8;margin-bottom:.35rem}
.business-widget-value{font-size:1.65rem;font-weight:800;color:#0f172a;line-height:1.08}
.business-widget-help{margin-top:.35rem;color:#64748b;font-size:.92rem}
.business-mini-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.52rem .8rem;border-radius:999px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);font-weight:700;color:#334155;font-size:.86rem}
.business-trend-bars{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.8rem;align-items:end;min-height:240px;padding-top:1rem}
.business-trend-col{display:flex;flex-direction:column;align-items:center;gap:.55rem;min-width:0}
.business-trend-bar-wrap{width:100%;height:150px;border-radius:18px;background:linear-gradient(180deg,#eef4ff,#f8fafc);display:flex;align-items:flex-end;padding:.45rem;overflow:hidden}
.business-trend-bar{width:100%;border-radius:14px;background:linear-gradient(180deg,#14b8a6,#2563eb);box-shadow:0 12px 22px rgba(37,99,235,.16)}
.business-trend-amount{font-size:.73rem;font-weight:700;color:#334155;text-align:center;word-break:break-word}
.business-trend-label{font-size:.78rem;font-weight:800;color:#94a3b8;text-transform:uppercase;letter-spacing:.06em}
.business-activity-list,.business-list-stack{display:grid;gap:.8rem}
.business-activity-item,.business-list-row{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.06)}
.business-activity-kind{min-width:72px;padding:.45rem .65rem;border-radius:999px;background:rgba(37,99,235,.10);color:#2563eb;font-weight:800;font-size:.75rem;text-transform:uppercase;letter-spacing:.06em;text-align:center}
.business-activity-main{display:grid;gap:.18rem;min-width:0;flex:1}
.business-activity-main strong{color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.business-activity-main span{font-size:.9rem;color:#64748b}
.business-health-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.9rem}
.business-health-item{padding:1rem 1.05rem;border-radius:18px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);display:grid;gap:.35rem}
.business-health-item span{font-size:.76rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}
.business-health-item strong{font-size:1.18rem;color:#0f172a}
@media (max-width: 991.98px){.business-trend-bars{grid-template-columns:repeat(4,minmax(0,1fr));min-height:auto}.business-health-grid{grid-template-columns:1fr 1fr}}
@media (max-width: 767.98px){.business-trend-bars{grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.business-health-grid{grid-template-columns:1fr}.business-widget-value{font-size:1.4rem}.business-activity-item,.business-list-row{align-items:flex-start;flex-direction:column}.business-activity-kind{min-width:0}}


/* v87 delivery system ui + flow */
.delivery-command-card,.delivery-activity-card{min-height:100%}
.delivery-flow-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem}
.delivery-flow-step{position:relative;padding:1rem 1rem 1rem 1.1rem;border-radius:22px;background:#f8fafc;border:1px solid rgba(15,23,42,.06);display:grid;gap:.28rem}
.delivery-flow-step span{width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:#e5e7eb;color:#475569;font-weight:800}
.delivery-flow-step strong{font-size:1rem;color:#0f172a}
.delivery-flow-step small{color:#64748b}
.delivery-flow-step.is-active{background:linear-gradient(135deg,rgba(37,99,235,.11),rgba(20,184,166,.10));border-color:rgba(37,99,235,.14)}
.delivery-flow-step.is-active span{background:#2563eb;color:#fff;box-shadow:0 10px 22px rgba(37,99,235,.18)}
.delivery-mini-metric,.delivery-activity-item,.delivery-inline-pill{border:1px solid rgba(15,23,42,.06);background:#f8fafc}
.delivery-mini-metric{padding:1rem 1.05rem;border-radius:20px;display:grid;gap:.2rem;height:100%}
.delivery-mini-metric span{font-size:.74rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#94a3b8}
.delivery-mini-metric strong{font-size:1.3rem;color:#0f172a}
.delivery-mini-metric small{color:#64748b}
.delivery-activity-stack{display:grid;gap:.8rem}
.delivery-activity-item{padding:1rem;border-radius:20px;display:grid;grid-template-columns:auto 1fr auto;gap:.8rem;align-items:center}
.delivery-activity-badge{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:.48rem .72rem;font-weight:800;font-size:.74rem;text-transform:uppercase;min-width:92px}
.delivery-activity-main{display:grid;gap:.18rem;min-width:0}
.delivery-activity-main strong{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#0f172a}
.delivery-activity-main span{color:#64748b;font-size:.92rem}
.delivery-inline-actions{display:flex;flex-wrap:wrap;gap:.55rem}
.delivery-inline-pill{display:inline-flex;align-items:center;gap:.4rem;padding:.6rem .8rem;border-radius:999px;color:#334155;font-weight:700}
.delivery-status-form .btn-outline-primary{border-color:rgba(37,99,235,.18)!important;color:#2563eb!important;background:#eef4ff!important}
.delivery-timeline-stack{display:grid;gap:1rem}
.delivery-timeline-item{position:relative;padding-left:2.2rem}
.delivery-timeline-line{position:absolute;left:.65rem;top:1.4rem;bottom:-1rem;width:2px;background:linear-gradient(180deg,rgba(37,99,235,.18),rgba(20,184,166,.08))}
.delivery-timeline-item:last-child .delivery-timeline-line{display:none}
.delivery-timeline-dot{position:absolute;left:0;top:.15rem;width:22px;height:22px;border-radius:999px;box-shadow:0 0 0 6px rgba(37,99,235,.08)}
.delivery-timeline-body{padding:1rem 1rem 1rem 1.05rem;border-radius:20px;background:#f8fafc;border:1px solid rgba(15,23,42,.06)}
@media (max-width: 1199.98px){.delivery-flow-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width: 767.98px){.delivery-flow-grid{grid-template-columns:1fr}.delivery-activity-item{grid-template-columns:1fr;align-items:flex-start}.delivery-inline-actions{flex-direction:column;align-items:stretch}.delivery-inline-pill{justify-content:flex-start}}
