.mobile-view-picker { display: none; }
.market-mobile-list { display: none; }
@media (max-width: 760px) {
  .topbar { background: var(--bg); }
  .mobile-view-picker { display: block; padding: 0; }
  .mobile-view-picker select { width: 100%; min-height: 44px; font-size: 16px; text-overflow: ellipsis; }
  .page-attention { margin-bottom: 0; }
  .page-attention:has(> .attention-trigger .pill-ok):not([open]) { display: none; }
  .attention-trigger { width: 100%; border: 0; padding: 0; border-radius: 0; }
  .attention-trigger .pill { margin-left: auto; }
  .tip summary { position: relative; border: 0; border-radius: 0; color: var(--muted); font-size: 12px; background: none; }
  .tip summary::before { content: ''; position: absolute; inset: 13px; border: 1px solid var(--border-strong); border-radius: 50%; }
  .tip[open] summary::before { border-color: var(--copper); }
  .mobile-section-inactive { display: none !important; }
  .grid-hero:not(:has(> :not(.mobile-section-inactive))),
  .grid-cards:not(:has(> :not(.mobile-section-inactive))),
  .exec-grid:not(:has(> :not(.mobile-section-inactive))) { display: none; }
  .page > .grid-hero, .page > .grid-cards { grid-template-columns: minmax(0, 1fr); }
  /* The brand and its headline lead the public summary; navigation already owns shortcuts. */
  .exec-overview .exec-hero { padding: 16px; margin-bottom: 14px; }
  .exec-hero .exec-actions { display: none; }
  .exec-hero h2 { margin: 0; font-size: 20px; }
  .exec-hero .exec-eyebrow { margin-bottom: 6px; }
}
@media print {
  .mobile-view-picker { display: none !important; }
  .mobile-section-inactive { display: revert !important; }
}

@media (max-width: 760px) {
  .market-desktop-table { display: none; }
  .market-mobile-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
  .market-entry { min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); }
  .market-record-identity { margin: 0 0 6px; color: var(--copper); font-size: 12px; overflow-wrap: break-word; }
  .market-record-title { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: break-word; }
  .market-record-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 12px 0; }
  .market-record-metrics dt { font-size: 12px; color: var(--muted); }
  .market-record-metrics dd { margin: 2px 0 0; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .market-record-details { border: 0; border-top: 1px solid var(--border); border-radius: 0; padding: 0; background: none; }
  .market-record-details summary { display: flex; align-items: center; justify-content: space-between; font-size: 13px; }
  .market-record-details summary::after { content: '+'; color: var(--copper); }
  .market-record-details[open] summary::after { content: '−'; }
  .market-record-details dl { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 13px; }
  .market-record-details dd { margin: 0; text-align: right; }
}
@media print { .market-mobile-list { display: none; } .market-desktop-table { display: block; } }

.basket-mobile-list, .timeline-dates { display: none; }
@media (max-width: 760px) {
  .basket-desktop-table { display: none; }
  .basket-mobile-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
  .basket-record { min-width: 0; padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: var(--card); }
  .basket-record-title { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: break-word; }
  .basket-record-detail { margin: 6px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; overflow-wrap: break-word; }
  .basket-record-metrics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; margin: 12px 0 0; }
  .basket-partners .basket-record-metrics, .basket-adjacent .basket-record-metrics { grid-template-columns: minmax(0, 1fr); }
  .basket-record-metrics dt { color: var(--muted); font-size: 12px; }
  .basket-record-metrics dd { margin: 2px 0 0; font-size: 19px; font-weight: 600; font-variant-numeric: tabular-nums; }
  .timeline-name .timeline-dates { display: block; margin-top: 3px; color: var(--muted); font-size: 12px; }
}
@media print { .basket-mobile-list { display: none; } .basket-desktop-table { display: block; } }

.momentum-mobile-list { display: none; }
@media (max-width: 760px) {
  .momentum-desktop-table { display: none; }
  .momentum-mobile-list { display: grid; gap: 12px; list-style: none; padding: 0; margin: 0; }
  .momentum-counts table { min-width: 0; }
  .momentum-counts td:first-child { white-space: normal; overflow-wrap: normal; word-break: normal; }
  .momentum-counts td:last-child { width: 64px; }
}
@media print { .momentum-mobile-list { display: none; } .momentum-desktop-table { display: block; } }
