/* Legibility floor for page controls (V2 home). Interactive text outside the
   miniature product windows never renders below 11px. Controls drawn inside a
   demo window keep the window's own scale.
   The edition's own rules use long, !important selectors, so this floor needs
   a selector at least as specific (loaded after them, it wins the tie). */
html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body :is(
  .q-announcement,
  .q-announcement > span:first-child,
  .q-source-nav a,
  .hx-explore,
  .og-text-link,
  .ws-demo-link,
  .au-periods button,
  .og-animation-controls,
  .og-animation-controls > button
) { font-size: 11px !important; }
/* On phones these already render at 12px. */
@media (min-width: 621px) {
  html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body :is(.ws-before-after button, .ws-play) { font-size: 11px !important; }
}
/* At 11px the source strip keeps one row at 1440px with tighter spacing. */
html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body .q-source-nav { column-gap: 5px !important; }
html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body .q-source-nav a { padding-inline: 7px !important; }
/* The 11px announcement keeps its 35px bar on desktop, so the opening below
   does not move. */
@media (min-width: 621px) {
  html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body .q-announcement { padding-block: 6.5px !important; }
}
/* Phones: the bar keeps only the label and the arrow, on one centered row.
   The long sentence squeezed into a narrow column next to the 11px label. */
@media (max-width: 620px) {
  html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body .q-announcement { justify-content: center !important; gap: 8px !important; min-height: 40px !important; padding: 8px 14px !important; }
  html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body .q-announcement > span:nth-child(2) { display: none !important; }
  html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body .q-announcement > span:first-child { display: inline-block !important; flex: 0 1 auto !important; min-width: 0 !important; text-align: center; white-space: normal !important; }
  html[data-querio-preview][data-fusion][data-soceo-scene-playback]:root body .q-announcement > svg { flex: none; }
}
