.qrs-source-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.qrs-source-tabs button { border: 1px solid #e2e8f0; background: var(--gov-card-solid); color: var(--gov-text-muted); border-radius: 8px; min-height: 44px; font-weight: 600; cursor: pointer; }
.qrs-source-tabs button[aria-pressed=true] { color: #c2410c; background: #fff7ed; border-color: #fb923c; }
.qrs-gallery-panel { margin: 0; padding: 0 !important; border: 0; box-shadow: none; }
.qrs-gallery-panel .gov-card-header { display: none; }
.is-gallery .qrs-cam-controls, .is-gallery .qrs-advanced-controls { display: none; }
#qrsCameraEmpty { position: absolute; inset: 0; z-index: 2; background: var(--gov-card-solid); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 20px; text-align: center; color: var(--gov-text-muted); pointer-events: none; }
#qrsCameraEmpty > span { font-size: 32px; }
#qrsCameraEmpty strong { color: var(--gov-text); font-size: 16px; }
#qrsCameraEmpty p { font-size: 12px; max-width: 260px; }
@media(max-width:760px) {
  .gov-header-inner { gap: 8px; padding: 10px 12px; }
  .gov-brand-subtitle, .gov-brand-badge, .gov-offline-badge, .gov-header-nav > a:not(:first-child), .gov-header-nav .gov-tools-dropdown, .tools-sidebar { display: none !important; }
  .gov-header-nav { gap: 6px; margin: 0; }
  .gov-header-actions { gap: 6px; }
  .gov-header-actions .gov-btn, #btnGovTheme, #qrsBtnClearHistory { min-height: 44px; min-width: 44px; }
  .gov-brand-title { font-size: 16px; }
  .gov-emblem { width: 32px; height: 32px; }
  .qrs-page-layout { margin: 10px auto; padding: 0 10px; }
  .gov-breadcrumb, .gov-hero-sub { display: none; }
  .gov-hero-title { font-size: 23px; margin: 0; }
  .gov-hero-section { padding-bottom: 10px; }
  .gov-app-layout { gap: 12px; }
  .gov-card { padding: 12px; }
  .gov-card-title { font-size: 14px; }
  .gov-card-header > span { display: none; }
  .qrs-view-box { aspect-ratio: 4 / 3; min-height: 180px; }
  .qrs-cam-controls { gap: 7px; }
  .qrs-cam-controls .gov-btn { min-height: 44px; }
  #qrsTestSound { display: none; }
  .qrs-advanced-controls { grid-template-columns: auto minmax(0,1fr) auto; gap: 8px; }
  .qrs-advanced-controls button { grid-column: auto; padding: 8px; font-size: 11px !important; }
  .qrs-advanced-controls label { font-size: 11px; }
  .qrs-sidebar { position: static; gap: 12px; }
  .qrs-result-area { font-size: 16px; }
  .qrs-dropzone { min-height: 100px; }
  .qrs-dropzone strong { font-size: 13px !important; }
  .qrs-btn-block { min-height: 44px; }
  #qrsDecodedCard { scroll-margin-top: 12px; }
}
