/* Homepage palette carried through the Studio. Geometry and edit actions are unchanged. */
html:root.broker-navy.broker-silver body{
  --studio-canvas:#f5f3ef;--studio-panel:#fff;--studio-soft:#ece9e3;
  --studio-ink:#191a1c;--studio-muted:#5b5d61;--studio-line:#dcd9d2;
  --studio-control-line:#96938e;--studio-disabled:#e8e5df;
  background:var(--studio-canvas)!important;color:var(--studio-ink)!important;
}
html:root.broker-navy.broker-silver body::before{background:var(--studio-canvas)!important}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.staff-main,.staff-main>header,.staff-step,.photo-wizard-nav,.staff-property-layout,.staff-folders,.staff-folder-grid,.studio-album-picker,.photo-batch-plan,.wt-app,.wt-main,.wt-topline,.wt-footer,.wt-layout,.wt-workspace,.bt-page){
  background:transparent!important;color:var(--studio-ink)!important;
  border-color:var(--studio-line)!important;box-shadow:none!important;
}
html:root.broker-navy.broker-silver body :is(.broker-studio-nav,.broker-workflow-tabs,.broker-studio-copyright,.staff-main>footer){
  background:var(--studio-canvas)!important;color:var(--studio-ink)!important;border-color:var(--studio-line)!important;
}
html:root.broker-navy.broker-silver body :is(.broker-register,.broker-registration,.broker-account-card,.staff-upload,.staff-batch,.staff-staging-adjustment,.studio-support,.batch-photo,.finished-photo-downloads,.album-bulk-download,.batch-treatment-panel,.batch-run-bar,.photo-organizer,.upload-selection,.saved-walkthroughs,.saved-video-card,.wt-panel,.wt-preview,.wt-demo,.wt-card,.wt-presenter,.wt-credit-review){
  background:var(--studio-panel)!important;color:var(--studio-ink)!important;border-color:var(--studio-line)!important;
}
html:root.broker-navy.broker-silver body :is(.batch-photo,.staff-folder-grid>button){border-color:var(--studio-line)!important;box-shadow:0 3px 14px #191a1c06!important}
html:root.broker-navy.broker-silver body :is(.batch-photo-more,.batch-photo-caption,.staff-photo-info,.staff-photo-order,.wt-review-options,.wt-music-list>div,.wt-headshot-upload>span){background:var(--studio-panel)!important;border-color:var(--studio-line)!important}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.wt-app) :is(h1,h2,h3,legend,label,summary){color:var(--studio-ink)!important}
html:root.broker-navy.broker-silver body :is(.batch-photo-filename,.batch-selection-help,.staff-step-help,.staff-order-help,.wt-review-title>span,.wt-review-scenes li>span){color:var(--studio-muted)!important}
html:root.broker-navy.broker-silver body .premium-album-caption{background:var(--studio-panel)!important;color:var(--studio-ink)!important}
html:root.broker-navy.broker-silver body .premium-album-caption small{color:var(--studio-muted)!important}
html:root.broker-navy.broker-silver body .photo-batch-plan:has(>.batch-run-bar)::before{background:var(--studio-canvas)!important}

/* Light tools frame a neutral charcoal photo surface, just like the homepage gallery. */
html:root.broker-navy.broker-silver body [role=dialog].photo-editor{background:var(--studio-canvas)!important;color:var(--studio-ink)!important}
html:root.broker-navy.broker-silver body .photo-editor :is(.photo-editor-head,.photo-editor-actions,.photo-editor-footer){background:var(--studio-canvas)!important;border-color:var(--studio-line)!important}
html:root.broker-navy.broker-silver body .photo-editor :is(.photo-editor-tools,.photo-editor-viewbar,.photo-editor-primary-action,.photo-editor-working,.photo-editor-attention){background:var(--studio-panel)!important;border-color:var(--studio-line)!important}
html:root.broker-navy.broker-silver body :is(.photo-editor-picture,.photo-editor-image-wrap,.staff-photo-preview,.wt-canvas-wrap,.wt-preview-screen,.wt-player,.wt-demo-player){background:#191a1c!important}
html:root.broker-navy.broker-silver body .photo-editor :is(p,label,summary,h2,h3){color:var(--studio-ink)!important;-webkit-text-fill-color:currentColor!important}
html:root.broker-navy.broker-silver body :is(dialog.broker-share-dialog,.property-lines-dialog,.wt-dialog){background:var(--studio-panel)!important;color:var(--studio-ink)!important;border-color:var(--studio-line)!important}
html:root.broker-navy.broker-silver body .photo-quick-menu{background:var(--studio-panel)!important;border-color:var(--studio-line)!important}

/* Keep color and WebKit text fill paired in every control state. */
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor,.wt-app,.wt-dialog,.broker-registration,dialog.broker-share-dialog,.property-lines-dialog,.photo-organizer,.upload-selection) :is(button,select,input:where(:not([type=checkbox]):not([type=radio]):not([type=range])),textarea){
  background:var(--studio-panel)!important;color:var(--studio-ink)!important;-webkit-text-fill-color:currentColor!important;border-color:var(--studio-control-line)!important;
}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor,.wt-app,.wt-dialog,.broker-registration,dialog.broker-share-dialog,.property-lines-dialog,.photo-organizer,.upload-selection) button:not(:disabled):hover{
  background:var(--studio-soft)!important;color:var(--studio-ink)!important;-webkit-text-fill-color:currentColor!important;
}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor,.wt-app,.wt-dialog,.broker-registration,dialog.broker-share-dialog,.property-lines-dialog) :is(button.staff-primary,button.photo-editor-primary,button.wt-primary,button[aria-pressed=true],button[aria-selected=true],button[aria-current=step],button[aria-current=page],button.selected):not(:disabled),
html:root.broker-navy.broker-silver body .broker-registration button[type=submit]:not(:disabled),
html:root.broker-navy.broker-silver body .broker-workflow-tabs a[aria-current=page]{
  background:var(--studio-ink)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:var(--studio-ink)!important;
}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor,.wt-app,.wt-dialog,.broker-registration,dialog.broker-share-dialog,.property-lines-dialog) :is(button.staff-primary,button.photo-editor-primary,button.wt-primary,button[aria-pressed=true],button[aria-selected=true],button[aria-current=step],button[aria-current=page],button.selected):not(:disabled):hover,
html:root.broker-navy.broker-silver body .broker-registration button[type=submit]:not(:disabled):hover,
html:root.broker-navy.broker-silver body .broker-workflow-tabs a[aria-current=page]:hover{
  background:#36383b!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border-color:#36383b!important;
}
html:root.broker-navy.broker-silver body .broker-workflow-tabs a:not([aria-current=page]){background:var(--studio-panel)!important;color:var(--studio-ink)!important;border-color:var(--studio-control-line)!important}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor,.wt-app,.wt-dialog,.broker-registration,dialog.broker-share-dialog,.property-lines-dialog,.photo-organizer,.upload-selection) button :is(span,strong,small,b){color:inherit!important;-webkit-text-fill-color:inherit!important}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor) .enhancement-quick-run{color:var(--studio-muted)!important;-webkit-text-fill-color:currentColor!important}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor,.wt-app,.wt-dialog,dialog.broker-share-dialog,.property-lines-dialog,.photo-organizer,.upload-selection,.broker-registration) :is(button:disabled,input:disabled,select:disabled,textarea:disabled){
  background:var(--studio-disabled)!important;color:var(--studio-muted)!important;-webkit-text-fill-color:currentColor!important;border-color:#b9b5ad!important;opacity:1!important;box-shadow:none!important;cursor:not-allowed;
}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor,.wt-app,.wt-dialog,dialog.broker-share-dialog,.property-lines-dialog,.photo-organizer,.upload-selection,.broker-registration) button:disabled :is(span,strong,small,b){color:inherit!important;-webkit-text-fill-color:inherit!important}
html:root.broker-navy.broker-silver body .enhancement-picker:disabled{opacity:1!important}
/* The progress card stays dark; include its countdown in the light text rule. */
html:root.broker-navy.broker-silver body .staff-shell.broker-darkroom .batch-photo .batch-edit-notice :is(strong,span,small){color:#fff!important;-webkit-text-fill-color:#fff!important}
html:root.broker-navy.broker-silver body :is(.staff-shell.broker-darkroom,.photo-editor,.wt-app) button.danger:not(:disabled){color:#8e2828!important;-webkit-text-fill-color:currentColor!important;border-color:#be8c86!important}
html:root.broker-navy.broker-silver body :is(button,a,input,select,textarea,summary):focus-visible{outline:3px solid #73716d!important;outline-offset:3px}
html:root.broker-navy.broker-silver body :is(input[type=checkbox],input[type=radio],input[type=range]){accent-color:var(--studio-ink)}
@media(forced-colors:active){html:root.broker-navy.broker-silver body :is(button,a,input,select,textarea,summary):focus-visible{outline-color:Highlight!important}}
