.prototype-bar{justify-content:flex-start}.prototype-bar>.prototype-pages{order:-1;margin-right:auto}.prototype-pages>button:first-child{padding-left:0}
@media(min-width:1500px){.prototype-bar{padding-inline:max(32px,calc((100vw - 1180px)/2))}}
@media(max-width:800px){.prototype-bar{padding-inline:20px}}
@media(max-width:580px){.prototype-bar{padding-inline:18px}}
.theme-switch{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid #ffffff30;border-radius:7px;background:#ffffff0d;flex-shrink:0}
.theme-switch button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:26px;min-height:0;padding:5px;border-radius:4px;color:inherit;opacity:.65}
.theme-switch svg{width:16px;height:16px;flex-shrink:0}
.theme-switch button[aria-pressed=true]{background:#ffffff24;color:inherit;opacity:1}
.theme-switch button:hover{opacity:1}
.theme-switch button:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media(max-width:760px){.prototype-bar{flex-direction:row;flex-wrap:wrap;align-items:center}.prototype-bar>span{flex:1;min-width:0}.prototype-bar>.theme-switch{margin-left:auto}.prototype-bar>.prototype-pages{order:3;flex-basis:100%;margin-right:0}}

html[data-color-theme=dark]{color-scheme:dark;background:#0b1426}
html[data-color-theme=dark] body,html[data-color-theme=dark] body[data-theme]{--bg:#0b1426;--paper:#121f35;--ink:#e4edf9;--muted:#a1b3cd;--line:#2a3d58;--accent:#86b7ff;--soft:#1b2e49;--positive:#7cd8b5;--cast-surface:#17283f;--cast-chrome:#182d46;--cast-border:#2b4363;background:var(--bg);color:var(--ink)}
html[data-color-theme=dark] :is(h1,h2,h3,h4,.brand,.footer-brand,.actor-card strong,.industry-name,.member-menu-label,.field,.actor-facts dd,.profile-meta strong){color:var(--ink)}
html[data-color-theme=dark] :is(p,small,.breadcrumb,.sample-label,.demo-note,.actor-location,.industry-meta,.real-meta,.result-note,.catalog-range,.catalog-page-info,.credit-row>span,.advanced-range label){color:var(--muted)}
html[data-color-theme=dark] :is(.site-header,.site-footer,.directory-search-panel,.directory-shortcuts>button,.public-shortcut,.actor-card,.directory-card,.public-project-card,.industry-person,.industry-list,.industry-bio,.public-production-intro,.public-crew>div,.industry-category-nav>a,.industry-directory-grid>.industry-person,.company-producer-card,.real-person-card,.real-crew-card,.real-credit-list article,.agency-box,.agency-summary,.agency-empty,.filters,.theme-card,.workspace-sidebar,.workspace-main,.role-section,.member-page-nav,.member-card,.member-metrics a,.member-metrics button,.member-dropdown,.archive-card,.advanced-form,.application-form,.real-company-producer,.autocomplete-list,.archive-suggestions,dialog){background:var(--paper);border-color:var(--line);color:var(--ink)}
html[data-color-theme=dark] :is(.prototype-bar,.shortcut-icon,.professional-icon,.skill-tag,.real-record-badge,.member-avatar,.membership-countdown,.member-membership-card,.archive-notice,.archive-status,.filter-chip,.actor-photo-placeholder,.industry-initials,.agency-logo:not(.has-agency-logo),.agency-empty,.cast-project-selector,.cast-section-heading span,.cast-role summary,.cast-empty,.cast-adding-actor,.cast-add-destination){background:var(--soft);border-color:var(--line);color:#b4d2ff}
html[data-color-theme=dark] :is(.button,.cast-icon,.catalog-pagination button,.view-switch,.cast-candidate-controls .cast-text){background:var(--paper);border-color:var(--line);color:var(--ink)}
html[data-color-theme=dark] :is(.button.primary,.cast-launcher,.catalog-pagination button[aria-current=page]){background:#315fa5;border-color:#4b79ba;color:#fff}
html[data-color-theme=dark] :is(.button:hover,.cast-icon:hover,.member-dropdown a:hover,.member-dropdown button:hover,.member-page-nav a:hover,.member-page-nav button:hover,.archive-suggestions [aria-selected=true],.view-switch button[aria-pressed=true]){border-color:#496d9c;color:var(--ink)}
html[data-color-theme=dark] .button.primary:hover{color:#fff}
html[data-color-theme=dark] :is(.field input,.field select,.field textarea,.advanced-form input:not([type=checkbox]),.advanced-form select,.application-form select,.archive-filters input,.archive-filters select,.catalog-toolbar select,.results-tools select,.cast-panel-content input,.cast-panel-content select,.cast-panel-content textarea,#cast-move-dialog select){background:#0f1b2f;border-color:var(--line);color:var(--ink)}
html[data-color-theme=dark] :is(input,textarea)::placeholder{color:#91a4bf;opacity:1}
html[data-color-theme=dark] .advanced-form :is(input:not([type=checkbox]),select):focus{background:#182943;border-color:var(--accent);box-shadow:0 0 0 3px #86b7ff20}
html[data-color-theme=dark] input[type=checkbox]{appearance:none;width:15px;height:15px;min-height:0;padding:0;flex-shrink:0;border:1px solid #5a769a;border-radius:3px;background:#192c46;cursor:pointer;vertical-align:middle}
html[data-color-theme=dark] input[type=checkbox]:checked{background-color:#86b7ff;border-color:#86b7ff;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8 3 3 6-6' fill='none' stroke='%230f1b2f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-size:100% 100%}
html[data-color-theme=dark] input[type=checkbox]:indeterminate{background-color:#86b7ff;border-color:#86b7ff;background-image:linear-gradient(#0f1b2f,#0f1b2f);background-size:8px 2px;background-position:center;background-repeat:no-repeat}
html[data-color-theme=dark] input[type=checkbox]:focus-visible{outline:2px solid #86b7ff;outline-offset:3px}
html[data-color-theme=dark] input[type=checkbox]:disabled{opacity:.45;cursor:not-allowed}
@media(hover:hover){html[data-color-theme=dark] input[type=checkbox]:not(:disabled):hover{border-color:#a8ccff}}
@media(forced-colors:active){html[data-color-theme=dark] input[type=checkbox]{appearance:auto;background:revert;border:revert}}
html[data-color-theme=dark] :is(.main-nav,.member-signed-in .main-nav,.quick-searches,.credit-row,.section.border-top,.cast-panel-footer,.cast-drawer-header,.member-dropdown-heading,.member-signout,.industry-person,.industry-detail .section){border-color:var(--line)}
html[data-color-theme=dark] :is(.quick-searches button,.quick-searches>span,.text-button,.eyebrow,.cast-small,.cast-panel-content small,.member-chevron,.member-dropdown a span,.member-dropdown button span,.archive-actor-links a,.industry-person small,.industry-person span){color:#a9c6ed}
html[data-color-theme=dark] :is(#cast-drawer,.cast-drawer-header,.cast-panel-footer,.cast-role,.cast-project-card,.cast-template-options,.cast-drag-ghost,.cast-candidate .cast-entry-note){background:var(--paper);border-color:var(--line);color:var(--ink)}
html[data-color-theme=dark] :is(.cast-role[open] summary,.cast-role-summary,.cast-project-card:hover,.cast-entry-note:focus,.cast-drop-inside,.archive-actor-links a){}
html[data-color-theme=dark] :is(.membership-countdown.ending,.member-membership-card.ending){background:#342a1b;border-color:#69502c;color:#f2c481}
html[data-color-theme=dark] :is(.membership-countdown.expired,.member-membership-card.expired,.button.danger){background:#38212d;border-color:#714053;color:#ffacbf}
html[data-color-theme=dark] :is(.form-error,.archive-error){color:#ffacbf}
html[data-color-theme=dark] .archive-status.completed{background:#183c37;color:#99e4ca}
html[data-color-theme=dark] .archive-preview{border-color:var(--line);background:var(--paper)}
html[data-color-theme=dark] :is(.autocomplete-list,.archive-suggestions){box-shadow:0 12px 30px #0005}
html[data-color-theme=dark] :is(.company-logo.has-company-logo,.industry-person>.company-logo.has-company-logo,.real-company-summary>.company-logo,.agency-logo.has-agency-logo){background:#fff;border-color:var(--line)}
html[data-color-theme=dark] .directory-drawing{opacity:.85}
html[data-color-theme=dark] :is(main a:not(.button),.public-card-more,.main-nav a[data-advanced-link],.actor-representation .agency-link,.agency-tag,.cast-text){color:var(--accent)}
html[data-color-theme=dark] :is(.actor-card h3 a,.industry-name,.industry-list h3 a,.public-project-card,.industry-person){color:var(--ink)}
html[data-color-theme=dark] :is(.agency-tag,.actor-details-card .card-add,.actor-details-card .public-cast-add,.directory-card .card-add){background:var(--soft);border-color:var(--line);color:#b4d2ff}
html[data-color-theme=dark] :is(.prototype-pages button,.search-group-label,.search-suggestions small,.search-suggestion-message,.search-suggestion-footer,.search-page-result>span,.actor-facts dt){color:var(--muted)}
html[data-color-theme=dark] .prototype-pages button[aria-current=page]{background:var(--soft);color:var(--ink)}
html[data-color-theme=dark] :is(.search-suggestions,.search-suggestions [role=option],.search-page-result){background:var(--paper);border-color:var(--line);color:var(--ink)}
html[data-color-theme=dark] :is(.search-suggestions strong,.search-page-result strong,.public-production-intro dd){color:var(--ink)}
html[data-color-theme=dark] :is(.search-suggestions [role=option]:hover,.search-suggestions [role=option][aria-selected=true],.search-suggestion-footer){border-color:var(--line)}
html[data-color-theme=dark] :is(.real-project-card>img,.public-project-card>img,.real-person-portrait){background:var(--soft)}
html[data-color-theme=dark] .profile-heading .profile-actions .profile-cast-add{background:#315fa5;border-color:#4b79ba;color:white}
html[data-color-theme=dark] .cast-candidate{border-top-color:transparent;background-image:linear-gradient(to right,rgba(134,183,255,0),rgba(134,183,255,.45) 50%,rgba(134,183,255,0));background-size:100% 1px;background-position:center top;background-repeat:no-repeat}
html[data-color-theme=dark] .production-tabs [role=tab]{color:var(--muted)}
html[data-color-theme=dark] .production-tabs [aria-selected=true]{background:#1b3453;border-color:#527cad;color:#b4d2ff}
html[data-color-theme=dark] .production-tabs [aria-selected=true] span{background:#294b73;color:#d7e8ff}
html[data-color-theme=dark] .directory-shortcuts>a.public-shortcut{color:var(--ink)}
html[data-color-theme=dark] .directory-search-panel .hero-search label{background:#20344f;border:1px solid #486386;border-radius:8px;padding:0 14px;transition:background-color .15s ease,border-color .15s ease,box-shadow .15s ease}
html[data-color-theme=dark] .directory-search-panel .hero-search input{background:transparent;color:var(--ink);min-width:0;min-height:46px}
html[data-color-theme=dark] .directory-search-panel .hero-search input::placeholder{color:#b0c3df}
html[data-color-theme=dark] .directory-search-panel .hero-search input:focus-visible{outline:none}
html[data-color-theme=dark] .directory-search-panel .hero-search label:focus-within{background:#253d5c;border-color:#86b7ff;box-shadow:0 0 0 3px #86b7ff20}
html[data-color-theme=dark] .directory-search-panel .hero-search label:focus-within .line-icon{color:#b4d2ff}
@media(hover:hover){html[data-color-theme=dark] .production-tabs [role=tab]:hover{color:#c7dfff}}
html[data-color-theme=dark] :is(a,button,summary){transition:color .15s ease,background-color .15s ease,border-color .15s ease,text-decoration-color .15s ease}
@media(hover:hover) and (pointer:fine){
  html[data-color-theme=dark] .industry-person:hover strong{color:var(--ink)}
  html[data-color-theme=dark] a[href]:not(.button):hover{color:#b4d2ff;text-decoration:none}
  html[data-color-theme=dark] a[href]:not(.button):hover :is(strong,h3,.industry-name){color:inherit}
  html[data-color-theme=dark] a[href]:not(.button):is(.main-nav a,.mobile-navigation a,.brand,.footer-brand,.industry-person,.public-project-card,.real-project-card):hover{text-decoration:none}
  html[data-color-theme=dark] :is(a.industry-person,.public-project-card,.real-project-card,.public-shortcut,.industry-category-nav>a,.company-producer-card,.real-company-producer,.directory-shortcuts>button):hover{border-color:#496d9c}
  html[data-color-theme=dark] :is(.workspace-sidebar button,.workspace-tabs button,.view-switch button,.prototype-pages button,.quick-searches button,.catalog-pagination button):not(:disabled):hover{color:#b4d2ff}
  html[data-color-theme=dark] button:not(:disabled):is(.text-button,.cast-text,.icon-button,.cast-drag-handle,.public-cast-add,.card-add,.mobile-menu,.cast-back):hover{color:#b4d2ff}
  html[data-color-theme=dark] :is(.workspace-sidebar button,.view-switch button,.prototype-pages button,.quick-searches button,.catalog-pagination button):not(:disabled):hover{border-color:#496d9c}
  html[data-color-theme=dark] :is(.cast-role summary,.member-account-menu summary):hover{color:#b4d2ff}
  html[data-color-theme=dark] .cast-project-card:hover{border-color:#496d9c}
  html[data-color-theme=dark] .directory-shortcuts>a.public-shortcut:hover{color:var(--ink);text-decoration:none;border-color:#496d9c}
  html[data-color-theme=dark] .site-header .header-actions .cast-header-trigger:hover{color:#c7dfff;border-color:transparent;text-decoration:none}
  html[data-color-theme=dark] .site-header .member-account-menu summary:hover{color:#c7dfff}
  html[data-color-theme=dark] .site-header .member-account-menu summary:hover :is(.member-menu-label,.member-chevron){color:#c7dfff}
  html[data-color-theme=dark] .cast-launcher:hover,html[data-color-theme=dark] .profile-heading .profile-actions .profile-cast-add:hover{color:white}
}
@media(prefers-reduced-motion:reduce){html[data-color-theme=dark] :is(a,button,summary){transition:none}}
@media print{html[data-color-theme=dark] body{background:white;color:#182b49}}

html[data-color-theme=dark] .member-signed-in .site-header .main-nav{border-top-color:transparent;background-image:linear-gradient(to right,rgba(134,183,255,0),rgba(134,183,255,.45) 50%,rgba(134,183,255,0))}

html[data-color-theme=dark] .member-project-row{border-top-color:transparent;background-image:linear-gradient(to right,rgba(134,183,255,0),rgba(134,183,255,.45) 50%,rgba(134,183,255,0))}

/* Home page separators follow the shared fading divider standard. */
.directory-home{--home-divider:linear-gradient(to right,rgba(82,121,168,0),rgba(82,121,168,.4) 50%,rgba(82,121,168,0))}
html[data-color-theme=dark] .directory-home{--home-divider:linear-gradient(to right,rgba(134,183,255,0),rgba(134,183,255,.45) 50%,rgba(134,183,255,0))}
html .directory-home :is(.quick-searches,.section.border-top,.industry-section,.industry-person){border-top-color:transparent;background-image:var(--home-divider);background-size:100% 1px;background-position:center top;background-repeat:no-repeat}
.directory-home .industry-person:first-of-type{background-image:none}
body:has(.directory-home) .site-footer{border-top-color:transparent;background-image:linear-gradient(to right,rgba(82,121,168,0),rgba(82,121,168,.4) 50%,rgba(82,121,168,0));background-size:100% 1px;background-position:center top;background-repeat:no-repeat}
html[data-color-theme=dark] body:has(.directory-home) .site-footer{border-top-color:transparent;background-image:linear-gradient(to right,rgba(134,183,255,0),rgba(134,183,255,.45) 50%,rgba(134,183,255,0))}
@media(max-width:580px){html .directory-home .directory-shortcuts>button+button{border-top-color:transparent;background-image:var(--home-divider);background-size:100% 1px;background-position:center top;background-repeat:no-repeat}}
