/* v3.33.90 — dark mode completeness, grouped materials, path editing, login toggle */
.auth-theme-toggle{position:fixed;top:22px;left:22px;z-index:20;width:46px;height:46px;border-radius:14px;border:1px solid #d7e1ee;background:#fff;color:#183453;display:grid;place-items:center;cursor:pointer;box-shadow:0 10px 30px rgba(18,50,81,.10)}
.auth-theme-toggle .theme-icon{font-size:21px;line-height:1}.theme-icon-sun{display:none}html[data-theme="dark"] .theme-icon-moon{display:none}html[data-theme="dark"] .theme-icon-sun{display:inline}
.task-program-flow-hint{padding:12px 14px;border:1px solid #d8e4f0;border-radius:13px;background:#f7fbff;display:flex;gap:8px;align-items:center;justify-content:space-between}.task-program-flow-hint span{color:#6b7c91;font-size:12px}.task-program-flow-hint strong{font-size:13px;color:#183858}.task-program-flow-hint.no-review{background:#effbf5;border-color:#cceada}.task-program-flow-hint.no-review strong{color:#18784a}
.bundle-create-box{border:1px solid #d9e4ef;border-radius:16px;padding:14px;background:#f8fbff}.bundle-toggle{display:flex!important;flex-direction:row!important;gap:10px;align-items:flex-start}.bundle-toggle input{width:18px;height:18px;margin-top:3px}.bundle-toggle span{display:grid;gap:4px}.bundle-toggle small{color:#718196;line-height:1.7}.bundle-create-fields{margin-top:14px;padding-top:14px;border-top:1px dashed #ccd9e7}.bundle-create-head{display:flex;justify-content:space-between;gap:12px;align-items:center;margin-bottom:10px}.bundle-create-head div{display:grid;gap:3px}.bundle-create-head small{color:#7b8999}.bundle-create-rows{display:grid;gap:9px}.bundle-create-row{display:grid;grid-template-columns:130px 1fr 1.3fr 36px;gap:8px;align-items:center}.bundle-create-row input{min-width:0}.bundle-create-row [data-remove-bundle-item]{font-size:20px}
.task-bundle-badge{display:inline-flex;margin-inline-start:7px;padding:3px 8px;border-radius:999px;background:#eaf3ff;color:#185fa8;font-size:10px;vertical-align:middle}
.bundle-output-panel{border:1px solid #dbe5f0;border-radius:18px;background:#fff;padding:16px;margin:16px 0}.bundle-output-panel__head{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.bundle-output-panel__head span{font-size:11px;color:#3170b2}.bundle-output-panel__head h4{margin:3px 0;font-size:18px}.bundle-output-panel__head p{margin:0;color:#718096;font-size:12px}.bundle-output-panel__head>b{background:#edf5ff;color:#1b5f9f;padding:7px 11px;border-radius:10px}.bundle-output-list{display:grid;gap:10px}.bundle-output-item{display:grid;grid-template-columns:46px 1fr;gap:12px;border:1px solid #e0e8f1;border-radius:15px;padding:12px;background:#fbfdff}.bundle-output-item__index{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:#edf4fd;color:#2464a1;font-weight:800}.bundle-output-item__body>header{display:flex;align-items:center;justify-content:space-between;gap:12px}.bundle-output-item__body>header div{display:grid}.bundle-output-item__body>header small{color:#73839a}.bundle-output-item__body>header strong{font-size:15px}.bundle-ready,.bundle-pending{font-size:11px;border-radius:999px;padding:5px 9px}.bundle-ready{background:#e8f7ef;color:#177448}.bundle-pending{background:#fff4e5;color:#936315}.bundle-source-path{margin-top:9px;padding:9px 10px;border-radius:10px;background:#f5f8fc;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.bundle-source-path small{color:#748398}.bundle-source-path code{direction:ltr;flex:1;min-width:180px;overflow-wrap:anywhere}.bundle-output-fields{display:grid;grid-template-columns:1fr 180px;gap:10px;margin-top:10px}.bundle-output-fields label{display:grid;gap:6px}.bundle-save-button{width:100%;margin-top:12px}.version-path-edit{margin-top:10px;border-top:1px dashed #d9e2eb;padding-top:8px}.version-path-edit summary{cursor:pointer;color:#2164a2;font-weight:700;font-size:12px}.version-path-edit form{display:flex;gap:8px;margin-top:8px}.version-path-edit input{flex:1;min-width:0}.no-review-notice{border:1px solid #cde9d9;background:#effbf5;border-radius:12px;padding:12px 14px;margin-bottom:10px}.no-review-notice strong{color:#167647}.no-review-notice p{margin:4px 0 0;color:#597568}.inline-review-delivery.skips-review .inline-review-delivery__eyebrow{color:#178454}
.internal-path-card .path-actions{margin-top:8px}.internal-manager-note{border-color:#d5e5f5!important;background:#f6faff!important}
.classification-name-stack{display:grid;gap:5px}.program-flow-status{font-size:10px;padding:3px 7px;border-radius:999px;width:max-content}.program-flow-status.needs-review{background:#edf4ff;color:#195e9d}.program-flow-status.no-review{background:#eaf8f0;color:#147448}.program-review-toggle-form{display:inline-flex}

/* Full dark mode: workflow, internal assignments, temporal review, decisions, dialogs. */
html[data-theme="dark"]{color-scheme:dark}
html[data-theme="dark"] body,html[data-theme="dark"] .wf-body,html[data-theme="dark"] .advanced-body,html[data-theme="dark"] .review-page{background:#091522!important;color:#e8f0f8}
html[data-theme="dark"] .auth-body{background:#091522!important}
html[data-theme="dark"] .login-card,html[data-theme="dark"] .mobile-brand{background:#102236!important;color:#edf5fc;border-color:#26415c!important}
html[data-theme="dark"] .auth-theme-toggle{background:#132940;border-color:#2a4865;color:#f3f8fc;box-shadow:none}
html[data-theme="dark"] .login-form input,html[data-theme="dark"] input,html[data-theme="dark"] select,html[data-theme="dark"] textarea{background:#0d1d2d!important;color:#f1f6fb!important;border-color:#2b455f!important}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:#8194a8!important}
html[data-theme="dark"] .wf-main,html[data-theme="dark"] .wf-panel,html[data-theme="dark"] .wf-section,html[data-theme="dark"] .workflow-action-card,html[data-theme="dark"] .wf-action-card,html[data-theme="dark"] .wf-task-list>article,html[data-theme="dark"] .wf-internal-card,html[data-theme="dark"] .internal-assignment-summary,html[data-theme="dark"] .internal-description,html[data-theme="dark"] .internal-update-form,html[data-theme="dark"] .internal-cancel-form,html[data-theme="dark"] .task-edit-panel,html[data-theme="dark"] .inline-task-review,html[data-theme="dark"] .inline-task-review__form,html[data-theme="dark"] .inline-task-review__responses,html[data-theme="dark"] .inline-task-review__history details,html[data-theme="dark"] .inline-review-response-item,html[data-theme="dark"] .inline-review-card,html[data-theme="dark"] .inline-review-send,html[data-theme="dark"] .bundle-output-panel,html[data-theme="dark"] .bundle-output-item,html[data-theme="dark"] .bundle-create-box,html[data-theme="dark"] .wf-dialog-card{background:#102236!important;color:#e9f1f8!important;border-color:#263f58!important;box-shadow:none!important}
html[data-theme="dark"] .wf-top{background:rgba(9,21,34,.92)!important;border-color:#263f58!important}
html[data-theme="dark"] .wf-stats>a,html[data-theme="dark"] .wf-stats>div,html[data-theme="dark"] .task-program-flow-hint,html[data-theme="dark"] .bundle-source-path,html[data-theme="dark"] .no-review-notice{background:#0e2032!important;color:#e6eef6!important;border-color:#28455f!important}
html[data-theme="dark"] .task-program-flow-hint strong,html[data-theme="dark"] .bundle-output-panel__head h4,html[data-theme="dark"] .bundle-output-item__body strong,html[data-theme="dark"] .internal-description p{color:#e8f0f8!important}
html[data-theme="dark"] .task-program-flow-hint span,html[data-theme="dark"] .bundle-output-panel__head p,html[data-theme="dark"] .bundle-source-path small,html[data-theme="dark"] .internal-description small{color:#91a6ba!important}
html[data-theme="dark"] .review-card,html[data-theme="dark"] .review-section,html[data-theme="dark"] .review-header,html[data-theme="dark"] .review-preview-shell,html[data-theme="dark"] .review-media-stage,html[data-theme="dark"] .review-note-composer,html[data-theme="dark"] .review-notes-table-shell,html[data-theme="dark"] .review-side-card,html[data-theme="dark"] .review-response-item,html[data-theme="dark"] .review-duration-box,html[data-theme="dark"] .review-summary-grid>div,html[data-theme="dark"] .review-decision-state,html[data-theme="dark"] .review-path-box,html[data-theme="dark"] .review-version-history article,html[data-theme="dark"] .review-history details,html[data-theme="dark"] .review-table,html[data-theme="dark"] .review-workspace,html[data-theme="dark"] .review-decision-panel,html[data-theme="dark"] .review-general-note,html[data-theme="dark"] .review-response-panel{background:#102236!important;color:#e8f0f8!important;border-color:#29445f!important;box-shadow:none!important}
html[data-theme="dark"] .review-system-bar{background:#0c1d2e!important;border-color:#28445d!important}
html[data-theme="dark"] table,html[data-theme="dark"] thead,html[data-theme="dark"] tbody,html[data-theme="dark"] tr,html[data-theme="dark"] td,html[data-theme="dark"] th{border-color:#2a435b!important}
html[data-theme="dark"] th{background:#132b42!important;color:#cfe0ef!important}html[data-theme="dark"] td{background:#102236!important;color:#e7eef6!important}
html[data-theme="dark"] dialog::backdrop{background:rgba(2,9,16,.76)}
html[data-theme="dark"] .review-muted,html[data-theme="dark"] .inline-review-muted,html[data-theme="dark"] small,html[data-theme="dark"] .muted-value{color:#93a8bc}
html[data-theme="dark"] .review-decision-option,html[data-theme="dark"] .review-timing-box,html[data-theme="dark"] .review-note-row{background:#0e2032!important;border-color:#29465f!important}
html[data-theme="dark"] .internal-manager-note{background:#0f2740!important;border-color:#2d5275!important}
html[data-theme="dark"] .task-bundle-badge{background:#173a59;color:#9fd0ff}
@media(max-width:760px){.bundle-create-row{grid-template-columns:1fr}.bundle-output-fields{grid-template-columns:1fr}.version-path-edit form{flex-direction:column}.auth-theme-toggle{top:12px;left:12px}}
.review-bundle-selector{margin:12px 0 14px;border:1px solid #dbe6f1;border-radius:15px;background:#f8fbff;padding:12px}.review-bundle-selector__head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}.review-bundle-selector__head div{display:grid;gap:3px}.review-bundle-selector__head small{color:#73859a}.review-bundle-selector__head>span{font-size:11px;background:#e9f3ff;color:#1e67aa;border-radius:999px;padding:5px 9px}.review-bundle-selector__items{display:flex;gap:8px;overflow:auto;padding-bottom:2px}.review-bundle-item{min-width:210px;border:1px solid #d8e4ef;background:#fff;border-radius:12px;padding:9px 10px;display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:8px;text-align:right;cursor:pointer;color:#183652}.review-bundle-item i{font-style:normal;width:30px;height:30px;border-radius:9px;background:#eef5fd;color:#2d6ea9;display:grid;place-items:center;font-size:11px;font-weight:800}.review-bundle-item span{display:grid;min-width:0}.review-bundle-item small{font-size:10px;color:#77889b}.review-bundle-item b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px}.review-bundle-item em{font-style:normal;font-size:10px;color:#5f7690}.review-bundle-item.active{border-color:#2c78be;background:#edf6ff;box-shadow:inset 0 0 0 1px #2c78be}.review-chip-bundle{background:#edf6ff!important;color:#1e65a4!important}
html[data-theme="dark"] .review-bundle-selector,html[data-theme="dark"] .review-bundle-item{background:#0e2032!important;border-color:#2a475f!important;color:#e7f0f8!important}html[data-theme="dark"] .review-bundle-item.active{background:#123451!important;border-color:#4a91cc!important}html[data-theme="dark"] .review-bundle-item i{background:#173a59;color:#a9d6ff}
.wf-task-path-card__actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.material-path-edit{position:relative}.material-path-edit summary{cursor:pointer;color:#2164a2;font-weight:700;font-size:12px}.material-path-edit form{display:flex;gap:8px;align-items:center;margin-top:8px;min-width:min(620px,70vw)}.material-path-edit input{flex:1;min-width:260px}html[data-theme="dark"] .material-path-edit summary{color:#8bc8ff}@media(max-width:760px){.material-path-edit form{min-width:0;flex-direction:column;align-items:stretch}.material-path-edit input{min-width:0}}
/* v3.33.90 finishing pass — read-only bundle summary and darker remaining surfaces */
.bundle-output-panel--readonly{margin-top:14px}.bundle-item-duration{display:inline-flex;align-items:center;justify-content:center;padding:4px 8px;border-radius:8px;background:#eaf3ff;color:#245f98;font-size:11px;font-weight:800;white-space:nowrap}
html[data-theme="dark"] .bundle-item-duration{background:#173a59;color:#a9d6ff}
html[data-theme="dark"] :where(
  .review-main-card,.review-readonly-preview,.review-progress-card,.review-current-group,.review-current-draft-round,
  .review-local-preview-section,.review-versions-section,.review-history-section,.review-response-form,.review-preview-topbar,
  .review-preview-empty,.review-info-list,.review-duration-summary,.review-queue-heading>strong,.review-bridge-help,
  .review-bridge-transcode,.review-composer-actions,.review-timing-help,.review-range-shell,.review-time-toolbar
){background:#102236!important;color:#e8f0f8!important;border-color:#29445f!important;box-shadow:none!important}
html[data-theme="dark"] :where(.review-tiny-button,.review-mark-button,.review-plain-button,.review-bridge-retry,.path-action-button){background:#172b40!important;color:#dceaf6!important;border-color:#31506b!important;box-shadow:none!important}
html[data-theme="dark"] :where(.review-queue-heading h1,.review-queue-card h2,.review-queue-empty strong,.review-section-title,.review-title-row h1,.review-title-row h2){color:#edf5fc!important}
html[data-theme="dark"] :where(.review-queue-heading p,.review-queue-card p,.review-queue-card dt,.review-queue-card dd,.review-hint,.review-sub){color:#9eb1c4!important}
html[data-theme="dark"] .review-summary-grid>div{background:#0e2032!important;border-color:#29445f!important}
html[data-theme="dark"] .review-notes-table tr{background:#102236!important;border-color:#29445f!important;box-shadow:none!important}
html[data-theme="dark"] :where(.advanced-card,.report-letter,.media-path,.review-round-history details,.response-item,.platform-row,.entry-list a,.request-list a,.detail-grid div,.summary-cards article,.category-list article,pre){background:#102236!important;color:#e8f0f8!important;border-color:#29445f!important;box-shadow:none!important}
html[data-theme="dark"] :where(.advanced-form input,.advanced-form select,.advanced-form textarea,.filter-grid input,.filter-grid select,.filter-grid textarea,.category-edit input,.category-edit select,.review-note-row input,.review-note-row select){background:#0d1d2d!important;color:#f1f6fb!important;border-color:#2b455f!important}
