/* Queue: visible review work, a compact hierarchy, and restrained depth. */
html body.app-mode #queue-command-runway #queue-production-panel > summary { cursor: pointer; list-style: none; }
html body.app-mode #queue-command-runway #queue-production-panel > summary::-webkit-details-marker { display: none; }
html body.app-mode #queue-command-runway #queue-production-panel > summary::after { content: "⌄"; flex: 0 0 auto; margin-left: auto; transition: transform .16s ease; }
html body.app-mode #queue-command-runway #queue-production-panel[open] > summary::after { transform: rotate(180deg); }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway {
  border-width: 1.5px !important;
  box-shadow: 1px 1px 0 #39314455 !important;
}
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.polxy-standard-header, .queue-phase-disclosure, .queue-operational-insights, .queue-production-panel, .queue-layout-panel, .queue-workload-card, .queue-status-card, .queue-blocker-card, .queue-control-group, .queue-item, button, input, select) {
  box-shadow: 1px 1px 0 #39314444 !important;
  border-width: 1.5px !important;
}
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header,
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header > * {
  height: auto !important; min-height: 0 !important; max-height: none !important;
  background: #c9edf2 !important;
}
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header > * { padding: 18px 22px !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header h2 { font-size: clamp(24px, 2.2vw, 30px) !important; line-height: 1.15 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .polxy-header-boundary { background: #f8dfb9 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .polxy-header-boundary :is(span,strong,p,small) { color: #30263f !important; -webkit-text-fill-color: #30263f !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-triage-phase > summary,.queue-library-disclosure > summary,.queue-agent-console,.queue-actions-panel [data-go-view="automation"],.queue-actions-panel button > span,.queue-proof-kpis,.queue-production-live-boundary) { display: none !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-production-phase > summary { background: #e5dcf6 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-phase-disclosure,.queue-phase-content,.queue-library-disclosure,.queue-production-panel,.queue-layout-panel) { background: #fffaf2 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-phase-disclosure > summary { background: #e5dcf6 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-control-group { background: #e7f2ef !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-operational-insights { background: #f3eef9 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-workload-card,.queue-status-card,.queue-blocker-card) { background: #fffaf2 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-production-heading { background: #dcecef !important; }
html body.app-mode #queue-command-runway.queue-is-empty .queue-selection-controls,
html body.app-mode #queue-command-runway.queue-is-empty .queue-production-progress,
html body.app-mode #queue-command-runway .queue-production-progress[data-state="idle"] { display: none !important; }
html body.app-mode #queue-command-runway button:disabled { opacity: .45; cursor: not-allowed; }
html body.app-mode #queue-command-runway.queue-is-empty #queue-production-panel,
html body.app-mode #queue-command-runway #queue-proof-kpis,
html body.app-mode #queue-command-runway .queue-triage-phase::before,
html body.app-mode #queue-command-runway .queue-triage-phase::after,
html body.app-mode #queue-command-runway .queue-library-disclosure::before,
html body.app-mode #queue-command-runway .queue-library-disclosure::after { display: none !important; }
/* Matching gentle surfaces for the item editor and final review windows. */
html body.app-mode :is(#queue-detail-drawer,#queue-review-dialog,#queue-delivery-dialog) { background: #fffaf2 !important; color: #30263f !important; box-shadow: 2px 2px 0 #39314455, 0 16px 48px #17152422 !important; }
html body.app-mode :is(#queue-detail-drawer,#queue-review-dialog,#queue-delivery-dialog) :is(.queue-detail-header,header,.queue-detail-actions) { background: #e5dcf6 !important; }
html body.app-mode :is(#queue-detail-drawer,#queue-review-dialog,#queue-delivery-dialog) :is(.queue-detail-grid article,.queue-proof-strip article,button) { box-shadow: 1px 1px 0 #39314455 !important; border-width: 1.5px !important; }
html body.app-mode :is(#queue-detail-drawer,#queue-review-dialog,#queue-delivery-dialog) header :is(h2,h3,p,small,span) { color: #30263f !important; -webkit-text-fill-color: #30263f !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.filter-row,.queue-list-large,.queue-library-disclosure,.queue-insights-range,.queue-list-large > li) { box-shadow: 1px 1px 0 #39314444 !important; border-width: 1px !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-phase-disclosure > summary :is(span,strong,small) { color: #30263f !important; -webkit-text-fill-color: #30263f !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-workload-card > header { background: #dcecef !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-status-card > header { background: #e9f2d6 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-blocker-card > header { background: #f8dfb9 !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .workspace-proof-header { background: #dcecef !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .workspace-proof-header :is(strong,small,span) { color: #30263f !important; -webkit-text-fill-color: #30263f !important; }

/* Distinct, quiet colours identify each collapsible Queue section. */
html body.app-mode #queue-command-runway .queue-production-phase { --queue-section-colour: #e5dcf6; --queue-toggle-colour: #c6aff0; }
html body.app-mode #queue-command-runway #polxy-recurring-queue { --queue-section-colour: #d7eff3; --queue-toggle-colour: #8bd5df; }
html body.app-mode #queue-command-runway #polxy-work-report { --queue-section-colour: #edf2ce; --queue-toggle-colour: #cdda87; }
html body.app-mode #queue-command-runway .queue-proof-phase { --queue-section-colour: #f8e5cf; --queue-toggle-colour: #edbe89; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-phase-disclosure > summary { background: var(--queue-section-colour, #e5dcf6) !important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-phase-disclosure > summary::after {
  background: var(--queue-toggle-colour, #c6aff0) !important;
  color: #30263f !important; border: 1px solid #645971 !important;
  box-shadow: 1px 1px 0 #39314433 !important;
}

#queue-command-runway .queue-card-production { padding: 8px 10px; border-radius: 6px; background: #d7eff3; color: #30263f; font-size: 12px; line-height: 1.5; }
/* Chat creative choices: distinct surfaces and visible keyboard focus. */
html body.app-mode .polxy-creative-choices { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
html body.app-mode .polxy-image-proposal .polxy-creative-choices button[data-chat-creative-choice] {
  background: #bdebf0 !important; color: #242033 !important; -webkit-text-fill-color: #242033 !important;
  border: 1px solid #665b76 !important; border-radius: 9px !important; padding: 11px 15px !important;
  box-shadow: 1px 2px 0 #39314440 !important; font-weight: 650 !important; line-height: 1.4 !important;
}
html body.app-mode .polxy-image-proposal .polxy-creative-choices button[data-chat-creative-choice]:nth-child(2) { background: #d8c7f5 !important; }
html body.app-mode .polxy-image-proposal .polxy-creative-choices button[data-chat-creative-choice]:nth-child(3) { background: #e4f59e !important; }
html body.app-mode .polxy-image-proposal .polxy-creative-choices button[data-chat-creative-choice]:hover { filter: brightness(.96); }
html body.app-mode .polxy-image-proposal .polxy-creative-choices button[data-chat-creative-choice]:focus-visible { outline: 3px solid #6848a5 !important; outline-offset: 3px; }
html body.app-mode #queue-command-runway .queue-publishing-defaults { margin-top: 8px; border: 1px solid #83758d; border-radius: 8px; padding: 9px 12px; background: #fff8ed; }
html body.app-mode #queue-command-runway .queue-publishing-defaults summary { cursor: pointer; font-size: 13px; font-weight: 650; color: #30263f; }
html body.app-mode #queue-command-runway .queue-publishing-defaults p { font-size: 12px; line-height: 1.5; }
html body.app-mode #queue-command-runway .queue-card-publishing { background: #eee6fb; color: #30263f; padding: 7px 10px; border-radius: 6px; font-size: 12px; }
html body.app-mode #automation-schedule-dialog .schedule-publishing-choice { display: grid; gap: 8px; padding: 14px; margin: 12px 0; border: 1px solid #9484a4; border-radius: 10px; background: #e8def7; color: #30263f; }
html body.app-mode #automation-schedule-dialog .schedule-publishing-choice small { line-height: 1.5; color: #483954; }

/* Queue refinement: shared pastel character, readable controls, and shallow grouping. */
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway { box-shadow:none!important; border-width:1px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(div,section,article,aside,details,ul,li,button,input,textarea,select) { min-width:0; box-shadow:none!important; border-width:1px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header { display:grid!important; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header > * { padding:24px!important; background:var(--sr-cyan)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header > aside { background:var(--sr-violet)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(p,small,em) { color:var(--sr-muted)!important; -webkit-text-fill-color:var(--sr-muted)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(button,input,select,textarea) { border-radius:8px!important; min-height:44px; padding:10px 14px!important; height:auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway button { white-space:normal!important; word-break:normal!important; overflow-wrap:normal!important; background:var(--sr-cyan)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(button.active,button[aria-selected="true"]) { background:var(--sr-violet)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway select { appearance:none!important; padding-right:40px!important; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%2375697f' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important; background-position:right 14px center!important; background-repeat:no-repeat!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-triage-phase,.queue-phase-content,.queue-layout-panel,.queue-library-disclosure,.queue-list-large) { padding:0!important; border:0!important; background:transparent!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-phase-content { padding:20px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-triage-phase .queue-phase-content { padding:0!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .filter-row { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1.5fr)!important; gap:16px!important; padding:18px!important; border-radius:12px!important; background:var(--sr-surface)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .filter-row label { display:grid!important; gap:8px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .filter-row :is(input,select) { width:100%!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-filter-summary { grid-column:1/-1!important; background:transparent!important; padding:0!important; border:0!important; color:var(--sr-muted)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions-panel { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; gap:12px!important; margin-top:16px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions-panel button { display:flex!important; justify-content:center!important; align-items:center!important; padding:14px!important; min-height:52px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions-panel button strong { width:auto!important; max-width:none!important; grid-column:auto!important; font-size:14px!important; line-height:1.5!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway summary { display:grid!important; grid-template-columns:minmax(0,1fr) auto!important; gap:6px 18px!important; padding:20px!important; border:0!important; border-radius:10px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway summary > :is(span,strong,small) { grid-column:1!important; max-width:none!important; width:auto!important; white-space:normal!important; text-overflow:clip!important; overflow:visible!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway summary > span:has(+strong) { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway summary > [aria-hidden] { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway summary::before { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway summary::after { content:""!important; grid-column:2!important; grid-row:1/3!important; align-self:center!important; position:static!important; width:7px!important; height:7px!important; min-width:7px!important; min-height:7px!important; border:0!important; border-right:1.5px solid #75697f!important; border-bottom:1.5px solid #75697f!important; background:transparent!important; box-shadow:none!important; border-radius:0!important; transform:rotate(45deg)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway details[open] > summary::after { transform:rotate(225deg)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-publishing-defaults { padding:0!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-publishing-defaults summary { padding:12px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-publishing-defaults :is(p,.mode-control) { margin:12px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-layout-panel { margin-bottom:18px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-layout-tabs,.queue-calendar-nav,.queue-insights-range) { display:flex!important; flex-wrap:wrap!important; gap:10px!important; padding:0!important; border:0!important; background:transparent!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-calendar-nav strong { flex-basis:100%; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-production-panel { padding:0!important; border:0!important; margin-bottom:20px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-production-heading { padding:16px!important; border-radius:10px!important; background:var(--sr-cyan)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-selection-controls { display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:16px!important; padding:16px 0!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-control-group { padding:14px!important; border:0!important; background:var(--sr-green)!important; border-radius:10px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-control-group > div { display:flex!important; flex-wrap:wrap!important; gap:10px!important; margin-top:10px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-control-group button { flex:1 1 160px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-control-group-utility { grid-column:1/-1!important; background:transparent!important; padding:0!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-control-group-utility > span { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-control-group-utility button { flex:0 1 auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-shift-control { display:flex!important; align-items:center!important; gap:10px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-shift-control input { width:80px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-list-large > li.empty-state { display:block!important; padding:24px!important; min-height:0!important; background:var(--sr-surface)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-list-large > li.queue-review-card { grid-template-columns:140px minmax(0,1fr)!important; padding:20px!important; gap:20px!important; background:var(--sr-surface)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-selector { position:static!important; grid-column:1/-1!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-media { grid-column:1!important; grid-row:auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-copy { grid-column:2!important; grid-row:auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-title { display:block!important; width:100%!important; text-align:left!important; border:0!important; padding:0!important; background:transparent!important; font-size:18px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions { grid-column:1/-1!important; display:flex!important; flex-wrap:wrap!important; align-items:center!important; gap:12px!important; width:100%!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-card-status-row,.queue-card-action-group) { display:flex!important; flex-wrap:wrap!important; gap:8px!important; padding:0!important; border:0!important; background:transparent!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-meta { display:flex!important; flex-wrap:wrap!important; gap:8px 16px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-operational-insights { padding:20px!important; background:var(--sr-violet)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway.queue-is-empty .queue-operational-insights { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-insights-heading { display:flex!important; flex-wrap:wrap!important; gap:18px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-insights-heading > div:first-child { flex:1 1 380px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-insights-grid { gap:16px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-workload-card,.queue-status-card,.queue-blocker-card) { background:var(--sr-surface)!important; border-radius:10px!important; overflow:hidden!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway dialog { max-width:calc(100vw - 32px)!important; border:1px solid var(--sr-line)!important; border-radius:14px!important; background:var(--sr-surface)!important; box-shadow:0 16px 48px #352e4025!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway dialog :is(header,.queue-detail-header) { background:var(--sr-violet)!important; padding:20px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway dialog :is(h2,h3,p) { margin:0 0 12px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway dialog :is(.queue-detail-grid,.queue-proof-strip) { gap:16px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway dialog :is(button,input,select,textarea) { max-width:100%!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway [hidden] { display:none!important; }
@media(max-width:1100px) {
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions-panel { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-insights-grid { grid-template-columns:minmax(0,1fr)!important; }
}
@media(max-width:700px) {
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header { grid-template-columns:minmax(0,1fr)!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway > .polxy-standard-header > * { padding:20px!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .filter-row { grid-template-columns:minmax(0,1fr)!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-selection-controls { grid-template-columns:minmax(0,1fr)!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-phase-content { padding:16px!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-list-large > li.queue-review-card { grid-template-columns:minmax(0,1fr)!important; padding:16px!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-card-copy,.queue-card-media,.queue-actions) { grid-column:1!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-media { max-height:200px!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions button { flex:1 1 auto!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway dialog :is(.queue-detail-grid,.queue-proof-strip,.queue-review-grid) { grid-template-columns:minmax(0,1fr)!important; }
}

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-triage-phase > summary,.queue-library-disclosure > summary,.queue-actions-panel [data-go-view="automation"]) { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(small,.queue-filter-summary,label,.empty-state) { font-size:13px!important; text-transform:none!important; letter-spacing:normal!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-list-large > li.empty-state { border:0!important; }

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(#polxy-recurring-queue,#polxy-work-report,.queue-proof-phase) > summary > span { display:block!important; font-size:14px!important; }

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-section-title { background:var(--sr-green)!important; color:var(--sr-ink)!important; padding:14px 16px!important; font-size:15px!important; text-transform:none!important; border:0!important; border-radius:8px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-section-title span { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway #queue-detail-title { font-size:clamp(20px,2vw,28px)!important; line-height:1.35!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-caption { border:0!important; box-shadow:none!important; background:var(--sr-cyan)!important; padding:18px!important; border-radius:10px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-caption::before { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-receipt > p { grid-column:1/-1!important; border:0!important; background:var(--sr-green)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-detail-grid,.queue-proof-strip,.queue-action-metrics,.queue-production-metrics) { display:grid!important; grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-detail-grid,.queue-proof-strip) { grid-template-columns:repeat(2,minmax(0,1fr))!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-actions { position:static!important; border:0!important; padding:16px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-actions button { text-transform:none!important; }
@media(max-width:700px) {
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-detail-grid,.queue-proof-strip,.queue-detail-receipt,.queue-action-metrics,.queue-production-metrics) { grid-template-columns:minmax(0,1fr)!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-header { flex-wrap:wrap!important; gap:16px!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-detail-window-actions { flex-wrap:wrap!important; }
}

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway summary { height:auto!important; min-height:64px!important; max-height:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway button { color:var(--sr-ink)!important; -webkit-text-fill-color:var(--sr-ink)!important; text-transform:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-action-dialog-header,.queue-production-dialog-header) { background:var(--sr-violet)!important; padding:20px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.queue-action-boundary,.queue-production-boundary) { border:0!important; background:var(--sr-peach)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .workspace-proof-header { background:var(--sr-cyan)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .workspace-proof-header > div > strong { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway :is(.workspace-proof-status,.queue-status-pill) { background:var(--sr-green)!important; color:var(--sr-ink)!important; border:1px solid var(--sr-line)!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-proof-panel { border:0!important; padding:0!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-action-items { gap:12px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-action-metrics { gap:12px!important; }

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions { grid-row:auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-selector { display:flex!important; gap:8px!important; width:auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-selector input { min-height:20px!important; width:20px!important; padding:0!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-publishing-defaults .mode-control { display:flex!important; flex-wrap:wrap!important; gap:8px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-publishing-defaults .mode { flex:1 1 80px!important; width:auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .ploxy-help-trigger { padding:0!important; }

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-production-title > strong { font-size:20px!important; line-height:1.4!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-shift-control { box-shadow:none!important; border:0!important; background:transparent!important; flex:0 1 auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-calendar-nav { display:grid!important; grid-template-columns:repeat(3,auto)!important; align-items:center!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-calendar-nav strong { order:-1!important; grid-column:1/-1!important; text-align:left!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-calendar-grid { grid-template-columns:repeat(auto-fit,minmax(min(180px,100%),1fr))!important; overflow:visible!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-calendar-day { min-width:0!important; }
@media(max-width:700px) { html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-calendar-nav { grid-template-columns:repeat(2,minmax(0,1fr))!important; } html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-layout-panel { display:grid!important; gap:16px!important; } }

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-media-state { min-width:0!important; padding:12px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-media-state > * { min-width:0!important; max-width:100%!important; white-space:normal!important; overflow-wrap:anywhere!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-media { width:100%!important; }

/* Hidden controls must stay hidden after component display overrides. */
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway [hidden][hidden] { display:none!important; }

/* Readable cards: status placeholders are prose, not cropped thumbnails. */
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions > :is(.queue-card-status-row,.queue-card-action-group) { width:auto!important; max-width:100%!important; flex:0 1 auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions { justify-content:flex-start!important; align-content:start!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-media:has(.queue-media-state) { height:auto!important; min-height:0!important; max-height:none!important; overflow:visible!important; aspect-ratio:auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-media .queue-media-state { height:auto!important; min-height:0!important; max-height:none!important; background:var(--sr-green)!important; border-radius:8px!important; gap:8px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-media .queue-media-state strong { font-size:15px!important; line-height:1.5!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-media .queue-media-state > span { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-list-large > li.queue-review-card.queue-card-no-preview { grid-template-columns:24px minmax(0,1fr)!important; gap:16px!important; min-height:0!important; align-items:start!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-no-preview .queue-card-selector { grid-column:1!important; grid-row:1!important; min-height:28px!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-no-preview .queue-card-copy { grid-column:2!important; grid-row:1!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-no-preview .queue-card-media { grid-column:1/-1!important; grid-row:2!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-no-preview .queue-actions { grid-column:1/-1!important; grid-row:auto!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-selector em { display:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-review-card { transform:none!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-meta > span { background:transparent!important; padding:0!important; border:0!important; font-size:12px!important; }
@media(max-width:700px) {
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions { gap:10px!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-actions > :is(.queue-card-status-row,.queue-card-action-group) { flex:1 1 auto!important; }
 html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-no-preview .queue-card-copy { grid-column:2!important; }
}

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-meta > span { font-weight:400!important; }

@media(max-width:700px) {
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-no-preview .queue-card-copy { grid-column:1/-1!important; grid-row:2!important; }
html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-no-preview .queue-card-media { grid-row:3!important; }
}

html body.app-mode #queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway#queue-command-runway .queue-card-caption { display:block!important; -webkit-line-clamp:unset!important; overflow:visible!important; font-size:13px!important; max-width:none!important; }
/* Keep pending decisions and previous failures visible when publishing is paused. */
html body.app-mode .queue-saved-review-note {
  padding: 8px 12px;
  border: 1px solid #c6bdcd;
  background: #f0ebf5;
  color: #30263f;
  font-size: 13px;
  line-height: 1.5;
}
