/* GENERATED FROM priviot-shared/design/select-menu.css; run Arbeitsmaterial/Website-Audit/sync-feedback-select.mjs. */
/* Plattformneutrale Priviot-Auswahl auf Basis des gemeinsamen Kontextmenüs. */
/* The standard arrow is decorative; the popup remains a native OS menu. */
.priviot-select-native-wrap { display:grid; position:relative; min-width:0; width:100%; }
.priviot-select-native-wrap > select.priviot-select-native {
  grid-area:1 / 1 !important; width:100% !important; min-width:0;
  appearance:none !important; background-image:none !important;
  margin:0 !important; padding-inline-end:32px !important;
}
.priviot-select-native-wrap:has(> select[hidden]) { display:none; }
.priviot-select-native-chevron {
  grid-area:1 / 1; align-self:center; justify-self:end;
  width:12px; height:12px; margin-inline-end:12px;
  pointer-events:none; color:inherit; transform:rotate(0deg);
  transition:transform 180ms cubic-bezier(.4,0,.2,1);
}
.priviot-select-native-wrap:has(> select[aria-expanded="true"]) > .priviot-select-native-chevron { transform:rotate(180deg); }
.priviot-select-native-wrap:has(> select:disabled) > .priviot-select-native-chevron { opacity:.45; }
.access-lock-settings-head > .priviot-select-native-wrap { grid-column:2; }
@media (prefers-reduced-motion:reduce) { .priviot-select-native-chevron { transition:none; } }
html[data-reduced-motion="true"] .priviot-select-native-chevron,
html.reduce-motion .priviot-select-native-chevron { transition:none; }
.priviot-select-source {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.priviot-select-trigger {
  display: flex;
  width: 100%;
  min-width: 0;
  min-height: 40px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid var(--brand-primary, var(--accent, #7c35ff));
  border-radius: 12px;
  padding: 9px 11px;
  overflow: visible;
  color: var(--text-primary, var(--text, #f7f4ff));
  background: var(--bg-card, var(--surface-raised, #17141f));
  font: inherit;
  text-align: left;
  cursor: default;
  transition: border-color 520ms ease, background-color 520ms ease, box-shadow 160ms ease, border-radius 520ms cubic-bezier(.4, 0, .2, 1);
}

.priviot-select-trigger[hidden] { display: none !important; }

.priviot-select-trigger > [data-priviot-select-value] {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.priviot-select-trigger:is(:hover, [aria-expanded="true"]) {
  border-color: color-mix(in srgb, var(--brand-primary, var(--accent, #7c35ff)) 62%, var(--border-default, #34303f));
  background: color-mix(in srgb, var(--brand-primary, var(--accent, #7c35ff)) 8%, var(--bg-card, #17141f));
}

.priviot-select-trigger:focus-visible {
  outline: 2px solid var(--brand-primary, var(--accent, #7c35ff));
  outline-offset: -2px;
  border-color: var(--brand-primary, var(--accent, #7c35ff));
  box-shadow: none;
}

.priviot-select-trigger:disabled { opacity: .55; pointer-events: none; }
.priviot-select-chevron { position: relative; display: inline-flex; flex: 0 0 auto; color: var(--text-muted, var(--muted, #a39dab)); line-height: 0; pointer-events: none; transition: color 160ms ease; }
.priviot-select-chevron svg { overflow: visible; }
/* Originales FAQ-Symbol: Der Rahmen kehrt erst nach der Gegenbewegung zurück. */
.priviot-select-outline { transition: opacity 100ms ease 520ms; }
.priviot-select-line { transition: transform 520ms cubic-bezier(.4,0,.2,1); }
.priviot-select-trigger:is(:hover,[aria-expanded="true"]) .priviot-select-chevron { color: var(--brand-primary,var(--accent,#7c35ff)); }
.priviot-select-trigger[data-modus="inline"][aria-expanded="true"] .priviot-select-outline { opacity: 0; transition-delay: 0s; }
.priviot-select-trigger[data-modus="inline"][aria-expanded="true"] .priviot-select-line { transform: translateY(var(--priviot-select-mark-drop,0px)); }

/* Schwebende Menüs haben eine vollständige Kontur und Abstand zum Auslöser. */
.priviot-select-trigger[data-modus="float"] { transition-duration: 180ms; }
.priviot-select-trigger[data-modus="float"] .priviot-select-chevron svg { transition: transform 180ms var(--priviot-menu-ease, ease); }
.priviot-select-trigger[data-modus="float"][aria-expanded="true"] .priviot-select-chevron svg { transform: rotate(180deg); transition-duration: 260ms; }
.priviot-select-trigger[data-density="compact"] .priviot-select-chevron svg { width: 18px; height: 18px; }
.priviot-select-menu[data-priviot-context-menu] { box-sizing: border-box; }
.priviot-select-menu :is([aria-checked="true"]) { color: var(--text-primary, var(--text, #f7f4ff)); }
.priviot-select-menu {
  max-height: min(360px, calc(100vh - 24px));
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Einstellungen: Auswahl als Kartenliste wie die Passkey-Karte im Priviot-Konto.
   Der Auslöser ist die erste Zeile, die Einträge klappen darunter auf, die Punkt-Strich-Markierung wandert in die Liste. */
.priviot-select-card {
  --priviot-menu-ease: cubic-bezier(.4, 0, .2, 1);
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--brand-primary, var(--accent, #7c35ff));
  border-radius: 16px;
  background: var(--bg-card, var(--surface-raised, #17141f));
  box-shadow: 0 .2rem .6rem rgba(0, 0, 0, .08);
  transition: border-color 160ms ease;
}
.priviot-select-card:has(> .priviot-select-trigger[aria-expanded="true"]) {
  border-color: var(--brand-primary, var(--accent, #7c35ff));
}
.priviot-select-card > .priviot-select-trigger {
  min-height: 52px;
  padding: 0 22px 0 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.priviot-select-card > .priviot-select-trigger:is(:hover, [aria-expanded="true"]) {
  border: 0;
  background: color-mix(in srgb, var(--text-primary, var(--text, #f7f4ff)) 8%, var(--bg-card, #17141f));
}
.priviot-select-card > .priviot-select-trigger:focus-visible {
  border: 0;
  outline: 2px solid var(--brand-primary, var(--accent, #7c35ff));
  outline-offset: -2px;
  box-shadow: none;
}
.priviot-select-card .priviot-select-chevron { z-index: 2; }
.priviot-select-list {
  position: relative;
  display: block;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 520ms var(--priviot-menu-ease), opacity 300ms ease;
}
.priviot-select-list[data-scroll="true"] { overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: color-mix(in srgb, var(--text-primary, #fff) 28%, transparent) transparent; }
.priviot-select-trigger[aria-expanded="true"] + .priviot-select-list {
  max-height: var(--priviot-select-list-height, 320px);
  opacity: 1;
}
.priviot-select-trigger[aria-expanded="true"] + .priviot-select-list[data-scroll="true"] { overflow-y: auto; transition-delay: 0s, 0s; }
.priviot-select-list > button {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0 22px 0 18px;
  border: 0;
  border-top: 1px solid var(--border-subtle, var(--line, rgba(255, 255, 255, .1)));
  border-radius: 0;
  color: var(--text-primary, var(--text, #f7f4ff));
  background: transparent;
  box-shadow: none;
  font: inherit;
  font-weight: 550;
  text-align: left;
  cursor: default;
  opacity: 0;
  transform: translateY(-.45rem);
  transition: opacity 320ms ease, transform 520ms var(--priviot-menu-ease), background-color 160ms ease, color 160ms ease;
}
.priviot-select-trigger[aria-expanded="true"] + .priviot-select-list > button {
  opacity: 1;
  transform: translateY(0);
  transition-delay: calc(var(--priviot-item-index, 0) * 28ms), calc(var(--priviot-item-index, 0) * 28ms), 0s, 0s;
}
.priviot-select-list > button::before { width: 13px; flex: none; color: inherit; content: ""; }
.priviot-select-list > button[aria-checked="true"] { color: var(--text-primary, var(--text, #f7f4ff)); font-weight: 700; }
.priviot-select-list > button[aria-checked="true"]::before { content: "●"; font-size: 9px; }
.priviot-select-list > button:is(:hover, :focus-visible) {
  outline: 0;
  background: color-mix(in srgb, var(--text-primary, var(--text, #f7f4ff)) 7%, var(--bg-card, #17141f));
}
.priviot-select-list > button:disabled { opacity: .5; pointer-events: none; }

@media (prefers-reduced-motion: reduce) {
  .priviot-select-trigger, .priviot-select-chevron, .priviot-select-outline, .priviot-select-line, .priviot-select-card, .priviot-select-list, .priviot-select-list > button { transition-duration: .01ms !important; transition-delay: 0ms !important; }
}
:root[data-reduced-motion="true"] .priviot-select-trigger,
:root[data-reduced-motion="true"] .priviot-select-chevron,
:root[data-reduced-motion="true"] .priviot-select-outline,
:root[data-reduced-motion="true"] .priviot-select-line,
:root[data-reduced-motion="true"] .priviot-select-list,
:root[data-reduced-motion="true"] .priviot-select-list > button { transition-duration: .01ms !important; transition-delay: 0ms !important; }

/* Zeilenform wie in den Priviot-Kontoeinstellungen: Bezeichnung | Wert | Icon.
   Die Karte ist hier nur die Zeile, den Rahmen bildet die gemeinsame Einstellungskarte. */
:is(.settings-card, .einstellungen-karte) > .priviot-select-card {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
:is(.settings-card, .einstellungen-karte):has(> .priviot-select-card) > :is(.settings-label, .einstellungen-label, h3) { display: none; }
.priviot-select-card > .priviot-select-trigger[data-modus="inline"] {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr) 32px;
  align-items: center;
  column-gap: 16px;
  row-gap: 3px;
  min-height: 58px;
  padding: 14px 22px;
}
.priviot-select-card > .priviot-select-trigger[data-modus="inline"] > .priviot-select-label { grid-column: 1; grid-row: 1; }
.priviot-select-card > .priviot-select-trigger[data-modus="inline"] > .priviot-select-hint { grid-column: 1; grid-row: 2; }
.priviot-select-card > .priviot-select-trigger[data-modus="inline"] > [data-priviot-select-value] { grid-column: 2; grid-row: 1 / 3; }
.priviot-select-card > .priviot-select-trigger[data-modus="inline"] > .priviot-select-chevron { grid-column: 3; grid-row: 1 / 3; }
.priviot-select-hint {
  min-width: 0;
  color: var(--text-muted, var(--muted, #a39dab));
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
  white-space: normal;
}
.priviot-select-card > .priviot-select-trigger[data-beschriftet="false"] { grid-template-columns: minmax(0, 1fr) 32px; }
.priviot-select-card > .priviot-select-trigger[data-beschriftet="false"] > [data-priviot-select-value] { grid-column: 1; }
.priviot-select-card > .priviot-select-trigger[data-beschriftet="false"] > .priviot-select-chevron { grid-column: 2; }
.priviot-select-card > .priviot-select-trigger[data-beschriftet="false"] .priviot-select-label { display: none; }
.priviot-select-label {
  min-width: 0;
  color: var(--text-primary, var(--text, #f7f4ff));
  font-size: 14px;
  font-weight: 610;
  line-height: 1.35;
}
.priviot-select-card > .priviot-select-trigger[data-modus="inline"] > [data-priviot-select-value] {
  color: var(--text-secondary, var(--muted, #a39dab));
  font-size: 14px;
  font-weight: 470;
}
.priviot-select-card > .priviot-select-trigger .priviot-select-chevron { justify-self: end; }
.priviot-select-list > button { padding-left: 22px; padding-right: 64px; }

/* Lange Werte umbrechen statt abzuschneiden. */
.priviot-select-card > .priviot-select-trigger[data-modus="inline"] > [data-priviot-select-value] {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.4;
}

/* Schwebende Auswahl: normale Zeilen ohne wandernde Disclosure-Markierung. */
.priviot-select-menu[data-priviot-context-menu] > button { padding-right: 14px; white-space: normal; overflow-wrap: anywhere; }

/* FAQ-like disclosure surface: one hover tint and a reversible height transition. */
.priviot-select-card > .priviot-select-trigger:is(:hover,[aria-expanded="true"]),
.priviot-select-list > button:is(:hover,:focus-visible) {
 background:color-mix(in srgb,var(--brand-primary,var(--accent,#7c35ff)) 12%,var(--bg-card,var(--card,#17141f)));
}
.priviot-select-list > button { transition-delay:0s;white-space:normal;overflow-wrap:anywhere;padding:10px 64px 10px 22px; }
.priviot-select-trigger[aria-expanded="true"] + .priviot-select-list > button { transition-delay:0s; }
.priviot-select-list > button::before { color:var(--brand-primary,var(--accent,#7c35ff)); }
.access-lock-settings-head > .priviot-select-card { display:block;gap:0;align-self:start;min-width:0; }
@media(max-width:900px) { .access-lock-settings-head > .priviot-select-card { grid-column:2; } }
@media(prefers-reduced-motion:reduce) { .priviot-select-chevron svg { transition:none!important; } }
:root[data-reduced-motion="true"] .priviot-select-chevron svg { transition:none!important; }

/* Die Beschriftung bleibt beim Aufklappen an derselben Stelle. */
.access-lock-settings-head:has(> .priviot-select-card) { align-items:start; }
.access-lock-settings-head:has(> .priviot-select-card) > .access-lock-settings-icon { margin-top:10px; }
.access-lock-settings-head:has(> .priviot-select-card) > div:not(.priviot-select-card) { padding-top:7px; }

/* Auch lange Auswahloptionen sind handlungsrelevanter Text. */
.priviot-select-list > button { font-size: 14px; line-height: 1.4; }

@container priviot-settings (max-width: 540px) {
  .priviot-select-card > .priviot-select-trigger[data-modus="inline"] {
    grid-template-columns: minmax(0, 1fr) 32px;
    row-gap: 6px;
  }
  .priviot-select-card > .priviot-select-trigger[data-modus="inline"] > .priviot-select-label { grid-column: 1; grid-row: 1; }
  .priviot-select-card > .priviot-select-trigger[data-modus="inline"] > .priviot-select-hint { grid-column: 1; grid-row: 2; }
  .priviot-select-card > .priviot-select-trigger[data-modus="inline"] > [data-priviot-select-value] { grid-column: 1; grid-row: 3; }
  .priviot-select-card > .priviot-select-trigger[data-modus="inline"] > .priviot-select-chevron { grid-column: 2; grid-row: 1 / 4; }
  .priviot-select-card > .priviot-select-trigger[data-beschriftet="false"] > [data-priviot-select-value] { grid-row: 1; }
}

/* Explicit per-option disclosure: the compact circle still contains at most three pairs. */
.priviot-select-trigger[data-markers="options"] .priviot-select-line {
  opacity:0;
  transition:transform 520ms cubic-bezier(.4,0,.2,1), opacity 160ms ease;
}
.priviot-select-trigger[data-markers="options"]:not([aria-expanded="true"]) .priviot-select-line[data-primary="true"] { opacity:1; }
.priviot-select-trigger[data-markers="options"][aria-expanded="true"] .priviot-select-line { opacity:var(--priviot-select-mark-opacity,0); color:var(--priviot-select-mark-color,inherit); }
.priviot-select-list > button[hidden] { display:none; }

/* Row tracking must not interpolate behind wheel, touch or keyboard scrolling.
   The expanded-only selector restores the normal transition on closing. */
.priviot-select-trigger[data-markers="options"][aria-expanded="true"][data-scroll-tracking="true"] .priviot-select-line { transition:none; }
/* Direct scrolling also settles any remaining row entrance translation/fade. */
.priviot-select-trigger[data-markers="options"][aria-expanded="true"][data-scroll-tracking="true"] + .priviot-select-list > button { transition:background-color 160ms ease, color 160ms ease; }
