/* SuperKartina studio 0.8.14. Additive, retains the existing theme and legacy order styles. */
.wizard-steps{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 26px;padding:13px;background:var(--surface);border:1px solid var(--line);border-radius:20px}
.wizard-step{display:flex;align-items:center;justify-content:center;gap:8px;min-width:0;opacity:.55;color:var(--text)}
.wizard-step span{width:27px;height:27px;flex:none;display:grid;place-items:center;border-radius:50%;border:1px solid var(--line);font-size:12px;font-weight:700;background:var(--card,rgba(80,60,120,.13))}
.wizard-step.current,.wizard-step.done{opacity:1}.wizard-step.current span{background:linear-gradient(135deg,#6626d5,#ac64ed);border-color:transparent;color:white}.wizard-step.done span{background:rgba(45,175,112,.18);color:#25b479}
.wizard-step small{font-size:11px;line-height:1.2;font-weight:600}
.studio-plot-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.studio-plot{background:var(--surface);border:1px solid var(--line);color:var(--text);padding:0 0 16px;text-align:left;border-radius:17px;cursor:pointer;overflow:hidden;display:flex;flex-direction:column;transition:transform .18s,border-color .18s,box-shadow .18s}
.studio-plot:hover,.studio-plot:focus-visible{transform:translateY(-3px);border-color:#986ae5;box-shadow:0 14px 30px rgba(82,32,150,.14)}
.studio-plot-image{height:175px;overflow:hidden;background:linear-gradient(135deg,#2f0d61,#7857c9)}.studio-plot-image img{display:block;width:100%;height:100%;object-fit:cover}
.studio-plot>strong{font-size:15px;padding:12px 13px 2px}.studio-plot>small{padding:0 13px;color:var(--muted);line-height:1.4;font-size:12px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:33px}
.studio-plot>span{padding:10px 13px 0;color:#9d75e8;font-size:12px;font-weight:700;margin-top:auto}
.studio-plot-actions{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0}.studio-form-panel{background:var(--surface);border:1px solid var(--line);border-radius:21px;padding:24px;box-shadow:0 15px 44px rgba(28,10,58,.06)}
.studio-form-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:5px 0 13px}.studio-form-heading h3{margin:0;font-size:18px}.studio-form-heading p{margin:0;color:var(--muted);font-size:12px}
.studio-orientation{display:flex;gap:10px;margin-bottom:28px}.studio-orientation button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;background:var(--card,rgba(90,70,140,.1));border:1px solid var(--line);color:var(--text);padding:12px 8px;border-radius:12px;cursor:pointer}.studio-orientation button b{font-size:25px;line-height:1}.studio-orientation button.selected{border-color:#8e56e7;background:rgba(112,71,198,.14);box-shadow:inset 0 0 0 1px #8e56e7}
.studio-uploader{border:2px dashed rgba(133,102,198,.46);border-radius:17px;padding:24px;display:flex;flex-direction:column;gap:5px;align-items:center;justify-content:center;min-height:120px;cursor:pointer;background:rgba(120,80,197,.06);transition:.18s}.studio-uploader:hover,.studio-uploader.drag{border-color:#9e76ef;background:rgba(131,91,211,.11)}.studio-uploader strong{font-size:15px}.studio-uploader span{color:var(--muted);font-size:12px}
.studio-selected-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:12px;margin:10px 0 17px}.studio-photo-card{position:relative;background:var(--card,rgba(90,70,140,.1));border:1px solid var(--line);border-radius:13px;overflow:hidden}.studio-photo-card>img{width:100%;height:144px;object-fit:cover;display:block}.studio-photo-caption{display:flex;flex-direction:column;padding:8px 10px}.studio-photo-caption b{font-size:12px}.studio-photo-caption small{font-size:11px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;color:var(--muted)}.studio-photo-tools{position:absolute;display:flex;gap:4px;top:7px;right:7px}.studio-photo-tools button{border:0;border-radius:8px;padding:5px 8px;font-size:12px;color:#fff;background:rgba(20,14,35,.8);cursor:pointer}.studio-photo-upload{height:5px;background:rgba(155,142,174,.3)}.studio-photo-upload div{height:100%;background:#8258e2;transition:width .12s}
.studio-saved{margin-top:20px}.studio-saved>b{font-size:13px}.studio-library-grid{display:flex;gap:9px;overflow-x:auto;padding:12px 0}.studio-library-grid button{flex:0 0 91px;min-width:0;border-radius:12px;border:2px solid transparent;color:var(--text);background:var(--card,rgba(90,70,140,.1));padding:3px;cursor:pointer}.studio-library-grid button.selected{border-color:#986ae5}.studio-library-grid img{width:100%;height:76px;object-fit:cover;border-radius:8px}.studio-library-grid small{font-size:10px;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.studio-consent{display:flex;align-items:flex-start;gap:10px;margin:22px 0 15px;font-size:13px;line-height:1.5}.studio-consent input{flex:none;margin-top:4px}.studio-bottom-actions{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;margin-top:24px}.studio-bottom-actions .btn{min-width:150px}
.wizard-error{margin-top:14px;padding:13px;border:1px solid #c95e70;background:rgba(231,72,104,.11);color:var(--text);border-radius:11px}.wizard-error.hidden{display:none}
.studio-analysis-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px;margin:16px 0}.studio-analysis-photo{background:var(--card,rgba(95,65,155,.07));border:1px solid var(--line);border-radius:15px;overflow:hidden}.studio-analysis-photo img{width:100%;height:195px;object-fit:cover;display:block}.studio-analysis-photo>div{padding:13px}.studio-analysis-photo p{margin:7px 0;font-size:13px;line-height:1.48}.studio-analysis-photo small{color:var(--muted)}.studio-match-hints{padding:16px;background:rgba(119,84,195,.08);border:1px solid var(--line);border-radius:13px}.studio-match-hints p{margin:8px 0 0;font-size:13px}.studio-confirm-fields{margin-top:20px;display:grid;gap:14px}
.studio-result-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(240px,.85fr);gap:19px;align-items:start}.studio-result-art{padding:12px;background:var(--surface);border:1px solid var(--line);border-radius:18px;text-align:center}.studio-result-img{display:block;width:100%;max-height:650px;object-fit:contain;border-radius:10px}.studio-watermark-caption{font-size:11px;color:var(--muted);margin-top:9px}.studio-result-controls{background:var(--surface);padding:20px;border-radius:17px;border:1px solid var(--line)}.studio-result-controls h3{margin-top:0}.studio-result-controls .studio-wide{width:100%;margin-top:10px}.studio-remaining{margin:18px 0;padding:13px;border-radius:11px;background:rgba(121,78,185,.09);font-size:14px}.studio-remaining small{display:block;font-size:11px;margin-top:5px;color:var(--muted)}.studio-retry-form{margin-top:17px;padding-top:17px;border-top:1px solid var(--line)}.studio-retry-form h3{font-size:16px}.studio-reason-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-bottom:17px}.studio-reason-grid label{cursor:pointer}.studio-reason-grid input{position:absolute;opacity:0}.studio-reason-grid span{border:1px solid var(--line);background:var(--card,rgba(90,70,140,.07));padding:12px 8px;border-radius:10px;display:block;text-align:center;font-size:12px}.studio-reason-grid input:checked+span{border-color:#9457ec;background:rgba(132,77,210,.17)}
@media(max-width:980px){.wizard-step small{display:none}.studio-plot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-result-layout{grid-template-columns:1fr}.studio-result-img{max-height:520px}}
@media(max-width:560px){.wizard-steps{padding:11px 8px;gap:4px}.wizard-step span{height:28px;width:28px}.studio-form-panel{padding:15px;border-radius:15px}.studio-plot-grid{gap:9px}.studio-plot-image{height:135px}.studio-plot>strong{font-size:13px;padding:9px 8px 3px}.studio-plot>small{font-size:11px;padding:0 8px}.studio-plot>span{padding:6px 8px}.studio-orientation{flex-wrap:wrap}.studio-selected-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-bottom-actions .btn{flex:1;min-width:120px}.studio-reason-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.studio-plot,.studio-uploader,.studio-photo-upload div{transition:none}}
.studio-side-photos{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}.studio-side-photos img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px;border:1px solid var(--line)}

/* 0.8.19: enlarged, watermarked artwork preview */
.studio-result-img,.history-thumb img{cursor:zoom-in}
.studio-result-img:focus-visible{outline:3px solid #a467f5;outline-offset:3px}
.studio-art-zoom-btn{margin:12px auto 3px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--line);border-radius:12px;padding:10px 16px;background:var(--card,rgba(125,92,190,.14));color:var(--text);font:inherit;font-weight:600;cursor:pointer}
.studio-art-zoom-btn:hover{border-color:#a467f5}
body.artwork-viewer-open{overflow:hidden}
.artwork-viewer{position:fixed;inset:0;z-index:9999;display:flex;flex-direction:column;background:rgba(9,7,20,.97);color:#fff;overscroll-behavior:contain}
.artwork-viewer-top{display:flex;gap:12px;align-items:center;justify-content:space-between;padding:max(12px,env(safe-area-inset-top)) 18px 10px;flex:0 0 auto}
.artwork-viewer-top strong{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.artwork-viewer-tools{display:flex;gap:6px;flex:none}
.artwork-viewer-tools button{appearance:none;background:#282337;color:white;border:1px solid #6b5b83;border-radius:11px;min-width:43px;height:43px;padding:0 11px;font-size:20px;line-height:1;cursor:pointer;touch-action:manipulation}
.artwork-viewer-tools button[data-viewer=reset]{min-width:70px;font-size:13px}
.artwork-viewer-tools button:hover,.artwork-viewer-tools button:focus-visible{border-color:#bb91fb;background:#403255}
.artwork-viewer-stage{min-height:0;flex:1;display:flex;align-items:center;justify-content:center;overflow:hidden;touch-action:none;cursor:grab;overscroll-behavior:contain}
.artwork-viewer-stage:active{cursor:grabbing}
.artwork-viewer-stage img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;user-select:none;-webkit-user-drag:none;touch-action:none;will-change:transform;transform-origin:center center;pointer-events:none}
.artwork-viewer-caption{flex:0 0 auto;text-align:center;color:#d5cbe6;padding:10px 14px max(16px,env(safe-area-inset-bottom));margin:0;font-size:12px;line-height:1.35}
@media(max-width:540px){.artwork-viewer-top{padding-left:10px;padding-right:10px}.artwork-viewer-top strong{font-size:12px;max-width:85px}.artwork-viewer-tools button{min-width:40px;height:41px;padding:0 8px}.artwork-viewer-tools button[data-viewer=reset]{min-width:58px}.artwork-viewer-caption{font-size:11px}}

/* v0.9.1 A-series portraits, no preview cropping, two-variant chooser */
.studio-plot-image{height:auto;aspect-ratio:210/297;position:relative;display:grid;place-items:center}
.studio-plot-image img{width:100%;height:100%;object-fit:contain;position:absolute;inset:0}
.studio-plot{padding-bottom:0}.studio-plot-choice{cursor:pointer;text-align:left;appearance:none;border:0;background:transparent;padding:11px 13px 16px;color:#9d75e8;font-size:12px;font-weight:800;margin-top:auto}
.studio-plot-choice:hover{text-decoration:underline}.studio-plot-variants{position:absolute;bottom:7px;left:7px;right:7px;display:grid;grid-template-columns:1fr 1fr;gap:5px;padding:4px;background:#100a2cd9;border-radius:11px;z-index:2}
.studio-plot-variants button{min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;cursor:pointer;border:1px solid #d9c2fa70;border-radius:8px;padding:8px 3px;background:#34244e;color:#fff;font-size:11px;font-weight:750}
.studio-plot-variants button.active{background:#ebd5ff;color:#301f47;border-color:#fff}.studio-plot-image .sk-plot-new{position:absolute;top:10px;left:10px;z-index:3;background:#ffd17b;color:#2b153c;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:800}
.studio-plot-custom{background:linear-gradient(150deg,#5b3195,#2c1953);color:#fff;border-color:#9c79df}.studio-plot-custom-art{background:radial-gradient(circle at center,#9d64e877,transparent 68%)}.studio-plot-custom-art img{position:relative;width:42%;height:auto;aspect-ratio:1;filter:drop-shadow(0 0 30px #ffbf8a99)}.studio-custom-stars{position:absolute;font-size:80px;color:#ffd89e;right:10%;top:2%;text-shadow:0 0 20px #ffda9f}
.studio-own-plot{padding:22px;margin:18px 0;border:1px solid #a77de5;border-radius:18px;background:var(--surface);display:grid;gap:10px}.studio-own-plot h3,.studio-own-plot p{margin:0}.studio-own-plot label{font-weight:700}.studio-own-plot textarea{width:100%;border-radius:11px;min-height:100px;padding:12px;border:1px solid var(--line);background:var(--surface2);color:var(--text);font:inherit}.studio-own-actions{display:flex;gap:10px;flex-wrap:wrap}
@media(max-width:560px){.studio-plot-image{height:auto}.studio-plot-variants{left:4px;right:4px;bottom:4px;gap:3px;padding:3px}.studio-plot-variants button{font-size:10px;padding:8px 2px}.studio-plot-choice{padding:10px 9px 13px}.studio-own-plot{padding:14px}}

/* v0.9.3 — single-column studio, responsive grid and non-cropping thumbnails */
.studio-shell.wrap{display:block;max-width:1320px;padding:24px clamp(16px,3vw,40px) 62px}
.studio-main{width:100%;min-width:0;padding:clamp(20px,2.6vw,36px)}
.studio-quick-actions{display:flex;justify-content:flex-end;margin-bottom:16px}
.studio-quick-actions[hidden]{display:none}
.studio-quick-actions .btn{padding:9px 14px;font-size:13px;min-height:39px}
.studio-photo-stage{max-width:1180px;margin:0 auto}
.studio-selected-photos{grid-template-columns:repeat(auto-fill,minmax(156px,1fr));max-width:1150px}
.studio-photo-card>img{width:100%;height:190px;object-fit:contain;background:var(--surface2)}
.studio-library-grid img{object-fit:contain;background:var(--surface2);height:86px}
.studio-analysis-photo img{object-fit:contain;background:var(--surface2)}
.studio-photo-tools{top:7px;right:7px;gap:5px}
.studio-photo-tools button{height:30px;min-width:30px;padding:5px;display:inline-grid;place-items:center;font-family:inherit;font-size:17px;background:#1d1635e8;line-height:1}
.studio-photo-tools button:hover,.studio-photo-tools button:focus-visible{background:#7746c6;outline:1px solid #e0cbff}
.studio-consent-block{margin:22px 0 15px;border:1px solid var(--line);background:var(--surface2);padding:14px 17px;border-radius:14px}
.studio-consent{display:flex;gap:14px;align-items:flex-start;margin:0;cursor:pointer;font-size:14px;line-height:1.55;font-weight:450}
.studio-consent input{appearance:none;flex:none;margin:1px 0 0;width:25px;height:25px;border:2px solid #9974d9;border-radius:7px;background:var(--surface);cursor:pointer;display:grid;place-items:center;position:relative}
.studio-consent input:checked{background:#7f4cde;border-color:#7f4cde}
.studio-consent input:checked::after{content:'✓';color:#fff;font-size:17px;font-weight:800;line-height:1}
.studio-consent input:focus-visible{outline:3px solid #bd98ff;outline-offset:2px}
.studio-consent span{display:inline;flex:1;min-width:0}
.studio-consent a{color:#bb94ff;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.studio-consent a:hover{color:#d7bcff}
.studio-consent-block.invalid{border:2px solid #ec7483;background:rgba(231,83,109,.1)}
.studio-consent-error{margin:8px 0 0 39px;color:#ff9cac;font-size:13px;font-weight:650}
.studio-consent-error[hidden]{display:none}
.studio-orientation-choice{margin-top:8px;padding:17px 0;border-top:1px solid var(--line)}
.studio-orientation-choice h3{margin:0;font-size:18px}
.studio-orientation-choice p{font-size:13px;margin:4px 0 12px}
.studio-orientation-choice .studio-orientation{margin-bottom:0}
/* Breathe on large displays without stretching the copy to absurd lengths. */
@media(min-width:1600px){.studio-shell.wrap{max-width:1580px;padding-left:44px;padding-right:44px}.studio-plot-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.studio-plot>strong{font-size:16px}.studio-selected-photos{grid-template-columns:repeat(auto-fill,minmax(182px,1fr))}.studio-photo-card>img{height:220px}}
@media(max-width:760px){.studio-shell.wrap{padding:12px 14px 42px}.studio-main{padding:17px}.studio-selected-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-photo-card>img{height:175px}.studio-quick-actions{margin-bottom:12px}.studio-consent-block{padding:13px}}
@media(max-width:380px){.studio-selected-photos{gap:9px}.studio-photo-card>img{height:150px}.studio-consent{font-size:13px}}
/* v0.9.3 — clean two-option chooser without the shared dark band. */
.studio-plot[role="button"]:focus-visible{outline:3px solid #bd92fa;outline-offset:3px}
.studio-plot-variants{background:transparent;padding:0;left:10px;right:10px;bottom:10px;gap:6px;border-radius:0}
.studio-plot-variants button{font-family:inherit;font-size:14px;font-weight:600;line-height:1.1;padding:7px 4px;background:#251736e8;min-height:31px;border-radius:8px;box-shadow:0 2px 7px #0006}
.studio-plot-variants button.active{background:#eed5ff;color:#29193f;box-shadow:0 2px 7px #0005}
.studio-plot-image .sk-plot-new{font-family:inherit;font-size:12px;font-weight:500}
@media(max-width:560px){.studio-plot-variants{left:6px;right:6px;bottom:7px;gap:4px}.studio-plot-variants button{font-size:12px;min-height:30px;padding:6px 3px}}

/* v0.9.4 — compact follow-up upload + human-readable photo review. */
.studio-selected-photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(156px,175px));justify-content:start;gap:12px;max-width:none}
.studio-selected-photos:empty{display:none}
.studio-uploader[hidden]{display:none!important}
.studio-photo-add{width:100%;min-height:241px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;border:2px dashed #825dbb;border-radius:14px;background:rgba(125,80,188,.07);color:var(--text);font:inherit;cursor:pointer;padding:14px;text-align:center;transition:background .16s,border-color .16s}
.studio-photo-add:hover,.studio-photo-add.drag,.studio-photo-add:focus-visible{border-color:#b58af9;background:rgba(133,78,203,.15);outline-offset:2px}
.studio-photo-add .studio-add-plus{font-size:37px;font-weight:300;line-height:1;color:#a879f4}
.studio-photo-add strong{font-size:14px;font-weight:650}
.studio-photo-add small{font-size:12px;color:var(--muted)}
.studio-upload-symbol{font-size:30px;line-height:1.1;color:#b58af9}
.studio-analysis-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(205px,250px));gap:12px;justify-content:start;margin:12px 0 0}
.studio-analysis-photo{display:flex;flex-direction:column}
.studio-analysis-photo img{height:180px;object-fit:contain;background:var(--surface2)}
.studio-analysis-photo>div{flex:1;padding:13px 14px;display:flex;flex-direction:column;align-items:start}
.studio-analysis-photo p{margin:7px 0 9px;font-size:13px;line-height:1.52}
.studio-analysis-photo small{font-size:12px;color:var(--muted)}
.studio-edit-photo{background:none;border:0;color:#b38bff;text-decoration:underline;text-underline-offset:3px;margin-top:8px;padding:5px 0;font:inherit;font-size:13px;cursor:pointer}
.studio-photo-correction{margin-top:9px;width:100%;display:grid;gap:10px}
.studio-photo-correction label{width:100%;display:grid;gap:5px;font-size:12px;font-weight:650}
.studio-photo-correction textarea{width:100%;min-height:70px;padding:9px;color:var(--text);background:var(--surface2);border:1px solid var(--line);border-radius:9px;font:inherit;resize:vertical}
.studio-photo-correction select{width:100%}
.studio-review-section{padding:19px 0;border-bottom:1px solid var(--line)}
.studio-review-section:first-of-type{padding-top:6px}
.studio-review-section>h3{margin:0 0 4px;font-size:17px}
.studio-review-heading h3{margin:0;font-size:18px;line-height:1.35}
.studio-review-heading p{font-size:13px;color:var(--muted);margin:6px 0 0;line-height:1.5}
.studio-pair-review{border:1px solid rgba(160,119,236,.42);border-radius:14px;padding:18px;background:rgba(130,79,192,.065)}
.studio-answer-buttons{display:flex;gap:10px;flex-wrap:wrap;margin-top:17px}
.studio-answer-buttons button{font:inherit;cursor:pointer;border:1px solid #9866de;border-radius:11px;background:var(--surface2);color:var(--text);padding:12px 18px;font-size:14px;font-weight:600;min-height:45px}
.studio-answer-buttons button:hover,.studio-answer-buttons button:focus-visible{border-color:#b08af9;background:rgba(139,78,218,.18)}
.studio-person-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px;margin-top:14px}
.studio-person-choice{display:flex;gap:12px;align-items:start;cursor:pointer;border:1px solid var(--line);border-radius:12px;background:var(--surface2);padding:13px;min-height:68px}
.studio-person-choice:has(input:checked){border-color:#9461df;background:rgba(136,79,221,.13)}
.studio-person-choice input,.studio-review-confirm input{appearance:none;flex:none;width:25px;height:25px;border:2px solid #9974d9;border-radius:7px;margin:0;cursor:pointer;background:var(--surface);position:relative}
.studio-person-choice input:checked,.studio-review-confirm input:checked{border-color:#8650dc;background:#8650dc}
.studio-person-choice input:checked::after,.studio-review-confirm input:checked::after{content:'✓';color:#fff;text-align:center;font-size:17px;font-weight:800;line-height:21px;display:block;text-align:center}
.studio-person-choice input:focus-visible,.studio-review-confirm input:focus-visible{outline:3px solid #c49aff;outline-offset:3px}
.studio-person-choice span{display:grid;gap:5px;min-width:0}
.studio-person-choice b{font-size:14px}
.studio-person-choice small{font-size:12px;color:var(--muted);line-height:1.4}
.studio-edit-matches{display:inline-flex;margin-top:13px;background:none;border:0;font:inherit;font-size:13px;font-weight:600;color:#bb96fa;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:7px 0;text-align:left}
.studio-person-assignments{padding:13px;margin-top:10px;border:1px solid var(--line);border-radius:12px;background:var(--surface2)}
.studio-person-assignments>p{font-size:12px;line-height:1.5;color:var(--muted);margin:0 0 10px}
.studio-person-assignments label{display:grid;grid-template-columns:minmax(110px,1fr) minmax(150px,2fr);gap:10px;align-items:center;margin-bottom:9px;font-size:13px}
.studio-person-assignments label:last-child{margin-bottom:0}
.studio-person-assignments .input{min-width:0;width:100%}
.studio-review-alert{padding:15px;border:1px solid #d9a14d;background:rgba(228,170,65,.09);border-radius:12px;font-size:13px}
.studio-review-notes label{display:block;font-size:13px;font-weight:600;margin:10px 0 7px}
.studio-review-notes .textarea{width:100%;max-width:700px}
.studio-orientation-choice.studio-review-section{margin-top:0;border-top:0;padding:18px 0}
.studio-page-options{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;margin-top:15px}
.studio-page-options button{display:flex;flex-direction:column;gap:11px;align-items:center;justify-content:center;border-radius:12px;min-height:130px;padding:13px;background:var(--surface2)}
.studio-page-options button strong{font-size:14px;font-weight:650}
.studio-paper-shape{display:block;border-radius:3px;background:linear-gradient(135deg,rgba(176,130,251,.28),rgba(100,62,179,.09));border:2px solid #bd9bf6;box-shadow:0 2px 8px rgba(30,17,53,.09)}
.studio-paper-shape.portrait{width:48px;height:68px}
.studio-paper-shape.landscape{width:68px;height:48px}
.studio-review-confirm{margin:18px 0;border:1px solid var(--line);border-radius:14px;background:var(--surface2);padding:16px}
.studio-review-confirm.confirmed{border-color:rgba(83,174,129,.6)}
.studio-review-confirm.invalid{border:2px solid #eb7082;background:rgba(230,88,105,.1)}
.studio-review-confirm label{display:flex;gap:14px;align-items:center;cursor:pointer;font-size:14px;font-weight:500;line-height:1.5}
.studio-review-confirm p{font-size:13px;color:#e57a8e;margin:9px 0 0 39px;font-weight:600}
.studio-review-confirm p[hidden]{display:none}
.studio-review-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap}
.studio-review-footer>span{font-size:13px;color:var(--muted)}
.studio-review-footer .studio-bottom-actions{margin:0;justify-content:flex-end}
@media(min-width:1600px){.studio-selected-photos{grid-template-columns:repeat(auto-fill,minmax(175px,190px))}.studio-photo-add{min-height:271px}}
@media(max-width:760px){.studio-selected-photos{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-photo-add{min-height:221px}.studio-analysis-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.studio-analysis-photo img{height:155px}.studio-analysis-photo>div{padding:10px}.studio-review-section{padding:15px 0}.studio-page-options{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-person-list{grid-template-columns:1fr}.studio-review-footer .studio-bottom-actions{width:100%;display:flex}.studio-review-footer .studio-bottom-actions .btn{min-width:0;flex:1}.studio-review-confirm{padding:13px}}
@media(max-width:390px){.studio-selected-photos{gap:9px}.studio-photo-add{min-height:196px}.studio-analysis-grid{grid-template-columns:1fr}.studio-analysis-photo img{height:175px}.studio-person-assignments label{grid-template-columns:1fr}.studio-answer-buttons button{flex:1 1 100%}}
@media(max-width:560px){.studio-review-footer .studio-bottom-actions{flex-direction:column;align-items:stretch}.studio-review-footer .studio-bottom-actions .btn{width:100%;min-height:48px;flex:auto}}

/* 0.9.5 — clear, clickable stage cards and polished multi-select feedback */
.wizard-steps{background:transparent;border:0;padding:0;gap:9px;overflow-x:auto;grid-template-columns:repeat(6,minmax(112px,1fr));scrollbar-width:thin}
.wizard-step{appearance:none;min-height:57px;padding:9px 7px;gap:8px;opacity:1;border:1px solid var(--line);border-radius:13px;background:var(--surface);font:inherit;cursor:pointer;text-align:center;transition:border-color .15s,background .15s,transform .15s}
.wizard-step small{font-size:12px;font-weight:650;color:var(--text)}
.wizard-step.done{border-color:color-mix(in srgb,#2ccf90 35%,var(--line));background:color-mix(in srgb,#2ccf90 6%,var(--surface))}
.wizard-step.done:hover,.wizard-step.done:focus-visible{border-color:#2ccf90;transform:translateY(-1px);outline:none}
.wizard-step.current{border:2px solid #9558ea;background:color-mix(in srgb,#8751e9 13%,var(--surface))}
.wizard-step.current span{box-shadow:0 2px 10px #793ee54d}
.wizard-step:disabled{cursor:default}.wizard-step:disabled:not(.current){opacity:.46}
.studio-reason-grid input:focus-visible+span{outline:2px solid var(--accent2);outline-offset:3px}
.studio-reason-grid input:checked+span:before{content:'✓ ';font-weight:800}
.studio-refine-help{font-size:12px;color:var(--muted);margin:-5px 0 15px}
.studio-plot-custom-art img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;filter:none;object-fit:contain}
.studio-plot-custom-art .studio-custom-stars{display:none}
@media(max-width:900px){.wizard-steps{display:flex;gap:7px}.wizard-step{flex:0 0 128px}.wizard-step small{display:block}}
@media(max-width:560px){.wizard-steps{padding:1px 0 7px;margin-bottom:19px}.wizard-step{flex:0 0 115px;min-height:49px}.wizard-step span{width:26px;height:26px}.wizard-step small{font-size:11px}}

/* v0.9.9: breathing room prevents first and last wizard pills from clipping. */
.wizard-steps{padding:5px 5px 9px!important;scroll-padding-inline:5px;box-sizing:border-box;min-width:0;overflow-y:visible}
.wizard-step{flex-shrink:0;border-radius:14px;box-sizing:border-box}
@media(min-width:901px){.wizard-steps{grid-template-columns:repeat(6,minmax(0,1fr));overflow-x:visible}}
