/* ==========================================================================
   Quantiz® Atrium – Basic components (basic_components.css)
   --------------------------------------------------------------------------
   Base components of the Quantiz component system (docs/user-experience/
   component_index.txt), styled after the reference design. Domain components
   in css/components/*.css build on top of these classes.

   Blocks:
     content_link_buttons / content_link_button   – buttons & actions
     content_header                               – page title area
     content_annotation                           – info notice
     content_form                                 – structured forms
     content_boxes / content_box                  – card grid (media tiles)
     content_list / content_list_item             – list rows
     content_tags / content_tag                   – badges / status pills
     navigation                                   – side & bottom navigation
     window_background / window                   – dialogs
     notifications / notification                 – toasts
     progress_indicator                           – progress bars
     playback_controls / playback_control         – media / viewer controls
   ========================================================================== */

/* ── content_link_buttons / content_link_button ───────────────────────── */
.content_link_buttons { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.content_link_buttons_end { margin-left: auto; }
.content_link_buttons_stack { flex-direction: column; align-items: stretch; gap: 9px; }

.content_link_button {
  --icon: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 42px; padding: 11px 22px; /* one height for every text button (T126) */
  border: 2px solid transparent; border-radius: var(--radius-pill);
  background: var(--q-highlight-1); color: var(--q-highlight-2);
  font-family: var(--font-sans); font-size: var(--fs-14); font-weight: var(--w-bold); line-height: 1.1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: border-color var(--dur-base) ease, background var(--dur-base) ease, color var(--dur-base) ease, transform var(--dur-fast) ease;
}
.content_link_button:hover { color: var(--q-highlight-2); }
.content_link_button:active { transform: scale(.98); }
.content_link_button_icon {
  width: 16px; height: 16px; flex: none; background: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat;
}
/* Variants */
.content_link_button_primary { background: var(--q-highlight-1); color: var(--q-highlight-2); }
.content_link_button_secondary { background: var(--q-highlight-2); color: var(--q-white); }
.content_link_button_secondary:hover { color: var(--q-white); }
.content_link_button_ghost { background: var(--q-white); border-color: var(--q-medium); color: var(--q-highlight-2); padding: 9px 20px; }
.content_link_button_ghost:hover { border-color: var(--q-highlight-2); }
.content_link_button_danger { background: var(--danger); color: var(--q-white); }
.content_link_button_danger:hover { color: var(--q-white); }
.content_link_button_danger_ghost { background: var(--q-white); border-color: var(--danger); color: var(--danger); padding: 9px 20px; }
.content_link_button_danger_ghost:hover { color: var(--danger); background: var(--danger-soft); }
.content_link_button_danger_text { background: transparent; border-color: transparent; color: var(--danger); padding: 9px 18px 9px 14px; }
.content_link_button_danger_text:hover { border-color: var(--danger); color: var(--danger); }
.content_link_button_soft { background: var(--q-highlight-4); color: var(--q-highlight-2); }
/* Text: no background or border, navy label (secondary row action "Verwerfen", T237) */
.content_link_button_text { background: transparent; border-color: transparent; color: var(--q-highlight-2); padding: 9px 14px; }
.content_link_button_text:hover { background: var(--q-highlight-4); }
.content_link_button_on_dark { background: rgba(255, 255, 255, .12); color: var(--q-white); }
.content_link_button_on_dark:hover { background: rgba(255, 255, 255, .2); color: var(--q-white); }
.content_link_button_glass { background: var(--glass); color: var(--q-white); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.content_link_button_glass:hover { background: rgba(255, 255, 255, .35); color: var(--q-white); }
.content_link_button_frosted { background: var(--glass-strong); color: var(--q-highlight-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
/* "small" = compact text and side padding at the same height as the standard button (T126) */
.content_link_button_small { padding: 10px 18px; font-size: var(--fs-13); }
.content_link_button_ghost.content_link_button_small { padding: 9px 18px; }
.content_link_button_block { width: 100%; }
/* T247: as high as every text button (min-height 42 px, T126) – 38 px wide made the round buttons slightly oval */
.content_link_button_round { width: 42px; min-width: 42px; height: 42px; padding: 0; border-radius: var(--radius-circle); }
/* T364: padding 0 again – the side padding of ghost/small made the small round buttons 40 × 30 px (oval) */
.content_link_button_round.content_link_button_small { width: 30px; min-width: 30px; height: 30px; min-height: 30px; padding: 0; }
.content_link_button_round .content_link_button_icon { width: 15px; height: 15px; }
/* T485: a button with a symbol that shrinks to the symbol where the room is small (smartphone) – round, 42 px like every
   text button; the label stays its accessible name (font-size 0) and the tooltip (title) */
@media (max-width: 519px) {
  .content_link_button_collapsible:has(> .content_link_button_icon) { flex: none; width: 42px; min-width: 42px; height: 42px; min-height: 42px; padding: 0; gap: 0; font-size: 0; border-radius: var(--radius-circle); }
}
/* States */
.content_link_button_active { background: var(--q-highlight-1); color: var(--q-highlight-2); }
.content_link_button:disabled, .content_link_button_disabled { opacity: .45; cursor: not-allowed; transform: none; }
.content_link_button_loading { pointer-events: none; }
.content_link_button_loading .content_link_button_icon { display: none; }

/* ── content_header ─────────────────────────────────────────────────────── */
.content_header { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; }
.content_header_body { min-width: 0; }
.content_header_title_pretext { font-size: var(--fs-12); font-weight: var(--w-bold); letter-spacing: var(--tracking-xwide); text-transform: uppercase; color: var(--q-highlight-2); margin-bottom: 4px; }
.content_header_title { font-family: var(--font-display); font-weight: var(--w-bold); font-size: var(--fs-28); line-height: var(--lh-tight); color: var(--q-highlight-3); margin: 0; overflow-wrap: anywhere; }
.content_header_description { font-size: var(--fs-13); color: var(--q-medium); margin-top: 4px; }
.content_header_controls { display: flex; flex-wrap: wrap; gap: 10px; flex: none; }
/* T364: modifier content_header_controls_overflow – the actions stay in ONE row and take the free width next to the title
   (on their own row when less than 440 px remain; content_header_overflow on the head shares the width 1 : 2 with the
   title block); what does not fit moves into content_header_controls_more (⋯, menu),
   a dot marks a hidden action with a badge (headerOverflow) */
.content_header_overflow > .content_header_body { flex: 1 1 320px; } /* the description may wrap so the actions get room */
.content_header_controls_overflow { flex: 2 1 440px; min-width: 0; flex-wrap: nowrap; justify-content: flex-end; align-items: center; }
.content_header_controls_overflow > * { flex: none; }
.content_header_controls_more { position: relative; }
/* T631: first stage – an action with a symbol shows only the symbol (headerOverflow; label as aria-label and tooltip) */
.content_header_controls_overflow .content_link_button.content_header_control_compact:has(> .content_link_button_icon) { width: 42px; min-width: 42px; height: 42px; padding: 0; gap: 0; font-size: 0; justify-content: center; border-radius: var(--radius-circle); }
.content_header_controls_overflow .content_header_control_compact .content_link_button_icon { width: 18px; height: 18px; }
.content_header_controls_more[aria-expanded="true"] { background: var(--q-highlight-4); }
.content_header_controls_more_dot { position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--q-highlight-1); box-shadow: 0 0 0 2px var(--q-white); }
/* T270: variant content_header_compact – on the smartphone title and actions share one row (actions as round symbol
   buttons, their label stays the accessible name), the description takes one line below */
@media (max-width: 759px) {
  .content_header_compact { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 8px; row-gap: 2px; }
  .content_header_compact > .content_header_body { display: contents; }
  .content_header_compact .content_header_title { grid-row: 1; grid-column: 1; font-size: var(--fs-22); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .content_header_compact .content_header_description { grid-row: 2; grid-column: 1 / -1; margin-top: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .content_header_compact .content_header_controls { grid-row: 1; grid-column: 3; flex-wrap: nowrap; gap: 8px; }
  .content_header_compact .content_header_controls .content_link_button { width: 36px; min-width: 36px; height: 36px; min-height: 36px; padding: 0; gap: 0; border-radius: var(--radius-circle); justify-content: center; font-size: 0; }
}

/* ── content_annotation ───────────────────────────────────────────────────── */
.content_annotation {
  display: flex; align-items: flex-start; gap: var(--space-3);
  background: var(--q-highlight-4); border-left: 4px solid var(--q-highlight-1);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding: 14px 18px;
  font-size: var(--fs-13); line-height: var(--lh-normal);
}
.content_annotation_icon { width: 18px; height: 18px; flex: none; margin-top: 1px; background: url("../assets/icons/info_dark.svg") center / 18px no-repeat; opacity: .7; }
.content_annotation_text b, .content_annotation_text strong { font-weight: var(--w-bold); }
.content_annotation_text a { margin-left: 6px; }
.content_annotation_boxed { border-left: none; border-radius: var(--radius-lg); font-size: var(--fs-12); }
.content_annotation_warning { border-left-color: var(--warning); }
.content_annotation_danger { border-left-color: var(--danger); background: var(--danger-soft); }
/* T272: explanation that is left out on the smartphone – the core sentence and the link stay */
@media (max-width: 759px) {
  .content_annotation { padding: 10px 14px; gap: var(--space-2); }
  .content_annotation_detail { display: none; }
}

/* ── content_form ────────────────────────────────────────────────────────────── */
.content_form { display: flex; flex-direction: column; gap: 20px; }
.content_form_flex { flex-direction: row; flex-wrap: wrap; gap: 14px; }
.content_form_item_group { display: flex; flex-direction: column; gap: 14px; }
.content_form_item_group_caption { font-size: var(--fs-12); font-weight: var(--w-bold); letter-spacing: var(--tracking-xwide); text-transform: uppercase; color: var(--q-highlight-2); }
.content_form_item_group_row { display: flex; flex-wrap: wrap; gap: 14px; }
.content_form_item_group_row > .content_form_item { flex: 1; min-width: 190px; }
.content_form_item { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.content_form_item_caption { display: flex; align-items: baseline; gap: 10px; font-size: var(--fs-13); font-weight: var(--w-regular); color: var(--q-dark); }
.content_form_item_caption label { font-weight: inherit; }
.content_form_item_caption_emphasis { font-weight: var(--w-bold); color: var(--q-dark); }
.content_form_item_display { margin-left: auto; font-family: var(--font-display); font-size: var(--fs-15); font-weight: 600; color: var(--q-highlight-3); white-space: nowrap; }
.content_form_item_value { display: flex; gap: 8px; min-width: 0; }
.content_form_item_value_column { flex-direction: column; }
.content_form_item_value > .content_form_item_value { flex: 1; }
.content_form_item_hint { font-size: var(--fs-12); color: var(--q-medium); }
.content_form_item_error { font-size: var(--fs-12); color: var(--danger); font-weight: var(--w-regular); }
.content_form_item_invalid .content_form_input { border-color: var(--danger); }

.content_form_input {
  flex: 1; min-width: 0; width: 100%;
  border: 2px solid var(--q-medium); border-radius: 0; background: var(--q-white);
  padding: 10px 12px; font-size: var(--fs-14); font-weight: var(--w-light); line-height: 1.4; color: var(--q-dark);
  transition: border-color var(--dur-fast) ease;
}
.content_form_input:focus { outline: none; border-color: var(--q-highlight-3); }
.content_form_input:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.content_form_input[readonly] { background: var(--q-highlight-4); }
textarea.content_form_input { resize: vertical; line-height: 1.6; }
.content_form_input_mono { font-family: var(--font-mono); }
select.content_form_input { appearance: none; background: var(--q-white) url("../assets/icons/arrow_down_dark.svg") right 12px center / 11px no-repeat; padding-right: 34px; }

/* Checkbox (square, lime when checked – reference share dialog) */
/* T172: the hidden input stays inside its label (position: relative) – otherwise it sat at a position computed outside the
   scrolled settings page and focusing it on click scrolled the whole app shell away (white page) */
.content_form_checkbox { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--fs-14); color: var(--q-dark); }
.content_form_checkbox input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.content_form_checkbox_box { width: 20px; height: 20px; flex: none; display: flex; align-items: center; justify-content: center; border: 2px solid var(--q-medium); background: var(--q-white); transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease; }
.content_form_checkbox_box::after { content: ""; display: none; width: 5px; height: 10px; margin-top: -2px; border-right: 2px solid var(--q-highlight-2); border-bottom: 2px solid var(--q-highlight-2); transform: rotate(45deg); }
.content_form_checkbox input:checked + .content_form_checkbox_box { background: var(--q-highlight-1); border-color: var(--q-highlight-1); }
.content_form_checkbox input:checked + .content_form_checkbox_box::after { display: block; }
.content_form_checkbox input:focus-visible + .content_form_checkbox_box { box-shadow: var(--shadow-focus); }

/* Toggle switch */
.content_form_toggle { position: relative; display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: var(--fs-13); }
.content_form_toggle input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.content_form_toggle_track { position: relative; width: 42px; height: 24px; flex: none; border-radius: var(--radius-pill); background: var(--q-bright); transition: background var(--dur-base) var(--ease-std); }
.content_form_toggle_track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--q-white); box-shadow: 0 0 6px rgba(0, 0, 0, .18); transition: transform var(--dur-base) var(--ease-std); }
.content_form_toggle input:checked + .content_form_toggle_track { background: var(--q-highlight-1); }
.content_form_toggle input:checked + .content_form_toggle_track::after { transform: translateX(18px); }
.content_form_toggle input:focus-visible + .content_form_toggle_track { box-shadow: var(--shadow-focus); }

/* Range slider (reference admin) */
.content_form_range { -webkit-appearance: none; appearance: none; width: 100%; height: 20px; background: transparent; cursor: pointer; }
/* filled part min → value: --range-progress is maintained by rangeFill() (ui.js); Firefox: ::-moz-range-progress */
.content_form_range::-webkit-slider-runnable-track { height: 6px; border-radius: var(--radius-pill); background: linear-gradient(to right, var(--q-highlight-1) 0 var(--range-progress, 0%), var(--q-bright) var(--range-progress, 0%) 100%); }
.content_form_range::-moz-range-track { height: 6px; border-radius: var(--radius-pill); background: var(--q-bright); }
.content_form_range::-moz-range-progress { height: 6px; border-radius: var(--radius-pill); background: var(--q-highlight-1); }
.content_form_range::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 18px; height: 18px; margin-top: -6px; border-radius: 50%; background: var(--q-highlight-2); border: 3px solid var(--q-white); box-shadow: 0 0 6px rgba(0, 0, 0, .18); }
.content_form_range::-moz-range-thumb { width: 18px; height: 18px; box-sizing: border-box; border-radius: 50%; background: var(--q-highlight-2); border: 3px solid var(--q-white); box-shadow: 0 0 6px rgba(0, 0, 0, .18); }
.content_form_range_labels { display: flex; justify-content: space-between; font-size: var(--fs-11); color: var(--q-medium); margin-top: -2px; }
/* Range with two thumbs (lower and upper bound, T145): two stacked content_form_range, only the thumbs take the pointer.
   _track paints the filled part between the thumbs; --range-from / --range-to (0…1) are set by the component. The thumb
   centre lies at 9px + value × (width − 18px) – the gradient uses the same formula. */
.content_form_range_pair { position: relative; height: 20px; --range-a: calc(9px + (100% - 18px) * var(--range-from, 0)); --range-b: calc(9px + (100% - 18px) * var(--range-to, 1)); }
.content_form_range_pair_track { position: absolute; left: 0; right: 0; top: 7px; height: 6px; border-radius: var(--radius-pill); background: linear-gradient(to right, var(--q-bright) 0 var(--range-a), var(--q-highlight-1) var(--range-a) var(--range-b), var(--q-bright) var(--range-b) 100%); }
.content_form_range_pair > .content_form_range { position: absolute; inset: 0; margin: 0; pointer-events: none; }
.content_form_range_pair > .content_form_range::-webkit-slider-runnable-track { background: transparent; }
.content_form_range_pair > .content_form_range::-moz-range-track { background: transparent; }
.content_form_range_pair > .content_form_range::-moz-range-progress { background: transparent; }
.content_form_range_pair > .content_form_range::-webkit-slider-thumb { pointer-events: auto; cursor: grab; }
.content_form_range_pair > .content_form_range::-moz-range-thumb { pointer-events: auto; cursor: grab; }
.content_form_range_pair > .content_form_range:focus-visible { outline: none; }
.content_form_range_pair > .content_form_range:focus-visible::-webkit-slider-thumb { box-shadow: var(--shadow-focus); }
.content_form_range_pair > .content_form_range:focus-visible::-moz-range-thumb { box-shadow: var(--shadow-focus); }
/* overlapping thumbs in the upper half: the lower bound lies on top, so it can still be moved away */
.content_form_range_pair_min_top > .content_form_range:first-of-type { z-index: 1; }

/* ── content_boxes / content_box (media tiles) ────────────────────────────────── */
.content_boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.content_boxes_compact { grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }

.content_box {
  position: relative; background: var(--q-white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card-soft); transition: box-shadow var(--dur-fast) ease;
}
.content_box_selected { box-shadow: 0 0 0 3px var(--q-highlight-3); }
.content_box_link {
  position: absolute; inset: 0; z-index: 1; display: block; width: 100%; padding: 0; margin: 0;
  border: none; background: transparent; cursor: pointer; border-radius: inherit;
}
.content_box_link:focus-visible { outline: 3px solid var(--q-highlight-3); outline-offset: -3px; }
/* T116: the frosted processing overlay (backdrop-filter) escaped the rounded overflow clip in Chromium – clip-path also
   clips filter layers; only the header is clipped, so the card shadow stays.
   T118: clip-path makes the header a stacking context, so the selection control inside it fell below content_box_link –
   the header sits above the link and lets clicks through; only the controls take them */
.content_box_header {
  position: relative; z-index: 2; height: 150px; overflow: hidden; background: var(--q-highlight-4); pointer-events: none;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0; clip-path: inset(0 round var(--radius-lg) var(--radius-lg) 0 0);
}
.content_box_header_image { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform var(--dur-base) linear; }
.content_box:hover .content_box_header_image { transform: scale(1.2); }
.content_box_header_placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: var(--fs-22); font-weight: 600; color: var(--q-medium); text-transform: uppercase; }
.content_box_header_tags { position: absolute; left: 12px; top: 12px; z-index: 2; display: flex; gap: 6px; pointer-events: none; }
.content_box_status {
  position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  font-size: var(--fs-12); font-weight: var(--w-bold); color: var(--q-highlight-2); pointer-events: none; text-align: center; padding: 0 12px;
}
.content_box_status_failed { color: var(--danger); }
.content_box_controls { position: absolute; right: 10px; top: 10px; z-index: 3; display: flex; gap: 6px; pointer-events: auto; }
.content_box_control {
  position: relative; width: 24px; height: 24px; padding: 0; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .9); background: rgba(255, 255, 255, .35); cursor: pointer;
  transition: background var(--dur-fast) ease, border-color var(--dur-fast) ease;
}
.content_box_control[aria-pressed="true"] { border-color: var(--q-highlight-3); background: var(--q-highlight-3); }
.content_box_control[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; background: var(--q-white); -webkit-mask: var(--mask-check) center / 14px no-repeat; mask: var(--mask-check) center / 14px no-repeat; }
.content_box_body { padding: 13px 15px 15px; }
.content_box_title { font-size: var(--fs-14); font-weight: var(--w-regular); color: var(--q-dark); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.content_box_description { display: flex; align-items: center; gap: 8px; margin-top: 7px; font-size: var(--fs-12); color: var(--q-medium); min-width: 0; }
.content_box_description_separator { width: 3px; height: 3px; flex: none; border-radius: 50%; background: var(--q-bright); }
.content_box_description .content_tag { margin-left: auto; }

/* Compact variant (square thumbnails with gradient caption) */
.content_box_compact { aspect-ratio: 1 / 1; border-radius: var(--radius-md); }
.content_box_compact .content_box_header { position: absolute; inset: 0; z-index: auto; height: auto; }
.content_box_compact .content_box_header_tags { left: 8px; top: 8px; }
.content_box_compact .content_box_title_overlay {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 10px 8px;
  background: linear-gradient(to top, rgba(0, 0, 0, .55), rgba(0, 0, 0, 0));
  color: var(--q-white); font-size: var(--fs-11); font-weight: var(--w-regular);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; pointer-events: none;
}

/* ── content_list / content_list_item ──────────────────────────────────────── */
.content_list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
.content_list_item {
  position: relative; display: flex; align-items: center; gap: var(--space-4);
  background: var(--q-white); border-radius: var(--radius-lg); padding: 10px 18px 10px 10px;
  box-shadow: var(--shadow-card-soft);
}
.content_list_item_selected { box-shadow: 0 0 0 3px var(--q-highlight-3); }
.content_list_item_link { position: absolute; inset: 0; z-index: 1; border: none; background: transparent; border-radius: inherit; cursor: pointer; padding: 0; }
.content_list_item_link:focus-visible { outline: 3px solid var(--q-highlight-3); outline-offset: -3px; }
.content_list_item_media { position: relative; width: 96px; height: 64px; flex: none; border-radius: var(--radius-md); overflow: hidden; background: var(--q-highlight-4) center / cover no-repeat; display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; color: var(--q-medium); font-size: var(--fs-13); text-transform: uppercase; }
.content_list_item_media .content_tag { position: absolute; left: 6px; top: 6px; }
.content_list_item_body { min-width: 0; flex: 1; }
.content_list_item_title { font-size: var(--fs-15); font-weight: var(--w-regular); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin: 0; }
.content_list_item_description { font-size: var(--fs-12); color: var(--q-medium); margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.content_list_item_meta { width: 120px; flex: none; text-align: right; font-size: var(--fs-13); color: var(--q-medium); }
.content_list_item_controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 6px; flex: none; }
.content_list_item_control { position: relative; z-index: 2; width: 24px; height: 24px; flex: none; padding: 0; border-radius: 50%; border: 2px solid var(--q-medium); background: var(--q-white); cursor: pointer; }
.content_list_item_control[aria-pressed="true"] { border-color: var(--q-highlight-3); background: var(--q-highlight-3); }
.content_list_item_control[aria-pressed="true"]::after { content: ""; position: absolute; inset: 0; background: var(--q-white); -webkit-mask: var(--mask-check) center / 14px no-repeat; mask: var(--mask-check) center / 14px no-repeat; }
/* T272: smartphone – two lines instead of one wide row (no horizontal overflow): picture over both lines, title and
   description on top, feedback, status and date below, controls to the right of the title */
@media (max-width: 759px) {
  .content_list_item { display: grid; grid-template-columns: 64px auto auto minmax(0, 1fr) auto; align-items: center; column-gap: 10px; row-gap: 6px; padding: 8px 10px 8px 8px; }
  .content_list_item_media { grid-row: 1 / 3; grid-column: 1; width: 64px; height: 56px; }
  .content_list_item_body { grid-row: 1; grid-column: 2 / 5; }
  .content_list_item_controls { grid-row: 1; grid-column: 5; }
  .content_list_item > :not(.content_list_item_link, .content_list_item_media, .content_list_item_body, .content_list_item_controls) { grid-row: 2; }
  .content_list_item > .content_list_item_meta { grid-column: 4 / -1; width: auto; font-size: var(--fs-12); }
}

/* ── content_tags / content_tag ────────────────────────────────────────────── */
.content_tags { display: flex; flex-wrap: wrap; gap: 8px; }
.content_tag {
  display: inline-flex; align-items: center; gap: 5px; flex: none;
  border-radius: var(--radius-pill); padding: 3px 9px;
  font-size: var(--fs-11); font-weight: var(--w-bold); line-height: 1.35; white-space: nowrap;
  background: var(--q-highlight-4); color: var(--q-dark);
}
.content_tag_360 { background: rgba(255, 255, 255, .75); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--q-highlight-2); letter-spacing: .06em; padding: 4px 10px; }
.content_tag_video { background: rgba(16, 49, 78, .78); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--q-white); padding: 4px 10px; }
.content_tag_video::before { content: ""; width: 0; height: 0; border-left: 6px solid var(--q-highlight-1); border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
.content_tag_audio { background: rgba(255, 255, 255, .85); color: var(--q-highlight-2); padding: 4px 10px 4px 8px; }
.content_tag_audio::before { content: ""; width: 11px; height: 11px; flex: none; background: currentColor; -webkit-mask: url("../assets/icons/mic_dark.svg") center / 11px no-repeat; mask: url("../assets/icons/mic_dark.svg") center / 11px no-repeat; }
.content_tag_keyword { background: var(--q-highlight-4); color: var(--q-highlight-2); font-size: var(--fs-12); padding: 5px 11px; }
.content_tag_button { border: none; cursor: pointer; font-family: inherit; background: var(--q-highlight-4); color: var(--q-highlight-2); font-size: var(--fs-12); padding: 5px 11px; transition: background var(--dur-fast) ease; }
.content_tag_button:hover, .content_tag_button:focus-visible { background: var(--q-highlight-1); }
.content_tag_shared { background: var(--brand-soft); color: var(--q-highlight-2); }
.content_tag_private { background: var(--q-highlight-4); color: var(--q-medium); }
.content_tag_processing { background: var(--q-highlight-4); color: var(--q-highlight-3); }
.content_tag_failed, .content_tag_danger { background: var(--danger-soft); color: var(--danger); }
.content_tag_warning { background: rgba(226, 169, 59, .18); color: #9a6b12; }
.content_tag_brand { background: var(--q-highlight-1); color: var(--q-highlight-2); }
.content_tag_count { background: var(--q-highlight-3); color: var(--q-white); padding: 2px 8px; justify-content: center; } /* T638: a flex box – text-align does not centre the digit in a badge with a fixed minimum width */
.content_tag_small { font-size: 10px; padding: 2px 7px; }

/* ── navigation ────────────────────────────────────────────────────────────── */
.navigation { display: flex; flex-direction: column; gap: 22px; }
.navigation_header { display: flex; align-items: center; justify-content: space-between; padding: 0 14px 8px; }
.navigation_header_title { font-size: var(--fs-12); font-weight: var(--w-bold); letter-spacing: var(--tracking-xwide); text-transform: uppercase; color: var(--q-highlight-2); }
.navigation_items { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 0; list-style: none; }
.navigation_item {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  border: none; border-left: 4px solid transparent; border-radius: 0 var(--radius-pill) var(--radius-pill) 0;
  padding: 11px 14px; background: transparent; color: var(--q-dark);
  font-size: var(--fs-14); font-weight: var(--w-light); text-decoration: none; cursor: pointer;
  transition: background var(--dur-fast) ease;
}
.navigation_item:hover { background: var(--q-highlight-4); color: var(--q-dark); }
.navigation_item_active, .navigation_item[aria-current="page"] { background: var(--q-highlight-4); color: var(--q-highlight-2); font-weight: var(--w-bold); border-left-color: var(--q-highlight-1); }
/* symbol as a mask in the colour of the text next to it (T155) – active items: navy like their title */
.navigation_item_icon { --icon: none; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: var(--icon) center / 18px no-repeat; mask: var(--icon) center / 18px no-repeat; }
.navigation_item_title { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.navigation_item_description { font-size: var(--fs-12); color: var(--q-medium); }
.navigation_item_badge { margin-left: auto; }
/* T486: a number that leads straight to its place (join requests, registrations) */
.navigation_item_badge_action, .popover_item_badge_action { cursor: pointer; }
.navigation_item_badge_action:hover, .popover_item_badge_action:hover { background: var(--q-highlight-2); }
/* Compact (icons only, < 1000 px) */
.navigation_compact .navigation_item { justify-content: center; padding: 11px 10px; }
.navigation_compact .navigation_item_title { display: none; }
/* T484: the number stays – a small badge at the top right of the icon */
.navigation_compact .navigation_item { position: relative; }
.navigation_compact .navigation_item_badge { position: absolute; top: 3px; right: 6px; margin: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; font-size: 10px; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--q-white); }
/* Bottom (smartphone tab bar) */
.navigation_bottom .navigation_items { flex-direction: row; gap: 0; }
.navigation_bottom .navigation_item {
  flex: 1; min-width: 0; flex-direction: column; gap: 5px; justify-content: center; border: none; border-radius: var(--radius-md);
  padding: 8px 4px; font-size: var(--fs-11); background: transparent; color: var(--q-dark);
}
/* T243: long labels ("Einstellungen") stay on one line – very narrow screens shorten them instead of overflowing */
.navigation_bottom .navigation_item_title { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.navigation_bottom .navigation_item .navigation_item_icon { width: 20px; height: 20px; -webkit-mask-size: 19px; mask-size: 19px; }
.navigation_bottom .navigation_item_active { color: var(--q-highlight-2); background: transparent; font-weight: var(--w-bold); }
/* T484: the number at the icon (the label stays below) */
.navigation_bottom .navigation_item { position: relative; }
.navigation_bottom .navigation_item_badge { position: absolute; top: 2px; left: calc(50% + 4px); margin: 0; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px; font-size: 10px; line-height: 17px; text-align: center; box-shadow: 0 0 0 2px var(--q-white); }

/* ── window_background / window (dialogs) ─────────────────────────────────── */
.window_background {
  position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center;
  padding: 24px; background: var(--overlay); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  animation: q-fade 150ms var(--ease-out);
}
.window_background_fullscreen { padding: 0; }
.window {
  display: flex; flex-direction: column; width: min(560px, 100%); max-width: 100%; max-height: min(88vh, 100%);
  background: var(--q-white); border-radius: var(--radius-xl); box-shadow: var(--shadow-elev); overflow: hidden;
  /* window ⇄ fullscreen is animated in JS (Dialog.toggleFullscreen, FLIP) – no size transitions here */
  animation: q-dialog-in 250ms var(--ease-std);
}
.window[data-size="small"] { width: min(430px, 100%); }
.window[data-size="large"] { width: min(760px, 100%); }
.window[data-size="xlarge"] { width: min(960px, 100%); }
/* specificity beats .window[data-size] without !important (which would block the JS size animation) */
.window.window_fullscreen { width: 100%; height: 100%; max-height: 100%; border-radius: 0; }
.window_header { flex: none; display: flex; align-items: flex-start; gap: 20px; background: var(--q-highlight-2); padding: 20px 22px 20px 30px; }
.window_header_body { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.window_header_title_pretext { font-size: var(--fs-12); font-weight: var(--w-bold); letter-spacing: var(--tracking-xwide); text-transform: uppercase; color: var(--q-highlight-1); }
.window_header_title { font-family: var(--font-display); font-size: var(--fs-21); font-weight: 600; color: var(--q-white); line-height: 1.25; margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window_header_controls { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: none; }
.window_header_control {
  --icon: url("../assets/icons/close_dark.svg");
  position: relative; width: 36px; height: 36px; flex: none; padding: 0; border-radius: 50%;
  border: 2px solid var(--q-white); background: var(--q-white); color: var(--q-highlight-2); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--dur-base) ease, color var(--dur-base) ease;
}
.window_header_control:hover { background: transparent; color: var(--q-white); }
.window_header_control_icon { width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: opacity var(--dur-base) var(--ease-std), transform var(--dur-base) var(--ease-std); }
.window_header_control_fullscreen .window_header_control_icon { position: absolute; width: 16px; height: 16px; }
.window_header_control_fullscreen .window_header_control_icon_enter { --icon: url("../assets/icons/fullscreen_enter.svg"); }
.window_header_control_fullscreen .window_header_control_icon_exit { --icon: url("../assets/icons/fullscreen_exit.svg"); opacity: 0; transform: scale(.7); }
.window_fullscreen .window_header_control_icon_enter { opacity: 0; transform: scale(.7); }
.window_fullscreen .window_header_control_icon_exit { opacity: 1; transform: scale(1); }
.window_content { flex: 1; min-height: 0; overflow: auto; padding: 24px 30px; display: flex; flex-direction: column; gap: 20px; }
.window_controls { flex: none; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 26px; background: var(--q-highlight-4); border-top: 1px solid var(--q-bright); }
.window_controls_info { flex: 1; min-width: 0; font-size: var(--fs-12); color: var(--q-medium); font-family: var(--font-mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.window_controls_end { margin-left: auto; display: flex; gap: 12px; flex-wrap: wrap; }
/* T327: compact footer on the smartphone for every dialog (pattern of "Freigabe verwalten" and T325) – a button on the
   left with a symbol ("Löschen", "Verbindung prüfen", "Drucken", "… ansehen") shows only the symbol in a round button
   with a visible outline (label stays for screen readers and as tooltip via title/aria-label), so it stands in one row
   with "Abbrechen" / "Speichern" instead of wrapping into a row of its own; a change note (n Änderungen · Verwerfen)
   takes the row below. */
@media (max-width: 759px) {
  /* T635: less room lost on the smartphone – 12 px around the window (was 24 px), content 16 px from the window edges
     (was 30 px); the header lines up with the content, the footer had 16 px already */
  .window_background { padding: 12px; }
  .window_background_fullscreen { padding: 0; }
  .window_content { padding: 18px 16px; }
  .window_header { padding: 16px 14px 16px 16px; gap: 12px; }
  .window_confirm .window_content { padding: 26px 18px 20px; }
  .window_controls { gap: 8px; padding: 12px 16px; }
  .window_controls_end { gap: 8px; }
  .window_controls > .content_link_button:has(> .content_link_button_icon) { flex: none; width: 44px; min-width: 44px; height: 44px; padding: 0; gap: 0; font-size: 0; justify-content: center; border-radius: var(--radius-circle); }
  .window_controls > .content_link_button_danger_text:has(> .content_link_button_icon) { background: var(--q-white); border-color: var(--danger); }
  .window_controls > .content_link_button_text:has(> .content_link_button_icon) { background: var(--q-white); border-color: var(--q-medium); }
  .window_controls > .content_link_button:has(> .content_link_button_icon) .content_link_button_icon { width: 18px; height: 18px; }
  /* "Schließen" / "Abbrechen" marked as dismiss (window_controls_dismiss, symbol close_dark) becomes the round ✕ when a
     long primary action needs the room (e.g. "Pay-Konsole öffnen") */
  .window_controls_end > .window_controls_dismiss:has(> .content_link_button_icon) { flex: none; width: 44px; min-width: 44px; height: 44px; padding: 0; gap: 0; font-size: 0; justify-content: center; border-radius: var(--radius-circle); }
  .window_controls_end > .window_controls_dismiss .content_link_button_icon { width: 18px; height: 18px; }
}
/* T438: a footer action marked window_controls_collapsible becomes a round symbol button when the actions do not fit in
   one row (Dialog.fitFooter measures; the label stays for screen readers and as tooltip) */
.window .window_controls .content_link_button.window_controls_compact:has(> .content_link_button_icon) { flex: none; width: 44px; min-width: 44px; height: 44px; padding: 0; gap: 0; font-size: 0; justify-content: center; border-radius: var(--radius-circle); }
.window .window_controls .window_controls_compact .content_link_button_icon { width: 18px; height: 18px; }
/* Confirmation variant (centered, icon) */
.window_confirm { text-align: center; width: min(430px, 100%); }
.window_confirm .window_content { padding: 32px 32px 26px; align-items: center; gap: 12px; }
.window_confirm_icon { width: 62px; height: 62px; border-radius: 50%; background: var(--navy-soft) center / 24px no-repeat; margin-bottom: 6px; }
.window_confirm_icon_danger { background-color: var(--danger-soft); }
.window_confirm_title { font-family: var(--font-display); font-size: var(--fs-21); font-weight: 600; color: var(--q-highlight-2); margin: 0; }
.window_confirm_text { font-size: var(--fs-14); color: var(--q-dark); margin: 0; }
.window_confirm .window_controls { justify-content: flex-end; }

/* ── notifications / notification (toasts) ─────────────────────────────────── */
.notifications { position: fixed; left: 26px; bottom: 26px; z-index: 95; display: flex; flex-direction: column; gap: 10px; max-width: calc(100vw - 52px); pointer-events: none; }
.notification {
  display: flex; align-items: center; gap: 12px; pointer-events: auto;
  background: var(--q-highlight-2); color: var(--q-white); border-radius: var(--radius-pill);
  padding: 13px 14px 13px 20px; box-shadow: var(--shadow-card); animation: q-in 200ms var(--ease-out);
}
.notification_icon { width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--q-highlight-1); }
.notification_warning .notification_icon { background: var(--warning); }
.notification_danger .notification_icon { background: var(--danger); }
.notification_info .notification_icon { background: var(--q-highlight-3); }
.notification_body { min-width: 0; display: flex; flex-direction: column; }
.notification_title { font-size: var(--fs-13); font-weight: var(--w-bold); }
.notification_description { font-size: var(--fs-13); font-weight: var(--w-regular); }
.notification_link { color: var(--q-highlight-1); font-size: var(--fs-13); background: none; border: none; font-weight: var(--w-bold); padding: 0 4px; cursor: pointer; }
.notification_link:hover { color: var(--q-white); }
.notification_control { width: 24px; height: 24px; flex: none; border: none; border-radius: 50%; background: rgba(255, 255, 255, .14) url("../assets/icons/close_white.svg") center / 10px no-repeat; cursor: pointer; }
/* T665: small screens – the toast spans the width (above the bottom navigation), "Schließen" top right like a dialog, the
   action below the text; more than three lines end in "…" (notification_truncated), a tap unfolds the text up to a limited
   height that scrolls (notification_expanded). Not for the "Hinweis" of a message (notification_message, own container). */
@media (max-width: 759px) {
  .notifications { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); max-width: none; }
  body:has(.app_shell_bottom_navigation) .notifications { bottom: var(--app-bottom-nav-offset, calc(90px + env(safe-area-inset-bottom))); }
  .notifications > .notification {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: 12px; row-gap: 6px; align-items: start;
    border-radius: var(--radius-lg); padding: 12px 12px 12px 16px;
  }
  .notifications > .notification .notification_icon { grid-column: 1; grid-row: 1; margin-top: 3px; }
  .notifications > .notification .notification_body { grid-column: 2; grid-row: 1; margin-top: 2px; }
  .notifications > .notification .notification_link { grid-column: 2; grid-row: 2; justify-self: start; padding: 2px 0; }
  .notifications > .notification .notification_control { grid-column: 3; grid-row: 1; }
  .notifications > .notification .notification_description { line-height: var(--lh-normal); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; overflow-wrap: anywhere; }
  .notification_truncated .notification_body { cursor: pointer; border-radius: var(--radius-sm); }
  .notification_truncated .notification_body:focus-visible { outline: 2px solid var(--q-highlight-1); outline-offset: 3px; }
  .notifications > .notification_expanded .notification_description { display: block; -webkit-line-clamp: none; line-clamp: none; max-height: 45vh; overflow-y: auto; overscroll-behavior: contain; }
}

/* ── progress_indicator ─────────────────────────────────────────────────────── */
.progress_indicator { display: flex; flex-direction: column; gap: 7px; }
.progress_indicator_text { font-size: var(--fs-11); color: var(--q-medium); }
.progress_indicator_progress_bar { height: 6px; border-radius: var(--radius-pill); background: var(--q-highlight-4); overflow: hidden; }
.progress_indicator_progress_bar_progress_indicator { height: 100%; width: 0; border-radius: var(--radius-pill); background: var(--q-highlight-3); transition: width var(--dur-base) linear; }
.progress_indicator[data-state="done"] .progress_indicator_progress_bar_progress_indicator { background: var(--q-highlight-1); }
.progress_indicator[data-state="error"] .progress_indicator_progress_bar_progress_indicator { background: var(--danger); }
.progress_indicator[data-state="waiting"] .progress_indicator_progress_bar_progress_indicator { background: var(--q-bright); }
.progress_indicator[data-state="processing"] .progress_indicator_progress_bar_progress_indicator { background: var(--q-highlight-3); }
/* Indeterminate: work without a measurable percentage (e.g. server side processing) */
.progress_indicator_indeterminate .progress_indicator_progress_bar_progress_indicator { width: 35%; transition: none; animation: q-progress-indeterminate 1.3s var(--ease-std) infinite; }
@keyframes q-progress-indeterminate { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (prefers-reduced-motion: reduce) {
  .progress_indicator_indeterminate .progress_indicator_progress_bar_progress_indicator { width: 100%; opacity: .55; animation: none; }
}
:root[data-motion="reduce"] .progress_indicator_indeterminate .progress_indicator_progress_bar_progress_indicator { width: 100%; opacity: .55; animation: none; } /* T236 */
.progress_indicator_large .progress_indicator_progress_bar { height: 8px; background: var(--q-bright); }
.progress_indicator_large .progress_indicator_progress_bar_progress_indicator { background: var(--q-highlight-1); }

/* ── playback_controls / playback_control (viewer + video) ─────────────────── */
.playback_controls {
  display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: var(--radius-pill);
  background: var(--glass-soft); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--q-white);
}
.playback_controls_compact { gap: 6px; padding: 6px; }
.playback_control {
  --icon: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-width: 40px; height: 40px; padding: 0; border: none; border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .2); color: var(--q-white); font-size: var(--fs-13); font-weight: var(--w-bold); white-space: nowrap;
  transition: background var(--dur-fast) ease;
}
.playback_control:hover { background: rgba(255, 255, 255, .3); }
.playback_control_text { padding: 0 18px; }
.playback_control_symbol { font-size: 20px; line-height: 1; }
.playback_control_icon { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.playback_control_active { background: var(--q-highlight-1); color: var(--q-highlight-2); }
.playback_control_active:hover { background: var(--q-highlight-1); }
.playback_control_primary { background: var(--q-highlight-1); color: var(--q-highlight-2); min-width: 38px; height: 38px; }
.playback_control:disabled { opacity: .4; cursor: default; }
.playback_controls_label { min-width: 52px; text-align: center; font-size: var(--fs-13); font-weight: var(--w-bold); font-variant-numeric: tabular-nums; white-space: nowrap; }
.playback_controls_separator { width: 1px; height: 26px; background: rgba(255, 255, 255, .3); margin: 0 6px; }
.playback_controls_progress { position: relative; flex: 1; height: 5px; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .35); cursor: pointer; }
.playback_controls_progress_value { position: absolute; left: 0; top: 0; bottom: 0; border-radius: var(--radius-pill); background: var(--q-highlight-1); }
.playback_controls_progress_handle { position: absolute; top: -4px; width: 13px; height: 13px; margin-left: -6px; border-radius: 50%; background: var(--q-white); }
.playback_controls_select { border: none; border-radius: var(--radius-pill); background: rgba(255, 255, 255, .2); color: var(--q-white); font-size: var(--fs-12); font-weight: var(--w-bold); padding: 8px 12px; }
.playback_controls_select option { color: var(--q-dark); }

/* T241: iOS Safari zooms into a form field whose text is smaller than 16 px when it gets the focus – and the page stays
   zoomed after signing in (guest sign-in → stream). On touch devices every text field, list and text area therefore uses
   16 px; pinch zoom stays possible (no maximum-scale in the viewport – accessibility). The attribute selectors outrank the
   single classes of the components (content_form_input, toolbar_search_input, app_shell_search_input …). */
@media (hover: none) and (pointer: coarse) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]),
  select:not([hidden]):not([disabled]), textarea:not([hidden]):not([disabled]), select[disabled], textarea[disabled] { font-size: 16px; }
}

/* ── Rows that scroll sideways (T641) ─────────────────────────────────────────
   Every row of tabs, options, chips or controls that scrolls sideways snaps – gently (proximity): after a swipe a whole
   entry stands at the edge instead of a cut one, a long swipe over several entries is not stopped. The list holds all
   such rows of the application (also the ones that scroll only on the smartphone); tables and text frames scroll freely,
   the tile carousels of the info pages snap firmly (info_page_tiles, mandatory), the stream snaps vertically (T64).
   --snap-pad: where an entry comes to rest – the inner padding of the row, at the fade of the swipe rows (T640). */
:where(.segmented_control_host_swipe, .choice_group_row_swipe, .segmented_control_scroll, .segmented_control_chips, .share_detail_tabs,
  .breadcrumbs_items, .toolbar, .feedback_panel_quick, .geo_map_dock_controls, .immersive_viewer_toolbar .playback_controls,
  .media_globe_timeline_strip, .semantic_search_detected, .info_help_categories, .info_jump_items) {
  scroll-snap-type: x proximity; scroll-padding-inline: var(--snap-pad, 0px);
}
:where(.segmented_control_host_swipe .segmented_control_item, .choice_group_row_swipe > .choice_group_item, .segmented_control_scroll > .segmented_control_item,
  .segmented_control_chips .segmented_control_item, .share_detail_tab, .breadcrumbs_item, .toolbar > *, .feedback_panel_quick > *,
  .geo_map_dock_controls > *, .immersive_viewer_toolbar .playback_controls > *, .media_globe_timeline_strip > *, .semantic_search_detected > *,
  .info_help_category, .info_jump_items > *) {
  scroll-snap-align: start;
}
:where(.segmented_control_host_swipe, .choice_group_row_swipe) { --snap-pad: 28px; }
:where(.share_detail_tabs) { --snap-pad: 3px; }
:where(.toolbar) { --snap-pad: 6px; }
:where(.feedback_panel_quick) { --snap-pad: 18px; }
:where(.immersive_viewer_toolbar .playback_controls, .geo_map_dock_controls) { --snap-pad: 5px; }
:where(.info_help_categories) { --snap-pad: 20px; }
:where(.info_jump_items) { --snap-pad: clamp(20px, 5vw, 72px); }
