@layer layout {
/* FaceX interior pages. Shared document, form, decision and conversation language.
   Craft audit informed by unslop, Damir Sokolovsky, CC BY 4.0. */
body.is-workspace:not([data-view=home]),body.studio-shell {
 --journey-ink:#243d4c;--journey-muted:#566e7f;--journey-line:#dce5eb;--journey-raised:#f4f8fb;--journey-blue:#086abe;
 --ws-page:#f1f3f3;--ws-raised:#edf4f9;--ws-ink:#243d4c;--ws-secondary:#566e7f;--ws-line:#dce5eb;--ws-blue:#086abe;
}
body.is-workspace:not([data-view=home]) main { --ink:var(--journey-ink);--muted:var(--journey-muted);--line:var(--journey-line);--tint:#edf4f9; }
body.is-workspace:is([data-view=record],[data-view=new],[data-view=enrollment-account],[data-view=applications]) main { width:calc(100% - 64px);max-width:1184px;margin:32px auto 64px;padding:0; }
body.is-workspace:not([data-view=home]) main :is(h1,h2,h3) { color:var(--journey-ink); }
body.is-workspace:not([data-view=home]) main :is(h2,h3) { font-weight:500; }
body.is-workspace:not([data-view=home]) main :is(label,legend) { font:500 14px/20px var(--fx-font);color:var(--journey-ink); }
body.is-workspace:not([data-view=home]) main :is(input,textarea,select) { font:400 14px/20px var(--fx-font); }
body.is-workspace:not([data-view=home]) main input::placeholder,body.is-workspace:not([data-view=home]) main textarea::placeholder { color:#748793;font-weight:400; }
body.is-workspace:not([data-view=home]) main .primary { min-height:44px;padding:12px 20px;border:1px solid #086abe;border-radius:8px;background:#086abe;color:#fff;font:500 14px/20px var(--fx-font);box-shadow:none; }
body.is-workspace:not([data-view=home]) main .primary:hover { background:#075ca5;border-color:#075ca5; }
body.is-workspace:not([data-view=home]) main .primary:disabled { background:#e6edf2;border-color:#d8e2e9;color:#718693;opacity:1;cursor:not-allowed; }
body.is-workspace:not([data-view=home]) main :is(a,button,input,textarea,select,summary):focus-visible { outline:2px solid #377ba9;outline-offset:3px; }
body.is-workspace:not([data-view=home]) main .record-nav { display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 24px;min-height:40px; }
body.is-workspace:not([data-view=home]) main .record-nav>a.record-back { margin-right:auto;color:#4d6b7d;font:400 14px/20px var(--fx-font); }
body.is-workspace:not([data-view=home]) main .record-nav>:is(.record-help,.project-film) { min-height:36px;padding:8px 12px;border:1px solid #dce5eb;border-radius:8px;background:#fff;color:var(--ui-muted);font:400 12px/16px var(--fx-font);text-decoration:none; }
/* A single title hierarchy; current responsibility stays beside the project, not inside a form. */
body.is-workspace[data-view=record] main .journey-heading:not(.actor-cover) { display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin:0 0 24px;padding:24px 32px;border:1px solid #dce5eb;border-radius:16px;background:#f8fafc;color:var(--ui-ink); }
body.is-workspace[data-view=record] main .journey-heading:not(.actor-cover) h1 { margin:4px 0 0;color:var(--ui-ink);font:500 30px/36px var(--fx-font);letter-spacing:-.025em;overflow-wrap:anywhere; }
body.is-workspace[data-view=record] main .journey-heading:not(.actor-cover) :is(p,small) { color:var(--ui-muted);font:400 12px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .journey-heading>p { flex-basis:100%;margin:0; }
body.is-workspace[data-view=record] main .journey-heading>h1 { flex:1; }
.journey-meta { display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px;flex-basis:100%;padding-top:16px;border-top:1px solid #dce5eb;color:var(--ui-muted);font:400 12px/20px var(--fx-font); }
.journey-meta>time { margin-left:auto;white-space:nowrap; }
.journey-status { padding:4px 8px;border-radius:6px;background:#e7f0f8;color:#2c6084;font:500 12px/16px var(--fx-font); }
body.is-workspace[data-view=record] main .journey-heading .quote-summary { margin:0;padding:12px 16px;border-radius:8px;background:#edf4f9;color:var(--ui-muted); }
body.is-workspace[data-view=record] main .journey-heading .quote-summary strong { color:var(--ui-action); }
body.is-workspace[data-view=record] main .actor-cover .journey-meta { position:relative;z-index:1;border-color:#ffffff40;color:#f2f7fb; }
body.is-workspace[data-view=record] main .actor-cover .journey-meta .journey-status { background:#ffffffd9;color:#2c6084; }
/* Separate reference information from the work, with consistent panel padding. */
body.is-workspace[data-view=record] main :is(.authorization-layout,.booking-layout,.invitation-layout,.verification-layout,.partner-handling,.partner-tracking,.consent-result,.feedback-layout) { gap:24px;align-items:start; }
body.is-workspace[data-view=record] main :is(.authorization-layout>article,.booking-layout>article,.quote-terms,.booking-basis,.invitation-layout>article,.verification-layout>article,.partner-reference,.partner-terms,.order-wait,.order-scope,.consent-reply,.consent-request,.company-receipt-file,.company-approved,.feedback-letter,.feedback-reply-panel) { padding:24px;border:1px solid #dce5eb;border-radius:16px;background:#fff;color:var(--ui-ink);box-shadow:none; }
body.is-workspace[data-view=record] main :is(.quote-terms,.booking-basis,.partner-reference,.order-scope,.consent-request) { background:#f8fafc; }
body.is-workspace[data-view=record] main :is(.quote-terms,.booking-basis)>summary { margin:0 0 16px;padding:0;min-height:32px;color:var(--ui-ink);font:500 16px/24px var(--fx-font); }
body.is-workspace[data-view=record] main :is(.quote-terms,.booking-basis):not([open])>summary { margin:0; }
body.is-workspace[data-view=record] main :is(.verification-facts,.license-terms) { margin-top:16px; }
body.is-workspace[data-view=record] main .verification-facts>div { gap:16px;padding:12px 0;border-color:#e6edf2; }
body.is-workspace[data-view=record] main .verification-facts dt { color:var(--ui-muted);font:400 12px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .verification-facts dd { color:var(--ui-ink);font:400 14px/20px var(--fx-font);overflow-wrap:anywhere; }
body.is-workspace[data-view=record] main :is(.case-progress,.authorization-layout>article,.booking-layout>article)>h2 { margin:0 0 24px;font:500 20px/28px var(--fx-font); }
body.is-workspace[data-view=record] main :is(.case-progress,.authorization-layout>article,.booking-layout>article)>form { margin:0; }
body.is-workspace[data-view=record] main :is(.quote-amounts,.partner-payment,.partner-transfer) { gap:16px; }
body.is-workspace[data-view=record] main :is(.money-entry,.partner-amount) { border:1px solid #d3dfe7;border-radius:8px;background:#f6f9fb; }
body.is-workspace[data-view=record] main .booking-value { margin:20px 0;padding:20px 24px;border-radius:12px;background:#edf4f9; }
body.is-workspace[data-view=record] main .booking-value dd { margin:8px 0 0;color:var(--ui-action);font:500 36px/40px var(--fx-font);font-variant-numeric:tabular-nums; }
body.is-workspace[data-view=record] main :is(.company-verdict,.film-decisions) { padding:16px;border:1px solid #dce5eb;border-radius:12px;background:#f7fafc; }
body.is-workspace[data-view=record] main :is(.company-verdict,.film-decisions) label:has(input:checked) { border-color:#99bdd7;background:#e7f1fa;color:#235f8b; }
body.is-workspace[data-view=record] main :is(.company-verdict,.film-decisions) label { min-height:44px; }
body.is-workspace[data-view=record] main .audition-direction { padding:24px;border:1px solid #d4e1ea;border-radius:16px;background:#e8f1f8;color:var(--ui-ink); }
body.is-workspace[data-view=record] main .audition-direction :is(h2,p,small) { color:var(--ui-ink); }
body.is-workspace[data-view=record] main :is(.media-field,.revision-media) { border:1px dashed #c3d6e3;border-radius:12px;background:#f4f8fb; }
body.is-workspace[data-view=record] main :is(.media-field,.revision-media) label { color:var(--ui-ink); }
body.is-workspace[data-view=record] main :is(.media-preview video,.film-surface video) { object-fit:contain;background:#142a38; }
body.is-workspace[data-view=record] main .film-delivery { max-width:960px;color:var(--ui-ink); }
body.is-workspace[data-view=record] main .film-delivery>header { margin:0;border-radius:16px 16px 0 0;background:#edf4f9; }
body.is-workspace[data-view=record] main .film-delivery>form { padding:32px;border-color:#dce5eb;border-radius:0 0 16px 16px; }
body.is-workspace[data-view=record] main .film-delivery>header span { color:var(--ui-muted); }
body.is-workspace[data-view=record] main .audition-decision,body.is-workspace[data-view=record] main .screening-review form { background:#fff;border:1px solid #dce5eb; }
body.is-workspace[data-view=record] main .screening-review { border:1px solid #dce5eb;border-radius:16px;overflow:hidden; }
body.is-workspace[data-view=record] main .screening-review .film-decisions { margin:0 0 20px; }
body.is-workspace[data-view=record] main .film-revision-note { border:1px solid #eadfc8;border-radius:16px;background:#fbf7ed;color:#6d5639; }
body.is-workspace[data-view=record] main :is(.event,.order-update) { padding:16px;border:1px solid #e1e8ed;border-radius:12px;background:#fff; }
body.is-workspace[data-view=record] main .event+.event { margin-top:12px; }
body.is-workspace[data-view=record] main :is(.event small,.event time) { color:var(--ui-muted); }
body.is-workspace[data-view=record] main .event-day { margin:24px 0 12px;color:var(--ui-muted);font:400 12px/20px var(--fx-font); }
body.is-workspace[data-view=record] main :is(.revision-profile,.booking-history,.screening-records,.order-history,.audition-desk-log,.partner-log) { margin-top:16px;padding:16px 20px;border:1px solid #dce5eb;border-radius:12px;background:#f8fafc; }
body.is-workspace[data-view=record] main :is(.revision-profile,.booking-history,.screening-records,.order-history,.audition-desk-log,.partner-log)>summary { color:var(--ui-muted);min-height:32px; }
body.is-workspace[data-view=record] main .partner-stages { padding:16px 24px;margin:0 0 24px;border:1px solid #dce5eb;border-radius:12px;background:#fff; }
body.is-workspace[data-view=record] main .partner-stages li { color:#718592;border-color:#dce5eb; }
body.is-workspace[data-view=record] main .partner-stages li[aria-current] { color:var(--ui-action);border-color:#377ba9; }
body.is-workspace[data-view=record] main .partner-reference>div { padding:0 0 16px;background:transparent; }
body.is-workspace[data-view=record] main .partner-reference>details { padding:16px 0 0;border:0;border-top:1px solid #dce5eb;border-radius:0; }
/* Invitations and applications share a usable portrait and a calm form sheet. */
body.is-workspace[data-view=new] main :is(.application-sheet,.partner-brief,.company-application,.feedback-compose) { border:1px solid #dce5eb;border-radius:16px;background:#fff;box-shadow:none;overflow:hidden; }
body.is-workspace[data-view=new] main .casting-application .casting-recipient { padding:24px;min-height:360px;background:#203d50; }
body.is-workspace[data-view=new] main .casting-recipient :is(h2,p,small) { color:#fff; }
body.is-workspace[data-view=new] main .casting-application .application-fields { padding:32px; }
body.is-workspace[data-view=new] main .application-submit { gap:16px;padding:20px 32px;background:#f7fafc;border-color:#e2e9ee; }
body.is-workspace[data-view=new] main :is(.license-fields,.brief-section) { padding:0;margin:0 0 24px;border:0; }
body.is-workspace[data-view=new] main :is(.license-fields,.brief-section)>legend { display:block;width:100%;margin-bottom:20px;padding:0 0 12px;border-bottom:1px solid #e2e9ee;font:500 16px/24px var(--fx-font); }
body.is-workspace[data-view=new] main .partner-application-heading { max-width:none;margin:0 0 24px;padding:0 0 24px;border:0;border-bottom:1px solid #dce5eb; }
body.is-workspace[data-view=new] main :is(.partner-application-heading,.company-heading)>h1 { margin:0 0 12px;font:500 36px/40px var(--fx-font); }
body.is-workspace[data-view=new] main .partner-brief { max-width:none; }
body.is-workspace[data-view=new] main .brief-fields { padding:32px; }
body.is-workspace[data-view=new] main .brief-identity { background:#edf4f9; }
body.is-workspace[data-view=new] main .brief-identity img { filter:none; }
body.is-workspace[data-view=new] main .brief-identity h2 { color:var(--ui-ink); }
body.is-workspace[data-view=new] main .feedback-brief { padding:24px;border:1px solid #d3e1eb;border-radius:16px;background:#e8f1f8;color:var(--ui-ink); }
body.is-workspace[data-view=new] main .feedback-brief :is(small,strong,dt,dd) { color:var(--ui-ink); }
body.is-workspace[data-view=new] main .feedback-brief .verification-facts>div { border-color:#cddde8; }
body.is-workspace[data-view=new] main .feedback-compose { padding:32px; }
body.is-workspace[data-view=new] main .company-enroll { grid-template-columns:minmax(240px,.7fr) minmax(0,1.3fr);gap:24px;max-width:none; }
body.is-workspace[data-view=new] main .company-heading { padding:32px;border-radius:16px;background:#203d50; }
body.is-workspace[data-view=new] main .company-heading :is(h1,p,li) { color:#f0f6fa; }
body.is-workspace[data-view=new] main .company-heading ol { padding-top:24px; }
body.is-workspace[data-view=new] main .company-application .application-fields { padding:32px; }
body.is-workspace[data-view=new] main .profile-application { overflow:visible; }
body.is-workspace[data-view=new] main .profile-application fieldset { border-color:#dce5eb; }
body.is-workspace[data-view=new] main .portrait-framing { border-color:#dce5eb;background:#edf4f9; }
body.is-workspace[data-view=applications] main .applicant-review { display:grid;grid-template-columns:minmax(160px,.7fr) minmax(0,1.6fr) minmax(160px,.65fr);align-items:start;gap:24px;margin-bottom:16px;padding:24px;border:1px solid #dce5eb;border-radius:16px;background:#fff; }
body.is-workspace[data-view=applications] main .applicant-review>header { padding:0; }
body.is-workspace[data-view=applications] main .applicant-material { padding:0; }
body.is-workspace[data-view=applications] main .revision-context { margin:0;padding:16px;border:0;border-radius:12px;background:#f0f5f9;color:var(--ui-ink); }
body.is-workspace[data-view=applications] main .approval-scope { margin:0 0 24px;color:var(--ui-muted); }
/* Sample images have a right-aligned subject; actual uploaded portraits retain their framing. */
body img[src*='/media/preview-demo-actor.jpg'] { object-position:80% 35%!important; }
body.is-workspace:is([data-view=records],[data-view=reviews]) main .record-item { background:#fff; }
body.is-workspace[data-role]:is([data-view=records],[data-view=reviews]) main .record-item:has(.needs-action) { background:#f4f8fc; }
body.is-workspace:is([data-view=records],[data-view=reviews]) main .record-tabs a[aria-current] { background:#e8f1f8;color:var(--ui-action); }
body.is-workspace:is([data-view=records],[data-view=reviews]) main .record-controls :is(input,select) { background:#f7f9fb;border-color:#dce5eb; }
body.is-workspace[data-view=chat] main .conversation>header { padding:20px 24px;border-bottom:1px solid #dce5eb;background:#f7fafc; }
body.is-workspace[data-view=chat] main .chat-project { border-radius:12px;border-color:#dce5eb;background:#edf4f9; }
body.is-workspace[data-view=settings] main .settings-content { border-color:#dce5eb; }
body.is-workspace[data-view=settings] main .contact-entry { border-color:#e4ebf0;background:transparent; }
@media(max-width:900px) {
 body.is-workspace[data-view=applications] main .applicant-review { grid-template-columns:minmax(0,1fr);gap:16px; }
 body.is-workspace[data-view=new] main .company-enroll { grid-template-columns:minmax(0,1fr); }
}
@media(max-width:700px) {
 body.is-workspace:is([data-view=record],[data-view=new],[data-view=enrollment-account],[data-view=applications]) main { width:calc(100% - 32px);margin:20px auto 96px; }
 body.is-workspace[data-view=record] main .journey-heading:not(.actor-cover) { padding:20px;gap:12px; }
 body.is-workspace[data-view=record] main .journey-heading:not(.actor-cover) h1 { font:500 24px/32px var(--fx-font); }
 .journey-meta { gap:8px 12px;padding-top:12px; }
 .journey-meta>time { width:100%;margin-left:0; }
 body.is-workspace[data-view=record] main :is(.authorization-layout>article,.booking-layout>article,.quote-terms,.booking-basis,.invitation-layout>article,.verification-layout>article,.partner-reference,.partner-terms,.order-wait,.order-scope,.consent-reply,.consent-request,.company-receipt-file,.company-approved,.feedback-letter,.feedback-reply-panel) { padding:20px; }
 body.is-workspace[data-view=record] main :is(.authorization-layout,.booking-layout,.invitation-layout,.verification-layout,.partner-handling,.partner-tracking,.consent-result,.feedback-layout) { gap:16px; }
 body.is-workspace[data-view=record] main .film-delivery>form { padding:20px; }
 body.is-workspace[data-view=new] main .casting-application .casting-recipient { min-height:224px;padding:20px; }
 body.is-workspace[data-view=new] main .casting-application .application-fields,body.is-workspace[data-view=new] main .company-application .application-fields,body.is-workspace[data-view=new] main .brief-fields,body.is-workspace[data-view=new] main .feedback-compose { padding:20px; }
 body.is-workspace[data-view=new] main .application-submit { padding:16px 20px; }
 body.is-workspace[data-view=new] main :is(.partner-application-heading,.company-heading)>h1 { font:500 24px/32px var(--fx-font); }
 body.is-workspace[data-view=new] main .company-heading { padding:24px; }
 body.is-workspace[data-view=applications] main .applicant-review { padding:20px; }
}
/* Contrast and framing exceptions for photographic identity panels. */
body.is-workspace:not([data-view=home]) main .dossier-name h2 { color:#fff; }
body.is-workspace[data-view=new] main .enrollment-cover h1 { color:#fff; }
body img[src*='/media/preview-demo-actor.jpg'] { object-position:100% 35%!important; }
body.is-workspace[data-view=record] main .journey-heading .quote-summary dt { color:var(--ui-muted); }
body.is-workspace[data-view=record] main .journey-heading .quote-summary dd { color:var(--ui-action);font:500 24px/32px var(--fx-font); }
body.is-workspace[data-view=record] main .partner-task-heading .partner-project.journey-heading { display:grid;grid-template-columns:80px minmax(0,1fr);gap:12px 24px;align-items:center; }
body.is-workspace[data-view=record] main .partner-task-heading .partner-project.journey-heading>img { grid-column:1;grid-row:1/3;width:80px;height:96px;border-radius:8px;object-fit:cover; }
body.is-workspace[data-view=record] main .partner-task-heading .partner-project.journey-heading>div:not(.journey-meta) { grid-column:2;grid-row:1; }
body.is-workspace[data-view=record] main .partner-task-heading .partner-project.journey-heading>.journey-meta { grid-column:2;grid-row:2;width:100%;min-width:0; }
body.is-workspace[data-view=record] main .partner-task-heading .partner-project.journey-heading>strong { display:none; }
body.is-workspace[data-view=new] main .feedback-heading { margin:0 0 24px;padding:0 0 24px;border:0;border-bottom:1px solid #dce5eb; }
body.is-workspace[data-view=new] main .feedback-heading h1 { margin:0;font:500 36px/40px var(--fx-font); }
@media(max-width:700px) {
 body.is-workspace[data-view=record] main .partner-task-heading .partner-project.journey-heading { grid-template-columns:56px minmax(0,1fr);gap:12px; }
 body.is-workspace[data-view=record] main .partner-task-heading .partner-project.journey-heading>img { width:56px;height:64px;grid-row:1; }
 body.is-workspace[data-view=record] main .partner-task-heading .partner-project.journey-heading>.journey-meta { grid-column:1/-1; }
 body.is-workspace[data-view=new] main .feedback-heading h1 { font:500 24px/32px var(--fx-font); }
}
/* Secondary surfaces keep the same tokens, including when opened as dialogs. */
body.is-workspace :is(#chat-drawer,.brief-review,.reply-editor,.compare-screen) { color:var(--ui-ink);border:1px solid #dce5eb;border-radius:16px;background:#fff;box-shadow:0 24px 64px #142a3826; }
body.is-workspace :is(#chat-drawer,.brief-review,.reply-editor,.compare-screen,.feedback-viewer)::backdrop { background:#142a387a; }
body.is-workspace #chat-drawer .conversation>header { padding:20px 24px;border-bottom:1px solid #dce5eb;background:#f4f8fb;color:var(--ui-ink); }
body.is-workspace #chat-drawer .conversation>header h1 { color:var(--ui-ink);font:500 24px/32px var(--fx-font); }
body.is-workspace #chat-drawer .conversation>header button { border:1px solid #dce5eb;border-radius:8px;background:#fff;color:var(--ui-muted); }
body.is-workspace #chat-drawer form[data-action=chat] { padding:20px;background:#f4f8fb;border-color:#dce5eb; }
body.is-workspace #chat-drawer :is(input,textarea,select),body.is-workspace .reply-editor textarea { border:1px solid #cddde7;border-radius:8px;background:#fff;color:var(--ui-ink);font:400 14px/20px var(--fx-font); }
body.is-workspace #chat-drawer .primary,body.is-workspace .brief-review .primary,body.is-workspace .reply-editor .primary { min-height:44px;padding:12px 20px;border-radius:8px;border:1px solid #086abe;background:#086abe;color:#fff;font:500 14px/20px var(--fx-font); }
body.is-workspace .brief-review { width:min(560px,calc(100% - 32px));padding:24px; }
body.is-workspace .brief-review>header { margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid #dce5eb; }
body.is-workspace :is(.brief-review,.reply-editor,.compare-screen) h2 { color:var(--ui-ink);font:500 24px/32px var(--fx-font); }
body.is-workspace .brief-review dl div { grid-template-columns:112px minmax(0,1fr);padding:12px 0;border-color:#e4ebf0;font:400 14px/20px var(--fx-font); }
body.is-workspace .brief-review :is(dt,.brief-notice) { color:var(--ui-muted); }
body.is-workspace .brief-review footer { padding-top:16px;border-top:1px solid #dce5eb; }
body.is-workspace .compare-screen>header { padding:16px 24px;background:#f4f8fb;color:var(--ui-ink); }
body.is-workspace .compare-screen>video { background:#142a38;object-fit:contain; }
body.is-workspace .feedback-viewer { border-color:#345367;background:#142a38;color:#fff; }
body.account-guide { background:#f1f3f3;color:var(--ui-ink);font:400 16px/24px var(--fx-font); }
body.account-guide>header { background:#f8fafc;border-color:#dce5eb;color:var(--ui-muted); }
body.account-guide main { width:calc(100% - 48px);max-width:880px;margin:40px auto;padding:0 0 40px; }
body.account-guide main>h1 { margin:0 0 32px;color:var(--ui-ink);font:500 36px/40px var(--fx-font); }
body.account-guide main>section { margin:0 0 16px;padding:24px;border:1px solid #dce5eb;border-radius:16px;background:#fff; }
body.account-guide main>section h2 { margin:0 0 16px;color:var(--ui-ink);font:500 20px/28px var(--fx-font); }
body.account-guide main :is(p,dd) { color:var(--ui-muted);font:400 14px/24px var(--fx-font); }
body.account-guide main dt { color:var(--ui-ink);font:500 14px/24px var(--fx-font); }
body.account-guide main a { color:var(--ui-action); }
/* Each entry uses a photograph from its actual role, rather than a repeated camera ornament. */
body.is-entry .entry[data-entry] .reference-auth-visual { display:flex;flex-direction:column;gap:32px;padding:40px;background:#0873d3; }
body.is-entry .reference-auth-copy { position:static;max-width:none; }
body.is-entry .reference-auth-copy h2 { margin:0 0 16px;font:500 36px/40px var(--fx-font);color:#fff; }
body.is-entry .reference-auth-copy p { max-width:32em;font:400 14px/24px var(--fx-font);color:#e8f3fc; }
.auth-scene { position:relative;flex:1;min-height:224px;width:100%;margin:0;border-radius:16px;overflow:hidden;background:#203d50; }
.auth-scene img { position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%; }
.auth-scene figcaption { position:absolute;left:16px;bottom:16px;padding:8px 12px;border:1px solid #ffffff50;border-radius:8px;background:#193544b8;color:#fff;font:400 12px/16px var(--fx-font); }
body.is-entry .reference-process { position:static;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;flex:none;margin:0;padding:0; }
body.is-entry .reference-process li { padding:16px;border:1px solid #ffffff40;border-radius:12px;background:#ffffffed; }
body.is-entry .reference-process li span { color:var(--ui-muted);font:400 12px/16px var(--fx-font); }
body.is-entry .reference-process li strong { color:var(--ui-ink);font:500 14px/20px var(--fx-font); }
@media(max-width:700px) {
 body.is-workspace #chat-drawer { border-radius:16px 16px 0 0; }
 body.is-workspace #chat-drawer .conversation>header,body.is-workspace #chat-drawer form[data-action=chat] { padding:16px; }
 body.is-workspace .brief-review { width:100%;padding:20px;border-radius:16px 16px 0 0; }
 body.account-guide main { width:calc(100% - 32px);margin-top:24px; }
 body.account-guide main>h1 { font:500 30px/36px var(--fx-font);margin-bottom:24px; }
 body.account-guide main>section { padding:20px; }
 body.is-entry .entry[data-entry] .reference-auth-visual { display:none; }
}
body.is-workspace .err .refresh-case { min-height:40px;margin-top:8px;padding:8px 12px;border:1px solid #bcd1e0;border-radius:8px;background:#f3f8fc;color:var(--ui-action);font:500 14px/20px var(--fx-font); }

body.is-workspace:not([data-view=home]) main :is(.dossier-heading>div>p,.dossier-scope,.dossier-dates>div>span,.dossier-reel>figcaption>span,.enrollment-management details>p,.record-brief) { color:var(--ui-muted); }
body.is-workspace:not([data-view=home]) main .dossier-kicker { color:var(--ui-muted); }
body.is-workspace:not([data-view=home]) main .dossier-name .dossier-kicker { color:#d8e9f4; }
body.is-workspace:not([data-view=home]) main :is(.partner-application-heading a,.brief-identity a,.call-help a,.operator-applications~a) { color:var(--ui-action); }
body.is-workspace[data-view=applications] main>a { color:var(--ui-action); }
body.is-workspace[data-view=record] main .screening-note small { color:var(--ui-muted); }
body.is-workspace[data-view=record] main .partner-stages li { color:var(--ui-muted); }
body.is-workspace:is([data-view=records],[data-view=reviews]) main :is(.record-item,.case) em { color:var(--ui-action); }

/* Screening is an operating desk: footage and tools on the left, one decision on the right. */
body.is-workspace[data-view=record] main .review-desk {
 display:grid;grid-template-columns:minmax(0,1.7fr) minmax(340px,1fr);gap:24px;align-items:start;
 padding:0;border:0;border-radius:0;overflow:visible;background:transparent;
}
body.is-workspace[data-view=record] main .review-desk .screening-footage {
 grid-column:auto;grid-row:auto;min-width:0;border:1px solid #263f50;border-radius:16px;background:#142a38;color:#edf4f9;overflow:hidden;
}
body.is-workspace[data-view=record] main .review-desk .review-film { margin:0;border:0;border-radius:0;background:#142a38; }
body.is-workspace[data-view=record] main .review-desk .review-film>figcaption {
 display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:56px;padding:16px 20px;background:#1d3545;border:0;color:#d9e7f0;font:400 12px/20px var(--fx-font);
}
body.is-workspace[data-view=record] main .review-desk .review-film>figcaption strong { color:#f5f9fc;font:500 14px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .review-desk .film-surface { background:#102431; }
body.is-workspace[data-view=record] main .review-desk .film-surface video { display:block;width:100%;height:auto;max-height:56vh;min-height:0;object-fit:contain;background:#102431; }
body.is-workspace[data-view=record] main .review-inspector { min-width:0;border:1px solid #dce5eb;border-radius:16px;background:#fff;overflow:hidden; }
body.is-workspace[data-view=record] main .review-inspector-heading { display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0;padding:20px 24px;border-bottom:1px solid #e5ebf0;background:#f8fafc; }
body.is-workspace[data-view=record] main .review-inspector-heading h2 { margin:0;font:500 20px/28px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector-heading>span { padding:4px 8px;border-radius:6px;background:#e9f1f7;color:var(--ui-muted);font:500 12px/16px var(--fx-font);white-space:nowrap; }
body.is-workspace[data-view=record] main .review-inspector .screening-brief { display:block;margin:0;padding:16px 24px;border:0;border-bottom:1px solid #e5ebf0;border-radius:0;background:#fff;color:var(--ui-ink); }
body.is-workspace[data-view=record] main .review-inspector .screening-note { padding:0;background:transparent;color:var(--ui-ink); }
body.is-workspace[data-view=record] main .review-inspector .screening-note summary { padding:4px 0;min-height:40px;font:500 14px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector .screening-note p { margin:8px 0 12px;color:var(--ui-muted);font:400 14px/24px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector .screening-note small { display:block;color:var(--ui-muted);font:400 12px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector .screening-note+.screening-note { margin-top:16px;padding-top:12px;border-color:#e5ebf0; }
body.is-workspace[data-view=record] main .review-inspector>form { display:grid;gap:24px;margin:0;padding:24px;border:0;border-radius:0;background:#fff; }
body.is-workspace[data-view=record] main .review-inspector .film-decisions { display:grid;gap:12px;margin:0;padding:0;border:0;border-radius:0;background:transparent; }
body.is-workspace[data-view=record] main .review-inspector .film-decisions legend { float:none;display:block;width:100%;margin:0 0 12px;padding:0;font:500 14px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector .film-decisions label {
 display:flex;align-items:start;gap:12px;width:100%;min-height:76px;margin:0;padding:16px;border:1px solid #dce5eb;border-radius:8px;background:#fff;color:var(--ui-ink);cursor:pointer;
}
body.is-workspace[data-view=record] main .review-inspector .film-decisions label:hover { background:#f7fafc;border-color:#b8cddc; }
body.is-workspace[data-view=record] main .review-inspector .film-decisions label:has(input:checked) { background:#eef5fb;border-color:#72a3c7; }
body.is-workspace[data-view=record] main .review-inspector .film-decisions input { appearance:auto;flex:none;width:16px;height:16px;min-height:0;margin:2px 0 0;accent-color:#086abe;box-shadow:none;border:0;background:transparent; }
body.is-workspace[data-view=record] main .review-inspector .film-decisions label>span { display:grid;gap:4px;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:400 14px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector .film-decisions strong { color:var(--ui-ink);font:500 14px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector .film-decisions small { color:var(--ui-muted);font:400 12px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector :is(.review-opinion,.review-point-note) { display:grid;gap:8px;margin:0;font:500 14px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .review-inspector textarea { min-height:112px;resize:vertical;padding:12px;border:1px solid #cbdce7;border-radius:8px;background:#fbfcfd;color:var(--ui-ink); }
body.is-workspace[data-view=record] main .review-inspector :is(input,textarea):focus-visible { outline:2px solid #377ba9;outline-offset:2px; }
body.is-workspace[data-view=record] main .review-submit { display:grid;gap:12px;margin:0;padding-top:20px;border-top:1px solid #e5ebf0;background:transparent; }
body.is-workspace[data-view=record] main .review-submit .primary { width:100%; }
body.is-workspace[data-view=record] main .review-submit p { margin:0;color:var(--ui-muted);font:400 12px/20px var(--fx-font); }

/* One media-control vocabulary across project delivery, auditions and all three portals. */
body.is-workspace main .review-film .film-controls { display:flex;align-items:center;gap:8px;padding:8px 12px;background:#1d3545;border-color:#324d5e;color:#edf4f9; }
body.is-workspace main .review-film .film-controls button { width:40px;min-height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:#fff;box-shadow:none; }
body.is-workspace main .review-film .film-controls button:hover { background:#314f62; }
body.is-workspace main .review-film .film-controls time { color:#e2edf5;font:400 12px/20px var(--fx-font);font-variant-numeric:tabular-nums;white-space:nowrap; }
body.is-workspace main .review-film .film-controls input[type=range] { flex:1;min-width:24px;accent-color:#a7d0ed; }
body.is-workspace main .review-film .film-notes { display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 16px;border:0;border-top:1px solid #324d5e;background:#1d3545; }
body.is-workspace main .review-film .film-notes button,body.is-workspace main .frame-nudges button { display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;border:1px solid #526f82;border-radius:8px;background:transparent;color:#e2edf5;font:400 12px/20px var(--fx-font); }
body.is-workspace main .review-film .film-notes button:hover,body.is-workspace main .frame-nudges button:hover { background:#314f62;border-color:#95b7cd; }
body.is-workspace main .review-film .film-notes button:disabled { opacity:.5;cursor:not-allowed; }
body.is-workspace main .review-film :is(button,.film-controls)[hidden] { display:none; }
body.is-workspace main .review-film .frame-review { border:0;border-top:1px solid #324d5e;border-radius:0;background:#142a38;color:#e2edf5; }
body.is-workspace main .review-film .frame-review>summary { min-height:48px;padding:12px 20px;background:#1d3545;color:#e2edf5;font:500 14px/24px var(--fx-font); }
body.is-workspace main .review-film .frame-body,body.is-workspace main .review-film .frame-nudges { padding:16px;color:#cbdce7; }
body.is-workspace main .review-film .frame-nudges { display:flex;gap:8px; }
body.is-workspace main .screening-footage>.local-audit { margin:0;padding:0;border:0;border-top:1px solid #dce5eb;border-radius:0;background:#fff;color:var(--ui-muted); }
body.is-workspace main .screening-footage>.local-audit>summary { min-height:48px;padding:12px 20px;color:var(--ui-muted);font:400 14px/24px var(--fx-font); }
body.is-workspace main .screening-footage>.local-audit>section { padding:0 20px 20px; }
body.is-workspace main .review-film :is(button,input):focus-visible { outline:2px solid #a7d0ed;outline-offset:2px; }
body.is-workspace main .review-point-note input { min-height:44px;padding:8px 12px;border:1px solid #cbdce7;border-radius:8px;background:#fbfcfd; }
body.is-workspace :is(input,textarea) { caret-color:#086abe; }
body.is-workspace ::selection { color:#183c55;background:#cce5f7; }
@media(max-width:1000px) {
 body.is-workspace[data-view=record] main .review-desk { grid-template-columns:minmax(0,1.3fr) minmax(300px,1fr);gap:16px; }
 body.is-workspace[data-view=record] main .review-inspector>form,body.is-workspace[data-view=record] main .review-inspector .screening-brief { padding:20px; }
}
@media(max-width:760px) {
 body.is-workspace[data-view=record] main .review-desk { grid-template-columns:minmax(0,1fr);gap:16px; }
 body.is-workspace[data-view=record] main .review-desk>* { grid-column:1;grid-row:auto; }
 body.is-workspace[data-view=record] main .review-desk .film-surface video { max-height:48svh; }
 body.is-workspace[data-view=record] main .review-inspector-heading { padding:16px 20px; }
 body.is-workspace main .review-film .film-controls { flex-wrap:wrap;gap:4px;padding:8px; }
 body.is-workspace main .review-film .film-controls input[type=range] { order:5;flex-basis:100%;min-height:24px;margin:0 4px; }
 body.is-workspace main .review-film .film-controls button { width:44px;min-height:44px; }
 body.is-workspace main .review-film .film-controls time { flex:1; }
 body.is-workspace main .review-film .film-notes { padding:12px; }
 body.is-workspace main .review-film .film-notes button { min-height:44px; }
 body.is-workspace[data-view=record] main .review-inspector textarea { font-size:16px; }
}

/* The same functional sheet is used for profile review, consent, payment and delivery. */
body.is-workspace[data-role][data-view=record] main>.journey-heading { width:100%;max-width:none; }
body.is-workspace[data-view=record] main .task-panel { border:1px solid #dce5eb;border-radius:16px;background:#fff;color:var(--ui-ink);box-shadow:none; }
body.is-workspace[data-view=record] main .task-panel>header.journey-heading { width:auto;max-width:none;margin:-32px -32px 24px;padding:24px 32px;border:0;border-bottom:1px solid #dce5eb;border-radius:15px 15px 0 0;background:#f8fafc; }
body.is-workspace[data-view=record] main .task-panel .review-reference { margin:16px 0;padding:16px;border:0;border-radius:8px;background:#f4f8fb;color:var(--ui-muted); }
body.is-workspace[data-view=record] main .review-reference :is(h3,p,small) { color:var(--ui-muted); }
body.is-workspace[data-view=record] main .task-form { display:grid;gap:16px;min-width:0;margin:0; }
body.is-workspace[data-view=record] main .task-form[hidden],body.is-workspace[data-view=record] main .task-form [hidden] { display:none!important; }
body.is-workspace[data-view=record] main .task-form>label { display:grid;gap:8px;margin:0; }
body.is-workspace[data-view=record] main .task-form :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]),textarea,select) { min-width:0;min-height:44px;padding:12px;border:1px solid #cbdce7;border-radius:8px;background:#fbfcfd;color:var(--ui-ink); }
body.is-workspace[data-view=record] main .task-form textarea { resize:vertical; }
body.is-workspace[data-view=record] main .task-form :is(.money-entry,.partner-amount) input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]) { border:0;border-radius:0;background:transparent;box-shadow:none; }
body.is-workspace[data-view=record] main .task-form :is(.money-entry,.partner-amount):focus-within { border-color:#377ba9;outline:2px solid #b7d6eb;outline-offset:2px; }
body.is-workspace[data-view=record] main .task-form :is(.money-entry,.partner-amount)>input:focus-visible { outline:0; }
body.is-workspace[data-view=record] main .task-form .primary { justify-self:start;min-width:144px; }
body.is-workspace[data-view=record] main .task-form :is(.company-verdict,.return-reasons) { display:flex;flex-wrap:wrap;gap:12px;margin:0;padding:0;border:0;border-radius:0;background:transparent; }
body.is-workspace[data-view=record] main .task-form :is(.company-verdict,.return-reasons)>legend { margin-bottom:12px;padding:0; }
body.is-workspace[data-view=record] main .task-form :is(.company-verdict,.return-reasons)>label { display:flex;align-items:center;gap:8px;min-height:44px;margin:0;padding:12px 16px;border:1px solid #dce5eb;border-radius:8px;background:#fff;color:var(--ui-ink);cursor:pointer; }
body.is-workspace[data-view=record] main .task-form :is(input[type=radio],input[type=checkbox]) { accent-color:#086abe; }
body.is-workspace[data-view=record] main .task-form :is(.company-verdict,.return-reasons)>label:has(input:checked) { border-color:#72a3c7;background:#eef5fb; }
body.is-workspace[data-view=record] main .task-panel>details.action { margin:12px 0 0;padding:0;border:1px solid #dce5eb;border-radius:12px;background:#fff; }
body.is-workspace[data-view=record] main .task-panel>details.action>summary { min-height:52px;padding:16px 20px;color:var(--ui-ink);font:500 14px/20px var(--fx-font); }
body.is-workspace[data-view=record] main .task-panel>details.action[open]>summary { border-bottom:1px solid #e5ebf0;background:#f7fafc;border-radius:11px 11px 0 0; }
body.is-workspace[data-view=record] main .task-panel>details.action>form { padding:20px; }
body.is-workspace[data-view=record] main .task-form .err:empty { display:none; }
body.is-workspace[data-view=record] main .return-feedback { padding:16px;border:1px solid #e7d7bb;border-radius:12px;background:#fbf8f2;color:#6d5639; }
body.is-workspace[data-view=record] main .return-feedback :is(h3,p,time) { color:#6d5639; }
body.is-workspace[data-view=record] main .task-form .err:not(:empty) { margin:0;padding:12px 16px;border:1px solid #e7c7bf;border-radius:8px;background:#fff6f3;color:#8b3d2d;font:400 14px/24px var(--fx-font); }
body.is-workspace[data-view=record] main .task-form .file-pick { min-height:44px;border-color:#bdd1e0;border-radius:8px;background:#fff;color:var(--ui-action); }
body.is-workspace[data-view=record] main .task-form .file-pick:focus-within { outline:2px solid #377ba9;outline-offset:2px; }
body.is-workspace[data-view=record] main .review-inspector .task-form { gap:24px; }
body.is-workspace[data-view=record] main .review-inspector .task-form .primary { justify-self:stretch; }
body.is-workspace[data-view=record] main .film-revision { gap:24px; }
body.is-workspace[data-view=record] main .film-revision-note { padding:24px;border-color:#dce5eb;background:#f4f8fb;color:var(--ui-ink); }
body.is-workspace[data-view=record] main .film-revision-note :is(h2,p) { color:var(--ui-ink); }
body.is-workspace[data-view=record] main .film-revision-note .event { padding:16px 0;border:0;border-radius:0;background:transparent; }
body.is-workspace[data-view=record] main .film-revision-send { padding:24px;border:1px solid #dce5eb;border-radius:16px;background:#fff; }
body.is-workspace[data-view=record] main .film-revision-send h2 { margin:0 0 20px;font:500 20px/28px var(--fx-font); }
body.is-workspace[data-view=record] main .film-revision .screening-player { border-radius:16px;overflow:hidden;background:#142a38; }
body.is-workspace[data-view=record] main .enrollment-review { gap:24px; }
body.is-workspace[data-view=record] main .review-subject { overflow:hidden;border:1px solid #dce5eb;border-radius:16px;background:#fff; }
body.is-workspace[data-view=record] main .review-subject .review-portrait { width:100%;max-width:none;margin:0; }
body.is-workspace[data-view=record] main .review-subject .review-portrait img { display:block;width:100%;max-width:none;max-height:480px;object-fit:contain;background:#edf2f5;border-radius:0; }
body.is-workspace[data-view=record] main .review-subject .submitted-bio { padding:24px; }
body.is-workspace[data-view=record] main .review-subject .submitted-bio :is(h2,h3) { margin:0 0 12px;font:500 20px/28px var(--fx-font); }
body.is-workspace[data-view=record] main .review-subject .submitted-bio>p { color:var(--ui-muted);font:400 14px/24px var(--fx-font); }
body.is-workspace[data-view=record] main .review-subject .reel-sample { padding-top:16px;border-top:1px solid #e5ebf0; }
@media(max-width:760px) {
 body.is-workspace[data-view=record] main .journey-heading.film-revision-heading { display:flex; }
 body.is-workspace[data-view=record] main .film-revision-heading h1 { flex-basis:100%; }
 body.is-workspace[data-view=record] main .film-revision-heading .revision-jump { min-height:44px;padding:8px 12px;border:1px solid #bdd1e0;border-radius:8px;background:#fff;color:var(--ui-action);font:500 14px/24px var(--fx-font); }
 body.is-workspace[data-view=record] main .task-panel>header.journey-heading { margin:-24px -24px 20px;padding:20px 24px; }
 body.is-workspace[data-view=record] main .task-form :is(input:not([type=radio]):not([type=checkbox]):not([type=hidden]):not([type=file]),textarea,select) { font-size:16px; }
 body.is-workspace[data-view=record] main .task-form>.primary { width:100%;justify-self:stretch; }
 body.is-workspace[data-view=record] main .film-revision { gap:16px; }
 body.is-workspace[data-view=record] main :is(.film-revision-note,.film-revision-send,.review-subject .submitted-bio) { padding:20px; }
}

/* Independent tools follow the same blue / slate workbench, including opened results and dialogs. */
body.studio-shell { --ink:#243d4c;--muted:#566e7f;--line:#dce5eb;--brand:#086abe; }
body.studio-shell #film-queue { margin:0 0 24px;padding:0 24px;border:1px solid #dce5eb;border-radius:16px;background:#fff;overflow:hidden; }
body.studio-shell #film-queue>header { margin:0 -24px;padding:16px 24px;border-bottom:1px solid #e5ebf0;background:#f8fafc;color:var(--ui-ink); }
body.studio-shell #film-queue h2 { margin:0;color:var(--ui-ink);font:500 20px/28px var(--fx-font); }
body.studio-shell .queue-films>a { min-height:96px;padding:16px 0;border-color:#e5ebf0;color:var(--ui-ink); }
body.studio-shell .queue-films :is(p,small,time),body.studio-shell #film-queue>header>span { color:var(--ui-muted); }
body.studio-shell .queue-films .queue-submission>span { color:var(--ui-muted); }
body.studio-shell .queue-films .queue-action { min-height:40px;padding:8px 12px;border:1px solid #dce5eb;border-radius:8px;background:#f4f8fb;color:var(--ui-action); }
body.studio-shell :is(.audit,.help-box,.sheet-dialog,.reel-dialog) { border-color:#dce5eb;background:#fff;color:var(--ui-ink); }
body.studio-shell :is(.sheet-dialog,.reel-dialog)::backdrop { background:#142a387a; }
body.studio-shell :is(.audit,.help-box,.sheet-dialog,.reel-dialog) :is(h2,h3,strong) { color:var(--ui-ink); }
body.studio-shell :is(.audit p,.film-local-note,.roster-sheet .roster-row p,.match-request,.sheet-brief) { color:var(--ui-muted); }
body.studio-shell :is(.audit,.sheet-dialog,.reel-dialog,.help-box) button { min-height:44px;border-color:#cbdce7;border-radius:8px;background:#f7fafc;color:var(--ui-ink);font:400 14px/20px var(--fx-font); }
body.studio-shell :is(.audit .frame-reviewed[aria-pressed=true],.ai-frame[aria-current]) { border-color:#72a3c7;background:#eef5fb;color:var(--ui-action); }
body.studio-shell .studio-player video { background:#142a38; }
body.studio-shell .studio-player .film-controls { display:flex;align-items:center;gap:8px;padding:8px 12px;background:#1d3545;color:#edf4f9; }
body.studio-shell .studio-player .film-controls[hidden] { display:none; }
body.studio-shell .studio-player .film-controls button { width:40px;min-height:40px;padding:8px;border:0;border-radius:8px;background:transparent;color:#fff; }
body.studio-shell .studio-player .film-controls button:hover { background:#314f62; }
body.studio-shell .studio-player .film-controls input { accent-color:#a7d0ed; }
body.studio-shell .studio-player .film-controls time { color:#e2edf5;font:400 12px/20px var(--fx-font);font-variant-numeric:tabular-nums; }
body.studio-shell .studio-player #film-cues { border-color:#324d5e;background:#1d3545;color:#e2edf5; }
body.studio-shell :is(.file,.primary,.sheet-dialog .sheet-invite,.sheet-dialog #save-sheet) { min-height:44px;border-color:#086abe;background:#086abe;color:#fff; }
body.studio-shell :is(input[type=checkbox],input[type=radio],input[type=range]) { accent-color:#086abe; }
body.studio-shell :is(a,button,input,textarea,summary):focus-visible,body.studio-shell .file:focus-within { outline:2px solid #377ba9;outline-offset:3px; }
body.studio-shell .sheet-dialog .sheet-heading { border-color:#dce5eb;background:#fff; }
body.studio-shell .sheet-dialog :is(.sheet-row,#auditions) { border-color:#e5ebf0;background:#fff; }
body.is-workspace main .dossier-dates>span { color:#607786; }
/* A disabled task is visibly unavailable, even inside older, more specific form panels. */
body.is-workspace[data-role][data-view] main button.primary:disabled,
body.studio-shell[data-role] main button.primary:disabled {
 border-color:#d8e2e9;background:#e6edf2;color:#607380;box-shadow:none;opacity:1;cursor:not-allowed;
}
/* Legacy photographic headings now sit on paper; their text follows that surface. */
body.is-workspace[data-view=record] main .invitation-cover.journey-heading span { color:var(--ui-muted); }
body.is-workspace[data-view=record] main .invitation-cover.journey-heading .journey-status { color:#2c6084; }
body.is-workspace[data-role][data-view=animation] main .character-cover p { color:var(--ui-muted); }
body.is-workspace[data-role]:is([data-view=stars],[data-view=animation]) main :is(.partner-use-picker,.photo-credit) a:not([aria-current]),
body.is-workspace[data-role][data-view=performer] main .cast-actions footer a+a { color:var(--ui-action); }
body.is-workspace[data-role=buyer][data-view=home] main :is(.explore-heading>p,.partner-subjects,.partner-kicker,.company-entry div span),
body.is-workspace[data-role=buyer][data-view=home] main .director-explore .reference-tools a:last-child small { color:var(--ui-muted); }
body.is-workspace[data-role=buyer][data-view=home] main .home-project-summary .section-head>a { color:var(--ui-action); }
body.is-workspace[data-role=talent][data-view=home] main .talent-task-list .actor-call :is(.call-deadline,p) { color:var(--ui-muted); }
body.is-workspace[data-role=ops][data-view=home] main :is(.ops-queue-switch b,.ops-account-review small,.ops-account-review>i) { color:var(--ui-muted); }
body.is-workspace main .dossier-dates>span,body.studio-shell .brief-count { color:var(--ui-muted); }
body.is-workspace[data-role=buyer][data-view=home] main .partner-entry .partner-kicker { color:var(--ui-muted); }
body.is-workspace[data-role=ops][data-view=home] main :is(.ops-scene-project-top,.ops-scene-project-bottom) { color:#334e60; }
body.is-workspace[data-role=talent] main .restore-card p,
body.is-workspace[data-role=buyer][data-view=home] main .saved-person small { color:var(--ui-muted); }
body.is-workspace[data-role=buyer][data-view=home] main .saved-person>a:last-child { color:var(--ui-action); }
body.is-workspace[data-view=new] main .profile-application { padding:24px;border:1px solid #dce5eb;border-radius:16px;background:#fff;box-shadow:none; }
body.is-workspace main .interest-types button { border-color:#cbdce7;border-radius:8px;background:#fff;color:var(--ui-action); }
body.is-workspace main .interest-types button:hover,body.is-workspace main .interest-types button:focus-visible { background:#eef5fb; }
body.is-workspace main .interest-types button[aria-pressed=true] { border-color:#086abe;background:#086abe;color:#fff; }
@media(max-width:700px) {
 body.is-workspace[data-view=new] main .enrollment-cover h1 { color:var(--ui-ink); }
 body.is-workspace[data-view=new] main .profile-application { padding:20px; }
}
@media(max-width:1099px) {
 body.is-workspace[data-role=talent][data-view=home] main .talent-hero.has-tasks { margin-bottom:24px;border-radius:16px;background:#2c6696; }
 body.is-workspace[data-role=talent][data-view=home] main .talent-hero.has-tasks>.talent-hero-image { display:block!important;height:clamp(176px,28vw,280px);object-fit:cover;object-position:right 30%; }
 body.is-workspace[data-role=talent][data-view=home] main .talent-hero.has-tasks>.talent-hero-copy { padding:20px;background:#2c6696; }
 body.is-workspace[data-role=talent][data-view=home] main .talent-hero.has-tasks .talent-eyebrow { color:#e2edf6; }
 body.is-workspace[data-role=talent][data-view=home] main .talent-hero.has-tasks h1 { max-width:none;color:#fff;font:500 28px/36px var(--fx-font); }
 body.is-workspace[data-role=talent][data-view=home] main .talent-hero.has-tasks h1>br { display:block; }
 body.is-workspace[data-role=talent][data-view=home] main .talent-hero.has-tasks>.talent-hero-overview { display:block;padding:0 16px 16px; }
}
@media(max-width:700px) {
 body.studio-shell #film-queue { padding-inline:16px; }
 body.studio-shell #film-queue>header { margin-inline:-16px;padding:16px; }
 body.studio-shell :is(input:not([type=checkbox]):not([type=radio]),textarea,select) { font-size:16px; }
 body.studio-shell .studio-player .film-controls { flex-wrap:wrap;gap:4px;padding:8px; }
 body.studio-shell .studio-player .film-controls input { order:5;flex-basis:100%;min-height:24px;margin:0 4px; }
 body.studio-shell .studio-player .film-controls button { width:44px;min-height:44px; }
 body.studio-shell .studio-player .film-controls time { flex:1; }
}

/* Collaboration directory, application and project ledger. */
body.is-workspace[data-role]:is([data-view=stars],[data-view=animation])>.bar nav>a[data-section][aria-current],
body.is-workspace main :is(.casting-section-nav,.partner-use-picker) a[aria-current],
body.is-workspace.public-directory>.directory-mast nav>a[aria-current],
body.is-workspace main .directory-controls .compact-use select {
  background:#243d4c;color:#fff;border-color:#243d4c;box-shadow:none;
}
body.is-workspace.public-directory>.directory-mast nav>a[aria-current] { padding-inline:16px;border-radius:999px; }
body.is-workspace main .star-directory .partner-use-picker a:not([aria-current]) {
  color:#38566a;border-color:transparent;background:#e8eff4;
}
body.is-workspace main .star-directory .partner-use-picker a:not([aria-current]):hover { background:#dce8f1; }
body.is-workspace main .star-directory>header.star-cover {
  display:flex;align-items:end;min-height:232px;padding:clamp(24px,4vw,48px);
  border:0;border-radius:20px;overflow:hidden;
  background:
    linear-gradient(90deg,#193544 32%,#193544df 48%,#19354426 79%),
    url(/img/dressing-room.jpg) right 8% / 68% auto no-repeat #193544;
}
body.is-workspace main .star-directory>header.star-cover h1 {
  margin:0;color:white;font:500 clamp(32px,4vw,52px)/1.12 var(--fx-font);
}
body.is-workspace main .star-directory>header.star-cover p {
  max-width:27em;margin:14px 0 0;color:#edf5fb;font:400 14px/24px var(--fx-font);
}
body.is-workspace main .star-directory:not(.character-directory) .star-grid { align-items:stretch; }
body.is-workspace main .star-directory:not(.character-directory) .directory-subject .star-profile { height:100%; }
body.is-workspace main .star-directory:not(.character-directory) .directory-subject .star-profile img { border-radius:0; }
body.is-workspace main .star-directory:not(.character-directory) .star-profile img[src$="tony-leung.jpg"] { object-position:50% 27%; }
body.is-workspace main .star-directory:not(.character-directory) .star-profile img[src$="maggie-cheung.jpg"] { object-position:50% 29%; }
body.is-workspace main .star-directory:not(.character-directory) .star-profile img[src$="andy-lau.jpg"] { object-position:50% 22%; }

body.is-workspace[data-view=new] main:has(.partner-brief) { max-width:1280px; }
body.is-workspace[data-view=new] main .partner-brief {
  grid-template-columns:minmax(200px,.7fr) minmax(0,2.6fr);gap:clamp(20px,3vw,40px);
  padding:clamp(20px,3vw,36px);border:0;background:#fff;
}
body.is-workspace[data-view=new] main .brief-fields { padding:4px 0 24px;gap:24px; }
body.is-workspace[data-view=new] main .partner-brief .brief-section { gap:18px 20px;margin:0; }
body.is-workspace[data-view=new] main .partner-brief .brief-section>legend {
  padding:0;border:0;margin:0 0 16px;font:500 18px/24px var(--fx-font);
}
body.is-workspace[data-view=new] main .partner-brief .brief-fields label:not([hidden]) {
  display:grid;align-content:start;gap:8px;margin-block:0;
}
body.is-workspace[data-view=new] main .partner-brief .scope-choice label+label:not([hidden]) { margin-top:10px; }
body.is-workspace[data-view=new] main#main .partner-brief .brief-fields :is(input:not([type=hidden]),select,textarea) {
  width:100%;min-width:0;min-height:52px;padding:13px 15px;border:0;border-radius:10px;
  background:#edf3f7;color:var(--ui-ink);box-shadow:none;font:400 16px/24px var(--fx-font);
}
body.is-workspace[data-view=new] main#main .partner-brief .brief-fields select:not([multiple]) {
  appearance:none;padding-inline-end:38px;
  background-image:linear-gradient(45deg,transparent 50%,#526f81 50%),linear-gradient(135deg,#526f81 50%,transparent 50%);
  background-size:5px 5px;background-position:right 19px center,right 14px center;background-repeat:no-repeat;
}
body.is-workspace[data-view=new] main .partner-brief .brief-fields textarea { min-height:92px;resize:vertical; }
body.is-workspace[data-view=new] main .partner-brief :is(.brief-schedule,.creative-note) {
  border:0;border-radius:10px;background:#f2f6f9;padding:0 14px;
}
body.is-workspace[data-view=new] main .partner-brief .brief-options summary {
  color:#38566a;font:500 14px/20px var(--fx-font);
}
body.is-workspace[data-view=new] main .partner-brief .brief-options details[open] { padding-bottom:12px; }
body.is-workspace[data-view=new] main .partner-brief .application-submit {
  border:0;border-radius:10px;padding:16px;background:#f2f6f9;
}
body.is-workspace[data-view=new] main .partner-brief .application-submit .primary { min-height:48px; }

body.is-workspace[data-role=buyer][data-view=records] main .record-content {
  --ledger-widths:minmax(0,1.6fr) minmax(0,.95fr) minmax(0,.94fr);
}
body.is-workspace[data-role=buyer][data-view=records] main .record-content .record-columns {
  padding-block:14px;background:#f0f5f8;border:0;border-radius:10px;color:#435e70;
}
body.is-workspace[data-role=buyer][data-view=records] main .record-content .records-day { padding-top:20px; }
body.is-workspace[data-role=buyer][data-view=records] main .record-content .records-day>h2 {
  color:#435e70;font:500 14px/20px var(--fx-font);margin:0 0 4px;
}
body.is-workspace[data-role=buyer][data-view=records] main .record-content .record-item {
  min-height:106px;margin:0 0 8px;padding:16px 18px;row-gap:4px;
  border:0;border-radius:12px;background:#f7fafc;
}
body.is-workspace[data-role=buyer][data-view=records] main .record-content .record-item:hover,
body.is-workspace[data-role=buyer][data-view=records] main .record-content .record-item:focus-visible { background:#e8f1f8; }
body.is-workspace[data-role=buyer][data-view=records] main .record-item>b {
  font:500 18px/26px var(--fx-font);color:var(--ui-ink);overflow-wrap:anywhere;
}
body.is-workspace[data-role=buyer][data-view=records] main .record-item :is(.record-credit,.record-meta small,.record-latest) { color:#4b6577; }
body.is-workspace[data-role=buyer][data-view=records] main .record-item :is(.record-owner:not(.needs-action),.record-amount) { color:var(--ui-ink); }
body.is-workspace[data-role=buyer][data-view=records] main .record-item .record-latest time { font-family:var(--fx-font);font-variant-numeric:tabular-nums; }
body.is-workspace[data-role=buyer][data-view=records] main .record-item>.record-portrait { object-position:center;border-radius:8px; }
@media(min-width:960px) {
  body.is-workspace[data-role=buyer][data-view=records] main .record-columns { padding-inline:18px; }
  body.is-workspace[data-role=buyer][data-view=records] main .record-content .record-item { column-gap:14px; }
  body.is-workspace[data-role=buyer][data-view=records] main .record-item:has(.record-portrait)>:is(.record-meta,b,.record-credit) { padding-inline-start:68px; }
  body.is-workspace[data-role=buyer][data-view=records] main .record-item>.record-portrait { width:54px;height:68px; }
}
@media(max-width:760px) {
  body.is-workspace main .star-directory>header.star-cover {
    min-height:180px;border-radius:16px;
    background-size:100% 100%,100% auto;background-position:center,right 12%;
  }
  body.is-workspace main .star-directory>header.star-cover p { max-width:21em; }
  body.is-workspace[data-view=new] main .partner-brief { grid-template-columns:minmax(0,1fr);padding:16px; }
  body.is-workspace[data-view=new] main .partner-brief .brief-section { grid-template-columns:minmax(0,1fr); }
  body.is-workspace[data-view=new] main .partner-brief .application-submit { position:static; }
}
@media(max-width:700px) {
  body.is-workspace[data-role=buyer][data-view=records] main .record-content .record-item {
    min-height:0;padding:13px;grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"meta meta" "title title" "credit credit" "owner amount" "latest latest";
  }
  body.is-workspace[data-role=buyer][data-view=records] main .record-content .record-item:has(.record-portrait) {
    grid-template-columns:44px minmax(0,1fr) auto;
    grid-template-areas:"portrait meta meta" "portrait title title" "portrait credit credit" "owner owner amount" "latest latest latest";
  }
  body.is-workspace[data-role=buyer][data-view=records] main .record-item>.record-portrait { width:44px;height:56px; }
  body.is-workspace[data-role=buyer][data-view=records] main .record-item .record-latest { grid-area:latest; }
  body.is-workspace[data-role=buyer][data-view=records] main .record-item .record-owner {
    max-width:none;text-align:left;text-wrap:wrap;justify-self:start;font-size:12px;
  }
  body.is-workspace[data-role=buyer][data-view=records] main .record-item .record-amount { font-size:12px; }
}
@media(max-width:480px) {
  body.is-workspace[data-view=new] main .partner-brief .brief-options { grid-template-columns:1fr;gap:8px; }
}

/* Help overlays keep the page underneath in context. */
body.is-workspace #chat-drawer {
  box-sizing:border-box;inset:0 0 0 auto;margin:0;width:min(520px,100%);height:100dvh;
  max-height:none;padding:0;border:0;border-radius:0;background:#fff;
  box-shadow:-16px 0 48px #142a3824;
}
#chat-drawer[open] { animation:chat-enter 190ms ease-out; }
@keyframes chat-enter { from { transform:translateX(100%); } to { transform:translateX(0); } }
body.is-workspace #chat-drawer::backdrop { background:#142a384a; }
#chat-drawer>.chat-shell {
  display:block;width:100%;max-width:none;height:100%;min-height:0;margin:0;
}
#chat-drawer .conversation { border:0;border-radius:0;box-shadow:none; }
#chat-drawer .chat-identity { margin-inline-end:auto; }
body.is-workspace #chat-drawer #close-chat { min-height:44px;padding-inline:12px;white-space:nowrap; }
#chat-drawer #turns { overscroll-behavior:contain; }
body.is-workspace:has(#chat-drawer[open]),body:has(#workspace-guide[open]) { overflow:hidden; }
@media(prefers-reduced-motion:reduce) { #chat-drawer[open] { animation:none; } }

#workspace-guide {
  box-sizing:border-box;width:min(640px,calc(100% - 32px));max-height:min(760px,calc(100dvh - 32px));
  padding:0;border:0;border-radius:18px;background:#fff;color:var(--ui-ink);box-shadow:0 24px 64px #142a3833;
  font:400 15px/24px var(--fx-font,system-ui);
}
#workspace-guide[open] { display:flex;flex-direction:column;overflow:hidden; }
#workspace-guide::backdrop { background:#142a386c; }
#workspace-guide>header {
  display:flex;justify-content:space-between;align-items:start;gap:16px;padding:22px 24px;
  background:#f1f6fa;border-bottom:1px solid #dce5eb;
}
#workspace-guide>header p { margin:0 0 4px;color:var(--ui-muted);font-size:13px; }
#workspace-guide>header h2 { margin:0;font:500 24px/32px var(--fx-font,system-ui);color:var(--ui-ink); }
#workspace-guide>header button {
  width:44px;height:44px;border:0;border-radius:10px;background:#fff;color:var(--ui-ink);cursor:pointer;font:400 26px/1 system-ui;
}
#workspace-guide .workspace-guide-content { padding:4px 24px 12px;overflow:auto;overscroll-behavior:contain; }
.workspace-guide-content section { padding:18px 0;border-bottom:1px solid #e6edf2; }
.workspace-guide-content section:last-child { border-bottom:0; }
.workspace-guide-content :is(h3,dt) { margin:0;font-weight:600;color:var(--ui-ink); }
.workspace-guide-content :is(p,dl) { margin:8px 0 0;color:#435e70; }
.workspace-guide-content dd { margin:0 0 8px; }
.workspace-guide-content a { display:inline-flex;align-items:center;min-height:44px;color:var(--ui-action); }

/* Actor enrollment follows a single centered sheet with one shared progress bar. */
body.is-workspace[data-role=talent]:has(main>.enrollment-cover) {
  background:#e4eef8;
  background-image:radial-gradient(ellipse at 8% 6%,#bad7f3 0%,transparent 56%);
}
body.is-workspace[data-role=talent][data-view]>main#main:has(>.enrollment-cover) {
  display:block;width:min(940px,calc(100% - 32px));max-width:none;margin:28px auto 72px;
  padding:clamp(18px,4vw,40px);border:0;border-radius:22px;background:#fff;
}
body.is-workspace[data-role=talent] main:has(>.enrollment-cover)>.enrollment-cover {
  position:static;display:flex;align-items:center;justify-content:space-between;gap:16px;
  min-height:0;margin:0;padding:0;overflow:visible;border:0;border-radius:0;background:none;
}
body.is-workspace[data-role=talent] main .enrollment-cover::before { content:none; }
body.is-workspace[data-role=talent] main .enrollment-cover h1 {
  color:var(--ui-ink);font:500 clamp(24px,3.7vw,38px)/1.2 var(--fx-font);
}
body.is-workspace[data-role=talent] main .enrollment-cover a {
  position:static;display:inline-flex;align-items:center;min-height:44px;padding:0;color:var(--ui-action);
  white-space:nowrap;background:none;font-size:14px;
}
body.is-workspace[data-role=talent] main:has(>.enrollment-cover)>.enrollment-steps {
  margin:20px 0 26px;gap:8px;
}
body.is-workspace[data-role=talent] main:has(>.enrollment-cover) .profile-application {
  max-width:none;margin:0;padding:clamp(16px,3vw,28px);border:0;border-radius:14px;background:#f3f7fa;
}
body.is-workspace[data-role=talent] main:has(>.enrollment-cover) .profile-application :is(input:not([type=file]):not([type=hidden]),textarea) {
  background:#fff;border-color:transparent;min-height:48px;
}
body.is-workspace[data-role=talent] main:has(>.enrollment-cover) .profile-application [hidden] { display:none!important; }
@media(max-width:700px) {
  body.is-workspace[data-role=talent][data-view]>main#main:has(>.enrollment-cover) { margin:16px auto 96px;padding:16px; }
  body.is-workspace[data-role=talent] main:has(>.enrollment-cover) .profile-application { padding:14px; }
  body.is-workspace[data-role=talent] main:has(>.enrollment-cover) .profile-application :is(input,textarea) { font-size:16px; }
}

/* Authentication shares one split layout across the three workspaces. */
body.is-entry:has(.portrait-access) { background:#edf2f6; }
body.is-entry main:has(>.portrait-access) { width:min(1180px,calc(100% - 48px));margin:24px auto 48px;padding:0; }
body.is-entry .entry.portrait-access[data-entry] {
  display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:0;min-height:clamp(570px,73svh,730px);
  padding:0;background:#fff;border:0;border-radius:24px;overflow:hidden;box-shadow:0 12px 36px #172f4410;
}
body.is-entry .entry.portrait-access[data-entry] .reference-auth-visual {
  position:relative;isolation:isolate;display:flex;justify-content:end;gap:24px;min-height:0;
  margin:0;padding:clamp(26px,4vw,50px);border-radius:0;background:#174e83;
}
body.is-entry .portrait-access .auth-scene { position:absolute;inset:0;z-index:-2;margin:0;border-radius:0; }
body.is-entry .portrait-access .auth-scene img { object-position:center 30%; }
body.is-entry[data-role=talent] .portrait-access .auth-scene img { object-position:57% 27%; }
body.is-entry .portrait-access .auth-scene figcaption { display:none; }
body.is-entry .portrait-access .reference-auth-visual::after {
  content:"";display:block;position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,#1d5e9926 0%,#17467842 39%,#0b315ae8 79%,#0b315af8 100%);
}
body.is-entry .portrait-access .reference-auth-copy h2 {
  margin:0 0 12px;font:500 clamp(31px,3.7vw,50px)/1.16 var(--fx-font);color:#fff;
}
body.is-entry .portrait-access .reference-auth-copy p { margin:0;color:#edf6ff; }
body.is-entry .portrait-access .reference-process li { border:0;padding:12px;background:#e7f1fb26; }
body.is-entry .portrait-access .reference-process :is(span,strong) { color:white; }
body.is-entry .portrait-access .reference-process span { margin-bottom:5px;color:#bcd9f4; }
body.is-entry .entry.portrait-access[data-entry] .access { padding:clamp(30px,5vw,64px);gap:16px; }
body.is-entry .entry.portrait-access[data-entry] .access-heading { margin-bottom:24px; }
body.is-entry .entry.portrait-access[data-entry] .access-heading h1 {
  color:var(--ui-ink);font:500 clamp(28px,3vw,38px)/1.2 var(--fx-font);
}
body.is-entry .portrait-access form[data-email] :is(input,textarea) {
  padding-inline:14px;border-color:transparent;border-radius:10px;min-height:48px;background:#f0f4f7;
}
body.is-entry .portrait-access form[data-email] :is(input,textarea):focus-visible { outline:2px solid #377ba9;outline-offset:2px; }
body.is-entry .portrait-access .access-button { min-height:48px;border-radius:10px;background:#086abe; }
body.is-entry .portrait-access .demo-access { gap:16px; }
body.is-entry .portrait-access .demo-access p { margin:0;color:var(--ui-muted); }
@media(max-width:700px) {
  body.is-entry main:has(>.portrait-access) { width:calc(100% - 24px);margin:12px auto 24px; }
  body.is-entry .entry.portrait-access[data-entry] { display:block;min-height:0;border-radius:18px; }
  body.is-entry .entry.portrait-access[data-entry] .reference-auth-visual { min-height:174px;margin:0;gap:0;padding:20px; }
  body.is-entry .portrait-access .auth-scene img { object-position:55% 27%; }
  body.is-entry .portrait-access .reference-auth-copy h2 { font-size:26px;line-height:31px; }
  body.is-entry .portrait-access .reference-auth-copy p { max-width:24em;font-size:13px;line-height:20px; }
  body.is-entry .portrait-access .reference-process { display:none; }
  body.is-entry .entry.portrait-access[data-entry] .access { padding:24px 20px 28px; }
  body.is-entry .portrait-access form[data-email] :is(input,textarea) { font-size:16px; }
}
.performer-photos { min-width:0; }
.performer-photos > header { display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px; }
body.is-workspace main .performer-photos > header h2 { margin:0;color:var(--ui-ink);font:600 16px/24px var(--fx-font); }
.performer-photos > header span { color:var(--ui-muted);font:400 13px/20px var(--fx-font); }
.performer-photo-grid { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px; }
.performer-photo-grid:has(> :only-child) { grid-template-columns:minmax(0,230px); }
.performer-photo-tile { display:grid;align-content:start;gap:6px;min-width:0;color:#304f62;text-decoration:none; }
.performer-photo-image { display:block;overflow:hidden;height:clamp(100px,19vw,272px);border-radius:12px;background:#edf2f5; }
body.is-workspace main .performer-photo-image > img { display:block;width:100%;height:100%;min-height:0;max-height:none;object-fit:cover;object-position:center 30%;transition:filter .15s; }
body.is-workspace main [data-performer-photo="fullPhoto"] img { object-fit:contain;object-position:center; }
.performer-photo-label { display:flex;align-items:center;justify-content:space-between;gap:2px;min-height:28px;padding:0 4px;font:500 13px/20px var(--fx-font); }
.performer-photo-label i { font-style:normal;color:#4d6c7d; }
.performer-photo-tile:hover img { filter:brightness(.92); }
.performer-photo-tile:focus-visible { outline:2px solid #0873d3;outline-offset:3px;border-radius:12px; }
body.is-workspace[data-view=performer] main .casting-book article { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);grid-template-rows:auto auto;align-items:start; }
body.is-workspace[data-view=performer] main .casting-book article > .performer-photos { grid-row:1 / span 2;align-self:stretch;padding:clamp(16px,2.4vw,30px);border-right:1px solid #dce5eb;background:#f5f8fa; }
body.is-workspace[data-view=performer] main .performer-facts { gap:8px; }
body.is-workspace[data-view=performer] main .performer-facts>div { padding:10px 12px; }
body.is-workspace main .performer-facts:has(> :nth-child(3):last-child)>div:first-child { grid-column:1/-1; }
body.is-workspace main .review-subject:has(>.performer-photos) { display:block; }
.review-subject > .performer-photos { padding:16px 20px;border-bottom:1px solid #dce5eb;background:#f5f8fa; }
.performer-extra-fields { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-block:12px; }
.performer-extra-fields > .media-field { min-width:0;margin:0; }
.portfolio-update { padding:14px;border:1px solid #dce5eb;border-radius:12px;background:#f6f9fb; }
.portfolio-update .performer-extra-fields { grid-template-columns:minmax(0,1fr); }
.performer-lightbox { width:min(780px,calc(100% - 24px));max-height:calc(100dvh - 24px);margin:auto;padding:0;overflow:hidden;border:0;border-radius:20px;background:#fff;color:var(--ui-ink);box-shadow:0 20px 72px #122a4555; }
.performer-lightbox::backdrop { background:#122331b3; }
.performer-lightbox[open] { display:grid;grid-template-rows:auto minmax(0,1fr) auto; }
.performer-lightbox > :is(header,footer) { display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 16px; }
.performer-lightbox > [hidden] { display:none; }
body.is-workspace main .performer-lightbox h2 { margin:0;font:600 17px/24px var(--fx-font); }
.performer-lightbox [role=status] { margin:0;color:#6a4b31; }
body.is-workspace main .performer-lightbox-image { display:block;width:100%;height:min(70dvh,680px);min-height:0;max-height:100%;object-fit:contain;object-position:center!important;background:#e8eef2; }
body.is-workspace main .performer-lightbox button { display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:10px;background:#ecf2f7;color:var(--ui-ink);font:500 24px/1 var(--fx-font); }
body.is-workspace main .performer-lightbox button:hover { background:#dceaf5; }
@media(max-width:760px) {
 body.is-workspace[data-view=performer] main .casting-book article { grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto; }
 body.is-workspace[data-view=performer] main .casting-book article > .performer-photos { grid-row:auto;border-right:0;border-bottom:1px solid #dce5eb; }
 body.is-workspace[data-view=performer] main .casting-book .cast-actions { grid-column:1; }
 .performer-photo-grid { gap:6px; }
 .performer-photo-image { height:clamp(108px,31vw,200px);border-radius:8px; }
}
@media(max-width:480px) {
 .performer-extra-fields { grid-template-columns:minmax(0,1fr); }
 .performer-lightbox { border-radius:14px; }
}

}