/* My Account — phone order cards (2026-11-18). Desktop unchanged. */
@media all {
  html.am body.bs-account-dashboard .bs-account-main > h1 { font-size: 24px !important; line-height: 1.2 !important; }
  html.am body.bs-account-dashboard .bs-account-tabs { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 6px !important; }
  html.am body.bs-account-dashboard .bs-account-tabs a { display: flex !important; align-items: center; justify-content: center; min-height: 44px; padding: 6px 4px !important;
    text-align: center; font-size: 13px !important; line-height: 1.2 !important; }
  html.am body.bs-account-dashboard #orders { padding: 14px !important; }
  html.am body.bs-account-dashboard #orders > h2 { font-size: 18px !important; margin-bottom: 10px !important; }

  html.am body.bs-account-dashboard #orders article.am-card { padding: 14px !important; margin: 0 0 12px !important; border-radius: 14px !important;
    border: 1px solid #333 !important; border-left: 4px solid #555 !important; background: linear-gradient(180deg, #1c1c1c 0%, #121212 70%, #0c0c0c 100%) !important; }
  html.am #orders article.am-tone-action { border-left-color: #f58220 !important; }
  html.am #orders article.am-tone-info { border-left-color: #6b8cae !important; }
  html.am #orders article.am-tone-progress { border-left-color: #4f8fd6 !important; }
  html.am #orders article.am-tone-ready { border-left-color: #3fbf5a !important; }
  html.am #orders article.am-tone-done { border-left-color: #2e6b3d !important; }
  html.am #orders article.am-tone-stop { border-left-color: #8a3b3b !important; }

  html.am #orders .am-card .bs-request-heading { display: grid !important; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center;
    column-gap: 10px; row-gap: 2px; margin: 0 0 10px !important; padding: 0 !important; border: 0 !important; }
  html.am #orders .am-card .bs-request-heading h3 { grid-column: 1; grid-row: 1; margin: 0 !important; display: flex; align-items: baseline; gap: 8px;
    font-size: 18px !important; color: #fff !important; }
  html.am #orders .am-type { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #b8b8b8; }
  html.am #orders .am-num { color: #ff9a3d; font-weight: 800; }
  html.am #orders .am-card .bs-request-heading time { grid-column: 1; grid-row: 2; font-size: 12.5px !important; color: #a8a8a8 !important; }
  html.am #orders .am-chip { grid-column: 2; grid-row: 1 / span 2; justify-self: end; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 700;
    white-space: nowrap; background: #2a2f36; color: #cfe0f2; }
  html.am #orders .am-tone-action .am-chip { background: #f58220; color: #111; }
  html.am #orders .am-tone-progress .am-chip { background: #1e3350; color: #bcd8ff; }
  html.am #orders .am-tone-ready .am-chip { background: #1d3b25; color: #9ff0b2; }
  html.am #orders .am-tone-done .am-chip { background: #1f2a22; color: #9fd3ac; }
  html.am #orders .am-tone-stop .am-chip { background: #3a1f1f; color: #f0b0b0; }

  html.am #orders .am-next { margin: 0 0 12px; padding: 12px; border-radius: 10px; background: #171717; border: 1px solid #2c2c2c; }
  html.am #orders .am-tone-action .am-next { border-color: #f58220; background: #1d150e; }
  html.am #orders .am-next p { margin: 0; font-size: 14px; line-height: 1.45; color: #e8e8e8; }
  html.am #orders a.am-pay { display: flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 10px; border-radius: 10px;
    background: #f58220; color: #111 !important; font-weight: 800; font-size: 15px; text-decoration: none; }
  html.am #orders a.am-pay:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
  html.am #orders .am-progress { margin-top: 10px; }
  html.am #orders .am-bar { display: flex; gap: 4px; }
  html.am #orders .am-bar span { flex: 1; height: 6px; border-radius: 3px; background: #333; }
  html.am #orders .am-bar span.is-on { background: #f58220; }
  html.am #orders .am-tone-ready .am-bar span.is-on { background: #3fbf5a; }
  html.am #orders .am-step { margin: 6px 0 0 !important; font-size: 12.5px !important; color: #b8b8b8 !important; }
  html.am #orders .am-step strong { color: #fff; }

  html.am #orders .am-hide { display: none !important; }
  html.am #orders .am-steps, html.am #orders .am-details { margin-top: 10px; }
  html.am #orders .am-steps > summary, html.am #orders .am-details > summary { display: flex; align-items: center; min-height: 44px; padding: 0 2px;
    font-size: 14px; font-weight: 700; color: #ff9a3d; cursor: pointer; list-style: none; }
  html.am #orders .am-steps > summary::-webkit-details-marker, html.am #orders .am-details > summary::-webkit-details-marker { display: none; }
  html.am #orders .am-steps > summary::after, html.am #orders .am-details > summary::after { content: "\203A"; margin-left: 8px; font-size: 20px; transition: transform .2s; }
  html.am #orders .am-steps[open] > summary::after, html.am #orders .am-details[open] > summary::after { transform: rotate(90deg); }
  html.am #orders .am-steps > summary:focus-visible, html.am #orders .am-details > summary:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

  html.am #orders .am-card .bs-order-items { margin: 0 !important; border-radius: 10px !important; }
  html.am #orders .am-card .bs-items-heading { padding: 8px 12px !important; font-size: 11.5px !important; }
  html.am #orders .am-card .bs-item-row { padding: 10px 12px !important; gap: 10px !important; }
  html.am #orders .am-card .bs-item-name { font-size: 14px !important; line-height: 1.3 !important; }
  html.am #orders .am-card .bs-item-options span, html.am #orders .am-card .bs-item-options > * { font-size: 11.5px !important; padding: 2px 7px !important; }
  html.am #orders .am-card .bs-item-total { font-size: 14px !important; }
  html.am #orders .am-card .bs-order-totals > div { padding: 8px 12px !important; font-size: 13px !important; }
  html.am #orders .am-card .bs-order-grand-total strong { font-size: 16px !important; }
  html.am #orders .am-card .bs-request-delivery { margin: 10px 0 0 !important; padding: 8px 12px !important; font-size: 13px !important; line-height: 1.45 !important; }
  html.am #orders .am-card .bs-deposit-summary { padding: 8px 12px !important; }
  html.am #orders .am-card .bs-request-tracking { margin-top: 6px !important; padding-top: 0 !important; border: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { html.am #orders summary::after { transition: none !important; } }

/* Desktop (2026-11-19): full roadmap stays open on the right, no duplicate mini bar */
@media (min-width: 769px) {
  details.am-steps > summary { display: none !important; }
  .am-card .am-progress { display: none !important; }
  .am-card .am-next { margin-bottom: 12px; }
}
