/* AutoZone-style full-width cookie preference bar (portfolio + retail storefronts). */

.corp-cookie-preference-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  border-top: 1px solid #d1d5db;
  background: #fff;
  color: #111827;
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

.corp-cookie-preference-bar.is-hidden {
  display: none;
}

.corp-cookie-preference-bar__inner {
  position: relative;
  max-width: 80rem;
  margin: 0 auto;
  padding: 1rem 2.75rem 1.1rem 1rem;
}

.corp-cookie-preference-bar__close {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.corp-cookie-preference-bar__close:hover {
  color: #111827;
}

.corp-cookie-preference-bar__kicker {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #111827;
}

.corp-cookie-preference-bar__body {
  margin: 0.45rem 0 0;
  max-width: 62rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #374151;
}

.corp-cookie-preference-bar__actions-line,
.corp-cookie-preference-bar__legal-line {
  margin: 0.45rem 0 0;
  max-width: 62rem;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: #374151;
}

.corp-cookie-preference-bar__linkish {
  border: none;
  padding: 0;
  background: transparent;
  font: inherit;
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: underline;
  cursor: pointer;
}

.corp-cookie-preference-bar__linkish:hover {
  color: #1e40af;
}

.corp-cookie-preference-bar__legal-line a {
  font-weight: 700;
  color: #1d4ed8;
  text-decoration: underline;
}

.corp-cookie-preference-bar__legal-line a:hover {
  color: #1e40af;
}

.corp-cookie-preference-bar--preview {
  position: relative;
  inset: auto;
  z-index: 1;
}

body.corp-cookie-preference-visible .auc-footer__inner,
body.corp-cookie-preference-visible.pf-footer-cookie-banner-visible .auc-footer__inner,
body.auction-site--cookie-banner-visible .auc-footer__inner {
  padding-bottom: max(9.5rem, calc(1.25rem + env(safe-area-inset-bottom)));
}

/* Admin Statements preview frame */
.stmt-cookie-preview {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  overflow: hidden;
}

.stmt-cookie-preview__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #fff;
  padding: 0.75rem 1rem;
}

.stmt-cookie-preview__title {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0f766e;
}

.stmt-cookie-preview__meta {
  margin: 0;
  font-size: 0.75rem;
  color: #64748b;
}

.stmt-cookie-preview__frame {
  position: relative;
  min-height: 12rem;
  background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

.stmt-cookie-preview__mock {
  padding: 1.25rem 1rem 7.5rem;
  font-size: 0.6875rem;
  color: #94a3b8;
}

.stmt-cookie-preview__frame .corp-cookie-preference-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
}

/* OneTrust-style manage cookie preferences modal */
.corp-cookie-manage {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.corp-cookie-manage.is-hidden {
  display: none;
}

.corp-cookie-manage__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.corp-cookie-manage__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 34rem);
  max-height: min(92vh, 44rem);
  overflow: auto;
  border: 1px solid #d1d5db;
  border-radius: 0.25rem;
  background: #fff;
  padding: 1.35rem 1.25rem 1.1rem;
  color: #111827;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22);
}

.corp-cookie-manage__close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: none;
  background: transparent;
  font-size: 1.35rem;
  line-height: 1;
  color: #6b7280;
  cursor: pointer;
}

.corp-cookie-manage__logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.corp-cookie-manage__logo {
  max-height: 2.75rem;
  max-width: 12rem;
  object-fit: contain;
}

.corp-cookie-manage__title {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.corp-cookie-manage__intro {
  margin: 0.85rem 0 0;
  font-size: 0.78rem;
  line-height: 1.55;
  color: #374151;
}

.corp-cookie-manage__intro a,
.corp-cookie-manage__action-links a,
.corp-cookie-manage__more {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: underline;
}

.corp-cookie-manage--preview .corp-cookie-manage__preview-nav,
.corp-cookie-preference-bar--preview .corp-cookie-preference-bar__preview-nav {
  cursor: pointer;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 2px;
}

.corp-cookie-manage--preview .corp-cookie-manage__preview-nav:hover,
.corp-cookie-preference-bar--preview .corp-cookie-preference-bar__preview-nav:hover {
  color: #6d28d9;
}

.corp-cookie-manage__action-links {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  line-height: 1.65;
}

.corp-cookie-manage__more-wrap {
  margin: 0.45rem 0 0;
  font-size: 0.78rem;
}

.corp-cookie-manage__section-title {
  margin: 1rem 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.corp-cookie-manage__category {
  border: 1px solid #d1d5db;
  border-radius: 0.2rem;
  background: #fff;
}

.corp-cookie-manage__category-summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 700;
}

.corp-cookie-manage__category-summary::-webkit-details-marker {
  display: none;
}

.corp-cookie-manage__toggle {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: #111827;
}

.corp-cookie-manage__category[open] .corp-cookie-manage__toggle::before {
  content: "−";
}

.corp-cookie-manage__category:not([open]) .corp-cookie-manage__toggle::before {
  content: "+";
}

.corp-cookie-manage__toggle {
  font-size: 0;
}

.corp-cookie-manage__category-label {
  flex: 1;
}

.corp-cookie-manage__status {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1d4ed8;
  white-space: nowrap;
}

.corp-cookie-manage__category-body {
  margin: 0;
  padding: 0 0.75rem 0.75rem 2rem;
  font-size: 0.74rem;
  line-height: 1.55;
  color: #4b5563;
}

.corp-cookie-manage__switch {
  position: relative;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  cursor: pointer;
}

.corp-cookie-manage__switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.corp-cookie-manage__switch-ui {
  display: block;
  width: 2.35rem;
  height: 1.25rem;
  border-radius: 999px;
  background: #d1d5db;
  transition: background 0.15s ease;
}

.corp-cookie-manage__switch-ui::after {
  content: "";
  position: absolute;
  top: 0.14rem;
  left: 0.14rem;
  width: 0.97rem;
  height: 0.97rem;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.2);
  transition: transform 0.15s ease;
}

.corp-cookie-manage__switch input:checked + .corp-cookie-manage__switch-ui {
  background: #16a34a;
}

.corp-cookie-manage__switch input:checked + .corp-cookie-manage__switch-ui::after {
  transform: translateX(1.1rem);
}

.corp-cookie-manage__switch input:focus-visible + .corp-cookie-manage__switch-ui {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.corp-cookie-manage__confirm {
  display: block;
  width: 100%;
  margin-top: 1rem;
  border: none;
  border-radius: 0.2rem;
  background: #111827;
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.corp-cookie-manage--preview {
  position: relative;
  inset: auto;
  z-index: 1;
  display: block;
  padding: 0;
}

.corp-cookie-manage--preview .corp-cookie-manage__panel {
  width: 100%;
  max-height: none;
  box-shadow: none;
}

body.corp-cookie-manage-open {
  overflow: hidden;
}

/* Statements admin editor */
.stmt-cookie-editor {
  margin-top: 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: visible;
}

.stmt-cookie-editor__layout {
  display: grid;
  grid-template-columns: minmax(10.5rem, 13.5rem) minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid #e2e8f0;
}

.stmt-cookie-editor__nav {
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.85rem 0.65rem 1rem;
}

.stmt-cookie-editor__nav-kicker {
  margin: 0 0 0.55rem;
  padding: 0 0.35rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #64748b;
}

.stmt-cookie-editor__nav-link {
  display: block;
  width: 100%;
  border: none;
  border-radius: 0.45rem;
  background: transparent;
  padding: 0.45rem 0.5rem;
  text-align: left;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.35;
  color: #0f766e;
  cursor: pointer;
}

.stmt-cookie-editor__nav-link:hover,
.stmt-cookie-editor__nav-link.is-active {
  background: #ecfdf5;
  color: #115e59;
  font-weight: 700;
}

.stmt-cookie-editor__content {
  min-width: 0;
}

@media (max-width: 768px) {
  .stmt-cookie-editor__layout {
    grid-template-columns: 1fr;
  }

  .stmt-cookie-editor__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .stmt-cookie-editor__nav-kicker {
    flex: 1 1 100%;
  }

  .stmt-cookie-editor__nav-link {
    flex: 1 1 auto;
    width: auto;
    min-width: min(100%, 9rem);
  }
}

.stmt-cookie-editor__title {
  margin: 0;
  padding: 1rem 1rem 0;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.stmt-cookie-editor__details {
  border-top: 1px solid #e2e8f0;
}

.stmt-cookie-editor__details > summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f766e;
  list-style: none;
}

.stmt-cookie-editor__details > summary::-webkit-details-marker {
  display: none;
}

.stmt-cookie-editor__topic {
  border-top: 1px solid #e2e8f0;
}

.stmt-cookie-editor__topic > summary {
  cursor: pointer;
  padding: 0.85rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f766e;
  list-style: none;
}

.stmt-cookie-editor__topic > summary::-webkit-details-marker {
  display: none;
}

.stmt-cookie-editor__topic-body {
  padding: 0 1rem 1rem;
  display: grid;
  gap: 0.85rem;
}

.stmt-cookie-editor__hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  line-height: 1.45;
  color: #64748b;
}

.stmt-cookie-editor__form {
  padding: 0;
}

.stmt-cookie-editor__field label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
}

.stmt-cookie-editor__field input,
.stmt-cookie-editor__field textarea {
  margin-top: 0.3rem;
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  padding: 0.55rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1.45;
}

.stmt-cookie-editor__field textarea {
  min-height: 4.5rem;
  resize: vertical;
}

.stmt-cookie-editor__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  padding: 0 1rem 1rem;
}

.stmt-cookie-editor__save {
  border: none;
  border-radius: 0.5rem;
  background: #0f172a;
  color: #fff;
  padding: 0.55rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.stmt-cookie-preview__modal-frame {
  position: relative;
  min-height: 22rem;
  padding: 1rem;
  background: #e2e8f0;
}

.stmt-cookie-preview__modal-frame .corp-cookie-manage {
  position: relative;
  inset: auto;
  display: block;
  padding: 0;
}

.stmt-customer-view-toolbar {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #f8fafc;
}

.stmt-customer-view-toolbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.25rem;
  align-items: flex-end;
}

.stmt-customer-view-toolbar__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: min(100%, 14rem);
}

.stmt-customer-view-toolbar__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.stmt-customer-view-toolbar__select {
  min-height: 2.5rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.55rem;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
}

.stmt-customer-view-toolbar__hint {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748b;
}

.stmt-customer-view-empty {
  padding: 1rem;
  border: 1px dashed #cbd5e1;
  border-radius: 0.75rem;
  background: #f8fafc;
  text-align: center;
}

[data-stmt-customer-view].is-active {
  animation: stmtCustomerViewIn 0.18s ease-out;
}

@keyframes stmtCustomerViewIn {
  from {
    opacity: 0.4;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stmt-customer-view-sections {
  display: grid;
  gap: 0.75rem;
}

.stmt-customer-view-section {
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  overflow: hidden;
}

.stmt-customer-view-section__summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
  background: #f8fafc;
  border-bottom: 1px solid transparent;
}

.stmt-customer-view-section[open] > .stmt-customer-view-section__summary {
  border-bottom-color: #e2e8f0;
}

.stmt-customer-view-section__summary::-webkit-details-marker {
  display: none;
}

.stmt-customer-view-section__title {
  min-width: 0;
}

.stmt-customer-view-section__chevron {
  flex-shrink: 0;
  font-size: 0.85rem;
  opacity: 0.8;
  color: #64748b;
}

.stmt-customer-view-section__body {
  padding: 0.75rem 1rem 1rem;
}

.stmt-customer-view-section__desc {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #64748b;
}

.stmt-customer-view-section.is-active-view > .stmt-customer-view-section__summary {
  background: linear-gradient(90deg, rgba(13, 148, 136, 0.08) 0%, #f8fafc 55%);
  box-shadow: inset 3px 0 0 #0d9488;
}

/* —— Corp Numismatics branded cookie bar + manage modal —— */
.cn-body .corp-cookie-preference-bar.cn-cookie-bar,
.cn-body .cn-cookie-bar {
  border-top: 1px solid rgba(201, 162, 106, 0.28);
  background:
    linear-gradient(180deg, rgba(20, 20, 20, 0.98) 0%, rgba(8, 8, 8, 0.98) 100%);
  color: #f5f3ef;
  box-shadow:
    0 -1px 0 rgba(201, 162, 106, 0.12),
    0 -18px 48px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
}

.cn-cookie-bar__inner {
  position: relative;
  display: grid;
  gap: 1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.15rem 3rem 1.25rem 1.25rem;
}

@media (min-width: 900px) {
  .cn-cookie-bar__inner {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    padding: 1.25rem 3.25rem 1.35rem 1.5rem;
  }
}

.cn-cookie-bar__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  height: 2rem;
  width: 2rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 1.25rem;
  line-height: 1;
  color: rgba(245, 243, 239, 0.72);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.cn-cookie-bar__close:hover {
  border-color: rgba(201, 162, 106, 0.45);
  color: #f5f3ef;
  background: rgba(201, 162, 106, 0.12);
}

.cn-cookie-bar__kicker {
  margin: 0;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #d4b87a;
}

.cn-cookie-bar__body {
  margin: 0.45rem 0 0;
  max-width: 44rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(245, 243, 239, 0.78);
}

.cn-cookie-bar__body strong {
  color: #f5f3ef;
  font-weight: 700;
}

.cn-cookie-bar__legal {
  margin: 0.55rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(245, 243, 239, 0.58);
}

.cn-cookie-bar__legal a {
  color: #d4b87a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}

.cn-cookie-bar__legal a:hover {
  color: #e8d4a8;
}

.cn-cookie-bar__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.cn-cookie-bar__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.55rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: "Source Sans 3", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.cn-cookie-bar__btn--gold {
  background: linear-gradient(135deg, #c9a86a 0%, #b89452 100%);
  color: #0a0a0a;
  box-shadow: 0 10px 24px rgba(201, 162, 106, 0.28);
}

.cn-cookie-bar__btn--gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(201, 162, 106, 0.36);
}

.cn-cookie-bar__btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.16);
  color: #f5f3ef;
}

.cn-cookie-bar__btn--ghost:hover {
  border-color: rgba(201, 162, 106, 0.45);
  background: rgba(201, 162, 106, 0.1);
}

.cn-body .corp-cookie-manage__backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.cn-body .corp-cookie-manage__panel {
  border: 1px solid rgba(201, 162, 106, 0.28);
  border-radius: 1rem;
  background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
  color: #f5f3ef;
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.55);
}

.cn-body .corp-cookie-manage__close {
  color: rgba(245, 243, 239, 0.65);
}

.cn-body .corp-cookie-manage__close:hover {
  color: #d4b87a;
}

.cn-body .corp-cookie-manage__title {
  color: #d4b87a;
  letter-spacing: 0.08em;
}

.cn-body .corp-cookie-manage__intro,
.cn-body .corp-cookie-manage__action-links,
.cn-body .corp-cookie-manage__more-wrap,
.cn-body .corp-cookie-manage__category-body {
  color: rgba(245, 243, 239, 0.72);
}

.cn-body .corp-cookie-manage__intro a,
.cn-body .corp-cookie-manage__action-links a,
.cn-body .corp-cookie-manage__more {
  color: #d4b87a;
}

.cn-body .corp-cookie-manage__section-title,
.cn-body .corp-cookie-manage__category-label {
  color: #f5f3ef;
}

.cn-body .corp-cookie-manage__category {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.65rem;
}

.cn-body .corp-cookie-manage__status {
  color: #d4b87a;
}

.cn-body .corp-cookie-manage__switch-ui {
  background: rgba(255, 255, 255, 0.18);
}

.cn-body .corp-cookie-manage__switch input:checked + .corp-cookie-manage__switch-ui {
  background: #b89452;
}

.cn-body .corp-cookie-manage__confirm {
  border-radius: 999px;
  background: linear-gradient(135deg, #c9a86a 0%, #b89452 100%);
  color: #0a0a0a;
  font-weight: 800;
}

.cn-body .corp-cookie-manage__confirm:hover {
  filter: brightness(1.05);
}

body.cn-cookie-bar-visible .pf-footer,
body.cn-body.corp-cookie-preference-visible .pf-footer {
  padding-bottom: max(10rem, calc(1.5rem + env(safe-area-inset-bottom)));
}

html[data-theme="light"] .cn-body .corp-cookie-preference-bar.cn-cookie-bar,
html[data-theme="light"] .cn-body .cn-cookie-bar {
  background: linear-gradient(180deg, #ffffff 0%, #f7f4ec 100%);
  border-top-color: rgba(184, 148, 82, 0.35);
  color: #16202e;
  box-shadow: 0 -12px 36px rgba(10, 28, 63, 0.1);
}

html[data-theme="light"] .cn-cookie-bar__body {
  color: #5a6678;
}

html[data-theme="light"] .cn-cookie-bar__body strong {
  color: #16202e;
}

html[data-theme="light"] .cn-cookie-bar__legal {
  color: #5a6678;
}

html[data-theme="light"] .cn-cookie-bar__btn--ghost {
  background: #fff;
  border-color: rgba(10, 28, 63, 0.16);
  color: #16202e;
}

html[data-theme="light"] .cn-cookie-bar__close {
  border-color: rgba(10, 28, 63, 0.12);
  color: #5a6678;
  background: #fff;
}

html[data-theme="light"] .cn-body .corp-cookie-manage__panel {
  background: #fff;
  color: #16202e;
  border-color: rgba(184, 148, 82, 0.35);
}

html[data-theme="light"] .cn-body .corp-cookie-manage__intro,
html[data-theme="light"] .cn-body .corp-cookie-manage__category-body {
  color: #5a6678;
}

html[data-theme="light"] .cn-body .corp-cookie-manage__section-title,
html[data-theme="light"] .cn-body .corp-cookie-manage__category-label {
  color: #16202e;
}

html[data-theme="light"] .cn-body .corp-cookie-manage__category {
  background: #f8fafc;
  border-color: rgba(10, 28, 63, 0.12);
}

/* Statements hub cards + view/edit shell */
.stmt-view-cards {
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #fff;
  padding: 1.15rem 1.1rem 1.25rem;
}

.stmt-view-cards__kicker {
  margin: 0;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.stmt-view-cards__title {
  margin: 0.35rem 0 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: #0f172a;
}

.stmt-view-cards__sub {
  margin: 0.45rem 0 0;
  max-width: 42rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #64748b;
}

.stmt-view-cards__grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
  .stmt-view-cards__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .stmt-view-cards__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stmt-view-card {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 7.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 0.9rem 0.95rem;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.stmt-view-card:hover {
  border-color: #99f6e4;
  box-shadow: 0 8px 24px -18px rgba(13, 148, 136, 0.45);
  transform: translateY(-1px);
}

.stmt-view-card:hover .stmt-view-card__label,
.stmt-view-card:focus-visible .stmt-view-card__label {
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.stmt-view-card:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

.stmt-view-card.is-active {
  border-color: #0d9488;
  background: linear-gradient(180deg, #ecfdf5 0%, #ffffff 100%);
  box-shadow: 0 10px 28px -20px rgba(13, 148, 136, 0.55);
}

.stmt-view-card.is-active .stmt-view-card__label {
  color: #115e59;
}

.stmt-brand-workspace {
  margin-top: 1.25rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #f8fafc;
  padding: 0.85rem;
}

.stmt-brand-workspace__panel {
  margin-top: 0.65rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.85rem 0.95rem 1rem;
}

.stmt-view-shell--embedded {
  margin-bottom: 0;
  border: none;
  background: transparent;
  padding: 0.35rem 0.15rem 0.5rem;
}

.stmt-view-shell__kicker {
  margin: 0 0 0.25rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.stmt-view-card__label {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f766e;
  text-decoration: underline;
  text-decoration-color: rgba(15, 118, 110, 0.35);
  text-underline-offset: 0.14em;
}

.stmt-view-card__desc {
  flex: 1;
  font-size: 0.75rem;
  line-height: 1.45;
  color: #64748b;
  pointer-events: none;
}

.stmt-view-card__cta {
  font-size: 0.72rem;
  font-weight: 700;
  color: #115e59;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

.stmt-view-shell {
  margin-bottom: 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 0.9rem;
  background: #fff;
  padding: 1rem 1.1rem;
}

.stmt-view-shell__crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
}

.stmt-view-shell__back {
  color: #0f766e;
  text-decoration: none;
}

.stmt-view-shell__back:hover {
  text-decoration: underline;
}

.stmt-view-shell__sep {
  opacity: 0.55;
}

.stmt-view-shell__current {
  color: #0f172a;
}

.stmt-view-shell__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.65rem;
}

.stmt-view-shell__title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
}

.stmt-view-shell__sub {
  margin: 0.35rem 0 0;
  max-width: 38rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #64748b;
}

.stmt-view-shell__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stmt-view-shell__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.stmt-view-shell__btn--ghost {
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #334155;
}

.stmt-view-shell__btn--ghost:hover {
  background: #f8fafc;
}

.stmt-view-shell__btn--primary {
  border: 1px solid #0f172a;
  background: #0f172a;
  color: #fff;
}

.stmt-view-shell__btn--primary:hover {
  background: #1e293b;
}

.stmt-view-shell .stmt-customer-view-toolbar--compact {
  margin-top: 0.85rem;
  margin-bottom: 0;
  border: none;
  background: #f8fafc;
  padding: 0.75rem 0.85rem;
}

.stmt-legal-pages--preview .stmt-legal-page-item__preview {
  padding: 0.75rem 0;
}

