/* Component-local styles; palette and typography inherited from pinned guide.css. */
.consent{max-width:52rem;margin:2rem auto;background:#fff;border:1px solid var(--line);border-radius:1rem;padding:clamp(1.25rem,4vw,2rem);color:var(--ink)}
.consent h2{font-size:clamp(1.65rem,4vw,2.15rem);max-width:25ch;margin-bottom:1rem}
.consent .eyebrow{color:var(--blue);margin-bottom:.5rem}
.consent fieldset{border:0;padding:0;margin:1.25rem 0}
.consent legend{font-weight:800;margin-bottom:.75rem}
.consent-choice{display:flex;align-items:flex-start;gap:.85rem;border-top:1px solid var(--line);padding:1rem 0;cursor:pointer}
.consent-choice input{accent-color:var(--blue);width:1.5rem;height:1.5rem;flex:0 0 1.5rem;margin:.15rem 0 0}
.consent-choice strong,.consent-choice small{display:block}.consent-choice small{font-size:.95rem;color:var(--muted);line-height:1.5;margin-top:.25rem}
.consent-actions{display:flex;flex-wrap:wrap;gap:.75rem}
.consent button{border:1.5px solid var(--blue);border-radius:.65rem;padding:.8rem 1rem;min-height:48px;font-size:.95rem;font-weight:750;background:white;color:var(--blue);line-height:1.4}
.consent-actions button{flex:1 1 12rem}.consent-actions button[type=submit]{flex-basis:100%}
.consent button:hover:not(:disabled){background:#DDE5FF}.consent button:disabled{opacity:.65}
.consent-status{margin-top:1rem!important;color:var(--muted);font-size:.95rem;min-height:3rem}
.consent-manage{display:flex;gap:.75rem;flex-wrap:wrap}
.preview-header{display:flex;gap:1rem;align-items:center;justify-content:space-between;padding:1.25rem 0}.preview-header img{width:160px;height:auto}
.preview-banner{padding:1rem;background:#FFF0C9;border-radius:.5rem;color:#744900}
.preview-banner a{font-weight:bold}.preview-tools{margin-block:1rem;display:flex;gap:1rem;flex-wrap:wrap}
@media(max-width:500px){.consent-actions button,.consent-manage button{width:100%;flex-basis:100%}.consent{margin-block:1.25rem}.preview-header{align-items:flex-start;flex-direction:column}}

/* Portal compatibility; scoped, no change to the portal's global tokens. */
.consent{--blue:#193A8A;--line:#B4C1B9;--muted:#4D5955;--ink:#192321;margin:1rem 0;max-width:none}
.consent h2{color:var(--ink)}.consent-choice{margin:0}.consent-choice input{min-height:24px;max-width:24px;padding:0}
