/* HM International design system. Loaded after the legacy component styles. */
:root {
    --brand-primary: #087a32;
    --brand-primary-rgb: 8, 122, 50;
    --brand-secondary: #0e8a45;
    --brand-secondary-rgb: 14, 138, 69;
    --brand-accent: #52d786;
    --brand-accent-rgb: 82, 215, 134;
    --brand-dark: #0b2417;
    --brand-bg: #f4f8f5;
    --brand-text: #172b20;
    --brand-muted: #62766a;
    --brand-border: #dce9df;
    --brand-success: #087a32;
    --brand-gradient: linear-gradient(135deg, #0b2417, #07562c 68%, #087a32);
    --brand-shadow-card: 0 2px 4px rgba(11, 36, 23, .025), 0 16px 40px rgba(11, 62, 31, .065);
    --brand-shadow-hover: 0 22px 44px rgba(7, 74, 35, .13);
}

html { --primary-rgb: 8, 122, 50 !important; }
body, .main-wrapper, .page-wrapper, .content { background-color: var(--brand-bg) !important; }
body { color: var(--brand-text); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible { outline: 3px solid rgba(22, 163, 74, .32); outline-offset: 2px; }

.header, [data-topbar=white] .header {
    background: #fff !important;
    border-bottom: 1px solid var(--brand-border) !important;
    box-shadow: 0 4px 22px rgba(11, 36, 23, .055) !important;
}
.header::after { height: 3px; background: linear-gradient(90deg, #087a32, #52d786 22%, transparent 62%); }
.header .header-left { background: #fff !important; border-right-color: var(--brand-border); }
.header .header-left::before { background: var(--brand-primary); }
.header .header-left .as-topbar-logo img { border-color: #dfebe2; background: #fff; box-shadow: none; }
.header .header-left .as-wordmark .as-wordmark-top { color: #10361f !important; }
.header .header-left .as-wordmark .as-wordmark-bottom { color: var(--brand-primary) !important; }
.header .searchinputs { background: #f6faf7; border-color: var(--brand-border); }
.header .searchinputs:focus-within { border-color: #65bc82; box-shadow: 0 0 0 3px rgba(22, 163, 74, .12); }
.header .searchinputs .as-search-icon { color: var(--brand-primary); }
.header #toggle_btn.as-collapse-btn, .header a#toggle_btn.as-collapse-btn { border-color: var(--brand-border) !important; color: #365b44 !important; }
.header #toggle_btn.as-collapse-btn:hover { border-color: #9bd5ae !important; color: var(--brand-primary) !important; background: #ecf8ef !important; }
.sidebar { background: #fbfdfb !important; border-right: 1px solid var(--brand-border) !important; }
.sidebar .sidebar-menu > ul > li > a, .sidebar .sidebar-menu > ul li.submenu > a { color: #274934 !important; }
.sidebar .sidebar-menu > ul > li > a > i, .sidebar .sidebar-menu > ul li.submenu > a > i { color: #3c7550 !important; background: #eaf5ed !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li > a:hover,
[data-color=primary] .sidebar .sidebar-menu > ul > li > a.active,
[data-color=primary] .sidebar .sidebar-menu > ul > li.active > a,
.sidebar .sidebar-menu > ul li.submenu > a:hover,
.sidebar .sidebar-menu > ul li.submenu > a.subdrop { border-color: #d5eadb !important; color: #07562c !important; background: #eaf7ed !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li > a:hover > i,
[data-color=primary] .sidebar .sidebar-menu > ul > li > a.active > i,
[data-color=primary] .sidebar .sidebar-menu > ul li.active > a > i,
.sidebar .sidebar-menu > ul li.submenu > a:hover > i,
.sidebar .sidebar-menu > ul li.submenu > a.subdrop > i { color: #fff !important; background: #087a32 !important; }
.sidebar .sidebar-menu > ul li ul li a:hover, .sidebar .sidebar-menu > ul li ul li a.active { color: #07562c !important; background: #eaf7ed !important; }
.sidebar .sidebar-menu > ul li ul li a:hover::before, .sidebar .sidebar-menu > ul li ul li a.active::before { background: #16a34a; }
.sidebar-inner { scrollbar-color: #b9d9c2 transparent; }
.hm-nav-intro { min-height: 58px; margin: 12px 10px 8px; padding: 10px 12px; border: 1px solid #164e2b; border-radius: 14px; background: linear-gradient(115deg, #102a1a, #0b6130) !important; box-shadow: 0 8px 18px rgba(10, 70, 32, .14); }
.hm-nav-intro-icon { color: #d9ffe4; background: rgba(255, 255, 255, .14); }
.hm-nav-intro-copy strong { color: #fff; font-size: 12px; }
.hm-nav-intro-copy small { color: #bce6c7; font-size: 10px; }
.sidebar .sidebar-menu { padding: 0 0 16px; }
.sidebar .sidebar-menu > ul > li { margin-bottom: 0 !important; }
.sidebar .menu-title { gap: 9px; margin: 8px 0 2px; padding: 8px 18px 3px; color: #5b8069 !important; font-size: 9px; letter-spacing: .14em; }
.sidebar .menu-title:first-child { margin-top: 0; }
.sidebar .menu-title::after { background: #dcebe0; }
.sidebar .sidebar-menu > ul > li > a,
.sidebar .sidebar-menu > ul li.submenu > a { min-height: 46px; margin: 2px 10px; padding: 6px 10px; border-radius: 12px; color: #264634 !important; font-size: 13px; font-weight: 650; transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease; }
.sidebar .sidebar-menu > ul > li > a > i,
.sidebar .sidebar-menu > ul li.submenu > a > i { width: 31px; height: 31px; margin-right: 10px; border-radius: 9px; color: #287747 !important; background: #eaf5ed !important; font-size: 17px; }
.sidebar .sidebar-menu > ul > li > a > span:not(.menu-arrow),
.sidebar .sidebar-menu > ul li.submenu > a > span:not(.menu-arrow) { color: #264634 !important; font-size: 13px; font-weight: 650; }
.sidebar .sidebar-menu .menu-arrow { position: static; flex: 0 0 20px; width: 20px; height: 20px; margin-left: auto; border-radius: 6px; background: #eef5ef !important; }
.sidebar .sidebar-menu .menu-arrow::before { left: 7px; top: 7px; border-color: #527b60 !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li > a:hover,
.sidebar .sidebar-menu > ul li.submenu > a:hover { border-color: #cfe6d5 !important; color: #07562c !important; background: #edf8f0 !important; box-shadow: none !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li > a:hover > span:not(.menu-arrow),
.sidebar .sidebar-menu > ul li.submenu > a:hover > span:not(.menu-arrow) { color: #07562c !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li.active > a,
[data-color=primary] .sidebar .sidebar-menu > ul > li > a.active,
.sidebar .sidebar-menu > ul li.submenu > a.subdrop { border-color: #087a32 !important; color: #fff !important; background: linear-gradient(105deg, #087a32, #075e2a) !important; box-shadow: 0 6px 15px rgba(8, 122, 50, .18) !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li.active > a > span:not(.menu-arrow),
[data-color=primary] .sidebar .sidebar-menu > ul > li > a.active > span:not(.menu-arrow),
.sidebar .sidebar-menu > ul li.submenu > a.subdrop > span:not(.menu-arrow) { color: #fff !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li.active > a > i,
[data-color=primary] .sidebar .sidebar-menu > ul > li > a.active > i,
.sidebar .sidebar-menu > ul li.submenu > a.subdrop > i { color: #fff !important; background: rgba(255, 255, 255, .18) !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li.active > a::before,
[data-color=primary] .sidebar .sidebar-menu > ul > li > a.active::before { display: none !important; }
.sidebar .sidebar-menu > ul > li > a:hover .menu-arrow { background: #d9efdf !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li.active > a .menu-arrow,
[data-color=primary] .sidebar .sidebar-menu > ul > li > a.active .menu-arrow,
.sidebar .sidebar-menu > ul li.submenu > a.subdrop .menu-arrow { background: rgba(255, 255, 255, .17) !important; }
[data-color=primary] .sidebar .sidebar-menu > ul > li.active > a .menu-arrow::before,
[data-color=primary] .sidebar .sidebar-menu > ul > li > a.active .menu-arrow::before,
.sidebar .sidebar-menu > ul li.submenu > a.subdrop .menu-arrow::before { border-color: #fff !important; }
.sidebar .sidebar-menu > ul > li.submenu > ul,
.sidebar .sidebar-menu > ul > li.submenu-open > ul { margin: 0 10px 4px 28px !important; padding: 2px 0 3px 8px !important; border-left: 1px solid #d4e8da !important; }
.sidebar .sidebar-menu > ul > li.submenu > ul > li > a,
.sidebar .sidebar-menu > ul > li.submenu-open > ul > li > a { min-height: 32px; margin: 1px 0 !important; padding: 6px 8px 6px 17px !important; border-radius: 8px; font-size: 12px; }
.sidebar .sidebar-menu > ul li ul li a::before { left: 6px; width: 5px; height: 5px; background: #9ac7a7; }
body.mini-sidebar:not(.expand-menu) .sidebar .menu-title { margin-block: 2px; padding-block: 7px 2px; }
body.mini-sidebar:not(.expand-menu) .sidebar .sidebar-menu > ul > li > a { justify-content: center; padding-inline: 8px; }
body.mini-sidebar:not(.expand-menu) .sidebar .sidebar-menu > ul > li > a > i { margin-right: 0; }
.as-mobile-action-btn.as-mobile-track-btn { border-color: #a4d5b3; color: #07562c !important; background: #dcf5e4 !important; }

.btn.btn-primary, .btn-primary, [data-color=primary] .btn.btn-primary, [data-color=primary] .page-header .btn-added,
.btn.btn-as-cta, .btn-as-cta, a.btn.btn-as-cta { border-color: #087a32 !important; background: #087a32 !important; box-shadow: 0 8px 18px rgba(8,122,50,.17) !important; }
.btn.btn-primary:hover, .btn-primary:hover, .btn.btn-as-cta:hover, .btn-as-cta:hover { border-color: #065a2c !important; background: #065a2c !important; }
.form-control:focus, .form-select:focus, .select2-container--default.select2-container--focus .select2-selection { border-color: #087a32 !important; box-shadow: 0 0 0 3px rgba(8,122,50,.12) !important; }
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--selectable.select2-results__option--highlighted,
[data-color] .select2-container--default .select2-results__option--highlighted[aria-selected] { background: #087a32 !important; color: #fff !important; }
.select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #087a32 !important; background: #087a32 !important; }
.dropdown-menu, .modal-content, .card, .table-responsive { border-color: var(--brand-border); }
.card, .modal-content { box-shadow: var(--brand-shadow-card); }
.nav-tabs .nav-link.active, .page-item.active .page-link { border-color: #087a32 !important; color: #087a32 !important; }
.page-item.active .page-link { color: #fff !important; background: #087a32 !important; }
.as-app-footer { border-top: 1px solid var(--brand-border); background: #fff; }

/* Branded loading state. Visibility is controlled by the existing load event. */
div#global-loader { padding: 24px !important; background: radial-gradient(circle at 50% 42%, #eef9f1, #f8fbf9 58%, #fff) !important; transition: opacity .28s ease, visibility .28s ease !important; }
.gne-loader { width: min(100%, 340px); padding: 32px 26px 28px; border: 1px solid #dcebe0; border-radius: 26px; color: #173d25; background: #fff; box-shadow: 0 24px 60px rgba(11, 62, 31, .11); }
.gne-loader-mark { width: 106px; height: 106px; border: 1px solid #d9ecdf; border-radius: 50%; background: #f2faf4; }
.gne-loader-logo { width: 80px; height: 80px; border: 1px solid #c8e8d1; border-radius: 21px; background: #fff; box-shadow: 0 10px 25px rgba(8,122,50,.11); animation: hmLogoReveal .42s ease-out both; }
.gne-loader-logo img { object-fit: contain; }
.gne-loader-copy { margin-top: 18px; }
.gne-loader-copy strong { color: #123d24; }
.gne-loader-copy span, .gne-loader-status { color: #61776a; }
.hm-loader-journey { display: flex; width: 220px; max-width: 100%; align-items: center; gap: 5px; margin-top: 24px; }
.hm-loader-stop { flex: 0 0 9px; width: 9px; height: 9px; border: 2px solid #087a32; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #e5f5e9; }
.hm-loader-stop:last-child { border-color: #52b978; background: #52d786; }
.hm-loader-track { position: relative; flex: 1; height: 28px; }
.hm-loader-track::before { position: absolute; top: 13px; right: 0; left: 0; height: 2px; background: repeating-linear-gradient(90deg, #b8d9c3 0 6px, transparent 6px 11px); content: ""; }
.hm-loader-trail { position: absolute; top: 13px; right: 0; left: 0; height: 2px; background: #087a32; transform: scaleX(0); transform-origin: left center; animation: hmShipmentTrail 1.25s ease-in-out infinite; }
.hm-loader-plane { position: absolute; top: 1px; left: 0; display: grid; width: 26px; height: 26px; place-items: center; border: 1px solid #a8dfb8; border-radius: 50%; color: #07562c; background: #d9f7e2; box-shadow: 0 3px 8px rgba(8,122,50,.16); font-size: 16px; line-height: 1; animation: hmShipmentTravel 1.25s ease-in-out infinite; }
.gne-loader-status { margin-top: 15px; }
@keyframes hmLogoReveal { from { opacity: 0; transform: translateY(6px) scale(.94); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes hmShipmentTravel { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 82% { left: calc(100% - 26px); opacity: 1; } 100% { left: calc(100% - 26px); opacity: 0; } }
@keyframes hmShipmentTrail { 0% { transform: scaleX(0); opacity: 0; } 12% { opacity: 1; } 82%, 100% { transform: scaleX(1); opacity: 1; } }

/* Let destination insights fill the row after removing the rate card. */
.pd-network-grid.pd-destination-only { grid-template-columns: minmax(0, 1fr); }

/* Admin: a command surface with four operational metrics and calmer data panels. */
.admin-dashboard-page.ad-dashboard { --ad-blue:#07562c; --ad-blue-deep:#0b2417; --ad-blue-soft:#eaf7ed; --ad-orange:#16a34a; --ad-orange-soft:#eaf7ed; --ad-ink:#172b20; --ad-copy:#62766a; --ad-line:#dce9df; --ad-shadow:var(--brand-shadow-card); }
.ad-command-bar { min-height: 154px; padding: 26px 30px; border: 0; border-radius: 22px; color: #fff; background: linear-gradient(112deg, #0b2417 0%, #0b3c24 60%, #087a32 100%) !important; box-shadow: 0 16px 32px rgba(11,62,31,.13); }
.ad-command-bar::before { width: 4px; background: #52d786; }
.ad-command-bar::after { content: "HM"; color: rgba(255,255,255,.055); }
.ad-command-bar h2, .ad-command-bar p, .ad-command-bar .ad-overline { color: #fff !important; }
.ad-command-bar p { opacity: .72; }
.ad-command-mark { color: #a9edbf; border-color: rgba(255,255,255,.22); background: rgba(255,255,255,.09); box-shadow: none; }
.ad-command-bar .ad-range-button, .ad-command-bar .ad-icon-action { border-color: rgba(255,255,255,.22); color: #fff; background: rgba(255,255,255,.1); }
.ad-command-bar .ad-range-button small { color: #b9e8c7; }
.ad-command-bar a.ad-primary-action {
    min-height: 46px;
    padding: 0 16px 0 8px;
    gap: 9px;
    border: 1px solid #b9edc9 !important;
    border-radius: 12px;
    color: #0b3b20 !important;
    background: #d2f5dc !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .13) !important;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}
.ad-command-bar a.ad-primary-action .ad-action-icon {
    display: inline-grid;
    flex: 0 0 30px;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: #fff;
    background: #087a32;
    font-size: 17px;
}
.ad-command-bar a.ad-primary-action:hover {
    border-color: #d8f8e1 !important;
    color: #07391d !important;
    background: #ecfff0 !important;
    box-shadow: 0 9px 22px rgba(0, 0, 0, .18) !important;
}
.ad-command-bar a.ad-primary-action:focus-visible { outline: 3px solid #8cdaa6; outline-offset: 3px; }
.ad-kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ad-kpi-card { --ad-card-tone: #087a32; min-height: 168px; padding: 18px; border: 1px solid #d5e5d9; border-radius: 18px; background: #fff !important; box-shadow: 0 12px 28px rgba(13, 40, 22, .08); }
.ad-kpi-card:hover { border-color: #77c993; transform: translateY(-3px); box-shadow: 0 16px 32px rgba(13, 40, 22, .13); }
.ad-kpi-card:focus-visible { outline: 3px solid #64c984; outline-offset: 3px; }
.ad-kpi-card::before { right: 18px; left: 18px; height: 3px; background: var(--ad-card-tone) !important; opacity: 1; }
.ad-kpi-icon { width: 38px; height: 38px; color: #087a32; background: #e7f6eb; }
.ad-kpi-load .ad-kpi-icon, .ad-kpi-shipments .ad-kpi-icon { color: #087a32; background: #e7f6eb; }
.ad-kpi-action { color: #087a32; background: #eef8f0; }
.ad-kpi-label { margin-top: 12px; color: #486452; font-size: 10px; line-height: 1.2; }
.ad-kpi-card h3 { margin: 6px 0 5px; color: #101b13; font-size: clamp(25px, 1.85vw, 32px); font-variant-numeric: tabular-nums; }
.ad-kpi-card h3 small { color: #61786a; }
.ad-kpi-note { color: #61786a; font-size: 10px; line-height: 1.3; }
.ad-kpi-card.ad-kpi-payments { --ad-card-tone: #4cdb78; border-color: #182c1d; color: #fff !important; background: linear-gradient(140deg, #101a13, #203425) !important; }
.ad-kpi-card.ad-kpi-sales { --ad-card-tone: #c1f5cf; border-color: #087a32; color: #fff !important; background: linear-gradient(140deg, #087a32, #0b5c2c) !important; }
.ad-kpi-card.ad-kpi-payments:hover, .ad-kpi-card.ad-kpi-sales:hover { color: #fff !important; }
.ad-kpi-payments .ad-kpi-icon { color: #fff; background: #087a32; }
.ad-kpi-sales .ad-kpi-icon { color: #087a32; background: #fff; }
.ad-kpi-payments .ad-kpi-action, .ad-kpi-sales .ad-kpi-action { color: #e3f9e9; background: rgba(255, 255, 255, .13); }
.ad-kpi-payments .ad-kpi-label, .ad-kpi-sales .ad-kpi-label { color: #bbe6c6; }
.ad-kpi-payments h3, .ad-kpi-sales h3 { color: #fff; }
.ad-kpi-payments .ad-kpi-note, .ad-kpi-sales .ad-kpi-note { color: #d6eddb; }
.ad-kpi-payments .ad-kpi-note i, .ad-kpi-sales .ad-kpi-note i { color: #bdf0ca; }
.ad-kpi-wave, .ad-mini-bars, .ad-load-route, .ad-kpi-orbit { display: none; }
.ad-status-card, .ad-panel { border-color: #dce9df; box-shadow: var(--brand-shadow-card); }
.ad-status-tone-1 { --ad-status-tone:#087a32; --ad-status-soft:#e5f5ea; }
.ad-status-tone-2 { --ad-status-tone:#358d63; --ad-status-soft:#e9f6ef; }
.ad-status-tone-3 { --ad-status-tone:#376e80; --ad-status-soft:#eaf4f6; }
.ad-status-tone-4 { --ad-status-tone:#aa7933; --ad-status-soft:#faf3e7; }
.ad-status-tone-5 { --ad-status-tone:#566f95; --ad-status-soft:#edf1f8; }

/* Party: softer welcome, balance first, clear shipment history. */
.party-dashboard-page.pd-dashboard { --pd-blue:#07562c; --pd-blue-deep:#0b2417; --pd-blue-soft:#eaf7ed; --pd-orange:#16a34a; --pd-orange-soft:#eaf7ed; --pd-ink:#172b20; --pd-copy:#62766a; --pd-line:#dce9df; --pd-shadow:var(--brand-shadow-card); }
.pd-welcome { min-height: 150px; padding: 24px 28px; border: 1px solid #d5eadb; border-radius: 22px; background: linear-gradient(110deg, #e9f7ed 0%, #fff 65%, #f8fcf9) !important; box-shadow: var(--brand-shadow-card); }
.pd-welcome::before { width: 4px; background: #16a34a; }
.pd-welcome::after { content: "HM"; color: rgba(8,122,50,.045); }
.pd-welcome-mark { color: #087a32; background: #fff; border-color: #cce7d4; }
.pd-primary-action, .pd-mini-primary { color: #fff; border-color: #087a32; background: #087a32; box-shadow: 0 8px 20px rgba(8,122,50,.18); }
.pd-primary-action:hover, .pd-mini-primary:hover { background: #065a2c; }
.pd-wallet-card { border-radius: 20px; background: linear-gradient(130deg, #0b2417, #07562c) !important; box-shadow: 0 16px 36px rgba(11,62,31,.18); }
.pd-wallet-card .pd-card-label, .pd-wallet-card .pd-card-label i { color: #b8ebc7; }
.pd-wallet-card h3 { color: #fff; font-size: clamp(32px, 3vw, 42px); }
.pd-wallet-card p { color: #c6e4ce; font-size: 12px; }
.pd-wallet-card .pd-mini-link { color: #d0f4dc; }
.pd-wallet-card .pd-mini-link:hover { color: #fff; }
.pd-wallet-card .pd-orbit { border-color: rgba(185,239,202,.3); animation: none; }
.pd-wallet-card .pd-orbit::after { background: #7add9c; box-shadow: 0 0 0 5px rgba(122,221,156,.14); }
.pd-wallet-card .pd-wallet-coin { border-color: rgba(201,245,214,.8); color: #087a32; animation: none; }
.pd-wallet-card .pd-mini-primary { color: #10301c; border-color: #bff0ce; background: #c8f4d4; }
.pd-spark-bars span { background: linear-gradient(180deg, #51ba78, #c9e8d2); animation: none; }
.pd-moving-box { color: #087a32; background: #e8f7ed; animation: none; }
.pd-status-card, .pd-panel, .pd-motion-card { border-color: #dce9df; border-radius: 17px; box-shadow: var(--brand-shadow-card); }
.pd-tone-1 { --pd-tone:#087a32; --pd-tone-bg:#e5f5ea; }
.pd-tone-2 { --pd-tone:#358d63; --pd-tone-bg:#e9f6ef; }
.pd-tone-3 { --pd-tone:#376e80; --pd-tone-bg:#eaf4f6; }
.pd-tone-4 { --pd-tone:#aa7933; --pd-tone-bg:#faf3e7; }
.pd-tone-5 { --pd-tone:#566f95; --pd-tone-bg:#edf1f8; }

@media (min-width: 1200px) {
    .pd-finance-grid { grid-template-columns: minmax(0, 1.2fr) minmax(270px, .8fr); grid-template-rows: repeat(2, minmax(150px, auto)); }
    .pd-wallet-card { grid-row: span 2; }
}
@media (min-width: 992px) and (max-width: 1199.98px) {
    .ad-kpi-card { padding: 15px; }
    .ad-kpi-card h3 { font-size: 26px; }
    .ad-kpi-note { font-size: 9px; }
}
@media (max-width: 1199.98px) {
    .pd-finance-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-wallet-card { grid-column: 1 / -1; }
}
@media (max-width: 991.98px) {
    .ad-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .ad-kpi-grid, .pd-finance-grid { grid-template-columns: 1fr; }
    .pd-wallet-card { grid-column: auto; }
    .ad-command-bar, .pd-welcome { padding: 22px 20px; }
}

/* Login: open editorial composition instead of the old framed split card. */
body.gne-login-page { height: auto !important; min-height: 100vh; overflow-y: auto !important; background: #f3f8f4 !important; color: #172b20; }
.gne-auth-shell { height: auto !important; min-height: 100vh !important; grid-template-rows: 82px minmax(0, 1fr) 38px; padding: 0 clamp(18px, 3.2vw, 50px); }
.gne-auth-header, .gne-auth-footer, .gne-auth-card { width: min(1390px, 100%); }
.gne-header-brand img { border: 1px solid #dce9df; border-radius: 13px; background: #fff; box-shadow: none; }
.gne-header-brand strong { color: #123d24; font-size: 17px; }
.gne-header-brand small { color: #62766a; }
.gne-contact-button { border-color: #dce9df; color: #087a32; background: #fff; }
.gne-contact-button:hover { border-color: #8fd0a4; color: #065a2c; box-shadow: 0 8px 20px rgba(8,122,50,.1); }
.gne-auth-main { padding: 0 0 14px; }
.gne-auth-card { height: auto !important; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .82fr); gap: clamp(18px, 2.5vw, 40px); overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.gne-brand-panel { min-height: 620px; padding: clamp(34px, 4vw, 64px); border-radius: 28px; background: radial-gradient(circle at 75% 70%, rgba(82,215,134,.2), transparent 36%), linear-gradient(135deg, #0b2417 0%, #0c4327 74%, #076a34); box-shadow: 0 22px 46px rgba(11,62,31,.18); }
.gne-brand-panel::before { opacity: .12; background-size: 55px 55px; }
.gne-brand-panel::after { display: none; }
.hm-hero-eyebrow { display: flex; align-items: center; gap: 10px; color: #d3f5dd; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hm-hero-eyebrow span:last-child { color: #8dcaa2; font-weight: 600; }
.hm-hero-rule { width: 22px; height: 3px; border-radius: 2px; background: #52d786; }
.gne-brand-panel h1 { max-width: 590px; margin: 38px 0 16px; color: #fff; font-size: clamp(52px, 5.7vw, 88px); line-height: 1.03; letter-spacing: -.065em; }
.gne-brand-panel h1 em { color: #96edb4; }
.gne-brand-panel > div > p { max-width: 480px; color: #d8e8dd; font-size: 15px; line-height: 1.7; }
.hm-route-scene { position: relative; height: clamp(180px, 23vh, 260px); margin: 28px -15px 0; }
.hm-route-scene svg { width: 100%; height: 100%; overflow: visible; }
.hm-route-grid { fill: none; stroke: rgba(204,246,216,.1); stroke-width: 1; }
.hm-route-line { fill: none; stroke: url(#hmRoute); stroke-width: 3.2; stroke-dasharray: 9 8; animation: hmRouteDash 18s linear infinite; }
.hm-route-node { fill: #0b4729; stroke: #a8edbd; stroke-width: 3; }
.hm-route-end { fill: #bff5ce; stroke: #31965a; stroke-width: 5; }
.hm-route-origin, .hm-route-destination { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid rgba(203,245,218,.25); border-radius: 9px; color: #ecfff1; background: rgba(5,46,25,.76); font-size: 10px; font-weight: 750; }
.hm-route-origin { left: 2%; bottom: 7%; }
.hm-route-destination { right: 1%; top: 0; }
.hm-route-plane { position: absolute; top: 31%; left: 55%; display: grid; width: 37px; height: 37px; place-items: center; border: 1px solid rgba(196,250,213,.5); border-radius: 50%; color: #0b4729; background: #c5f4d3; box-shadow: 0 0 0 8px rgba(197,244,211,.1); transform: rotate(-24deg); }
.hm-route-plane i { font-size: 20px; }
.gne-panel-footer { margin: 12px 0 0; color: #cae9d4; }
.gne-panel-footer a { color: #c0f9d0; }
@keyframes hmRouteDash { to { stroke-dashoffset: -200; } }
.gne-form-panel { display: flex; align-items: center; padding: clamp(26px, 3.8vw, 58px); border: 1px solid #dce9df; border-radius: 28px; background: #fff; box-shadow: 0 14px 42px rgba(18,68,37,.065); }
.gne-login-card { max-width: 410px; }
.gne-login-eyebrow { border-color: #d5eddc; color: #087a32; background: #ebf8ef; }
.gne-login-card h2 { color: #123d24; font-size: clamp(38px, 3.4vw, 50px); line-height: 1.06; }
.gne-login-intro, .gne-remember, .gne-remember span, .gne-security-note { color: #62766a; }
.gne-field { color: #23442e; }
.gne-input-shell input { border-color: #d5e6d9; background: #f8fbf9; color: #172b20; }
.gne-input-shell input:focus { border-color: #087a32; box-shadow: 0 0 0 4px rgba(8,122,50,.11); }
.gne-input-shell:focus-within .gne-input-icon, .gne-forgot, .gne-signup a { color: #087a32; }
.gne-password-toggle:hover, .gne-password-toggle:focus-visible { color: #087a32; background: #ecf7ef; }
.gne-submit { background: #087a32; box-shadow: 0 12px 24px rgba(8,122,50,.18); }
.gne-submit span:last-child { background: #16a34a; }
.gne-submit:hover { box-shadow: 0 16px 28px rgba(8,122,50,.24); }
.gne-submit:focus-visible, .gne-signup a:focus-visible { outline-color: rgba(8,122,50,.3); }
.gne-security-note { border-top-color: #dce9df; }
.gne-security-note i { color: #087a32; }
.gne-auth-footer { color: #708175; }

@media (max-width: 991.98px) {
    .gne-auth-shell { grid-template-rows: 70px minmax(0, 1fr) 30px; }
    .gne-auth-card { grid-template-columns: 1fr; max-width: 720px; gap: 14px; }
    .gne-brand-panel { display: block; min-height: 210px; padding: 25px 30px; }
    .gne-brand-panel h1 { margin: 17px 0 9px; font-size: 40px; }
    .gne-brand-panel > div > p { font-size: 12px; }
    .hm-route-scene, .gne-panel-footer { display: none; }
    .gne-form-panel { padding: 36px; }
}
@media (max-width: 575.98px) {
    .gne-auth-shell { grid-template-rows: 60px minmax(0, 1fr) 24px; padding-inline: 12px; }
    .gne-auth-main { padding: 0 0 8px; }
    .gne-auth-card { gap: 10px; }
    .gne-brand-panel { min-height: 152px; padding: 20px 24px; border-radius: 18px; }
    .gne-brand-panel h1 { font-size: 33px; margin: 12px 0 5px; }
    .gne-brand-panel > div > p { display: none; }
    .hm-hero-eyebrow { font-size: 9px; }
    .gne-form-panel { padding: 28px 22px; border-radius: 18px; }
    .gne-login-card h2 { font-size: 34px; }
    .gne-header-brand strong { font-size: 13px; }
    .gne-auth-footer { font-size: 9px; }
}
@media (min-width: 992px) and (min-height: 640px) {
    body.gne-login-page { height: 100vh !important; height: 100dvh !important; min-height: 0; overflow-y: hidden !important; }
    .gne-auth-shell { height: 100vh !important; height: 100dvh !important; min-height: 0 !important; grid-template-rows: 64px minmax(0, 1fr) 25px; }
    .gne-auth-main { min-height: 0; padding: 0 0 8px; }
    .gne-auth-card { height: 100% !important; min-height: 0; grid-template-rows: minmax(0, 1fr); }
    .gne-brand-panel, .gne-form-panel { min-height: 0; padding: clamp(22px, 2.5vw, 42px); }
    .gne-brand-panel { height: 100%; }
    .gne-form-panel { overflow-y: auto; }
    .gne-brand-panel h1 { margin: 22px 0 10px; font-size: clamp(42px, 3.25vw, 56px); line-height: 1.04; }
    .gne-brand-panel > div > p { font-size: 13px; line-height: 1.5; }
    .hm-route-scene { height: clamp(120px, 18vh, 180px); margin: 16px -10px 0; }
    .gne-panel-footer { margin: 6px 0 0; padding-top: 10px; font-size: 10px; }
    .gne-login-card h2 { margin: 10px 0 6px; font-size: clamp(30px, 2.15vw, 36px); }
    .gne-login-intro { margin-bottom: 14px; }
    .gne-field { margin-bottom: 10px; }
    .gne-input-shell input { height: 44px; }
    .gne-form-options { margin: 2px 0 14px; }
    .gne-submit { height: 46px; }
    .gne-submit span:last-child { width: 35px; height: 35px; }
    .gne-signup { margin-top: 12px; }
    .gne-security-note { margin-top: 12px; padding-top: 12px; }
}
@media (min-width: 992px) and (min-height: 640px) and (max-height: 700px) {
    .gne-brand-panel, .gne-form-panel { padding: 22px 28px; }
    .gne-brand-panel h1 { margin-top: 14px; font-size: 42px; }
    .hm-route-scene { height: 105px; margin-top: 10px; }
    .gne-login-card h2 { font-size: 30px; }
    .gne-login-intro { margin-bottom: 10px; }
    .gne-security-note { margin-top: 9px; padding-top: 9px; }
}
@media (prefers-reduced-motion: reduce) {
    .gne-loader-logo, .hm-loader-plane, .hm-loader-trail, .hm-route-line { animation: none !important; }
    .hm-loader-plane { left: calc(50% - 13px); opacity: 1; }
    .hm-loader-trail { transform: scaleX(.5); opacity: 1; }
}

/* Shipment detail workspace */
.shipment-view-page {
    --sv-ink: #102b1b;
    --sv-muted: #667c6d;
    --sv-line: #dce9df;
    display: flex;
    flex-direction: column;
    gap: 16px;
    color: var(--sv-ink);
}
.shipment-view-page .sv-overline {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0a8040;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}
.shipment-view-page .sv-page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 19px 24px;
    border: 1px solid var(--sv-line) !important;
    border-top: 3px solid #087a32 !important;
    border-radius: 18px !important;
    background: #fff;
    box-shadow: 0 10px 26px rgba(9, 52, 26, .06);
}
.shipment-view-page .sv-page-heading h1 { margin: 5px 0 3px; color: var(--sv-ink); font-size: clamp(22px, 2vw, 29px); font-weight: 850; letter-spacing: -.03em; }
.shipment-view-page .sv-page-heading p { margin: 0; color: var(--sv-muted); font-size: 12px; }
.shipment-view-page .sv-page-heading p strong { color: #0b6933; }
.shipment-view-page .sv-page-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.shipment-view-page .sv-header-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 38px;
    padding: 0 12px;
    border: 1px solid #d3e6d8;
    border-radius: 10px;
    color: #17492b !important;
    background: #f7fbf8;
    font-size: 11px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
.shipment-view-page .sv-header-button:hover { border-color: #91cba2; background: #eaf7ed; }
.shipment-view-page .sv-header-icon { width: 38px; padding: 0; }

.shipment-view-page .sv-search-panel {
    display: grid;
    grid-template-columns: minmax(150px, .35fr) minmax(0, 1fr);
    width: min(100%, 980px);
    min-height: 250px;
    margin: 26px auto 50px;
    overflow: hidden;
    border: 1px solid var(--sv-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 22px 48px rgba(9, 52, 26, .09);
}
.shipment-view-page .sv-search-visual { display: grid; place-items: center; color: #b9f3ce; background: linear-gradient(135deg, #071f13, #0b6733); font-size: 92px; }
.shipment-view-page .sv-search-content { align-self: center; padding: 30px clamp(22px, 4vw, 52px); }
.shipment-view-page .sv-search-content h2 { margin: 7px 0 5px; color: var(--sv-ink); font-size: clamp(22px, 2.3vw, 31px); font-weight: 830; letter-spacing: -.03em; }
.shipment-view-page .sv-search-content p { margin: 0 0 21px; color: var(--sv-muted); font-size: 12px; }
.shipment-view-page .sv-search-controls { display: flex; gap: 9px; }
.shipment-view-page .sv-search-controls .form-control { min-width: 0; min-height: 45px; border: 1px solid #cee2d4; border-radius: 11px; background: #f8fbf9; font-size: 12px; }
.shipment-view-page .sv-search-controls .form-control:focus { border-color: #2fa65d; box-shadow: 0 0 0 3px rgba(47, 166, 93, .13); }
.shipment-view-page .sv-search-controls .btn { flex: 0 0 auto; min-height: 45px; border-radius: 11px; font-size: 12px; font-weight: 800; }
.shipment-view-page .sv-search-message { min-height: 20px; margin-top: 9px; font-size: 11px; }

.shipment-view-page .sv-route-hero {
    position: relative;
    padding: 22px 27px 0;
    overflow: hidden;
    border: 1px solid #0a6935;
    border-radius: 22px;
    color: #fff;
    background: radial-gradient(circle at 94% -30%, rgba(96, 223, 137, .25), transparent 32%), linear-gradient(112deg, #081f14 0%, #0a3d25 62%, #087a32 100%);
    box-shadow: 0 16px 34px rgba(9, 52, 26, .15);
}
.shipment-view-page .sv-route-hero::after { position: absolute; right: -40px; bottom: -135px; width: 320px; height: 320px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; content: ""; pointer-events: none; }
.shipment-view-page .sv-route-hero > * { position: relative; z-index: 1; }
.shipment-view-page .sv-route-hero .sv-overline { color: #abebbf; }
.shipment-view-page .sv-hero-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shipment-view-page .sv-shipment-number { padding: 6px 10px; border: 1px solid rgba(255,255,255,.19); border-radius: 8px; color: #d6f5df; background: rgba(255,255,255,.08); font-size: 10px; font-weight: 750; }
.shipment-view-page .sv-hero-main { display: grid; grid-template-columns: minmax(0,1fr) minmax(180px,220px); align-items: center; gap: 24px; padding: 24px 0 26px; }
.shipment-view-page .sv-route-line { display: grid; grid-template-columns: minmax(0,1fr) minmax(70px,.7fr) minmax(0,1fr); align-items: center; gap: 14px; }
.shipment-view-page .sv-route-point { display: flex; flex-direction: column; min-width: 0; }
.shipment-view-page .sv-route-point small, .shipment-view-page .sv-state-label { color: #9bdcaf; font-size: 9px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.shipment-view-page .sv-route-point strong { overflow: hidden; color: #fff; font-size: clamp(20px, 2.15vw, 31px); font-weight: 840; line-height: 1.2; text-overflow: ellipsis; }
.shipment-view-page .sv-route-point > span { color: #c9e9d3; font-size: 11px; line-height: 1.35; }
.shipment-view-page .sv-route-track { display: flex; align-items: center; gap: 8px; color: #b2edc4; }
.shipment-view-page .sv-route-track span { flex: 1; border-top: 1px dashed rgba(185, 243, 206, .65); }
.shipment-view-page .sv-route-track i { display: grid; place-items: center; flex: 0 0 34px; width: 34px; height: 34px; border: 1px solid rgba(185,243,206,.35); border-radius: 50%; font-size: 18px; }
.shipment-view-page .sv-hero-state { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding-left: 21px; border-left: 1px solid rgba(255,255,255,.2); }
.shipment-view-page .sv-status-pill, .shipment-view-page .sv-date-button { display: inline-flex; align-items: center; gap: 8px; min-height: 35px; max-width: 100%; padding: 0 11px; border: 1px solid rgba(255,255,255,.24); border-radius: 9px; color: #fff; background: rgba(255,255,255,.12); font-size: 11px; font-weight: 800; }
.shipment-view-page button.sv-status-pill, .shipment-view-page button.sv-date-button { cursor: pointer; }
.shipment-view-page button.sv-status-pill:hover, .shipment-view-page button.sv-date-button:hover { background: rgba(255,255,255,.22); }
.shipment-view-page .sv-status-pill { color: #082d18; border-color: #b5eec5; background: #c8f4d6; }
.shipment-view-page button.sv-status-pill:hover { background: #e6fbea; }
.shipment-view-page .sv-hero-references { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 0; margin: 0 -27px; padding: 13px 27px; border-top: 1px solid rgba(255,255,255,.14); background: rgba(1, 22, 10, .18); }
.shipment-view-page .sv-hero-references > div { min-width: 0; padding: 0 15px; border-left: 1px solid rgba(255,255,255,.16); }
.shipment-view-page .sv-hero-references > div:first-child { padding-left: 0; border-left: 0; }
.shipment-view-page .sv-hero-references small { display: block; margin-bottom: 4px; color: #9bdcaf; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.shipment-view-page .sv-hero-references strong { color: #fff; font-size: 12px; font-weight: 780; overflow-wrap: anywhere; }
.shipment-view-page .sv-hero-references strong span { color: #b5e8c4; font-weight: 600; }
.shipment-view-page .sv-inline-edit { margin-left: 6px; padding: 2px 5px; border: 0; border-radius: 5px; color: #c8f4d6; background: rgba(255,255,255,.12); cursor: pointer; }

.shipment-view-page .sv-parties { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.shipment-view-page .sv-party-card { display: flex; flex-direction: column; min-width: 0; padding: 18px 21px; border: 1px solid var(--sv-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(9,52,26,.06); }
.shipment-view-page .sv-party-header { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.shipment-view-page .sv-party-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: #087a32; background: #e8f6ec; font-size: 19px; }
.shipment-view-page .sv-party-receiver .sv-party-icon { color: #fff; background: #087a32; }
.shipment-view-page .sv-party-header small { color: #718a78; font-size: 9px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.shipment-view-page .sv-party-header h2 { margin: 1px 0 0; color: var(--sv-ink); font-size: 15px; font-weight: 830; }
.shipment-view-page .sv-party-name { color: var(--sv-ink); font-size: 16px; font-weight: 820; line-height: 1.3; }
.shipment-view-page .sv-party-company { min-height: 18px; margin-top: 2px; color: #63806b; font-size: 11px; }
.shipment-view-page .sv-party-address { display: flex; gap: 7px; min-height: 48px; margin: 11px 0; color: #4f6655; font-size: 11px; line-height: 1.45; }
.shipment-view-page .sv-party-address i { flex: 0 0 auto; color: #0b8a42; font-size: 16px; }
.shipment-view-page .sv-party-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: auto; padding-top: 11px; border-top: 1px solid #e7efe9; }
.shipment-view-page .sv-party-meta > span { display: flex; flex-direction: column; min-width: 0; }
.shipment-view-page .sv-party-meta small { color: #78907f; font-size: 9px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.shipment-view-page .sv-party-meta strong { color: #1b4228; font-size: 11px; font-weight: 740; overflow-wrap: anywhere; }

.shipment-view-page .fdx-view-action-dock.sv-action-bar { position: static; display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin: 0; padding: 11px 14px; border: 1px solid #d7e9dd; border-radius: 14px; background: #edf8f0; box-shadow: none; backdrop-filter: none; }
.shipment-view-page .sv-action-label { display: inline-flex; align-items: center; gap: 7px; color: #0b5e2d; font-size: 11px; font-weight: 850; white-space: nowrap; }
.shipment-view-page .sv-action-label i { font-size: 17px; }
.shipment-view-page .sv-action-buttons { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.shipment-view-page .sv-action-button, .shipment-view-page .sv-panel-edit { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 35px; padding: 0 11px; border: 1px solid #c5e3ce; border-radius: 9px; color: #0b6430; background: #fff; font-size: 11px; font-weight: 800; cursor: pointer; }
.shipment-view-page .sv-action-button:hover, .shipment-view-page .sv-panel-edit:hover { border-color: #72bf8d; background: #e9f7ed; }

.shipment-view-page .fdx-view-insights-row { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(330px,.88fr); gap: 16px; margin: 0; }
.shipment-view-page .fdx-view-insights-row > div { width: auto; max-width: none; padding: 0; }
.shipment-view-page .fdx-view-insights-row .sv-panel { width: 100%; min-width: 0; margin: 0; overflow: hidden; border: 1px solid var(--sv-line); border-top: 1px solid var(--sv-line) !important; border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(9,52,26,.06); }
.shipment-view-page .sv-panel-header { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 13px 17px; border-bottom: 1px solid #e6efe8; background: #fbfdfb; }
.shipment-view-page .sv-panel-icon { display: grid; place-items: center; width: 37px; height: 37px; border-radius: 10px; color: #087a32; background: #e8f6ec; font-size: 19px; }
.shipment-view-page .sv-panel-header small { color: #718a78; font-size: 9px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.shipment-view-page .sv-panel-header h2 { margin: 1px 0 0; color: var(--sv-ink); font-size: 15px; font-weight: 830; }
.shipment-view-page .sv-panel-edit { margin-left: auto; }
.shipment-view-page .sv-history-body, .shipment-view-page .sv-rate-body { padding: 16px 18px; }
.shipment-view-page .sv-history-body .timeline-scroll { max-height: 300px; overflow-y: auto; }
.shipment-view-page .sv-weight-summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border: 1px solid #d5ebdc; border-radius: 10px; color: #245437; background: #eff8f1; font-size: 11px; font-weight: 750; }
.shipment-view-page .sv-weight-summary strong { color: #0a6631; font-size: 18px; }
.shipment-view-page .sv-weight-summary small { font-size: 10px; }
.shipment-view-page .sv-rate-list { margin: 10px 0 0; }
.shipment-view-page .sv-rate-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 3px; border-bottom: 1px solid #edf2ee; }
.shipment-view-page .sv-rate-list dt { color: #5a7161; font-size: 11px; font-weight: 650; }
.shipment-view-page .sv-rate-list dd { margin: 0; color: #183b24; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; }
.shipment-view-page .sv-rate-list .sv-rate-total { margin-top: 8px; padding: 11px 13px; border: 0; border-radius: 10px; background: linear-gradient(105deg, #092618, #087a32); }
.shipment-view-page .sv-rate-total dt, .shipment-view-page .sv-rate-total dd { color: #fff; font-size: 13px; font-weight: 850; }
.shipment-view-page .sv-rate-total dd { font-size: 17px; }

.shipment-view-page .sv-section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; padding: 3px 2px 0; }
.shipment-view-page .sv-section-head h2 { margin: 4px 0 0; color: var(--sv-ink); font-size: 18px; font-weight: 830; }
.shipment-view-page .sv-section-head p { margin: 0; color: var(--sv-muted); font-size: 11px; }
.shipment-view-page .fdx-detail-accordion { margin: 0 0 6px; border: 1px solid var(--sv-line); border-radius: 18px; background: #fff; box-shadow: 0 10px 26px rgba(9,52,26,.06); }
.shipment-view-page .fdx-detail-accordion .accordion-item { border: 0 !important; border-bottom: 1px solid #e6efe8 !important; border-radius: 0 !important; }
.shipment-view-page .fdx-detail-accordion .accordion-item:last-child { border-bottom: 0 !important; }
.shipment-view-page .fdx-detail-accordion .accordion-button { display: flex; align-items: center; gap: 9px; min-height: 55px; padding: 12px 18px; color: #173b25; background: #fff; box-shadow: none; font-size: 12px; font-weight: 800; }
.shipment-view-page .fdx-detail-accordion .accordion-button:not(.collapsed) { color: #075d2b; background: #f0faf3; }
.shipment-view-page .fdx-detail-accordion .accordion-button > i { color: #0a8a42; font-size: 18px; }
.shipment-view-page .fdx-detail-accordion .accordion-button small { color: #718a78; font-size: 10px; font-weight: 600; }
.shipment-view-page .fdx-detail-accordion .accordion-body { padding: 17px 18px; }
.shipment-view-page .fdx-detail-accordion .table { margin: 0; color: #23412c; font-size: 11px; }
.shipment-view-page .fdx-detail-accordion .table thead th { border-color: #dce9df; color: #315740; background: #eef7f0; font-size: 10px; font-weight: 800; }
.shipment-view-page .fdx-detail-accordion .table td, .shipment-view-page .fdx-detail-accordion .table tfoot th { border-color: #edf2ee; }
.shipment-view-page .sv-download-list { display: flex; flex-wrap: wrap; gap: 8px; }
.shipment-view-page .sv-download-list .btn, .shipment-view-page .fdx-detail-accordion .accordion-body .d-flex > .btn { display: inline-flex; align-items: center; gap: 6px; min-height: 35px; border: 1px solid #c9e4d0 !important; border-radius: 9px; color: #0a6c33 !important; background: #f8fcf9; font-size: 10px; font-weight: 750; }
.shipment-view-page .sv-download-list .btn:hover, .shipment-view-page .fdx-detail-accordion .accordion-body .d-flex > .btn:hover { background: #e9f7ed; }
.shipment-view-page .sv-header-button:focus-visible, .shipment-view-page .sv-search-controls :focus-visible, .shipment-view-page .sv-route-hero button:focus-visible, .shipment-view-page .sv-action-button:focus-visible, .shipment-view-page .sv-panel-edit:focus-visible { outline: 3px solid #78cf95; outline-offset: 2px; }

@media (max-width: 1199.98px) {
    .shipment-view-page .sv-hero-main { grid-template-columns: 1fr; gap: 16px; }
    .shipment-view-page .sv-hero-state { flex-direction: row; align-items: center; flex-wrap: wrap; padding: 12px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
    .shipment-view-page .fdx-view-insights-row { grid-template-columns: 1fr; }
}
@media (max-width: 767.98px) {
    .shipment-view-page .sv-page-header { align-items: flex-start; flex-direction: column; padding: 17px; }
    .shipment-view-page .sv-route-hero { padding: 19px 18px 0; }
    .shipment-view-page .sv-route-line { grid-template-columns: 1fr 44px 1fr; gap: 7px; }
    .shipment-view-page .sv-route-point strong { font-size: 18px; }
    .shipment-view-page .sv-route-track span { display: none; }
    .shipment-view-page .sv-hero-references { grid-template-columns: 1fr 1fr; gap: 12px 0; margin: 0 -18px; padding: 12px 18px; }
    .shipment-view-page .sv-hero-references > div:nth-child(3) { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
    .shipment-view-page .sv-parties { grid-template-columns: 1fr; }
    .shipment-view-page .sv-action-bar { align-items: flex-start; flex-direction: column; }
    .shipment-view-page .sv-action-buttons { justify-content: flex-start; }
    .shipment-view-page .sv-section-head { align-items: flex-start; flex-direction: column; gap: 3px; }
    .shipment-view-page .sv-search-panel { grid-template-columns: 1fr; margin: 12px auto 30px; }
    .shipment-view-page .sv-search-visual { min-height: 92px; font-size: 55px; }
    .shipment-view-page .sv-search-content { padding: 23px; }
}
@media (max-width: 479.98px) {
    .shipment-view-page .sv-route-point strong { font-size: 16px; }
    .shipment-view-page .sv-route-point > span { font-size: 9px; }
    .shipment-view-page .sv-hero-references { grid-template-columns: 1fr; }
    .shipment-view-page .sv-hero-references > div { padding: 0; border-left: 0; }
    .shipment-view-page .sv-hero-references > div:nth-child(3) { grid-column: auto; }
    .shipment-view-page .sv-party-meta { gap: 9px 15px; }
    .shipment-view-page .sv-search-controls { flex-direction: column; }
}
