.llc {
  --llc-accent: var(--theme-base-color, #f27a21);
  --llc-text: var(--basic_text_black, #222);
  --llc-muted: var(--basic_text_gray, #656565);
  --llc-surface: var(--black_bg_black, #fff);
  --llc-border: var(--stroke_black, #e5e5e5);
  --llc-radius: var(--border-radius, 12px);
  color: var(--llc-text);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
}
.llc [hidden] { display: none !important; }
.llc *, .llc *::before, .llc *::after { box-sizing: border-box; }
.llc button { font: inherit; cursor: pointer; text-transform: none; letter-spacing: normal; }
.llc button:disabled { cursor: wait; opacity: .55; }
.llc button:focus-visible, .llc a:focus-visible, .llc .llc-modal-body:focus-visible {
  outline: 2px solid var(--llc-accent);
  outline-offset: 4px;
}
.llc-settings {
  position: fixed;
  z-index: 997;
  left: max(16px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 5px 10px;
  border: 1px solid var(--llc-border);
  border-radius: 20px;
  color: var(--llc-muted);
  background: var(--llc-surface);
  box-shadow: 0 2px 9px rgb(0 0 0 / 6%);
}
.llc-settings:hover { color: var(--llc-text); }
.llc-settings svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.llc-panel {
  position: fixed;
  z-index: 1000;
  left: max(16px, env(safe-area-inset-left));
  bottom: calc(max(12px, env(safe-area-inset-bottom)) + 42px);
  width: 370px;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 80px);
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  padding: 21px;
  border: 1px solid var(--llc-border);
  border-radius: var(--llc-radius);
  background: var(--llc-surface);
  box-shadow: 0 9px 36px rgb(0 0 0 / 15%);
  animation: llc-appear .18s ease-out;
  overscroll-behavior: contain;
}
.llc .llc-title { margin: 0 32px 10px 0; color: var(--llc-text); font-size: 16px; line-height: 1.35; font-weight: 600; }
.llc .llc-description { margin: 0 0 14px; color: var(--llc-muted); font-size: 13px; line-height: 1.5; }
.llc-close {
  position: absolute;
  right: 11px;
  top: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--llc-muted);
}
.llc-close:hover { color: var(--llc-text); background: rgb(128 128 128 / 9%); }
.llc-close svg { display: block; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.llc-options { display: grid; gap: 10px; }
.llc-option { position: relative; display: flex; align-items: flex-start; gap: 9px; margin: 0; cursor: pointer; color: var(--llc-text); font-size: 13px; }
.llc-option input { position: absolute; width: 19px; height: 19px; margin: 0; opacity: 0; }
.llc-check { position: relative; pointer-events: none; flex: 0 0 19px; width: 19px; height: 19px; border: 1px solid var(--llc-border); border-radius: 4px; background: var(--llc-surface); transition: background-color .15s, border-color .15s; }
.llc-option input:checked + .llc-check { background: var(--llc-accent); border-color: var(--llc-accent); }
.llc-option input:checked + .llc-check::after { content: ''; position: absolute; left: 5px; top: 2px; width: 6px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.llc-option input:focus-visible + .llc-check { outline: 2px solid var(--llc-accent); outline-offset: 3px; }
.llc-option input:disabled ~ span { opacity: .55; }
.llc .llc-inline { display: inline; padding: 0; border: 0; border-radius: 0; background: transparent; color: var(--llc-muted); font-size: 11px; line-height: 1.5; text-decoration: underline; text-underline-offset: 2px; }
.llc .llc-inline:hover { color: var(--llc-accent); }
.llc .llc-consent-document { display: block; margin: 8px 0 0 28px; }
.llc .llc-status { margin: 12px 0 0; color: var(--llc-muted); font-size: 12px; line-height: 1.45; }
.llc .llc-status--error { color: #bc4141; }
.llc-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 16px; }
.llc-save, .llc-retry { min-height: 39px; padding: 9px 14px; border: 1px solid var(--llc-accent); border-radius: var(--llc-radius); background: var(--llc-accent); color: #fff; font-weight: 500 !important; transition: filter .15s; }
.llc-save:hover, .llc-retry:hover { filter: brightness(.94); }
.llc-essential { min-height: 24px; padding: 0 3px; border: 0; border-radius: 0; background: transparent; color: var(--llc-muted); font-size: 12px !important; text-decoration: underline; text-underline-offset: 3px; }
.llc-essential:hover { color: var(--llc-text); }
.llc-documents { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 15px; padding-top: 12px; border-top: 1px solid var(--llc-border); }
.llc .llc-operator { margin: 6px 0 0; color: var(--llc-muted); font-size: 10px; line-height: 1.4; }
.llc-modal { position: fixed; z-index: 100001; inset: 0; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgb(0 0 0 / 46%); overscroll-behavior: contain; animation: llc-appear .16s ease-out; }
.llc-modal-card { display: flex; flex-direction: column; width: 760px; max-width: 100%; max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); border: 1px solid var(--llc-border); border-radius: var(--llc-radius); background: var(--llc-surface); box-shadow: 0 18px 70px rgb(0 0 0 / 22%); overflow: hidden; }
.llc-modal-header { position: relative; flex: 0 0 auto; padding: 24px 55px 20px 26px; border-bottom: 1px solid var(--llc-border); }
.llc .llc-modal-header h2 { margin: 0; color: var(--llc-text); font-size: 20px; line-height: 1.35; font-weight: 600; }
.llc-modal-header .llc-close { top: 17px; right: 17px; }
.llc-modal-body { padding: 22px 26px 28px; overflow-y: auto; font-size: 14px; line-height: 1.65; color: var(--llc-text); overflow-wrap: anywhere; overscroll-behavior: contain; }
.llc .llc-modal-body p { margin: 0 0 13px; color: inherit; font-size: inherit; line-height: inherit; }
.llc .llc-modal-body h1, .llc .llc-modal-body h2, .llc .llc-modal-body h3, .llc .llc-modal-body h4 { margin: 22px 0 10px; color: inherit; font-size: 17px; line-height: 1.4; }
.llc .llc-modal-body h1:first-child, .llc .llc-modal-body h2:first-child, .llc .llc-modal-body h3:first-child { margin-top: 0; }
.llc .llc-modal-body ul, .llc .llc-modal-body ol { padding-left: 22px; margin: 10px 0 18px; }
.llc .llc-modal-body li { margin-bottom: 7px; }
.llc .llc-modal-body a { color: var(--llc-accent); text-decoration: underline; text-underline-offset: 2px; }
.llc .llc-modal-body table { width: 100%; border-collapse: collapse; font-size: 12px; }
.llc .llc-modal-body th, .llc .llc-modal-body td { padding: 8px; border: 1px solid var(--llc-border); vertical-align: top; text-align: left; }
html.llc-document-open { overflow: hidden; }
@keyframes llc-appear { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .llc-panel { left: max(10px, env(safe-area-inset-left)); width: min(370px, calc(100vw - 20px)); max-width: calc(100vw - 20px); padding: 18px; }
  .llc-settings { left: max(10px, env(safe-area-inset-left)); font-size: 11px; }
  .llc-modal { padding: 12px; }
  .llc-modal-card { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
  .llc-modal-header { padding: 20px 48px 17px 20px; }
  .llc .llc-modal-header h2 { font-size: 17px; }
  .llc-modal-body { padding: 18px 20px 22px; font-size: 13px; }
  .llc-modal-header .llc-close { top: 13px; right: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .llc *, .llc *::before, .llc *::after { animation: none !important; transition: none !important; }
}
@media (prefers-color-scheme: dark) {
  .llc { --llc-surface: var(--black_bg_black, #202124); --llc-text: var(--basic_text_black, #f2f2f2); --llc-muted: var(--basic_text_gray, #b1b1b1); --llc-border: var(--stroke_black, #424448); }
  .llc .llc-status--error { color: #ff9b9b; }
}

/* Keep separate consents visible in the native Aspro subscription forms. */
.form .subscribe-form .subscribe-form__consents .licence_block { opacity: 1; position: relative; bottom: auto; z-index: auto; }
.subscribe-form__consents { display: grid; gap: 10px; margin-top: 12px; }
.subscribe-form__consents .licence_block, .subscribe-form__consents .marketing_block { margin: 0; }
.subscribe-form__consents .marketing_block { position: relative; color: var(--basic_text_gray, #656565); }

/* Legal document sections share alignment in standalone pages and dialogs. */
.lithium-legal-section { text-align: center; }
