/* Shared additions; mobile layouts below use the same API data and actions. */
.embed-mode .sidebar,
.embed-mode .topbar { display: none !important; }
.embed-mode .shell { margin-left: 0 !important; }
.embed-mode main { max-width: 1280px; padding-top: 22px; }
.embed-mode .page-title { display: none; }

.nav-item svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mobile-connection, .search-options-toggle, .mobile-cards, .result-tabs, .cost-view-tabs, .map-detail-toggle { display: none; }
.search-options-fields { display: contents; }
.result-time > span { display: block; }
details.quick-search { display: block; margin: 8px 2px 18px; }
.quick-search summary { width: fit-content; min-height: 32px; display: list-item; align-content: center; font-size: 11px; color: #65746a; }
.quick-search > div { display: flex; flex-wrap: wrap; gap: 8px 16px; padding: 7px 0; }
.history-search { margin: 0 0 20px; }
.history-search label { display: block; margin-bottom: 7px; font-size: 12px; font-weight: 600; }
.history-search > div { display: flex; gap: 10px; align-items: center; }
.history-search input { width: 100%; max-width: 480px; min-width: 0; height: 44px; border: 1px solid #dce4de; border-radius: 9px; background: white; padding: 0 13px; font: inherit; }
.history-search p { color: #64736a; font-size: 11px; margin: 8px 0 0; }
.empty-history { padding: 30px 18px; text-align: center; color: #65746a; line-height: 1.9; background: #fff; border-radius: 12px; }
.card-kicker { display: block; color: #6b796f; font-size: 11px; font-weight: 500; margin-bottom: 4px; }
.scenario-summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #edf5ef; border: 1px solid #dce9df; border-radius: 12px; padding: 16px; margin-bottom: 20px; font-size: 12px; }
.scenario-summary strong { font-size: 22px; color: var(--green); white-space: nowrap; }
.scenario-summary small { display: block; color: #61776b; font-size: 10px; margin-top: 4px; }
.scenario-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.scenario-advanced { margin-top: 12px; }
.scenario-advanced summary { min-height: 40px; align-content: center; }
.scenario-advanced .scenario-fields { margin: 8px 0 14px; }
body.modal-open { overflow: hidden; }
.vessel-marker { display: grid; place-items: center; }
.ais-scope-note { margin: 14px 0 0; padding-top: 12px; border-top: 1px solid #edf1ee; color: #6f7e74; font-size: 9px; line-height: 1.75; }
.cost-disclaimer { margin: -4px 20px 4px; color: #7b817d; font-size: 9px; line-height: 1.75; }
.tariff-caveat { margin: 11px 0 0; padding: 8px 10px; border-radius: 7px; background: #fff7ea; color: #8b6d3f; font-size: 9px; line-height: 1.6; }
.return-card p.detention-guidance { padding: 9px 10px; border-radius: 7px; background: #fff7ea; color: #80643b; }
.cost-detail-disclaimer { margin: 10px 0 0; color: #7b817d; font-size: 9px; line-height: 1.75; }

@media (max-width: 900px) {
  html.embed-mode { --mobile-header: 0px; }
  .embed-mode main { padding-top: 14px; }
  :root { --mobile-header: calc(76px + env(safe-area-inset-top, 0px)); --mobile-nav: 0px; --muted: #6e7b73; }
  html { scroll-padding-top: calc(var(--mobile-header) + 12px); scroll-padding-bottom: 16px; }
  body { font-size: 14px; line-height: 1.6; -webkit-text-size-adjust: 100%; }
  button, a { -webkit-tap-highlight-color: #25735c18; }
  input, select, textarea { font-size: 16px; }
  .sidebar { position: sticky; inset: 0 auto auto; width: 100%; min-height: var(--mobile-header); padding: calc(12px + env(safe-area-inset-top, 0px)) max(18px, env(safe-area-inset-right, 0px)) 12px max(18px, env(safe-area-inset-left, 0px)); flex-direction: row; align-items: center; justify-content: space-between; border-right: 0; border-bottom: 1px solid #e6eae7; z-index: 100; background: #fffffffa; }
  .brand { font-size: 21px; gap: 10px; letter-spacing: 1px; min-height: 40px; }
  .brand > div { display: none; }
  .brand small { display: none; }
  .brand-mark { width: 34px; height: 36px; border-radius: 10px; font-size: 27px; line-height: 32px; }
  .brand-mark span { font-size: 20px; top: -3px; }
  .mobile-connection { display: none; }
  .workspace, .nav-label, .sidebar-bottom, .topbar { display: none; }
  .sidebar nav { display: flex; margin-left: auto; gap: 4px; }
  .nav-item { margin: 0; min-height: 44px; width: auto; flex: 0 1 auto; justify-content: center; gap: 5px; padding: 8px 10px; border-radius: 10px; color: #697970; font-size: 11px; white-space: nowrap; }
  .nav-item > span:first-child { width: 18px; height: 18px; font-size: 18px; line-height: 18px; }
  .nav-item svg { width: 18px; height: 18px; }
  .nav-item.active { color: #226247; background: #eaf3ed; }
  .nav-item.active:hover { background: #eaf3ed; }
  .nav-count { display: none; }
  .keyboard-open .sidebar nav { display: none; }
  .shell { margin-left: 0; }
  main { padding: 22px max(16px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); max-width: 700px; }
  .page-title, #fleet-view .page-title { align-items: flex-start; gap: 12px; margin-bottom: 18px; }
  .eyebrow { display: none; }
  .page-title h1 { font-size: 27px; letter-spacing: -.9px; line-height: 1.3; }
  .page-title p { font-size: 12px; color: #6a786e; line-height: 1.7; max-width: none; margin-top: 7px; }
  .page-title > .pill { font-size: 10px; margin-top: 4px; }
  .pill { font-size: 11px; line-height: 1.5; padding: 5px 8px; border-radius: 6px; }
  .button, .text-button, .row-link, .map-button { min-height: 44px; font-size: 13px; }
  .button { border-radius: 10px; padding: 11px 14px; }
  .button.primary { min-height: 48px; height: auto; }
  .text-button { padding: 9px 4px; color: #3c7358; }
  .search-card { display: grid; grid-template-columns: minmax(0, 1fr) 76px; align-items: end; gap: 4px 10px; padding: 16px 16px 10px; border-radius: 16px; }
  .search-card .search-number { grid-row: 1; grid-column: 1; min-width: 0; width: auto; }
  .search-card label, .search-card label:not(.search-number) { min-width: 0; width: auto; font-size: 12px; color: #556b5d; gap: 7px; }
  .search-card input, .search-card select { min-width: 0; height: 52px; border-radius: 9px; font-size: 16px; color: #294534; padding: 0 10px; }
  .search-number input { padding-left: 30px; letter-spacing: 0; font-weight: 500; }
  .input-icon > span { top: 10px; left: 10px; }
  #search-submit { grid-row: 1; grid-column: 2; width: 76px; height: 52px; padding: 10px; gap: 7px; font-size: 14px; }
  .search-options-toggle { display: flex; align-items: center; justify-content: space-between; gap: 8px; grid-column: 1 / -1; grid-row: 2; width: 100%; min-height: 44px; padding: 8px 0 2px; border: 0; background: none; color: #4d6857; font-size: 11px; text-align: left; }
  .search-options-toggle > span:last-child { color: #27724d; white-space: nowrap; font-weight: 600; }
  .search-options-toggle b { display: inline-block; margin-left: 3px; transition: transform .15s ease; }
  .search-options-toggle[aria-expanded="true"] b { transform: rotate(180deg); }
  .search-options-fields { display: none; }
  .options-open .search-options-fields { display: grid; grid-column: 1 / -1; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; padding: 9px 0 8px; border-top: 1px solid var(--line); }
  .search-options-fields label:last-of-type, .search-options-fields .quick-search { grid-column: 1 / -1; }
  #tracking-view > .search-card { margin-bottom: 22px; }
  details.quick-search { margin: 3px 0 12px; }
  .quick-search summary { font-size: 12px; min-height: 44px; padding-left: 3px; }
  .quick-search > div { display: grid; grid-template-columns: 1fr; gap: 6px; }
  .quick-search button { min-height: 44px; font-size: 13px; padding: 8px 12px; text-align: left; border: 1px solid var(--line); background: #fff; border-radius: 8px; text-decoration: none; }
  .quick-search small { font-size: 11px; }
  #shipment-result { scroll-margin-top: 0; }
  .result-top { display: block; margin-bottom: 14px; }
  .result-title { gap: 8px; }
  .result-title h2 { font-size: 18px; letter-spacing: 0; overflow-wrap: anywhere; }
  .result-title .pill { font-size: 10px; }
  .result-subtitle { font-size: 11px; color: #6e7b73; overflow-wrap: anywhere; margin-top: 5px; }
  .result-time { display: flex; gap: 8px; text-align: left; font-size: 10px; margin-top: 5px; max-width: none; color: #728278; }
  .result-time br { display: none; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
  .metric, #fleet-view .metric { padding: 15px; min-height: 116px; border-radius: 13px; }
  .metric-label { font-size: 12px; color: #5f7064; }
  .metric-icon { display: none; }
  .metric-value, #fleet-view .metric-value { font-size: 27px; margin-top: 8px; }
  .metric-value.medium { font-size: 20px; }
  .metric-value.unknown { font-size: 22px; }
  .metric-value small { font-size: 12px; }
  .metric-note { font-size: 10px; margin-top: 6px; color: #718076; line-height: 1.6; }
  #shipment-result > .metrics > :nth-child(1) { order: 1; }
  #shipment-result > .metrics > :nth-child(4) { order: 2; }
  #shipment-result > .metrics > :nth-child(2) { order: 3; }
  #shipment-result > .metrics > :nth-child(3) { order: 4; }
  .result-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: sticky; top: var(--mobile-header); z-index: 20; border: 1px solid #e1e7e2; background: #f0f3f0; border-radius: 12px; padding: 4px; gap: 3px; margin: 0 0 16px; scroll-margin-top: 0; }
  .result-tabs button, .cost-view-tabs button { min-height: 44px; padding: 8px 3px; font-size: 13px; font-weight: 600; color: #6b786f; background: transparent; border: 0; border-radius: 8px; }
  .result-tabs button[aria-pressed="true"], .cost-view-tabs button[aria-pressed="true"] { color: #246847; background: #fff; box-shadow: 0 1px 4px #23472c12; }
  .detail-grid { display: flex; flex-direction: column; gap: 16px; }
  .main-column, .side-column { display: contents; }
  .shipment-topic { display: none; width: 100%; }
  #shipment-result[data-section="summary"] [data-topic="summary"], #shipment-result[data-section="costs"] [data-topic="costs"], #shipment-result[data-section="events"] [data-topic="events"] { display: block; }
  .panel { border-radius: 14px; }
  .panel-heading { padding: 18px 16px 13px; gap: 8px; }
  .panel-heading h2 { font-size: 15px; gap: 7px; }
  .section-index { display: none; }
  .panel-heading > .muted, .muted { font-size: 12px; }
  .panel-heading .pill { white-space: normal; max-width: 100%; }
  .route-summary { padding: 4px 16px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 15px; }
  .route-summary > div:last-child { grid-column: 1 / -1; }
  .label { font-size: 11px; color: #6d7e71; }
  .route-summary strong { font-size: 14px; overflow-wrap: anywhere; }
  .route-summary small { font-size: 11px; color: #6f7d72; }
  .progress { padding: 20px 6px; }
  .progress-step { font-size: 10px; }
  .progress-step small { font-size: 10px; color: #748477; }
  .mobile-cards { display: grid; gap: 14px; }
  .container-table { display: none; }
  .container-cards { padding: 0 14px 15px; }
  .container-card { border: 1px solid #e0e8e1; border-radius: 13px; padding: 16px; background: #fff; }
  .container-card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
  .container-card-heading h3 { margin: 0; font-size: 17px; letter-spacing: .1px; }
  .container-card-heading .pill { font-size: 10px; }
  .card-kicker { font-size: 11px; }
  .card-dates { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 17px 0 12px; }
  .card-dates dt { color: #738175; font-size: 12px; margin-bottom: 3px; }
  .card-dates dd { margin: 0; font-size: 14px; font-weight: 600; }
  .card-deadline { display: flex; justify-content: space-between; gap: 8px; background: #f3f7f3; border-radius: 7px; padding: 9px 10px; font-size: 11px; color: #607263; }
  .card-deadline strong { font-weight: 600; color: #3b6148; }
  .card-charges { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; border-top: 1px solid var(--line); margin-top: 15px; padding-top: 14px; }
  .card-charges span { display: block; color: #6c7c70; font-size: 11px; margin-bottom: 4px; }
  .card-charges strong { font-size: 16px; font-weight: 600; }
  .card-total { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px 0; font-size: 12px; }
  .card-total small { display: block; font-size: 10px; color: #6f7e73; }
  .card-total strong { color: #276445; font-size: 21px; white-space: nowrap; }
  .container-card .button { width: 100%; justify-content: space-between; }
  .cost-footer { padding: 14px 16px; flex-direction: column; gap: 7px; font-size: 11px; }
  .cost-footer strong { font-size: 15px; }
  .mini-note { padding: 8px 16px 16px; font-size: 11px; color: #6e7e72; }
  .vessel-body, .source-body { padding: 4px 16px 18px; }
  .vessel-name { font-size: 18px; }
  .vessel-meta { font-size: 12px; }
  .vessel-empty { padding: 15px; }
  .vessel-empty strong { font-size: 13px; }
  .vessel-empty p { font-size: 12px; color: #6c7e70; }
  .kv, .kv b { font-size: 12px; color: #6c7b6e; padding: 7px 0; }
  .kv b { padding: 0; color: #36543e; }
  .source-row { font-size: 13px; padding: 12px 0; }
  .source-row small { font-size: 11px; color: #708076; }
  .event-list { max-height: none; overflow: visible; padding: 0 16px 18px; }
  .event-row { grid-template-columns: 96px minmax(0, 1fr); padding: 15px 0; font-size: 13px; gap: 12px; }
  .event-row span, .event-row small { font-size: 11px; color: #748277; }
  .event-row small { overflow-wrap: anywhere; }
  .history-desktop { display: none; }
  .history-search { margin-bottom: 16px; }
  .history-search label { font-size: 13px; }
  .history-search input { max-width: none; min-height: 50px; font-size: 16px; border-radius: 11px; }
  .history-search > div { flex-wrap: wrap; gap: 0; }
  .history-search p { font-size: 12px; margin-top: 9px; }
  #history-filter-clear { margin-left: auto; }
  .history-card { padding: 17px; min-width: 0; border: 1px solid #dfe6e1; border-radius: 15px; text-align: left; color: var(--ink); background: #fff; box-shadow: 0 2px 6px #24482e03; }
  .history-card:active { background: #f4f8f4; }
  .history-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
  .history-card-top > span:first-child { min-width: 0; }
  .history-card-top small { display: block; color: #758277; font-size: 10px; letter-spacing: .7px; margin-bottom: 5px; }
  .history-card-top strong { display: block; font-size: 17px; overflow-wrap: anywhere; }
  .history-card-top .pill { font-size: 10px; white-space: normal; max-width: 48%; text-align: right; }
  .history-card-route { display: flex; flex-wrap: wrap; gap: 3px 9px; margin: 14px 0 5px; font-size: 13px; }
  .history-card-route > span { color: #6d7a70; }
  .history-card-vessel { display: block; font-size: 12px; color: #637568; overflow-wrap: anywhere; }
  .history-card-vessel small { font-size: 11px; }
  .history-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 7px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf1ed; font-size: 11px; color: #758278; }
  .history-card-bottom b { color: #477056; font-weight: 500; }
  .history-card-bottom b > span { margin-left: 7px; }
  .candidate { flex-direction: column; align-items: stretch; gap: 12px; padding: 17px; overflow-wrap: anywhere; }
  .candidate strong { font-size: 14px; }
  .candidate small { font-size: 12px; margin-top: 5px; }
  .notice { font-size: 13px; line-height: 1.8; }
  .toast { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: calc(100% - 32px); width: max-content; padding: 12px 16px; font-size: 13px; z-index: 200; }
  footer { margin-top: 22px; font-size: 10px; line-height: 1.8; gap: 4px; color: #738176; }

  /* A map first view; details expand without hiding or moving map attribution. */
  #fleet-view { display: flex; flex-direction: column; }
  #fleet-view .page-title { order: 0; align-items: center; }
  #fleet-view .page-title .button { min-width: 76px; font-size: 11px; padding: 8px; }
  #fleet-view .page-title p { display: none; }
  .world-map-panel { order: 1; margin: 0 0 18px; }
  #fleet-metrics { order: 2; }
  #collector-panel { order: 3; }
  .fleet-records { order: 4; margin-top: 0; }
  .map-heading { padding: 12px 14px; gap: 8px; flex-direction: column; align-items: stretch; }
  .map-heading h2 { font-size: 13px; }
  .map-count { font-size: 10px; }
  .map-heading p { display: none; }
  .map-actions { width: 100%; gap: 8px; }
  .map-actions .map-button { flex: 1; font-size: 12px; min-height: 44px; }
  .map-workspace { grid-template-columns: minmax(0, 1fr); }
  .map-inspector { display: contents; }
  .map-select-wrap { grid-row: 1; padding: 10px 14px; border-bottom: 1px solid var(--line); }
  .map-select-label { display: none; }
  #map-vessel-select { font-size: 16px; padding: 10px 7px; height: 48px; border-radius: 8px; }
  .map-stage { grid-row: 2; }
  #vessel-map { height: clamp(280px, 43svh, 400px); }
  .map-detail-toggle { display: flex; grid-row: 3; justify-content: space-between; align-items: center; gap: 10px; min-height: 76px; padding: 15px; border: 0; border-top: 1px solid #dfe9e3; background: #f4f8f5; text-align: left; color: #34593e; }
  .map-detail-toggle strong { display: block; font-size: 14px; }
  .map-detail-toggle small { display: block; margin-top: 3px; font-size: 11px; color: #687d6e; }
  #map-detail-action { font-size: 11px; white-space: nowrap; }
  #map-vessel-detail { display: none; grid-row: 4; padding: 0 16px 20px; }
  .details-open #map-vessel-detail { display: block; }
  .map-vessel-title { font-size: 19px; }
  .map-vessel-badges .pill { font-size: 11px; }
  .map-fields { font-size: 13px; gap: 7px 12px; grid-template-columns: 82px minmax(0, 1fr); }
  .map-position { padding: 14px; }
  .map-position p { font-size: 12px; }
  .map-position strong { font-size: 15px; }
  .map-position small, .map-voyage small { font-size: 11px; }
  .map-voyage h3, .map-observed h3 { font-size: 12px; }
  .map-destination { font-size: 17px; }
  .map-voyage p { font-size: 14px; }
  .map-voyage .map-eta-note { font-size: 11px; }
  .map-observed { grid-row: 5; margin: 0; padding: 15px; }
  .map-vessel-choice { min-height: 48px; padding: 10px; font-size: 12px; }
  .map-vessel-choice small { font-size: 10px; }
  .map-legend { left: 8px; right: 8px; width: fit-content; bottom: 29px; max-width: calc(100% - 16px); padding: 8px; gap: 7px 10px; }
  .map-legend span { font-size: 10px; }
  .map-footnote { font-size: 10px; line-height: 1.7; padding: 12px 14px; gap: 5px; }
  .map-warning, .tile-warning { font-size: 12px; }
  .leaflet-touch .leaflet-bar a, .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; }
  .leaflet-container .leaflet-control-attribution { font-size: 10px; }
  .leaflet-container a.leaflet-popup-close-button { width: 44px; height: 44px; line-height: 44px; }
  .vessel-popup strong { padding-right: 19px; }
  #fleet-view .collector-panel { padding: 17px; align-items: stretch; }
  .collector-panel strong { font-size: 14px; }
  .collector-panel p { font-size: 12px; }
  .registry-poll { font-size: 11px; }
  .fleet-records summary { font-size: 14px; padding: 17px; }
  .fleet-records summary span { font-size: 11px; }
  #fleet-table .table-scroll { overflow: visible; }
  #fleet-table table, #fleet-table tbody, #fleet-table tr { display: block; width: 100%; white-space: normal; }
  #fleet-table thead { display: none; }
  #fleet-table tr { border-top: 1px solid #e4eae5; padding: 16px; }
  #fleet-table td { display: block; border: 0; padding: 5px 0; font-size: 13px; max-width: none; overflow-wrap: anywhere; }
  #fleet-table td::before { content: attr(data-label); display: block; color: #708174; font-size: 11px; margin-bottom: 3px; }
  #fleet-table td:first-child::before { display: none; }
  #fleet-table td strong { font-size: 16px; }
  #fleet-table td small { font-size: 11px; color: #738276; }
  #fleet-table td a { display: inline-flex; align-items: center; min-height: 44px; }
  .fleet-map-link { min-height: 44px; font-size: 12px; }
  .table-hint { font-size: 11px; padding: 15px; }

  /* Native dialog keeps keyboard focus inside the sheet and supports Escape. */
  #cost-dialog { margin: auto auto 0; width: 100%; max-width: 700px; max-height: calc(100dvh - env(safe-area-inset-top, 0px) - 16px); padding: 0; border-radius: 22px 22px 0 0; border: 0; overflow: auto; overscroll-behavior: contain; }
  .dialog-top { position: sticky; top: 0; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); padding: 18px 20px 12px; }
  .dialog-head { margin: 0 0 12px; gap: 12px; align-items: flex-start; }
  .dialog-head h2 { font-size: 22px; overflow-wrap: anywhere; }
  .dialog-head p { font-size: 12px; }
  .close-button { flex-shrink: 0; width: 44px; height: 44px; font-size: 26px; color: #44634e; }
  .cost-view-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; background: #f0f4f0; }
  .dialog-body { padding: 18px 20px calc(22px + env(safe-area-inset-bottom, 0px)); }
  #cost-dialog[data-mode="breakdown"] #scenario-form, #cost-dialog[data-mode="scenario"] #cost-breakdown { display: none; }
  .cost-sections { grid-template-columns: 1fr; gap: 15px; }
  .cost-section { padding: 17px; }
  .cost-section h3 { font-size: 14px; margin-bottom: 8px; }
  .cost-amount { font-size: 29px; }
  .cost-section p { font-size: 12px; color: #637669; }
  .cost-section a, .evidence-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 12px; line-height: 1.7; }
  .evidence-links { gap: 8px; }
  .scenario-form { border: 0; margin: 0; padding: 0; }
  .scenario-form h3 { font-size: 16px; margin-bottom: 6px; }
  .scenario-form p { font-size: 12px; margin-bottom: 17px; line-height: 1.8; }
  .scenario-summary { align-items: flex-start; flex-direction: column; gap: 7px; }
  .scenario-summary strong { font-size: 30px; }
  .scenario-summary span { font-size: 13px; }
  .scenario-summary small { font-size: 11px; }
  .scenario-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .scenario-fields label { font-size: 12px; color: #58715f; }
  .scenario-fields input { display: block; box-sizing: border-box; max-width: 100%; min-height: 50px; font-size: 16px; padding: 8px 6px; background: #fff; color: #304f3a; }
  .scenario-advanced summary { min-height: 48px; font-size: 12px; }
  .scenario-actions { flex-direction: column; gap: 10px; margin-top: 19px; }
  .scenario-actions .button { width: 100%; min-height: 48px; font-size: 14px; }
  .scenario-feedback { font-size: 13px; line-height: 1.8; margin-top: 15px; }
}
@media (max-width: 360px) {
  main { padding-left: 12px; padding-right: 12px; }
  .search-card { padding-left: 12px; padding-right: 12px; grid-template-columns: minmax(0, 1fr) 66px; gap: 4px 8px; }
  #search-submit { width: 66px; font-size: 13px; gap: 4px; }
  .search-card .search-number { font-size: 11px; }
  .search-options-toggle { font-size: 10px; }
  .metric, #fleet-view .metric { padding: 12px; }
  .metric-value.medium { font-size: 18px; }
  .container-cards { padding: 0 10px 12px; }
  .container-card { padding: 13px; }
  .container-card-heading { flex-wrap: wrap; }
  .dialog-top { padding-left: 16px; padding-right: 16px; }
  .dialog-body { padding-left: 16px; padding-right: 16px; }
  .scenario-fields { grid-template-columns: 1fr; }
}

/* Shipment lookup is one continuous decision flow: customs, release cost, return cost. */
.flow-search { display: grid; grid-template-columns: minmax(300px, 1fr) 190px 120px; align-items: end; }
.flow-search .search-number { grid-column: 1; grid-row: 1; }
.flow-search .expected-gate-field { grid-column: 2; grid-row: 1; }
.flow-search #search-submit { grid-column: 3; grid-row: 1; width: 100%; }
.flow-search .search-options-toggle { display: flex; grid-column: 1 / -1; grid-row: 2; align-items: center; justify-content: space-between; min-height: 38px; padding: 8px 2px 0; border: 0; background: none; color: #66776c; font-size: 10px; text-align: left; }
.flow-search .search-options-toggle > span:last-child { color: var(--green); font-weight: 600; }
.flow-search .search-options-fields { display: none; }
.flow-search.options-open .search-options-fields { display: grid; grid-column: 1 / -1; grid-row: 3; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding-top: 13px; border-top: 1px solid var(--line); }
.expected-gate-field small { min-height: 13px; margin-top: -4px; color: #89958d; font-size: 9px; font-weight: 400; }
.lookup-flow-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.lookup-flow-guide li { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 14px; border: 1px solid #e2e8e3; border-radius: 12px; background: #fff; }
.lookup-flow-guide li > span { display: grid; flex: 0 0 28px; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #edf4ef; color: #2b6b4c; font-size: 12px; font-weight: 700; }
.lookup-flow-guide strong, .lookup-flow-guide small { display: block; }
.lookup-flow-guide strong { font-size: 12px; }
.lookup-flow-guide small { margin-top: 2px; color: #77847b; font-size: 9px; }
.flow-result-top { margin-top: 22px; padding: 0 2px; }
.shipment-flow { display: grid; gap: 18px; }
.flow-stage { overflow: hidden; border: 1px solid #dfe6e1; border-radius: 16px; background: #fff; box-shadow: 0 3px 12px #23452d05; }
.flow-stage-header { display: flex; align-items: center; gap: 13px; min-height: 78px; padding: 16px 20px; border-bottom: 1px solid #e9eeea; background: #fbfcfb; }
.flow-stage-header > div { min-width: 0; }
.flow-stage-header p { margin: 0 0 2px; color: #758178; font-size: 10px; }
.flow-stage-header h2 { margin: 0; font-size: 17px; line-height: 1.35; }
.flow-stage-header > .pill { margin-left: auto; }
.flow-step { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border-radius: 50%; background: #255f45; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 0 0 5px #e9f2ed; }
.ais-stage .flow-step { background: #326b85; box-shadow: 0 0 0 5px #eaf2f6; }
.release-stage .flow-step { background: #d96539; box-shadow: 0 0 0 5px #fff0e9; }
.return-stage .flow-step { background: #8a6530; box-shadow: 0 0 0 5px #f7f0e4; }
.shipment-map-shell { position: relative; border-bottom: 1px solid #e6ece7; background: #dce7e4; }
#shipment-map { width: 100%; height: 360px; z-index: 1; }
.shipment-map-warning { position: absolute; z-index: 2; right: 12px; bottom: 28px; left: 12px; padding: 9px 11px; border: 1px solid #edd8ca; border-radius: 8px; background: #fff9f4ee; color: #875f45; font-size: 10px; }
.ais-stage-body { padding: 18px 20px 20px; }
.ais-vessel > span, .ais-facts span { display: block; color: #75857b; font-size: 10px; }
.ais-vessel > strong { display: block; margin-top: 3px; font-size: 19px; }
.ais-vessel > small { display: block; margin-top: 2px; color: #75847a; font-size: 10px; }
.ais-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 16px; overflow: hidden; border: 1px solid #e3e9e4; border-radius: 10px; background: #e3e9e4; }
.ais-facts > div { min-width: 0; padding: 13px; background: #f9fbf9; }
.ais-facts strong, .ais-facts small { display: block; overflow-wrap: anywhere; }
.ais-facts strong { margin-top: 4px; color: #345945; font-size: 12px; }
.ais-facts small { margin-top: 3px; color: #7b877e; font-size: 9px; }
.arrival-complete { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 16px; border-radius: 10px; background: #eef4f0; }
.arrival-complete strong { color: #2e6448; font-size: 20px; }
.arrival-complete span { color: #62746a; font-size: 11px; }
.flow-map-link { margin-top: 15px; min-height: 40px; }
.customs-checks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 18px 20px 0; }
.customs-checks article { min-width: 0; padding: 15px; border: 1px solid #e7ece8; border-radius: 11px; background: #fcfdfc; }
.customs-checks span, .customs-checks strong, .customs-checks small { display: block; }
.customs-checks span { color: #728078; font-size: 10px; }
.customs-checks strong { margin-top: 5px; font-size: 16px; }
.customs-checks small { margin-top: 4px; color: #7c8980; font-size: 9px; overflow-wrap: anywhere; }
.flow-details { border-top: 1px solid #e8ede9; }
.flow-details summary { min-height: 48px; padding: 13px 20px; align-content: center; color: #557060; font-size: 11px; font-weight: 600; cursor: pointer; }
.flow-details .event-list { padding: 0 20px 18px; }
.release-summary { display: flex; align-items: baseline; gap: 12px; padding: 17px 20px 0; }
.release-summary span { color: #6e7d73; font-size: 10px; }
.release-summary strong { font-size: 18px; }
.release-summary small { margin-left: auto; color: #7c8980; font-size: 9px; }
.flow-notice { display: flex; flex-direction: column; gap: 3px; margin: 14px 20px 0; padding: 11px 13px; border-radius: 9px; background: #f5f7f5; color: #64756a; font-size: 10px; }
.flow-notice.error { background: #fff3ed; color: #8c5d46; }
.flow-cost-cards, .return-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 18px 20px 20px; }
.flow-cost-card, .return-card { min-width: 0; padding: 17px; border: 1px solid #e0e7e2; border-radius: 13px; background: #fff; }
.flow-cost-head, .return-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 9px; }
.flow-cost-head span, .return-card-head span { color: #738078; font-size: 9px; }
.flow-cost-head h3, .return-card-head h3 { margin: 3px 0 0; font-size: 16px; overflow-wrap: anywhere; }
.release-date { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 15px; padding: 10px 11px; border-radius: 8px; background: #fff4ee; color: #855b46; font-size: 10px; }
.release-date strong { color: #c6572f; font-size: 13px; }
.flow-charge-list { margin-top: 13px; border-top: 1px solid #edf0ed; }
.flow-charge-list > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid #edf0ed; }
.flow-charge-list span { color: #617166; font-size: 11px; }
.flow-charge-list small { display: block; margin-top: 2px; color: #8a958e; font-size: 9px; }
.flow-charge-list strong { font-size: 14px; white-space: nowrap; }
.flow-cost-total { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 15px 0; }
.flow-cost-total span { color: #53675a; font-size: 11px; }
.flow-cost-total small { display: block; margin-top: 2px; color: #839087; font-size: 9px; }
.flow-cost-total strong { color: #236548; font-size: 20px; white-space: nowrap; }
.flow-cost-card > .button, .return-card > .button { width: 100%; justify-content: space-between; }
.refresh-flow { margin: 0 20px 18px auto; display: flex; min-height: 40px; }
.return-card dl { display: grid; gap: 0; margin: 15px 0 0; }
.return-card dl > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #edf0ed; }
.return-card dt { color: #68786d; font-size: 10px; }
.return-card dd { margin: 0; font-size: 13px; font-weight: 650; text-align: right; }
.return-card p { min-height: 34px; margin: 12px 0 15px; color: #718076; font-size: 9px; line-height: 1.7; }
.flow-footnote { margin: 0; padding: 0 20px 20px; color: #77847b; font-size: 9px; }
.bl-overview { margin: 0 0 18px; overflow: hidden; border: 1px solid #dfe6e1; border-radius: 16px; background: #fff; }
.bl-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bl-overview-grid article { min-width: 0; padding: 16px 18px; border-right: 1px solid #e8ede9; }
.bl-overview-grid article:last-child { border-right: 0; }
.bl-overview-grid span, .bl-overview-grid strong, .bl-overview-grid small { display: block; }
.bl-overview-grid span { color: #758279; font-size: 9px; }
.bl-overview-grid strong { margin-top: 4px; font-size: 14px; overflow-wrap: anywhere; }
.bl-overview-grid small { margin-top: 3px; color: #7d8981; font-size: 9px; overflow-wrap: anywhere; }
.bl-containers { display: flex; align-items: flex-start; gap: 15px; padding: 13px 18px; border-top: 1px solid #e8ede9; background: #f8faf8; color: #64746a; font-size: 10px; }
.bl-containers > span { flex: 0 0 auto; font-weight: 650; color: #385c46; }
.bl-containers > div { display: flex; flex-wrap: wrap; gap: 5px 12px; min-width: 0; overflow-wrap: anywhere; }
.tracking-schedule { margin: 0 0 18px; padding: 18px 20px; border: 1px solid #dfe6e1; border-radius: 16px; background: #fff; }
.tracking-schedule-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tracking-schedule-head span, .tracking-schedule-head strong { display: block; }
.tracking-schedule-head span { color: #758279; font-size: 9px; }
.tracking-schedule-head strong { margin-top: 3px; font-size: 15px; }
.tracking-schedule-head > small { color: #7d8981; font-size: 9px; }
.tracking-schedule .schedule-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.schedule-compare { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.schedule-card { min-width: 0; padding: 13px; border: 1px solid #e3e9e4; border-radius: 10px; background: #fafbfa; }
.schedule-card > div { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.schedule-card span, .schedule-card strong, .schedule-card small, .schedule-card a { display: block; }
.schedule-card > div > span { color: #6c7a71; font-size: 10px; }
.schedule-card strong { margin-top: 8px; color: #345945; font-size: 13px; overflow-wrap: anywhere; }
.schedule-card small { min-height: 29px; margin-top: 5px; color: #7d8981; font-size: 9px; line-height: 1.6; overflow-wrap: anywhere; }
.schedule-card a { width: fit-content; margin-top: 8px; font-size: 9px; }
.schedule-card.pending { background: #fffaf2; border-color: #eee2cf; }
.eta-history { margin-top: 12px; border: 1px solid #e3e9e4; border-radius: 10px; }
.eta-history summary { padding: 10px 12px; font-weight: 600; }
.eta-history > div { display: grid; grid-template-columns: 55px minmax(0, 1fr) 115px; gap: 8px; padding: 9px 12px; border-top: 1px solid #edf1ee; font-size: 9px; }
.eta-history > div span { overflow-wrap: anywhere; }
.eta-history > div small { color: #7e8a82; text-align: right; }
.eta-history-empty { margin: 10px 0 0; color: #7b8880; font-size: 9px; }
.container-lifecycles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 18px 20px 0; }
.lifecycle-card { min-width: 0; overflow: hidden; border: 1px solid #e3e9e4; border-radius: 12px; background: #fcfdfc; }
.lifecycle-card header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 13px; border-bottom: 1px solid #e8ede9; }
.lifecycle-card header strong { font-size: 13px; overflow-wrap: anywhere; }
.lifecycle-card header small { color: #758279; font-size: 9px; }
.lifecycle-steps { display: grid; grid-template-columns: repeat(7, minmax(62px, 1fr)); overflow-x: auto; padding: 13px 9px 15px; }
.lifecycle-step { position: relative; min-width: 0; padding: 0 4px; text-align: center; }
.lifecycle-step::before { content: ""; position: absolute; top: 6px; right: 50%; left: -50%; height: 2px; background: #e2e8e3; }
.lifecycle-step:first-child::before { display: none; }
.lifecycle-step i { position: relative; z-index: 1; display: block; width: 13px; height: 13px; margin: 0 auto 7px; border: 3px solid #fff; border-radius: 50%; background: #c6cec8; box-shadow: 0 0 0 1px #c6cec8; }
.lifecycle-step.confirmed i { background: #398061; box-shadow: 0 0 0 1px #398061; }
.lifecycle-step.reported i { background: #d79346; box-shadow: 0 0 0 1px #d79346; }
.lifecycle-step span, .lifecycle-step b, .lifecycle-step small { display: block; overflow-wrap: anywhere; }
.lifecycle-step span { color: #53665a; font-size: 8px; font-weight: 600; }
.lifecycle-step b { margin-top: 3px; color: #6d7c72; font-size: 8px; }
.lifecycle-step small { margin-top: 2px; color: #87938a; font-size: 7px; line-height: 1.45; }
.deadline-alert { display: inline-flex; align-items: center; width: fit-content; min-height: 22px; padding: 3px 7px; border-radius: 999px; background: #eef2ef; color: #68756d; font-size: 9px; font-weight: 700; white-space: nowrap; }
.deadline-alert.d3 { background: #e8f3f9; color: #356b83; }
.deadline-alert.d2 { background: #fff4cb; color: #84681f; }
.deadline-alert.d1 { background: #ffe6d6; color: #a95427; }
.deadline-alert.today { background: #fbd7d0; color: #a83d2f; }
.deadline-alert.overdue { background: #8f382f; color: #fff; }
.deadline-alert.upcoming { background: #eaf4ee; color: #397158; }
.deadline-alert.within { background: #eaf4ee; color: #397158; }
.flow-charge-list .charge-result { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.flow-charge-list.separated > div { min-height: 65px; }
.cost-section > .deadline-alert { margin: -3px 0 9px; }

@media (max-width: 900px) {
  .flow-search { grid-template-columns: minmax(0, 1fr) 104px; gap: 10px; padding: 16px; }
  .flow-search .search-number { grid-column: 1 / -1; grid-row: 1; }
  .flow-search .expected-gate-field { grid-column: 1; grid-row: 2; }
  .flow-search #search-submit { grid-column: 2; grid-row: 2; width: 104px; height: 52px; font-size: 14px; }
  .flow-search .search-options-toggle { grid-column: 1 / -1; grid-row: 3; min-height: 44px; padding-top: 4px; font-size: 11px; }
  .flow-search.options-open .search-options-fields { grid-column: 1 / -1; grid-row: 4; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-search.options-open .search-options-fields label:last-of-type, .flow-search.options-open .search-options-fields .quick-search { grid-column: 1 / -1; }
  .expected-gate-field small { font-size: 10px; }
  .lookup-flow-guide { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
  .lookup-flow-guide li:last-child { grid-column: 1 / -1; }
  .lookup-flow-guide li { padding: 12px; }
  .lookup-flow-guide strong { font-size: 13px; }
  .lookup-flow-guide small { font-size: 10px; line-height: 1.45; }
  .flow-result-top { margin-top: 20px; }
  .shipment-flow { gap: 15px; }
  .flow-stage { border-radius: 15px; scroll-margin-top: calc(var(--mobile-header) + 10px); }
  .flow-stage-header { min-height: 76px; padding: 15px 16px; gap: 12px; }
  .flow-stage-header p { font-size: 11px; }
  .flow-stage-header h2 { font-size: 17px; }
  .flow-step { flex-basis: 32px; width: 32px; height: 32px; }
  .flow-stage-header > .pill { max-width: 38%; white-space: normal; text-align: right; }
  #shipment-map { height: clamp(260px, 39svh, 340px); }
  .ais-stage-body { padding: 16px; }
  .ais-scope-note, .cost-disclaimer, .tariff-caveat, .cost-detail-disclaimer { font-size: 10px; }
  .ais-vessel > span { font-size: 11px; }
  .ais-vessel > strong { font-size: 20px; }
  .ais-vessel > small { font-size: 11px; }
  .ais-facts { grid-template-columns: 1fr; }
  .ais-facts > div { padding: 12px 13px; }
  .ais-facts span { font-size: 11px; }
  .ais-facts strong { font-size: 14px; }
  .ais-facts small { font-size: 10px; }
  .bl-overview { margin-bottom: 15px; }
  .bl-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bl-overview-grid article { padding: 13px; border-bottom: 1px solid #e8ede9; }
  .bl-overview-grid article:nth-child(2) { border-right: 0; }
  .bl-overview-grid article:nth-child(n+3) { border-bottom: 0; }
  .bl-overview-grid span { font-size: 10px; }
  .bl-overview-grid strong { font-size: 14px; }
  .bl-overview-grid small { font-size: 10px; }
  .bl-containers { display: block; padding: 12px 13px; font-size: 11px; }
  .bl-containers > div { margin-top: 6px; gap: 5px 10px; }
  .schedule-compare { grid-template-columns: 1fr; gap: 8px; }
  .tracking-schedule { margin-bottom: 15px; padding: 15px 16px; }
  .tracking-schedule-head { align-items: flex-start; flex-direction: column; gap: 4px; }
  .tracking-schedule-head strong { font-size: 14px; }
  .tracking-schedule-head > small { font-size: 10px; }
  .schedule-card { padding: 13px; }
  .schedule-card > div > span, .schedule-card small, .schedule-card a { font-size: 11px; }
  .schedule-card strong { font-size: 15px; }
  .schedule-card small { min-height: 0; }
  .schedule-card a { min-height: 36px; align-content: center; }
  .eta-history summary { min-height: 44px; padding: 11px 12px; font-size: 11px; }
  .eta-history > div { grid-template-columns: 48px minmax(0, 1fr); font-size: 10px; }
  .eta-history > div small { grid-column: 2; text-align: left; }
  .eta-history-empty { font-size: 10px; }
  .arrival-complete { align-items: flex-start; flex-direction: column; gap: 5px; }
  .arrival-complete span { font-size: 12px; }
  .flow-map-link { width: 100%; min-height: 44px; justify-content: space-between; font-size: 12px; }
  .customs-checks { grid-template-columns: 1fr; gap: 9px; padding: 15px 16px 0; }
  .customs-checks article { padding: 13px; }
  .customs-checks span { font-size: 11px; }
  .customs-checks strong { font-size: 16px; }
  .customs-checks small { font-size: 11px; }
  .container-lifecycles { grid-template-columns: 1fr; gap: 10px; padding: 15px 16px 0; }
  .lifecycle-card header { padding: 13px; }
  .lifecycle-card header strong { font-size: 15px; }
  .lifecycle-card header small { font-size: 10px; }
  .lifecycle-steps { display: block; overflow: visible; padding: 8px 13px 11px; }
  .lifecycle-step { display: grid; grid-template-columns: 18px 82px 58px minmax(0, 1fr); align-items: center; min-height: 38px; padding: 4px 0; text-align: left; }
  .lifecycle-step::before { top: -50%; bottom: 50%; left: 6px; width: 2px; height: auto; }
  .lifecycle-step i { grid-column: 1; width: 13px; height: 13px; margin: 0; }
  .lifecycle-step span { grid-column: 2; font-size: 11px; }
  .lifecycle-step b { grid-column: 3; margin: 0; font-size: 10px; }
  .lifecycle-step small { grid-column: 4; margin: 0; font-size: 9px; }
  .flow-details summary { min-height: 50px; padding: 13px 16px; font-size: 12px; }
  .flow-details .event-list { padding: 0 16px 16px; }
  .release-summary { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 15px 16px 0; }
  .release-summary span { font-size: 11px; }
  .release-summary strong { font-size: 18px; }
  .release-summary small { grid-column: 1 / -1; margin: 0; font-size: 10px; }
  .flow-notice { margin: 13px 16px 0; font-size: 11px; }
  .flow-cost-cards, .return-cards { grid-template-columns: 1fr; gap: 12px; padding: 15px 16px 16px; }
  .flow-cost-card, .return-card { padding: 16px; }
  .flow-cost-head span, .return-card-head span { font-size: 10px; }
  .flow-cost-head h3, .return-card-head h3 { font-size: 17px; }
  .release-date { font-size: 11px; }
  .release-date strong { font-size: 14px; }
  .flow-charge-list span { font-size: 12px; }
  .flow-charge-list small { font-size: 10px; }
  .flow-charge-list strong { font-size: 16px; }
  .deadline-alert { min-height: 24px; font-size: 10px; }
  .flow-cost-total span { font-size: 12px; }
  .flow-cost-total small { font-size: 10px; }
  .flow-cost-total strong { font-size: 22px; }
  .flow-cost-card > .button, .return-card > .button { min-height: 48px; font-size: 13px; }
  .refresh-flow { min-height: 44px; margin-right: 16px; font-size: 12px; }
  .return-card dt { font-size: 11px; }
  .return-card dd { font-size: 14px; }
  .return-card p { min-height: 0; font-size: 11px; }
  .flow-footnote { padding: 0 16px 17px; font-size: 10px; line-height: 1.7; }
  .cost-disclaimer { margin: -2px 16px 4px; }
  #shipment-map .leaflet-control-zoom a { width: 44px; height: 44px; line-height: 44px; }
  #shipment-map .leaflet-control-attribution { font-size: 9px; }
}

@media (max-width: 360px) {
  .flow-search { grid-template-columns: minmax(0, 1fr) 92px; padding: 13px 12px; gap: 8px; }
  .flow-search #search-submit { width: 92px; font-size: 13px; }
  .lookup-flow-guide { gap: 8px; }
  .lookup-flow-guide li { gap: 8px; padding: 10px; }
  .lookup-flow-guide li > span { flex-basis: 25px; width: 25px; height: 25px; }
  .flow-stage-header { padding: 14px 13px; gap: 10px; }
  .flow-stage-header h2 { font-size: 15px; }
  .flow-stage-header > .pill { font-size: 9px; }
  .flow-cost-cards, .return-cards { padding-right: 12px; padding-left: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
