.lf-profile{border:1px solid var(--line,#d9d2c6);border-radius:22px;background:var(--paper,#f6f2ea);color:var(--ink,#0f1a2b);padding:0;width:min(620px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;box-shadow:0 24px 90px #0f1a2b40}
.lf-profile::backdrop{background:#0f1a2b99}
.lf-profile *{box-sizing:border-box}
.lf-profile-header{padding:26px 28px 0;display:flex;justify-content:space-between;align-items:center;gap:16px}
.lf-profile-kicker{font-size:11px;letter-spacing:.15em;font-weight:700;color:#96672e;margin:0}
.lf-profile-close{background:transparent;border:1px solid var(--line,#d9d2c6);border-radius:50%;width:38px;height:38px;font-size:24px;color:inherit;cursor:pointer;flex-shrink:0}
.lf-profile-content{padding:0 28px 24px}
.lf-profile h2{font-size:28px;line-height:1.12;letter-spacing:-.035em;margin:16px 0 12px}
.lf-profile-intro,.lf-profile-note{color:var(--muted,#5b6067);font-size:13px;line-height:1.6}
.lf-profile fieldset{border:0;padding:0;margin:22px 0}
.lf-profile legend,.lf-profile-label{display:block;font-weight:700;font-size:14px;margin-bottom:10px}
.lf-profile-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.lf-profile-choice{display:flex;align-items:center;gap:10px;background:var(--paper2,#fffdf8);border:1px solid var(--line,#d9d2c6);border-radius:10px;padding:11px 12px;min-height:45px;font-size:13px;line-height:1.4;cursor:pointer}
.lf-profile-choice:has(input:checked){border-color:var(--gold,#c69755);background:#f2e4cd}
.lf-profile-choice input{accent-color:#96672e;width:16px;height:16px;margin:0;flex-shrink:0}
.lf-profile textarea,.lf-profile input[type=text]{width:100%;border:1px solid var(--line,#d9d2c6);background:var(--paper2,#fffdf8);border-radius:9px;padding:12px;font:inherit;font-size:16px;color:inherit}
.lf-profile textarea{resize:vertical;min-height:84px}
.lf-profile-step[hidden],.lf-profile [hidden]{display:none!important}
.lf-profile-progress{font-size:12px;color:var(--muted,#5b6067);margin:20px 0 0}
.lf-profile-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:18px 0 0}
.lf-profile-primary{background:var(--ink,#0f1a2b);color:white;border:0;border-radius:999px;padding:14px 22px;font:inherit;font-size:14px;font-weight:700;cursor:pointer}
.lf-profile-primary:disabled{opacity:.65;cursor:wait}
.lf-profile-secondary{border:0;background:transparent;color:var(--muted,#5b6067);font:inherit;font-size:13px;padding:12px 0;cursor:pointer;text-decoration:underline;text-underline-offset:4px}
.lf-profile-status{font-size:13px;line-height:1.5;color:#9a3026;margin:12px 0}
.lf-profile-reopen{background:transparent;border:0;color:#96672e;text-decoration:underline;text-underline-offset:4px;padding:12px 0;font:inherit;font-size:13px;cursor:pointer}
.lf-profile-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.lf-profile :focus-visible,.lf-profile-reopen:focus-visible{outline:3px solid var(--gold,#c69755);outline-offset:3px}
body.lf-profile-open{overflow:hidden}
@media(max-width:480px){.lf-profile-header{padding:20px 20px 0}.lf-profile-content{padding:0 20px 20px}.lf-profile h2{font-size:25px}.lf-profile-options{grid-template-columns:1fr}.lf-profile-choice{padding:10px 12px}.lf-profile-actions{flex-wrap:wrap}}

.lf-profile-expert{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:100%;min-height:112px;text-align:center;background:linear-gradient(100deg,#d8a958,#efc77b);color:#0f1a2b;border:2px solid #bb8840;border-radius:18px;padding:24px 18px;margin-top:28px;text-decoration:none;box-shadow:0 8px 24px #0f1a2b26}
.lf-profile-expert span{display:block;font-size:15px;font-weight:600;line-height:1.4}
.lf-profile-expert strong{display:block;font-size:22px;font-weight:800;line-height:1.25;max-width:480px}
.lf-profile-expert:hover{filter:brightness(1.04);box-shadow:0 10px 28px #0f1a2b30}
@media(max-width:480px){.lf-profile-expert{min-height:120px;padding:22px 16px;border-radius:16px}.lf-profile-expert strong{font-size:20px}.lf-profile-expert span{font-size:14px}}

/* Compact questionnaire: all questions on one screen. */
.lf-profile h2{font-size:26px;margin:14px 0 8px}.lf-profile fieldset{margin:16px 0}.lf-profile-choice{min-height:38px;padding:8px 10px}.lf-profile legend{margin-bottom:8px}.lf-profile-more{font-size:13px;margin:14px 0}.lf-profile-more summary{cursor:pointer;color:#96672e;font-weight:600}.lf-profile-more .lf-profile-label{margin-top:14px}.lf-profile-expert{margin-top:18px;min-height:100px;padding:20px 16px}
@media(max-width:480px){.lf-profile-options{grid-template-columns:1fr 1fr;gap:6px}.lf-profile-choice{font-size:12px;gap:7px;padding:8px}.lf-profile-content{padding-inline:16px}.lf-profile-header{padding-inline:16px}.lf-profile h2{font-size:23px}.lf-profile-expert strong{font-size:19px}.lf-profile-expert{min-height:110px}}
