.production{--prod-accent:#96d5c4}.prod-hero{display:flex;justify-content:space-between;gap:24px;padding:24px 28px;background:linear-gradient(120deg,#193c42,#172938 70%);border:1px solid #34535a;border-radius:12px;margin-bottom:20px}.prod-hero h2{font-size:22px;margin:6px 0 10px}.prod-hero p{color:#b7cbd1;max-width:680px}.prod-status{display:inline-flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}.prod-status:before{content:'';width:7px;height:7px;background:#e5be79;border-radius:50%}.prod-status.ready:before{background:#8ed7b8}.prod-tabs{display:flex;flex-wrap:wrap;gap:5px;border-bottom:1px solid var(--line);margin-bottom:24px;padding-bottom:12px}.prod-tabs button{background:transparent;border-color:transparent}.prod-tabs button.active{background:#233a43;color:#a6e6d3;border-color:#40606a}.prod-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:22px}.prod-form label{display:grid;gap:7px;font-size:13px;color:#c2d0df;margin-bottom:17px}.prod-form input,.prod-form select,.prod-form textarea{width:100%;max-width:none;background:#0e1b2a;border:1px solid #35475b;border-radius:7px;color:var(--ink);padding:10px 12px;min-width:0}.prod-form textarea{resize:vertical;min-height:110px;line-height:1.9}.prod-form textarea.script{min-height:275px}.prod-form .prod-check{display:flex;align-items:center;gap:9px}.prod-check input{width:auto}.prod-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.prod-step{font-size:11px;letter-spacing:1px;color:#91cbbc;margin-bottom:16px}.prod-preview{aspect-ratio:9/12;max-height:400px;background:radial-gradient(ellipse at 50% 25%,#375465,#111e2b 75%);border:1px solid #3a5060;border-radius:10px;display:grid;place-items:center;text-align:center;overflow:hidden;padding:25px}.prod-preview img{width:100%;height:100%;object-fit:contain}.prod-preview:has(img){padding:0}.prod-preview strong{display:block;font-size:22px;margin:10px 0}.prod-preview small{display:block}.prod-preview-icon{font-size:42px;color:#b5d4d1}.prod-help{color:var(--muted);font-size:12px;line-height:1.8;margin:12px 0}.prod-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.prod-feature{display:flex;flex-direction:column;align-items:flex-start;text-align:left;padding:22px;min-height:146px;background:var(--panel);border:1px solid var(--line);border-radius:10px}.prod-feature strong{font-size:16px;margin:8px 0}.prod-feature small{line-height:1.7}.prod-count{color:#81c6b5;font-size:11px}.prod-empty{border:1px dashed #3a4c60;border-radius:10px;padding:42px 24px;text-align:center;color:var(--muted)}.prod-error{white-space:pre-wrap;color:#ffb2a9;background:#38252b;border:1px solid #68444b;padding:12px;border-radius:7px;margin:0 0 18px;overflow-wrap:anywhere}.prod-ok{color:#a9dfc7;padding:10px 0}.prod-result{max-height:500px;overflow:auto;background:#0b1725;padding:16px;border-radius:8px;font-size:12px;white-space:pre-wrap;overflow-wrap:anywhere}.prod-media{width:100%;max-height:500px;background:#07111a;border-radius:8px;margin:14px 0}.prod-job{padding:17px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:18px;align-items:center}.prod-job h3{margin-bottom:5px}.prod-advanced{margin:18px 0}.prod-advanced summary{cursor:pointer;color:#aac0d3;margin-bottom:14px}.prod-pill{display:inline-block;padding:3px 9px;border:1px solid #44566b;border-radius:20px;color:#b6c8d8;font-size:11px;margin-bottom:10px}.prod-form .prod-body-note{max-width:100%;overflow-wrap:anywhere}.prod-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.prod-avatar img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:8px;background:#19303c}.prod-avatar{text-align:left;padding:12px;display:grid;gap:8px}.prod-confirm{padding:16px;border:1px solid #9c8053;background:#2b2b23;border-radius:8px;margin:18px 0}.production [hidden]{display:none!important}@media(max-width:1150px){.prod-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.prod-layout{grid-template-columns:minmax(0,1fr) 280px}}@media(max-width:800px){.prod-layout,.prod-row{grid-template-columns:1fr}.prod-grid,.prod-gallery{grid-template-columns:1fr}.prod-hero{flex-direction:column;padding:20px}.prod-job{align-items:flex-start;flex-direction:column}.prod-tabs button{padding:8px}.prod-preview{max-height:260px;aspect-ratio:4/3}.prod-form input,.prod-form select,.prod-form textarea{font-size:16px}}

/* Keep the selected avatar fully visible at its natural aspect ratio. */
.prod-preview:has(img){aspect-ratio:auto;max-height:none;padding:0;display:block}
.prod-preview img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
