.studio-plan-finished{margin-top:22px;padding:22px;background:#fff;border:1px solid #e7e0ec;border-radius:17px}.studio-plan-finished .studio-section-heading a{padding:8px 12px;border-radius:8px;background:#f1e9f7;color:#632f8d;font-size:9px;font-weight:800}.studio-plan-finished-stage{display:grid;place-items:center;min-height:300px;max-height:68vh;background:#17111d;border-radius:13px;overflow:hidden}.studio-plan-finished-stage video,.studio-plan-finished-stage img{width:100%;height:100%;max-height:68vh;object-fit:contain}

:root {
    --studio-purple: #4d287b;
    --studio-purple-deep: #32194f;
    --studio-purple-soft: #f2e8ff;
    --studio-yellow: #fdad1d;
    --studio-ink: #2d2340;
    --studio-muted: #797385;
    --studio-line: #e9e4f0;
    --studio-background: #f7f5fa;
    --studio-gradient: linear-gradient(120deg, #32194f, #4d287b 48%, #7042aa);
}

/* Production brief readability: use the same comfortable scale as the rest of Studio. */
.studio-page-prepare_production .studio-brief-step strong { font-size:13px; line-height:1.35; }
.studio-page-prepare_production .studio-brief-step small { font-size:11px; line-height:1.45; }
.studio-page-prepare_production .studio-brief-help strong,
.studio-page-prepare_production .studio-note strong { font-size:12px; }
.studio-page-prepare_production .studio-brief-help p,
.studio-page-prepare_production .studio-note p { font-size:11px; line-height:1.6; }
.studio-page-prepare_production .studio-brief-stage-intro>p:last-child { font-size:13px; line-height:1.6; }
.studio-page-prepare_production .studio-choice-card strong { font-size:16px; }
.studio-page-prepare_production .studio-choice-card small { font-size:12px; line-height:1.5; }
.studio-page-prepare_production .studio-field label { font-size:11px; }
.studio-page-prepare_production .studio-field input,
.studio-page-prepare_production .studio-field textarea,
.studio-page-prepare_production .studio-field select { font-size:13px; line-height:1.5; }
.studio-page-prepare_production .studio-package-card strong { font-size:12px; }
.studio-page-prepare_production .studio-package-card span { font-size:10px; line-height:1.45; }
.studio-page-prepare_production .studio-recipe-card>span { font-size:9px; }
.studio-page-prepare_production .studio-recipe-card strong { font-size:15px; }
.studio-page-prepare_production .studio-recipe-card p { font-size:11px; }
.studio-page-prepare_production .studio-recipe-card small { font-size:10px; }
.studio-page-prepare_production .studio-checklist-group h3 { font-size:13px; }
.studio-page-prepare_production .studio-checklist-group button { font-size:10px; }
.studio-page-prepare_production .studio-check-item strong { font-size:11px; line-height:1.4; }
.studio-page-prepare_production .studio-choice-row strong { font-size:12px; }
.studio-page-prepare_production .studio-choice-row small { font-size:10px; }
.studio-page-prepare_production .studio-asset-option strong { font-size:11px; }
.studio-page-prepare_production .studio-asset-option small { font-size:9px; }
.studio-page-prepare_production .studio-platform-option strong { font-size:11px; }
.studio-page-prepare_production .studio-review-grid p:last-child,
.studio-page-prepare_production .studio-review-section>p:last-child { font-size:11px; }
.studio-page-prepare_production .studio-review-deliverable strong { font-size:11px; }
.studio-page-prepare_production .studio-review-deliverable small { font-size:10px; }
.studio-page-prepare_production .studio-review-pills span { font-size:10px; }
.studio-page-prepare_production .studio-brief-summary h2 { font-size:18px; }
.studio-page-prepare_production .studio-summary-block strong { font-size:12px; }
.studio-page-prepare_production .studio-summary-block span { font-size:11px; }
.studio-page-prepare_production .studio-summary-chip { font-size:9px !important; }
.studio-page-prepare_production .studio-brief-footer-copy strong { font-size:12px; }
.studio-page-prepare_production .studio-brief-footer-copy span { font-size:10px; }

/* Automation Queue: distinct plan and final-review stages. */
.studio-queue-grid--workflow { grid-template-columns:repeat(4,minmax(0,1fr)); }
.studio-kpi--review { border-color:#d9c3e7; background:linear-gradient(180deg,#fff,#faf4fd); }
.studio-queue-intro { margin:5px 0 0; color:#817587; font-size:12px; }
.studio-queue-board-head { margin-bottom:16px; border-radius:18px; }
.studio-queue-job-list { display:grid; grid-template-columns:minmax(0,1fr); gap:16px; }
.studio-queue-job { padding:24px; min-width:0; border:1px solid #e4d9ed; border-radius:18px; background:#fff; box-shadow:0 4px 18px #3a20540a; }
.studio-queue-job-head { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; }
.studio-queue-job-head h4 { margin:8px 0 0; color:#2f2038; font-size:18px; font-weight:800; }
.studio-queue-job-head p { margin:5px 0 0; color:#817687; font-size:12px; }
.studio-queue-job-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px; color:#8a7d90; font-size:11px; }
.studio-queue-job-meta>strong { color:#382542; font-size:12px; }
.studio-production-elapsed { display:flex; flex-wrap:wrap; align-items:baseline; gap:4px 10px; margin-top:11px; padding:10px 12px; border:1px solid #e6ddef; border-radius:12px; background:#fbf9fd; color:#352148; }
.studio-production-elapsed-label { font-size:11px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; color:#735888; }
.studio-production-elapsed strong { font-size:15px; font-variant-numeric:tabular-nums; }
.studio-production-elapsed small { font-size:11px; line-height:1.4; color:#6c6174; }
.studio-production-elapsed-note { width:100%; }
.studio-queue-job-actions { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }
.studio-posting-errors { margin:10px 0 0; padding-left:20px; color:#684c6f; font-size:12px; line-height:1.6; overflow-wrap:anywhere; }
.studio-queue-stage-copy { margin:17px 0 14px; color:#5f5267; font-size:13px; line-height:1.55; }
.studio-queue-flow { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); margin:0 0 18px; padding:0; list-style:none; }
.studio-queue-flow li { position:relative; display:flex; flex-direction:column; align-items:center; gap:7px; color:#9b90a0; font-size:9px; font-weight:700; text-align:center; }
.studio-queue-flow li::before { content:""; position:absolute; z-index:0; top:13px; right:50%; left:-50%; height:2px; background:#ece6ef; }
.studio-queue-flow li:first-child::before { display:none; }
.studio-queue-flow i { position:relative; z-index:1; width:27px; height:27px; display:grid; place-items:center; border:1px solid #dfd6e4; border-radius:50%; color:#897a90; background:#fff; font-style:normal; font-size:9px; font-weight:800; }
.studio-queue-flow li.is-current { color:#633485; }.studio-queue-flow li.is-current i { color:#fff; border-color:#70409a; background:#70409a; box-shadow:0 0 0 4px #f2eafb; }
.studio-queue-flow li.is-complete { color:#39765f; }.studio-queue-flow li.is-complete i { color:#fff; border-color:#4c9c7d; background:#4c9c7d; }.studio-queue-flow li.is-complete::before,.studio-queue-flow li.is-current::before { background:#7b4ba0; }
.studio-queue-deliverables { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }
.studio-queue-deliverable { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; border:1px solid #e6dfe9; border-radius:11px; color:inherit; background:#fcfbfd; text-decoration:none; }
.studio-queue-deliverable strong { overflow:hidden; color:#483451; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }.studio-queue-deliverable span { flex:none; color:#76439a; font-size:9px; font-weight:800; }
.studio-queue-retention { display:flex; justify-content:flex-end; margin-top:15px; color:#766a7c; font-size:10px; font-weight:700; }.studio-queue-retention select { margin-left:7px; padding:7px 9px; border:1px solid #dfd7e4; border-radius:9px; background:#fff; }

/* Full-page Production workspace. */
.studio-production-item-shell { height:100%; display:flex; flex-direction:column; overflow:hidden; background:#f7f5f9; }
.studio-production-item-header { min-height:78px; display:flex; align-items:center; gap:13px; padding:12px 24px; border-bottom:1px solid #e6dfe9; background:#fff; }
.studio-production-item-title { min-width:0; flex:1; }.studio-production-item-title h1 { overflow:hidden; margin:2px 0 0; color:#2b1b35; font-size:19px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }.studio-production-item-title>p:last-child { overflow:hidden; margin:3px 0 0; color:#8b8090; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.studio-production-item-header-actions { display:flex; align-items:center; gap:8px; }.studio-production-item-header-actions>span { margin-right:4px; color:#938799; font-size:10px; font-weight:700; }
.studio-production-item-shell .studio-field input:disabled,.studio-production-item-shell .studio-field textarea:disabled,.studio-production-item-shell .studio-field select:disabled { color:#8f8794; background:#f4f1f6; border-color:#e6e0e9; cursor:not-allowed; }
.studio-production-item-scroll { flex:1; overflow-y:auto; padding:22px 24px 32px; }
.studio-production-item-loading,.studio-production-item-error { padding:54px; border:1px solid #e5dde9; border-radius:18px; text-align:center; color:#7f7385; background:#fff; }.studio-production-item-error strong { display:block; color:#442d50; font-size:17px; }.studio-production-item-error p { margin:8px 0 18px; font-size:12px; }
.studio-production-progress { margin-bottom:14px; padding:15px 20px; border:1px solid #e5dee8; border-radius:15px; background:#fff; }
.studio-production-progress ol { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); margin:0; padding:0; list-style:none; }.studio-production-progress li { position:relative; display:flex; align-items:center; gap:7px; color:#95899b; font-size:9px; font-weight:700; }.studio-production-progress li::before { content:""; position:absolute; top:14px; right:calc(100% - 5px); width:calc(100% - 27px); height:2px; background:#eae4ed; }.studio-production-progress li:first-child::before { display:none; }.studio-production-progress i { position:relative; z-index:1; width:28px; height:28px; display:grid; flex:none; place-items:center; border:1px solid #ded4e4; border-radius:50%; background:#fff; font-style:normal; font-size:9px; }.studio-production-progress li.is-complete { color:#39745d; }.studio-production-progress li.is-complete i { color:#fff; border-color:#4b9c7d; background:#4b9c7d; }.studio-production-progress li.is-current { color:#613382; }.studio-production-progress li.is-current i { color:#fff; border-color:#713e99; background:#713e99; box-shadow:0 0 0 4px #f0e8f5; }.studio-production-progress li.is-complete::before,.studio-production-progress li.is-current::before { background:#7a4a9e; }
.studio-production-summary { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:23px; border-radius:18px; color:#fff; background:linear-gradient(112deg,#2e1746,#7138a1); box-shadow:0 12px 30px rgba(54,28,72,.12); }.studio-production-summary>div:first-child { display:flex; align-items:center; gap:14px; min-width:0; }.studio-production-mark { width:48px; height:48px; display:grid; flex:none; place-items:center; border:1px solid rgba(255,255,255,.22); border-radius:13px; color:#fff; background:rgba(255,255,255,.1); font-size:13px; font-weight:800; }.studio-production-summary .studio-eyebrow { color:#d7c3e5; }.studio-production-summary h2 { overflow:hidden; margin:3px 0; font-size:20px; font-weight:800; text-overflow:ellipsis; white-space:nowrap; }.studio-production-summary p:last-child { margin:0; color:#d9cce1; font-size:11px; }.studio-production-summary-pills { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:7px; }.studio-production-summary-pills span { padding:6px 9px; border:1px solid rgba(255,255,255,.18); border-radius:8px; color:#fff; background:rgba(255,255,255,.09); font-size:9px; font-weight:800; }
.studio-production-phase { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:14px 0; padding:18px 20px; border:1px solid #ddd1e5; border-radius:16px; background:#f9f3fc; }.studio-production-phase h2 { margin:4px 0; color:#3e2849; font-size:17px; }.studio-production-phase p:last-child { max-width:760px; margin:0; color:#736779; font-size:12px; line-height:1.55; }.studio-production-phase>div:last-child { display:flex; flex-wrap:wrap; justify-content:flex-end; gap:8px; }.studio-production-phase--review { border-color:#e2c98d; background:#fffaf0; }.studio-production-phase--ready { border-color:#cde6dc; background:#f3fbf8; }.studio-production-phase--danger { border-color:#f0cdd5; background:#fff5f7; }
.studio-production-layout { display:grid; grid-template-columns:minmax(0,1fr) 315px; align-items:start; gap:14px; }.studio-production-main-column,.studio-production-side-column { display:flex; flex-direction:column; gap:14px; }
.studio-production-panel { padding:20px; border:1px solid #e5dfe8; border-radius:17px; background:#fff; box-shadow:0 7px 22px rgba(43,24,55,.04); }.studio-production-panel>h2,.studio-production-panel-head h2 { margin:4px 0 0; color:#382442; font-size:16px; }.studio-production-panel-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; margin-bottom:16px; }.studio-production-brief-copy { padding:15px; border-radius:13px; background:#faf8fb; }.studio-production-brief-copy h3 { margin:0; color:#382542; font-size:14px; }.studio-production-brief-copy p { margin:5px 0 13px; color:#746979; font-size:12px; line-height:1.55; }.studio-production-brief-copy strong { color:#574361; font-size:10px; text-transform:uppercase; }
.studio-production-brief-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; margin-top:13px; }.studio-production-brief-grid>div { padding:12px; border:1px solid #ece6ee; border-radius:11px; }.studio-production-brief-grid strong,.studio-production-brief-grid span { display:block; }.studio-production-brief-grid strong { color:#66556f; font-size:9px; text-transform:uppercase; }.studio-production-brief-grid span { margin-top:5px; color:#3e2c47; font-size:11px; font-weight:700; line-height:1.4; }.studio-production-checklist { margin-top:13px; padding:15px; border:1px solid #e5d9eb; border-radius:13px; background:#fcf9fd; }.studio-production-checklist>strong { color:#563365; font-size:11px; }.studio-production-checklist ul { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:7px 18px; margin:10px 0 0; padding:0; list-style:none; }.studio-production-checklist li { position:relative; padding-left:18px; color:#695d70; font-size:11px; line-height:1.45; }.studio-production-checklist li::before { content:"✓"; position:absolute; left:0; color:#7943a0; font-weight:800; }
.studio-production-output { display:grid; place-items:center; min-height:300px; overflow:hidden; border-radius:14px; background:#17131b; }.studio-production-output video,.studio-production-output img { display:block; max-width:100%; max-height:500px; }.studio-production-output-empty { padding:44px 20px; border:1px dashed #d9cae2; border-radius:14px; text-align:center; background:#fbf9fc; }.studio-production-output-empty + .studio-production-output-empty { margin-top:12px; }.studio-production-output-empty strong { color:#483052; font-size:14px; }.studio-production-output-empty p { margin:7px 0 0; color:#817486; font-size:11px; }.studio-production-upload { display:block; margin-top:12px; padding:17px; border:1px dashed #cdb8da; border-radius:13px; text-align:center; color:#623783; background:#faf5fc; cursor:pointer; }.studio-production-upload span,.studio-production-upload small { display:block; }.studio-production-upload span { font-size:12px; font-weight:800; }.studio-production-upload small { margin-top:4px; color:#8d7d95; font-size:10px; }.studio-production-upload input { display:none; }
.studio-production-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }.studio-production-form-grid .studio-field+.studio-field { margin-top:0; }.studio-production-form-grid .studio-field--wide { grid-column:1/-1; }
.studio-production-side-column .studio-field { margin-top:14px; }.studio-production-side-column .studio-field span,.studio-production-form-grid .studio-field span { display:block; margin-bottom:6px; color:#5b4a63; font-size:10px; font-weight:800; text-transform:uppercase; }.studio-production-danger>p:not(.studio-eyebrow) { color:#786b7e; font-size:11px; line-height:1.5; }.studio-danger-outline { width:100%; min-height:39px; margin-top:12px; border:1px solid #e7bac5; border-radius:10px; color:#aa3f57; background:#fff5f7; font:inherit; font-size:10px; font-weight:800; cursor:pointer; }
.studio-production-viewer { position:fixed; z-index:400; inset:0; display:none; align-items:center; justify-content:center; padding:24px; background:rgba(31,18,40,.62); backdrop-filter:blur(5px); }.studio-production-viewer.is-open { display:flex; }.studio-production-viewer-card { width:min(1050px,100%); max-height:88vh; display:flex; flex-direction:column; overflow:hidden; border-radius:18px; background:#fff; box-shadow:0 25px 80px rgba(25,13,34,.35); }.studio-production-viewer-card>header { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:17px 20px; color:#fff; background:linear-gradient(110deg,#30174a,#773fa6); }.studio-production-viewer-card h2 { margin:3px 0 0; font-size:18px; }.studio-production-viewer-card .studio-eyebrow { color:#d9c8e5; }.studio-production-viewer-actions { display:flex; align-items:center; gap:8px; }.studio-production-viewer-actions>button { width:36px; height:36px; border:1px solid rgba(255,255,255,.25); border-radius:50%; color:#fff; background:rgba(255,255,255,.08); font-size:21px; cursor:pointer; }.studio-production-viewer-body { overflow:auto; padding:18px; }.studio-production-viewer-loading { padding:40px; text-align:center; color:#7e7284; font-size:12px; }.studio-production-file-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }.studio-production-file-grid article { overflow:hidden; padding:10px; border:1px solid #e5dfe8; border-radius:13px; }.studio-production-file-grid video,.studio-production-file-grid img,.studio-production-file-generic { width:100%; height:145px; display:grid; place-items:center; object-fit:cover; border-radius:9px; background:#f2eff4; }.studio-production-file-generic { color:#765b84; font-size:11px; font-weight:800; }.studio-production-file-grid strong { display:block; overflow:hidden; margin:9px 0; color:#43304c; font-size:10px; text-overflow:ellipsis; white-space:nowrap; }.studio-production-file-grid article>div:last-child { display:grid; grid-template-columns:1fr 1fr; gap:6px; }.studio-production-file-grid a { padding:8px; border-radius:8px; color:#6c348f; background:#f4ebf9; font-size:9px; font-weight:800; text-align:center; text-decoration:none; }.studio-production-file-grid a:last-child { color:#fff; background:#63358a; }

@media (max-width:1180px) {
    .studio-queue-grid--workflow { grid-template-columns:repeat(3,minmax(0,1fr)); }
    .studio-production-layout { grid-template-columns:minmax(0,1fr) 280px; }
    .studio-production-brief-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .studio-production-file-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}

@media (max-width:767px) {
    .studio-page-production_item #studioMobileNavigation,.studio-page-production_item #studioMobileMoreMenu,.studio-page-production_item #studioMobileMoreBackdrop { display:none !important; }
    .studio-page-production_item .studio-content { padding-bottom:0 !important; }
    .studio-page-production_item .studio-mobile-header { display:none !important; }
    body.studio-page-production_item { flex-direction:column; }
    .studio-page-production_item #pushNotificationBanner { position:relative; inset:auto; flex-shrink:0; }
    .studio-page-production_item .studio-content { min-height:0; width:100%; }
    .studio-production-item-header { min-height:70px; padding:10px 12px; }.studio-production-item-title h1 { font-size:15px; }.studio-production-item-title>p:last-child { font-size:9px; }.studio-production-item-header-actions>span,.studio-production-item-header-actions .studio-button-secondary { display:none; }.studio-production-item-header-actions .studio-button-primary { min-height:36px; padding:8px 10px; font-size:9px; }
    .studio-page-production_item .studio-production-item-header { flex-wrap:wrap; gap:8px; }
    .studio-page-production_item .studio-production-item-title { flex:1 0 100%; }
    .studio-page-production_item .studio-production-item-header-actions { width:100%; flex-wrap:wrap; justify-content:space-between; }
    .studio-page-production_item #productionExitButton:not([hidden]) { display:inline-flex; align-items:center; justify-content:center; }
    .studio-page-production_item #productionExitButton:not([hidden]),
    .studio-page-production_item #saveProductionButton:not([hidden]) { min-height:44px; padding:10px 12px; font-size:12px; line-height:1.2; white-space:nowrap; }
    .studio-page-production_item #productionExitButton[hidden],
    .studio-page-production_item #saveProductionButton[hidden] { display:none; }
    .studio-production-item-scroll { padding:12px 12px 84px; }.studio-production-progress { margin:0 -12px 12px; padding:10px 12px; overflow-x:auto; border-width:0 0 1px; border-radius:0; }.studio-production-progress ol { width:680px; }.studio-production-progress li { font-size:8px; }
    .studio-production-summary { align-items:flex-start; flex-direction:column; padding:17px; }.studio-production-summary h2 { font-size:17px; white-space:normal; }.studio-production-summary-pills { justify-content:flex-start; }.studio-production-phase { align-items:flex-start; flex-direction:column; padding:16px; }.studio-production-phase>div:last-child { width:100%; justify-content:flex-start; }.studio-production-phase a,.studio-production-phase button { flex:1; }
    .studio-production-layout { display:block; }.studio-production-side-column { margin-top:12px; }.studio-production-panel { padding:16px; border-radius:15px; }.studio-production-panel-head { align-items:flex-start; flex-direction:column; }.studio-production-brief-grid,.studio-production-checklist ul,.studio-production-form-grid { grid-template-columns:1fr; }.studio-production-form-grid .studio-field--wide { grid-column:auto; }.studio-production-output { min-height:220px; }
    .studio-production-viewer { align-items:flex-end; padding:0; }.studio-production-viewer-card { width:100%; max-height:94dvh; border-radius:18px 18px 0 0; }.studio-production-viewer-card>header { padding:15px; }.studio-production-file-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }.studio-production-file-grid video,.studio-production-file-grid img,.studio-production-file-generic { height:120px; }
    .studio-queue-grid--workflow { grid-template-columns:repeat(2,minmax(0,1fr)); }.studio-queue-job { padding:17px; }.studio-queue-job-head { flex-direction:column; }.studio-queue-job-actions,.studio-queue-job-actions a,.studio-queue-job-actions button { width:100%; }.studio-queue-flow { width:650px; }.studio-queue-job { overflow-x:hidden; }.studio-queue-flow { overflow:visible; }.studio-queue-deliverables { grid-template-columns:1fr; }.studio-queue-retention { justify-content:flex-start; }
    .studio-page-prepare_production .studio-brief-stage-intro>p:last-child { font-size:12px; }.studio-page-prepare_production .studio-field input,.studio-page-prepare_production .studio-field textarea,.studio-page-prepare_production .studio-field select { font-size:12px; }
}

/* MySchoolApp-standard mobile navigation and sheets */
body.studio-modal-open { overflow:hidden !important; }
.studio-mobile-more-backdrop,.studio-mobile-more-menu,#studioMobileNavigation { display:none; }
@media(max-width:767px){
    :root{--studio-mobile-nav-clearance:calc(5.75rem + env(safe-area-inset-bottom))}
    .studio-content{padding-bottom:var(--studio-mobile-nav-clearance)!important}
    /* Match the final phone chrome before the footer stylesheet arrives. */
    #studioMobileNavigation{display:block;z-index:500!important;left:12px!important;right:12px!important;bottom:calc(12px + env(safe-area-inset-bottom,0px))!important;width:auto!important;height:70px!important;margin:0!important;padding:8px!important;border:1px solid #e8dfef;border-radius:24px;background:#fffffff2;backdrop-filter:blur(18px);box-shadow:0 8px 32px #25133624;overflow:hidden}
    .studio-mobile-nav-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));align-items:stretch;gap:4px;width:100%;height:100%;min-height:0;padding:0;margin:0}
    .studio-mobile-nav-entry{width:100%;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:5px 2px;border:0;border-radius:15px;color:#796987;background:transparent;font:inherit;text-decoration:none;cursor:pointer;transition:none;transform:none}
    .studio-mobile-nav-entry svg{width:22px;height:22px}
    .studio-mobile-nav-entry span{font-size:10px;font-weight:700;line-height:1}
    .studio-mobile-nav-entry:active{transform:none}
    .studio-mobile-nav-entry.is-active,.studio-mobile-nav-entry.is-open{color:#653296;background:#eee3f8;box-shadow:none}
    .studio-mobile-more-backdrop{position:fixed;inset:0;z-index:504;display:block;pointer-events:none;opacity:0;background:rgba(28,13,41,.46);transition:opacity .25s ease}
    .studio-mobile-more-backdrop.is-open{pointer-events:auto;opacity:1}
    .studio-mobile-more-menu{position:fixed;left:12px;right:12px;bottom:var(--studio-mobile-nav-clearance);z-index:505;display:block;padding:8px 12px 14px;border:1px solid #e6def0;border-radius:18px;background:#fff;box-shadow:0 16px 40px rgba(39,20,61,.2);transform:translateY(calc(100% + var(--studio-mobile-nav-clearance)));pointer-events:none;transition:transform .36s cubic-bezier(.22,1,.36,1)}
    .studio-mobile-more-menu.is-open{transform:translateY(0);pointer-events:auto}
    .studio-mobile-more-handle{height:17px;display:flex;align-items:flex-start;justify-content:center}
    .studio-mobile-more-handle span{width:38px;height:4px;border-radius:999px;background:#bfa9d4}
    .studio-mobile-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
    .studio-mobile-more-module{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-height:92px;padding:10px;border-radius:16px;color:#51475d;text-decoration:none;font-size:11px;font-weight:700;transition:transform .16s ease,background .16s ease}
    .studio-mobile-more-module:active{transform:scale(.96)}
    .studio-mobile-more-icon{width:46px;height:46px;display:grid;place-items:center;border:1px solid #e6d9f2;border-radius:15px;color:#580b87;background:#f4edfb;box-shadow:0 2px 8px rgba(55,31,82,.06)}
    .studio-mobile-more-icon svg{width:22px;height:22px}
    .studio-mobile-more-module.is-active{color:#580b87;font-weight:800}
    .studio-mobile-more-module.is-active .studio-mobile-more-icon{border-color:#FDAD1D;background:#FDAD1D;box-shadow:0 3px 10px rgba(88,11,135,.14)}

    .studio-modal{display:none!important;inset:0!important;height:100dvh!important;align-items:flex-end!important;justify-content:center!important;padding:0!important;background:rgba(0,0,0,.45)!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
    .studio-modal:not(.hidden){display:flex!important}
    .studio-modal>div{width:calc(100% - 24px)!important;max-width:calc(100% - 24px)!important;max-height:calc(85dvh - var(--studio-mobile-nav-clearance))!important;margin:0 12px var(--studio-mobile-nav-clearance)!important;border-radius:18px!important;transform:translateY(100%);animation:studioSheetUp .35s cubic-bezier(.16,1,.3,1) forwards!important}
    .studio-modal.studio-sheet-closing>div{animation:studioSheetDown .28s cubic-bezier(.32,.94,.6,1) forwards!important}
    .studio-modal.studio-sheet-closing{animation:studioBackdropOut .28s ease forwards!important}
    .studio-modal>div>div:first-child:not(#modalLockOverlay),.studio-modal .studio-modal-header,#postModal>div>div:nth-child(2){padding:18px!important}
    .studio-modal>div>form{min-height:0;overflow-y:auto;overscroll-behavior:contain}
    .studio-modal>div>.flex-1.overflow-y-auto,.studio-modal>div>.overflow-y-auto.flex-1,.studio-modal>div>div.flex-1{min-height:0;overscroll-behavior:contain}
    .studio-modal>div>div:last-child.border-t,.studio-modal>div>form>div:last-child{padding:14px 18px max(14px,env(safe-area-inset-bottom))!important}
    @keyframes studioSheetUp{to{transform:translateY(0)}}
    @keyframes studioSheetDown{from{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}
    @keyframes studioBackdropOut{from{background:rgba(0,0,0,.45)}to{background:rgba(0,0,0,0)}}
}
@media(prefers-reduced-motion:reduce){.studio-modal>div,.studio-mobile-more-menu,.studio-mobile-more-backdrop{animation-duration:.01ms!important;transition-duration:.01ms!important}}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
html, body, body * { scrollbar-width:none !important; -ms-overflow-style:none !important; }
html::-webkit-scrollbar, body::-webkit-scrollbar, body *::-webkit-scrollbar { width:0 !important; height:0 !important; display:none !important; background:transparent !important; }
body { margin: 0; color: var(--studio-ink); background: var(--studio-background); font-family: Montserrat, Arial, sans-serif; font-size: 14px; line-height: 1.55; }
.studio-shell { background: var(--studio-background) !important; }
.studio-sidebar { width: 268px !important; background: var(--studio-gradient) !important; border-right: 1px solid rgba(255,255,255,.1); }
.studio-sidebar .studio-brand { min-height: 86px; padding: 20px 22px; border-bottom: 1px solid rgba(255,255,255,.12); }
.studio-brand-logo { width: 38px; height: 38px; object-fit: contain; }
.studio-brand-copy { display: grid; line-height: 1.08; }
.studio-brand-copy strong { font-size: 16px; font-weight: 800; letter-spacing: -.02em; }
.studio-brand-copy span { margin-top: 4px; color: var(--studio-yellow); font-size: 10px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.studio-sidebar nav a { min-height: 46px; border-radius: 12px !important; color: rgba(255,255,255,.74) !important; font-size: 13px; font-weight: 700; }
.studio-sidebar nav a:hover { background: rgba(255,255,255,.1) !important; color: white !important; }
.studio-sidebar nav a.bg-blue-600 { background: var(--studio-yellow) !important; color: var(--studio-purple-deep) !important; box-shadow: 0 8px 22px rgba(25,9,45,.25); }
.studio-mobile-header { min-height: 64px; color: white; background: var(--studio-gradient) !important; border: 0 !important; }
.studio-mobile-header .studio-recovery-toggle { margin-inline-start:auto; }
.studio-mobile-wordmark { width:142px; height:38px; object-fit:contain; object-position:left center; }
.studio-mobile-header #mobileLogoutBtn { color:#fff !important; }
.studio-mobile-header #mobileLogoutBtn:hover { color:var(--studio-yellow) !important; }
.studio-content { min-width: 0; background: var(--studio-background); }
.studio-content > .flex-1 { background: var(--studio-background) !important; }
.mobile-hide-title { margin: 18px 22px 0; padding: 22px 24px !important; color: white; background: var(--studio-gradient) !important; border: 0 !important; border-radius: 18px; box-shadow: 0 16px 38px rgba(50,25,79,.18); }
.mobile-hide-title h1, .mobile-hide-title h2 { color: white !important; font-size: clamp(24px, 2vw, 30px) !important; font-weight: 800 !important; line-height: 1.2; letter-spacing: -.025em; }
.mobile-hide-title p { color: rgba(255,255,255,.76) !important; font-size: 14px !important; }
.studio-page { width: 100%; max-width: 100%; min-width: 0; padding: 22px; }
.studio-card { background: white; border: 1px solid var(--studio-line); border-radius: 15px; box-shadow: 0 8px 28px rgba(58,35,81,.07); }
.studio-section-title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.studio-eyebrow { margin: 0 0 6px; color: var(--studio-purple); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.studio-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; background: var(--studio-purple-soft); color: var(--studio-purple); font-size: 12px; font-weight: 700; line-height: 1.25; }
.studio-primary-button, .studio-secondary-button { min-height: 42px; padding: 10px 15px; border: 0; border-radius: 11px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.studio-primary-button { color: white; background: var(--studio-purple); box-shadow: 0 8px 18px rgba(77,40,123,.2); }
.studio-primary-button:hover { background: var(--studio-purple-deep); }
.studio-secondary-button { color: var(--studio-purple); background: var(--studio-purple-soft); border: 1px solid #ddcaef; }
input, select, textarea { font-family: inherit; }
textarea:not([data-studio-fixed-height]) { resize:none !important; overflow-y:hidden; }
.studio-form { display: grid; gap: 16px; }
.studio-form label { display: grid; gap: 7px; color: #5f576a; font-size: 11px; font-weight: 700; }
.studio-form input, .studio-form select, .studio-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; color: var(--studio-ink); background: white; border: 1px solid #dcd4e5; border-radius: 11px; outline: none; }
.studio-form input:focus, .studio-form select:focus, .studio-form textarea:focus { border-color: #8c67b6; box-shadow: 0 0 0 3px rgba(112,66,170,.13); }
.studio-form-message { margin: 0; color: #c83f57; font-size: 12px; font-weight: 700; }

/* SchoolHive dropdown system */
.studio-select { position:relative; display:block; width:100%; min-width:0; }
.studio-select-native { position:absolute !important; width:1px !important; height:1px !important; margin:0 !important; padding:0 !important; opacity:0 !important; overflow:hidden !important; pointer-events:none !important; clip:rect(0 0 0 0) !important; }
.studio-select-trigger { width:100%; min-height:44px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:10px 12px; color:var(--studio-ink); background:#fff; border:1px solid #dcd2e3; border-radius:11px; font:inherit; font-size:12px; font-weight:700; line-height:1.35; text-align:left; cursor:pointer; transition:border-color .18s ease,box-shadow .18s ease,background .18s ease; }
.studio-select-trigger:hover { border-color:#bfa6d1; background:#fdfbfe; }
.studio-select-trigger:focus-visible,.studio-select-trigger.is-open { outline:0; border-color:#8f68ae; box-shadow:0 0 0 3px rgba(91,44,131,.12); }
.studio-select-trigger:disabled { color:#9a929f; background:#f4f1f6; border-color:#e5dee9; cursor:not-allowed; }
.studio-select-trigger.is-placeholder .studio-select-value { color:#8d8493; font-weight:600; }
.studio-select-value { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.studio-select-chevron { width:17px; height:17px; flex:0 0 auto; color:var(--studio-purple); transition:transform .18s ease; }
.studio-select-trigger.is-open .studio-select-chevron { transform:rotate(180deg); }
.studio-select--compact { width:118px; }
.studio-select--compact .studio-select-trigger { min-height:35px; padding:7px 9px; border-radius:9px; font-size:10px; }
.studio-select--school-filter { width:256px; }
.studio-select-menu { position:fixed; z-index:10000; padding:6px; color:var(--studio-ink); background:rgba(255,255,255,.98); border:1px solid #dfd4e7; border-radius:14px; box-shadow:0 22px 55px rgba(38,18,53,.24); opacity:0; transform:translateY(-5px) scale(.985); transform-origin:top center; overflow:auto; overscroll-behavior:contain; backdrop-filter:blur(16px); transition:opacity .14s ease,transform .14s ease; }
.studio-select-menu.opens-above { transform:translateY(5px) scale(.985); transform-origin:bottom center; }
.studio-select-menu.is-visible { opacity:1; transform:translateY(0) scale(1); }
.studio-select-search-wrap { position:sticky; top:-6px; z-index:1; display:flex; align-items:center; gap:8px; margin:-1px -1px 5px; padding:7px; background:rgba(255,255,255,.98); border-bottom:1px solid #eee7f2; }
.studio-select-search-wrap svg { width:16px; height:16px; flex:0 0 auto; color:#9278a6; }
.studio-select-search { width:100%; min-height:34px; padding:7px 9px !important; color:var(--studio-ink) !important; background:#f8f5fa !important; border:1px solid #e4dce9 !important; border-radius:9px !important; outline:0; font:inherit; font-size:11px; }
.studio-select-options { display:grid; gap:2px; }
.studio-select-option { width:100%; min-height:39px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:9px 10px; color:#4a4051; background:transparent; border:0; border-radius:9px; font:inherit; font-size:11px; font-weight:650; line-height:1.35; text-align:left; cursor:pointer; }
.studio-select-option:hover,.studio-select-option:focus-visible { color:var(--studio-purple-deep); background:var(--studio-purple-soft); outline:0; }
.studio-select-option.is-selected { color:var(--studio-purple); background:#f5effa; font-weight:800; }
.studio-select-option svg { width:16px; height:16px; flex:0 0 auto; color:var(--studio-purple); opacity:0; }
.studio-select-option.is-selected svg { opacity:1; }
.studio-select-option:disabled { color:#aaa2af; background:transparent; cursor:not-allowed; }
.studio-select-option[hidden] { display:none; }
.studio-auth { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: radial-gradient(circle at 15% 10%, rgba(253,173,29,.22), transparent 26%), var(--studio-gradient); }
.studio-auth-card { width: min(100%, 460px); padding: 34px; background: rgba(255,255,255,.98); border: 1px solid rgba(255,255,255,.4); border-radius: 22px; box-shadow: 0 30px 80px rgba(24,8,41,.32); }
.studio-auth-card h1 { margin: 0 0 8px; font-size: 28px; line-height: 1.18; }
.studio-auth-card > p:not(.studio-eyebrow) { margin: 0 0 24px; color: var(--studio-muted); }
.studio-brand-mark { display: grid; width: 48px; height: 48px; margin-bottom: 18px; place-items: center; color: var(--studio-purple-deep); background: var(--studio-yellow); border-radius: 15px; font-weight: 800; }
table { border-color: var(--studio-line) !important; }
thead tr { background: #f7f3fb !important; }
th { color: #696274 !important; font-size: 11px !important; font-weight: 700 !important; }
td { color: var(--studio-ink); font-size: 13px; }
.rounded-xl, .rounded-2xl { border-radius: 15px !important; }
.bg-blue-600 { background-color: var(--studio-purple) !important; }
.text-blue-600, .text-blue-700 { color: var(--studio-purple) !important; }
.focus\:ring-blue-500:focus, .focus\:ring-blue-600:focus { --tw-ring-color: rgba(112,66,170,.3) !important; }
.studio-queue-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:14px; }
.studio-kpi { min-height: 150px; padding: 16px; background: white; border: 1px solid var(--studio-line); border-radius: 15px; }
.studio-kpi:first-child { background: linear-gradient(110deg,#f2e8ff,#fff 88%); border-color: #d7c2ef; }
.studio-kpi-icon { color: #7652a3; font-size: 24px; line-height: 1; }
.studio-kpi-label { margin-top: 13px; color: #696274; font-size: 11px; font-weight: 700; }
.studio-kpi-value { margin-top: 5px; color: var(--studio-ink); font-size: clamp(27px,2.5vw,34px); font-weight: 800; line-height: 1.1; }
.studio-kpi-note { margin-top: 5px; color: var(--studio-muted); font-size: 12px; }
.studio-notice { margin:0 0 14px; padding:12px 15px; color:#245d4c; background:#e9f8f2; border:1px solid #bfe7d8; border-radius:12px; font-size:12px; font-weight:700; }
.studio-notice.is-error { color:#97384c; background:#fff0f3; border-color:#efc2cc; }
@media (max-width: 1024px) { .studio-queue-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
    .studio-content { padding-bottom: var(--studio-mobile-nav-clearance) !important; }
    .studio-page { padding: 14px; }
    .mobile-hide-title { display: none !important; }
    .studio-queue-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .studio-kpi { min-height: 132px; padding: 14px; }
    .studio-select--school-filter { width:100%; }
    #studioMobileNavigation { margin:0 !important; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

/* Studio 2.0 — creative operations workspace */
:root {
    --studio-purple: #5b2c83;
    --studio-purple-deep: #2a143d;
    --studio-purple-mid: #7442a5;
    --studio-purple-soft: #f3edfa;
    --studio-yellow: #fdad1d;
    --studio-ink: #281f31;
    --studio-muted: #776f80;
    --studio-line: #e8e1ee;
    --studio-background: #f6f3f8;
    --studio-gradient: linear-gradient(135deg,#2d1742 0%,#4d287b 52%,#7442a5 100%);
    --studio-shadow: 0 16px 44px rgba(49,27,68,.09);
}
body { background: var(--studio-background); }
.studio-shell { background: var(--studio-background) !important; }
.studio-sidebar { position:relative; width:112px !important; padding:0 10px; background:#2d1742 !important; box-shadow:12px 0 40px rgba(32,15,47,.13); }
.studio-sidebar::before { content:""; position:absolute; inset:0; pointer-events:none; background:radial-gradient(circle at 50% 8%,rgba(253,173,29,.14),transparent 22%),radial-gradient(circle at 0 78%,rgba(155,106,205,.2),transparent 28%); }
.studio-sidebar .studio-brand { position:relative; min-height:92px; justify-content:center; padding:18px 8px; border-bottom:1px solid rgba(255,255,255,.1); }
.studio-sidebar .studio-brand-logo { width:46px; height:46px; padding:8px; background:#fff; border-radius:15px; box-shadow:0 10px 24px rgba(0,0,0,.18); }
.studio-sidebar .studio-brand-copy { display:none; }
.studio-sidebar nav { position:relative; }
.studio-sidebar nav a { min-height:67px; padding:9px 6px !important; display:flex; flex-direction:column; justify-content:center; gap:6px !important; border-radius:16px !important; color:rgba(255,255,255,.62) !important; font-size:9px; font-weight:700; text-align:center; line-height:1.15; }
.studio-sidebar nav a svg { width:21px; height:21px; }
.studio-sidebar nav a:hover { color:#fff !important; background:rgba(255,255,255,.08) !important; transform:translateY(-1px); }
.studio-sidebar nav a.bg-blue-600 { color:#2d1742 !important; background:var(--studio-yellow) !important; box-shadow:0 10px 26px rgba(253,173,29,.22); }
.studio-sidebar-footer { position:relative; display:flex; align-items:center; justify-content:center; border-top:1px solid rgba(255,255,255,.1); }
.studio-sidebar-footer button { min-height:48px; padding:8px !important; font-size:0; border-radius:14px !important; color:#f1b8c4 !important; }
.studio-sidebar-footer button svg { width:21px; height:21px; flex:0 0 21px; }
.studio-sidebar-logout-label { display:none; }
.studio-content { background:var(--studio-background); }
.studio-topbar { height:68px; padding:0 28px; align-items:center; justify-content:space-between; flex:0 0 auto; background:rgba(255,255,255,.88); border-bottom:1px solid rgba(76,45,96,.08); backdrop-filter:blur(18px); }
.studio-topbar-context,.studio-topbar-user { display:flex; align-items:center; gap:10px; }
.studio-topbar-logo { width:96px; height:30px; object-fit:contain; object-position:left center; }
.studio-topbar-action { min-height:34px; display:inline-flex; align-items:center; gap:7px; padding:7px 11px; border:1px solid #dfd2e8; border-radius:10px; color:var(--studio-purple); background:#f7f1fb; font:inherit; font-size:10px; font-weight:800; cursor:pointer; transition:.18s ease; }
.studio-topbar-action:hover { color:#fff; border-color:var(--studio-purple); background:var(--studio-purple); box-shadow:0 7px 18px rgba(75,37,107,.16); }
.studio-topbar-action svg { width:14px; height:14px; }
.studio-topbar-action-separator { width:1px; height:24px; background:var(--studio-line); }
.studio-topbar-context strong { font-size:13px; color:var(--studio-ink); }
.studio-topbar-context > span:last-child { color:var(--studio-muted); font-size:11px; }
.studio-topbar-kicker { color:var(--studio-purple) !important; font-size:10px !important; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.studio-topbar-separator { width:1px; height:22px; background:var(--studio-line); }
.studio-live-dot { width:7px; height:7px; border-radius:50%; background:#28b989; box-shadow:0 0 0 5px rgba(40,185,137,.1); }
.studio-topbar-online { color:#60746f; font-size:10px; font-weight:700; }
.studio-user-avatar { width:36px; height:36px; display:grid; place-items:center; margin-left:10px; border-radius:12px; color:#fff; background:var(--studio-gradient); font-size:13px; font-weight:800; }
.studio-user-copy { display:grid; line-height:1.2; }
.studio-user-copy strong { font-size:11px; }
.studio-user-copy span { color:var(--studio-muted); font-size:9px; font-weight:600; text-transform:uppercase; }

.studio-workspace { flex:1; min-height:0; overflow-y:auto; padding:24px 28px 40px; background:radial-gradient(circle at 92% 0,rgba(122,72,164,.09),transparent 24%),var(--studio-background); }
.studio-hero { position:relative; overflow:hidden; padding:27px; color:#fff; background:var(--studio-gradient); border-radius:24px; box-shadow:0 18px 48px rgba(45,23,66,.22); }
.studio-hero::before,.studio-hero::after { content:""; position:absolute; border-radius:50%; pointer-events:none; }
.studio-hero::before { width:260px; height:260px; right:-80px; top:-145px; border:1px solid rgba(255,255,255,.16); box-shadow:0 0 0 32px rgba(255,255,255,.035),0 0 0 65px rgba(255,255,255,.025); }
.studio-hero::after { width:130px; height:130px; left:48%; bottom:-100px; background:rgba(253,173,29,.12); filter:blur(2px); }
.studio-hero-top { position:relative; z-index:1; display:flex; justify-content:space-between; align-items:flex-start; gap:20px; }
.studio-hero-title-wrap { display:flex; align-items:flex-start; gap:14px; }
.studio-hero-icon { width:48px; height:48px; display:grid; place-items:center; flex:0 0 auto; border-radius:15px; color:#2d1742; background:var(--studio-yellow); box-shadow:0 10px 24px rgba(0,0,0,.15); }
.studio-hero-icon svg { width:24px; height:24px; }
.studio-hero h1,.studio-hero h2 { margin:0; color:#fff !important; font-size:clamp(24px,2vw,30px) !important; font-weight:800 !important; line-height:1.2; letter-spacing:-.03em; }
.studio-hero p { margin:6px 0 0; color:rgba(255,255,255,.72) !important; font-size:13px !important; }
.studio-hero-actions { position:relative; z-index:1; display:flex; gap:9px; flex-wrap:wrap; justify-content:flex-end; }
.studio-hero-button { min-height:43px; display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 15px; border:1px solid rgba(255,255,255,.22); border-radius:12px; color:#fff; background:rgba(255,255,255,.1); font:inherit; font-size:12px; font-weight:700; cursor:pointer; backdrop-filter:blur(8px); }
.studio-hero-button:hover { background:rgba(255,255,255,.18); }
.studio-hero-button.primary { color:#2d1742; background:var(--studio-yellow); border-color:var(--studio-yellow); }
.studio-hero-divider { position:relative; z-index:1; height:1px; margin:23px 0 18px; background:rgba(255,255,255,.14); }
.studio-hero-kpis { position:relative; z-index:1; display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
.studio-hero-kpi { min-height:132px; padding:15px; color:var(--studio-ink); background:rgba(255,255,255,.96); border:1px solid rgba(255,255,255,.6); border-radius:17px; box-shadow:0 12px 28px rgba(22,8,35,.12); }
.studio-hero-kpi:first-child { background:linear-gradient(120deg,#fff6dc,#fff 90%); }
.studio-hero-kpi svg { width:23px; height:23px; color:#7652a3; }
.studio-hero-kpi-label { margin-top:10px; color:#696274; font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.studio-hero-kpi-value { margin-top:3px; color:var(--studio-ink); font-size:30px; font-weight:800; line-height:1.1; letter-spacing:-.04em; }
.studio-hero-kpi-note { margin-top:4px; color:var(--studio-muted); font-size:11px; }

.studio-section-grid { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr); gap:18px; margin-top:18px; }
.studio-dashboard-columns { grid-template-columns:repeat(3,minmax(0,1fr)); align-items:stretch; }
.studio-dashboard-columns>.studio-panel { height:100%; }
.studio-panel { min-width:0; background:#fff; border:1px solid var(--studio-line); border-radius:19px; box-shadow:var(--studio-shadow); overflow:hidden; }
.studio-panel-header { min-height:62px; display:flex; align-items:center; justify-content:space-between; gap:14px; padding:15px 18px; border-bottom:1px solid var(--studio-line); background:linear-gradient(180deg,#fff,#fcfafd); }
.studio-panel-title { display:flex; align-items:center; gap:10px; }
.studio-panel-title-icon { width:34px; height:34px; display:grid; place-items:center; color:var(--studio-purple); background:var(--studio-purple-soft); border-radius:11px; }
.studio-panel-title-icon svg { width:17px; height:17px; }
.studio-panel-title h3 { margin:0; color:var(--studio-ink); font-size:15px; font-weight:800; }
.studio-panel-title p { margin:2px 0 0; color:var(--studio-muted); font-size:10px; }
.studio-panel-link { color:var(--studio-purple); font-size:11px; font-weight:800; text-decoration:none; }
.studio-panel-body { padding:16px 18px; }
.studio-performance-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }
.studio-performance-grid--single { grid-template-columns:1fr; }
.studio-school-card { position:relative; overflow:hidden; min-height:120px; padding:16px; border:1px solid var(--studio-line); border-radius:15px; background:#fff; transition:border-color .16s ease; }
.studio-school-card:hover,.studio-school-card:focus-within { transform:none; border-color:var(--studio-purple-deep); box-shadow:none; }
.studio-school-card::after { content:""; position:absolute; right:-24px; bottom:-26px; width:80px; height:80px; border-radius:50%; background:var(--studio-purple-soft); }
.studio-school-card h4 { position:relative; z-index:1; margin:0; color:var(--studio-ink); font-size:13px; font-weight:800; }
.studio-school-card-meta { position:relative; z-index:1; margin-top:5px; color:var(--studio-muted); font-size:11px; }
.studio-school-stats { position:relative; z-index:1; display:flex; gap:18px; margin-top:17px; }
.studio-school-stat span { display:block; color:var(--studio-muted); font-size:9px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.studio-school-stat strong { display:block; margin-top:1px; font-size:18px; color:var(--studio-purple); }
.studio-school-stat.warning strong { color:#bd7411; }
.studio-activity-stack { display:grid; gap:18px; }
.studio-feed { list-style:none; padding:0; margin:0; }
.studio-feed li { position:relative; padding:13px 0 13px 24px; border-bottom:1px solid #f0ebf3; }
.studio-feed li:last-child { border-bottom:0; }
.studio-feed li::before { content:""; position:absolute; left:2px; top:19px; width:8px; height:8px; border-radius:50%; background:var(--studio-yellow); box-shadow:0 0 0 5px #fff4d8; }
.studio-feed-title { margin:0; color:var(--studio-ink); font-size:12px; font-weight:700; }
.studio-feed-meta { display:flex; justify-content:space-between; gap:10px; margin-top:4px; color:var(--studio-muted); font-size:10px; }
.studio-feed-meta strong { color:var(--studio-purple); font-weight:700; }
.studio-empty { padding:30px 16px; color:var(--studio-muted); text-align:center; font-size:12px; }

/* Existing page modernization */
.studio-page-content_inbox > .studio-content > div,
.studio-page-production_pipeline > .studio-content > div,
.studio-page-admin_calendar > .studio-content > div,
.studio-page-manage_schools > .studio-content > div,
.studio-page-production_queue > .studio-content > div { background:var(--studio-background) !important; }
.studio-page-content_inbox > .studio-content > div,
.studio-page-production_pipeline > .studio-content > div,
.studio-page-manage_schools > .studio-content > div,
.studio-page-production_queue > .studio-content > div { height:auto !important; min-height:0; flex:1 1 auto; }
.mobile-hide-title { position:relative; margin:20px 28px 0; padding:25px 27px 25px 88px !important; min-height:94px; border-radius:22px; background:var(--studio-gradient) !important; box-shadow:0 16px 42px rgba(45,23,66,.2); }
.mobile-hide-title::before { content:""; position:absolute; left:20px; top:50%; width:46px; height:46px; margin:0; transform:translateY(-50%); border-radius:14px; background-color:var(--studio-yellow); background-position:center; background-repeat:no-repeat; background-size:23px 23px; }
.mobile-hide-title::after { content:none; }
.mobile-hide-title > div:first-child { position:relative; z-index:1; margin-right:auto; }
.mobile-hide-title > h1,.mobile-hide-title > h2,.mobile-hide-title > p { position:relative; z-index:1; text-align:left; }
.studio-page-content_inbox .mobile-hide-title::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232d1742' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4'/%3E%3C/svg%3E"); }
.studio-page-production_pipeline .mobile-hide-title::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232d1742' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M9 17V7m0 10a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2h2a2 2 0 012 2m0 10a2 2 0 002 2h2a2 2 0 002-2M9 7a2 2 0 012-2h2a2 2 0 012 2m0 10V7m0 10a2 2 0 002 2h2a2 2 0 002-2V7a2 2 0 00-2-2h-2a2 2 0 00-2 2'/%3E%3C/svg%3E"); }
.studio-page-production_queue .mobile-hide-title::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232d1742' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 6h16M4 12h16M4 18h7'/%3E%3C/svg%3E"); }
.studio-page-manage_schools .mobile-hide-title::before { background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%232d1742' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M12 4.354a4 4 0 110 5.292M15 21H3v-1a6 6 0 0112 0v1zm0 0h6v-1a6 6 0 00-9-5.197M13 7a4 4 0 11-8 0 4 4 0 018 0z'/%3E%3C/svg%3E"); }
.mobile-sub-nav { margin:14px 28px 0; padding:0 18px !important; background:#fff !important; border:1px solid var(--studio-line) !important; border-radius:15px; box-shadow:0 10px 28px rgba(53,30,70,.06); }
.mobile-sub-nav + div { background:transparent !important; }
#pipelineTabs,#pipelineBoardTabs { margin-top:0 !important; border:0 !important; }
#pipelineTabs.hidden,#pipelineBoardTabs.hidden { display:none !important; }
.studio-page-content_inbox .mobile-sub-nav > div:first-child { margin-top:0 !important; }
#pipelineTabs .tab-btn,#tabPending,#tabHistory { padding:15px 4px 13px !important; border-color:transparent !important; }
#pipelineTabs .tab-btn.text-blue-600,#tabPending.text-blue-600,#tabHistory.text-blue-600 { color:var(--studio-purple) !important; border-color:var(--studio-yellow) !important; }
#pipelineBoardTabs .board-tab-btn { padding:15px 4px 13px !important; color:var(--studio-muted); border-color:transparent !important; background:transparent; }
#pipelineBoardTabs .board-tab-btn:hover { color:var(--studio-purple); }
#pipelineBoardTabs .board-tab-btn.active { color:var(--studio-purple); border-color:var(--studio-yellow) !important; }
#pipelineBoardTabs .board-tab-btn .count-badge { color:#655a6d; background:#f0edf2; }
#pipelineBoardTabs .board-tab-btn.active .count-badge { color:var(--studio-purple); background:#eee4f5; }
#pipelineContentWrapper,#inboxContentWrapper > div > div,#historyWrapper { border-radius:18px !important; }
#pipelineContentWrapper { border:1px solid var(--studio-line) !important; box-shadow:var(--studio-shadow) !important; }
#pipelineContentWrapper.hidden,#pipelineBoardWrapper.hidden { display:none !important; }
#inboxContainer > .hidden.md\:block,#historyWrapper > .hidden.md\:block { border:1px solid var(--studio-line) !important; border-radius:18px !important; box-shadow:var(--studio-shadow) !important; }
#inboxContainer thead,#historyWrapper thead,#schoolDirectoryBody + thead { background:#f7f3fb !important; }
#inboxContainer tbody tr:hover,#historyWrapper tbody tr:hover { background:#fbf9fd !important; }
.studio-page-manage_schools .xl\:col-span-1,.studio-page-manage_schools .xl\:col-span-2 { border-color:var(--studio-line) !important; border-radius:18px !important; box-shadow:var(--studio-shadow) !important; }
.studio-page-manage_schools .xl\:col-span-1 h3 { color:var(--studio-ink); border-color:var(--studio-line); }
.studio-page-manage_schools #submitBtn { min-height:44px; border-radius:11px; background:var(--studio-purple) !important; }
.studio-page-manage_schools #schoolDirectoryBody tr { border-color:#eee8f1 !important; }
.studio-page-manage_schools #schoolDirectoryBody tr:hover { background:#fbf9fd !important; }
.fixed.inset-0 > div > .bg-slate-900 { background:var(--studio-gradient) !important; }
.fixed.inset-0 > div { border-color:var(--studio-line) !important; }

/* Studio modal system */
body.studio-shell .studio-content > div.studio-modal,
.studio-modal { background:rgba(30,14,44,.64) !important; backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px); }
.studio-modal > div { display:flex; flex-direction:column; min-width:0; overflow:hidden; border:1px solid var(--studio-line) !important; border-radius:18px !important; background:#fff !important; box-shadow:0 24px 70px rgba(26,12,43,.28) !important; }
.studio-modal > div > div:first-child:not(#modalLockOverlay),
.studio-modal .studio-modal-header,
#postModal > div > div:nth-child(2) { position:relative; padding:20px 24px !important; color:#fff !important; background:var(--studio-gradient) !important; border-color:rgba(255,255,255,.12) !important; }
.studio-modal > div > div:first-child:not(#modalLockOverlay)::after,
.studio-modal .studio-modal-header::after,
#postModal > div > div:nth-child(2)::after { content:""; position:absolute; width:120px; height:120px; right:-55px; top:-75px; border:1px solid rgba(255,255,255,.18); border-radius:50%; box-shadow:0 0 0 22px rgba(255,255,255,.035); pointer-events:none; }
.studio-modal > div > div:first-child:not(#modalLockOverlay) h2,
.studio-modal > div > div:first-child:not(#modalLockOverlay) h3,
.studio-modal .studio-modal-header h2,
.studio-modal .studio-modal-header h3,
#postModal > div > div:nth-child(2) h2 { color:#fff !important; font-size:18px !important; font-weight:800 !important; line-height:1.35 !important; letter-spacing:-.02em; }
.studio-modal > div > div:first-child:not(#modalLockOverlay) p,
.studio-modal .studio-modal-header p,
#postModal > div > div:nth-child(2) p { color:rgba(255,255,255,.78) !important; }
.studio-modal > div > div:first-child:not(#modalLockOverlay) button[onclick*="close"],
.studio-modal > div > div:first-child:not(#modalLockOverlay) .closeUploadModal,
.studio-modal .studio-modal-header button[onclick*="close"],
#postModal > div > div:nth-child(2) button[onclick*="close"] { position:relative; z-index:2; width:36px !important; height:36px !important; min-width:36px !important; min-height:36px !important; display:grid; place-items:center; flex:0 0 36px; padding:0 !important; border:1px solid rgba(255,255,255,.2) !important; border-radius:50% !important; color:#fff !important; background:rgba(255,255,255,.1) !important; box-shadow:none !important; }
.studio-modal > div > div:first-child:not(#modalLockOverlay) button[onclick*="close"]:hover,
.studio-modal > div > div:first-child:not(#modalLockOverlay) .closeUploadModal:hover,
.studio-modal .studio-modal-header button[onclick*="close"]:hover,
#postModal > div > div:nth-child(2) button[onclick*="close"]:hover { background:rgba(255,255,255,.22) !important; }
.studio-modal > div > div:first-child:not(#modalLockOverlay) button[onclick*="close"] svg,
.studio-modal > div > div:first-child:not(#modalLockOverlay) .closeUploadModal svg,
.studio-modal .studio-modal-header button[onclick*="close"] svg,
#postModal > div > div:nth-child(2) button[onclick*="close"] svg { width:14px !important; height:14px !important; }
.studio-post-meta { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
.studio-post-platforms { display:flex; flex-wrap:wrap; gap:6px; }
.studio-post-meta-pill,.studio-post-platform-pill { min-height:25px; display:inline-flex; align-items:center; gap:5px; padding:5px 8px; border:1px solid rgba(255,255,255,.14); border-radius:8px; color:#fff; background:rgba(255,255,255,.1); font-size:9px; font-weight:700; line-height:1; }
.studio-post-platform-pill { color:#f3dfff; background:rgba(151,89,198,.22); letter-spacing:.05em; text-transform:uppercase; }
.studio-post-meta-label { color:rgba(255,255,255,.58); font-size:8px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
.studio-post-age { color:#ffe8a3; background:rgba(253,173,29,.15); }
.studio-post-age.is-aging { color:#ffd5d9; background:rgba(224,74,92,.18); }
.studio-post-file-link { min-height:38px; display:inline-flex; align-items:center; justify-content:center; padding:9px 13px; border:1px solid rgba(255,255,255,.16); border-radius:10px; color:#fff; background:rgba(255,255,255,.11); font-size:10px; font-weight:800; text-decoration:none; box-shadow:none; }
.studio-post-file-link:hover { background:rgba(255,255,255,.2); }
.studio-modal > div > .flex-1.overflow-y-auto,
.studio-modal > div > .overflow-y-auto.flex-1,
.studio-modal > div > form .overflow-y-auto { background:#fbfafd !important; }
.studio-modal > div > form { min-height:0; }
.studio-modal label { color:#5e5368 !important; font-size:11px !important; font-weight:700 !important; line-height:1.4 !important; letter-spacing:.02em; }
.studio-modal input,.studio-modal select,.studio-modal textarea { color:var(--studio-ink) !important; background:#fff !important; border:1px solid #dcd2e3 !important; border-radius:11px !important; }
.studio-modal input:focus,.studio-modal select:focus,.studio-modal textarea:focus { border-color:#9772b7 !important; box-shadow:0 0 0 3px rgba(91,44,131,.1) !important; }
.studio-modal .bg-blue-50,.studio-modal .bg-purple-50,.studio-modal .bg-indigo-50 { background:#f6f1fa !important; border-color:#e1d4eb !important; }
.studio-modal .text-blue-900,.studio-modal .text-blue-800,.studio-modal .text-blue-700,.studio-modal .text-blue-600 { color:var(--studio-purple-deep) !important; }
.studio-modal .border-blue-100,.studio-modal .border-blue-200,.studio-modal .border-blue-300 { border-color:#d9c7e7 !important; }
.studio-modal .bg-gray-50 { background:#fbfafd !important; }
.studio-modal .border-dashed { border-color:#cbb7db !important; background:linear-gradient(135deg,#fbf8fd,#f4edf9) !important; }
.studio-modal .bg-slate-800,.studio-modal .bg-blue-600 { background:var(--studio-purple) !important; }
.studio-modal > div > div:last-child.border-t,
.studio-modal > div > form > div:last-child { padding:14px 18px !important; background:#fff !important; border-color:var(--studio-line) !important; }
.studio-modal .studio-primary-button,.studio-modal button.bg-blue-600,.studio-modal button.bg-gray-800 { min-height:42px !important; padding:10px 15px !important; border:1px solid #7538ba !important; border-radius:11px !important; color:#fff !important; background:linear-gradient(115deg,#6c32b5,#8b42d1) !important; box-shadow:0 7px 16px rgba(108,50,181,.2) !important; font-size:13px !important; font-weight:700 !important; }
.studio-modal .studio-secondary-button,.studio-modal button.bg-gray-100 { min-height:42px !important; padding:10px 15px !important; border:1px solid #ded8e9 !important; border-radius:11px !important; color:#5d4380 !important; background:#faf7fd !important; box-shadow:none !important; font-size:13px !important; font-weight:700 !important; }
#agencyUploadModal #tabAgencyNewEvent,
#agencyUploadModal #tabAgencyExistingEvent { padding:0 2px 13px !important; color:rgba(255,255,255,.64) !important; border-color:transparent !important; }
#agencyUploadModal #tabAgencyNewEvent.text-blue-500,
#agencyUploadModal #tabAgencyExistingEvent.text-blue-500 { color:#fff !important; border-color:var(--studio-yellow) !important; }
.studio-approval-note { display:grid; grid-template-columns:30px 1fr 34px 30px 1fr; align-items:center; gap:9px; margin:0 0 18px; padding:13px; border:1px solid #e1d4eb; border-radius:14px; background:linear-gradient(115deg,#f5effa,#fff); }
.studio-approval-note > span { width:30px; height:30px; display:grid; place-items:center; border-radius:10px; color:#2d1742; background:var(--studio-yellow); font-size:11px; font-weight:800; }
.studio-approval-note strong { color:var(--studio-ink); font-size:10px; }
.studio-approval-note p { margin:2px 0 0; color:var(--studio-muted); font-size:9px; line-height:1.4; }
.studio-approval-note i { height:1px; background:#d7c6e3; }
#triageModal > div { max-width:760px !important; }
#postModal > div { max-width:1100px !important; }
#postModal > div > div:nth-child(2) { position:relative; padding:20px 22px !important; color:#fff !important; background:var(--studio-gradient) !important; border-color:rgba(255,255,255,.12) !important; }
#postModal > div > div:nth-child(2) h2 { color:#fff !important; font-size:18px !important; font-weight:800 !important; }
#postModal > div > div:nth-child(2) button { color:#fff !important; }
input,select,textarea { border-color:#ddd4e4 !important; border-radius:11px !important; }
input:focus,select:focus,textarea:focus { border-color:#9c7bb7 !important; box-shadow:0 0 0 3px rgba(91,44,131,.11) !important; }
button.bg-blue-600,a.bg-blue-600 { background:var(--studio-purple) !important; }
.bg-slate-900 { background-color:#2d1742; }

.studio-view-switch { display:inline-flex; gap:3px; padding:4px; background:#eee8f2; border-radius:11px; }
.studio-view-switch button { min-height:34px; display:flex; align-items:center; gap:6px; padding:7px 10px; border:0; border-radius:8px; color:var(--studio-muted); background:transparent; font:inherit; font-size:10px; font-weight:800; cursor:pointer; }
.studio-view-switch button.active { color:var(--studio-purple); background:#fff; box-shadow:0 4px 12px rgba(54,30,73,.1); }
.studio-pipeline-filter-shell { padding-top:14px !important; padding-bottom:14px !important; }
.studio-pipeline-toolbar { display:grid !important; grid-template-columns:minmax(260px,1fr) auto auto auto; align-items:center !important; gap:12px !important; }
.studio-pipeline-filter-controls { display:contents !important; }
.studio-pipeline-search { max-width:none !important; }
.studio-pipeline-search input,.studio-pipeline-dates input { min-height:40px; }
.studio-pipeline-dates { flex-wrap:nowrap; }
.studio-pipeline-priorities { width:auto !important; overflow:visible !important; }
.studio-pipeline-priorities button { min-height:40px; flex:0 0 auto; white-space:nowrap; }
.studio-pipeline-view-controls { justify-self:end; }
.studio-page-production_pipeline #pipelineSwipeZone { padding-bottom:8px !important; }
#pipelineBoardWrapper:not(.hidden) { display:flex; flex-direction:column; }
.studio-kanban-toolbar { min-height:52px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:10px; padding:7px 9px; flex:0 0 auto; background:#fff; border:1px solid var(--studio-line); border-radius:14px; box-shadow:0 8px 22px rgba(53,30,70,.05); }
.studio-kanban-groups { min-width:0; display:flex; align-items:center; gap:5px; overflow-x:auto; }
.studio-kanban-groups button { min-height:36px; display:flex; align-items:center; gap:7px; padding:8px 11px; flex:0 0 auto; color:var(--studio-muted); background:transparent; border:0; border-radius:9px; font:inherit; font-size:10px; font-weight:800; cursor:pointer; }
.studio-kanban-groups button:hover { color:var(--studio-purple); background:#f7f2fa; }
.studio-kanban-groups button.active { color:#fff; background:var(--studio-purple); box-shadow:0 7px 16px rgba(91,44,131,.2); }
.studio-kanban-groups button span { min-width:21px; height:21px; display:grid; place-items:center; padding:0 5px; color:var(--studio-purple); background:#fff; border-radius:7px; font-size:9px; }
.studio-kanban-stage-nav { display:flex; gap:5px; flex:0 0 auto; }
.studio-kanban-stage-nav.is-hidden { visibility:hidden; pointer-events:none; }
.studio-kanban-stage-nav button { width:36px; height:36px; display:grid; place-items:center; color:var(--studio-purple); background:#f5eff9; border:1px solid #dfd2e8; border-radius:10px; font:inherit; font-size:20px; font-weight:800; cursor:pointer; }
.studio-kanban-stage-nav button:disabled { color:#b9afc0; background:#f7f5f8; border-color:#ebe6ee; cursor:not-allowed; }
.studio-kanban-scroller { flex:1 1 auto; height:100%; min-height:0; overflow-x:auto; overflow-y:hidden; scroll-behavior:smooth; scroll-snap-type:x proximity; }
.studio-kanban { height:100%; min-height:0; display:grid; grid-template-columns:repeat(var(--kanban-columns,4),minmax(0,1fr)); align-items:stretch; gap:13px; width:100%; min-width:0; padding:2px; }
.studio-kanban-column { min-height:0; height:100%; display:flex; flex-direction:column; overflow:hidden; padding:0; background:#eee9f1; border:1px solid #e1d8e8; border-radius:16px; }
.studio-kanban-head { width:100%; min-height:49px; box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; flex:0 0 auto; padding:11px 12px; color:#493455; background:#e9e2ee; border-bottom:1px solid #d9cce2; }
.studio-kanban-head strong { color:#493455; font-size:11px; letter-spacing:.01em; }
.studio-kanban-count { min-width:25px; height:25px; display:grid; place-items:center; padding:0 6px; border:1px solid #d8c9e2; border-radius:8px; color:#5b2c83; background:#f8f5fa; font-size:10px; font-weight:800; }
.studio-kanban-cards { min-height:0; display:flex; flex:1 1 auto; flex-direction:column; gap:9px; overflow-y:auto; overscroll-behavior:contain; scrollbar-gutter:stable; padding:10px; }
.studio-kanban-card { flex:0 0 auto; padding:13px; border:1px solid #e3dce8; border-radius:13px; background:#fff; box-shadow:0 5px 16px rgba(47,26,62,.06); cursor:pointer; transition:border-color .16s ease; }
.studio-kanban-card:hover,.studio-kanban-card:focus-within { transform:none; border-color:var(--studio-purple-deep); box-shadow:0 5px 16px rgba(47,26,62,.06); }
.studio-file-preview-card { transition:border-color .16s ease !important; }
.studio-file-preview-card:hover,.studio-file-preview-card:focus-within { transform:none !important; border-color:var(--studio-purple-deep) !important; box-shadow:none !important; }
.studio-file-preview-card img { transform:none !important; transition:none !important; }
.studio-kanban-card-school { color:var(--studio-purple); font-size:9px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.studio-kanban-card h4 { margin:6px 0 9px; color:var(--studio-ink); font-size:12px; font-weight:700; line-height:1.4; }
.studio-kanban-card-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; color:var(--studio-muted); font-size:9px; }
.studio-kanban-priority { width:7px; height:7px; border-radius:50%; background:#9d86ad; }
.studio-kanban-priority.p1 { background:#dc5268; }.studio-kanban-priority.p2 { background:#e4a134; }.studio-kanban-priority.p3 { background:#6b8fce; }

@media (max-width:1100px) {
    .studio-pipeline-toolbar { grid-template-columns:minmax(260px,1fr) auto; }
    .studio-pipeline-priorities { justify-self:start; }
    .studio-kanban { width:max-content; grid-template-columns:none; grid-auto-flow:column; grid-auto-columns:minmax(260px,calc((100vw - 180px) / 2)); }
    .studio-kanban-column { scroll-snap-align:start; }
}

.studio-inbox-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
.studio-inbox-card { min-width:0; display:flex; flex-direction:column; padding:17px; border:1px solid var(--studio-line); border-radius:17px; background:#fff; box-shadow:0 10px 28px rgba(48,27,63,.06); transition:border-color .16s ease; }
.studio-inbox-card:hover,.studio-inbox-card:focus-within { transform:none; border-color:var(--studio-purple-deep); box-shadow:0 10px 28px rgba(48,27,63,.06); }
.studio-inbox-card-top,.studio-inbox-card-meta,.studio-inbox-card-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.studio-inbox-school { min-width:0; display:flex; align-items:center; gap:8px; color:var(--studio-purple); font-size:10px; font-weight:800; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.studio-inbox-school i { width:28px; height:28px; display:grid; place-items:center; flex:0 0 auto; border-radius:9px; color:#fff; background:var(--studio-gradient); font-style:normal; }
.studio-inbox-date { color:var(--studio-muted); font-size:9px; white-space:nowrap; }
.studio-inbox-card-copy { min-height:95px; padding:17px 0 13px; }
.studio-inbox-draft-state { display:grid; grid-template-columns:auto minmax(0,1fr) auto; align-items:center; gap:8px; margin-top:13px; padding:9px 10px; border:1px solid #decce9; border-radius:10px; color:#663989; background:#f8f1fb; }.studio-inbox-draft-state span { padding:4px 7px; border-radius:6px; color:#fff; background:#713a9d; font-size:8px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; }.studio-inbox-draft-state strong { min-width:0; color:#4d2c61; font-size:10px; }.studio-inbox-draft-state small { color:#8d7d96; font-size:8px; white-space:nowrap; }
.studio-inbox-draft-state.is-not-started { border-color:#e3dfe6; color:#77717d; background:#f6f5f7; }.studio-inbox-draft-state.is-not-started span { color:#6f6974; background:#e7e4e9; }.studio-inbox-draft-state.is-not-started strong { color:#68626d; }.studio-inbox-draft-state.is-not-started small { color:#99939d; }
.studio-inbox-draft-state.is-returned { border-color:#d6c4e1; background:#f4eff7; }.studio-inbox-draft-state.is-returned span { background:#4a285f; }.studio-inbox-draft-state.is-returned strong { color:#442653; }
.studio-cancel-overlay{position:fixed;z-index:500;inset:0;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(31,18,40,.62);backdrop-filter:blur(5px)}.studio-cancel-overlay.is-open{display:flex}.studio-cancel-card{width:min(520px,100%);padding:24px;border:1px solid #e6dce9;border-radius:18px;background:#fff;box-shadow:0 24px 80px rgba(28,14,38,.3)}.studio-cancel-card h2{margin:4px 0 8px;color:#27142f;font-size:21px}.studio-cancel-card>p:not(.studio-eyebrow):not(.studio-cancel-error){margin:0 0 18px;color:#766a7b;font-size:13px;line-height:1.55}.studio-cancel-card textarea{width:100%;resize:none}.studio-cancel-note{margin-top:14px;padding:13px;border-radius:12px;background:#f6f1f8}.studio-cancel-note strong{display:block;color:#482859;font-size:12px}.studio-cancel-note p{margin:4px 0 0;color:#786c7d;font-size:11px;line-height:1.5}.studio-cancel-error{min-height:18px;margin:9px 0 0;color:#b03650;font-size:11px}.studio-cancel-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:13px}
.studio-inbox-card-copy h4 { margin:0; color:var(--studio-ink); font-size:14px; font-weight:800; line-height:1.4; }
.studio-inbox-card-copy p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:7px 0 0; color:var(--studio-muted); font-size:11px; line-height:1.55; }
.studio-inbox-card-meta { padding:11px 0; border-top:1px solid #f0ebf3; color:var(--studio-muted); font-size:9px; }
.studio-inbox-card-meta strong { color:var(--studio-ink); }
.studio-inbox-card-actions { margin-top:auto; padding-top:12px; flex-wrap:wrap; }
.studio-inbox-card-actions button { min-height:36px; padding:8px 11px; font-size:10px; }
.studio-inbox-card-actions > button:first-child { color:var(--studio-purple) !important; background:var(--studio-purple-soft) !important; border-color:#dfd1e9 !important; }

.studio-calendar-toolbar { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:14px 16px; background:#fff; border:1px solid var(--studio-line); border-radius:15px; box-shadow:0 10px 28px rgba(53,30,70,.06); }
.studio-calendar-nav { display:flex; align-items:center; gap:10px; }
.studio-calendar-nav button { width:38px; height:38px; display:grid; place-items:center; border:1px solid var(--studio-line); border-radius:11px; color:var(--studio-purple); background:#fff; font-size:27px; font-weight:600; line-height:1; cursor:pointer; }
.studio-calendar-nav h3 { min-width:170px; margin:0; text-align:center; font-size:14px; font-weight:800; }
.studio-calendar-board { margin-top:14px; background:#fff; border:1px solid var(--studio-line); border-radius:18px; box-shadow:var(--studio-shadow); overflow:hidden; }
.studio-calendar-board :is(#calendarGrid,#clientCalendarGrid) > div { border-color:#eee8f1 !important; }
.studio-week-grid { display:grid; grid-template-columns:repeat(7,minmax(145px,1fr)); min-width:1015px; }
.studio-week-day { min-height:560px; border-right:1px solid var(--studio-line); background:#fff; }
.studio-week-day:last-child { border-right:0; }
.studio-week-day-head { padding:14px; border-bottom:1px solid var(--studio-line); background:#faf8fc; }
.studio-week-day-head span { display:block; color:var(--studio-muted); font-size:9px; font-weight:800; text-transform:uppercase; }
.studio-week-day-head strong { display:grid; width:32px; height:32px; margin-top:7px; place-items:center; border-radius:10px; color:var(--studio-ink); font-size:14px; }
.studio-week-day.today .studio-week-day-head strong { color:#2d1742; background:var(--studio-yellow); }
.studio-week-items { display:grid; gap:9px; padding:10px; }
.studio-calendar-item { padding:10px; border:1px solid #dfd2e9; border-left:3px solid var(--studio-purple); border-radius:10px; background:#f8f3fc; cursor:pointer; }
.studio-calendar-item.published { border-color:#cce8de; border-left-color:#28a978; background:#effaf6; }
.studio-calendar-item-time { color:var(--studio-muted); font-size:9px; font-weight:700; }
.studio-calendar-item strong { display:block; margin-top:4px; color:var(--studio-ink); font-size:10px; line-height:1.35; }
.studio-calendar-item span { display:block; margin-top:4px; color:var(--studio-purple); font-size:9px; font-weight:700; }
.studio-page-admin_calendar .studio-calendar-date-button { width:32px; height:32px; display:grid; place-items:center; padding:0; border:0; border-radius:10px; color:var(--studio-ink); background:transparent; font:inherit; font-size:14px; font-weight:800; cursor:pointer; }
.studio-page-admin_calendar .studio-calendar-date-button:hover,.studio-page-admin_calendar .studio-calendar-date-button:focus-visible { color:var(--studio-purple); background:var(--studio-purple-soft); outline:2px solid var(--studio-purple); outline-offset:2px; }
.studio-page-admin_calendar .studio-week-day.today .studio-calendar-date-button { color:#2d1742; background:var(--studio-yellow); }
.studio-page-admin_calendar #calendarGrid.grid .studio-calendar-date-label { width:26px; height:26px; display:grid; place-items:center; border-radius:50%; color:var(--studio-ink); font-size:11px; font-weight:800; }
.studio-page-admin_calendar #calendarGrid.grid .studio-calendar-date-label.is-today { color:#fff; background:var(--studio-purple); }
.studio-page-admin_calendar .studio-calendar-add-button { width:30px; height:30px; display:grid; place-items:center; flex:0 0 30px; padding:0; border:1px solid #ddcce8; border-radius:50%; color:var(--studio-purple); background:#fff; font-size:19px; font-weight:600; line-height:1; cursor:pointer; }
.studio-page-admin_calendar .studio-calendar-add-button:hover,.studio-page-admin_calendar .studio-calendar-add-button:focus-visible { border-color:var(--studio-purple); background:var(--studio-purple-soft); outline:2px solid var(--studio-purple); outline-offset:2px; }
.studio-page-admin_calendar .studio-calendar-dialog { width:min(720px,calc(100% - 32px)); max-width:none; max-height:min(88dvh,780px); margin:auto; padding:0; overflow:hidden; border:1px solid var(--studio-line); border-radius:18px; color:var(--studio-ink); background:#fff; box-shadow:0 24px 70px rgba(26,12,43,.28); }
.studio-page-admin_calendar .studio-calendar-dialog[open] { display:flex; flex-direction:column; }
.studio-page-admin_calendar .studio-calendar-dialog::backdrop { background:rgba(30,14,44,.64); backdrop-filter:blur(7px); }
.studio-page-admin_calendar .studio-calendar-dialog-header { display:flex; align-items:flex-start; justify-content:space-between; gap:18px; flex:0 0 auto; padding:22px 24px; color:#fff; background:var(--studio-gradient); }
.studio-page-admin_calendar .studio-calendar-dialog-header > div { min-width:0; }
.studio-page-admin_calendar .studio-calendar-dialog-eyebrow { display:block; margin-bottom:5px; color:#ffe08a; font-size:9px; font-weight:800; letter-spacing:.1em; }
.studio-page-admin_calendar .studio-calendar-dialog-header h2 { margin:0; color:#fff; font-size:20px; font-weight:800; line-height:1.3; }
.studio-page-admin_calendar .studio-calendar-dialog-header p { margin:7px 0 0; color:rgba(255,255,255,.82); font-size:12px; line-height:1.5; }
.studio-page-admin_calendar .studio-calendar-dialog-close { width:36px; height:36px; display:grid; place-items:center; flex:0 0 36px; padding:0; border:1px solid rgba(255,255,255,.24); border-radius:50%; color:#fff; background:rgba(255,255,255,.1); font-size:25px; line-height:1; cursor:pointer; }
.studio-page-admin_calendar .studio-calendar-dialog-close:hover,.studio-page-admin_calendar .studio-calendar-dialog-close:focus-visible { background:rgba(255,255,255,.22); outline:2px solid #fff; outline-offset:2px; }
.studio-page-admin_calendar .studio-calendar-dialog-body { min-height:0; overflow-y:auto; padding:18px 24px 24px; background:#fbfafd; }
.studio-page-admin_calendar .studio-calendar-release-card { display:flex; align-items:center; gap:16px; margin:0 0 12px; padding:15px; border:1px solid var(--studio-line); border-radius:14px; background:#fff; box-shadow:0 8px 24px rgba(48,27,63,.05); }
.studio-page-admin_calendar .studio-calendar-release-card:last-child { margin-bottom:0; }
.studio-page-admin_calendar .studio-calendar-release-card img { width:64px; height:96px; flex:0 0 64px; object-fit:contain; border-radius:8px; background:#f6f1f8; }
.studio-page-admin_calendar .studio-calendar-release-card > div { min-width:0; }
.studio-page-admin_calendar .studio-calendar-release-card strong { display:block; color:var(--studio-ink); font-size:14px; }
.studio-page-admin_calendar .studio-calendar-release-card p { margin:3px 0 12px; color:var(--studio-muted); font-size:11px; }
.studio-page-admin_calendar .studio-calendar-release-card a { display:inline-flex; align-items:center; min-height:36px; padding:8px 12px; border-radius:9px; font-size:11px; text-decoration:none; }
.studio-page-admin_calendar .studio-calendar-day-post { width:100%; display:flex; flex-direction:column; align-items:flex-start; gap:5px; margin-bottom:10px; padding:14px 16px; border:1px solid var(--studio-line); border-left:3px solid var(--studio-purple); border-radius:12px; color:var(--studio-ink); background:#fff; text-align:left; cursor:pointer; }
.studio-page-admin_calendar .studio-calendar-day-post:hover,.studio-page-admin_calendar .studio-calendar-day-post:focus-visible { border-color:var(--studio-purple); background:#f8f3fc; outline:2px solid var(--studio-purple); outline-offset:2px; }
.studio-page-admin_calendar .studio-calendar-day-post-meta { color:var(--studio-purple); font-size:11px; font-weight:800; }
.studio-page-admin_calendar .studio-calendar-day-post strong { font-size:14px; line-height:1.4; }
.studio-page-admin_calendar .studio-calendar-day-post > span:not(.studio-calendar-day-post-meta),.studio-page-admin_calendar .studio-calendar-day-post small { color:var(--studio-muted); font-size:11px; line-height:1.4; }
.studio-page-admin_calendar .studio-calendar-dialog-empty { margin:0; padding:20px; border:1px dashed var(--studio-line); border-radius:12px; color:var(--studio-muted); text-align:center; font-size:12px; }
.studio-page-admin_calendar .studio-month-summary { width:100%; display:flex; flex-direction:column; align-items:flex-start; gap:7px; padding:9px 10px; border:1px solid #e6dceb; border-radius:10px; color:var(--studio-ink); background:#faf7fd; text-align:left; cursor:pointer; }
.studio-page-admin_calendar .studio-month-summary:hover,.studio-page-admin_calendar .studio-month-summary:focus-visible { border-color:var(--studio-purple); background:#f3ebf8; outline:2px solid var(--studio-purple); outline-offset:2px; }
.studio-page-admin_calendar .studio-month-summary > strong { color:var(--studio-purple); font-size:11px; line-height:1.2; }
.studio-page-admin_calendar .studio-month-statuses { display:flex; flex-wrap:wrap; gap:4px 8px; }
.studio-page-admin_calendar .studio-month-status { display:inline-flex; align-items:center; gap:4px; color:#675a70; font-size:9px; font-weight:700; line-height:1.25; white-space:nowrap; }
.studio-page-admin_calendar .studio-month-status::before { content:""; width:6px; height:6px; flex:0 0 6px; border-radius:50%; background:#8c7b9a; }
.studio-page-admin_calendar .studio-month-status-published::before { background:#27a777; }
.studio-page-admin_calendar .studio-month-status-scheduled::before { background:#7b3eb1; }
.studio-page-admin_calendar .studio-month-status-progress::before { background:#d59926; }
.studio-page-admin_calendar .studio-month-status-attention::before { background:#c84458; }

@media (min-width:768px) {
    .studio-page-admin_calendar .studio-workspace { display:flex; flex-direction:column; overflow:hidden; }
    .studio-page-admin_calendar .studio-calendar-toolbar { flex:0 0 auto; }
    .studio-page-admin_calendar .studio-calendar-board { display:flex; flex:1 1 0%; min-height:0; flex-direction:column; overflow:auto; }
    :is(.studio-page-admin_calendar,.studio-client) :is(#calendarWeekdayHeader,#clientWeekdayHeader) { flex:0 0 auto; }
    :is(.studio-page-admin_calendar,.studio-client) :is(#calendarGrid,#clientCalendarGrid) { flex:1 1 0%; min-height:0; }
    .studio-page-admin_calendar #calendarGrid.studio-week-grid { height:100%; grid-template-rows:minmax(0,1fr); }
    .studio-page-admin_calendar .studio-week-day { min-height:0; height:100%; display:flex; flex-direction:column; overflow:hidden; }
    .studio-page-admin_calendar .studio-week-day-head { flex:0 0 auto; }
    .studio-page-admin_calendar .studio-week-items { min-height:0; flex:1 1 auto; align-content:start; overflow-y:auto; overscroll-behavior:contain; scrollbar-width:thin; }
    :is(.studio-page-admin_calendar,.studio-client) :is(#calendarGrid,#clientCalendarGrid).grid > div { min-height:0 !important; }
}

@media (max-width:767px) {
    .studio-page-admin_calendar .studio-calendar-dialog { width:100%; max-height:calc(100dvh - env(safe-area-inset-top,0px) - 12px); margin:auto 0 0; border-radius:22px 22px 0 0; }
    .studio-page-admin_calendar .studio-calendar-dialog-header { padding:20px 18px; }
    .studio-page-admin_calendar .studio-calendar-dialog-header h2 { font-size:18px; }
    .studio-page-admin_calendar .studio-calendar-dialog-body { padding:14px 16px max(20px,env(safe-area-inset-bottom,0px)); }
    .studio-page-admin_calendar .studio-calendar-release-card { gap:12px; padding:12px; }
    .studio-page-admin_calendar .studio-calendar-release-card img { width:52px; height:78px; flex-basis:52px; }
    .studio-page-admin_calendar .studio-calendar-release-card a { max-width:100%; white-space:normal; line-height:1.35; }
    .studio-page-admin_calendar .studio-month-summary { min-height:32px; justify-content:center; padding:6px; }
    .studio-page-admin_calendar .studio-month-summary > strong { font-size:9px; }
    .studio-page-admin_calendar .studio-month-statuses { display:none; }
}

@media (max-width:1200px) {
    .studio-hero-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .studio-section-grid { grid-template-columns:1fr; }
    .studio-inbox-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
.studio-file-button { min-height:38px; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:8px 12px; border:1px solid #dfd2e9; border-radius:11px; color:#67338f; background:#f7f1fb; font:inherit; font-size:10px; font-weight:800; white-space:nowrap; cursor:pointer; }
.studio-file-button-icon { width:16px; height:16px; flex:0 0 16px; }
.studio-asset-file-picker { min-height:42px; display:flex; align-items:center; gap:12px; padding:3px; border:1px solid #ddd3e4; border-radius:10px; background:#fff; }
.studio-asset-file-picker .studio-file-button { min-height:34px; flex:0 0 auto; }
.studio-asset-file-name { min-width:0; overflow:hidden; color:#7c7185; font-size:11px; font-weight:600; text-overflow:ellipsis; white-space:nowrap; }

/* Production brief workspace */
.studio-page-prepare_production .studio-content { padding-bottom:0 !important; }
html:has(body.studio-page-prepare_production) { height:100%; overflow:hidden; }
body.studio-page-prepare_production { position:fixed; inset:0; width:100%; height:100%; overflow:hidden; overscroll-behavior:none; }
.studio-brief-page { min-height:0; flex:1; display:flex; flex-direction:column; overflow:hidden; background:#f6f3f8; }
.studio-brief-header { min-height:82px; display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 24px; border-bottom:1px solid #e5dfea; background:#fff; }
.studio-brief-title-row,.studio-brief-header-actions,.studio-brief-footer { display:flex; align-items:center; }
.studio-brief-title-row { min-width:0; gap:12px; }
.studio-brief-title-row h1 { margin:2px 0; color:#24152f; font-size:20px; font-weight:800; letter-spacing:-.025em; }
.studio-brief-title-row p:last-child { overflow:hidden; margin:0; color:#83768c; font-size:11px; text-overflow:ellipsis; white-space:nowrap; }
.studio-button-primary svg { width:17px; height:17px; }
.studio-brief-header-actions { gap:9px; }
.studio-button-primary,.studio-button-secondary { min-height:38px; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:9px 14px; border:1px solid transparent; border-radius:11px; font:inherit; font-size:11px; font-weight:800; cursor:pointer; transition:.18s ease; }
.studio-button-primary { color:#fff; border-color:#6732a0; background:linear-gradient(120deg,#5d2a8b,#8239bb); box-shadow:0 7px 18px rgba(91,40,132,.18); }
.studio-button-primary:hover { transform:translateY(-1px); box-shadow:0 10px 22px rgba(91,40,132,.23); }
.studio-button-primary:disabled { opacity:.55; cursor:not-allowed; transform:none; }
.studio-button-secondary { color:#593569; border-color:#dfd4e6; background:#fff; }
.studio-button-secondary:hover { border-color:#b998cc; background:#fbf7fd; }
.studio-button-secondary:disabled { opacity:.4; cursor:not-allowed; }
.studio-brief-save-state { color:#8b8092; font-size:10px; font-weight:700; }
.studio-brief-save-state[data-state="saved"] { color:#27916d; }.studio-brief-save-state[data-state="error"] { color:#c64b60; }.studio-brief-save-state[data-state="saving"] { color:#7f47a8; }
.studio-brief-loading { flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:12px; color:#76667f; font-size:12px; }
.studio-brief-loading>span { width:32px; height:32px; border:3px solid #e5d9ed; border-top-color:#7236a2; border-radius:50%; animation:studio-spin .7s linear infinite; }
@keyframes studio-spin { to { transform:rotate(360deg); } }
.studio-brief-error { max-width:420px; padding:28px; border:1px solid #eadfe9; border-radius:18px; text-align:center; background:#fff; box-shadow:0 14px 40px rgba(55,31,70,.08); }
.studio-brief-error strong { display:block; color:#321d41; font-size:18px; }.studio-brief-error p { margin:8px 0 16px; }.studio-brief-error a { color:#7136a2; font-weight:800; }
.studio-brief-workspace { min-height:0; flex:1; display:grid; grid-template-columns:238px minmax(0,1fr) 252px; grid-template-rows:minmax(0,1fr) auto; overflow:hidden; }
.studio-brief-workspace>.studio-brief-steps { grid-column:1; grid-row:1 / span 2; }
.studio-brief-workspace>.studio-brief-main { grid-column:2; grid-row:1; }
.studio-brief-workspace>.studio-brief-summary { grid-column:3; grid-row:1 / span 2; }
.studio-brief-workspace>.studio-brief-footer { grid-column:2; grid-row:2; min-width:0; }
.studio-brief-steps,.studio-brief-summary { overflow-y:auto; padding:20px 16px; background:#fff; }
.studio-brief-steps { border-right:1px solid #e7e0eb; display:flex;flex-direction:column;overflow:hidden; }
.studio-brief-steps>#briefStepList { flex:1;min-height:0;overflow-y:auto;padding-bottom:16px; }
.studio-brief-steps>.studio-brief-help { flex-shrink:0;margin-top:12px; }
.studio-brief-summary { border-left:1px solid #e7e0eb; }
.studio-brief-step { width:100%; display:grid; grid-template-columns:30px minmax(0,1fr); align-items:start; gap:10px; padding:10px; border:0; border-radius:12px; text-align:left; color:#7e7385; background:transparent; cursor:default; user-select:none; }
.studio-brief-step>span { width:28px; height:28px; display:grid; place-items:center; border:1px solid #dfd5e5; border-radius:9px; color:#775888; background:#faf8fb; font-size:10px; font-weight:800; }
.studio-brief-step strong,.studio-brief-step small { display:block; }.studio-brief-step strong { color:#4b3a54; font-size:11px; }.studio-brief-step small { margin-top:3px; font-size:8px; line-height:1.35; }
.studio-brief-step.is-active { background:#f3eafa; }.studio-brief-step.is-active>span { color:#fff; border-color:#7139a1; background:#7139a1; }.studio-brief-step.is-active strong { color:#5a247f; }
.studio-brief-step.is-complete>span { color:#2e8f71; border-color:#ccecdf; background:#eef9f5; }
.studio-brief-help { margin-top:20px; padding:14px; border:1px solid #eadff0; border-radius:14px; color:#726579; background:#faf7fc; }
.studio-brief-help strong { display:block; color:#51305f; font-size:10px; }.studio-brief-help p { margin:6px 0 0; font-size:9px; line-height:1.5; }
.studio-brief-main { min-width:0; overflow-y:auto; padding:26px; }
.studio-brief-stage { width:100%; min-width:0; margin:0; }
.studio-brief-stage-intro { margin-bottom:22px; }.studio-brief-stage-intro h2 { margin:4px 0 7px; color:#281734; font-size:24px; font-weight:800; letter-spacing:-.035em; }.studio-brief-stage-intro>p:last-child { max-width:700px; margin:0; color:#786c80; font-size:11px; line-height:1.65; }
.studio-brief-mobile-progress { display:none; }
.studio-choice-section { padding:18px; border:1px solid #e7dfea; border-radius:18px; background:rgba(255,255,255,.72); }
.studio-choice-section+.studio-choice-section { margin-top:18px; }
.studio-choice-section-heading { display:flex; align-items:baseline; justify-content:space-between; gap:14px; margin-bottom:12px; }
.studio-choice-section-heading strong { color:#493153; font-size:13px; }
.studio-choice-section-heading span { color:#8a7e90; font-size:11px; line-height:1.45; text-align:right; }
.studio-choice-section+.studio-form-card { margin-top:22px; }
.studio-form-card+.studio-treatment-grid { margin-top:20px; }
#planWorkspace .studio-plan-detail-box{min-width:0;text-align:left;padding:10px 12px;border:1px solid #e6dced;border-radius:9px;background:#f7f2fa;overflow-wrap:anywhere;cursor:pointer}
#planWorkspace .studio-plan-detail-box:hover,#planWorkspace .studio-plan-detail-box:focus-visible{border-color:#8750b1;background:#f0e7f7}
.studio-plan-detail-box em{display:block;margin-top:6px;font-size:10px;font-style:normal;color:#71399b}
#planAssetFields>p{margin:12px 0;line-height:1.6;font-size:13px}
#planAssetFields>.studio-button-primary{margin-top:16px}
#planWorkspace .studio-plan-overview-copy>p+.studio-button-secondary{margin-top:16px}
#productionItemWorkspace .studio-production-phase h2,
#productionItemWorkspace .studio-production-panel>h2,
#productionItemWorkspace .studio-production-panel-head h2{font-size:17px;font-weight:800;line-height:1.4;color:#25152f;margin:5px 0 8px}
#productionItemWorkspace .studio-production-brief-copy h3{font-weight:700}
#planWorkspace button:disabled{cursor:default;opacity:.55}
#planWorkspace .studio-plan-decision-actions>p{grid-column:1/-1;font-size:13px;line-height:1.6;color:#766d80}
#planWorkspace .studio-plan-publishing{margin-top:18px;grid-template-columns:minmax(0,1fr)}
#planWorkspace .studio-plan-publishing-field{margin-top:16px}
#planWorkspace .studio-plan-publishing-field h3{font-size:13px;font-weight:700;line-height:1.5;margin:0 0 6px}
#planWorkspace .studio-plan-publishing-field p{font-size:13px;line-height:1.65;margin:0;overflow-wrap:anywhere;color:#e6daf1}
#planWorkspace .studio-plan-publishing-caption{white-space:pre-wrap}
#planWorkspace .studio-plan-publishing .studio-button-secondary{margin-top:18px}
#planWorkspace .studio-plan-decision-actions{grid-template-columns:minmax(0,1fr);gap:10px}
#planWorkspace .studio-plan-decision-actions>button,
#planWorkspace .studio-plan-decision-actions>a{width:100%;min-width:0;min-height:40px;white-space:normal;text-align:center;justify-content:center;line-height:1.45;padding:10px 12px;box-sizing:border-box}
#planWorkspace .studio-plan-storyboard-track button>div{position:relative}
#planWorkspace .studio-plan-duration-badge{position:absolute;right:6px;bottom:6px;display:block;padding:4px 7px;border-radius:5px;background:#fff;color:#382442;font-size:11px;font-weight:800;line-height:1.2;box-shadow:0 1px 5px rgba(0,0,0,.15)}
/* Pin the sidebar itself: its short child cannot stick inside a short aside. */
@media(min-width:901px){
    #planWorkspace .studio-plan-review-panel{position:sticky;top:0;align-self:start;z-index:5}
    #planWorkspace .studio-plan-review-sticky{position:static;max-height:calc(100dvh - 210px);display:flex;flex-direction:column}
    #planWorkspace .studio-plan-comment-list{min-height:0;overflow-y:auto;flex:1 1 auto}
    #planWorkspace .studio-plan-decision-actions{flex-shrink:0}
}
#planWorkspace .studio-section-heading{margin-top:0;margin-bottom:18px}
#planWorkspace .studio-section-heading h2{font-size:17px;font-weight:800;line-height:1.4;color:#25152f;margin:5px 0 8px}
#planWorkspace .studio-section-heading p:not(.studio-eyebrow){font-size:13px;line-height:1.55;color:#766d80}
#planWorkspace .studio-plan-storyboard-track strong{font-size:13px;font-weight:700;line-height:1.5;margin:8px 2px 4px}
#planWorkspace .studio-plan-storyboard-track small{display:block;font-size:11px;line-height:1.5;color:#766d80}
#planChangeSheet .studio-plan-sheet-card>.studio-field{margin:18px 20px;display:grid;gap:8px}
#planChangeSheet .studio-plan-sheet-card>.studio-field.hidden{display:none}
#planChangeSheet .studio-field label{margin:0}
#planChangeSheet .studio-field small{line-height:1.6}
@media(max-width:767px){#planChangeSheet .studio-plan-sheet-card>.studio-field{margin:16px}#planWorkspace .studio-section-heading{flex-wrap:wrap}}
/* Edit review: contained headings and readable, wrapping desktop treatments. */
.studio-plan-overview+.studio-plan-overview{margin-top:20px}
.studio-plan-overview-copy>p,.studio-plan-rationale p{font-size:13px;line-height:1.7;color:#eee5f5;overflow-wrap:anywhere}
.studio-plan-facts{align-content:start;align-items:start}
.studio-plan-facts strong{overflow-wrap:anywhere}
.studio-plan-rationale{margin-top:16px}
.studio-plan-rationale summary{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border:1px solid rgba(255,255,255,.35);border-radius:9px;background:rgba(255,255,255,.12);font-weight:700;cursor:pointer;list-style:none}
.studio-plan-rationale summary::-webkit-details-marker{display:none}
.studio-plan-rationale summary::before{content:'+'}
.studio-plan-rationale[open] summary::before{content:'−'}
.studio-plan-rationale p{margin-top:14px}
#planWorkspace .studio-plan-segments>.studio-section-heading{padding:18px;margin-bottom:14px;border:1px solid #e7e0ec;border-radius:14px;background:#fff;gap:12px}
#planWorkspace .studio-plan-treatment-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;gap:8px}
#planWorkspace .studio-plan-treatment-row>span{min-width:0;overflow-wrap:anywhere}
#planWorkspace .studio-plan-treatment-row strong{line-height:1.5}
@media(min-width:768px){#planWorkspace .studio-plan-storyboard-track{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));overflow:visible;gap:14px}#planWorkspace .studio-plan-storyboard-track button{min-width:0}#planWorkspace .studio-plan-storyboard-track button>div{height:auto;aspect-ratio:16/9}#planWorkspace .studio-plan-storyboard-track img{object-fit:contain}}
@media(max-width:767px){#planWorkspace .studio-plan-treatment-row{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-plan-overview-copy>p,.studio-plan-rationale p{font-size:12px}#planWorkspace .studio-plan-segments>.studio-section-heading{align-items:flex-start;flex-wrap:wrap}}
.studio-choice-grid { display:grid; gap:12px; }.studio-choice-grid--two { grid-template-columns:repeat(2,minmax(0,1fr)); }
.studio-choice-card { position:relative; min-height:128px; display:flex; flex-direction:column; align-items:flex-start; padding:18px; border:1px solid #e2dae7; border-radius:17px; text-align:left; background:#fff; cursor:pointer; box-shadow:0 7px 20px rgba(53,29,70,.04); }
.studio-choice-card strong { margin-top:14px; color:#34213f; font-size:14px; }.studio-choice-card small { margin-top:5px; color:#85798c; font-size:10px; line-height:1.45; }.studio-choice-card>i { position:absolute; top:14px; right:14px; width:21px; height:21px; display:grid; place-items:center; border:2px solid #7a3da5; border-radius:50%; background:#fff; font-style:normal; box-shadow:0 0 0 3px rgba(122,61,165,.06); }.studio-choice-card>i.is-selected { border-color:#7139a1; background:#7139a1; }.studio-choice-card>i.is-selected::after { content:""; width:7px; height:4px; margin-top:-2px; border-bottom:2px solid #fff; border-left:2px solid #fff; transform:rotate(-45deg); }
.studio-choice-icon { width:36px; height:36px; display:grid; place-items:center; border-radius:11px; color:#71359f; background:#f1e7f7; font-size:14px; }
.studio-choice-icon svg { width:21px; height:21px; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.studio-choice-card.is-selected,.studio-package-card.is-selected,.studio-recipe-card.is-selected,.studio-choice-row.is-selected,.studio-asset-option.is-selected { border-color:#8b51b2; box-shadow:0 0 0 2px rgba(124,65,165,.10),0 10px 25px rgba(55,30,72,.07); }
.studio-form-card,.studio-review-section { margin-top:16px; padding:18px; border:1px solid #e5ddea; border-radius:17px; background:#fff; box-shadow:0 8px 22px rgba(50,28,65,.04); }
.studio-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; }
.studio-field { min-width:0; }.studio-field+.studio-field { margin-top:14px; }.studio-form-grid .studio-field+.studio-field,.studio-treatment-grid .studio-field+.studio-field,.studio-deliverable-fields .studio-field+.studio-field { margin-top:0; }
.studio-field>label { display:block; margin-bottom:6px; color:#5d4d66; font-size:9px; font-weight:800; letter-spacing:.035em; text-transform:uppercase; }
.studio-field input,.studio-field textarea,.studio-field select { width:100%; min-height:42px; padding:10px 12px; border:1px solid #dfd6e5; border-radius:11px; outline:none; color:#35243f; background:#fbfafc; font:inherit; font-size:11px; transition:.15s ease; }
.studio-field textarea { resize:vertical; line-height:1.55; }.studio-field input:focus,.studio-field textarea:focus,.studio-field select:focus { border-color:#8b50b4; box-shadow:0 0 0 3px rgba(126,67,166,.09); background:#fff; }
.studio-package-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; }
.studio-package-card { min-height:76px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; padding:13px; border:1px solid #e4dce8; border-radius:13px; text-align:left; background:#fff; cursor:pointer; }.studio-package-card strong { color:#3b2845; font-size:10px; }.studio-package-card span { margin-top:4px; color:#918597; font-size:8px; }
.studio-section-heading { display:flex; align-items:center; justify-content:space-between; gap:14px; margin:24px 0 12px; }.studio-section-heading h3 { margin:3px 0 0; color:#382442; font-size:15px; }.studio-section-heading p { margin:0; }
.studio-deliverable-list { display:flex; flex-direction:column; gap:10px; }.studio-deliverable-card { display:grid; grid-template-columns:32px minmax(0,1fr) 30px; align-items:start; gap:12px; padding:15px; border:1px solid #e4dce8; border-radius:15px; background:#fff; }.studio-deliverable-number { width:30px; height:30px; display:grid; place-items:center; border-radius:9px; color:#fff; background:#60308b; font-size:10px; font-weight:800; }.studio-deliverable-fields { display:grid; grid-template-columns:2fr repeat(4,minmax(110px,1fr)); gap:10px; }.studio-icon-button { width:30px; height:30px; border:1px solid #eadde4; border-radius:9px; color:#b44c65; background:#fff8fa; font-size:18px; cursor:pointer; }
.studio-recipe-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:11px; }.studio-recipe-card { min-height:158px; display:flex; flex-direction:column; align-items:flex-start; padding:16px; border:1px solid #e3dbe7; border-radius:16px; text-align:left; background:#fff; cursor:pointer; }.studio-recipe-card>span { padding:4px 7px; border-radius:6px; color:#713a98; background:#f3eaf9; font-size:7px; font-weight:800; text-transform:uppercase; }.studio-recipe-card strong { margin-top:14px; color:#352140; font-size:13px; }.studio-recipe-card p { flex:1; margin:6px 0 12px; color:#83768a; font-size:9px; line-height:1.5; }.studio-recipe-card small { color:#a096a5; font-size:8px; }
.studio-treatment-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:10px; margin-bottom:14px; }.studio-checklist-groups { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.studio-checklist-group { padding:15px; border:1px solid #e4dce8; border-radius:15px; background:#fff; }.studio-checklist-group>div:first-child { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }.studio-checklist-group h3 { margin:0; color:#493153; font-size:11px; }.studio-checklist-group button { border:0; color:#7a3ca5; background:transparent; font-size:8px; font-weight:800; cursor:pointer; }.studio-checklist-group>div:last-child { display:flex; flex-direction:column; gap:7px; }
.studio-check-item { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 24px; align-items:center; gap:7px; padding:7px 8px; border:1px solid #eee8f1; border-radius:10px; color:#6e6275; background:#fcfbfd; }.studio-check-item>label { min-width:0; display:grid; grid-template-columns:20px minmax(0,1fr); align-items:center; gap:8px; cursor:pointer; }.studio-check-item input { position:absolute; top:50%; left:9px; width:1px; height:1px; margin:0; opacity:0; pointer-events:none; transform:translateY(-50%); }.studio-check-item label>span { width:19px; height:19px; display:grid; place-items:center; border:1px solid #ded3e4; border-radius:6px; color:transparent; background:#fff; font-size:8px; }.studio-check-item strong { min-width:0; font-size:9px; }.studio-check-item.is-checked { color:#543062; border-color:#dfcde9; background:#f8f1fb; }.studio-check-item.is-checked label>span { color:#fff; border-color:#7a3da5; background:#7a3da5; }.studio-check-item:focus-within { outline:2px solid rgba(122,61,165,.24); outline-offset:2px; }
.studio-check-info { width:23px; height:23px; display:grid; place-items:center; padding:0 !important; border:1px solid #d8c9e1 !important; border-radius:50% !important; color:#6f398f !important; background:#fff !important; font-size:10px !important; font-weight:900 !important; line-height:1 !important; cursor:help !important; }.studio-check-info:hover,.studio-check-info:focus-visible,.studio-check-item.is-info-open .studio-check-info { color:#fff !important; border-color:#7139a1 !important; background:#7139a1 !important; outline:none; }.studio-check-tooltip { position:absolute; z-index:30; right:5px; bottom:calc(100% + 7px); width:min(270px,calc(100vw - 48px)); padding:10px 11px; border:1px solid #dacde2; border-radius:10px; color:#fff; background:#3e264a; box-shadow:0 12px 28px rgba(40,21,52,.22); font-size:9px; line-height:1.5; opacity:0; pointer-events:none; transform:translateY(4px); transition:opacity .15s ease,transform .15s ease; }.studio-check-tooltip::after { content:""; position:absolute; right:10px; top:100%; border:6px solid transparent; border-top-color:#3e264a; }.studio-check-info:hover+.studio-check-tooltip,.studio-check-info:focus-visible+.studio-check-tooltip,.studio-check-item.is-info-open .studio-check-tooltip { opacity:1; transform:none; }
.studio-choice-list { display:flex; flex-direction:column; gap:8px; }.studio-choice-row { display:grid; grid-template-columns:30px minmax(0,1fr); align-items:center; gap:11px; min-height:58px; padding:12px 14px; border:1px solid #e4dce8; border-radius:13px; text-align:left; background:#fff; cursor:pointer; }.studio-choice-row>span { width:26px; height:26px; display:grid; place-items:center; border:2px solid #ddd1e4; border-radius:8px; color:transparent; background:#fff; font-size:15px; font-weight:900; line-height:1; }.studio-choice-row.is-selected>span { color:#fff; border-color:#7240a0; background:#7240a0; }.studio-choice-row strong,.studio-choice-row small { display:block; }.studio-choice-row strong { color:#483151; font-size:10px; }.studio-choice-row small { margin-top:3px; color:#8c8191; font-size:8px; }
.studio-asset-slots { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:start; gap:14px; }.studio-asset-slot { height:100%; padding:17px; border:1px solid #e3dbe8; border-radius:16px; background:#fff; box-shadow:0 7px 20px rgba(53,29,70,.035); }.studio-asset-slot h3 { margin:3px 0 5px; color:#382341; font-size:13px; }.studio-asset-slot>div:first-child>small { display:block; margin-bottom:13px; color:#8d8194; font-size:8px; }.studio-asset-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(145px,1fr)); gap:9px; }.studio-asset-option { min-width:0; min-height:104px; display:flex; flex-direction:column; align-items:flex-start; padding:12px; border:1px solid #e8e1eb; border-radius:12px; text-align:left; background:#fcfbfd; cursor:pointer; }.studio-asset-option>span { width:27px; height:27px; display:grid; place-items:center; border-radius:8px; color:#713b99; background:#efe5f5; font-size:9px; }.studio-asset-option strong { margin-top:9px; color:#483252; font-size:9px; }.studio-asset-option small { margin-top:4px; color:#908595; font-size:7px; line-height:1.4; }
.studio-platform-grid { display:flex; flex-wrap:wrap; gap:8px; }.studio-platform-option { position:relative; display:flex; align-items:center; gap:7px; padding:9px 11px; border:1px solid #e2d9e7; border-radius:10px; color:#64576b; background:#fff; cursor:pointer; }.studio-platform-option input { position:absolute; top:50%; left:11px; width:1px; height:1px; margin:0; opacity:0; pointer-events:none; transform:translateY(-50%); }.studio-platform-option span { width:18px; height:18px; display:grid; place-items:center; border:1px solid #ddd1e4; border-radius:5px; color:transparent; font-size:8px; }.studio-platform-option strong { font-size:9px; }.studio-platform-option.is-selected { color:#5c2c7a; border-color:#d8c3e5; background:#f7effa; }.studio-platform-option.is-selected span { color:#fff; border-color:#7740a0; background:#7740a0; }.studio-platform-option:focus-within { outline:2px solid rgba(122,61,165,.24); outline-offset:2px; }
.studio-delivery-controls { padding:20px; }.studio-delivery-platforms .studio-platform-grid,.studio-output-destination .studio-platform-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }.studio-delivery-platforms .studio-platform-option,.studio-output-destination .studio-platform-option { min-height:46px; padding:10px 12px; }.studio-delivery-settings { margin-top:18px; padding-top:18px; border-top:1px solid #eee8f1; }.studio-delivery-settings .studio-field { display:flex; flex-direction:column; }.studio-delivery-settings .studio-field select { min-height:44px; }.studio-delivery-settings .studio-field small { margin-top:7px; color:#887c8e; font-size:8px; }.studio-output-destination>strong { display:block; margin-bottom:13px; color:#3f294a; font-size:11px; }
.studio-note { margin-top:14px; padding:13px 15px; border:1px solid #dfe8f0; border-radius:13px; color:#586773; background:#f7fbfe; }.studio-note strong { display:block; color:#384b58; font-size:9px; }.studio-note p { margin:4px 0 0; font-size:8px; line-height:1.5; }.studio-note--strong { border-color:#decbe9; background:#f8f0fb; }.studio-note--strong strong { color:#5e2c7e; }
.studio-empty { padding:34px; border:1px dashed #d9cae2; border-radius:16px; text-align:center; color:#7c7083; background:#fbf9fc; }.studio-empty strong { display:block; color:#493253; font-size:12px; }.studio-empty p { margin:7px 0 14px; font-size:9px; }.studio-empty a { color:#70399b; font-size:9px; font-weight:800; }
.studio-review-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.studio-review-grid>section { padding:17px; border:1px solid #e3dbe8; border-radius:15px; background:#fff; }.studio-review-grid h3,.studio-review-section h3 { margin:5px 0; color:#392343; font-size:13px; }.studio-review-grid p:last-child,.studio-review-section>p:last-child { margin:5px 0 0; color:#807486; font-size:9px; line-height:1.55; }.studio-review-deliverable { display:flex; align-items:center; gap:10px; padding:9px 0; border-top:1px solid #eee8f1; }.studio-review-deliverable>span { width:25px; height:25px; display:grid; place-items:center; border-radius:8px; color:#fff; background:#6e3899; font-size:8px; font-weight:800; }.studio-review-deliverable strong,.studio-review-deliverable small { display:block; }.studio-review-deliverable strong { color:#47314f; font-size:9px; }.studio-review-deliverable small { margin-top:2px; color:#968b9a; font-size:8px; }.studio-review-pills { display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }.studio-review-pills span { padding:6px 8px; border-radius:8px; color:#653586; background:#f3eafb; font-size:8px; font-weight:800; }
.studio-review-section>.studio-section-heading { margin-top:0; }
.studio-brief-summary h2 { margin:4px 0 16px; color:#382441; font-size:15px; }.studio-summary-block { padding:11px 0; border-top:1px solid #eee8f1; }.studio-summary-block:first-child { border-top:0; }.studio-summary-block strong,.studio-summary-block span { display:block; }.studio-summary-block strong { color:#4a3652; font-size:9px; }.studio-summary-block span { margin-top:4px; color:#8b7f90; font-size:8px; line-height:1.45; }.studio-summary-chip { display:inline-flex !important; margin:5px 4px 0 0 !important; padding:5px 7px; border-radius:7px; color:#653782 !important; background:#f2eafa; font-size:7px !important; font-weight:800; }
.studio-brief-footer { min-height:64px; justify-content:flex-end; gap:10px; padding:11px 24px; border-top:1px solid #e1dae6; background:#fff; }.studio-brief-footer-copy { min-width:0; flex:1; text-align:right; }.studio-brief-footer-copy strong,.studio-brief-footer-copy span { display:block; }.studio-brief-footer-copy strong { color:#52365f; font-size:10px; }.studio-brief-footer-copy span { margin-top:2px; color:#958a99; font-size:8px; }.studio-brief-footer-actions { display:flex; align-items:center; gap:8px; flex:0 0 auto; }
.studio-brief-toast { position:fixed; z-index:1000; right:22px; bottom:22px; padding:11px 15px; border-radius:11px; color:#fff; background:#3b2450; font-size:10px; font-weight:800; box-shadow:0 12px 30px rgba(32,18,43,.25); opacity:0; transform:translateY(10px); transition:.2s ease; }.studio-brief-toast.is-visible { opacity:1; transform:none; }
.studio-inbox-decision-actions { display:flex; min-width:0; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:7px; }
.studio-inbox-return-button { display:inline-flex; align-items:center; gap:5px; white-space:nowrap; }
.studio-reject-button,.studio-danger-button { min-height:36px; padding:8px 11px; border:1px solid #efcdd5; border-radius:10px; color:#aa4059; background:#fff6f8; font:inherit; font-size:9px; font-weight:800; cursor:pointer; }
.studio-inbox-decision-actions .studio-event-delete-button{min-height:44px}
.studio-event-delete-button:disabled{opacity:.6;cursor:wait}
.studio-inbox-decision-actions .studio-event-delete-button.is-protected{color:#81768c;background:#f4f1f6;border-color:#e0d8e7;opacity:1;cursor:not-allowed}
.studio-event-delete-reason{margin:10px 0 0;color:#72647e;font-size:11px;line-height:1.5;overflow-wrap:anywhere}
.studio-event-delete-status{margin:12px 24px;padding:12px 16px;border:1px solid #dfd3e8;border-radius:10px;color:var(--studio-purple);background:#faf7fd;font-size:12px}
.studio-danger-button { min-height:39px; padding:9px 14px; color:#fff; border-color:#b8445c; background:#b8445c; }
.studio-danger-button:disabled { opacity:.55; cursor:not-allowed; }
.studio-confirm-dialog { width:min(430px,calc(100vw - 28px)); padding:24px; border:1px solid rgba(255,255,255,.7); border-radius:19px; background:#fff; box-shadow:0 24px 70px rgba(36,19,48,.28); }
.studio-confirm-icon { width:38px; height:38px; display:grid; place-items:center; margin-bottom:14px; border-radius:12px; color:#b4435c; background:#fff0f3; font-size:22px; }
.studio-confirm-dialog h2 { margin:4px 0 6px; color:#321d3e; font-size:19px; }.studio-confirm-copy { margin:0 0 17px; color:#83768a; font-size:10px; line-height:1.5; }.studio-confirm-actions { display:flex; justify-content:flex-end; gap:8px; margin-top:18px; }

@media (max-width:1180px) {
    .studio-brief-workspace { grid-template-columns:210px minmax(0,1fr); }.studio-brief-summary { display:none; }
    .studio-deliverable-fields { grid-template-columns:2fr repeat(2,minmax(120px,1fr)); }.studio-package-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }.studio-treatment-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}

@media (max-width:767px) {
    .studio-page-prepare_production #studioMobileNavigation,.studio-page-prepare_production #studioMobileMoreMenu,.studio-page-prepare_production #studioMobileMoreBackdrop { display:none !important; }
    .studio-page-prepare_production .studio-content { padding-bottom:0 !important; }
    .studio-page-prepare_production .studio-mobile-header { display:none !important; }
    .studio-brief-header { min-height:66px; flex-wrap:wrap; gap:8px; padding:10px 12px; }.studio-brief-title-row h1 { max-width:190px; font-size:15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }.studio-brief-title-row p:last-child { max-width:200px; font-size:8px; }.studio-brief-title-row .studio-eyebrow { display:none; }
    .studio-brief-header-actions { width:100%; justify-content:flex-end; gap:6px; }.studio-brief-save-state { display:none; }.studio-brief-header-actions .studio-button-primary,.studio-brief-header-actions .studio-button-secondary { min-height:36px; padding:8px 10px; }.studio-brief-header-actions .studio-button-primary svg { display:none; }
    .studio-brief-workspace { display:block; overflow:hidden; }.studio-brief-steps,.studio-brief-summary { display:none; }.studio-brief-main { height:100%; padding:0 13px 88px; }
    .studio-brief-mobile-progress { position:sticky; z-index:5; top:0; display:block; margin:0 -13px 16px; padding:10px 13px 9px; color:#654471; background:#fff; box-shadow:0 3px 10px rgba(41,22,54,.05); font-size:8px; font-weight:800; }.studio-brief-mobile-progress>div { height:3px; margin-top:7px; overflow:hidden; border-radius:5px; background:#eee8f1; }.studio-brief-mobile-progress i { height:100%; display:block; border-radius:5px; background:linear-gradient(90deg,#6c3599,#a051ca); transition:.2s ease; }
    .studio-brief-stage-intro { margin-bottom:15px; }.studio-brief-stage-intro h2 { font-size:20px; }.studio-brief-stage-intro>p:last-child { font-size:10px; }
    .studio-choice-section { padding:14px; border-radius:15px; }.studio-choice-section+.studio-choice-section { margin-top:14px; }.studio-choice-section-heading { display:block; margin-bottom:10px; }.studio-choice-section-heading strong,.studio-choice-section-heading span { display:block; }.studio-choice-section-heading span { margin-top:3px; text-align:left; }.studio-choice-grid--two,.studio-review-grid,.studio-checklist-groups,.studio-form-grid { grid-template-columns:1fr; }.studio-choice-card { min-height:110px; }.studio-package-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }.studio-recipe-grid { grid-template-columns:1fr; }.studio-recipe-card { min-height:130px; }.studio-treatment-grid { grid-template-columns:1fr; }
    .studio-deliverable-card { grid-template-columns:28px minmax(0,1fr) 28px; padding:12px; }.studio-deliverable-fields { grid-template-columns:1fr 1fr; }.studio-deliverable-fields .studio-field--wide { grid-column:1/-1; }
    .studio-asset-slots { grid-template-columns:1fr; gap:11px; }.studio-asset-slot { padding:14px; }.studio-asset-options { display:grid; grid-template-columns:repeat(auto-fit,minmax(135px,1fr)); overflow:visible; padding-bottom:0; }.studio-asset-option { min-width:0; min-height:96px; }
    .studio-delivery-controls { padding:14px; }.studio-delivery-platforms .studio-platform-grid,.studio-output-destination .studio-platform-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }.studio-delivery-platforms .studio-platform-option,.studio-output-destination .studio-platform-option { min-height:44px; padding:9px 10px; }.studio-delivery-settings { margin-top:14px; padding-top:14px; }.studio-output-destination { padding:14px; }
    .studio-brief-footer { position:fixed; z-index:90; right:0; bottom:0; left:0; min-height:70px; padding:10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow:0 -8px 22px rgba(45,25,58,.10); }.studio-brief-footer-copy { display:none; }.studio-brief-footer-actions { width:100%; }.studio-brief-footer .studio-button-primary { flex:1; }.studio-brief-footer .studio-button-secondary { min-width:85px; }
    .studio-brief-toast { right:12px; bottom:82px; left:12px; text-align:center; }
    .studio-inbox-decision-actions { margin-left:auto; }.studio-reject-button { min-height:38px; }
    .studio-confirm-dialog { padding:19px; border-radius:17px; }.studio-confirm-actions { flex-direction:column-reverse; }.studio-confirm-actions button { width:100%; }
}

@media (max-width:767px) {
    .studio-mobile-header { min-height:66px; padding:12px 16px !important; }
    .studio-workspace { padding:14px 14px 88px; }
    .studio-hero { padding:20px 17px; border-radius:20px; }
    .studio-hero-top { flex-direction:column; }
    .studio-hero-icon { width:42px; height:42px; }
    .studio-hero h1,.studio-hero h2 { font-size:23px !important; }
    .studio-hero-actions { width:100%; justify-content:flex-start; }
    .studio-hero-kpis { grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
    .studio-hero-kpi { min-height:122px; padding:13px; }
    .studio-hero-kpi-value { font-size:26px; }
    .studio-performance-grid { grid-template-columns:1fr; }
    .studio-section-grid { gap:14px; }
    .studio-panel { border-radius:16px; }
    .studio-kanban-toolbar { align-items:flex-start; }
    .studio-kanban { grid-auto-columns:minmax(270px,82vw); }
    .mobile-sub-nav { margin:0 !important; border-width:0 0 1px !important; border-radius:0 !important; }
    .studio-calendar-toolbar { flex-direction:column; align-items:stretch; }
    .studio-calendar-nav { justify-content:space-between; }
    .studio-calendar-nav h3 { min-width:0; }
    #studioMobileNavigation { margin:0 !important; height:72px; }
    #studioMobileNavigation > div { overflow:visible; justify-content:space-between; }
    #studioMobileNavigation a { flex:1 1 0; }
    .studio-modal { align-items:flex-end !important; padding:0 !important; }
    .studio-modal > div { width:calc(100% - 24px) !important; max-width:calc(100% - 24px) !important; max-height:calc(85dvh - var(--studio-mobile-nav-clearance)) !important; margin:0 12px var(--studio-mobile-nav-clearance) !important; border-radius:18px !important; }
    .studio-approval-note { grid-template-columns:30px 1fr; }
    .studio-approval-note i { display:none; }

    /* Fresh mobile cards: the desktop card/table system remains unchanged. */
    .studio-page-content_inbox .studio-content > .flex-1,
    .studio-page-production_pipeline .studio-content > .flex-1 { background:#f7f5fa !important; }
    .studio-page-production_pipeline #kanbanStageNav { display:none !important; }
    .studio-page-production_pipeline .studio-pipeline-toolbar { grid-template-columns:1fr; align-items:stretch !important; }
    .studio-page-production_pipeline .studio-pipeline-dates { width:100% !important; }
    .studio-page-production_pipeline .studio-pipeline-dates input { min-width:0; flex:1 1 0; }
    .studio-page-production_pipeline .studio-pipeline-priorities { width:100% !important; overflow-x:auto !important; }
    .studio-page-production_pipeline .studio-pipeline-view-controls { width:100%; justify-self:stretch; }
    .studio-page-production_pipeline .studio-view-switch { margin-left:auto; }
    .studio-page-production_pipeline #pipelineContentWrapper,
    .studio-page-production_pipeline #pipelineTableBody,
    .studio-page-production_pipeline #pipelineTableBody tr { background:transparent !important; }

    .studio-mobile-inbox-card,.studio-mobile-pipeline-card { position:relative; overflow:hidden; border:1px solid #e7e0ec; border-radius:18px; background:#fff; box-shadow:0 8px 24px rgba(49,27,68,.07); }
    .studio-mobile-inbox-card::before,.studio-mobile-pipeline-card::before { content:""; position:absolute; inset:0 auto 0 0; width:4px; background:linear-gradient(180deg,#5b2c83,#9b59d0); }
    .studio-mobile-inbox-card { padding:15px 15px 14px 18px; transition:border-color .16s ease; }
    .studio-mobile-inbox-card:hover,.studio-mobile-inbox-card:focus-within { transform:none; border-color:var(--studio-purple-deep); box-shadow:0 8px 24px rgba(49,27,68,.07); }
    .studio-mobile-card-heading { display:grid; grid-template-columns:38px minmax(0,1fr) auto; align-items:center; gap:10px; }
    .studio-mobile-school-mark { width:38px; height:38px; display:grid; place-items:center; border-radius:12px; color:#fff; background:linear-gradient(135deg,#3d1d60,#6d35a2); font-size:13px; font-weight:800; }
    .studio-mobile-school-name,.studio-mobile-date { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
    .studio-mobile-school-name { color:#3c2a4b; font-size:11px; font-weight:800; letter-spacing:.025em; text-transform:uppercase; }
    .studio-mobile-date { margin-top:3px; color:#9a92a2; font-size:9px; font-weight:700; }
    .studio-mobile-ready-dot { width:9px; height:9px; border:2px solid #d9f6ea; border-radius:50%; background:#32ba88; box-shadow:0 0 0 3px #effbf6; }
    .studio-mobile-ready-dot.is-awaiting { border-color:#fde3ae; background:#e9a12d; box-shadow:0 0 0 3px #fff7e5; }
    .studio-mobile-card-copy { padding:15px 0 13px; }
    .studio-mobile-inbox-card .studio-inbox-draft-state { grid-template-columns:auto minmax(0,1fr); margin-top:13px; }.studio-mobile-inbox-card .studio-inbox-draft-state small { grid-column:2; white-space:normal; }
    .studio-mobile-card-copy h4 { margin:0; color:#281c34; font-size:16px; font-weight:800; line-height:1.32; letter-spacing:-.015em; }
    .studio-mobile-card-copy p { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:6px 0 0; color:#776e7f; font-size:12px; line-height:1.5; }
    .studio-mobile-card-context { display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-top:1px solid #f0ebf3; color:#948b9d; font-size:9px; font-weight:600; }
    .studio-mobile-card-context strong { color:#4b3a57; }
    .studio-mobile-card-actions { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:9px; padding-top:11px; border-top:1px solid #f0ebf3; }
    .studio-file-button,.studio-mobile-action-primary { min-height:38px; display:inline-flex; align-items:center; justify-content:center; gap:7px; padding:8px 12px; border:1px solid #dfd2e9; border-radius:11px; font:inherit; font-size:10px; font-weight:800; cursor:pointer; }
    .studio-file-button { color:#67338f; background:#f7f1fb; white-space:nowrap; }
    .studio-file-button-icon { width:16px; height:16px; flex:0 0 16px; }
    .studio-mobile-action-primary { color:#fff; border-color:#6733a0; background:linear-gradient(115deg,#5d2b8a,#853fc0); box-shadow:0 6px 14px rgba(92,42,135,.18); }
    .studio-mobile-action-primary span { font-size:15px; line-height:1; }
    .studio-mobile-history-card .studio-mobile-card-copy { padding-bottom:10px; }
    .studio-mobile-history-card .studio-mobile-card-actions { justify-content:flex-end; }

    .studio-mobile-pipeline-card { padding:13px 14px 13px 18px; }
    .studio-mobile-pipeline-head { display:flex; align-items:center; gap:7px; color:#756a7e; font-size:9px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; }
    .studio-mobile-stage-dot { width:8px; height:8px; border-radius:50%; background:#8b45c4; box-shadow:0 0 0 3px #f1e8f7; }
    .studio-mobile-pipeline-media { margin-left:auto; color:#61546d; letter-spacing:0; }
    .studio-mobile-pipeline-main { display:grid; grid-template-columns:minmax(0,1fr) 34px; align-items:center; gap:10px; padding:13px 0 11px; }
    .studio-mobile-pipeline-school { display:block; overflow:hidden; color:#67338f; font-size:10px; font-weight:800; letter-spacing:.035em; text-overflow:ellipsis; text-transform:uppercase; white-space:nowrap; }
    .studio-mobile-pipeline-main h4 { display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; margin:4px 0 0; color:#281c34; font-size:15px; font-weight:800; line-height:1.35; }
    .studio-mobile-card-chevron { width:34px; height:34px; display:grid; place-items:center; border:1px solid #e3d7ec; border-radius:11px; color:#6a3495; background:#f7f1fb; font-size:24px; line-height:1; }
    .studio-mobile-pipeline-badges { min-height:20px; display:flex; flex-wrap:wrap; gap:5px; }
    .studio-mobile-pipeline-badges span { margin:0 !important; padding:4px 7px !important; border-radius:7px !important; font-size:8px !important; }
    .studio-mobile-pipeline-foot { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-top:11px; padding-top:10px; border-top:1px solid #f0ebf3; color:#9a92a2; font-size:8px; font-weight:700; letter-spacing:.035em; text-transform:uppercase; }
    .studio-mobile-pipeline-foot strong { color:inherit; font-weight:800; }

    /* Compact file browser and production actions, with navigation kept visible. */
    #fileViewerModal > div { max-height:calc(100dvh - var(--studio-mobile-nav-clearance) - 18px) !important; }
    #fileViewerModal > div > div:first-child { min-height:72px; padding:13px 14px !important; }
    #fileViewerModal #fileViewerTitle { max-width:45%; font-size:15px !important; line-height:1.25 !important; }
    #fileViewerModal #btnDownloadDriveFolder { min-height:36px; padding:7px 10px; border-radius:10px; font-size:9px; }
    #fileViewerModal #fileViewerGrid { grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:10px !important; }
    #fileViewerModal > div > .flex-1 { padding:12px !important; }
    #fileViewerModal #fileViewerGrid article { padding:9px !important; border-radius:14px !important; box-shadow:none !important; }
    #fileViewerModal #fileViewerGrid article > button > div { height:82px !important; margin-bottom:9px !important; }
    #fileViewerModal #fileViewerGrid article > div { gap:6px !important; margin-top:9px !important; padding-top:9px !important; }
    #fileViewerModal #fileViewerGrid article > div > * { min-height:34px; padding:7px 6px !important; border-radius:9px !important; }

    #postModal > div > div:nth-child(2) { gap:10px !important; padding:16px 16px 14px !important; }
    #postModal > div { height:calc(100dvh - var(--studio-mobile-nav-clearance) - 18px) !important; max-height:calc(100dvh - var(--studio-mobile-nav-clearance) - 18px) !important; }
    #postModal #modalSchoolName { padding-right:42px; margin-bottom:8px !important; font-size:17px !important; }
    #postModal #modalDriveLink,#postModal #modalProcessedLink { flex:0 0 auto !important; min-height:36px; padding:8px 12px !important; border:1px solid rgba(255,255,255,.15); border-radius:10px !important; background:rgba(255,255,255,.12) !important; box-shadow:none !important; }
    #postModal > div > div:nth-child(3) { padding:14px !important; gap:14px !important; }
    #postModal .studio-post-actions { display:flex !important; gap:8px !important; padding:10px 14px max(10px,env(safe-area-inset-bottom)) !important; }
    #postModal .studio-post-revert { align-self:stretch; width:100% !important; min-height:36px !important; padding:8px 12px !important; border-radius:10px !important; font-size:10px !important; }
    #postModal .studio-post-primary-actions { width:100% !important; display:grid !important; grid-template-columns:minmax(0,1fr) auto; gap:8px !important; margin:0 !important; }
    #postModal .studio-post-primary-actions button { width:auto !important; min-height:40px !important; margin:0 !important; padding:8px 14px !important; border-radius:10px !important; font-size:11px !important; }
    #postModal #btnSavePost { grid-column:1; grid-row:1; }
    #postModal .studio-post-primary-actions button[onclick*="closePostModal"] { grid-column:2; grid-row:1; }
    #postModal #btnMarkWaSent:not(.hidden) { grid-column:1 / -1; grid-row:2; }
}
/* Edit-plan review workspace */
.studio-plan-page{display:flex;flex-direction:column;height:100%;min-height:0;background:#f7f5fa;color:#171126}
.studio-plan-header{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 28px;background:#fff;border-bottom:1px solid #e9e3ef;flex:0 0 auto;z-index:20}
.studio-plan-title-row,.studio-plan-header-actions{display:flex;align-items:center;gap:14px;min-width:0}.studio-plan-title-row h1{font-size:21px;font-weight:800;line-height:1.15}.studio-plan-title-row p:last-child{font-size:12px;color:#81788c;margin-top:4px}.studio-plan-header-actions{justify-content:flex-end}
.studio-plan-status{padding:8px 12px;border-radius:999px;background:#f1edf5;color:#674c7d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.04em}.studio-plan-status.is-approved{background:#e4f6e9;color:#20733d}.studio-plan-status.is-changes-requested{background:#fff0e4;color:#a84b12}.studio-plan-status.is-waiting,.studio-plan-status.is-submitted{background:#eee8fb;color:#6737a0}
.studio-plan-workspace{overflow:auto;padding:22px 28px 48px}.studio-plan-overview{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,1fr);gap:24px;padding:28px;border-radius:18px;background:linear-gradient(135deg,#2f164b,#6b35a1);color:#fff;box-shadow:0 15px 34px rgba(50,25,73,.16)}.studio-plan-overview-copy h2{font-size:24px;line-height:1.25;font-weight:800;margin:6px 0 10px}.studio-plan-overview-copy>p:last-child{color:#e6daf1;max-width:760px;font-size:13px;line-height:1.65}.studio-plan-overview .studio-eyebrow{color:#ffc34d}.studio-plan-facts,.studio-plan-waiting-summary{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.studio-plan-facts>div,.studio-plan-waiting-summary>div{padding:14px;border-radius:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16)}.studio-plan-facts small,.studio-plan-waiting-summary small{display:block;font-size:9px;text-transform:uppercase;letter-spacing:.07em;opacity:.72;font-weight:700}.studio-plan-facts strong,.studio-plan-waiting-summary strong{display:block;font-size:12px;margin-top:5px;line-height:1.3}
.studio-plan-sources,.studio-plan-storyboard{margin-top:22px;padding:22px;background:#fff;border:1px solid #e7e0ec;border-radius:17px}.studio-plan-source-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.studio-plan-source-card{display:grid;grid-template-columns:72px 1fr;gap:12px;align-items:center;padding:10px;border-radius:12px;background:#faf8fc;border:1px solid #ece6f1}.studio-plan-source-thumb{height:58px;border-radius:9px;background:#eadff4;display:grid;place-items:center;overflow:hidden;color:#673395;font-weight:800}.studio-plan-source-thumb img{width:100%;height:100%;object-fit:cover}.studio-plan-source-card strong{font-size:11px;display:block;word-break:break-word}.studio-plan-source-card p,.studio-plan-source-card small,.studio-plan-source-card em{font-size:9px;color:#81778b;display:block;margin-top:3px;font-style:normal}.studio-plan-storyboard-track{display:flex;gap:12px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x mandatory}.studio-plan-storyboard-track button{flex:0 0 170px;text-align:left;scroll-snap-align:start}.studio-plan-storyboard-track button>div{height:88px;border-radius:11px;background:linear-gradient(135deg,#e9def2,#f7f4fa);display:grid;place-items:center;overflow:hidden;color:#6b35a1;font-size:20px;font-weight:800}.studio-plan-storyboard-track img{width:100%;height:100%;object-fit:cover}.studio-plan-storyboard-track strong{display:block;font-size:10px;line-height:1.35;margin:7px 2px 2px}.studio-plan-storyboard-track small{font-size:9px;color:#8c8295;margin-left:2px}
.studio-plan-body-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:22px;margin-top:22px;align-items:start}.studio-plan-segments,.studio-plan-review-panel{min-width:0}.studio-plan-segments>.studio-section-heading{padding:0 4px}.studio-plan-segment-list{display:grid;gap:12px}.studio-plan-segment{background:#fff;border:1px solid #e7e0ec;border-radius:15px;overflow:hidden;transition:.25s}.studio-plan-segment.is-highlighted{border-color:#8c43d0;box-shadow:0 0 0 3px rgba(140,67,208,.12)}.studio-plan-segment-main{width:100%;display:grid;grid-template-columns:38px 105px minmax(190px,1.4fr) minmax(150px,.85fr) 24px;gap:12px;align-items:center;padding:16px;text-align:left}.studio-plan-segment-main:hover{background:#fbf9fd}.studio-plan-segment-number{width:30px;height:30px;border-radius:9px;background:#f0e8f8;color:#6b2ea0;display:grid;place-items:center;font-size:11px;font-weight:800}.studio-plan-segment-time strong,.studio-plan-segment-copy strong,.studio-plan-segment-source strong{display:block;font-size:10px;color:#25152f}.studio-plan-segment-time small,.studio-plan-segment-copy small,.studio-plan-segment-source small{display:block;font-size:9px;color:#8b8193;margin-top:4px;line-height:1.45}.studio-plan-segment-copy strong{font-size:12px}.studio-plan-segment-chevron{font-size:25px;color:#8d70a4}.studio-plan-treatment-row{display:flex;gap:7px;overflow-x:auto;padding:0 16px 12px}.studio-plan-treatment-row>span{flex:0 0 auto;padding:7px 9px;border-radius:8px;background:#f7f2fa;border:1px solid #ede3f3}.studio-plan-treatment-row small{display:block;font-size:7px;color:#956ead;text-transform:uppercase;font-weight:800}.studio-plan-treatment-row strong{display:block;font-size:9px;color:#382246;margin-top:2px}.studio-plan-quick-actions{display:flex;flex-wrap:wrap;gap:6px;padding:11px 16px;background:#fbfafd;border-top:1px solid #eee8f2}.studio-plan-quick-actions button{padding:6px 9px;border-radius:7px;color:#6b3a8c;background:#fff;border:1px solid #dfd2e9;font-size:8px;font-weight:700}.studio-plan-quick-actions button.is-primary{background:#65308f;color:#fff;border-color:#65308f}.studio-plan-inline-notes{display:grid;gap:5px;padding:10px 16px;background:#fff8ed}.studio-plan-inline-notes>div{display:grid;grid-template-columns:auto 1fr auto;gap:8px;font-size:9px}.studio-plan-inline-notes strong{color:#a95418}.studio-plan-inline-notes em{font-style:normal;color:#817788}
.studio-plan-review-sticky{position:sticky;top:0;padding:20px;background:#fff;border:1px solid #e4dcea;border-radius:16px;box-shadow:0 12px 30px rgba(47,26,61,.08)}.studio-plan-review-sticky h2{font-size:17px;font-weight:800;margin:5px 0 8px}.studio-plan-review-sticky>p:not(.studio-eyebrow){font-size:10px;line-height:1.55;color:#766d80}.studio-plan-natural-button{width:100%;display:flex;gap:10px;align-items:center;text-align:left;padding:12px;margin:16px 0;border:1px dashed #bd9cd4;background:#f9f5fc;border-radius:11px}.studio-plan-natural-button>span{width:28px;height:28px;border-radius:8px;background:#6b3199;color:#fff;display:grid;place-items:center}.studio-plan-natural-button strong,.studio-plan-natural-button small{display:block;font-size:9px}.studio-plan-natural-button small{color:#8a7f93;margin-top:2px}.studio-plan-comment-summary{display:flex;justify-content:space-between;padding-bottom:9px;border-bottom:1px solid #eee8f2;font-size:9px}.studio-plan-comment-summary strong{color:#a34a15}.studio-plan-comment-summary span{color:#897e91}.studio-plan-comment-list{max-height:330px;overflow:auto;margin:10px -4px 14px;padding:0 4px;display:grid;gap:8px}.studio-plan-review-note{padding:10px;border-radius:10px;background:#fff7ea;border:1px solid #f0d7ae}.studio-plan-review-note.is-resolved{background:#f4f6f4;border-color:#dfe7df;opacity:.7}.studio-plan-review-note>div{display:flex;justify-content:space-between;gap:8px;font-size:8px}.studio-plan-review-note p{font-size:9px;line-height:1.45;margin:6px 0;color:#55475e}.studio-plan-review-note button{font-size:8px;color:#6b3199;font-weight:700}.studio-plan-review-note small{font-size:8px;color:#68826d}.studio-plan-no-comments{padding:15px;text-align:center;font-size:9px;color:#94899d}.studio-plan-decision-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:8px}.studio-plan-decision-actions button{justify-content:center;white-space:nowrap;font-size:9px}.studio-plan-approval-hint{display:block;color:#a85d24;line-height:1.4;font-size:8px;margin-top:9px}
.studio-plan-waiting{max-width:820px;margin:8vh auto;padding:50px;text-align:center;background:#fff;border:1px solid #e7dfec;border-radius:20px;box-shadow:0 18px 45px rgba(58,35,74,.09)}.studio-plan-waiting-icon{width:90px;height:64px;margin:0 auto 24px;display:flex;align-items:flex-end;justify-content:center;gap:7px}.studio-plan-waiting-icon span,.studio-plan-waiting-icon i,.studio-plan-waiting-icon b{display:block;width:17px;border-radius:8px 8px 3px 3px;background:#7134a4;animation:studio-plan-bars 1.1s infinite ease-in-out}.studio-plan-waiting-icon span{height:36px}.studio-plan-waiting-icon i{height:55px;animation-delay:.14s}.studio-plan-waiting-icon b{height:44px;animation-delay:.28s}@keyframes studio-plan-bars{50%{transform:translateY(-8px);background:#ffb31a}}.studio-plan-waiting h2{font-size:25px;font-weight:800;margin:6px 0 10px}.studio-plan-waiting>p:not(.studio-eyebrow){font-size:12px;color:#786f81;line-height:1.65;max-width:620px;margin:0 auto}.studio-plan-waiting-summary{margin:24px 0;text-align:left}.studio-plan-waiting-summary>div{background:#f8f5fa;border-color:#e8e0ed}.studio-plan-waiting-summary small{color:#8d8196}.studio-plan-waiting-summary strong{color:#2c1b37}.studio-plan-waiting-actions{display:flex;justify-content:center;gap:10px}
.studio-plan-sheet{position:fixed;inset:0;z-index:300;display:none;align-items:center;justify-content:center;padding:20px}.studio-plan-sheet.is-open{display:flex}.studio-plan-sheet-backdrop{position:absolute;inset:0;background:rgba(25,15,34,.64);backdrop-filter:blur(5px)}.studio-plan-sheet-card{position:relative;width:min(620px,100%);max-height:min(760px,calc(100vh - 40px));overflow:auto;background:#fff;border-radius:18px;box-shadow:0 25px 75px rgba(22,12,29,.35)}.studio-plan-sheet-head{display:flex;align-items:center;justify-content:space-between;padding:20px 22px;background:linear-gradient(135deg,#32194f,#7139a6);color:#fff}.studio-plan-sheet-head .studio-eyebrow{color:#ffc240}.studio-plan-sheet-head h2{font-size:18px;font-weight:800;margin-top:3px}.studio-plan-sheet-head .studio-icon-button{color:#fff;border-color:rgba(255,255,255,.25)}.studio-plan-sheet-context{display:flex;justify-content:space-between;gap:12px;padding:13px 22px;background:#f5eef9}.studio-plan-sheet-context strong,.studio-plan-sheet-context span{font-size:10px}.studio-plan-sheet-context span{color:#806e8b;text-align:right}.studio-plan-change-types{display:flex;flex-wrap:wrap;gap:7px;padding:18px 22px 8px}.studio-plan-change-types button{padding:7px 10px;border:1px solid #dfd3e8;border-radius:8px;font-size:9px;font-weight:700;color:#684180}.studio-plan-change-types button.is-selected{background:#683299;color:#fff;border-color:#683299}.studio-plan-sheet-card>.studio-field{margin:12px 22px}.studio-plan-sheet-card>.studio-field small{display:block;font-size:8px;color:#867b8e;line-height:1.45;margin-top:6px}.studio-plan-sheet-actions{display:flex;justify-content:flex-end;gap:9px;padding:16px 22px 20px;border-top:1px solid #eee8f2}.studio-plan-sheet-actions button{justify-content:center}

.studio-plan-segment.is-approved{border-color:#a8d7b5}.studio-plan-segment.is-approved .studio-plan-segment-number{background:#e5f6ea;color:#24733d}.studio-plan-quick-actions .studio-plan-segment-approve{margin-left:auto;background:#f0eaf5;color:#5d2d80}.studio-plan-quick-actions .studio-plan-segment-approve.is-approved{background:#e3f5e8;color:#22723d;border-color:#b8ddc2}
@media(max-width:900px){.studio-plan-overview{grid-template-columns:1fr}.studio-plan-body-grid{grid-template-columns:1fr}.studio-plan-review-sticky{position:static}.studio-plan-segment-main{grid-template-columns:34px 88px minmax(140px,1fr) 22px}.studio-plan-segment-source{display:none}}
@media(max-width:767px){.studio-page-edit_plan_review .studio-mobile-header,.studio-page-edit_plan_review #studioMobileNavigation,.studio-page-edit_plan_review #studioMobileMoreMenu,.studio-page-edit_plan_review #studioMobileMoreBackdrop{display:none!important}.studio-page-edit_plan_review .studio-content{padding-bottom:0!important}.studio-plan-header{padding:12px 13px;gap:8px}.studio-plan-title-row{gap:8px}.studio-plan-title-row h1{font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:47vw}.studio-plan-title-row p:last-child{display:none}.studio-plan-header-actions{gap:6px}.studio-plan-header-actions .studio-button-secondary{padding:8px 10px}.studio-plan-status{display:none}.studio-plan-workspace{padding:12px 10px 28px}.studio-plan-overview{padding:18px;border-radius:14px;gap:16px}.studio-plan-overview-copy h2{font-size:18px}.studio-plan-overview-copy>p:last-child{font-size:10px}.studio-plan-facts{grid-template-columns:1fr 1fr}.studio-plan-facts>div{padding:10px}.studio-plan-sources,.studio-plan-storyboard{margin-top:12px;padding:14px;border-radius:13px}.studio-plan-source-grid{display:flex;overflow-x:auto}.studio-plan-source-card{flex:0 0 250px}.studio-plan-storyboard-track button{flex-basis:138px}.studio-plan-storyboard-track button>div{height:74px}.studio-plan-body-grid{margin-top:13px;gap:13px}.studio-plan-segment{border-radius:13px}.studio-plan-segment-main{grid-template-columns:30px 73px minmax(0,1fr) 16px;padding:13px 10px;gap:7px}.studio-plan-segment-number{width:27px;height:27px}.studio-plan-segment-copy strong{font-size:11px}.studio-plan-segment-copy small{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.studio-plan-treatment-row{padding:0 10px 10px}.studio-plan-quick-actions{padding:9px 10px;flex-wrap:nowrap;overflow-x:auto}.studio-plan-quick-actions button{flex:0 0 auto}.studio-plan-review-sticky{padding:16px}.studio-plan-decision-actions{position:sticky;bottom:0;background:#fff;padding-top:10px;z-index:2}.studio-plan-waiting{margin:8vh 2px;padding:30px 18px}.studio-plan-waiting h2{font-size:20px}.studio-plan-waiting-summary{grid-template-columns:1fr 1fr}.studio-plan-sheet{padding:0;align-items:flex-end}.studio-plan-sheet-card{width:100%;max-height:94vh;border-radius:18px 18px 0 0}.studio-plan-sheet-head{padding:17px 16px}.studio-plan-sheet-context{padding:11px 16px}.studio-plan-change-types{padding:14px 16px 6px;flex-wrap:nowrap;overflow-x:auto}.studio-plan-change-types button{flex:0 0 auto}.studio-plan-sheet-card>.studio-field{margin:11px 16px}.studio-plan-sheet-actions{padding:13px 16px calc(14px + env(safe-area-inset-bottom))}.studio-plan-sheet-actions button{flex:1}}

/*
 * Studio typography system
 * The dashboard is the readability reference: micro text 10px, labels 11px,
 * body copy 12px, card titles 14px, section titles 16px and page titles 20px.
 * These final overrides bring legacy page-specific components onto that scale.
 */
:root {
    --studio-type-micro:10px;
    --studio-type-label:11px;
    --studio-type-body:12px;
    --studio-type-card-title:14px;
    --studio-type-section:16px;
    --studio-type-page:20px;
}

/* Content Inbox */
.studio-inbox-school { font-size:var(--studio-type-label); }
.studio-inbox-date { font-size:var(--studio-type-micro); }
.studio-inbox-card-copy h4 { font-size:15px; }
.studio-inbox-card-copy p { font-size:var(--studio-type-body); }
.studio-inbox-card-meta { font-size:var(--studio-type-micro); }
.studio-inbox-card-actions button,
.studio-inbox-card-actions a,
.studio-file-button,
.studio-mobile-action-primary { font-size:var(--studio-type-label); }
.studio-mobile-school-name { font-size:var(--studio-type-label); }
.studio-mobile-date,
.studio-mobile-card-context { font-size:var(--studio-type-micro); }

/* Production list, Kanban and mobile cards */
.studio-kanban-groups button { font-size:var(--studio-type-body); }
.studio-kanban-groups button span { font-size:var(--studio-type-micro); }
.studio-kanban-head strong { font-size:13px; }
.studio-kanban-card-school { font-size:var(--studio-type-label); }
.studio-kanban-card h4 { font-size:var(--studio-type-card-title); }
.studio-kanban-card-foot { font-size:var(--studio-type-micro); }
.studio-mobile-pipeline-head { font-size:var(--studio-type-micro); }
.studio-mobile-pipeline-school { font-size:var(--studio-type-label); }
.studio-mobile-pipeline-main h4 { font-size:16px; }
.studio-mobile-pipeline-badges span { font-size:var(--studio-type-micro) !important; }
.studio-mobile-pipeline-foot { font-size:var(--studio-type-micro); }

/* Automation Queue: one action, grouped deliverables and explicit autosave. */
.studio-queue-job-foot {
    display:grid;
    grid-template-columns:minmax(0,1fr) 280px;
    gap:16px;
    align-items:end;
    margin-top:16px;
    padding-top:15px;
    border-top:1px solid #eee8f1;
}
.studio-queue-foot-label {
    margin:0 0 8px;
    color:#766a7c;
    font-size:var(--studio-type-micro);
    font-weight:800;
    letter-spacing:.055em;
    text-transform:uppercase;
}
.studio-queue-retention {
    display:block;
    justify-self:end;
    margin:0;
    color:#675b6d;
    font-size:var(--studio-type-label);
    text-align:right;
}
.studio-queue-retention label { display:block; }
.studio-queue-retention select { margin-left:8px; font-size:var(--studio-type-label); }
.studio-retention-state { display:block; margin-top:6px; color:#338064; font-size:var(--studio-type-micro); font-weight:800; }
.studio-queue-flow span { font-size:var(--studio-type-micro); }
.studio-queue-deliverable strong { font-size:var(--studio-type-body); }
.studio-queue-deliverable small { font-size:var(--studio-type-micro); }

/* Calendar */
.studio-calendar-nav h3 { font-size:15px; }
.studio-calendar-event { font-size:var(--studio-type-label); }
.studio-calendar-item-time { font-size:var(--studio-type-micro); }
.studio-calendar-item strong { font-size:var(--studio-type-body); }
.studio-calendar-item span { font-size:var(--studio-type-micro); }
.studio-week-day-head span { font-size:var(--studio-type-micro); }

/* School Profile Centre */
body.studio-page-manage_schools .school-directory-copy strong { font-size:13px; }
body.studio-page-manage_schools .school-directory-copy span,
body.studio-page-manage_schools .school-directory-count { font-size:var(--studio-type-label); }
body.studio-page-manage_schools .school-profile-title p { font-size:var(--studio-type-body); }
body.studio-page-manage_schools .school-drive-link { font-size:var(--studio-type-micro); }
body.studio-page-manage_schools .school-profile-metrics span { font-size:var(--studio-type-label); }
body.studio-page-manage_schools .school-profile-tabs button { font-size:var(--studio-type-body); }
body.studio-page-manage_schools .profile-field label { font-size:var(--studio-type-label); }
body.studio-page-manage_schools .profile-field input,
body.studio-page-manage_schools .profile-field textarea { font-size:13px; }
body.studio-page-manage_schools .profile-section-head p { font-size:var(--studio-type-body); }
body.studio-page-manage_schools .asset-filter-bar input { font-size:var(--studio-type-body); }
body.studio-page-manage_schools .asset-default,
body.studio-page-manage_schools .asset-tags span,
body.studio-page-manage_schools .asset-actions button,
body.studio-page-manage_schools .asset-actions a { font-size:var(--studio-type-micro); }
body.studio-page-manage_schools .asset-card-body h5 { font-size:13px; }
body.studio-page-manage_schools .asset-card-body>p { font-size:var(--studio-type-label); }
body.studio-page-manage_schools .user-card strong { font-size:13px; }
body.studio-page-manage_schools .user-card p { font-size:var(--studio-type-label); }
body.studio-page-manage_schools .user-actions input { font-size:var(--studio-type-body); }
body.studio-page-manage_schools .user-actions button { font-size:var(--studio-type-micro); }

/* Production Brief */
.studio-page-prepare_production .studio-asset-option small { font-size:var(--studio-type-micro); }
.studio-page-prepare_production .studio-package-card strong,
.studio-page-prepare_production .studio-choice-row strong,
.studio-page-prepare_production .studio-platform-option strong { font-size:var(--studio-type-body); }
.studio-page-prepare_production .studio-package-card span,
.studio-page-prepare_production .studio-choice-row small { font-size:var(--studio-type-label); }
.studio-page-prepare_production .studio-recipe-card>span { font-size:var(--studio-type-micro); }
.studio-page-prepare_production .studio-recipe-card p { font-size:var(--studio-type-body); }
.studio-page-prepare_production .studio-recipe-card small { font-size:var(--studio-type-micro); }
.studio-page-prepare_production .studio-checklist-group h3 { font-size:13px; }
.studio-page-prepare_production .studio-checklist-group button { font-size:var(--studio-type-micro); }
.studio-page-prepare_production .studio-check-item strong { font-size:var(--studio-type-label); }
.studio-page-prepare_production .studio-note strong,
.studio-page-prepare_production .studio-review-deliverable strong { font-size:var(--studio-type-label); }
.studio-page-prepare_production .studio-note p,
.studio-page-prepare_production .studio-empty p,
.studio-page-prepare_production .studio-empty a,
.studio-page-prepare_production .studio-review-grid p:last-child,
.studio-page-prepare_production .studio-review-section>p:last-child { font-size:var(--studio-type-label); }
.studio-page-prepare_production .studio-review-deliverable small,
.studio-page-prepare_production .studio-review-pills span { font-size:var(--studio-type-micro); }
.studio-page-prepare_production .studio-summary-block strong { font-size:var(--studio-type-label); }
.studio-page-prepare_production .studio-summary-block span { font-size:var(--studio-type-micro); }
.studio-page-prepare_production .studio-summary-chip { font-size:var(--studio-type-micro) !important; }
.studio-page-prepare_production .studio-brief-footer-copy span { font-size:var(--studio-type-micro); }

/* Production Workspace */
.studio-production-progress li,
.studio-production-progress i { font-size:var(--studio-type-micro); }
.studio-production-item-title h1 { font-size:var(--studio-type-page); }
.studio-production-summary-subtitle { font-size:var(--studio-type-body); }
.studio-production-summary-pills span { font-size:var(--studio-type-micro); }
.studio-production-brief-grid strong { font-size:var(--studio-type-micro); }
.studio-production-panel-copy { margin:5px 0 0; color:#817486; font-size:var(--studio-type-body); line-height:1.5; }
.studio-production-file-grid strong { font-size:var(--studio-type-label); }
.studio-production-file-grid a { font-size:var(--studio-type-micro); }
.studio-page-prepare_production .studio-speech-music-card { font-family:inherit; }
.studio-page-prepare_production .studio-speech-music-card h3 { margin:0; font-size:var(--studio-type-section); font-weight:800; line-height:1.4; color:#25152f; }
.studio-page-prepare_production .studio-speech-music-card .studio-section-heading p,
.studio-page-prepare_production .studio-speech-music-card .studio-note { font-size:var(--studio-type-body); line-height:1.5; color:#817486; }
.studio-page-prepare_production .studio-speech-music-card label,
.studio-page-prepare_production .studio-speech-music-card select { font-family:inherit; font-size:var(--studio-type-label); }
.studio-page-prepare_production .studio-music-slider label { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.studio-page-prepare_production .studio-music-slider output { color:#6b2ea0; font-weight:700; font-variant-numeric:tabular-nums; white-space:nowrap; }
.studio-page-prepare_production .studio-music-slider input[type=range] { width:100%; min-height:32px; padding:0; border:0; background:transparent; box-shadow:none; accent-color:#7836ad; cursor:pointer; }
.studio-page-prepare_production .studio-music-slider-scale { display:flex; justify-content:space-between; font-size:var(--studio-type-micro); color:#817486; font-variant-numeric:tabular-nums; }
.studio-page-prepare_production .studio-music-slider small { font-size:var(--studio-type-micro); line-height:1.5; }
.studio-production-panel .studio-field label,
.studio-production-side .studio-field label { font-size:var(--studio-type-label); }
.studio-production-danger p { font-size:var(--studio-type-body); }
.studio-production-danger button { font-size:var(--studio-type-label); }

/* Edit Plan Review */
.studio-plan-facts small,.studio-plan-waiting-summary small { font-size:var(--studio-type-micro); }
.studio-plan-facts strong,.studio-plan-waiting-summary strong { font-size:13px; }
.studio-plan-source-card strong { font-size:var(--studio-type-body); }
.studio-plan-source-card p,.studio-plan-source-card small,.studio-plan-source-card em { font-size:var(--studio-type-micro); }
.studio-plan-storyboard-track strong { font-size:var(--studio-type-body); }
.studio-plan-storyboard-track small { font-size:var(--studio-type-micro); }
.studio-plan-segment-time strong,.studio-plan-segment-source strong { font-size:var(--studio-type-label); }
.studio-plan-segment-time small,.studio-plan-segment-copy small,.studio-plan-segment-source small { font-size:var(--studio-type-micro); }
.studio-plan-segment-copy strong { font-size:13px; }
.studio-plan-treatment-row small { font-size:var(--studio-type-micro); }
.studio-plan-treatment-row strong { font-size:var(--studio-type-label); }
.studio-plan-quick-actions button { font-size:var(--studio-type-micro); }
.studio-plan-inline-notes>div { font-size:var(--studio-type-micro); }
.studio-plan-review-sticky>p:not(.studio-eyebrow) { font-size:var(--studio-type-body); }
.studio-plan-natural-button strong { font-size:var(--studio-type-label); }
.studio-plan-natural-button small,
.studio-plan-comment-summary,
.studio-plan-review-note>div,
.studio-plan-review-note button,
.studio-plan-review-note small,
.studio-plan-no-comments,
.studio-plan-approval-hint { font-size:var(--studio-type-micro); }
.studio-plan-review-note p { font-size:var(--studio-type-label); }
.studio-plan-decision-actions button { font-size:var(--studio-type-label); }
.studio-plan-sheet-context strong,.studio-plan-sheet-context span { font-size:var(--studio-type-label); }
.studio-plan-change-types button,
.studio-plan-sheet-card>.studio-field small { font-size:var(--studio-type-micro); }
.studio-plan-finished .studio-section-heading a { font-size:var(--studio-type-label); }

/* Shared modal and secondary detail text */
.studio-post-meta-pill,.studio-post-platform-pill,
.studio-post-meta-label { font-size:var(--studio-type-micro); }
.studio-approval-note p { font-size:var(--studio-type-label); }
#fileViewerModal #btnDownloadDriveFolder { font-size:var(--studio-type-micro); }
.studio-reject-button,.studio-danger-button { font-size:var(--studio-type-label); }

@media(max-width:767px) {
    .studio-queue-job-foot { grid-template-columns:1fr; align-items:start; }
    .studio-queue-retention { justify-self:stretch; text-align:left; }
    .studio-brief-title-row p:last-child { font-size:var(--studio-type-micro); }
    .studio-brief-mobile-progress { font-size:var(--studio-type-micro); }
    .studio-plan-overview-copy>p:last-child { font-size:var(--studio-type-body); }
    .studio-plan-title-row h1 { font-size:16px; }
    .studio-production-item-title h1 { font-size:16px; }
    .studio-production-item-title>p:last-child,
    .studio-production-item-header-actions .studio-button-primary { font-size:var(--studio-type-micro); }
    .studio-production-progress li { font-size:var(--studio-type-micro); }
}

/* Shared desktop chrome and Automation Queue polish. */
@media(min-width:768px) {
    .studio-sidebar {
        width:96px !important;
        padding-right:8px;
        padding-left:8px;
    }
    .studio-sidebar .studio-brand {
        min-height:84px;
        padding:14px 6px;
    }
    .studio-sidebar nav {
        padding-right:4px !important;
        padding-left:4px !important;
    }
    .studio-sidebar nav a {
        min-height:63px;
        padding:8px 4px !important;
    }
    .studio-sidebar-footer {
        padding:10px 4px !important;
    }
    .studio-sidebar-footer button {
        width:52px !important;
        height:48px;
        display:flex !important;
        align-items:center !important;
        justify-content:center !important;
        margin:0 auto;
        padding:0 !important;
        line-height:0;
    }
    .studio-sidebar-footer button svg {
        display:block;
        margin:auto;
    }
    .studio-topbar-logo {
        width:128px;
        height:38px;
    }
}

.studio-page-production_queue .studio-queue-grid .studio-kpi:first-child {
    border-color:var(--studio-line);
    background:#fff;
}
.studio-page-production_queue .studio-kpi-icon {
    width:36px;
    height:36px;
    display:grid;
    place-items:center;
    border-radius:10px;
    color:#67378c;
    background:#f3ecf8;
}
.studio-page-production_queue .studio-kpi-icon svg {
    width:20px;
    height:20px;
}
.studio-page-production_queue .studio-kpi-label {
    margin-top:10px;
}
.studio-page-production_queue .studio-queue-retention .studio-select {
    margin-left:auto;
}
.studio-page-production_item #prodCaption {
    min-height:132px;
    overflow-y:hidden;
    resize:none;
}
.studio-production-viewer-actions .studio-button-accent {
    min-height:38px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:8px 13px;
    border-radius:11px;
    color:#34164b;
    background:#ffbe27;
    box-shadow:0 8px 18px rgba(31,16,44,.18);
    font-size:11px;
    font-weight:800;
    line-height:1;
    text-decoration:none;
    transition:background .18s ease,transform .18s ease;
}
.studio-production-viewer-actions .studio-button-accent:hover {
    background:#ffc94d;
    transform:translateY(-1px);
}
.studio-production-viewer-actions .studio-button-accent svg {
    width:16px;
    height:16px;
}

/* Final readability pass for the Production Brief summary and Production Workspace. */
@media(min-width:1101px) {
    .studio-page-prepare_production .studio-brief-workspace {
        grid-template-columns:250px minmax(0,1fr) 300px;
    }
}
.studio-page-prepare_production .studio-brief-summary { padding:24px 20px; }
.studio-page-prepare_production .studio-brief-summary h2 {
    margin-bottom:18px;
    font-size:20px;
    line-height:1.3;
}
.studio-page-prepare_production .studio-summary-block { padding:14px 0; }
.studio-page-prepare_production .studio-summary-block strong {
    font-size:13px;
    line-height:1.4;
}
.studio-page-prepare_production .studio-summary-block span {
    margin-top:6px;
    font-size:12px;
    line-height:1.55;
}
.studio-page-prepare_production .studio-summary-chip {
    margin-top:7px !important;
    padding:6px 8px;
    font-size:11px !important;
    line-height:1.25;
}

.studio-page-production_item .studio-production-item-title>p:last-child { font-size:12px; }
.studio-page-production_item .studio-production-progress {
    padding:17px 22px;
    overflow:hidden;
}
.studio-page-production_item .studio-production-progress ol.is-manual-flow {
    grid-template-columns:repeat(7,minmax(0,1fr));
}
.studio-page-production_item .studio-production-progress li {
    min-width:0;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:9px;
    font-size:12px;
    line-height:1.3;
    text-align:center;
}
.studio-page-production_item .studio-production-progress li::before {
    z-index:0;
    top:13px;
    right:50%;
    width:100%;
    height:2px;
    background:#d8cfe0;
}
.studio-page-production_item .studio-production-progress li:first-child::before { display:none; }
.studio-page-production_item .studio-production-progress i { font-size:10px; }
.studio-page-production_item .studio-production-progress li.is-complete::before,
.studio-page-production_item .studio-production-progress li.is-current::before { background:#7a4a9e; }
.studio-page-production_item .studio-production-summary p:last-child { font-size:12px; }
.studio-page-production_item .studio-production-summary-pills span { font-size:10px; }
.studio-page-production_item .studio-production-phase h2 { font-size:18px; }
.studio-page-production_item .studio-production-phase p:last-child { font-size:13px; }
.studio-page-production_item .studio-production-panel>h2,
.studio-page-production_item .studio-production-panel-head h2 { font-size:17px; }
.studio-page-production_item .studio-production-brief-copy h3 { font-size:15px; }
.studio-page-production_item .studio-production-brief-copy p { font-size:13px; }
.studio-page-production_item .studio-production-brief-copy strong { font-size:11px; }
.studio-page-production_item .studio-production-brief-grid strong { font-size:11px; }
.studio-page-production_item .studio-production-brief-grid span { font-size:12px; }
.studio-page-production_item .studio-production-checklist>strong,
.studio-page-production_item .studio-production-checklist li { font-size:12px; }
.studio-page-production_item .studio-production-panel-copy,
.studio-page-production_item .studio-production-output-empty p,
.studio-page-production_item .studio-production-danger>p:not(.studio-eyebrow) { font-size:12px; }
.studio-page-production_item .studio-production-side-column .studio-field>span,
.studio-page-production_item .studio-production-form-grid .studio-field>span { font-size:11px; }
.studio-page-production_item .studio-production-side-column .studio-field select,
.studio-page-production_item .studio-production-side-column .studio-field textarea,
.studio-page-production_item .studio-production-form-grid .studio-field input,
.studio-page-production_item .studio-production-form-grid .studio-field textarea { font-size:12px; }

@media(max-width:767px) {
    .studio-page-production_item .studio-production-progress {
        overflow-x:auto;
        padding:12px 14px;
    }
    .studio-page-production_item .studio-production-progress li { font-size:11px; }
}

.studio-deliverable-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:18px 0 22px}
.studio-deliverable-tabs .is-selected{background:#582681;color:#fff;border-color:#582681}
.studio-production-thumbnail,.studio-plan-thumbnail-review{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-top:18px;padding:16px;background:#f8f5fb;border:1px solid #e7dced;border-radius:14px;color:#322044}
.studio-production-thumbnail img,.studio-plan-thumbnail-review img{width:180px;max-height:210px;object-fit:contain;border-radius:10px;background:#fff}
.studio-plan-thumbnail-review>div{flex:1 1 220px}
.studio-plan-thumbnail-review h3{font-size:17px;font-weight:800}
.studio-plan-thumbnail-review p{font-size:13px;margin-top:5px}
#planWorkspace .studio-plan-overview{grid-template-columns:minmax(0,1fr) 260px;align-items:start}
#planWorkspace .studio-plan-facts{grid-template-columns:minmax(0,1fr)}
#planWorkspace .studio-plan-full-copy{grid-template-columns:minmax(0,1fr)}
.studio-plan-collapse{width:100%;min-width:0}
.studio-plan-collapse>summary{cursor:pointer;list-style:none;position:relative;padding-right:24px}
.studio-plan-collapse>summary::-webkit-details-marker{display:none}
.studio-plan-collapse>summary:after{content:'+';position:absolute;right:4px;top:14px;font-weight:700}
.studio-plan-collapse[open]>summary:after{content:'−'}
.studio-plan-collapse>summary .studio-section-heading{margin-bottom:0}
.studio-plan-collapse[open]>summary{margin-bottom:14px}
.studio-plan-music-body{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;padding-top:16px}
.studio-storyboard-item{position:relative;min-width:0}
.studio-plan-storyboard-track .studio-storyboard-item>button:first-child{width:100%;display:block}
#planWorkspace .studio-plan-storyboard-track .studio-storyboard-item>.studio-plan-duration-badge{position:absolute;right:6px;top:6px;bottom:auto;width:auto;min-width:0;padding:3px 6px;background:#fff;color:#322044;border-radius:5px;font-size:11px;box-shadow:0 1px 5px #0002}
.studio-storyboard-preview{width:min(900px,90vw);max-height:90vh;border:1px solid #e7dced;border-radius:16px;padding:18px;background:#fff}
.studio-storyboard-preview::backdrop{background:#21132c99}
.studio-storyboard-preview form{text-align:right;margin-bottom:12px}
.studio-storyboard-preview img{display:block;max-width:100%;max-height:75vh;object-fit:contain;margin:auto}
#planWorkspace .studio-plan-overview-copy>details:not(.studio-plan-rationale)>summary{display:inline-block;cursor:pointer;padding:10px 14px;margin-top:12px;border:1px solid #ffffff55;border-radius:9px;background:#ffffff18;font-size:12px;font-weight:700}
@media(max-width:767px){#planWorkspace .studio-plan-overview,.studio-plan-music-body{grid-template-columns:minmax(0,1fr)}.studio-storyboard-item{flex:0 0 138px}}
.studio-plan-learning-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:24px;padding:18px 0;border-top:1px solid #ffffff33;margin-top:14px}
.studio-plan-learning-row h3{font-size:14px;font-weight:700;margin-bottom:8px}
.studio-plan-learning-row h3 span{color:#ffc34d}
.studio-plan-learning-row p{font-size:13px;line-height:1.7;margin-bottom:8px}
.studio-plan-learning-row small{font-size:12px;line-height:1.6;color:#eee5f5}
.studio-plan-learning-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
@media(max-width:900px){.studio-plan-learning-row{grid-template-columns:1fr}.studio-plan-learning-actions{justify-content:flex-start}}
#manualReplacementFields{margin-top:24px;padding-top:20px;border-top:1px solid #e7dced}
#externalProductionPanel > #manualReplacementFields{margin-top:0;padding-top:0;border-top:0}
.studio-page-production_item .studio-production-output + .studio-production-output-empty{margin-top:16px}
.studio-page-production_item .studio-production-main-column > #externalProductionPanel{margin-top:12px}
@media(max-width:767px){
    .studio-page-production_item .studio-production-output + .studio-production-output-empty{margin-top:12px}
    .studio-page-production_item .studio-production-main-column > #externalProductionPanel{margin-top:8px}
}
.studio-manual-preparation{display:grid;gap:10px;margin-top:20px;padding:18px;border:1px solid #e4d7ec;border-radius:13px;background:#faf7fc}
.studio-manual-preparation legend{padding:0 5px;color:#3d2550;font-size:14px;font-weight:800}
.studio-manual-preparation p,.studio-manual-preparation small{margin:0;color:#74647f;font-size:12px;line-height:1.5}
.studio-manual-preparation label{display:flex;align-items:center;gap:10px;min-height:34px;color:#34213f;font-size:12px;font-weight:700}
.studio-manual-preparation input{width:17px;height:17px;accent-color:#7139a1}
.studio-manual-preparation>button{justify-self:start;margin-top:4px}
@media(max-width:767px){.studio-manual-preparation>button{width:100%}}
@media(min-width:1100px){
    .studio-page-production_item .studio-production-phase{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center}
    .studio-page-production_item .studio-production-phase>div:last-child{align-items:center;flex-wrap:nowrap;justify-content:flex-end}
    .studio-page-production_item .studio-production-phase>div:last-child>a,
    .studio-page-production_item .studio-production-phase>div:last-child>button{display:inline-flex;align-items:center;justify-content:center;min-height:38px;box-sizing:border-box}
}
.studio-production-file-display{display:flex;align-items:center;gap:10px;min-height:46px;padding:6px;border:1px solid #dfd7e6;border-radius:9px;background:#faf8fc}
.studio-production-file-button{flex:none;min-height:32px;padding:0 12px;border:0;border-radius:7px;background:#eee5f4;color:#542875;font:inherit;font-size:11px;font-weight:800;cursor:pointer}
.studio-production-file-button:hover{background:#e3d3ee}
.studio-production-file-button:focus-visible{outline:2px solid #683299;outline-offset:2px}
.studio-production-file-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:#746780;font-size:11px;text-transform:none!important;font-weight:500!important;margin:0!important}
#externalProductionPanel .studio-production-file-input{display:none}
.studio-manual-upload-field{grid-column:1/-1}
.studio-manual-upload-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.studio-manual-upload-controls .studio-production-file-display{flex:1 1 340px;max-width:520px;min-width:0}
.studio-manual-upload-controls>.studio-button-secondary{flex:none;min-height:46px}
#externalUploadState{display:block;margin-top:8px;color:#582681;font-size:12px}
#externalUploadState:empty{display:none}
@media(max-width:767px){.studio-manual-upload-controls .studio-production-file-display{max-width:none;flex-basis:100%}.studio-manual-upload-controls>.studio-button-secondary{width:100%}}
.studio-production-thumbnail-preview{display:block;padding:0;border:0;background:transparent;border-radius:10px;cursor:zoom-in;max-width:100%}
.studio-production-thumbnail-preview:focus-visible{outline:2px solid #683299;outline-offset:4px}
.studio-production-review-details{margin-top:16px;border:1px solid #e7dced;border-radius:12px;background:#faf8fc;overflow:hidden}
.studio-production-review-details>summary{padding:13px 16px;color:#593569;font-size:12px;font-weight:700;cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px}
.studio-production-review-details>summary::-webkit-details-marker{display:none}
.studio-production-review-details>summary:after{content:'+';font-size:18px}
.studio-production-review-details[open]>summary{border-bottom:1px solid #e7dced}
.studio-production-review-details[open]>summary:after{content:'−'}
.studio-production-review-details ul{padding:14px 20px 16px 36px;margin:0;list-style:disc;font-size:12px;line-height:1.7;color:#65566f}
.studio-production-review-details li+li{margin-top:10px}
.studio-production-target-fields{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
@media(max-width:480px){.studio-production-target-fields{grid-template-columns:1fr}}
.studio-production-copy-control{position:relative;width:100%}
.studio-production-copy-control input,.studio-production-copy-control textarea{padding-right:82px!important;width:100%}
.studio-production-copy-button{position:absolute;right:7px;top:7px;border:1px solid #b7dfc8;border-radius:7px;background:#e6f5ec;color:#17653b;font-size:11px;font-weight:700;padding:5px 11px;line-height:1.3;cursor:pointer}
.studio-production-copy-button:hover{background:#d3eddd}
.studio-production-copy-button:focus-visible{outline:2px solid #17653b;outline-offset:2px}
.studio-production-copy-button:disabled{opacity:.75}
.studio-production-copy-status{font-size:12px;color:#582681;margin:8px 0 0}
.studio-production-copy-status:empty{display:none}
.studio-production-external-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:16px}
.studio-production-external-actions [role="status"]{font-size:13px;color:#582681}
@media(max-width:767px){.studio-production-thumbnail img,.studio-plan-thumbnail-review img{width:100%;max-height:280px}}

/* Production Brief — shared Drive music library */
.studio-music-modes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 20px}
.studio-music-mode{display:flex;align-items:flex-start;gap:12px;min-height:92px;padding:16px;text-align:left;background:#fff;border:1px solid #dfd7e7;border-radius:14px;color:#29163b;transition:border-color .16s ease,background .16s ease}
.studio-music-mode:hover{border-color:#352047;background:#fcfaff}
.studio-music-mode.is-selected{border-color:#6d32a1;background:#f8f2fc;box-shadow:0 0 0 1px #6d32a1 inset}
.studio-music-mode>span{display:grid;place-items:center;flex:0 0 22px;width:22px;height:22px;border:2px solid #6d32a1;border-radius:50%;background:#fff;color:#fff;font-size:12px;font-weight:900}
.studio-music-mode.is-selected>span{background:#6d32a1}
.studio-music-mode strong,.studio-music-mode small{display:block}
.studio-music-mode strong{font-size:14px;line-height:1.3}
.studio-music-mode small{margin-top:5px;color:#81748d;font-size:12px;line-height:1.45}
.studio-music-panel{padding:18px;background:#fff;border:1px solid #dfd7e7;border-radius:15px}
.studio-music-panel--notice{background:#faf7fc}
.studio-music-panel--notice>p{margin:7px 0 14px;color:#766a80;font-size:13px}
.studio-music-search{display:flex;align-items:center;gap:8px;color:#75657e;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.studio-music-search input{width:230px;padding:10px 12px;border:1px solid #ddd3e5;border-radius:10px;background:#fff;color:#2b153c;text-transform:none;letter-spacing:0}
.studio-music-library{display:grid;gap:10px;margin-top:14px}
.studio-music-track{display:grid;grid-template-columns:minmax(210px,1fr) minmax(220px,320px);align-items:center;gap:14px;padding:12px;border:1px solid #e3dbe9;border-radius:12px;background:#fbf9fc}
.studio-music-track.is-selected{border-color:#6d32a1;background:#f7f0fb}
.studio-music-track>button{display:flex;align-items:center;gap:10px;text-align:left;color:#2b153c}
.studio-music-track>button>span{display:grid;place-items:center;width:20px;height:20px;border:2px solid #6d32a1;border-radius:50%;background:#fff;color:#fff;font-size:11px;font-weight:900}
.studio-music-track.is-selected>button>span{background:#6d32a1}
.studio-music-track strong,.studio-music-track small{display:block}
.studio-music-track small{margin-top:3px;color:#81748d;font-size:11px}
.studio-music-track audio{width:100%;height:36px}
.studio-music-track>p{grid-column:1/-1;margin:0;color:#766a80;font-size:12px}
.studio-music-upload-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px 14px;margin-top:16px}
.studio-music-upload-grid .studio-field{display:flex;min-width:0;flex-direction:column;margin-top:0}
.studio-music-upload-grid .studio-field+.studio-field{margin-top:0}
.studio-music-upload-grid .studio-field>label{min-height:16px;margin-bottom:7px}
.studio-music-upload-grid .studio-field input,.studio-music-upload-grid .studio-field select{height:44px;min-height:44px}
.studio-music-upload-grid input[type="file"]{padding:5px 7px;line-height:32px}
.studio-music-upload-grid input[type="file"]::file-selector-button{height:32px;margin-right:10px;padding:0 12px;border:0;border-radius:7px;background:#eee5f4;color:#542875;font:inherit;font-weight:800;cursor:pointer}
.studio-music-upload-grid .studio-field--wide,.studio-music-upload-grid>.studio-button-primary,.studio-music-upload-status{grid-column:1/-1}
.studio-music-upload-grid>.studio-button-primary{width:100%;justify-content:center}

/* Production Brief Step 4: match the Studio card, type and control hierarchy. */
.studio-page-prepare_production #briefStage.is-checklist-step .studio-form-card{padding:20px;border-radius:16px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-form-card>.studio-section-heading:first-child{margin:0 0 14px;align-items:flex-start}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-section-heading h3{margin:0;color:#25152f;font-size:var(--studio-type-section);font-weight:800;line-height:1.4}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-section-heading p:not(.studio-eyebrow){margin:4px 0 0;color:#766d80;font-size:var(--studio-type-body);line-height:1.55}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-summary{margin:0;color:#382442;font-size:13px;font-weight:600;line-height:1.6}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-variant{display:flex;flex-wrap:wrap;gap:4px 8px;margin:12px 0 0;padding:10px 12px;border:1px solid #eee6f2;border-radius:10px;color:#756880;background:#faf7fc;font-size:var(--studio-type-body);line-height:1.5}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-variant strong{color:#58366d;font-weight:800}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-card>.studio-field{margin-top:16px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-rules{margin-top:14px;border:1px solid #e7dfea;border-radius:11px;background:#fbf9fd;overflow:hidden}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-rules summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:42px;padding:10px 12px;color:#60368a;font-size:var(--studio-type-body);font-weight:800;line-height:1.4;list-style:none;cursor:pointer}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-rules summary::-webkit-details-marker{display:none}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-rules summary:hover,.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-rules summary:focus-visible{background:#f4ecf9;outline:none}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-rules summary svg{width:16px;height:16px;flex:0 0 auto;transition:transform .18s ease}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-rules[open] summary svg{transform:rotate(180deg)}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-rules ul{display:grid;gap:9px;margin:0;padding:14px 18px 16px 30px;border-top:1px solid #e7dfea;color:#62566b;font-size:var(--studio-type-body);line-height:1.55}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-choice-row{min-height:62px;padding:12px 14px;border-radius:11px;gap:12px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-choice-row strong{color:#35243f;font-size:var(--studio-type-body);font-weight:800;line-height:1.4}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-choice-row small{color:#766d80;font-size:var(--studio-type-label);line-height:1.5}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-choice-row>span{width:25px;height:25px;border-radius:7px;font-size:0}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-choice-row.is-selected>span::after,.studio-page-prepare_production #briefStage.is-checklist-step .studio-check-item.is-checked label>span::after{content:"";display:block;width:14px;height:14px;margin:0;border:0;transform:none;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8l3.2 3.2L13 4.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px 14px no-repeat}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-choice-row:disabled{opacity:.55;cursor:not-allowed}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-treatment-grid{margin:0;gap:12px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-treatment-card .studio-field>label{margin-bottom:8px;color:#594566;font-size:var(--studio-type-label)}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-treatment-card .studio-select-trigger{min-height:44px;border-radius:10px;font-size:var(--studio-type-body)}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-treatment-card .studio-select-chevron{width:17px;height:17px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-checklist-groups{margin-top:16px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-checklist-group{padding:18px;border-radius:15px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-checklist-group>div:first-child{gap:10px;margin-bottom:14px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-checklist-group h3{color:#382442;font-size:var(--studio-type-card-title);font-weight:800;line-height:1.4}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-checklist-group>div:first-child>button{min-height:30px;padding:5px 9px;border:1px solid #dfd1e9;border-radius:8px;color:#65358b;background:#f8f2fb;font-size:var(--studio-type-micro);font-weight:800;white-space:nowrap}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-check-item{min-height:39px;padding:8px 10px;gap:8px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-check-item>label{grid-template-columns:21px minmax(0,1fr);gap:9px}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-check-item label>span{width:20px;height:20px;font-size:0}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-check-item strong{font-size:var(--studio-type-label);line-height:1.45}
.studio-page-prepare_production #briefStage.is-checklist-step .studio-check-info{width:24px;height:24px}
.studio-page-prepare_production .studio-brief-caption-warning{margin:0 0 14px;padding:11px 13px;border:1px solid #e5c989;border-radius:10px;color:#61451b;background:#fff8e8;font-size:var(--studio-type-body);line-height:1.5}
.studio-plan-outcome-checks{margin-top:22px;padding:22px;border:1px solid #e7e0ec;border-radius:17px;background:#fff}
.studio-plan-outcome-checks>.studio-section-heading{margin:0 0 14px}
.studio-plan-outcome-checks>details{border:1px solid #e7e0ec;border-radius:11px;background:#faf8fc}
.studio-plan-outcome-checks>details>summary{padding:12px 14px;color:#60368a;font-size:var(--studio-type-body);font-weight:800;cursor:pointer}
.studio-plan-outcome-checks>details>ul{display:grid;gap:9px;margin:0;padding:0 14px 14px;list-style:none}
.studio-plan-outcome-item{padding:12px;border:1px solid #e8e0ed;border-radius:10px;background:#fff}
.studio-plan-outcome-item>div{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.studio-plan-outcome-item>div>strong{color:#34213f;font-size:var(--studio-type-body);line-height:1.5}
.studio-plan-outcome-item>div>span{flex:0 0 auto;padding:4px 7px;border-radius:6px;color:#60368a;background:#f2eaf8;font-size:var(--studio-type-micro);font-weight:800}
.studio-plan-outcome-item>p,.studio-plan-outcome-item details{margin:7px 0 0;color:#716579;font-size:var(--studio-type-label);line-height:1.5}
.studio-plan-outcome-item details summary{cursor:pointer;color:#60368a;font-weight:700}
.studio-plan-outcome-item details ul{margin:6px 0 0;padding-left:18px}
@media(max-width:767px){.studio-page-prepare_production #briefStage.is-checklist-step .studio-form-card{padding:16px}.studio-page-prepare_production #briefStage.is-checklist-step .studio-checklist-group{padding:15px}.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-variant{display:block}.studio-page-prepare_production #briefStage.is-checklist-step .studio-outcome-variant span{display:block;margin-top:3px}}
.studio-toggle-line{display:flex;align-items:center;align-self:center;gap:8px;min-height:44px;padding:0;color:#4a3658;font-size:13px}
.studio-music-upload-status{margin:0;color:#6d32a1;font-size:12px}
.studio-music-selected{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:14px;padding:14px;background:#f7f0fb;border:1px solid #cbaee0;border-radius:12px}
.studio-music-selected small{display:block;margin-top:4px;color:#7d6e88}
.studio-music-selected audio{width:min(340px,50%)}
@media(max-width:767px){.studio-music-modes,.studio-music-upload-grid{grid-template-columns:1fr}.studio-music-track{grid-template-columns:1fr}.studio-music-selected{align-items:stretch;flex-direction:column}.studio-music-selected audio{width:100%}.studio-music-search{width:100%;align-items:stretch;flex-direction:column}.studio-music-search input{width:100%}}
/* Plan review: visible picture, exact timing and readable caption approval. */
.studio-storyboard-timebar{position:absolute;top:6px;left:6px;max-width:calc(100% - 55px);padding:3px 5px;border-radius:5px;background:rgba(255,255,255,.94);color:var(--studio-ink,#261631);font-size:10px;font-weight:700;line-height:1.2;pointer-events:none;font-variant-numeric:tabular-nums;}
.studio-storyboard-item .studio-storyboard-role{display:block;color:var(--studio-purple,#7135a1);font-weight:700;margin-top:5px;}
.studio-storyboard-item .studio-storyboard-source,.studio-storyboard-item .studio-storyboard-narration{display:block;overflow-wrap:anywhere;line-height:1.5;}
.studio-storyboard-item .studio-storyboard-narration{margin-top:3px;color:#74677f;}
.studio-plan-caption-list{margin:16px 16px 18px;border:1px solid #e6ddef;border-radius:12px;overflow:hidden;background:#fff;}
.studio-plan-caption-list h3{font-size:13px;font-weight:700;margin:0;padding:12px 14px;background:#faf7fc;}
.studio-caption-row{display:grid;grid-template-columns:130px minmax(150px,1fr) minmax(125px,.65fr);gap:14px;padding:12px 14px;align-items:start;border-top:1px solid #eee7f3;font-size:12px;line-height:1.6;}
.studio-caption-header{color:#776981;font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;background:#faf7fc;}
.studio-caption-time{font-variant-numeric:tabular-nums;font-weight:600;color:#654579;white-space:nowrap;}
.studio-caption-wording{color:#271833;overflow-wrap:anywhere;}
.studio-caption-emphasis{display:flex;gap:5px;flex-wrap:wrap;}
.studio-caption-highlight{padding:2px 7px;border-radius:6px;background:#f1e7fa;color:#6b3094;font-size:11px;font-weight:600;}
.studio-caption-no-highlight{color:#93869e;}
@media(max-width:650px){.studio-caption-row{grid-template-columns:1fr;gap:4px;}.studio-caption-header{display:none;}.studio-plan-caption-list{margin:12px;}.studio-storyboard-timebar{font-size:9px;padding:3px;}}
.studio-caption-list-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; padding-right:14px; }
.studio-caption-list-heading .studio-button-secondary { flex-shrink:0; padding:7px 11px; }
.studio-caption-pending { padding:10px 14px; background:#fff8e9; color:#81541b; font-size:var(--studio-type-small); border-top:1px solid #f0e2c4; }
.studio-caption-editor-card { width:min(820px,100%); }
.studio-caption-editor-help { margin:18px 22px; color:var(--studio-text-muted,#82748d); font-size:var(--studio-type-small); line-height:1.6; }
.studio-caption-editor-rows { display:grid; gap:14px; margin:0 22px 20px; }
.studio-caption-edit-row { border:1px solid #e3d8ee; border-radius:12px; padding:14px; display:grid; gap:12px; background:#fcfaff; }
.studio-caption-edit-time { display:flex; justify-content:space-between; gap:12px; font-size:var(--studio-type-small); color:#613584; }
.studio-caption-edit-row .studio-field { margin:0; }
.studio-caption-edit-row .studio-field>label { margin-bottom:6px; }
.studio-caption-edit-row .studio-field>small { display:block; margin-top:6px; font-size:var(--studio-type-micro); color:#82748d; }
.studio-caption-editor-error { margin:12px 22px; color:#ac2525; font-size:var(--studio-type-small); }
.studio-caption-editor-card .studio-plan-sheet-actions { position:sticky; bottom:0; background:#fff; }
@media(max-width:767px) { .studio-caption-editor-help { margin:16px; } .studio-caption-editor-rows { margin:0 16px 16px; } .studio-caption-list-heading { flex-wrap:wrap; padding:0 14px 10px 0; } }
.studio-shell #pendingUploadNotice[hidden],.studio-shell #pendingUploadNotice [hidden]{display:none!important}
.studio-content-reference { display:inline-flex; width:max-content; max-width:100%; margin:0 0 6px; padding:3px 7px; border:1px solid #e4d5f3; border-radius:6px; background:#f5effb; color:#66368b; font-size:11px; font-weight:700; line-height:1.4; letter-spacing:.04em; white-space:nowrap; user-select:text; }
