/* Compact controls; touch targets stay larger on phones. */
.app-panel, .drawer { background: #fff; box-shadow: 0 6px 22px #17203318; }
.app-panel { border-radius: 12px; }
.panel-brand { padding: 12px 14px 10px; gap: 8px; }
.brand.in-panel { font-size: 18px; }
.brand.in-panel .brand-mark { width: 36px; height: 36px; box-shadow: none; }
.city-chip { min-height: 32px; padding: 4px 9px; font-size: 13px; border-radius: 8px; }
.quick-actions button, .quick-actions a, .list-heading button, .map-style-switch button,
.chip { min-height: 30px; padding: 4px 9px; font-size: 12px; border-radius: 6px; }
.quick-actions .icon-action { width: 32px; min-width: 32px; padding: 0; }
.search-row input { min-height: 36px; padding: 7px 10px; font-size: 14px; }
.search-row { grid-template-columns: minmax(0, 1fr) 36px; }
.app-panel #nearby-button { min-height: 36px; padding: 0; border-radius: 8px; }
.filters-box { border-radius: 8px; padding: 10px; }
.station-list { gap: 6px; }
.station-card { grid-template-columns: 42px minmax(0, 1fr) 24px; min-height: 80px; gap: 10px; border-radius: 8px; padding: 10px; box-shadow: none; }
.station-card.is-selected { box-shadow: inset 3px 0 #e11d48; }
.station-card .station-logo { width: 42px; height: 42px; min-width: 42px; border-radius: 8px; }
.station-topline strong { font-size: 15px; }
.station-card .status-pill { min-height: 22px; font-size: 11px; padding: 3px 7px; }
.bottom-tab { min-height: 36px; padding: 6px 8px; font-size: 13px; border-radius: 8px; }
.drawer-head { padding: 10px 12px; }
.drawer h3 { font-size: 16px; }
.drawer .status-panel { border-radius: 8px; padding: 12px; gap: 8px 10px; background: #fff; }
.drawer .status-panel > div > strong { font-size: 19px; }
.drawer .quick-report-panel h3 { margin: 0; }
.quick-submit-state:empty { display: none; }
.quick-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.quick-price-grid label { grid-template-columns: 28px minmax(0, 1fr); gap: 4px; padding: 4px 6px; }
.quick-price-grid input { min-width: 0; padding: 5px 2px; font-size: 16px; font-variant-numeric: tabular-nums; }
.fuel-row { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.fuel-primary, .fuel-details { flex: 1 0 auto; }
.fuel-details { flex-wrap: wrap; }
.station-tabs { position: sticky; top: var(--drawer-header-height, 76px); z-index: 2; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr) minmax(0, .8fr); gap: 3px; margin: 12px 0 0; padding: 4px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; }
.station-tabs [role="tab"] { display: flex; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 34px; padding: 5px 4px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: #667085; font-size: 13px; font-weight: 600; white-space: nowrap; }
.station-tabs [aria-selected="true"] { border-color: #e11d48; background: #fff1f2; color: #be123c; }
.station-tabs [role="tab"]:focus-visible { outline: 2px solid #e11d48; outline-offset: -2px; }
.comment-count { display: inline-grid; place-items: center; min-width: 17px; height: 17px; padding: 0 3px; border-radius: 4px; background: #fff1f2; color: #be123c; font-size: 10px; }
.station-tab-panel { min-width: 0; padding-top: 2px; }
.station-tab-panel[hidden] { display: none; }
.station-tab-panel .station-comments, .station-tab-panel .quick-report-panel { border-top: 0; }
.quick-report-panel { border: 0; border-top: 1px solid #e5e7eb; border-radius: 0; background: #fff; padding: 12px 0; gap: 8px; }
.quick-status-grid button { min-height: 36px; border-radius: 6px; padding: 7px 9px; text-align: center; }
.quick-status-grid button strong { font-size: 13px; color: inherit; }
.quick-fuels button { min-height: 32px; border-radius: 6px; font-size: 12px; padding: 4px; }
.quick-fuel-heading strong { font-size: 13px; }
.quick-limit { padding: 6px 0; border: 0; border-radius: 0; }
.quick-limit strong { font-size: 13px; }
.quick-submit { min-height: 36px; border-radius: 6px; font-size: 13px; }
.quick-price-grid label, .fuel-row, .history-row { border-radius: 6px; }
.drawer-actions button { min-height: 32px; border-radius: 6px; font-size: 12px; }
.availability-history, .station-comments { margin: 8px 0 16px; border-top: 1px solid #e5e7eb; padding-top: 12px; }
.availability-history summary { cursor: pointer; font-size: 14px; font-weight: 600; min-height: 32px; }
.availability-row { display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid #f0f1f3; font-size: 12px; }
.availability-row p { margin: 0 0 8px; line-height: 1.5; overflow-wrap: anywhere; }
.availability-row small { display: block; color: #667085; }
.community-empty { color: #667085; font-size: 12px; line-height: 1.5; }
.station-comment { border-bottom: 1px solid #f0f1f3; padding: 8px 0; font-size: 13px; overflow-wrap: anywhere; }
.station-comment p { margin: 0 0 4px; }
.station-comment time { color: #667085; font-size: 11px; }
#station-comment-form { display: grid; gap: 6px; margin-top: 12px; font-size: 12px; }
#station-comment-form select, #station-comment-form textarea { min-height: 34px; border-radius: 6px; padding: 7px 8px; font-size: 13px; }
#station-comment-form textarea { resize: vertical; }
#station-comment-form button { justify-self: start; min-height: 32px; border-radius: 6px; padding: 5px 14px; background: #e11d48; color: white; font-size: 13px; }
#station-comment-form button:disabled { opacity: .45; cursor: not-allowed; }
#comment-feedback { min-height: 16px; margin: 0; color: #667085; overflow-wrap: anywhere; }
@media (max-width: 760px) {
  .app-panel { border-radius: 20px 20px 0 0; }
  .quick-actions button, .quick-actions a, .chip, .quick-fuels button,
  .quick-submit, .quick-status-grid button, #station-comment-form button { min-height: 40px; }
  .bottom-tab { min-height: 44px; }
  .station-tabs [role="tab"] { min-height: 40px; font-size: 12px; }
  .quick-actions { gap: 5px; }
  .quick-actions button, .quick-actions a { padding: 5px 8px; }
  .search-row input, #station-comment-form textarea, #station-comment-form select { font-size: 16px; }
  .availability-row { grid-template-columns: 48px minmax(0, 1fr); gap: 6px; }
}
