.photo-options #studio-appearance{grid-column:1/-1;min-width:0}
.appearance-open{width:100%;text-align:left;color:var(--ink);font:inherit;cursor:pointer;gap:15px;border:0;border-radius:0;background:var(--card);box-shadow:none}
.appearance-open:focus-visible{outline-offset:-3px}
.appearance-open .photo-option-copy{min-width:0;flex:1}
.appearance-open .photo-option-copy small{line-height:1.5;overflow-wrap:anywhere}
.appearance-open.has-selection{border-color:#abc2f4;background:#f6f9ff}
.appearance-chevron{flex-shrink:0;width:22px;height:22px;fill:none;stroke:var(--blue,#2458eb);stroke-width:1.8;transition:transform .18s ease}
.appearance-open[aria-expanded=true] .appearance-chevron{transform:rotate(180deg)}
.appearance-icon{display:grid;place-items:center;width:46px;height:46px;border-radius:12px;flex:0 0 auto;background:#eaf0ff;color:#284d8e}
.appearance-icon svg{width:38px;height:36px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.appearance-open>.appearance-icon{border-radius:14px;background:#edf2fc;color:#355586}
.appearance-open>.appearance-icon svg{width:34px;height:32px;stroke-width:1.5}
.appearance-icon .portrait-hair{stroke:#7991bd}.appearance-icon .portrait-detail{stroke:#355586}
.appearance-icon .icon-accent{stroke:#258e91}.appearance-icon .icon-fill{fill:#c4d6f8}
.appearance-icon.aqua{background:#e5f4f1;color:#225c62}.appearance-icon.aqua .icon-accent{stroke:#36a38f}
.appearance-icon.rose{background:#fbecee;color:#8a455b}.appearance-icon.rose .icon-fill{fill:#e3a6b7}
.appearance-icon.lilac{background:#f0ecfa;color:#645087}.appearance-icon.lilac .icon-accent{stroke:#adb1c4}
.appearance-icon.sand{background:#faf0da;color:#896324}.appearance-icon.sand .icon-accent{stroke:#c19a39}
.appearance-panel{padding-top:17px}
#appearance-inline>.appearance-panel{padding:17px 18px 18px;border-top:1px solid var(--line)}
.appearance-intro{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:14px}
.appearance-intro p{margin:0;color:var(--muted);font-size:12px;line-height:1.7}
.appearance-reset{flex-shrink:0;background:none;border:0;padding:8px 0 8px 8px;min-height:44px;font:inherit;font-size:12px;color:var(--blue,#2458eb)}
.appearance-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}
.appearance-column{display:flex;flex-direction:column;gap:10px;min-width:0}
.appearance-card{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--card);overflow:hidden;transition:border-color .16s ease,background-color .16s ease}
.appearance-card.is-selected{border-color:#89acf4;background:#f6f9ff}
.appearance-control{position:relative;display:flex;align-items:center;gap:11px;min-height:107px;padding:14px 12px;cursor:pointer}
.appearance-control .appearance-icon{width:41px;height:44px;border-radius:10px}
.appearance-control .appearance-icon svg{width:34px;height:33px}
.appearance-copy{flex:1;min-width:0}.appearance-copy strong{display:block;color:var(--ink);font-size:13px;font-weight:600;line-height:1.4}.appearance-copy small{display:block;margin-top:4px;font-size:11px;line-height:1.5;color:var(--muted)}
.appearance-control input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.appearance-switch{position:relative;display:block;flex:0 0 35px;width:35px;height:21px;border-radius:20px;background:#b8c4d4;transition:background .16s ease}
.appearance-switch::after{content:'';position:absolute;left:3px;top:3px;width:15px;height:15px;border-radius:50%;background:#fff;transition:transform .16s ease;box-shadow:0 1px 3px #14274725}
.appearance-control input:checked+.appearance-switch{background:var(--blue,#2458eb)}
.appearance-control input:checked+.appearance-switch::after{transform:translateX(14px)}
.appearance-control:has(input:focus-visible){outline:3px solid #8faefa;outline-offset:-3px;border-radius:11px}
.appearance-style{display:block;min-width:0;margin:0;padding:0 12px 14px;border:0}.appearance-style[hidden]{display:none}
.appearance-style legend{float:left;width:100%;margin-bottom:9px;padding:0;font-size:11px;line-height:1.5;color:var(--muted)}
.appearance-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;clear:both}
.appearance-choice{position:relative;min-width:0;cursor:pointer}
.appearance-choice input{position:absolute;width:1px;height:1px;opacity:0;margin:0}
.appearance-choice-content{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:5px;height:100%;min-height:93px;padding:11px 9px 10px;border:1px solid #dbe3ef;border-radius:10px;background:var(--card);color:var(--ink);transition:border-color .15s ease,background-color .15s ease}
.appearance-choice-label{font-size:12px;font-weight:500;line-height:1.45;overflow-wrap:anywhere;padding-right:2px}
.appearance-style-preview{width:39px;height:34px;fill:none;stroke:currentColor;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}
.hair-preview .style-face{stroke:#8190a8}.hair-preview .style-hair{fill:#dce5f5;stroke:#536b92}
.makeup-preview{width:44px;height:31px;color:#876e76}.makeup-preview .style-lip{stroke:#bf8c95;fill:#f7e5e8}.makeup-preview .style-lip-filled{fill:#dc9fad;stroke:#bc7488}
.appearance-choice-check{position:absolute;right:8px;top:10px;display:grid;place-items:center;width:16px;height:16px;border:1px solid #dbe3ef;border-radius:50%;background:var(--card);color:transparent}
.appearance-choice-check svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.appearance-choice input:checked+.appearance-choice-content{border-color:#7199ed;background:#edf3ff}
.appearance-choice input:checked+.appearance-choice-content .appearance-choice-label{color:#244f9d}
.appearance-choice input:checked+.appearance-choice-content .appearance-choice-check{border-color:var(--blue,#2458eb);background:var(--blue,#2458eb);color:#fff}
.appearance-choice input:focus-visible+.appearance-choice-content{outline:3px solid #8faefa;outline-offset:2px}
@media(hover:hover){.appearance-choice:hover .appearance-choice-content{border-color:#8ca7d4;background:#f8faff}}
dialog.appearance-dialog{width:calc(100% - 24px);max-width:560px;max-height:calc(100dvh - 24px);margin:auto;padding:0;border:1px solid var(--line);border-radius:19px;background:var(--card);color:var(--ink);overflow:hidden}
body.appearance-dialog-open{overflow:hidden}
.appearance-dialog[open]{display:flex;flex-direction:column}
.appearance-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:21px 20px 16px;border-bottom:1px solid var(--line);flex-shrink:0}
.appearance-dialog-head h2{margin:0;font-size:21px;line-height:1.3;letter-spacing:-.5px}
.appearance-dialog-close{display:grid;place-items:center;min-width:40px;min-height:40px;padding:0;border:1px solid var(--line);border-radius:50%;background:var(--bg);color:var(--ink)}
.appearance-dialog-close svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.appearance-dialog-content{overflow-y:auto;overscroll-behavior:contain;padding:0 20px 20px;min-height:0;-webkit-overflow-scrolling:touch}
.appearance-dialog-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:14px 20px calc(14px + env(safe-area-inset-bottom,0px));border-top:1px solid var(--line);background:var(--card);flex-shrink:0}
.appearance-dialog-footer>span{font-size:12px;color:var(--muted)}
.appearance-dialog-footer .primary{min-height:46px;min-width:124px;font-size:14px;margin:0}
.appearance-summary{font-size:12px;line-height:1.65;color:var(--muted);margin:8px 0 15px}
@media(min-width:651px) and (max-width:1050px){.appearance-grid{grid-template-columns:1fr}.appearance-control{min-height:86px}}
@media(max-width:650px){.appearance-open{gap:12px}.appearance-open .appearance-icon{width:40px;height:42px}.appearance-open .photo-option-copy strong{font-size:14px}.appearance-open .photo-option-copy small{font-size:11px}.appearance-grid{grid-template-columns:1fr;gap:9px}.appearance-control{min-height:89px;padding:13px;gap:13px}.appearance-control .appearance-icon{width:44px;height:47px}.appearance-copy strong{font-size:14px}.appearance-copy small{font-size:12px}.appearance-switch{flex-basis:39px;width:39px;height:24px}.appearance-switch::after{width:18px;height:18px}.appearance-control input:checked+.appearance-switch::after{transform:translateX(15px)}.appearance-intro p{font-size:11px}.appearance-dialog-content{padding-right:15px;padding-left:15px}.appearance-dialog-head{padding-right:15px;padding-left:18px}.appearance-style{padding:0 13px 13px}.appearance-choice-label{font-size:12px}.appearance-choice-content{min-height:98px;padding:12px 11px 11px}.appearance-choices{gap:8px}.appearance-intro{gap:8px}.appearance-reset{font-size:11px}}
:root[data-theme=dark] .appearance-open.has-selection,:root[data-theme=dark] .appearance-card.is-selected{background:#223956;border-color:#5c82c4}
:root[data-theme=dark] .appearance-icon{background:#2d4268;color:#c0d5ff}:root[data-theme=dark] .appearance-icon.aqua{background:#24484b;color:#b1e1db}:root[data-theme=dark] .appearance-icon.rose{background:#4d3444;color:#efbfd2}:root[data-theme=dark] .appearance-icon.lilac{background:#413957;color:#d7c9ee}:root[data-theme=dark] .appearance-icon.sand{background:#4c4129;color:#f0d695}:root[data-theme=dark] .appearance-icon .icon-fill{fill:#526b94}
:root[data-theme=dark] .appearance-icon .portrait-hair{stroke:#91acd8}:root[data-theme=dark] .appearance-icon .portrait-detail{stroke:#c0d5ff}
:root[data-theme=dark] .appearance-choice-content,:root[data-theme=dark] .appearance-choice-check{border-color:#465775;background:var(--card)}
:root[data-theme=dark] .appearance-choice input:checked+.appearance-choice-content{background:#263e61;border-color:#7d9ddd}
:root[data-theme=dark] .appearance-choice input:checked+.appearance-choice-content .appearance-choice-label{color:#d0dfff}
:root[data-theme=dark] .appearance-choice input:checked+.appearance-choice-content .appearance-choice-check{background:var(--blue,#2458eb);color:#fff}
:root[data-theme=dark] .hair-preview .style-hair{fill:#516785;stroke:#b2c6e9}:root[data-theme=dark] .hair-preview .style-face{stroke:#9dadc4}:root[data-theme=dark] .makeup-preview{color:#e5c7d0}
@media(prefers-reduced-motion:reduce){.appearance-chevron,.appearance-card,.appearance-switch,.appearance-switch::after,.appearance-choice-content{transition:none}}
