html.pd-vnext .app-sidebar .project-context-control{margin-top:0;margin-bottom:4px;border:1px solid #3975c9;background:#172b49;min-height:64px;box-shadow:0 0 0 3px #0b63f615}
.project-context-control .asset-image{width:40px;height:40px;flex:0 0 40px;border-radius:8px;background-position:center;background-size:cover}
.production-dialog{background:var(--surface,#fff);color:var(--ink,#111827);border:1px solid var(--line,#ddd);border-radius:12px;padding:24px;width:min(1000px,94vw);max-height:88dvh;overflow:auto}
.production-dialog::backdrop{background:#07101f99}.production-dialog header{display:flex;justify-content:space-between;gap:20px;align-items:center}.production-dialog form{display:grid;gap:18px}.production-dialog fieldset{border:1px solid var(--line);border-radius:12px;padding:16px;display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.production-dialog label{display:grid;gap:6px}.production-dialog input,.production-dialog textarea,.production-dialog select{background:var(--surface);color:var(--ink);border:1px solid var(--line);padding:8px;border-radius:8px;min-width:0}.production-thumbnail{width:120px;height:90px;background:center/contain no-repeat}.production-goals{display:grid;gap:6px;grid-column:1/-1;max-width:70ch}.production-goals dt{font-weight:600}.production-goals dd{margin:0;color:var(--muted)}
html.pd-vnext .portfolio-image-grid{display:block;columns:3;column-gap:10px}html.pd-vnext .portfolio-image-card{display:inline-grid;width:100%;break-inside:avoid;margin-bottom:10px}html.pd-vnext .portfolio-image-card .asset-image{height:auto!important;aspect-ratio:auto;min-height:0;background:none!important}html.pd-vnext .portfolio-image-card .asset-image img{display:block;width:100%;height:auto!important;object-fit:contain}
.production-section-meta{padding:12px;color:var(--muted);font-size:12px;display:grid;gap:5px}.production-section-meta p{margin:0;max-width:70ch}.production-concepts{padding:12px}.production-concept-image{display:block;width:100%;background:center/contain no-repeat;min-height:220px}.production-concept-page .sitemap-section-card{border:0;padding:0;margin:0}.production-concept-page .sitemap-section-heading,.production-concept-page .sitemap-wireframe,.production-concept-page .sitemap-image-prompts,.production-concept-page .production-section-meta,.production-concept-page .sitemap-flow-arrow{display:none}.production-concept-page .production-concepts{display:block;padding:0}.production-calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px;margin:16px 0}.production-calendar section{border:1px solid var(--line);border-radius:8px;padding:8px;min-height:100px;overflow-wrap:anywhere}.production-calendar.list{grid-template-columns:1fr}
html[data-pd-resolved-theme=dark] .standalone-inspector,html[data-pd-resolved-theme=dark] .sitemap-page-tree,html[data-pd-resolved-theme=dark] .pd-portfolio-inspector,html[data-pd-resolved-theme=dark] .task-detail-panel,html[data-pd-resolved-theme=dark] .modal,html[data-pd-resolved-theme=dark] .dialog,html[data-pd-resolved-theme=dark] .seo-coach,html[data-pd-resolved-theme=dark] .pd-portfolio-stage{background:var(--surface)!important;color:var(--ink)!important}
html[data-pd-resolved-theme=dark] dialog input,html[data-pd-resolved-theme=dark] dialog textarea,html[data-pd-resolved-theme=dark] dialog select{background:var(--surface)!important;color:var(--ink)!important}
.ds-anatomy-stage{background:#e8f1ff}.ds-anatomy-section>[data-anchor=content]{background:inherit}.ds-dimension span{max-width:155px;white-space:normal!important;font-size:10px}
@media(max-width:900px){html.pd-vnext .portfolio-image-grid{columns:2}.production-dialog fieldset{grid-template-columns:1fr}.production-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:550px){html.pd-vnext .portfolio-image-grid{columns:1}}
.production-style-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.production-style-grid article{border:1px solid var(--line);padding:12px;border-radius:12px}.production-style-grid img,.production-style-proxy{width:100%;height:auto;border-radius:8px}.production-seo-help{padding:16px;background:var(--surface);border:1px solid var(--line);border-radius:12px}.production-seo-help dd{max-width:70ch;margin-bottom:12px}
.production-concept-page .production-concept-image:not(.concept-primary){display:none}.production-concept-page .sitemap-flow-arrow{display:none}
/* Keep inline section concepts compact; the image lightbox is unaffected. */
.sitemap-flow-canvas .production-concept-image {
  min-height: 0;
  max-height: 50vh;
  max-height: 50dvh;
}
.sitemap-flow-canvas .production-concept-image > img {
  max-height: 50vh;
  max-height: 50dvh;
  object-fit: contain;
}
.ds-anatomy-section{background:#e8f1ff!important}.production-concept-page .production-concepts>summary,.production-concept-page .production-concepts>button,.production-concept-page .production-concepts>label{display:none}.production-concept-page .production-concepts .production-concept-image{min-height:0}
.calendar-studio.production-dialog{width:min(1440px,96vw);max-height:94dvh;padding:24px;box-sizing:border-box}
.calendar-studio>header h2{display:flex;align-items:center;gap:12px;margin:0;font-size:24px;font-weight:600}
.calendar-studio>header h2 i{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;background:#0B63F6;color:white;font-size:24px}
.calendar-subtitle{margin:6px 0 24px 56px;color:var(--muted)}
.calendar-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:20px}
.calendar-toolbar input{width:170px}.calendar-tabs{display:flex;margin-left:auto;gap:0}.calendar-tabs button{border-radius:0}.calendar-tabs button:first-child{border-radius:8px 0 0 8px}.calendar-tabs button:last-child{border-radius:0 8px 8px 0}
.calendar-tabs [aria-pressed=true],.calendar-task-list [aria-pressed=true]{background:var(--app-selected-surface,#eaf2ff);color:var(--app-selected-text,#0B63F6);border-color:#0B63F6}
.calendar-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:20px}.calendar-layout>main{min-width:0;overflow:auto}.calendar-layout>aside{border-left:1px solid var(--line);padding-left:20px;min-width:0}.calendar-layout h3{margin:0 0 12px;font-weight:600;font-size:18px}
.calendar-weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));min-width:600px;border:1px solid var(--line);border-bottom:0;border-radius:8px 8px 0 0}.calendar-weekdays span{padding:12px;text-align:center;font-weight:500}
.calendar-studio .production-calendar{gap:0;margin:0;min-width:600px;border:1px solid var(--line);border-radius:0 0 8px 8px;overflow:hidden;grid-template-columns:repeat(7,minmax(0,1fr))}
.calendar-studio .production-calendar section,.calendar-studio .production-calendar>div{border:0;border-right:1px solid var(--line);border-bottom:1px solid var(--line);border-radius:0;padding:8px;min-height:110px;box-sizing:border-box}
.calendar-studio .production-calendar section>strong{display:inline-grid;place-items:center;min-width:28px;height:28px;font-size:14px;font-weight:500}.calendar-today>strong{border-radius:50%;background:#0B63F6;color:white}
.calendar-studio [data-calendar-task]{background:var(--app-selected-surface,#eaf2ff);color:var(--app-selected-text,#084eb8);border-left:3px solid #0B63F6;border-radius:6px;padding:6px;font-size:13px;line-height:1.4;text-align:left;cursor:grab}
.calendar-studio .production-calendar.list{grid-template-columns:1fr;min-width:0}.calendar-hint{padding:12px;border-radius:8px;background:var(--surface-muted);color:var(--muted);font-size:14px}
.calendar-task-list{display:grid;gap:6px;max-height:210px;overflow:auto;margin:12px 0 20px}.calendar-task-list button{text-align:left;justify-content:flex-start;white-space:normal;padding:10px;font-weight:500}
.calendar-studio fieldset{grid-template-columns:1fr;padding:12px;gap:12px;min-width:0}.calendar-studio fieldset[hidden],.calendar-studio [hidden]{display:none!important}.calendar-studio legend{font-size:14px;font-weight:600;overflow-wrap:anywhere}.calendar-studio form{gap:12px}.calendar-studio form>button{width:100%}
@media(max-width:1050px){.calendar-layout{grid-template-columns:1fr}.calendar-layout>aside{border-left:0;border-top:1px solid var(--line);padding:20px 0 0}.calendar-studio fieldset{grid-template-columns:repeat(2,minmax(0,1fr))}.calendar-tabs{margin-left:0}}
@media(max-width:600px){.calendar-studio.production-dialog{padding:16px}.calendar-subtitle{margin-left:0}.calendar-studio fieldset{grid-template-columns:1fr}}
