/* Editorial consent presentation adapted from the LGE homepage; state hooks unchanged. */
:root {
  --consent-paper: #f8f4fb; --consent-ink: #302539; --consent-copy: #5d4c6b;
  --consent-line: #cbbbd8; --consent-link: #59387c; --consent-soft: #eee5f5;
  --consent-button: #e7daef; --consent-hover: #d9c5e7; --consent-accent: #715095;
}
.consentSettingsLink { font: inherit; color: inherit; border: 0; padding: 0; background: none; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.consentBanner, .consentDialog, .consentStatus { color-scheme: light; color: var(--consent-ink); background: var(--consent-paper); border: 1px solid var(--consent-line); border-radius: 8px; box-shadow: 0 20px 70px #12091c44; font-family: Inter, system-ui, sans-serif; font-size: .95rem; line-height: 1.75; }
.consentBanner *, .consentDialog * { box-sizing: border-box; }
.consentBanner { position: fixed; z-index: 10000; bottom: 1rem; left: 1rem; width: min(650px, calc(100% - 2rem)); box-sizing: border-box; padding: clamp(22px, 4vw, 32px); max-height: calc(100dvh - 2rem); overflow: auto; }
.consentBanner[hidden], .consentStatus[hidden] { display: none; }
.consentKicker { display: block; color: var(--consent-link); font: 650 .65rem/1.6 ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.consentBanner h2, .consentDialog h2 { font: 650 clamp(26px, 4vw, 36px)/1.12 Inter, system-ui, sans-serif; letter-spacing: -.045em; margin: 12px 0 18px; color: inherit; overflow-wrap: anywhere; }
.consentBanner p, .consentDialog p, .publicShowroom .consentBanner p, .publicShowroom .consentDialog p { margin: 0 0 16px; font-size: .88rem; line-height: 1.8; color: var(--consent-copy); }
.consentBanner a, .consentDialog a { color: var(--consent-link); text-decoration: underline; text-underline-offset: 4px; }
.consentActions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.consentActions button { min-height: 48px; padding: 11px 8px; background: var(--consent-button); color: var(--consent-ink); border: 1px solid var(--consent-line); border-radius: 4px; font: 600 .78rem/1.5 Inter, system-ui, sans-serif; cursor: pointer; transition: background .18s; }
.consentActions button:hover { background: var(--consent-hover); }
.consentBanner :is(button, a):focus-visible, .consentDialog :is(button, input, a):focus-visible, .consentSettingsLink:focus-visible { outline: 3px solid var(--consent-accent); outline-offset: 4px; }
.consentDialog {
  --consent-paper: #1d1725; --consent-ink: #f5eaf9; --consent-copy: #d0bddc;
  --consent-line: #796087; --consent-link: #ddbbf7; --consent-soft: #302239;
  --consent-button: #493254; --consent-hover: #60406f; --consent-accent: #c7a1ef;
  color-scheme: dark; width: min(650px, calc(100% - 2rem)); box-sizing: border-box;
  padding: clamp(22px, 4vw, 34px); max-height: calc(100dvh - 2rem); overflow: auto;
}
.consentDialog::backdrop { background: #17101f99; backdrop-filter: blur(5px); }
.consentServices { margin: 24px 0 18px; border-top: 1px solid var(--consent-line); }
.consentRequired, .consentChoice { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--consent-line); color: var(--consent-ink); }
.consentServices strong { display: block; font-size: .9rem; font-weight: 650; line-height: 1.5; }
.consentServices .consentServiceDescription { display: block; font-size: .8rem; line-height: 1.8; margin-top: 5px; color: var(--consent-copy); }
.consentRequiredBadge { flex: none; font: 600 .66rem/1.5 ui-monospace, monospace; color: var(--consent-link); border: 1px solid var(--consent-line); padding: 5px 8px; border-radius: 3px; }
.consentChoice { cursor: pointer; }
.consentChoice:hover { background: var(--consent-soft); }
/* Explicitly override shared input rules: keep the real, labelled checkbox,
   but draw its complete appearance ourselves in both site color schemes. */
.consentDialog .consentChoice input[type="checkbox"]#consentStatistics {
  appearance: none; -webkit-appearance: none; display: grid; place-content: center;
  order: 1; width: 26px; height: 26px; min-height: 26px; flex: 0 0 26px;
  margin: 0; padding: 0; border: 1.5px solid #a084b5; border-radius: 6px;
  background: #21172b; box-shadow: none; cursor: pointer;
}
.consentDialog .consentChoice input[type="checkbox"]#consentStatistics::after {
  content: ""; width: 7px; height: 12px; margin-top: -3px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); visibility: hidden;
}
.consentDialog .consentChoice input[type="checkbox"]#consentStatistics:checked { background: #8b5cf6; border-color: #8b5cf6; }
.consentDialog .consentChoice input[type="checkbox"]#consentStatistics:checked::after { visibility: visible; }
.consentDialog .consentChoice input[type="checkbox"]#consentStatistics:focus-visible { outline: 3px solid #d5b9ff; outline-offset: 4px; }
@media (forced-colors: active) {
  .consentDialog .consentChoice input[type="checkbox"]#consentStatistics { appearance: auto; -webkit-appearance: auto; }
  .consentDialog .consentChoice input[type="checkbox"]#consentStatistics::after { display: none; }
}
.consentStatus { position: fixed; bottom: 1rem; right: 1rem; z-index: 10002; padding: 1rem; max-width: calc(100% - 4rem); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --consent-paper: #1d1725; --consent-ink: #f5eaf9; --consent-copy: #d0bddc;
    --consent-line: #796087; --consent-link: #ddbbf7; --consent-soft: #302239;
    --consent-button: #493254; --consent-hover: #60406f; --consent-accent: #c7a1ef;
  }
  :root:not([data-theme="light"]) :is(.consentBanner, .consentDialog, .consentStatus) { color-scheme: dark; }
}
:root[data-theme="dark"] {
  --consent-paper: #1d1725; --consent-ink: #f5eaf9; --consent-copy: #d0bddc;
  --consent-line: #796087; --consent-link: #ddbbf7; --consent-soft: #302239;
  --consent-button: #493254; --consent-hover: #60406f; --consent-accent: #c7a1ef;
}
:root[data-theme="dark"] :is(.consentBanner, .consentDialog, .consentStatus) { color-scheme: dark; }
@media (max-width: 480px) {
  .consentActions { grid-template-columns: 1fr; }
  .consentActions button { font-size: .85rem; }
  .consentRequired, .consentChoice { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .consentActions button { transition: none; } }
