@layer layout {
/* Visual system adapted from the supplied mobile file, Home Page_Avatar.
   Navy #00164e, blue #0094ff, paper #f9fafe; cyan to violet hero.
   This file changes presentation; project, account and media rules stay in place. */
:root {
  --fx-navy: #00164e;
  --fx-blue: #0078d4;
  --fx-blue-hover: #0067bc;
  --fx-cyan: #30c1ff;
  --fx-violet: #7572ff;
  --fx-hero-start: #087aca;
  --fx-hero-mid: #3b6cdf;
  --fx-surface: #f9fafe;
  --fx-border: #e9ecf1;
  --fx-muted: #64718b;
  --fx-ease: cubic-bezier(.22,1,.36,1);
  --fx-font: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  --fx-space-1: 4px;
  --fx-space-2: 8px;
  --fx-space-3: 12px;
  --fx-space-4: 16px;
  --fx-space-6: 24px;
  --fx-space-8: 32px;
  --fx-space-10: 40px;
  --fx-space-12: 48px;
  --fx-space-16: 64px;
  --fx-radius-control: 8px;
  --fx-radius-card: 16px;
  --fx-radius-hero: 24px;
  --ink: var(--fx-navy);
  --bg: var(--fx-surface);
  --paper: #fff;
  --brand: var(--fx-blue);
  --line: var(--fx-border);
  --muted: var(--fx-muted);
  --tint: #eaf5ff;
  --accent: #dff3ff;
  --display: var(--fx-font);
  --serif: var(--fx-font);
  color: var(--ink);
  font: 400 16px/24px var(--fx-font);
  background: var(--bg);
}
body { color: var(--ink); background: var(--bg); font: 400 16px/24px var(--fx-font); }
button, input, textarea, select { font-family: var(--fx-font); }
h1,h2,h3,h4 { font-family: var(--fx-font); letter-spacing: -.025em; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--brand); }
button,a { transition: color 300ms var(--fx-ease), background-color 300ms var(--fx-ease), opacity 300ms var(--fx-ease), transform 300ms var(--fx-ease); }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible { outline: 3px solid #1386df; outline-offset: 3px; }
button:active:not(:disabled) { transform: translateY(1px); }
button:disabled { cursor: default; }
::selection { color: var(--fx-navy); background: #caecff; }
/* Shared type styles. */
.heading-1 { font: 600 60px/60px var(--fx-font); }
.heading-2 { font: 600 48px/48px var(--fx-font); }
.heading-3 { font: 600 36px/40px var(--fx-font); }
.title-1 { font: 500 20px/28px var(--fx-font); }
.body-3 { font: 400 16px/24px var(--fx-font); }
.caption-2 { font: 400 14px/20px var(--fx-font); }
.wordmark,.is-workspace .brand .wordmark { font: 700 30px/36px var(--fx-font); color: var(--fx-navy); letter-spacing: -.065em; }
.bar .brand { font-family: var(--fx-font); }
/* The public homepage translates the mobile banner into a wide working canvas. */
body.casting-home { background: #fff; }
.casting-home .casting-mast { min-height: 96px; gap: 32px; padding-inline: 40px; max-width: 1440px; }
.casting-mast .public-primary-nav { display: flex; align-items: center; gap: 32px; margin-left: 48px; margin-right: auto; }
.public-primary-nav a { font-size: 14px; font-weight: 500; padding: 12px 0; }
.public-primary-nav a:hover { color: var(--brand); }
.casting-mast>div { gap: 24px; font-size: 14px; }
.casting-mast .casting-login { background: var(--fx-blue); border-radius: 8px; padding: 8px 24px; font: 600 14px/20px var(--fx-font); }
.casting-mast .casting-login:hover { background: var(--fx-blue-hover); }
.casting-home main#main { display: grid; grid-template-columns: minmax(0,1fr); max-width: 1440px; gap: 24px; padding: 0 40px 40px; }
.casting-home main .casting-lead { display: flex; align-items: center; min-height: 504px; padding: 48px; border-radius: var(--fx-radius-hero); background: linear-gradient(110deg,var(--fx-hero-start) 0%,var(--fx-hero-mid) 52%,var(--fx-violet) 100%); color: white; }
.casting-home main .casting-lead::before { display: none; }
.casting-lead .casting-lead-copy { position: relative; width: min(64%,680px); z-index: 1; }
.casting-lead h1 { margin: 0; font: 600 60px/1.15 var(--fx-font); letter-spacing: -.035em; color: #fff; }
.casting-lead .casting-summary { margin: 20px 0 32px; font: 400 16px/24px var(--fx-font); color: #fff; }
.casting-lead #home-match { margin: 0; }
.casting-lead #home-match label { margin: 0 0 12px; font: 500 14px/20px var(--fx-font); }
.casting-lead #home-match>div { padding: 8px; gap: 8px; border: 1px solid #ffffff; border-radius: 12px; background: #fff; }
.casting-lead #role-request { padding: 8px 12px; min-height: 40px; font: 400 14px/20px var(--fx-font); }
.casting-lead #home-match button { border-radius: 8px; min-height: 44px; padding: 8px 24px; background: var(--fx-navy); font: 600 14px/20px var(--fx-font); }
.casting-lead #home-match button:hover { background: #122f68; }
.casting-lead .casting-browse { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 12px; }
.casting-lead .casting-browse a { color: #fff; font: 500 14px/20px var(--fx-font); }
.reference-camera { position: absolute; right: 32px; top: 40px; width: 34%; height: calc(100% - 80px); overflow: visible; pointer-events: none; }
.reference-camera::before { content: ""; position: absolute; inset: 5% 10%; background: #ffffff30; border-radius: 9999px; transform: rotate(28deg); }
.casting-home main .reference-camera img,.reference-camera img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; clip-path: inset(3% 5% 3% 5% round 9999px); mix-blend-mode: multiply; filter: grayscale(1) contrast(1.06); transform: rotate(14deg); z-index: 0; }
.casting-home main .casting-partners { display: grid; grid-template: auto / repeat(2,minmax(0,1fr)); gap: 24px; }
.casting-home main .casting-partner { display: flex; align-items: center; min-height: 176px; padding: 32px; color: var(--fx-navy); background: var(--fx-surface); border: 1px solid var(--fx-border); border-radius: 16px; font: 600 24px/32px var(--fx-font); }
.casting-home main .casting-partner::before { display: none; }
.casting-home main .casting-partner>img { position: absolute; inset: 16px 16px 16px auto; width: 34%; height: calc(100% - 32px); object-fit: cover; border-radius: 8px; z-index: 0; }
.casting-home main .casting-partner>div { max-width: 58%; }
.casting-home main .casting-partner small { color: var(--fx-muted); font: 400 14px/20px var(--fx-font); margin-top: 8px; }
.casting-home main .casting-partner i { position: absolute; top: 32px; right: 40%; font: 400 24px/32px var(--fx-font); color: var(--fx-blue); background: none; }
.casting-home main .casting-partner:hover { background: #f0f5ff; }
.casting-home main .casting-partner:hover>img { transform: none; }
/* Account entry: calm white form beside the reference's blue visual. */
body.is-entry { background: #fff; }
body.is-entry>.bar { display: flex; position: static; min-height: 96px; max-width: 1440px; margin: auto; padding: 24px 40px; gap: 16px; border: 0; background: #fff; }
body.is-entry>.bar nav { display: none; }
body.is-entry>.bar strong { padding-left: 16px; border-left: 1px solid var(--line); color: var(--muted); font: 400 14px/20px var(--fx-font); }
body.is-entry>.bar nav,body.is-entry .sidebar-guide { display: none; }
body.is-entry main:has(>.entry),body.is-entry main:has(>.portrait-access) { margin: 0 auto; max-width: 1440px; padding: 0 40px 32px; background: #fff; }
body.is-entry .entry[data-entry] { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); min-height: calc(100svh - 128px); gap: 32px; border: 0; background: #fff; }
body.is-entry .entry[data-entry] .entry-visual { display: flex; position: relative; min-height: 620px; border-radius: 24px; overflow: hidden; background: linear-gradient(125deg,var(--fx-hero-start),var(--fx-hero-mid) 52%,var(--fx-violet)); }
body.is-entry .entry-visual::after { display: none; }
.reference-auth-visual { padding: 48px; flex-direction: column; justify-content: space-between; }
.reference-auth-copy { position: relative; z-index: 1; }
.reference-auth-copy h2 { color: white; font: 600 48px/1.2 var(--fx-font); margin: 0; max-width: 480px; letter-spacing: -.03em; }
.reference-auth-copy p { max-width: 300px; margin: 20px 0 0; font: 400 16px/24px var(--fx-font); color: #fff; }
.reference-auth-visual .reference-camera { top: 200px; right: 32px; width: 50%; height: 270px; }
.reference-process { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; list-style: none; padding: 0; margin: 230px 0 0; }
.reference-process li { min-width: 0; border-radius: 12px; padding: 16px; background: #fff; color: var(--fx-navy); }
.reference-process span { display: block; color: #7c8aab; font: 500 12px/16px var(--fx-font); margin-bottom: 12px; }
.reference-process strong { font: 500 14px/20px var(--fx-font); }
body.is-entry .entry[data-entry] .access { display: flex; flex-direction: column; align-self: center; justify-content: center; gap: 16px; margin: 0; padding: 32px 48px; min-width: 0; background: #fff; }
body.is-entry .entry[data-entry] :is(.access-inner,.entry-utilities) { width: min(100%,420px); max-width: 420px; margin: 0 auto; }
body.is-entry .entry[data-entry] .access-heading { margin: 0 0 32px; padding: 0; border: 0; }
body.is-entry .entry[data-entry] .access-heading h1 { flex-basis: auto; max-width: 100%; padding: 0; min-height: 0; color: var(--fx-navy); background: none; border-radius: 0; font: 600 36px/40px var(--fx-font); letter-spacing: -.03em; }
body.is-entry .entry[data-entry] .access-heading h1::after { content: none; }
.is-entry .access form { margin: 0; }
.is-entry .access form>label,.is-entry .secret-field>header>label { font: 500 14px/20px var(--fx-font); color: var(--fx-navy); }
.is-entry .access form>label { margin-bottom: 24px; }
body.is-entry .access :is(input:not([type=file]),textarea) { min-height: 48px; padding: 12px 16px; border: 1px solid #dce2ed; border-radius: 8px; background: var(--fx-surface); color: var(--ink); font: 400 16px/24px var(--fx-font); box-shadow: none; }
body.is-entry .access input:focus { background: #fff; border-color: var(--fx-blue); }
.is-entry .access .secret-field>header { margin-bottom: 8px; }
.is-entry .access .secret-field>div { border: 1px solid #dce2ed; background: var(--fx-surface); border-radius: 8px; overflow: visible; }
body.is-entry .access .secret-field>div>input { border: 0; background: transparent; }
.is-entry .access .secret-field .reveal { color: var(--fx-muted); font-size: 14px; padding: 8px 12px; background: none; }
.is-entry .forgot-password { color: var(--fx-blue); font: 400 14px/20px var(--fx-font); }
.is-entry .access .access-button { min-height: 48px; width: 100%; border: 0; border-radius: 8px; padding: 12px 16px; background: var(--fx-blue); color: #fff; font: 600 16px/24px var(--fx-font); }
.is-entry .access .access-button:hover { background: var(--fx-blue-hover); }
.is-entry .entry .access-inner>.auth-switch { margin: 16px 0 0; gap: 8px; color: var(--fx-muted); font: 400 14px/20px var(--fx-font); }
.is-entry .entry .access-inner>.auth-switch a { color: var(--fx-blue); }
.is-entry .entry .access-inner>.auth-switch [aria-current] { display: none; }
.is-entry .entry .entry-utilities { padding: 16px 0 0; }
.is-entry .entry[data-entry] .entry-utilities>.identity-direct { min-height: 48px; padding: 12px 16px; border: 1px solid #dce2ed; border-radius: 8px; background: #fff; color: var(--fx-navy); font: 500 14px/20px var(--fx-font); text-decoration: none; }
.is-entry .entry .entry-utilities>.identity-direct:hover { background: var(--fx-surface); border-color: #c1cde3; }
.is-entry .access .access-privacy { width: min(100%,420px); margin: 0 auto; }
.is-entry .access-privacy a { justify-content: center; width: 100%; font: 400 12px/16px var(--fx-font); color: var(--fx-muted); }
.is-entry .access-intro { color: var(--muted); font: 400 14px/20px var(--fx-font); margin-bottom: 24px; }
.is-entry .access .err,.is-entry .field-feedback { color: #b23540; }
.is-entry .access input[aria-invalid=true],.is-entry .secret-field>div:has(input[aria-invalid=true]) { border-color: #b23540; }
/* Workspace identity and shared navigation. */
.workspace-avatar { display: grid; place-content: center; width: 32px; height: 32px; border-radius: 9999px; background: #eaf5ff; color: var(--fx-blue); font: 500 14px/20px var(--fx-font); }
body.is-workspace[data-role] { min-height: 100svh; }
body.is-workspace main { color: var(--ink); }
.is-workspace main h1,.is-workspace .section-head h1,body[data-role=ops] main h1 { font: 600 30px/36px var(--fx-font); letter-spacing: -.025em; }
.is-workspace main h2 { font-family: var(--fx-font); }
.is-workspace main :is(.sheet,.case,.settings-sheet,.settings-security,.record-workspace,.pending-overview,.review-subject) { border-color: var(--line); border-radius: 16px; }
.is-workspace main :is(.primary,.start-audition) { background: var(--fx-blue); border-color: var(--fx-blue); color: #fff; border-radius: 8px; }
.is-workspace main .primary:hover { background: var(--fx-blue-hover); }
.is-workspace main :is(input:not([type=checkbox]):not([type=radio]),textarea,select) { border-color: #dce2ed; background-color: #fff; border-radius: 8px; color: var(--fx-navy); }
.is-workspace main :is(.media-field,.review-materials,.review-reference,.brief-identity,.preferences-nav) { background: var(--fx-surface); border-color: var(--line); }
.is-workspace main .monogram { color: var(--fx-blue); background: #eaf5ff; border-color: #d9edff; font-family: var(--fx-font); }
.is-workspace .bar nav a[data-section][aria-current] { background: #eaf5ff; color: var(--fx-blue); box-shadow: none; }
.is-workspace .bar nav a[data-section]:hover { background: var(--fx-surface); }
.is-workspace main .company-entry { border: 1px solid var(--line); background: #fff; border-radius: 16px; padding: 24px; }
.is-workspace main .company-entry div span { color: var(--muted); }
.is-workspace main .company-entry b { color: var(--fx-blue); font-weight: 500; }
.is-workspace main .blank { background: #fff; border: 1px solid var(--line); border-radius: 16px; color: var(--fx-navy); }
.is-workspace main .blank::before { background-color: #eaf5ff; color: var(--fx-blue); border-color: #eaf5ff; }
.is-workspace main .blank :is(p,small) { color: var(--fx-muted); }
.is-workspace main .blank h2 { font: 500 20px/28px var(--fx-font); }
.is-workspace main :is(.record-sidebar,.record-filters,.preferences-nav,.settings-tabs) a[aria-current] { background: #eaf5ff; color: var(--fx-blue); border-color: #cce5ff; }
.is-workspace main :is(.partner-use-picker,.star-type-picker) a[aria-current] { background: var(--fx-blue); color: white; border-color: var(--fx-blue); }
.is-workspace main .star-bio h2 { font: 600 24px/32px var(--fx-font); }
.is-workspace main .star-profile { background: #fff; border-color: var(--line); border-radius: 16px; overflow: hidden; }
.is-workspace main .directory-subject .star-profile img { border-radius: 12px; }
.is-workspace main .star-action { color: var(--fx-blue); }
.is-workspace main .inbox,.is-workspace main .chat-shell { border-color: var(--line); background: #fff; border-radius: 16px; overflow: hidden; }
.is-workspace main .conversation header { background: #fff; border-color: var(--line); color: var(--fx-navy); }
.is-workspace main :is(.turn.mine,.bubble.mine,.message.mine) { background: #eaf5ff; color: var(--fx-navy); }
/* Actor and operations use the same palette with their existing task order. */
.is-workspace main .actor-cover.actor-intro { background: linear-gradient(110deg,var(--fx-hero-start),var(--fx-hero-mid) 52%,var(--fx-violet)); color: white; border: 0; border-radius: 24px; min-height: 380px; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); }
.is-workspace main .actor-cover.actor-intro>img { grid-column: 2; grid-row: 1; height: 320px; min-height: 0; width: calc(100% - 32px); margin: 24px 32px 24px 0; border-radius: 120px; object-fit: cover; object-position: center; filter: grayscale(1); mix-blend-mode: multiply; }
.is-workspace main .actor-cover.actor-intro>div { grid-column: 1; grid-row: 1; padding: 48px; }
.is-workspace main .actor-cover.actor-intro h1 { color: white; font: 600 48px/1.15 var(--fx-font); }
.is-workspace main .actor-cover.actor-intro p { color: white; font: 400 16px/24px var(--fx-font); max-width: 400px; margin-block: 20px 24px; }
.is-workspace main .actor-cover.actor-intro a { background: #fff; border: 0; color: var(--fx-navy); border-radius: 8px; font: 600 14px/20px var(--fx-font); min-height: 44px; padding: 12px 24px; }
.is-workspace main .actor-profile { border: 1px solid var(--line); border-radius: 16px; background: white; color: var(--fx-navy); }
.is-workspace main .actor-profile :is(h1,h2) { color: var(--fx-navy); font-family: var(--fx-font); }
.is-workspace main .ops-heading { margin: 0 0 24px; }
.is-workspace main .ops-shortcuts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-bottom: 32px; border: 0; }
.is-workspace main .ops-shortcuts a { display: grid; grid-template-columns: 1fr auto; gap: 16px; padding: 24px; min-height: 128px; color: var(--fx-navy); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.is-workspace main .ops-shortcuts a span { font: 500 14px/20px var(--fx-font); color: var(--fx-muted); }
.is-workspace main .ops-shortcuts strong { grid-column: 1; grid-row: 2; font: 500 36px/40px var(--fx-font); }
.is-workspace main .ops-shortcuts i { grid-column: 2; grid-row: 1/3; align-self: center; font: 400 24px/32px var(--fx-font); color: var(--fx-blue); }
.is-workspace main .ops-shortcuts a:hover { border-color: #bddfff; outline: none; background: #f3f9ff; }
.is-workspace main .ops-shortcuts a:focus-visible { outline: 3px solid #1386df; }
.is-workspace main .preferences { gap: 24px; }
.is-workspace main .settings-identity { background: #fff; color: var(--fx-navy); }
.is-workspace main .settings-identity p { color: var(--muted); }
.is-workspace main .settings-tabs [aria-current] { background: #eaf5ff; color: var(--fx-blue); }
/* Standalone tools share the new system; video imagery stays unchanged. */
body:has(>.mast) { background: var(--fx-surface); color: var(--fx-navy); }
body:has(>.mast) .mast { background: #fff; border-color: var(--line); min-height: 80px; padding: 16px 40px; gap: 24px; }
body:has(>.mast) .mast>a:first-child { font: 700 30px/36px var(--fx-font); letter-spacing: -.065em; color: var(--fx-navy); }
body:has(>.mast) :is(h1,h2,h3) { font-family: var(--fx-font); color: var(--fx-navy); }
body:has(>.mast) main { max-width: 1280px; padding: 40px; }
body:has(>.mast) h1 { font-size: 36px; line-height: 40px; }
body:has(>.mast) h2 { font-size: 24px; line-height: 32px; }
body:has(>.mast) main>nav { border-color: var(--line); }
body:has(>.mast) main>nav a[aria-current] { color: var(--fx-blue); border-color: var(--fx-blue); }
body:has(>.mast) .workspace { border-radius: 24px; background: linear-gradient(110deg,var(--fx-hero-start),var(--fx-hero-mid) 52%,var(--fx-violet)); }
body:has(>.mast) .brief { padding: 40px; }
body:has(>.mast) .brief h2 { color: white; }
body:has(>.mast) .brief :is(label,.pool-info,.pool-info a) { color: #fff; }
body:has(>.mast) .brief textarea { color: var(--fx-navy); background: white; border-color: #fff; border-radius: 8px; }
body:has(>.mast) .brief .primary { color: var(--fx-navy); background: white; border-color: white; }
body:has(>.mast) :is(.primary,.file,#compare-sheet:not([hidden]),#save-sheet) { background: var(--fx-blue); color: white; border-color: var(--fx-blue); border-radius: 8px; }
body:has(>.mast) :is(.audit,.help-box,.faq,.result,.film-source,.film-actions) { border-color: var(--line); border-radius: 16px; background: white; color: var(--fx-navy); }
body:has(>.mast) :is(.faq button,.faq summary,.faq h3,.result summary) { color: var(--fx-navy); border-color: var(--line); }
body:has(>.mast) .workspace-links [aria-current] { background: #eaf5ff; color: var(--fx-blue); }
body:has(>.mast) .turn { background: #f3f5fa; color: var(--fx-navy); }
body:has(>.mast) .turn.mine { background: #eaf5ff; }
body:has(>.mast) :is(input,textarea) { color: var(--fx-navy); border-color: #dce2ed; background: #fff; }
body:has(>.mast) .film-intake-prompt :is(h2,p) { color: var(--fx-navy); }
.public-directory .directory-mast { background: #fff; border-color: var(--line); }
.public-directory .directory-mast nav [aria-current] { color: var(--fx-blue); }
.account-guide { background: white; }
.account-guide h1 { font: 600 36px/40px var(--fx-font); }
@media(min-width:1100px) {
  body.is-workspace[data-role] main#main { width: 100%; max-width: 1440px; padding: 24px 40px 40px; margin: 0 auto; }
  body.is-workspace[data-role][data-view=new] main#main { max-width: 1160px; }
  body.is-workspace[data-role] #status:not(:empty) { margin-inline: auto; max-width: 1360px; }
  .is-workspace main .director-projects { display: flex; flex-direction: column; gap: 24px; }
  .director-projects>section { width: 100%; }
}
@media(min-width:701px) and (max-width:1099px) {
  body.is-workspace[data-role]>.bar { padding: 16px 24px; gap: 16px; flex-wrap: wrap; border-bottom: 1px solid var(--line); background: white; }
  body.is-workspace[data-role]>.bar nav { flex: 1; justify-content: flex-end; }
  body.is-workspace[data-role]>.bar nav a { font-size: 14px; }
  body.is-workspace[data-role] main#main { max-width: 1200px; padding: 32px 24px; }
  .casting-home .casting-mast { padding-inline: 24px; }
  .casting-mast .public-primary-nav { margin-left: 0; gap: 20px; }
  .casting-home main#main { padding-inline: 24px; }
  .casting-home main .casting-lead { padding: 32px; min-height: 464px; }
  .casting-lead h1 { font-size: 48px; }
  body.is-entry .entry[data-entry] .access { padding: 24px; }
  .reference-auth-visual { padding: 32px; }
  .reference-auth-copy h2 { font-size: 36px; line-height: 40px; }
  .reference-process { gap: 8px; }
  .reference-process li { padding: 12px; }
  .reference-process strong { font-size: 12px; }
}
@media(max-width:700px) {
  .wordmark { font-size: 24px; line-height: 32px; }
  .casting-home .casting-mast { min-height: 72px; padding: 16px; gap: 12px; }
  .casting-mast .public-primary-nav { display: none; }
  .casting-mast>div { gap: 12px; font-size: 12px; }
  .casting-mast .casting-login { min-height: 40px; padding: 8px 16px; font-size: 12px; }
  .casting-home main#main { padding: 0 16px 24px; gap: 16px; }
  .casting-home main .casting-lead { align-items: flex-start; min-height: 480px; padding: 24px; border-radius: 16px; }
  .casting-lead .casting-lead-copy { width: 100%; }
  .casting-lead h1 { font-size: 36px; line-height: 1.2; max-width: 300px; }
  .casting-lead .casting-summary { font-size: 14px; line-height: 20px; width: 70%; margin: 16px 0 96px; }
  .casting-lead .reference-camera { right: 12px; top: 88px; width: 42%; height: 180px; }
  .casting-lead #home-match label { font-size: 12px; }
  .casting-lead #home-match>div { padding: 4px; gap: 0; }
  .casting-lead #role-request { padding: 8px; font-size: 12px; }
  .casting-lead #home-match button { padding: 8px 12px; font-size: 12px; }
  .casting-lead .casting-browse { gap: 16px; margin-top: 12px; }
  .casting-lead .casting-browse a { font-size: 12px; }
  .casting-home main .casting-partners { gap: 12px; }
  .casting-home main .casting-partner { min-height: 176px; align-items: flex-start; padding: 16px; font-size: 18px; line-height: 28px; border-radius: 12px; }
  .casting-home main .casting-partner>div { max-width: 100%; }
  .casting-home main .casting-partner small { font-size: 12px; line-height: 16px; margin-top: 4px; }
  .casting-home main .casting-partner>img { inset: auto 8px 8px; width: calc(100% - 16px); height: 80px; border-radius: 6px; }
  .casting-home main .casting-partner i { top: 16px; right: 12px; font-size: 18px; line-height: 24px; padding: 0; }
  body.is-entry>.bar { min-height: 72px; padding: 16px 24px; gap: 12px; }
  body.is-entry>.bar .wordmark { font-size: 24px; }
  body.is-entry>.bar strong { font-size: 12px; padding-left: 12px; }
  body.is-entry main:has(>.entry),body.is-entry main:has(>.portrait-access) { padding: 0 24px 24px; }
  body.is-entry .entry[data-entry] { display: block; min-height: 0; }
  body.is-entry .entry[data-entry] .reference-auth-visual { display: none; }
  body.is-entry .entry[data-entry] .entry-visual:not(.reference-auth-visual) { min-height: 160px; max-height: 220px; margin-bottom: 24px; }
  body.is-entry .entry[data-entry] .access { padding: 32px 0 0; gap: 16px; }
  body.is-entry .entry[data-entry] .access-heading { margin-bottom: 32px; }
  body.is-entry .entry[data-entry] .access-heading h1 { font-size: 30px; line-height: 36px; }
  .is-entry .entry .access-inner>.auth-switch { margin-top: 12px; }
  body.is-workspace[data-role]>.bar { background: white; border-color: var(--line); padding: 16px; }
  body.is-workspace[data-role] .bar .wordmark { font-size: 24px; line-height: 28px; }
  body.is-workspace[data-role]>.bar>strong { font: 400 12px/16px var(--fx-font); color: var(--muted); }
  body.is-workspace[data-role]>.bar nav:not(:empty) { background: #fff; border-color: var(--line); }
  body.is-workspace[data-role] main#main { padding: 24px 16px calc(96px + env(safe-area-inset-bottom)); }
  .is-workspace main h1,.is-workspace .section-head h1,body[data-role=ops] main h1 { font-size: 24px; line-height: 32px; }
  .is-workspace main .actor-cover.actor-intro { display: block; min-height: 0; border-radius: 16px; }
  .is-workspace main .actor-cover.actor-intro>img { display: block; width: calc(100% - 32px); height: 160px; margin: 16px 16px 0; border-radius: 12px; }
  .is-workspace main .actor-cover.actor-intro>div { padding: 24px; }
  .is-workspace main .actor-cover.actor-intro h1 { font-size: 30px; line-height: 36px; }
  .is-workspace main .actor-cover.actor-intro p { font-size: 14px; line-height: 20px; }
  .is-workspace main .ops-shortcuts { gap: 8px; margin-bottom: 24px; }
  .is-workspace main .ops-shortcuts a { gap: 12px; min-height: 104px; padding: 16px 12px; border-radius: 12px; }
  .is-workspace main .ops-shortcuts a span { font-size: 12px; line-height: 16px; }
  .is-workspace main .ops-shortcuts strong { font-size: 30px; line-height: 36px; }
  .is-workspace main .ops-shortcuts i { display: none; }
  body:has(>.mast) .mast { padding: 16px; gap: 12px; min-height: 64px; }
  body:has(>.mast) .mast>a:first-child { font-size: 24px; line-height: 28px; }
  body:has(>.mast) main { padding: 24px 16px 96px; }
  body:has(>.mast) h1 { font-size: 30px; line-height: 36px; }
  body:has(>.mast) .brief { padding: 24px; }
  body:has(>.mast) .workspace { border-radius: 16px; }
  body:has(>.mast) .workspace-links { border-color: var(--line); background: #fff; }
  body.support-screen main { padding-bottom: 16px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}


/* Refinements after desktop and account-flow inspection. */
body.is-entry .entry.portrait-access[data-entry] { min-height: calc(100svh - 128px); }
.is-entry .access form[data-email] { gap: 24px; }
.is-entry .access form[data-email]>label { margin-bottom: 0; gap: 8px; }
.is-entry .access .secret-field>header { min-height: 20px; height: auto; margin-bottom: 8px; }
.is-entry .access .secret-field>header .forgot-password { min-height: 20px; padding-block: 0; }
.is-entry .access .err { margin: 0; }
.is-entry .access .err:empty { display: none; }
.is-workspace main>.company-entry { margin: 24px 0 0; }
.reference-tools { margin-top: 24px; }
.reference-tools h2 { font: 500 20px/28px var(--fx-font); margin: 0 0 16px; }
.reference-tools>div { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.is-workspace main .reference-tools a { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 4px 16px; min-height: 104px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: 16px; text-decoration: none; color: var(--fx-navy); }
.reference-tools a img { grid-column: 1; grid-row: 1/3; align-self: center; width: 24px; height: 24px; opacity: .7; }
.reference-tools a strong { font: 500 16px/24px var(--fx-font); }
.reference-tools a small { font: 400 12px/16px var(--fx-font); color: var(--muted); }
.is-workspace main .reference-tools a:hover { background: #f0f7ff; border-color: #c9e4ff; }
.is-workspace .bar nav a[data-section=ai]::before { content: ""; background: currentColor; mask: url("/icons/play.svg") center/contain no-repeat; }
@media(min-width:1100px) {
 body.is-workspace[data-role]>.bar nav>a[data-section=ai]::before { content: ""; background: currentColor; mask: url("/icons/play.svg") center/contain no-repeat; }
}
@media(max-width:700px) {
 body.is-entry .entry.portrait-access[data-entry] { min-height: 0; }
 .reference-tools>div { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .is-workspace main .reference-tools a { padding: 16px; min-height: 80px; border-radius: 12px; }
}
/* Cross-page review: preserve responsive editor visibility and remove legacy tones. */
.is-workspace main .partner-entries { grid-template-rows: auto; }
body.is-workspace[data-role] main .preferences-nav { background: transparent; border: 0; }
body.is-workspace[data-role] main .preferences-nav .settings-identity { display: grid; grid-template-columns: 48px minmax(0,1fr); align-items: center; min-height: 0; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; gap: 12px; }
body.is-workspace[data-role] main .preferences-nav .settings-identity :is(h2,p,a) { color: var(--fx-navy); }
body.is-workspace[data-role] main .preferences-nav .settings-identity h2 { font: 500 20px/28px var(--fx-font); margin: 4px 0; }
body.is-workspace[data-role] main .preferences-nav .settings-identity p { font: 400 12px/16px var(--fx-font); color: var(--muted); }
body.is-workspace[data-role] main .preferences-nav .settings-identity .monogram { width: 48px; height: 48px; border: 0; border-radius: 9999px; background: #eaf5ff; color: var(--fx-blue); font: 500 20px/28px var(--fx-font); }
body.is-workspace[data-role] main .preferences-nav .settings-sections { padding-top: 16px; gap: 8px; }
body.is-workspace[data-role] main .preferences-nav .settings-sections a[aria-current] { color: var(--fx-blue); background: #eaf5ff; border-radius: 8px; }
.is-workspace main .preferences .settings-content { padding: 32px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.is-workspace main .preferences .settings-content>h2 { font: 600 24px/32px var(--fx-font); margin-bottom: 24px; }
.is-workspace main .preferences .settings-sheet form>label { font: 500 14px/20px var(--fx-font); }
.is-workspace main .preferences .settings-sheet input { min-height: 48px; padding: 12px 16px; }
.is-workspace main .preferences .settings-sheet .primary { min-height: 44px; padding: 8px 16px; }
.is-workspace main .preferences .primary:disabled { background: #e9eef7; color: #61708b; border-color: #e9eef7; }
.is-workspace main .preferences .password-settings summary svg { background: #eaf5ff; color: var(--fx-blue); }
.is-workspace main .preferences .contact-directory h3 { background: #f3f7fe; color: var(--fx-navy); }
.is-workspace main .directory-subject .star-bio { background: white; }
.is-workspace main .directory-subject .star-profile { border: 1px solid var(--line); border-radius: 16px; }
.is-workspace main .directory-subject .star-bio h2 small { display: block; margin-top: 4px; font: 400 14px/20px var(--fx-font); color: var(--fx-muted); }
.is-workspace main :is(.first-records,.first-zones a) { border-radius: 16px; overflow: hidden; }
body.is-entry .entry[data-entry].portrait-access .access-heading h1 { color: var(--fx-navy); }
body:has(>.mast) .roster-search.workspace { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0; }
body:has(>.mast) .roster-search .brief { padding: 24px; }
body:has(>.mast) .roster-search .brief :is(label,h2) { color: var(--fx-navy); }
body:has(>.mast) .roster-search .brief textarea { border: 1px solid #dce2ed; background: var(--fx-surface); }
body:has(>.mast) .roster-search .brief .primary { background: var(--fx-blue); color: white; border-color: var(--fx-blue); }
body:has(>.mast) .casting-empty { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: white; }
body:has(>.mast) .casting-empty img { border-radius: 8px; }
body:has(>.mast) .casting-empty h2 { font: 500 24px/32px var(--fx-font); }
body:has(>.mast) .casting-empty p { color: var(--muted); font: 400 14px/20px var(--fx-font); }
body:has(>.mast) #film .film-layout:has(.audit[hidden]) { background: #fff; border-color: var(--line); border-radius: 16px; }
body:has(>.mast) .film-source .film-intake h2 { color: white; }
body:has(>.mast) .film-actions #use-scene { background: white; color: var(--fx-navy); border-color: #dce2ed; border-radius: 8px; }
body:has(>.mast) .mast .workspace-links a { color: var(--fx-navy); }
body:has(>.mast) .mast .workspace-links a[aria-current] { color: var(--fx-blue); }
@media(min-width:1100px) {
 body:has(>.mast) main { width: 100%; max-width: 1440px; margin: 0 auto; padding: 24px 40px 40px; }
 body:has(>.mast) h1 { font: 600 30px/36px var(--fx-font); }
}
@media(max-width:700px) {
 .casting-lead .casting-summary { width: 56%; }
 body.is-workspace[data-role] main .preferences-nav .settings-identity { padding: 16px; }
 .is-workspace main .preferences .settings-content { padding: 20px 16px; }
 body:has(>.mast) .casting-empty { padding: 16px; gap: 16px; }
 body:has(>.mast) .casting-empty h2 { font: 500 20px/28px var(--fx-font); }
 body:has(>.mast) .roster-search .brief { padding: 16px; }
}

body:has(>.mast) .roster-search #brief { border: 1px solid #dce2ed; border-radius: 8px; padding: 12px; font: 400 16px/24px var(--fx-font); }
body:has(>.mast) main>nav a:not([aria-current]) { color: var(--fx-muted); }
body:has(>.mast) .mast .workspace-links b { font-size: 0; background: currentColor; mask: url("/icons/play.svg") center/contain no-repeat; }
/* Final review of the enrollment poster and customer-service overlay. */
body.is-workspace main .enrollment-cover { border-radius: 16px; }
body.is-workspace main .enrollment-cover h1 { max-width: 320px; font: 600 36px/40px var(--fx-font); letter-spacing: -.03em; }
#chat-drawer[open] { width: min(480px,100%); height: 100dvh; max-height: 100dvh; padding: 24px; color: var(--fx-navy); background: var(--fx-surface); }
#chat-drawer .chat-shell { height: 100%; min-height: 0; }
#chat-drawer .conversation { display: flex; flex-direction: column; height: 100%; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
#chat-drawer .conversation>header { flex: none; padding: 16px; background: #fff; border-bottom: 1px solid var(--line); gap: 12px; }
#chat-drawer .chat-identity { padding: 0; border: 0; }
#chat-drawer .chat-identity h1 { color: var(--fx-navy); font: 600 20px/28px var(--fx-font); }
#chat-drawer #turns { flex: 1; min-height: 0; overflow: auto; padding: 24px 16px; background: #fff; }
#chat-drawer #turns>.empty { color: var(--fx-muted); font: 400 14px/20px var(--fx-font); text-align: center; }
#chat-drawer .conversation>form { flex: none; margin: 0; padding: 16px; border-top: 1px solid var(--line); background: #fff; }
#chat-drawer textarea { border: 1px solid #dce2ed; border-radius: 8px; color: var(--fx-navy); background: var(--fx-surface); }
#chat-drawer .primary { background: var(--fx-blue); color: white; border-color: var(--fx-blue); border-radius: 8px; }
#chat-drawer :is(.chat-file-pick,.chat-tools-toggle) { color: var(--fx-blue); background: #eaf5ff; border-color: #d9edff; }
#chat-drawer #close-chat { border: 0; background: #f3f6fc; color: var(--fx-muted); border-radius: 8px; padding: 8px 12px; min-height: 40px; font-size: 14px; }
#chat-drawer .chat-help { font: 500 14px/20px var(--fx-font); }
@media(max-width:700px) {
 body.is-workspace main .enrollment-cover h1 { font: 600 24px/32px var(--fx-font); }
 #chat-drawer[open] { width: 100%; padding: 0; }
 #chat-drawer .conversation { border: 0; border-radius: 0; }
}
/* Top navigation: brand at left, shared functions in the centre, account at right.
   Keeps the same links, role permissions, selected states and chat entry point. */
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 24px; margin-left: auto; }
.topbar-actions a { text-decoration: none; white-space: nowrap; }
.topbar-help { display: inline-flex; align-items: center; min-height: 44px; gap: 4px; font: 400 12px/16px var(--fx-font); color: var(--fx-muted); }
.topbar-account { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font: 500 14px/20px var(--fx-font); color: var(--fx-navy); }
.topbar-account:hover { color: var(--fx-blue); }
@media(min-width:701px) {
 body.is-workspace[data-role],body:has(>.mast) { padding-left: 0; }
 body.is-workspace[data-role]>.bar,body:has(>.mast)>.mast,
 body.casting-home>.casting-mast,body.public-directory>.directory-mast {
   position: sticky; inset: 24px auto auto; z-index: 20; width: calc(100% - 80px); max-width: 1360px; min-height: 80px; height: auto; margin: 24px auto 0; padding: 16px 24px;
   display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 24px; flex-wrap: nowrap;
   border: 1px solid var(--fx-border); border-radius: 16px; background: #ffffffed; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
   box-shadow: 0 8px 24px #00164e04;
 }
 body.is-workspace[data-role]>.bar>.brand,body:has(>.mast)>.mast>a:first-child { grid-column: 1; grid-row: 1; padding: 0; margin: 0; }
 body.is-workspace[data-role]>.bar>strong,body:has(>.mast)>.mast>span { display: none; }
 body.is-workspace[data-role]>.bar>nav:not(:empty),body:has(>.mast) .mast .workspace-links,
 .casting-mast .public-primary-nav,.public-directory .directory-mast>nav {
   grid-column: 2; grid-row: 1; justify-self: center; position: static; inset: auto; display: flex; flex-direction: row; align-items: center; justify-content: center; flex-wrap: nowrap;
   width: max-content; max-width: 100%; margin: 0; padding: 4px; gap: 4px; border: 1px solid #eff1f5; border-radius: 9999px; background: #f4f6fa;
 }
 body.is-workspace[data-role]>.bar nav>a[data-section],body:has(>.mast) .mast .workspace-links a,
 .casting-mast .public-primary-nav a,.public-directory .directory-mast>nav>a {
   display: inline-flex; flex: none; align-items: center; justify-content: center; gap: 8px; width: auto; min-height: 40px; padding: 8px 16px; margin: 0;
   border: 0; border-radius: 9999px; color: var(--fx-muted); background: transparent; box-shadow: none; text-decoration: none; white-space: nowrap; font: 500 14px/20px var(--fx-font);
 }
 body.is-workspace[data-role]>.bar nav>a[data-section]::before,body:has(>.mast) .mast .workspace-links :is(img,b) { display: none; }
 body.is-workspace[data-role]>.bar nav>a[data-section][aria-current],body:has(>.mast) .mast .workspace-links a[aria-current],
 .public-directory .directory-mast>nav>a[aria-current] { background: var(--fx-navy); color: white; border: 0; box-shadow: 0 2px 6px #00164e12; }
 body.is-workspace[data-role]>.bar nav>a[data-section]:not([aria-current]):hover,body:has(>.mast) .mast .workspace-links a:not([aria-current]):hover,
 .casting-mast .public-primary-nav a:hover,.public-directory .directory-mast>nav>a:not([aria-current]):hover { background: #fff; color: var(--fx-navy); }
 body.is-workspace[data-role]>.bar>.topbar-actions { grid-column: 3; grid-row: 1; justify-self: end; margin: 0; }
 body:has(>.mast) .mast .mast-links { grid-column: 3; grid-row: 1; justify-self: end; order: 0; display: flex; flex-direction: row; align-items: center; gap: 16px; margin: 0; }
 body:has(>.mast) .mast .mast-links>a { margin: 0; padding: 8px 0; font: 500 14px/20px var(--fx-font); color: var(--fx-muted); }
 body:has(>.mast) .mast .mast-links #studio-back { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 8px 16px; border-radius: 9999px; color: #fff; background: var(--fx-navy); }
 body:has(>.mast) .mast .workspace-links { order: 0; }
 .casting-mast>div { grid-column: 3; grid-row: 1; gap: 24px; }
 .casting-mast .casting-login { border-radius: 9999px; background: var(--fx-navy); }
 body.casting-home main#main { padding-top: 24px; }
 body.public-directory main#main { max-width: 1440px; padding: 32px 40px 40px; }
 .topbar-help:hover { color: var(--fx-blue); }
}
@media(min-width:701px) and (max-width:1099px) {
 body.is-workspace[data-role]>.bar,body:has(>.mast)>.mast,
 body.casting-home>.casting-mast,body.public-directory>.directory-mast { top: 16px; width: calc(100% - 48px); margin-top: 16px; padding: 12px 16px; gap: 12px 24px; }
 body.is-workspace[data-role]>.bar>nav:not(:empty),body:has(>.mast) .mast .workspace-links,
 .casting-mast .public-primary-nav,.public-directory .directory-mast>nav { grid-column: 1/-1; grid-row: 2; }
 body.is-workspace[data-role]>.bar>.topbar-actions,body:has(>.mast) .mast .mast-links,.casting-mast>div { grid-column: 3; grid-row: 1; }
 body.is-workspace[data-role] main#main,body:has(>.mast) main { padding-top: 24px; }
 .topbar-help { display: none; }
}
@media(max-width:700px) {
 body.is-workspace[data-role]>.bar>.topbar-actions { gap: 12px; }
 body.is-workspace[data-role]>.bar>strong,.topbar-help { display: none; }
 .topbar-account { min-height: 32px; gap: 8px; font-size: 12px; line-height: 16px; }
 .topbar-account .workspace-avatar { width: 28px; height: 28px; font-size: 12px; }
}

/* Sky direction: the supplied blue brand reference, with compact functional cards.
   All card links reuse existing routes; photos illustrate sections, not live matches. */
body.is-workspace[data-role=buyer][data-view=home] { background: #fff; }
.is-workspace main .home-discovery { grid-template-columns: minmax(0,1fr); gap: 48px; }
.is-workspace main .home-discovery .casting-entry {
 display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
 min-height: 720px; padding: 112px 32px 24px; border: 0; border-radius: 24px; color: white;
 background: #087cd9; background-image: linear-gradient(180deg,#00518430 0%,#00518430 65%,#00518400 90%),url('/img/sky-hero-v2.jpg'); background-position: center; background-size: cover; background-repeat: no-repeat;
}
.is-workspace main .casting-entry::after { display: none; }
.is-workspace main .casting-entry>.casting-copy { position: relative; z-index: 2; width: min(100%,720px); min-width: 0; padding: 0; text-align: center; }
.casting-eyebrow { margin: 0 0 16px; color: #fff; font: 400 12px/16px var(--fx-font); }
.is-workspace main .casting-entry :is(h1,h2) { margin: 0; color: #fff; font: 500 60px/1.16 var(--fx-font); letter-spacing: -.045em; }
.casting-entry :is(h1,h2)>span { display: block; }
.casting-entry :is(h1,h2)>span:last-child { color: #e2f2ff; }
.is-workspace main .casting-entry .casting-summary { width: auto; margin: 16px 0 20px; color: #fff; font: 400 14px/20px var(--fx-font); }
.is-workspace main .casting-entry .casting-method { width: min(100%,540px); margin-inline: auto; }
.is-workspace main .casting-method fieldset { display: inline-flex; gap: 4px; padding: 4px; margin: 0 0 12px; background: #0067b3; border: 1px solid #ffffff50; border-radius: 24px; }
.is-workspace main .casting-method fieldset label { min-height: 32px; padding: 8px 16px; color: #fff; font: 500 12px/16px var(--fx-font); border: 0; border-radius: 20px; }
.is-workspace main .casting-method fieldset label:has(:checked) { color: #123648; background: #fff; }
.is-workspace main .casting-method fieldset label:has(:focus-visible) { outline: 3px solid #d6ff68; outline-offset: 4px; }
.is-workspace main .casting-method .desk-search { display: flex; gap: 4px; width: 100%; padding: 4px; background: #fff; border: 1px solid #fff; border-radius: 32px; box-shadow: 0 8px 24px #00345c18; }
.is-workspace main .casting-method .desk-search input { width: 0; flex: 1; min-width: 0; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 28px; color: #172d3a; font: 400 14px/20px var(--fx-font); }
.is-workspace main .casting-method .desk-search button { flex: none; min-height: 48px; padding: 12px 24px; border: 0; border-radius: 28px; color: #18364c; background: #d7ff68; font: 600 14px/20px var(--fx-font); }
.is-workspace main .casting-method .desk-search button:hover { background: #c5f548; }
.is-workspace main .casting-copy>a { display: inline-flex; align-items: center; gap: 12px; min-height: 36px; margin-top: 8px; color: #fff; font: 400 12px/16px var(--fx-font); text-decoration: none; }
.is-workspace main .casting-copy>a:hover { text-decoration: underline; text-underline-offset: 4px; }
.casting-copy>a span { font-size: 16px; }
.is-workspace main .casting-entry>.casting-showcase { padding: 0; width: max-content; border: 0; background: none; }
.casting-showcase { display: flex; position: relative; flex: none; align-items: center; justify-content: center; gap: 24px; width: max-content; max-width: none; height: 256px; margin: 24px auto 0; perspective: 1200px; }
.is-workspace main .casting-showcase .sky-card { position: relative; display: flex; flex: none; flex-direction: column; width: 224px; height: 224px; margin: 0; padding: 8px; overflow: hidden; border: 1px solid #ffffffb0; border-radius: 12px; background: #fff; color: #182c39; text-decoration: none; box-shadow: 0 12px 24px #00345c1a; transition: transform 300ms var(--fx-ease),box-shadow 300ms var(--fx-ease); }
.sky-card>img { display: block; width: 100%; height: 152px; min-height: 0; object-fit: cover; border-radius: 6px; }
.is-workspace main .casting-showcase .sky-card>span { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; min-height: 48px; margin: 8px 0 0; padding: 0 4px; color: #182c39; font: 500 14px/20px var(--fx-font); }
.sky-card i { font: 400 20px/28px var(--fx-font); }
.sky-caption { display: grid; gap: 4px; }
.sky-caption strong { font: 500 14px/20px var(--fx-font); }
.sky-caption small { color: #687780; font: 400 12px/16px var(--fx-font); }
.is-workspace main .casting-showcase .sky-portrait { width: 256px; height: 240px; background: #d7ff68; transform: translateY(0) rotate(-5deg); }
.sky-portrait>img { height: 168px; object-position: center 25%; }
.sky-portrait .sky-caption small { color: #455b2c; }
.is-workspace main .casting-showcase .sky-star { transform: translateY(-8px); }
.sky-star>img { object-position: center 25%; }
.is-workspace main .casting-showcase .sky-animation { transform: translateY(0) rotate(5deg); }
.sky-animation>img { object-position: center 30%; }
.is-workspace main .casting-showcase .sky-card:hover { transform: translateY(-4px) rotate(0); box-shadow: 0 16px 32px #00345c30; }
.is-workspace main .casting-showcase .sky-card:focus-visible { outline: 3px solid #173b52; outline-offset: 4px; }
.discovery-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 0 0 20px; }
.is-workspace main .discovery-heading h2 { margin: 0; color: #172d3a; font: 500 24px/32px var(--fx-font); letter-spacing: -.025em; }
.discovery-heading p { margin: 0; color: #697883; font: 400 14px/20px var(--fx-font); }
.is-workspace main .partner-entries { display: grid; grid-template: auto / repeat(2,minmax(0,1fr)); gap: 24px; }
.is-workspace main .partner-entries .partner-entry { display: flex; min-height: 192px; align-items: center; padding: 28px 32px 28px 44%; border: 0; border-radius: 20px; background: #f3f4f2; color: #172d3a; font: 500 28px/36px var(--fx-font); }
.is-workspace main .partner-entry:nth-child(2) { background: #edf4fd; }
.is-workspace main .partner-entry::before { display: none; }
.is-workspace main .partner-entry>img { inset: 12px auto 12px 12px; width: 36%; height: calc(100% - 24px); border-radius: 12px; z-index: 0; object-fit: cover; object-position: center; transition: transform 300ms var(--fx-ease); }
.is-workspace main .partner-entry>span { position: relative; max-width: 100%; }
.is-workspace main .partner-entry small { display: block; margin-top: 12px; color: #697883; font: 400 12px/16px var(--fx-font); }
.is-workspace main .partner-entry .partner-kicker { margin: 0 0 12px; color: #697883; font: 400 12px/16px var(--fx-font); }
.is-workspace main .partner-entry i { position: absolute; top: auto; right: 20px; bottom: 20px; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid #cbd4da; border-radius: 50%; background: #fff; color: #172d3a; font: 400 20px/24px var(--fx-font); }
.is-workspace main .partner-entry:is(:hover,:focus-visible)>span { text-decoration: none; }
.is-workspace main .partner-entry:hover { background: #eaf0f5; }
.is-workspace main .partner-entry:hover>img { transform: scale(1.025); }
.is-workspace main .reference-tools { margin-top: 40px; }
.is-workspace main .reference-tools h2 { margin: 0 0 20px; color: #172d3a; font: 500 24px/32px var(--fx-font); }
.is-workspace main .reference-tools>div { gap: 16px; }
.is-workspace main .reference-tools a { position: relative; min-height: 120px; grid-template-columns: 40px minmax(0,1fr); align-content: center; padding: 24px; gap: 4px 16px; border: 0; border-radius: 16px; background: #f4f6f7; color: #172d3a; }
.is-workspace main .reference-tools a:first-child { background: #d7ff68; }
.is-workspace main .reference-tools a::after { content: '↗'; position: absolute; top: 20px; right: 20px; color: #172d3a; font: 400 20px/24px var(--fx-font); }
.is-workspace main .reference-tools a img { width: 28px; height: 28px; padding: 0; opacity: .9; }
.is-workspace main .reference-tools a strong { font: 500 18px/28px var(--fx-font); }
.is-workspace main .reference-tools a small { color: #4e646f; }
.is-workspace main .reference-tools a:hover { background: #e8edf1; }
.is-workspace main .reference-tools a:first-child:hover { background: #cbf65a; }
body[data-role=buyer][data-view=home] main>.company-entry { min-height: 56px; margin: 24px 0 0; padding: 16px 0; border: 0; border-top: 1px solid #e7ebee; border-radius: 0; background: #fff; color: #172d3a; }
body[data-role=buyer][data-view=home] main>.company-entry strong { font-weight: 500; }
/* Existing tasks keep priority and their normal header. */
.is-workspace main .director-start .director-discovery { margin: 0; gap: 32px; }
.is-workspace main .director-start .casting-entry { min-height: 0; padding: 40px 24px 20px; }
.is-workspace main .director-start .casting-entry h2 { font-size: 36px; line-height: 40px; }
.is-workspace main .director-start .casting-method { max-width: 440px; }
.director-start .casting-showcase { gap: 12px; height: 160px; margin-top: 12px; }
.is-workspace main .director-start .sky-card { width: 112px; height: 140px; padding: 6px; }
.director-start .sky-card>img { height: 92px; }
.is-workspace main .director-start .partner-entry { min-height: 168px; padding: 24px 24px 24px 44%; font-size: 24px; line-height: 32px; }
.director-start { container-type: inline-size; }
@container(max-width:760px) { .is-workspace main .director-start .partner-entries { grid-template-columns: minmax(0,1fr); } }
.is-workspace main .director-start .partner-entry>span { max-width: 100%; }
.director-start .discovery-heading { display: block; }
.director-start .discovery-heading p { margin-top: 8px; }
@media(min-width:701px) and (max-width:1099px) {
 .is-workspace main .home-discovery .casting-entry { padding-top: 148px; padding-bottom: 24px; min-height: 704px; }
 .is-workspace main .casting-entry :is(h1,h2) { font-size: 48px; }
 .casting-showcase { gap: 16px; margin-top: 24px; height: 224px; }
 .is-workspace main .casting-showcase .sky-card { width: 192px; height: 208px; }
 .sky-card>img { height: 136px; }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) .home-discovery>.casting-entry { margin-top: -156px; }
 .is-workspace main .partner-entries .partner-entry { padding: 24px 24px 24px 44%; font-size: 24px; line-height: 32px; }
 .is-workspace main .director-start .casting-entry { padding: 32px 24px 20px; min-height: 0; }
 .is-workspace main .director-start .casting-entry h2 { font-size: 36px; }
}
@media(max-width:700px) {
 body.is-workspace[data-role=buyer][data-view=home] main#main { padding-top: 12px; }
 .is-workspace main .home-discovery { gap: 32px; }
 .is-workspace main .home-discovery .casting-entry { min-height: 0; padding: 32px 20px 24px; border-radius: 20px; background-position: center; }
 .casting-eyebrow { margin-bottom: 16px; font-size: 12px; }
 .is-workspace main .casting-entry :is(h1,h2) { font-size: 36px; line-height: 44px; }
 .is-workspace main .casting-entry .casting-summary { margin: 16px auto 20px; width: 100%; max-width: 260px; font-size: 12px; line-height: 20px; }
 .is-workspace main .casting-method fieldset label { min-height: 36px; padding: 8px 12px; }
 .is-workspace main .casting-method .desk-search input { min-height: 44px; font-size: 12px; padding: 12px; }
 .is-workspace main .casting-method .desk-search button { min-height: 44px; font-size: 12px; padding: 12px; }
 .casting-showcase { gap: 8px; height: 168px; margin-top: 24px; }
 .is-workspace main .casting-showcase .sky-card { width: clamp(80px,25vw,144px); height: 144px; padding: 4px; }
 .sky-card>img { height: 88px; border-radius: 8px; }
 .is-workspace main .casting-showcase .sky-card>span { min-height: 40px; gap: 4px; margin-top: 4px; padding: 0 4px; }
 .sky-caption strong { font-size: 12px; line-height: 16px; }
 .sky-caption small { display: none; }
 .sky-card i { font-size: 16px; line-height: 20px; }
 .is-workspace main .casting-showcase .sky-portrait { transform: rotate(-4deg); }
 .is-workspace main .casting-showcase .sky-star { transform: translateY(-4px); }
 .is-workspace main .casting-showcase .sky-animation { transform: rotate(4deg); }
 .discovery-heading { display: block; margin-bottom: 16px; }
 .is-workspace main .discovery-heading h2,.is-workspace main .reference-tools h2 { font-size: 20px; line-height: 28px; }
 .discovery-heading p { margin-top: 8px; font-size: 12px; }
 .is-workspace main .partner-entries { grid-template-columns: minmax(0,1fr); gap: 12px; }
 .is-workspace main .partner-entries .partner-entry { min-height: 168px; padding: 24px 20px 24px 44%; border-radius: 16px; font-size: 24px; line-height: 32px; }
 .is-workspace main .partner-entry>img { inset: 8px auto 8px 8px; width: 36%; height: calc(100% - 16px); border-radius: 8px; }
 .is-workspace main .partner-entry>span { max-width: 100%; }
 .is-workspace main .partner-entry small { margin-top: 8px; }
 .is-workspace main .partner-entry .partner-kicker { margin-bottom: 8px; }
 .is-workspace main .partner-entry i { top: auto; bottom: 12px; right: 12px; width: 28px; height: 28px; }
 .is-workspace main .reference-tools { margin-top: 32px; }
 .is-workspace main .reference-tools h2 { margin-bottom: 16px; }
 .is-workspace main .reference-tools>div { gap: 12px; }
 .is-workspace main .reference-tools a { min-height: 96px; padding: 20px; border-radius: 12px; }
 .is-workspace main .director-start .casting-entry { padding: 32px 20px 24px; }
 .is-workspace main .director-start .casting-entry h2 { font-size: 30px; line-height: 36px; }
 .director-start .casting-showcase { height: 168px; }
}
/* The sky homepage meets the viewport edges; inner sections keep readable gutters. */
body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) main#main { width: 100%; max-width: none; margin: 0; padding: 0 0 40px; }
body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar { top: 0; width: 100%; max-width: none; margin: 0; border: 0; border-radius: 0; }
body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) .home-discovery>.casting-entry { border-radius: 0; }
body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) :is(.discovery-partners,main>.reference-tools,main>.company-entry) { width: calc(100% - 80px); max-width: 1360px; margin-inline: auto; }
@media(min-width:1100px) {
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar { height: 64px; min-height: 64px; padding: 12px 40px; }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar>nav { border: 0; }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) .home-discovery>.casting-entry { margin-top: -64px; }
}
@media(min-width:701px) and (max-width:1099px) {
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar { height: 112px; min-height: 112px; padding: 12px 24px; }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar>nav { border: 0; }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) .home-discovery>.casting-entry { margin-top: -112px; }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) :is(.discovery-partners,main>.reference-tools,main>.company-entry) { width: calc(100% - 48px); }
}
@media(max-width:700px) {
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar { position: relative; z-index: 20; height: 64px; min-height: 64px; background: #eff0ee; }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar :is(.wordmark,.topbar-account) { color: var(--fx-header-ink,#18364c); }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) .home-discovery>.casting-entry { margin-top: -64px; padding-top: 96px; }
 body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning)) :is(.discovery-partners,main>.reference-tools,main>.company-entry) { width: calc(100% - 32px); }
}
/* Lower homepage: editorial partner cards and a quieter shared tools panel. */
.is-workspace main .discovery-heading { align-items: center; margin-bottom: 20px; }
.is-workspace main .discovery-heading h2,.is-workspace main .reference-tools h2 { margin: 0; color: #183244; font: 500 20px/28px var(--fx-font); letter-spacing: -.02em; }
.is-workspace main .discovery-heading p { color: #71808b; font: 400 12px/20px var(--fx-font); }
.is-workspace main .partner-entries { gap: 24px; }
.is-workspace main .partner-entries .partner-entry {
 display: grid; grid-template-columns: minmax(0,.95fr) minmax(0,1.25fr); align-items: stretch; gap: 0;
 min-height: 232px; padding: 0; border: 1px solid #e4e9ed; border-radius: 16px; background: #fff; color: #183244;
 transition: border-color 300ms var(--fx-ease),box-shadow 300ms var(--fx-ease);
}
.is-workspace main .partner-entry:nth-child(2) { background: #fff; }
.is-workspace main .partner-entry>img { position: relative; inset: auto; width: 100%; height: 100%; min-height: 0; border-radius: 0; object-fit: cover; z-index: 0; }
.is-workspace main .partner-entry>.partner-copy { display: flex; flex-direction: column; min-width: 0; max-width: none; padding: 28px; }
.is-workspace main .partner-entry .partner-kicker { margin: 0 0 12px; color: #60798c; font: 400 12px/16px var(--fx-font); }
.is-workspace main .partner-copy>strong { color: #183244; font: 500 24px/32px var(--fx-font); letter-spacing: -.02em; }
.is-workspace main .partner-entry .partner-subjects { margin: 12px 0 0; color: #71808b; font: 400 12px/20px var(--fx-font); }
.is-workspace main .partner-entry .partner-action { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: auto 0 0; padding-top: 24px; color: #34566e; font: 500 12px/16px var(--fx-font); }
.is-workspace main .partner-entry i { position: static; flex: none; width: 28px; height: 28px; border-color: #dae2e8; color: #34566e; font: 400 16px/20px var(--fx-font); transition: color 300ms var(--fx-ease),background-color 300ms var(--fx-ease),border-color 300ms var(--fx-ease); }
.is-workspace main .partner-entry:hover { border-color: #b9cbd8; background: #fff; box-shadow: 0 8px 24px #172d3a08; }
.is-workspace main .partner-entry:hover>img { transform: scale(1.025); }
.is-workspace main .partner-entry:hover i { background: #1768a2; border-color: #1768a2; color: #fff; }
.is-workspace main .reference-tools { margin-top: 32px; }
.is-workspace main .reference-tools>div { gap: 0; border: 1px solid #e4e9ed; border-radius: 16px; overflow: hidden; background: #fff; }
.is-workspace main .reference-tools a { grid-template-columns: 44px minmax(0,1fr) 28px; grid-template-rows: auto auto; align-content: center; align-items: center; gap: 4px 16px; min-height: 112px; padding: 24px; border: 0; border-radius: 0; background: #fff; color: #183244; }
.is-workspace main .reference-tools a+a { border-left: 1px solid #e8edf0; }
.is-workspace main .reference-tools a:first-child { background: #fff; }
.is-workspace main .reference-tools a::after { content: none; }
.tool-symbol { display: grid; grid-column: 1; grid-row: 1/3; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #edf4f9; }
.reference-tools a:first-child .tool-symbol { background: #e2f6b2; }
.is-workspace main .reference-tools .tool-symbol>img { grid-column: auto; grid-row: auto; width: 22px; height: 22px; opacity: .85; }
.is-workspace main .reference-tools a strong { grid-column: 2; grid-row: 1; font: 500 16px/24px var(--fx-font); }
.is-workspace main .reference-tools a small { grid-column: 2; grid-row: 2; color: #71808b; font: 400 12px/20px var(--fx-font); }
.tool-arrow { display: grid; grid-column: 3; grid-row: 1/3; place-items: center; width: 28px; height: 28px; border: 1px solid #e1e7ec; border-radius: 50%; color: #60798c; font: 400 16px/20px var(--fx-font); transition: color 300ms var(--fx-ease),border-color 300ms var(--fx-ease); }
.is-workspace main .reference-tools a:hover,.is-workspace main .reference-tools a:first-child:hover { background: #f6f9fb; }
.reference-tools a:hover .tool-arrow { border-color: #a8c1d3; color: #1768a2; }
body[data-role=buyer][data-view=home] main .company-entry {
 display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 16px; min-height: 88px;
 margin-top: 20px; padding: 20px 24px; border: 1px solid #e7edf1; border-radius: 12px; background: #f8fafc; color: #183244;
}
.company-mark { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid #e5ebf0; border-radius: 12px; background: #fff; color: #698297; }
body[data-role=buyer][data-view=home] main .company-entry>div { display: grid; gap: 4px; }
body[data-role=buyer][data-view=home] main .company-entry strong { font: 500 14px/20px var(--fx-font); }
body[data-role=buyer][data-view=home] main .company-entry div span { color: #71808b; font: 400 12px/16px var(--fx-font); }
body[data-role=buyer][data-view=home] main .company-entry b { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 36px; padding: 8px 12px; border: 1px solid #dce5ec; border-radius: 8px; background: #fff; color: #34566e; font: 500 12px/16px var(--fx-font); }
.company-entry b i { font: 400 16px/20px var(--fx-font); }
body[data-role=buyer][data-view=home] main .company-entry:hover b { border-color: #a8c1d3; color: #1768a2; }
@media(min-width:701px) and (max-width:1099px) {
 .is-workspace main .partner-entry>.partner-copy { padding: 24px; }
 .is-workspace main .reference-tools a { padding: 20px 16px; gap: 4px 12px; }
 .is-workspace main .reference-tools a small { max-width: 100%; }
}
@media(min-width:701px) and (max-width:899px) {
 .is-workspace main .partner-entries .partner-entry { grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); }
 .is-workspace main .partner-entry>.partner-copy { padding: 20px; }
 .is-workspace main .partner-copy>strong { font-size: 20px; line-height: 28px; }
 .is-workspace main .reference-tools a { grid-template-columns: 36px minmax(0,1fr); gap: 4px 12px; }
 .tool-symbol { width: 36px; height: 36px; border-radius: 10px; }
 .tool-arrow { display: none; }
 .is-workspace main .reference-tools a strong { font-size: 14px; line-height: 20px; }
}
@media(max-width:700px) {
 .is-workspace main .discovery-heading { display: block; margin-bottom: 16px; }
 .is-workspace main .discovery-heading p { margin-top: 8px; }
 .is-workspace main .partner-entries { gap: 16px; }
 .is-workspace main .partner-entries .partner-entry { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); min-height: 208px; border-radius: 14px; }
 .is-workspace main .partner-entry>.partner-copy { padding: 24px 20px; }
 .is-workspace main .partner-copy>strong { font-size: 20px; line-height: 28px; }
 .is-workspace main .partner-entry .partner-action { padding-top: 20px; }
 .is-workspace main .reference-tools { margin-top: 32px; }
 .is-workspace main .reference-tools>div { border-radius: 14px; }
 .is-workspace main .reference-tools a { min-height: 96px; padding: 20px; }
 .is-workspace main .reference-tools a+a { border-left: 0; border-top: 1px solid #e8edf0; }
 body[data-role=buyer][data-view=home] main .company-entry { grid-template-columns: 36px minmax(0,1fr) auto; gap: 12px; padding: 16px; }
 .company-mark { width: 36px; height: 36px; border-radius: 10px; }
 body[data-role=buyer][data-view=home] main .company-entry b { gap: 8px; padding: 8px; }
}

/* Reference header: pale grey surface, white navigation capsule, charcoal selection. */
body.is-workspace[data-role=buyer]>.bar,
body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar {
 top: 0; width: 100%; max-width: none; margin: 0; border: 0; border-bottom: 1px solid var(--fx-header-border,#e4e7e2);
 border-radius: 0; background: var(--fx-header-surface,#eff0eef5); box-shadow: none; transition: background-color 240ms var(--fx-ease),border-color 240ms var(--fx-ease);
}
body.is-workspace[data-role=buyer]>.bar .wordmark { color: var(--fx-header-ink,#252c28); transition: color 240ms var(--fx-ease); font-size: 24px; line-height: 32px; }
body.is-workspace[data-role=buyer]>.bar>.topbar-actions { gap: 12px; }
body.is-workspace[data-role=buyer]>.bar :is(.topbar-help,.topbar-support) { display: inline-flex; min-height: 36px; padding: 8px 16px; gap: 12px; border: 1px solid var(--fx-header-help-border,#e7eae4); border-radius: 20px; background: var(--fx-header-help-bg,#fff); color: var(--fx-header-help-ink,#626b65); font: 400 12px/16px var(--fx-font); }
body.is-workspace[data-role=buyer]>.bar :is(.topbar-help,.topbar-support):hover { color: var(--fx-header-hover-ink,#252c28); border-color: var(--fx-header-help-border,#cdd5ca); }
body.is-workspace[data-role=buyer]>.bar .topbar-account { display: inline-flex; justify-content: center; gap: 0; width: 40px; min-height: 40px; padding: 4px; border: 1px solid #e2e7dd; border-radius: 50%; background: #fff; }
body.is-workspace[data-role=buyer]>.bar .workspace-avatar { flex: none; width: 30px; height: 30px; background: #d7ff68; color: #303e26; font: 500 12px/16px var(--fx-font); }
body.is-workspace[data-role=buyer]>.bar .topbar-account>span:last-child { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.is-workspace[data-role=buyer]>.bar .topbar-account:hover { border-color: #aec386; }
@media(min-width:701px) {
 body.is-workspace[data-role=buyer]>.bar { min-height: 64px; padding: 12px 40px; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); gap: 24px; }
 body.is-workspace[data-role=buyer]>.bar>.brand { justify-self: start; }
 body.is-workspace[data-role=buyer]>.bar>nav:not(:empty) { padding: 4px; gap: 4px; border: 0; border-radius: 24px; background: var(--fx-header-nav-surface,#fff); transition: background-color 240ms var(--fx-ease); }
 body.is-workspace[data-role=buyer]>.bar nav>a[data-section] { min-height: 32px; padding: 8px 16px; border-radius: 20px; background: transparent; color: var(--fx-header-nav-ink,#68716b); font: 500 12px/16px var(--fx-font); }
 body.is-workspace[data-role=buyer]>.bar nav>a[data-section][aria-current] { background: var(--fx-header-selected-bg,#252c28); color: var(--fx-header-selected-ink,#fff); box-shadow: none; }
 body.is-workspace[data-role=buyer]>.bar nav>a[data-section]:not([aria-current]):hover { background: var(--fx-header-hover-bg,#f0f3ed); color: var(--fx-header-hover-ink,#252c28); }
}
@media(min-width:701px) and (max-width:1099px) {
 body.is-workspace[data-role=buyer]>.bar { min-height: 112px; padding: 12px 24px; gap: 8px 24px; }
}
@media(max-width:700px) {
 body.is-workspace[data-role=buyer]>.bar .topbar-help { display: none; }
 body.is-workspace[data-role=buyer]>.bar .wordmark { font-size: 24px; line-height: 32px; }
}
/* Second screen follows the supplied centred editorial layout with a varied card grid. */
.director-explore { padding: 16px 0 8px; }
.explore-heading { margin: 0 auto 48px; text-align: center; }
.explore-heading>p { margin: 0 0 16px; color: #737e77; font: 400 12px/16px var(--fx-font); }
.is-workspace main .explore-heading h2 { margin: 0; color: #252c28; font: 500 48px/1.2 var(--fx-font); letter-spacing: -.04em; }
.explore-heading h2>span { color: #808981; }
.explore-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: 168px 168px 88px; gap: 20px; }
.is-workspace main .director-explore .partner-entries,
.is-workspace main .director-explore .reference-tools,
.is-workspace main .director-explore .reference-tools>div { display: contents; }
.director-explore .reference-tools>.discovery-heading { position: absolute; width: 1px; height: 1px; padding: 0; margin: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.is-workspace main .director-explore .partner-entry { display: block; min-height: 0; height: 100%; padding: 0; border: 0; border-radius: 16px; background: #f1f3ef; box-shadow: none; }
.is-workspace main .director-explore .partner-entry:first-child { grid-column: 1; grid-row: 1/3; }
.is-workspace main .director-explore .partner-entry:nth-child(2) { grid-column: 2; grid-row: 1/3; }
.is-workspace main .director-explore .partner-entry>img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; object-fit: cover; }
.is-workspace main .director-explore .partner-entry>.partner-copy { position: absolute; inset: auto 16px 16px; width: auto; height: auto; padding: 20px; border-radius: 12px; background: #fff; }
.is-workspace main .director-explore .partner-copy>strong { color: #252c28; font: 500 28px/36px var(--fx-font); }
.is-workspace main .director-explore .partner-entry:first-child .partner-kicker { display: none; }
.is-workspace main .director-explore .partner-subjects { margin: 8px 0 0; color: #737e77; }
.is-workspace main .director-explore .partner-action { position: absolute; inset: 20px 20px auto auto; width: 32px; height: 32px; padding: 0; margin: 0; font-size: 0; }
.is-workspace main .director-explore .partner-action i { width: 32px; height: 32px; border-color: #e0e5dc; color: #354633; }
.is-workspace main .director-explore .partner-entry:nth-child(2)>.partner-copy { inset: 0; padding: 28px; background: transparent; }
.is-workspace main .director-explore .partner-entry:nth-child(2) .partner-kicker { margin: 0 0 16px; padding-right: 28px; color: #737e77; }
.is-workspace main .director-explore .partner-entry:nth-child(2) .partner-subjects { margin-top: 16px; }
.is-workspace main .director-explore .partner-entry:nth-child(2)>img { inset: auto 28px 28px; width: calc(100% - 56px); height: 128px; border-radius: 10px; }
.is-workspace main .director-explore .partner-entry:nth-child(2) .partner-action { inset: 24px 24px auto auto; }
.is-workspace main .director-explore .partner-entry:hover { background: #edf1e9; }
.is-workspace main .director-explore .partner-entry:hover i { background: #252c28; border-color: #252c28; color: #fff; }
.is-workspace main .director-explore .reference-tools a { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 0; padding: 28px; border: 0; border-radius: 16px; background: #d7ff68; color: #252c28; }
.is-workspace main .director-explore .reference-tools a:first-child { grid-column: 3; grid-row: 1; background: #d7ff68; }
.is-workspace main .director-explore .reference-tools a:nth-child(2) { grid-column: 3; grid-row: 2; background: #252c28; color: #fff; }
.director-explore .reference-tools a:nth-child(-n+2) .tool-symbol { display: none; }
.is-workspace main .director-explore .reference-tools a strong { color: inherit; font: 500 28px/36px var(--fx-font); letter-spacing: -.025em; }
.is-workspace main .director-explore .reference-tools a small { color: #465735; font: 400 12px/20px var(--fx-font); }
.is-workspace main .director-explore .reference-tools a:nth-child(2) small { color: #c0c9bf; }
.director-explore .reference-tools .tool-arrow { position: absolute; inset: 24px 24px auto auto; width: 32px; height: 32px; border-color: #252c2830; color: inherit; }
.director-explore .reference-tools a:nth-child(2) .tool-arrow { border-color: #ffffff40; }
.is-workspace main .director-explore .reference-tools a:first-child:hover { background: #c9f254; }
.is-workspace main .director-explore .reference-tools a:nth-child(2):hover { background: #343e36; }
.is-workspace main .director-explore .reference-tools a:last-child { display: grid; grid-template-columns: 40px minmax(0,1fr) 32px; grid-template-rows: auto auto; grid-column: 1/3; grid-row: 3; align-content: center; align-items: center; gap: 4px 16px; min-height: 88px; padding: 20px; border: 1px solid #e5eae3; border-radius: 12px; background: #fff; color: #252c28; }
.director-explore .reference-tools a:last-child .tool-symbol { width: 40px; height: 40px; background: #f1f4ee; }
.is-workspace main .director-explore .reference-tools a:last-child strong { font: 500 14px/20px var(--fx-font); letter-spacing: 0; }
.is-workspace main .director-explore .reference-tools a:last-child small { color: #737e77; font-size: 12px; line-height: 16px; }
.director-explore .reference-tools a:last-child .tool-arrow { position: static; border-color: #e0e5dc; color: #60745e; }
.is-workspace main .director-explore .reference-tools a:last-child:hover { background: #f6f8f3; }
body[data-role=buyer][data-view=home] main .director-explore .company-entry { grid-column: 3; grid-row: 3; width: auto; max-width: none; margin: 0; padding: 16px 20px; border-color: #e5eae3; background: #fff; color: #252c28; }
.director-explore .company-mark { background: #f1f4ee; border-color: transparent; color: #60745e; }
body[data-role=buyer][data-view=home] main .director-explore .company-entry b { border-color: #e0e5dc; color: #465f43; }
@media(min-width:701px) and (max-width:1099px) {
 .is-workspace main .explore-heading h2 { font-size: 36px; line-height: 44px; }
 .explore-grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: 336px 152px 88px; gap: 20px; }
 .is-workspace main .director-explore .partner-entry:first-child { grid-column: 1; grid-row: 1; }
 .is-workspace main .director-explore .partner-entry:nth-child(2) { grid-column: 2; grid-row: 1; }
 .is-workspace main .director-explore .reference-tools a:first-child { grid-column: 1; grid-row: 2; }
 .is-workspace main .director-explore .reference-tools a:nth-child(2) { grid-column: 2; grid-row: 2; }
 .is-workspace main .director-explore .reference-tools a:last-child { grid-column: 1; grid-row: 3; }
 body[data-role=buyer][data-view=home] main .director-explore .company-entry { grid-column: 2; grid-row: 3; gap: 12px; padding: 16px; }
 .director-explore .reference-tools .tool-arrow { display: grid; }
 .is-workspace main .director-explore .reference-tools a:last-child { grid-template-columns: 36px minmax(0,1fr) 28px; gap: 4px 12px; padding: 16px; }
}
@media(max-width:700px) {
 .director-explore { padding-top: 8px; }
 .explore-heading { margin-bottom: 32px; }
 .explore-heading>p { margin-bottom: 12px; }
 .is-workspace main .explore-heading h2 { font-size: 30px; line-height: 40px; }
 .explore-grid { grid-template-columns: minmax(0,1fr); grid-template-rows: 320px 300px 144px 144px 88px 88px; gap: 16px; }
 .is-workspace main .director-explore .partner-entry:first-child { grid-column: 1; grid-row: 1; }
 .is-workspace main .director-explore .partner-entry:nth-child(2) { grid-column: 1; grid-row: 2; }
 .is-workspace main .director-explore .reference-tools a:first-child { grid-column: 1; grid-row: 3; }
 .is-workspace main .director-explore .reference-tools a:nth-child(2) { grid-column: 1; grid-row: 4; }
 .is-workspace main .director-explore .reference-tools a:last-child { grid-column: 1; grid-row: 5; }
 body[data-role=buyer][data-view=home] main .director-explore .company-entry { grid-column: 1; grid-row: 6; padding: 16px 20px; }
 .is-workspace main .director-explore .partner-copy>strong { font-size: 24px; line-height: 32px; }
 .is-workspace main .director-explore .partner-entry:nth-child(2)>img { height: 104px; }
 .is-workspace main .director-explore .reference-tools a { padding: 24px; }
 .director-explore .reference-tools .tool-arrow { display: grid; inset: 24px 24px auto auto; }
}

/* The same header shifts from sky blue to cool grey as the second screen takes over. */
body.is-workspace[data-role].header-on-sky {
 --fx-header-surface: #0873d3;
 --fx-header-border: #ffffff20;
 --fx-header-ink: #fff;
 --fx-header-nav-surface: #ffffff24;
 --fx-header-nav-ink: #fff;
 --fx-header-selected-bg: #fff;
 --fx-header-selected-ink: #13558c;
 --fx-header-hover-bg: #fff;
 --fx-header-hover-ink: #13558c;
 --fx-header-help-bg: transparent;
 --fx-header-help-ink: #fff;
 --fx-header-help-border: #ffffff35;
}

/* Consolidated workspace navigation: support at right, settings and sign-out in avatar menu. */
.topbar-support { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 36px; padding: 8px 16px; border: 1px solid #e7eae4; border-radius: 20px; background: #fff; color: #626b65; font: 400 12px/16px var(--fx-font); }
.topbar-support:hover,.topbar-support[aria-current] { border-color: #b9c9ad; color: #252c28; }
.topbar-support .chat-unread { position: static; inset: auto; min-width: 16px; height: 16px; padding: 0 4px; box-shadow: none; font: 500 10px/16px var(--fx-font); }
.account-menu-container { position: relative; display: flex; align-items: center; flex: none; }
.is-workspace .topbar-account { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; min-height: 40px; padding: 4px; border: 1px solid #e2e7dd; border-radius: 50%; background: #fff; cursor: pointer; }
.is-workspace .topbar-account .workspace-avatar { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #d7ff68; color: #303e26; font: 500 12px/16px var(--fx-font); }
.is-workspace .topbar-account>span:last-child { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.is-workspace .topbar-account[aria-expanded=true],.is-workspace .topbar-account[data-current=true] { border-color: #a8bd81; }
.account-menu { position: absolute; z-index: 50; top: calc(100% + 12px); right: 0; display: grid; min-width: 208px; max-width: calc(100vw - 32px); padding: 8px; border: 1px solid #e2e7df; border-radius: 12px; background: #fff; color: #252c28; box-shadow: 0 12px 32px #172d3a1a; }
.account-menu[hidden] { display: none; }
.account-menu-label { margin: 0 0 4px; padding: 8px 12px 12px; border-bottom: 1px solid #edf0ea; color: #7a847c; font: 400 12px/16px var(--fx-font); }
.account-menu :is(a[role=menuitem],button[role=menuitem]) { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-height: 40px; padding: 8px 12px; border: 0; border-radius: 8px; background: transparent; color: #252c28; font: 400 14px/20px var(--fx-font); text-align: left; text-decoration: none; cursor: pointer; }
.account-menu :is(a[role=menuitem],button[role=menuitem]):hover,.account-menu [aria-current] { background: #f0f3ed; }
.account-menu :is(a[role=menuitem],button[role=menuitem]):focus-visible { outline: 2px solid #8aa271; outline-offset: -2px; background: #f0f3ed; }
.account-menu :is(img,svg) { flex: none; width: 18px; height: 18px; opacity: .75; }
.account-menu .exit { width: 100%; margin: 0; padding: 0; border: 0; }
.account-menu-signout { padding-top: 4px; margin-top: 4px; border-top: 1px solid #edf0ea; }
@media(max-width:700px) {
 body.is-workspace[data-role]>.bar,body.is-workspace[data-role][data-view=home]:has(.home-discovery:not(.returning))>.bar { position: sticky; top: 0; z-index: 30; }
 .topbar-support { min-height: 36px; padding: 8px 12px; }
 .account-menu { top: calc(100% + 8px); min-width: 192px; }
 .is-workspace .bar nav a[data-section] { flex: 0 1 96px; }
}

}