.production-studio{box-sizing:border-box;width:min(1450px,96vw);max-width:none;height:94dvh;max-height:94dvh;padding:0;border:1px solid #cbd7ec;border-radius:18px;background:#f7faff;color:#122044;overflow:hidden}.production-studio::backdrop{background:#07122fa8;backdrop-filter:blur(6px)}.production-studio[open]{display:flex;flex-direction:column}.production-studio>header{display:flex;justify-content:space-between;align-items:center;position:static;height:auto;padding:18px 26px;background:#f7faff;border-bottom:1px solid #cad7eb}.production-studio h2{margin:0;font-size:25px}.production-studio header p{font:11px monospace;letter-spacing:.1em;margin:0 0 6px}.production-body{display:grid;grid-template-columns:300px minmax(0,1fr);flex:1;min-height:0}.production-body aside{padding:24px;overflow:auto;border-right:1px solid #cad7eb}.production-body main{overflow:auto;min-width:0}.production-studio button{font-size:14px;border:1px solid #b7c9e5;border-radius:7px;padding:10px 14px;background:white;color:#122044;cursor:pointer}.production-studio button.primary{background:#1944ef;color:white;border-color:#1944ef}.production-studio button:disabled{opacity:.45;cursor:not-allowed}.production-studio label{display:block;font-size:13px;margin:14px 0}.production-studio input,.production-studio textarea{display:block;box-sizing:border-box;width:100%;padding:10px;background:white;color:#122044;border:1px solid #b7c9e5;border-radius:5px;margin-top:6px}.production-studio p{font-size:13px;line-height:1.6}.production-studio h3{font-size:19px}.production-studio details{border-top:1px solid #cad7eb;padding-top:16px;margin-top:20px}.production-studio summary{cursor:pointer;font-size:14px}.production-rows,[data-library]{display:flex;flex-direction:column;gap:7px;margin:16px 0}.production-rows button,[data-library] button{text-align:left;overflow:hidden;text-overflow:ellipsis}.production-rows button[aria-pressed=true]{background:#e3eaff;border-color:#1944ef}.production-preview{background:#14213f;display:flex;align-items:center;justify-content:center;min-height:260px;padding:26px}.production-preview canvas{width:auto;max-width:100%;height:auto;max-height:47dvh;box-shadow:0 10px 30px #0005}.production-preview p{color:#e6edff}.production-row-detail{padding:18px 26px}.production-row-heading{display:flex;justify-content:space-between;align-items:center;gap:12px}.production-review{display:flex;align-items:end;gap:10px;margin-bottom:16px;flex-wrap:wrap}.production-review label{flex:1;min-width:180px;margin-bottom:0}.production-blocked{border-left:3px solid #b55919;background:#fff1d3;padding:8px 14px}.production-studio footer{padding:12px 24px;border-top:1px solid #cad7eb;background:#f7faff;display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.production-studio footer p{margin:0}.production-studio footer div{display:flex;gap:8px;flex-wrap:wrap}.production-studio [data-error]{color:#992d1a;flex-basis:100%}.production-studio [hidden]{display:none!important}.production-studio :focus-visible{outline:3px solid #346bff;outline-offset:2px}@media(max-width:700px){.production-studio{height:96dvh;max-height:96dvh}.production-studio>header{padding:14px 18px}.production-studio h2{font-size:20px}.production-body{grid-template-columns:1fr;overflow:auto;display:block}.production-body aside{overflow:visible;padding:18px}.production-body main{overflow:visible}.production-rows{max-height:150px;overflow:auto}.production-preview{padding:18px;min-height:180px}.production-preview canvas{max-height:35dvh}.production-row-detail{padding:18px}.production-studio footer{padding:12px 18px}.production-studio footer button{font-size:12px}.production-studio footer p{font-size:11px}}

/* Isolate the dialog from the legacy page-level main/header/aside rules. */
.production-studio>header{flex:0 0 auto;margin:0;min-height:78px}.production-studio>footer{flex:0 0 auto;margin:0;font-family:Arial,sans-serif;letter-spacing:0;color:#435c7e}.production-body{overflow:hidden;grid-template-rows:minmax(0,1fr)}.production-body>aside{grid-column:auto;min-height:0;height:100%;background:#edf3fc}.production-body>main{margin:0;width:100%;height:100%;min-height:0;max-width:none;padding:0}.production-studio .production-body>main{overflow-y:auto}@media(max-width:700px){.production-body{overflow-y:auto}.production-body>aside,.production-body>main{height:auto}.production-studio .production-body>main{overflow:visible}.production-studio>header{min-height:72px}}

@media(min-width:1000px){.production-body{grid-template-columns:260px minmax(0,1fr)}.production-studio .production-body>main{display:grid;grid-template-columns:minmax(0,1fr) 350px;grid-template-rows:minmax(0,1fr);overflow:hidden}.production-preview{height:100%;min-height:0;overflow:hidden;padding:20px}.production-preview canvas{max-height:calc(94dvh - 210px);max-width:100%;object-fit:contain}.production-row-detail{overflow-y:auto;padding:18px;min-height:0}.production-review{display:block}.production-review button{margin-top:12px}.production-review label{min-width:0}.production-row-heading{align-items:start;flex-direction:column}.production-studio [data-proof],.production-studio [data-svg]{margin:5px 0}}
.production-rows button{flex-shrink:0}

.production-studio input[type=checkbox]{display:inline-block;width:auto;margin-right:7px}

.production-studio select{display:block;width:100%;padding:9px;margin-top:6px;color:#122044;background:white;border:1px solid #b7c9e5;border-radius:5px}
