/* JS Hub · gemeinsames Designsystem. Nach den Bereichsstilen laden.
   Darstellung ohne eigene Modul-, Berechtigungs- oder Statuslogik. */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f5f7;
  --card: #ffffff;
  --card2: #f5f5f7;
  --ink: #1d1d1f;
  --muted: #626268;
  --line: #dcdce0;
  --line2: #ededf0;
  --accent: #f39200;
  --accent-ink: #8a4b00;
  --accent-soft: #fff3df;
  --focus: #542f00;
  --good: #216443;
  --good-soft: #eaf5ee;
  --warn: #78550b;
  --warn-soft: #fff3da;
  --crit: #a63232;
  --crit-soft: #fff0ef;
  --info-ink: #245e8b;
  --info-soft: #eef5fc;
  --stage: #20232a;
  --shadow: 0 2px 8px #1d1d1f05, 0 12px 32px #1d1d1f04;
  --radius: 20px;
}
.hub-ui {
  --hub-nav: #f0f0f3;
  --hub-nav-text: #424248;
  --hub-nav-muted: #626268;
  --hub-nav-line: #dcdce0;
  --hub-space-1: 4px;
  --hub-space-2: 8px;
  --hub-space-3: 12px;
  --hub-space-4: 16px;
  --hub-space-6: 24px;
  --hub-space-8: 32px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-optical-sizing: auto;
  font-variant-numeric: tabular-nums;
}
.hub-ui :is(h1, h2, h3, h4) { font-family: inherit; overflow-wrap: anywhere; }
.hub-ui h1 { font-weight: 700; letter-spacing: -.045em; line-height: 1.2; }
.hub-ui h2 { font-weight: 650; letter-spacing: -.025em; line-height: 1.35; }
.hub-ui h3 { line-height: 1.4; }
.hub-ui :is(input, select, textarea, button) { font-family: inherit; }
.hub-ui :is(.btn, .chip) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  line-height: 1.3;
  max-width: 100%;
  border-radius: 12px;
  white-space: normal;
}
.hub-ui .btn { transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease, transform 100ms ease; touch-action: manipulation; padding: 12px 16px; font-size: .92rem; font-weight: 650; }
.hub-ui .btn:not(:disabled):active { transform: scale(.98); }
.hub-ui .btn.small { min-height: 44px; padding: 8px 12px; font-size: .84rem; }
.hub-ui .btn.primary { background: var(--accent); border-color: #985500; color: #20232a; box-shadow: 0 1px 2px #7f4c0014; }
.hub-ui .btn.primary:hover { filter: none; background: #ffa919; }
.hub-ui .btn.ghost, .hub-ui .btn.secondary { background: var(--card); border-color: var(--line); color: var(--ink); }
.hub-ui .btn:not(:disabled):hover { border-color: var(--accent-ink); }
.hub-ui .btn.danger { border-color: var(--crit); color: var(--crit); }
.hub-ui .btn.danger:hover { background: var(--crit); color: #fff; }
.hub-ui :is(.status-chip, .badge) {
  font-family: inherit;
  font-size: .8rem;
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
  border-radius: 6px;
  padding: 4px 8px;
}
.hub-ui .card { border-radius: var(--radius); box-shadow: var(--shadow); }
.hub-ui .card + .card { margin-top: 20px; }
.hub-ui :is(.hint, .sub) { color: var(--muted); line-height: 1.55; }
.hub-ui .flash { border-radius: 10px; padding: 16px 16px; }
.hub-ui .notice { padding: 12px 16px; background: var(--card2); border-radius: 0 8px 8px 0; color: var(--ink); }
.hub-ui .leerzustand { padding: 28px; background: var(--card); border: 1px dashed #a8afb9; }
.hub-ui .field label { font-size: .9rem; font-weight: 650; text-transform: none; letter-spacing: 0; }
.hub-ui :is(.field, .set-row, .filterbar, .inline-form) :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=submit]), select, textarea) {
  min-height: 44px;
  max-width: 100%;
  background: var(--card);
  color: var(--ink);
  border: 1px solid #858e9b;
  border-radius: 8px;
  padding: 8px 12px;
  font: inherit;
  font-size: .92rem;
}
.hub-ui textarea { resize: vertical; }
.hub-ui input::placeholder, .hub-ui textarea::placeholder { color: var(--muted); opacity: 1; }
.hub-ui :is(input, select, textarea):disabled { background: var(--card2); opacity: .8; }
.hub-ui input[type=checkbox], .hub-ui input[type=radio] { accent-color: var(--accent-ink); }
.hub-ui :focus-visible, .hub-ui .field :is(input, textarea, select):focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--card);
}
/* Spezifische Altregeln dürfen den gemeinsamen Tastaturfokus nicht überdecken. */
.hub-ui .adm .adm-kpis a.kpi:focus-visible,
.hub-ui .adm .adm-tabliste a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: -3px;
}
.hub-ui .linkrow input { border: 1px solid #858e9b; }
.hub-ui .filterbar { align-items: center; gap: 8px; margin: 16px 0; }
.hub-ui :is(.tabelle-scroll, .table-scroll, .hub-table-scroll) { position: relative; max-width: 100%; overflow: auto; border-radius: 10px; }
.hub-ui table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.hub-ui th { font-size: .78rem; letter-spacing: .025em; font-weight: 650; color: var(--muted); background: var(--card2); }
.hub-ui .card :is(td, th) { padding: 16px 16px; text-align: left; border-bottom: 1px solid var(--line2); }
.hub-ui tbody tr:last-child :is(td, th) { border-bottom: 0; }
.hub-ui tbody tr:hover { background: var(--card2); }
.hub-ui td.num, .hub-ui th.num { text-align: right; }
.hub-ui .kpi { background: var(--card); padding: 20px; border-radius: 12px; }
.hub-ui .kpi .l { font-size: .82rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
.hub-ui .kpi .v { font: 650 1.9rem/1.3 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; letter-spacing: -.04em; }
.hub-ui .kpi .s { margin-top: 8px; }
.hub-ui summary { cursor: pointer; min-height: 32px; }
.hub-ui :is(details.abschnitt, details.card) > summary { min-height: 44px; }
.hub-ui details.abschnitt > summary { padding-block: 16px; }
.hub-help { margin: 20px 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.hub-help > summary { display: flex; align-items: center; gap: 12px; padding: 16px 20px; list-style: none; min-height: 60px; font-weight: 650; font-size: .92rem; }
.hub-help > summary::-webkit-details-marker { display: none; }
.hub-help > summary::before { content: none; border: 0; }
.hub-help > summary > svg { width: 20px; height: 20px; flex: none; color: var(--accent-ink); }
.hub-help > summary::after { content: '+'; margin-left: auto; font-size: 1.25rem; color: var(--muted); }
.hub-help[open] > summary::after { content: '−'; }
.hub-help-body { padding: 0 20px 20px 52px; max-width: 78ch; font-size: .94rem; }
.hub-help-body p:first-child { margin-top: 0; }
.hub-help-body p:last-child { margin-bottom: 0; }
.hub-help-body li + li { margin-top: 8px; }
.hub-sr-only { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hub-skip { position: fixed; top: 10px; left: 10px; z-index: 200; transform: translateY(-180%); padding: 12px 16px; background: var(--card); color: var(--ink); border: 2px solid var(--focus); border-radius: 8px; }
.hub-skip:focus { transform: none; }

/* Helle Navigation hält die Arbeitsfläche und ihre Hierarchie zusammen. */
.hub-ui.backoffice { --bo-sidebar: 248px; color-scheme: light; }
.hub-ui .bo-shell { grid-template-rows: 68px 1fr; }
.hub-ui .bo-sidebar { background: var(--hub-nav); border-right: 1px solid var(--hub-nav-line); padding: 24px 16px 16px; color: var(--hub-nav-text); }
.hub-ui .bo-brand, .hub-ui .bo-brand .brand { color: var(--ink); }
.hub-ui .bo-brand .brand { font-size: 1.5rem; }
.hub-ui .bo-brand-caption { color: var(--hub-nav-muted); font-size: .75rem; margin-top: 8px; }
.hub-ui .bo-shop-card { margin: 24px 0 16px; background: #fff; border-color: var(--hub-nav-line); padding: 12px; }
.hub-ui .bo-shop-card strong { color: var(--ink); font-size: .91rem; }
.hub-ui .bo-shop-card small, .hub-ui .bo-nav-heading { color: var(--hub-nav-muted); }
.hub-ui .bo-shop-avatar { color: var(--accent-ink); background: var(--accent-soft); border-radius: 8px; }
.hub-ui .bo-navigation { scrollbar-color: #707887 var(--hub-nav); scrollbar-width: thin; box-shadow: none; }
.hub-ui .bo-nav-heading { margin: 24px 12px 8px; font-size: .66rem; }
.hub-ui .bo-nav-link { color: var(--hub-nav-text); min-height: 44px; margin: 2px 0; padding: 8px 12px; font-weight: 500; font-size: .91rem; }
.hub-ui .bo-nav-link .bo-icon { color: var(--hub-nav-muted); width: 19px; height: 19px; }
.hub-ui .bo-nav-link:hover { background: #e4e4e9; color: var(--ink); }
.hub-ui .bo-nav-link.aktiv { background: #fff; color: var(--accent-ink); box-shadow: 0 1px 4px #1d1d1f10; }
.hub-ui .bo-nav-link.aktiv .bo-icon { color: var(--accent-ink); }
.hub-ui .bo-subnav { border-left-color: var(--hub-nav-line); margin-block: 4px 12px; }
.hub-ui .bo-subnav a { color: var(--hub-nav-muted); min-height: 44px; }
.hub-ui .bo-subnav a:hover, .hub-ui .bo-subnav a.aktiv { background: #e4e4e9; color: var(--ink); }
.hub-ui .bo-session, .hub-ui .bo-sidebar-actions { border-color: var(--hub-nav-line); }
.hub-ui .bo-sidebar :focus-visible { outline-color: var(--focus); box-shadow: none; }
.hub-ui .bo-topbar { padding: 0 36px; justify-content: space-between; }
.hub-ui .bo-topbar-account { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .85rem; min-height: 44px; }
.hub-ui .bo-topbar-account .bo-icon { width: 18px; height: 18px; }
.hub-ui .bo-breadcrumb { font-size: .85rem; }
.hub-ui .wrap.wide.bo-content { width: min(1440px, 100%); padding: 36px 36px 28px; }
.hub-ui .bo-content h1 { font-size: clamp(1.8rem, 2.1vw, 2.25rem); margin-bottom: 8px; }
.hub-ui .bo-content .card { padding: 24px; }
.hub-ui .bo-content .card h2 { font-size: 1.08rem; }
.hub-ui .bo-dashboard-hero { background: transparent; color: var(--ink); padding: 0 0 24px; margin: 0; border-radius: 0; align-items: center; }
.hub-ui .bo-dashboard-kicker { color: var(--muted); font-size: .7rem; letter-spacing: .1em; }
.hub-ui .bo-dashboard-hero h1 { color: var(--ink); }
.hub-ui .bo-dashboard-hero p:last-child { color: var(--muted); font-size: 1rem; }
.hub-ui .bo-dashboard-module-count { border-color: var(--line); padding-left: 24px; min-width: 120px; }
.hub-ui .bo-dashboard-module-count strong { color: var(--ink); font-size: 2rem; }
.hub-ui .bo-dashboard-module-count span { color: var(--muted); }
.hub-ui .bo-attention { border-left: 3px solid var(--good); margin-bottom: 24px; }
.hub-ui .bo-attention:has(.warn-chip) { border-left-color: var(--warn); }
.hub-ui .bo-attention:has(.crit-chip) { border-left-color: var(--crit); }
.hub-ui .bo-overview-modules { margin-block: 24px; }
.hub-ui .bo-overview-grid { gap: 0 24px; }
.hub-ui .bo-overview-module { padding: 16px 8px; min-height: 90px; border-radius: 8px; gap: 16px; }
.hub-ui .bo-overview-copy strong { font-weight: 650; font-size: 1rem; }
.hub-ui .bo-overview-copy small { font-size: .85rem; line-height: 1.45; }
.hub-ui .bo-overview-symbol { background: var(--card2); color: var(--accent-ink); border: 1px solid var(--line2); }
.hub-ui .bo-affiliate-summary { margin-block: 24px; }
.hub-ui .bo-affiliate-summary .kpi { padding: 16px 24px; }
.hub-ui .bo-affiliate-summary .kpi:first-child { padding-left: 0; }
.hub-ui .bo-chart-card .bars { height: 190px; }
.hub-ui .bo-section-kicker { text-transform: none; letter-spacing: 0; font-size: .8rem; }
.hub-ui .bo-settings-layout { gap: 24px; }
.hub-ui .bo-content .set-row { padding-block: 24px; }
.hub-ui .bo-content .set-row .lab { font-size: .94rem; }
.hub-ui .bo-content .set-row .lab small { font-size: .86rem; }
.hub-ui .bo-content .set-row input.bo-switch { min-width: 44px; height: 28px; width: 44px; }
.hub-ui .bo-content .bo-switch::before { top: 5px; left: 5px; }
.hub-ui .bo-content .bo-switch:checked::before { transform: translateX(16px); }
.hub-ui .bo-content .bo-account-details > div { padding-block: 16px; }
.hub-setup-list { display: grid; gap: 16px; margin: 24px 0; }
.hub-ui .hub-setup-step { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 16px; align-items: start; margin: 0; }
.hub-step-number { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; }
.hub-setup-step h2 { margin: 1px 0 8px; }
.hub-setup-step p { margin: 0 0 16px; color: var(--muted); max-width: 70ch; }
.hub-setup-step .badge { margin-top: 8px; }
.hub-ui .survey-page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; margin-bottom: 24px; }
.hub-ui .survey-head-actions { display: flex; gap: 8px; flex-wrap: wrap; flex-shrink: 0; }
.hub-ui .survey-card-head { display: flex; justify-content: space-between; align-items: start; flex-wrap: wrap; gap: 16px; margin-bottom: 20px; }
.hub-ui .survey-grid.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.hub-ui .hub-survey-list { padding: 0; overflow: hidden; }
.hub-survey-list-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 24px; }
.hub-survey-list-head h2 { margin: 0; }
.hub-survey-table { min-width: 760px; }
.hub-ui .hub-survey-table th[scope=row] { background: transparent; color: var(--ink); font-size: .94rem; font-weight: 650; letter-spacing: 0; text-transform: none; }
.hub-survey-table th[scope=row] a { color: var(--ink); }
.hub-survey-table small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; margin-top: 4px; }
.hub-survey-table .aktionen { display: flex; flex-wrap: wrap; gap: 8px; }
.hub-table-hint { margin: 0; padding: 0 24px 16px; color: var(--muted); font-size: .84rem; }
.hub-ui .survey-question { min-width: 0; background: var(--card2); border: 1px solid var(--line); border-radius: 12px; padding: 24px; margin-top: 20px; }
.hub-ui .survey-question legend { padding-inline: 8px; font-weight: 650; }
.hub-ui .survey-option { display: flex; gap: 12px; margin-top: 8px; align-items: end; }
.hub-ui .survey-option .field { flex: 1; min-width: 0; margin: 0; }
.hub-ui .survey-option label { font-size: .8rem; color: var(--muted); }
.hub-ui .survey-sticky-save { display: flex; align-items: center; position: sticky; z-index: 10; background: var(--card); border: 1px solid var(--line); padding: 16px 20px; border-radius: 12px; gap: 16px; bottom: 12px; box-shadow: 0 4px 24px #252a3510; }
.hub-ui [data-add-option], .hub-ui .survey-remove { margin-top: 16px; }

/* Die übrigen Bereiche teilen Komponenten, behalten ihre eigenen Aufgaben. */
.hub-ui > .topbar { background: var(--card); color: var(--ink); padding: 16px 32px; align-items: center; flex-wrap: wrap; }
.hub-ui > .topbar .brand { color: var(--ink); }
.hub-ui > .topbar :is(.brand small, .whoami) { color: var(--hub-nav-muted); }
.hub-ui > .topbar :is(.topnav, .partner-nav) { flex-wrap: wrap; gap: 8px 16px; }
.hub-ui > .topbar :is(.topnav, .partner-nav) a { display: inline-flex; align-items: center; min-height: 44px; color: var(--hub-nav-text); }
.hub-ui > .topbar :is(.topnav, .partner-nav) a[aria-current] { color: var(--accent-ink); }
.hub-ui > .topbar .btn { background: #e4e4e9; color: var(--ink); border-color: #626a79; }
.hub-ui > .topbar :focus-visible { outline-color: var(--focus); box-shadow: none; }
.hub-ui .wrap.adm-breit, .hub-ui .wrap.wide:not(.bo-content) { width: min(1368px, 100% - 64px); }
.hub-ui .adm .adm-kopf { margin-block: 8px 28px; }
.hub-ui .adm .adm-kopf h1 { font-size: 2rem; }
.hub-ui .adm .status-chip { text-transform: none; letter-spacing: 0; border-radius: 6px; }
.hub-ui .partner-topbar { border-bottom: 0; }
.hub-ui .partner-topline { max-width: 1368px; margin: auto; width: 100%; }
.hub-ui .partner-nav { border: 0; }
.hub-ui .partner-nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--accent); }
.hub-ui .partner-account .whoami { color: var(--hub-nav-text); }
.hub-ui .login-stage { background: var(--bg); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.hub-ui .login-left { color: var(--ink); padding: clamp(40px, 6vw, 100px); }
.hub-ui .login-left .brand, .hub-ui .login-left h1 { color: var(--ink); }
.hub-ui .login-left .brand small { color: var(--muted); }
.hub-ui .login-left h1 em { color: var(--accent-ink); }
.hub-ui .login-left h1 { font-size: clamp(2.3rem, 4vw, 4rem); max-width: 13ch; }
.hub-ui .login-left .claims { line-height: 1.7; color: var(--muted); }
.hub-ui .login-left .meter { height: 100px; opacity: .25; padding-inline: 10%; }
.hub-ui .meter i { animation: none; height: var(--h, 40%); }
.hub-ui .login-right { min-width: 0; background: var(--bg); padding: 48px 32px; }
.hub-ui .login-card { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 40px; box-shadow: var(--shadow); width: min(480px, 100%); }
.hub-ui .login-card h2 { font-size: 1.6rem; }
.hub-ui .login-card .btn { width: 100%; }
.hub-ui.discover-page { background: var(--bg); }
.hub-ui .discover-header { margin-bottom: 28px; padding: 16px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); box-shadow: var(--shadow); }
.hub-ui .discover-header .brand { color: var(--ink); }
.hub-ui .discover-header :is(.brand small, .discover-account) { color: var(--hub-nav-text); }
.hub-ui .discover-header .discover-partner-link { color: var(--hub-nav-text); min-height: 44px; display: inline-flex; align-items: center; }
.hub-ui .discover-header .btn.ghost { color: var(--ink); background: var(--card); border-color: #85858c; }
.hub-ui .discover-header :focus-visible { outline-color: var(--focus); box-shadow: none; }
.hub-ui .discover-hero { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(28px, 5vw, 72px); gap: 40px; box-shadow: var(--shadow); }
.hub-ui .discover-hero h1 { font-size: clamp(2.2rem, 4vw, 3.75rem); font-weight: 700; line-height: 1.06; letter-spacing: -.055em; }
.hub-ui .discover-hero p { line-height: 1.65; }
.hub-ui .discover-module { border-radius: 24px; box-shadow: var(--shadow); padding: 28px; }
.hub-ui .discover-module:hover { box-shadow: 0 8px 28px #1d1d1f0c; }
.hub-ui .discover-section-heading { margin-top: 56px; }
.hub-ui .discover-next { border-radius: 24px; }
.hub-ui .discover-next :focus-visible { outline-color: #ffc771; }
.hub-ui .discover-module-card { border-color: var(--line); border-radius: var(--radius); }
.hub-ui .discover-section-heading h2 { letter-spacing: -.035em; }
.hub-ui .rechtslinks { flex-wrap: wrap; justify-content: center; max-width: 100%; }
.hub-ui .rechtslinks a { display: inline-flex; align-items: center; min-height: 44px; }
.hub-ui .supportbar { border-radius: 0; position: sticky; top: 0; z-index: 50; background: #fff3da; color: #473300; }
.hub-ui .supportbar .btn { background: #473300; color: #fff; border-color: #473300; }
@media (max-width: 1100px) {
  .hub-ui.backoffice { --bo-sidebar: 220px; }
  .hub-ui .wrap.wide.bo-content { padding: 28px 24px; }
  .hub-ui .bo-topbar { padding-inline: 24px; }
  .hub-ui .bo-overview-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hub-ui .login-stage { grid-template-columns: 1fr; }
  .hub-ui .login-left { display: none; }
}
@media (max-width: 800px) {
  .hub-ui .bo-shell { grid-template-rows: auto auto 1fr; }
  .hub-ui .bo-topbar { padding: 8px 20px; min-height: 64px; }
  .hub-ui .bo-topbar-account { display: none; }
  .hub-ui .bo-sidebar { padding: 20px; }
  .hub-ui .bo-shop-card { margin-top: 0; }
  .hub-ui .bo-menu-toggle { color: var(--ink); }
  .hub-ui > .topbar { padding: 16px 20px; }
  .hub-ui .wrap.adm-breit, .hub-ui .wrap.wide:not(.bo-content) { width: calc(100% - 32px); }
}
@media (max-width: 540px) {
  .hub-ui .wrap.wide.bo-content { padding: 24px 16px; }
  .hub-ui .bo-content .card { padding: 20px; }
  .hub-ui .bo-content .hub-survey-list { padding: 0; }
  .hub-ui .bo-dashboard-hero { gap: 16px; padding-bottom: 24px; }
  .hub-ui .bo-dashboard-module-count { padding: 12px 0 0; border-top-color: var(--line); }
  .hub-ui .bo-dashboard-module-count strong { font-size: 1.4rem; }
  .hub-ui .bo-affiliate-summary .kpi { padding: 16px 12px; }
  .hub-ui .bo-affiliate-summary .kpi:nth-child(odd) { padding-left: 0; }
  .hub-ui .bo-affiliate-summary .kpi .v { font-size: 1.5rem; }
  .hub-ui .hub-setup-step { grid-template-columns: 36px minmax(0, 1fr); gap: 12px; }
  .hub-setup-step > .badge { grid-column: 2; grid-row: 2; justify-self: start; margin: 0; }
  .hub-step-number { width: 32px; height: 32px; }
  .hub-help > summary { padding: 16px; }
  .hub-help-body { padding: 0 16px 20px; }
  .hub-ui .survey-page-head, .hub-ui .survey-head-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hub-ui .survey-question { padding: 16px; }
  .hub-ui .survey-grid.two { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hub-ui .survey-option { flex-wrap: wrap; gap: 8px; }
  .hub-ui .survey-option .field { flex-basis: 100%; }
  .hub-ui .survey-sticky-save { flex-direction: column; align-items: stretch; position: static; margin-top: 20px; }
  .hub-ui .login-right { padding: 24px 16px; }
  .hub-ui .login-card { padding: 24px; }
  .hub-ui .discover-header { padding: 20px; }
}
@media (prefers-contrast: more) {
  .hub-ui { --line: #85858c; --line2: #85858c; }
}
@media (prefers-reduced-motion: reduce) {
  .hub-ui *, .hub-ui *::before, .hub-ui *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
@media (forced-colors: active) {
  .hub-ui .bo-nav-link.aktiv, .hub-ui .btn, .hub-ui .hub-help { border: 1px solid ButtonText; }
  .hub-ui :focus-visible { outline: 3px solid Highlight; }
}
@media print {
  .hub-ui .hub-help { break-inside: avoid; }
  .hub-ui .hub-skip { display: none; }
}
