.headshot-feature{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(0,1.1fr);background:#fff;border:1px solid var(--line);border-radius:18px;overflow:hidden;margin-bottom:36px}.headshot-feature-image{position:relative;background:#d9d8d3}.headshot-feature-image>img{display:block;width:100%;height:100%;max-height:520px;object-fit:cover;object-position:center 30%}.headshot-example{position:absolute;bottom:18px;left:18px;background:#fffdf2ec;padding:7px 10px;border-radius:6px;font-size:10px;color:var(--ink)}.headshot-feature-copy{padding:clamp(25px,4vw,58px);align-self:center}.headshot-badges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}.headshot-badges span{border:1px solid #d9e0d4;border-radius:20px;padding:6px 10px;color:#54705c;font-size:10px}.headshot-feature h2{font-size:clamp(27px,3vw,42px);line-height:1.13;letter-spacing:-1.4px;max-width:430px;margin:13px 0 19px}.headshot-feature-copy>p{font-size:14px;line-height:1.8;color:var(--muted);max-width:440px}.headshot-facts{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:11px;color:#6f7b74;margin:24px 0}.headshot-feature .primary-button{max-width:300px;display:flex;justify-content:space-between;gap:30px}.headshot-footnote{font-size:10px!important;margin-top:14px}.more-templates-heading{font-size:19px;margin:0 0 20px}.headshot-feature button svg{width:17px;height:17px}
#headshot-dialog{width:min(1020px,calc(100% - 32px));max-height:92dvh;padding:0;overflow:auto;border-radius:18px}#headshot-dialog>.headshot-dialog-top{padding:18px 22px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line)}.headshot-dialog-top>span{font-size:12px;font-weight:600}.headshot-detail{display:grid;grid-template-columns:.85fr 1.15fr}.headshot-detail-visual{padding:26px;background:#eeeee6}.headshot-detail-visual img{display:block;aspect-ratio:1/1;width:100%;object-fit:cover;border-radius:10px}.headshot-detail-visual h3{font-size:16px;margin:21px 0 10px}.headshot-detail-visual p{font-size:12px;line-height:1.8;color:var(--muted)}.headshot-detail-form{padding:28px}.headshot-detail-form h2{font-size:27px;letter-spacing:-.7px;margin:8px 0 12px}.headshot-detail-form>p{font-size:13px;color:var(--muted);line-height:1.7}.headshot-destination{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:22px 0 14px}.headshot-destination select{font-size:12px;max-width:170px}.headshot-text-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:20px 0 9px}.headshot-text-heading button{font-size:10px;color:var(--coral);text-align:right}#headshot-prompt{font:inherit;font-size:13px;line-height:1.75;width:100%;min-height:245px;border:1px solid var(--line);border-radius:9px;padding:14px;background:#fafbf7;resize:vertical}.headshot-prompt-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin:8px 0 20px}.headshot-detail-actions{display:flex;gap:12px;align-items:center}.headshot-detail-actions .primary-button{flex:1;padding:14px}.headshot-detail-actions .secondary-button{padding:13px}.headshot-detail-note{font-size:10px!important;margin-top:15px}
@media(max-width:960px){.headshot-feature-copy{padding:25px}.headshot-feature h2{font-size:30px}.headshot-detail{grid-template-columns:.8fr 1.2fr}.headshot-detail-form,.headshot-detail-visual{padding:20px}}
@media(max-width:700px){.headshot-feature{grid-template-columns:1fr}.headshot-feature-image>img{max-height:360px;aspect-ratio:1/1}.headshot-feature-copy{padding:25px}.headshot-feature h2{font-size:32px}.headshot-feature .primary-button{max-width:none}.headshot-detail{grid-template-columns:1fr}.headshot-detail-visual img{max-width:230px;margin:auto}.headshot-detail-visual{padding:20px}.headshot-detail-visual h3{margin-top:14px}.headshot-detail-form{padding:22px}#headshot-prompt{font-size:16px;min-height:300px}.headshot-detail-actions{flex-wrap:wrap}.headshot-detail-actions .primary-button{min-width:170px}.headshot-destination{align-items:flex-start;flex-direction:column}.headshot-destination select{max-width:none;width:100%}.headshot-text-heading{align-items:flex-start}.headshot-text-heading button{font-size:11px;max-width:130px}.headshot-detail-form h2{font-size:25px}}

.headshot-looks{margin:0 0 40px}.headshot-looks h2{font-size:22px;margin:0 0 8px}.headshot-looks>p{color:var(--muted);font-size:13px;margin:0 0 20px}.headshot-looks-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}.headshot-look{text-align:left;border:1px solid var(--line);border-radius:12px;overflow:hidden;background:#fff;transition:transform .18s,border-color .18s}.headshot-look:hover{transform:translateY(-3px);border-color:var(--coral)}.headshot-look:focus-visible{outline:3px solid var(--coral);outline-offset:4px}.headshot-look>img{width:100%;display:block;aspect-ratio:1;object-fit:cover}.headshot-look>span{display:flex;justify-content:space-between;gap:5px;padding:14px 10px;font-size:12px;font-weight:600}.headshot-look>span>span{color:var(--coral)}@media(max-width:1000px){.headshot-looks-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:600px){.headshot-looks-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.headshot-look>span{font-size:11px}}
.headshot-workspace{background:#fff;border:1px solid var(--line);margin:0 0 38px;scroll-margin-top:24px}.headshot-workspace[hidden]{display:none!important}#headshot-dialog.headshot-workspace{width:100%;max-height:none;border-radius:18px;overflow:hidden}.headshot-upload{background:#f6f6f0;border:1px dashed #b8bfb5;border-radius:12px;padding:18px;margin:20px 0}.headshot-upload>p{font-size:12px;line-height:1.7;color:var(--muted)}.headshot-upload input[type=file]{display:block;max-width:100%;font:inherit;font-size:12px;margin:15px 0}.headshot-upload input[type=file]::file-selector-button{border:1px solid var(--line);background:white;border-radius:7px;padding:10px;cursor:pointer;margin-right:12px}.headshot-consent{display:flex;align-items:flex-start;gap:10px;font-size:11px;line-height:1.6;margin:16px 0}.headshot-consent input{width:17px;height:17px;flex-shrink:0;margin-top:3px}.headshot-upload .secondary-button{font-size:12px;padding:11px}#headshot-reference-preview{width:120px;height:120px;object-fit:cover;border-radius:9px;margin:12px 0}.headshot-customise{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:20px 0}.headshot-customise summary{cursor:pointer;font-size:13px;font-weight:600}.headshot-generate-area>.primary-button{width:100%;justify-content:center}.headshot-generate-area p{font-size:12px;color:var(--muted);line-height:1.7}#headshot-job-status{color:var(--ink)}#headshot-result{padding:20px;background:#f1f4ec;border-radius:12px;margin:20px 0}#headshot-result-image{width:100%;max-width:400px;border-radius:10px}#headshot-result p,#headshot-result a{font-size:12px}.headshot-detail-actions{margin-top:22px}.headshot-detail-actions button{font-size:11px}.headshot-workspace button:disabled{opacity:.48;cursor:not-allowed}.headshot-workspace .headshot-detail-visual{align-self:start}.headshot-workspace .headshot-detail{align-items:start}@media(min-width:701px){.headshot-workspace .headshot-detail-visual{position:sticky;top:20px}}@media(max-width:700px){.headshot-workspace .headshot-detail-visual img{max-width:190px}.headshot-upload{padding:14px}.headshot-consent{font-size:12px}}

/* Same-page sample preview and comfortable touch controls. */
.headshot-sample{padding:20px;border:1px solid #dddccf;background:#faf9f3;border-radius:12px;margin:20px 0}.headshot-sample-label{font-size:10px!important;letter-spacing:1.1px;font-weight:700;color:#68745e}.headshot-sample h3{font-size:18px;margin:9px 0}.headshot-sample p,.headshot-sample figcaption{font-size:12px;line-height:1.7;color:var(--muted)}.headshot-sample figure{margin:18px 0 0}.headshot-sample img{display:block;width:100%;max-width:360px;border-radius:10px}.headshot-sample figcaption{margin-top:10px}.headshot-look[aria-pressed=true]{border-color:var(--coral);box-shadow:0 0 0 2px var(--coral)}.headshot-look:disabled{opacity:.6;cursor:wait}.headshot-workspace button,.headshot-workspace select{min-height:44px}.headshot-workspace :focus-visible{outline:3px solid var(--coral);outline-offset:3px}.headshot-detail-form{min-width:0}.headshot-upload{overflow-wrap:anywhere}#headshot-reference-preview{object-fit:contain;background:#e8e9e2;width:100%;height:220px}.headshot-detail-form [hidden]{display:none!important}.headshot-dialog-top{gap:12px}.headshot-dialog-top .icon-button{flex-shrink:0;min-width:44px}@media(max-width:700px){.headshot-workspace .headshot-detail-visual{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px 16px}.headshot-workspace .headshot-detail-visual img{width:92px;grid-row:1/4}.headshot-workspace .headshot-detail-visual h3{margin:0}.headshot-workspace .headshot-detail-visual p{margin:0;font-size:11px}.headshot-detail-form{padding:18px}.headshot-workspace input[type=file],.headshot-workspace select{font-size:16px}.headshot-sample{padding:16px}.headshot-detail-actions{display:grid;grid-template-columns:1fr 1fr}.headshot-detail-actions .primary-button{min-width:0}}
@media(prefers-reduced-motion:reduce){.headshot-look{transition:none}.headshot-look:hover{transform:none}}

.collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:38px}.collection-card{overflow:hidden;border:1px solid var(--line);border-radius:16px;background:white}.collection-card>img{display:block;width:100%;aspect-ratio:1;object-fit:cover}.collection-copy{padding:22px}.collection-copy h3{font-size:21px;margin:12px 0}.collection-copy p{font-size:13px;line-height:1.8;color:var(--muted);margin-bottom:18px}.collection-copy button{font-size:12px}.collection-section h2{font-size:25px;letter-spacing:-.6px}#collection-workspace{border-radius:18px;overflow:hidden}#collection-workspace>.headshot-dialog-top{display:flex;align-items:center;justify-content:space-between;padding:18px 22px;border-bottom:1px solid var(--line)}#collection-form .creator-panel{padding:20px 0 0;border:0;box-shadow:none}#collection-form .panel-heading,#collection-form .media-switch{display:none}#collection-form #prompt{min-height:240px}#collection-output{margin-top:22px}#collection-output .art-stage{padding:8px}#collection-output .canvas-toolbar{padding:12px}#collection-output .art-actions{flex-wrap:wrap;gap:10px}#collection-output .headshot-detail-visual{position:static}#collection-workspace .headshot-detail-visual img{aspect-ratio:auto}#collection-workspace .headshot-detail-visual{position:static}@media(max-width:800px){.collection-grid{grid-template-columns:1fr}.collection-card{display:grid;grid-template-columns:35% 65%;align-items:center}.collection-copy{padding:18px}.collection-copy h3{font-size:19px}.collection-card>img{height:100%;min-height:220px}.collection-section h2{font-size:22px}}@media(max-width:700px){#collection-output{grid-column:1/-1}#collection-output img{width:100%;max-width:none}#collection-workspace .headshot-detail-visual>img{aspect-ratio:1;object-fit:cover}.collection-copy p{font-size:12px}.collection-copy .eyebrow{font-size:8px}#collection-form #prompt{font-size:16px}}

.reference-help{font-size:.75rem;color:var(--muted);line-height:1.5}.reference-help + #reference-preview{flex-wrap:wrap}#reference-extras,#headshot-reference-extras{display:flex;gap:8px;flex-wrap:wrap}#reference-extras img,#headshot-reference-extras img{width:64px;height:64px;object-fit:cover;border-radius:8px}#reference-name{overflow-wrap:anywhere;min-width:0;flex:1}

/* A focused arrival from bridal adverts; the existing editor remains below. */
.bridal-focused > :not(.bridal-landing):not(#collection-workspace){display:none!important}
.bridal-landing{display:grid;grid-template-columns:1fr 1fr;gap:32px;align-items:center;max-width:1100px;margin:auto;padding:24px 0}
.bridal-landing[hidden]{display:none}
.bridal-hero-copy h1{font-size:clamp(36px,5vw,64px);line-height:1.08;margin:18px 0}
.bridal-hero-copy p{font-size:19px;line-height:1.6}.bridal-hero-copy small{display:block;line-height:1.6;color:#485e60}
.bridal-hero-copy .primary-button{margin:12px 0;width:100%;min-height:54px}
.bridal-free{font-weight:700;margin:8px 0}.bridal-signin{display:block;background:transparent;border:0;text-decoration:underline;padding:16px 0;color:#19363b;cursor:pointer}
.bridal-hero-image{margin:0}.bridal-hero-image img{width:100%;max-height:580px;object-fit:cover;border-radius:24px}.bridal-hero-image figcaption{font-size:12px;padding:10px 0;color:#485e60}
.bridal-steps,.bridal-options,.bridal-fineprint{grid-column:1/-1}.bridal-steps{background:#e7eee7;border-radius:24px;padding:24px}.bridal-steps ol{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:20px;padding:0}.bridal-steps strong,.bridal-steps span{display:block;margin:8px 0;line-height:1.5}
.bridal-options-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.bridal-option{background:white;border:1px solid #d9dfd8;border-radius:18px;overflow:hidden;padding:0 0 18px;color:#19363b;cursor:pointer;text-align:left}.bridal-option img,.bridal-own{width:100%;height:260px;object-fit:cover}.bridal-own{display:grid;place-items:center;background:#e7eee7;padding:20px;box-sizing:border-box}.bridal-option strong,.bridal-option>span:not(.bridal-own){display:block;padding:8px 16px 0}.bridal-fineprint{font-size:13px;line-height:1.6;color:#485e60}
@media(max-width:700px){.bridal-landing{grid-template-columns:1fr;gap:20px;padding-top:0}.bridal-hero-image img{max-height:380px;object-position:center 35%}.bridal-steps ol{grid-template-columns:1fr;gap:8px}.bridal-options-grid{grid-template-columns:1fr 1fr}.bridal-option:last-child{grid-column:1/-1}.bridal-option img{height:220px}.bridal-own{height:100px}}

.bridal-signin[hidden]{display:none}

body:has(.bridal-focused) .app-download-strip{display:none}
.bridal-hero-copy .primary-button{font-size:17px;font-weight:700}
