/* Scoped to the optional landing invitation and its native dialog. */
.fk-personalize { padding-block: var(--fk-section-space, 52px); }
.fk-personalize h2 { margin: 0 0 18px; font: 400 var(--fk-section-title, 42px)/1.15 Georgia, serif; color: var(--ink, #172b3a); }
.fk-personalize p { max-width: 72ch; font-size: 18px; line-height: 1.6; }
.fk-personalize .button { margin-top: 12px; }
.fk-personalize [hidden], .fk-personalize-dialog [hidden] { display: none !important; }
.fk-personalize-dialog { box-sizing: border-box; width: min(700px, calc(100% - 24px)); max-width: calc(100% - 24px); max-height: calc(100dvh - 32px); margin: auto; padding: clamp(20px, 4vw, 36px); overflow-y: auto; border: 1px solid #293e51; border-radius: 8px; background: #fff; color: #172b3a; font: 400 18px/1.55 Avenir, 'Avenir Next', system-ui, sans-serif; }
.fk-personalize-dialog::backdrop { background: rgb(23 43 58 / 65%); }
.fk-personalize-top { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.fk-personalize-dialog h2 { margin: 0; font: 400 clamp(28px, 4vw, 38px)/1.15 Georgia, serif; }
.fk-personalize-dialog h3 { font: 400 28px/1.2 Georgia, serif; margin: 20px 0 14px; }
.fk-personalize-dialog p { margin: 14px 0; }
.fk-personalize-dialog .fk-personalize-note { font-size: 16px; color: #425361; }
.fk-personalize-dialog .fk-personalize-field { margin: 22px 0; }
.fk-personalize-dialog label { display: block; margin-bottom: 8px; font-weight: 500; }
.fk-personalize-dialog select { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-height: 48px; padding: 10px 32px 10px 12px; border: 1px solid #60717e; border-radius: 4px; background: #fff; color: #172b3a; font: inherit; font-size: 16px; }
.fk-personalize-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 24px; }
.fk-personalize-dialog button { min-height: 44px; cursor: pointer; font: inherit; font-size: 16px; white-space: normal; }
.fk-personalize-dialog .button { border: 1px solid #eac369; border-radius: 28px; padding: 12px 20px; background: #eac369; color: #172b3a; }
.fk-personalize-close, .fk-personalize-reset { border: 0; padding: 8px 4px; background: transparent; color: #293e51; text-decoration: underline; text-underline-offset: 4px; }
.fk-personalize-close { flex-shrink: 0; }
.fk-personalize-dialog :is(button, select, a):focus-visible, .fk-personalize button:focus-visible, #personalize-results-title:focus { outline: 3px solid #2a4e6e; outline-offset: 4px; }
@media (max-width: 420px) { .fk-personalize-top { gap: 10px; } .fk-personalize-dialog { padding: 18px; } .fk-personalize-actions { align-items: stretch; flex-direction: column; } .fk-personalize-dialog .button { width: 100%; } }
/* Recommendation stories reuse the site's existing photo-advice component unchanged. */
.fk-personalize-results { margin-top: 36px; }
.fk-personalize-results > h3 { font: 400 var(--fk-card-title, 32px)/1.2 Georgia, serif; scroll-margin-top: 108px; }
.fk-personalize-results .fk-personalize-reset { min-height: 44px; font: inherit; cursor: pointer; }
.fk-personalize-results .photo-advice-photo { text-decoration: none; }
.fk-personalize-results .photo-advice-photo:focus-visible { outline: 3px solid #2a4e6e; outline-offset: 4px; }
