/* Takin Cyber — Teaser Scope Summary, Blurred Findings & Free Summary Styling (< 150 lines) */
.teaser-scope-summary-strip {
  box-sizing: border-box; width: 100%; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  background: #f0fdf4; border: 1.5px solid #86efac; border-radius: 12px;
  padding: 10px 14px; margin: 12px 0 14px 0; font-size: 0.88rem; line-height: 1.45;
  color: #166534; text-align: start; font-variant-numeric: tabular-nums;
  transition: all 160ms cubic-bezier(0.22, 1, 0.36, 1);
}
.teaser-scope-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; width: 100%; min-width: 0; }
.teaser-scope-copy { flex: 1 1 220px; min-width: 0; }
.scope-num { font-weight: 800; color: #047857; }
.teaser-scope-pages-pill {
  display: inline-flex; align-items: center; font-size: 0.74rem; font-weight: 800;
  color: #065f46; background: #d1fae5; border: 1px solid #a7f3d0; border-radius: 6px;
  padding: 2px 7px; margin-inline-start: auto; flex-shrink: 0;
}
.teaser-blurred-findings-preview { box-sizing: border-box; width: 100%; min-width: 0; margin: 14px 0; text-align: start; }
.teaser-blurred-heading { font-size: 0.92rem; font-weight: 800; color: #0f172a; margin-bottom: 8px; }
.teaser-blurred-list { display: flex; flex-direction: column; gap: 8px; width: 100%; min-width: 0; }
.teaser-blurred-row {
  box-sizing: border-box; width: 100%; min-width: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 12px;
  cursor: pointer; transition: border-color 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.teaser-blurred-row:hover { border-color: #059669; }
.teaser-blurred-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; text-align: start; }
.teaser-blurred-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.teaser-blurred-law { font-size: 0.76rem; font-weight: 800; color: #0f172a; background: #f1f5f9; border: 1px solid #cbd5e1; border-radius: 4px; padding: 2px 6px; }
.teaser-blurred-sev { font-size: 0.72rem; font-weight: 800; border-radius: 4px; padding: 2px 6px; }
.teaser-blurred-sev.is-sev-critical { color: #991b1b; background: #fee2e2; border: 1px solid #fca5a5; }
.teaser-blurred-sev.is-sev-high { color: #9a3412; background: #ffedd5; border: 1px solid #fed7aa; }
.teaser-blurred-sev.is-sev-medium { color: #854d0e; background: #fef9c3; border: 1px solid #fde047; }
.teaser-blurred-sev.is-sev-low { color: #1e3a8a; background: #dbeafe; border: 1px solid #bfdbfe; }
.teaser-blurred-affected { font-size: 0.72rem; font-weight: 800; color: #0369a1; background: #e0f2fe; border: 1px solid #bae6fd; border-radius: 4px; padding: 2px 6px; }
.teaser-blurred-secret { filter: blur(4.2px); user-select: none; pointer-events: none; font-size: 0.8rem; color: #64748b; line-height: 1.35; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.teaser-blurred-unlock-btn {
  min-height: 40px; padding: 6px 10px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  background: #ecfdf5; color: #065f46; font-weight: 800; font-size: 0.8rem; border: 1.5px solid #059669; border-radius: 8px; cursor: pointer;
  transition: background 140ms cubic-bezier(0.22, 1, 0.36, 1); white-space: nowrap;
}
.teaser-blurred-unlock-btn:hover { background: #d1fae5; }
.teaser-blurred-more-btn {
  width: 100%; min-height: 48px; margin-top: 8px; display: inline-flex; align-items: center; justify-content: center;
  background: #f8fafc; border: 1.5px dashed #059669; border-radius: 10px; color: #047857; font-weight: 800; font-size: 0.86rem; cursor: pointer;
  transition: all 140ms cubic-bezier(0.22, 1, 0.36, 1);
}
.teaser-blurred-more-btn:hover { background: #ecfdf5; border-style: solid; }

/* Secondary Free Summary & Section 30A Opt-In Box (WCAG AA >= 4.5:1) */
.teaser-secondary-channels {
  position: relative; overflow: hidden; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; margin-top: 14px;
  background: #f8fafc; border: 1.5px solid #cbd5e1; border-radius: 12px; padding: 12px 14px; text-align: start;
}
.secondary-btn-row { width: 100%; box-sizing: border-box; }
.btn-secondary-channel {
  box-sizing: border-box; width: 100%; min-height: 44px; padding: 8px 10px;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  background: transparent; border: none; border-radius: 8px; color: #0f172a;
  font-size: 0.9rem; font-weight: 800; text-align: start; cursor: pointer;
}
.btn-secondary-channel:focus-visible, .secondary-inline-input:focus-visible, .secondary-inline-submit:focus-visible { outline: 2px solid #047857; outline-offset: 2px; }
.secondary-inline-drawer, .secondary-drawer-inner { box-sizing: border-box; width: 100%; min-width: 0; }
.secondary-drawer-inner { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e2e8f0; }
.free-summary-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  width: 100%; min-width: 0; box-sizing: border-box;
}
.free-summary-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; box-sizing: border-box; }
.free-summary-label { font-size: 0.8rem; font-weight: 700; color: #1e293b; line-height: 1.35; }
.secondary-inline-input {
  box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 44px;
  padding: 9px 12px; border: 1.5px solid #94a3b8; border-radius: 8px;
  background: #ffffff; color: #0f172a; font-size: 0.9rem;
}
.secondary-inline-input::placeholder { color: #64748b; }
.hp-fax-trap { width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.sec30a-optin-label {
  box-sizing: border-box; width: 100%; min-height: 44px; margin: 10px 0 8px; padding: 9px 10px;
  display: flex; align-items: flex-start; gap: 10px; border-radius: 8px;
  background: #ffffff; border: 1px solid #cbd5e1; color: #1e293b; font-size: 0.81rem; line-height: 1.45; cursor: pointer;
}
.sec30a-optin-label input[type="checkbox"] { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: #047857; cursor: pointer; }
.free-summary-sec11-notice { margin: 0 0 10px; font-size: 0.76rem; line-height: 1.45; color: #334155; text-align: start; }
.free-summary-sec11-notice a { color: #047857; font-weight: 700; text-decoration: underline; }
.secondary-inline-submit {
  box-sizing: border-box; width: 100%; min-height: 48px; padding: 10px 16px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #047857; color: #ffffff; font-size: 0.92rem; font-weight: 800;
  border: none; border-radius: 10px; cursor: pointer; transition: background 140ms ease;
}
.secondary-inline-submit:hover { background: #065f46; }
.secondary-status-msg { box-sizing: border-box; width: 100%; margin-top: 8px; padding: 8px 10px; border-radius: 8px; font-size: 0.82rem; font-weight: 700; }
.secondary-status-msg.is-ok { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.secondary-status-msg.is-err { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }

/* Dark mode */
[data-theme="dark"] .teaser-scope-summary-strip { background: rgba(6, 95, 70, 0.25); border-color: #059669; color: #a7f3d0; }
[data-theme="dark"] .scope-num { color: #34d399; }
[data-theme="dark"] .teaser-scope-pages-pill { background: #064e3b; border-color: #047857; color: #6ee7b7; }
[data-theme="dark"] .teaser-blurred-heading, [data-theme="dark"] .btn-secondary-channel { color: #f8fafc; }
[data-theme="dark"] .teaser-blurred-row, [data-theme="dark"] .teaser-secondary-channels { background: #0f172a; border-color: #334155; }
[data-theme="dark"] .teaser-blurred-row:hover { border-color: #10b981; }
[data-theme="dark"] .teaser-blurred-law { background: #1e293b; border-color: #475569; color: #f8fafc; }
[data-theme="dark"] .teaser-blurred-secret, [data-theme="dark"] .secondary-inline-input::placeholder { color: #94a3b8; }
[data-theme="dark"] .teaser-blurred-more-btn { background: #0f172a; border-color: #10b981; color: #34d399; }
[data-theme="dark"] .teaser-blurred-more-btn:hover { background: rgba(16, 185, 129, 0.15); }
[data-theme="dark"] .teaser-blurred-unlock-btn { background: rgba(16, 185, 129, 0.14); color: #34d399; border-color: #10b981; }
[data-theme="dark"] .secondary-drawer-inner { border-top-color: #334155; }
[data-theme="dark"] .free-summary-label { color: #e2e8f0; }
[data-theme="dark"] .secondary-inline-input { background: #1e293b; border-color: #475569; color: #f8fafc; }
[data-theme="dark"] .sec30a-optin-label { background: #1e293b; border-color: #334155; color: #f1f5f9; }
[data-theme="dark"] .free-summary-sec11-notice { color: #cbd5e1; }
[data-theme="dark"] .free-summary-sec11-notice a { color: #34d399; }
[data-theme="dark"] .secondary-status-msg.is-ok { background: rgba(6, 95, 70, 0.35); border-color: #10b981; color: #a7f3d0; }
[data-theme="dark"] .secondary-status-msg.is-err { background: rgba(153, 27, 27, 0.35); border-color: #f87171; color: #fecaca; }

@media (max-width: 640px) {
  .free-summary-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .teaser-blurred-row { flex-direction: row; align-items: center; gap: 8px; }
  .teaser-blurred-unlock-btn { width: auto; min-height: 40px; }
  .teaser-scope-pages-pill { margin-inline-start: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .teaser-scope-summary-strip, .teaser-blurred-row, .teaser-blurred-unlock-btn, .teaser-blurred-more-btn, .secondary-inline-submit { transition: none; }
}
