/* Public website: keep mobile overrides after the shared action styles. */
.mobile-panel-nav-link { display: none; }
.container > *, .pico-grid > *, .market-catalog > * { min-width: 0; }
html[data-theme="light"] .chat-bubble.bot.result b { color: var(--text); }
@media (max-width: 1100px) {
  .header-tools .header-demo { display: none; }
  .pico-grid-showcase { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .pico-grid-showcase .pico-copy { justify-self: center; text-align: center; }
  .pico-stage-chat { width: 100%; grid-template-columns: minmax(0, 1fr) 250px; }
}
@media (max-width: 880px) {
  .header-tools .panel-link { display: none; }
  .main-nav.mobile-open .mobile-panel-nav-link { display: block; }
  .main-nav.mobile-open a { text-align: right; }
  .header-tools .menu-button,
  html[data-theme="light"] .header-tools .menu-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    color: var(--text);
  }
  .header-tools .menu-button .ti { font-size: 23px; line-height: 1; }
  .header-tools .menu-button .ti-x { display: none; }
  .header-tools .menu-button[aria-expanded="true"] .ti-menu-2 { display: none; }
  .header-tools .menu-button[aria-expanded="true"] .ti-x { display: inline-block; }
  .header-tools .menu-button:hover,
  .header-tools .menu-button:active { background: transparent; }
  .header-tools .menu-button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
  .header-inner { gap: 10px; }
  .header-tools { gap: 8px; }
  .pico-stage-chat { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .pico-chat-card { width: 100%; max-width: 520px; justify-self: center; }
  .pico-figure-wrap { width: 100%; }
}
@media (max-width: 700px) {
  .market-catalog { grid-template-columns: minmax(0, 1fr); }
  .market-makers { display: flex; flex-wrap: wrap; overflow: visible; align-items: stretch; }
  .market-makers h3 { flex-basis: 100%; margin: 4px 6px 10px; }
  .market-maker { flex: 1 1 135px; min-width: 0; white-space: normal; }
  .market-filters { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .market-filters label, .market-filters input, .market-filters select { min-width: 0; }
  .market-filters .btn { width: 100%; }
  .price-board { padding: 16px; }
  .price-board .section-row { align-items: start; flex-direction: column; gap: 8px; }
  .price-board .table-scroll { overflow: visible; }
  .price-table, .price-table tbody { display: block; width: 100%; white-space: normal; }
  .price-table thead { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; }
  .price-table .market-group-heading { display: block; margin-block: 16px 10px; }
  .price-table .market-group-heading th { display: block; border: 0; border-radius: 8px; }
  .price-table .vehicle-price-row { display: grid; grid-template-columns: minmax(0, 1fr); margin-block: 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
  .price-table .vehicle-price-row td { min-width: 0; padding: 12px; overflow-wrap: anywhere; }
  .price-table .vehicle-price-row td:last-child { border-bottom: 0; }
  .price-table .vehicle-name { font-size: 14px; }
  .price-table td[data-label] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-variant-numeric: tabular-nums; }
  .price-table td[data-label]::before { content: attr(data-label); color: var(--muted); font-size: 12px; }
}
@media (max-width: 580px) {
  .header-tools .panel-link svg { display: none; }
  .header-tools .panel-link { font-size: 11px; padding-inline: 8px; }
  .header-tools .theme-switch { flex-shrink: 0; }
  .pico-section { padding-block: 48px; }
  .pico-grid-showcase { gap: 28px; }
  .pico-stage-chat { order: 0; }
  .pico-chat-head { flex-wrap: wrap; }
  .pico-chat-head strong { font-size: 14px; }
  .pico-chat-head small, .chat-bubble { font-size: 12px; }
  .pico-copy > p { font-size: 14px; }
  .pico-points { justify-content: center; font-size: 12px; }
  .home-market-indicators { grid-template-columns: minmax(0, 1fr); }
  .market-indicator-info strong { white-space: normal; overflow-wrap: anywhere; }
  .metric strong, .indicator strong { overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .header-tools { gap: 5px; }
  .brand { gap: 5px; }
  .brand-copy strong { font-size: 20px; }
  .brand-logo { width: 32px; height: 32px; }
  .market-stats, .indicators { grid-template-columns: minmax(0, 1fr); }
}

/* AJAX feedback occupies its own row and never disables filter interaction. */
.market-feedback { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; min-height: 28px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.market-feedback [hidden] { display: none !important; }
#market-price-results[aria-busy="true"] { opacity: .55; transition: opacity .15s; }
