/* Advisor disclosure & consent — screen + print */

.client-consent-page .header,
.client-consent-page .mobile-nav-toggle,
.client-consent-page .cookie-banner,
.client-consent-page .playbook-modal-overlay {
  display: none !important;
}

.client-consent-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(253, 252, 251, 0.97);
  border-bottom: 1px solid #e2e8f0;
  padding: 0.75rem 0;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

.client-consent-toolbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.client-consent-lang {
  flex: 1 1 100%;
  margin: 0 0 0.15rem;
  font-size: 0.9rem;
}

.client-consent-lang a {
  font-weight: 600;
}

.client-consent-toolbar-hint {
  flex: 1 1 100%;
  margin: 0;
  font-size: 0.8125rem;
  color: #64748b;
  max-width: 42rem;
}

.client-consent-document {
  max-width: 8.5in;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
  background: #fdfcfb;
}

.client-consent-document .cc-inner {
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
  color: #334155;
}

.client-consent-document h1 {
  font-family: "Lora", Georgia, serif;
  color: #1a365d;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  margin: 0 0 0.25rem;
  line-height: 1.2;
}

.client-consent-document .cc-subtitle {
  font-weight: 600;
  color: #1a365d;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.client-consent-document h2 {
  font-family: "Lora", Georgia, serif;
  color: #1a365d;
  font-size: 1.35rem;
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid #e2e8f0;
}

.client-consent-document h3 {
  font-family: "Lora", Georgia, serif;
  color: #1a365d;
  font-size: 1.15rem;
  margin: 1.5rem 0 0.5rem;
}

.client-consent-document p {
  margin: 0.75rem 0;
}

.client-consent-document ul {
  margin: 0.5rem 0 1rem 1.25rem;
  padding: 0;
}

.client-consent-document li {
  margin: 0.35rem 0;
}

.client-consent-document hr.cc-rule {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 2rem 0;
}

.client-consent-document .cc-lead {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

.client-consent-document strong {
  color: #1e293b;
}

.cc-scope-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.75rem 0 1.5rem;
  page-break-inside: avoid;
}

.cc-scope-table th,
.cc-scope-table td {
  border: 1px solid #cbd5e1;
  padding: 0.6rem 0.5rem;
  text-align: left;
  vertical-align: middle;
}

.cc-scope-table thead th {
  background: #f8fafc;
  color: #1e293b;
  font-weight: 700;
}

.cc-scope-table tbody th {
  font-weight: 600;
  width: 62%;
}

.cc-scope-table td {
  width: 19%;
  text-align: center;
}

.cc-scope-table input[type="radio"] {
  width: 1rem;
  height: 1rem;
}

.signatory-blocks {
  margin-top: 1.5rem;
}

.signatory-block {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.25rem 1.25rem 1rem;
  margin-bottom: 1.25rem;
  background: #fff;
  page-break-inside: avoid;
}

.signatory-block h3 {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.signatory-remove {
  font-size: 0.875rem;
  font-weight: 600;
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

.signatory-remove:hover {
  background: #fef3c7;
}

.cc-field {
  margin: 0.65rem 0;
  display: grid;
  gap: 0.25rem;
}

.cc-field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #475569;
}

.cc-line {
  border: none;
  border-bottom: 1px solid #94a3b8;
  min-height: 1.75rem;
  background: transparent;
  font: inherit;
  width: 100%;
  box-sizing: border-box;
}

.cc-line-inline {
  display: inline-block;
  min-width: 12rem;
  vertical-align: baseline;
  margin: 0 0.15rem;
}

.cc-sig-name-display {
  font-weight: 600;
  color: #1a365d;
}

.cc-sig-name-display.cc-sig-name-placeholder {
  font-weight: 400;
  font-style: italic;
  color: #64748b;
}

.cc-signature-field label {
  display: block;
  line-height: 1.4;
}

.cc-muted {
  font-size: 0.875rem;
  color: #64748b;
  font-style: italic;
  margin-top: 1.5rem;
}

.cc-referral {
  margin-top: 2rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

@media print {
  .no-print {
    display: none !important;
  }

  .client-consent-page {
    background: #fff;
  }

  .client-consent-document {
    max-width: none;
    padding: 0 0.5in 0.5in;
  }

  .client-consent-document h2 {
    page-break-after: avoid;
  }

  .signatory-block {
    page-break-inside: avoid;
  }

  .cc-scope-table {
    page-break-inside: avoid;
  }

  @page {
    margin: 12mm;
  }
}
