/* ==========================================================================
   Select Casting — DESIGN PACK THEME  (v33: every side + sign-in and team-invite pages; coral reaction counts; on-camera production type; notes indicators; fixed-width Details button; browse agencies location toggle; required-field errors and summary; success/error banners; quiet note dates; Share Favorites page; inline audio player; v24: wrapping actions, coral Details, self-tape row, headshot viewer, callback video, callback status, Details always flush right; v26: readability — striped rows, 15px text, even hover; v27: agent Details coral, age filter; v28: plain audio player, no peach strip; v29: folders pop-up, Add to Folder hint; v30: Saved Talent filter; v31: agent direction icon, aligned actions, order number box on hover only, no box on tagged audio players; v32: Share Casting Sheet link first, agent Respond button, red Decline, requirements checklist; v33; v34: client pass — upload drop zones, Notify Agencies pop-up, talent profile labels, directory reels, client unsubmit button, Request 2nd Rd label, callback requirements hint, no Direction button on the client 2nd Rd list, Actions header over the buttons, room for name / role / agency, Shared menu item aligned, Callback Scheduler / Email Callback Request labels, casting buttons in workflow order, Share and Callback Scheduler highlighted, divider under the top bar, no-results panel, agent empty Submitted Auditions, agent Waiting Area table, agent button order, Waiting Area bar buttons, submit confirmation pop-up, no stray "|" in agent actions, agent sweep: Share Talent pop-up, list "for", agent callback button, agent headshots, Callback Schedule header, equal day headers; v35: audition actions on one line, compact under 1360px, short callback pill, no per-row Download all, compact left-aligned Details, round "2nd" chip, reactions set apart, upload next to download, no blank placeholders in the button column, font waits instead of swapping, utc-pending hook for dates, v36: self-tape video centred in its frame in Safari, agent Waiting Area spacing; v37: client "R2 pending" label, Who Reacted in columns, guest reactions on shared sheets and shortlists, Post Comment button, signed-in notes hint, actor "No auditions yet" panel, Upload R2 button + note icon (agent and actor), "Review R2" for agent approval, notice cards, upload error under the drop zone, unavailable card, Available again pop-up, pop-up buttons keep their capitals, pop-up success/error messages, approve/reject buttons, ready-for-Indivision dp-flag tags; v38: callback pill "Not sent" state and one fixed pill width, room after talent names on the shared sheet; v39: tight Maybe/Favorites/Selects counts, Details pill with notes beside it, side-by-side Audition Details, Browse Agencies search and tabs with agency website icons, actor profile pop-up restyle, one "Awaiting submission" pill on the 2nd Rd tab, agent Details pill and callback status pill, callback links with ?slot=, Request Second Round note first with a small attach button, production requirements Yes/No switches with "All answered", hover card with who reacted, "New" tags on 2nd Rd, Callback Review and Callback Scheduler, hover explanations on 2nd Rd, Callback Review, Callback Scheduler and Email Callback Request, "Production Requirements (one per line)" label, grey No, no "NEW" tag on On-Camera; v40: $450 pricing note on client sign-up, "Review" button only on tapes waiting for the agent's approval (it said "Review R2"; first-round tapes in the agent Waiting Area show the play button again), Request self-tape icon button with room before Details (amber once requested), hover cards on both locked tabs, actor "Upload self-tape" button, Yes/No switches in the Add self-tape pop-ups, "#dp-confirm" pop-up to replace the browser's "Are you sure?" box, coral date and time pickers, white hover notes (tooltips), Self-tape Review hover card in headshots-first castings, Replace self-tape last in the row and off the Callback Review tab)
   --------------------------------------------------------------------------
   Makes the live app take on the look of the new design pack (00-STYLE-GUIDE
   and 03-create-casting-sheet.html): Nunito Sans, ink labels, white boxed
   fields, 6px corners, segmented toggles, section headings, attachment
   panels, boxed stepper, pill role tags, and a sticky action bar.

   INSTALL: load AFTER /css/main.css, INSTEAD OF the two earlier override
   files (this one already includes what they did).
     <link rel="stylesheet" href="/css/main.css?v1.2.1">
     <link rel="stylesheet" href="/css/select-casting-design-pack.css?v1">

   CSS only. No markup, JS or backend changes. Remove the <link> to roll back.
   Section 1 = header, sidebar, type and buttons (every page).
   Section 2 = the casting sheet (/casting/new, edit, from template).
   Section 3 = the casting detail / auditions page (/casting/{id}/show).
   Section 4 = the new casting detail features on staging (header buttons,
               Self-tape / Callback Review and Audition Review / 2nd Rd tabs,
               filter bar, headshots, 2nd-round pills).
   Section 5 = the Audition Details pop-up.
   Section 6 = casting lists (Active, Archived, Drafts, Previous, Templates, Shared)
   Section 7 = every other pop-up (shared rules + per-pop-up fixes)
   Section 8 = talent directory + talent profile pop-up + dropdown menus
   Section 9 = permissions + profile
   Section 10 = callback schedule board
   Section 11 = shared casting view (/public/casting/…)
   Section 12 = casting page Talent Agency / Role views
   Section 13 = Browse Agencies pop-up
   Section 14 = talent agency casting page (Submitted Auditions) + agent pop-ups
   Section 15 = Talent HQ, Invited Talent, internal casting (agent)
   Section 16 = actor side: Shared Castings, actor casting page, My Demos, actor profile, pop-ups
   Section 17 = log in, reset password, client sign-up, actor invite sign-up, 404,
                team invite (shared casting welcome pop-up + team sign-up)
   Section 18 = empty Maybe / Favorites / Selects results
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,300..900&display=block");

:root {
  /* ACTION — coral only ever means "you can click this" */
  --dp-coral:       #ef6b54;
  --dp-coral-hover: #d9503a;
  --dp-coral-soft:  #fdede8;
  --dp-brick:       #c8202e;
  /* SURFACE */
  --dp-white:     #ffffff;
  --dp-peach-50:  #fef7f3;
  --dp-peach-100: #fdf1ea;
  --dp-peach-200: #fbe3d6;
  /* TEXT */
  --dp-ink:   #23201f;
  --dp-ink-2: #5f5551;
  --dp-ink-3: #948a85;
  /* LINES */
  --dp-line:        #eadfd8;
  --dp-line-strong: #d9c7bc;
  --dp-line-hover:  #c4ac9e;
  --dp-radius:    6px;
  --dp-radius-lg: 10px;
  --dp-ring:      0 0 0 3px rgba(239, 107, 84, .16);
  --dp-font: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}


/* ==========================================================================
   1. EVERY PAGE
   ========================================================================== */

/* 1a. Type — everything except icon fonts */
body,
body *:not(i):not(.fa):not(.fas):not(.far):not(.fab):not(.fal):not(.fad) {
  font-family: var(--dp-font);
}
body { color: var(--dp-ink); -webkit-font-smoothing: antialiased; }

/* 1b. Top bar */
header.logo-container { background: var(--dp-white); border-bottom: 1px solid var(--dp-line); }
.mainNavBar .navbar-nav > .nav-item > a {
  color: var(--dp-ink);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}
.mainNavBar .navbar-nav > .nav-item > a:hover { color: var(--dp-coral); }

/* 1c. Left sidebar */
.castingSideBar .navbar-nav > li {
  font-size: 14px !important;
  font-style: normal !important;
  margin: 1px 0 !important;
  padding: 0 !important;
  border-radius: var(--dp-radius);
}
/* Section title ("CASTING") — small grey caps, a heading not a link.
   Its coral is an inline style in the template, hence !important. */
.casting-container .castingSideBar .navbar-nav > li:first-child {
  border-bottom: 1px solid var(--dp-line) !important;
  border-radius: 0;
  margin-bottom: 10px !important;
  padding: 0 0 10px 12px !important;
}
.casting-container .castingSideBar .navbar-nav > li:first-child > span {
  color: var(--dp-ink-3) !important;
  font-size: 11.5px;
  font-weight: 800 !important;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.castingSideBar .navbar-nav > li > a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border-radius: var(--dp-radius);
  color: var(--dp-ink-2);
  font-weight: 600;
}
.castingSideBar .navbar-nav > li > a:hover { background: var(--dp-peach-100); color: var(--dp-ink); }
.casting-container .castingTabs .navbar-collapse li.active { background: var(--dp-coral) !important; }
.casting-container .castingTabs .navbar-collapse li.active > a { color: var(--dp-white); }

/* 1d. Page title */
.h-nav > .fs-20.color-theme {
  color: var(--dp-ink) !important;
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -.01em;
}

/* 1e. Segmented controls (From Scratch / Templates / Previous Castings) */
.castingVerTabs .nav-tabs {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius);
}
.castingVerTabs .nav-tabs .nav-link {
  color: var(--dp-ink-2);
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 4px;
  background: transparent;
}
.castingVerTabs .nav-tabs .nav-link:hover { color: var(--dp-ink); }
.castingVerTabs .nav-tabs .nav-link.active {
  background: var(--dp-white);
  color: var(--dp-coral);
  box-shadow: 0 1px 2px rgba(35, 32, 31, .08);
}

/* 1f. Buttons — 6px corners, one coral, clear primary/secondary */
.button,
.border-button {
  border-radius: var(--dp-radius) !important;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0;
}
.button { background-color: var(--dp-coral); border: 1px solid var(--dp-coral); color: var(--dp-white); }
.button:not(:disabled):hover { background-color: var(--dp-coral-hover) !important; border-color: var(--dp-coral-hover); }
.border-button { background: var(--dp-white); border: 1px solid var(--dp-coral) !important; color: var(--dp-coral); }
.border-button:hover { background: var(--dp-coral-soft); color: var(--dp-coral-hover); }
.button:focus-visible, .border-button:focus-visible, a:focus-visible { outline: none; box-shadow: var(--dp-ring); }

/* 1g. Checkboxes and radios: 18px, white at rest, coral when on */
.custom-control-label::before,
.custom-checkbox .custom-control-label::before,
.custom-checkbox.sm .custom-control-label::before,
.custom-checkbox .custom-control-label::after,
.custom-checkbox.sm .custom-control-label::after {
  width: 18px !important;
  height: 18px !important;
  margin-top: 0 !important;
  top: 3px !important;
  left: -26px !important;
  border-radius: 4px !important;
}
.custom-control-label::before {
  background-color: var(--dp-white) !important;
  border: 1.5px solid var(--dp-line-strong) !important;
}
.custom-control-input:not(:checked) ~ .custom-control-label:hover::before { border-color: var(--dp-coral) !important; }
.custom-control-input:checked ~ .custom-control-label::before {
  background-color: var(--dp-coral) !important;
  border-color: var(--dp-coral) !important;
}
.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e");
  background-size: 55%;
  background-position: center;
}
.custom-control-input:focus-visible ~ .custom-control-label::before { box-shadow: var(--dp-ring) !important; }

/* 1h. "NEW" badge */
.tag-new:after {
  background: var(--dp-coral-soft);
  color: var(--dp-coral-hover);
  border: 1px solid #f6c7ba;
  border-radius: 3px;
  font-weight: 900;
  letter-spacing: .08em;
  padding: 1px 5px;
}


/* ==========================================================================
   2. CASTING SHEET
   ========================================================================== */

/* Shorthand for the scope used below */
/* .cs = .client-casting .client-casting-details */

/* 2a. Section headings, added with CSS so the template doesn't change.
       Order on the live page: type toggle → Project → Usage & rights →
       The shoot (on-camera only) → Talent & schedule → Materials →
       Talent agencies & roles. */
.client-casting .client-casting-details .col-12:has(> .castingType-box)::after,
.client-casting .client-casting-details > .row:has(#app_create_casting_productType)::before,
.client-casting .client-casting-details > .row:has(#app_create_casting_callback)::before,
.client-casting .client-casting-details > .row.product-type::before,
.client-casting .client-casting-details > .row.talent-specification::before,
.client-casting .client-casting-details > .row.agencies-section::before {
  display: block;
  flex: 0 0 calc(100% - 30px);
  margin: 26px 15px 18px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--dp-line);
  font-size: 15px;
  font-weight: 800;
  color: var(--dp-ink);
  letter-spacing: .01em;
}
.client-casting .client-casting-details .col-12:has(> .castingType-box)::after {
  content: "Project";
  margin: 28px 0 4px;
  flex: none;
}
.client-casting .client-casting-details > .row:has(#app_create_casting_productType)::before { content: "Usage & rights"; }
.client-casting .client-casting-details > .row:has(#app_create_casting_callback)::before    { content: "The shoot"; }
.client-casting .client-casting-details > .row.product-type::before                         { content: "Talent & schedule"; }
.client-casting .client-casting-details > .row.talent-specification::before                 { content: "Materials"; }
.client-casting .client-casting-details > .row.agencies-section::before                     { content: "Talent agencies & roles"; }
.client-casting .client-casting-details > .row.talent-specification { margin-left: -15px; margin-right: -15px; width: auto !important; }

/* 2b. Voice Over / On-Camera — segmented control */
.client-casting .client-casting-details .toggle-radio {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
}
.client-casting .client-casting-details .toggle-radio label {
  background: transparent !important;
  color: var(--dp-ink-2) !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 7px 16px !important;
  border-radius: 4px;
}
.client-casting .client-casting-details .toggle-radio label:hover { color: var(--dp-ink) !important; }
.client-casting .client-casting-details .toggle-radio input[type=radio]:checked + label {
  background: var(--dp-white) !important;
  color: var(--dp-coral) !important;
  box-shadow: 0 1px 2px rgba(35, 32, 31, .08);
}
/* "NEW" tag sits inside the On-Camera tab instead of hanging off its corner */
.client-casting .client-casting-details .toggle-radio label.tag-new { display: inline-flex; align-items: center; gap: 6px; }
.client-casting .client-casting-details .toggle-radio label.tag-new::after {
  position: static !important;
  margin: 0 !important;
  padding: 1px 5px !important;
  font-size: 9px !important;
  line-height: 1.4;
  transform: none !important;
}

/* 2b-2. On-Camera "Production Type": round radios like Union / Non-Union,
   regular-weight labels, tight stack */
.client-casting .production-type-check { margin-top: 4px !important; }
.client-casting .production-type-check .custom-checkbox-wrapper input[type=radio] {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: 0 !important;
  opacity: 0;
}
.client-casting .production-type-check .custom-checkbox-wrapper label {
  display: block;
  margin: 0 0 6px !important;
  padding-left: 28px;
  color: var(--dp-ink) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 20px;
  cursor: pointer;
}
.client-casting .production-type-check .custom-checkbox-wrapper input[type=radio] + label::before {
  top: 1px !important;
  left: 0 !important;
  width: 18px !important;
  height: 18px !important;
  box-sizing: border-box;
  border: 1.5px solid var(--dp-line-strong) !important;
  border-radius: 50% !important;
  background: var(--dp-white) !important;
}
.client-casting .production-type-check .custom-checkbox-wrapper input[type=radio] + label:hover::before { border-color: var(--dp-coral) !important; }
.client-casting .production-type-check .custom-checkbox-wrapper input[type=radio]:checked + label::before {
  border-color: var(--dp-coral) !important;
  background: var(--dp-coral) radial-gradient(circle, #fff 0 3.5px, transparent 4px) !important;
}
.client-casting .production-type-check .custom-checkbox-wrapper input[type=radio]:focus-visible + label::before { box-shadow: var(--dp-ring); }

/* 2b-3. Required-field errors (shown after pressing Cast with a field empty).
   The boxed-field rule below would otherwise turn the red field grey, so these
   use :not(#_) to win: red outline, faint red fill, plain red message under it */
.field-error:not(#_) {
  border: 1px solid var(--dp-brick) !important;
  background-color: #fdf4f5 !important;
  box-shadow: 0 0 0 3px rgba(200, 32, 46, .12) !important;
}
.field-error:not(#_):focus { box-shadow: 0 0 0 3px rgba(200, 32, 46, .2) !important; }
.inline-error:not(#_) {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 6px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--dp-brick) !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.4;
}

/* "Please Complete Required Fields" summary that drops in after Cast: a white
   card with a red accent instead of a solid red header; missing fields as pills */
.validation-summary:not(#_) {
  width: 440px !important;
  max-width: calc(100% - 32px);
  overflow: hidden;
  border: 1px solid var(--dp-line) !important;
  border-left: 4px solid var(--dp-brick) !important;
  border-radius: var(--dp-radius-lg) !important;
  background: var(--dp-white) !important;
  box-shadow: 0 18px 44px rgba(35, 32, 31, .2) !important;
  color: var(--dp-ink);
}
.validation-summary:not(#_) .validation-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 12px 4px 18px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--dp-brick) !important;
}
.validation-summary:not(#_) .validation-summary-header h3 { margin: 0 !important; color: var(--dp-brick) !important; font-size: 15.5px !important; font-weight: 800 !important; line-height: 1.3; }
.validation-summary:not(#_) .validation-summary-close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: var(--dp-radius);
  background: transparent !important;
  color: var(--dp-ink-3) !important;
  font-size: 13px !important;
  font-weight: 800;
  cursor: pointer;
}
.validation-summary:not(#_) .validation-summary-close:hover { background: var(--dp-peach-100) !important; color: var(--dp-ink) !important; }
.validation-summary:not(#_) .validation-summary-body { padding: 0 18px 16px !important; background: transparent !important; color: var(--dp-ink-2); font-size: 13.5px; }
.validation-summary:not(#_) .validation-summary-body p { margin: 0 0 8px !important; color: var(--dp-ink-2) !important; font-size: 13.5px; }
.validation-summary:not(#_) .validation-summary-body p strong { font-weight: 600; }
.validation-summary:not(#_) .validation-summary-body ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 !important; padding: 0 !important; list-style: none; }
.validation-summary:not(#_) .validation-summary-body li {
  margin: 0 !important;
  padding: 4px 11px !important;
  border: 1px solid #f2c9ce !important;
  border-radius: 20px !important;
  background: #fdf4f5 !important;
  color: var(--dp-brick) !important;
  font-size: 13px;
  font-weight: 700;
}
.validation-summary:not(#_) .validation-summary-body li::before { display: none !important; }

/* "Success! Your draft has been saved." banner, and the Success / Error messages
   in the Save as Template pop-up. The app draws them with an inline lime or red
   border and an 8px bar; these become soft green or red notes with a 4px accent */
.row:has(> .py-4[style]):has(:is(.fa-check-circle, .fa-times-circle)) {
  margin: 0 0 4px !important;
  overflow: hidden;
  border: 1px solid #cbe3d3 !important;
  border-left: 4px solid #3f8f5f !important;
  border-radius: var(--dp-radius) !important;
  background: #eef6f0 !important;
}
.row:has(> .py-4[style]):has(.fa-times-circle) { border-color: #f2c9ce !important; border-left-color: var(--dp-brick) !important; background: #fdf4f5 !important; }
.row:has(> .py-4[style]):has(:is(.fa-check-circle, .fa-times-circle)) > .py-4[style] { display: none !important; }
.row:has(> .py-4[style]):has(:is(.fa-check-circle, .fa-times-circle)) > .d-flex {
  justify-content: flex-start !important;
  gap: 7px;
  padding: 10px 14px !important;
  color: var(--dp-ink-2);
  font-size: 13.5px;
}
.row:has(> .py-4[style]) .fa-check-circle { color: #3f8f5f !important; font-size: 15px; }
.row:has(> .py-4[style]) .fa-times-circle { color: var(--dp-brick) !important; font-size: 15px; }
.row:has(> .py-4[style]):has(:is(.fa-check-circle, .fa-times-circle)) .font-weight-bold { margin-left: 0 !important; font-weight: 800 !important; }
.row:has(> .py-4[style]):has(.fa-check-circle) .font-weight-bold { color: #2f6f49; }
.row:has(> .py-4[style]):has(.fa-times-circle) .font-weight-bold { color: var(--dp-brick); }
.row:has(> .py-4[style]):has(:is(.fa-check-circle, .fa-times-circle)) .ml-2 { margin-left: 0 !important; }

/* Language box stops short of Home Studio when the two sit side by side */
@media (min-width: 768px) and (max-width: 1199px) {
  .client-casting .talentLocationBox > [class*="col-md-6"]:has(+ .only-for-audio-audition) { padding-right: 24px !important; }
}

/* hint lines under fields (e.g. under Project Requirements): small and grey */
.client-casting .client-casting-details textarea + .fw-i,
.client-casting .client-casting-details input + .fw-i { margin-top: 6px !important; color: var(--dp-ink-3) !important; font-size: 12.5px !important; font-style: normal !important; }

/* 2c. Labels — ink, 13px bold, coral asterisk on required */
.client-casting .client-casting-details label,
.client-casting .client-casting-details .mandatory {
  color: var(--dp-ink);
  font-size: 13px;
  font-weight: 700;
}
.client-casting .client-casting-details label.mandatory::after,
.client-casting .client-casting-details .add-agency-wrapper.mandatory > label::after {
  content: " *";
  color: var(--dp-coral);
  font-weight: 800;
}
.client-casting .client-casting-details label.mandatory > .asterisk { display: none; }
/* option labels next to checkboxes: regular weight, 14px, no asterisk */
.client-casting .client-casting-details .custom-control-label {
  font-size: 14px;
  font-weight: 400;
  color: var(--dp-ink);
  padding-left: 2px;
}
.client-casting .client-casting-details .custom-control-label::after { content: ""; }
.client-casting .client-casting-details label .fa-question-circle { color: var(--dp-ink-3); font-size: 13px; }

/* Union / Non-Union / Both is a single choice, so it gets radio circles */
.client-casting .client-casting-details .union-box .custom-control-label::before,
.client-casting .client-casting-details .union-box .custom-control-label::after { border-radius: 50% !important; }
.client-casting .client-casting-details .union-box .custom-control-input:checked ~ .custom-control-label::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='1.9' fill='%23fff'/%3e%3c/svg%3e") !important;
  background-size: 100% !important;
}

/* 2d. One input container style for every control */
.client-casting .client-casting-details input[type=text]:not(.specific-city),
.client-casting .client-casting-details input[type=number],
.client-casting .client-casting-details select,
.client-casting .client-casting-details textarea,
.client-casting .client-casting-details .form-control.theme-field {
  font-size: 14px;
  color: var(--dp-ink);
  background-color: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  box-shadow: none;
  transition: border-color .12s, box-shadow .12s;
}
.client-casting .client-casting-details input[type=text]:not(.specific-city),
.client-casting .client-casting-details select {
  height: 40px;
  padding: 9px 12px !important;
}
.client-casting .client-casting-details textarea,
.client-casting .client-casting-details .form-control.theme-field {
  padding: 10px 12px !important;
  min-height: 104px;
  line-height: 1.55;
}
.client-casting .client-casting-details input:not(.specific-city):hover,
.client-casting .client-casting-details select:hover,
.client-casting .client-casting-details textarea:hover { border-color: var(--dp-line-hover) !important; }

.client-casting .client-casting-details input:focus,
.client-casting .client-casting-details select:focus,
.client-casting .client-casting-details textarea:focus {
  outline: none;
  border-color: var(--dp-coral) !important;
  box-shadow: var(--dp-ring) !important;
}
.client-casting .client-casting-details input::placeholder,
.client-casting .client-casting-details textarea::placeholder,
.client-casting .client-casting-details .tokens-container > .placeholder {
  color: var(--dp-ink-3) !important;
  opacity: 1;
  font-size: 14px;
}
/* Dropdowns: coral chevron drawn inside the box, old ▾ hidden */
.client-casting .client-casting-details select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px !important;
  cursor: pointer;
  font-weight: 400 !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23EF6B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
}
.client-casting .client-casting-details .select-box::after,
.client-casting .client-casting-details .select-box:after { display: none !important; }

/* 2e. Date + time + timezone rows */
.client-casting .client-casting-details .talent-time { gap: 6px; flex-wrap: nowrap; }
.client-casting .client-casting-details .talent-time .casting-time-picker { flex: 1 1 0; min-width: 0; width: auto !important; }
.client-casting .client-casting-details .talent-time .add-on { display: block; }
.client-casting .client-casting-details .talent-time .select-box { flex: 0 0 auto; }
.client-casting .client-casting-details .talent-time select { margin: 0 !important; min-width: 118px; color: var(--dp-ink) !important; }

/* 2f. "Specific City/Cities" — small box beside its checkbox */
.client-casting .client-casting-details .specific-city {
  height: 32px !important;
  padding: 5px 10px !important;
  font-size: 13.5px;
  background: var(--dp-white);
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius);
}

/* 2g. Agency name — one box with the + inside it */
.client-casting .client-casting-details .add-agency-wrapper .add-on { display: flex; align-items: center; position: relative; }
.client-casting .client-casting-details .add-agency-wrapper .add-on input { width: 100%; padding-right: 38px !important; }
.client-casting .client-casting-details .add-agency-wrapper .custom-icon-plus { position: absolute; right: 12px; color: var(--dp-coral); }

/* 2h. Role names — boxed field, roles as pills */
.client-casting .client-casting-details .casting-tag .tokenize > .tokens-container {
  min-height: 40px;
  padding: 3px 8px 7px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  font-size: 14px;
}
.client-casting .client-casting-details .casting-tag .tokenize.focus > .tokens-container {
  border-color: var(--dp-coral) !important;
  box-shadow: var(--dp-ring) !important;
}
.client-casting .client-casting-details .casting-tag .tokenize > .tokens-container > .token {
  background-color: var(--dp-peach-100) !important;
  color: var(--dp-ink) !important;
  border: 1px solid var(--dp-peach-200) !important;
  border-radius: 20px !important;
  padding: 3px 26px 3px 12px !important;
  font-size: 13px;
  font-weight: 600;
}
.client-casting .client-casting-details .casting-tag .tokenize > .tokens-container > .token > .dismiss { color: var(--dp-ink-3) !important; right: 9px; }
.client-casting .client-casting-details .casting-tag .tokenize > .tokens-container > .token > .dismiss:hover { color: var(--dp-coral-hover) !important; }

/* 2i. Attachment groups (Specs, Scripts, Reference, NDA) — dashed panels */
.client-casting .client-casting-details .talent-spec .show-files-wrapper,
.client-casting .client-casting-details .talent-spec .single-file-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px !important;
  background: var(--dp-peach-50);
  border: 1px dashed var(--dp-line-strong);
  border-radius: var(--dp-radius);
}
.client-casting .client-casting-details .talent-spec .add-files-wrapper { padding: 0 !important; margin: 0 !important; }
.client-casting .client-casting-details .talent-spec .add-btn {
  height: auto !important;
  padding: 7px 14px !important;
  font-size: 13px;
}

/* 2j. Audition limit — boxed stepper */
.client-casting .client-casting-details .number-input {
  display: inline-flex !important;
  align-items: stretch;
  width: fit-content !important;
  padding: 0 !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  overflow: hidden;
}
.client-casting .client-casting-details .number-input .minus,
.client-casting .client-casting-details .number-input .plus {
  position: relative;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: var(--dp-white) !important;
}
.client-casting .client-casting-details .number-input .minus:hover,
.client-casting .client-casting-details .number-input .plus:hover { background: var(--dp-coral-soft) !important; }
.client-casting .client-casting-details .number-input .minus::after,
.client-casting .client-casting-details .number-input .plus::after {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  display: grid;
  place-items: center;
  background: transparent !important;
  color: var(--dp-coral) !important;
  font-size: 13px;
}
.client-casting .client-casting-details .number-input input[type=number] {
  width: 56px !important;
  height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  border-left: 1px solid var(--dp-line) !important;
  border-right: 1px solid var(--dp-line) !important;
  border-radius: 0 !important;
  text-align: center;
  font-weight: 700;
  box-shadow: none !important;
}

/* plain − and + instead of the old circle icons */
.client-casting .client-casting-details .number-input .minus::after { content: "\2212" !important; }
.client-casting .client-casting-details .number-input .plus::after  { content: "+" !important; }
.client-casting .client-casting-details .number-input .minus::after,
.client-casting .client-casting-details .number-input .plus::after {
  font-family: var(--dp-font) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

/* 2k. Agencies × limit maths — a quiet white panel, not a coral block */
.client-casting .client-casting-details .submission-stats table {
  background: var(--dp-white) !important;
  color: var(--dp-ink) !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  border-collapse: separate;
  overflow: hidden;
}
.client-casting .client-casting-details .submission-stats td,
.client-casting .client-casting-details .submission-stats th { padding: 7px 12px !important; color: var(--dp-ink); }
.client-casting .client-casting-details .submission-stats tr:last-child > * { background: var(--dp-peach-50); border-top: 1px solid var(--dp-line); }

/* 2l. Action bar — sticky, one primary, Discard as a ghost button */
.client-casting .client-casting-details .template-actions {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background: var(--dp-white);
  border-top: 1px solid var(--dp-line);
  padding: 10px 0;
  box-shadow: 0 -6px 16px -10px rgba(35, 32, 31, .22);
}
.client-casting .client-casting-details .template-actions .buttons-wrapper { display: flex; flex-wrap: wrap; align-items: center; width: 100%; }
.client-casting .client-casting-details .buttons-wrapper > span:has(> a.border-button)  { order: 0; margin-right: auto; }
.client-casting .client-casting-details .buttons-wrapper > span:has(> .save)            { order: 1; }
.client-casting .client-casting-details .buttons-wrapper > span:has(> #save-template)   { order: 2; }
.client-casting .client-casting-details .buttons-wrapper > span:has(> .publish-casting) { order: 3; }
.client-casting .client-casting-details .template-actions .btn { height: auto; padding: 9px 17px !important; }
.client-casting .client-casting-details .template-actions button.save,
.client-casting .client-casting-details .template-actions #save-template {
  background: var(--dp-white) !important;
  color: var(--dp-coral) !important;
  border: 1px solid var(--dp-coral) !important;
}
.client-casting .client-casting-details .template-actions button.save:not(:disabled):hover,
.client-casting .client-casting-details .template-actions #save-template:not(:disabled):hover {
  background: var(--dp-coral-soft) !important;
  color: var(--dp-coral-hover) !important;
}
.client-casting .client-casting-details .template-actions .publish-casting {
  padding: 11px 28px !important;
  font-size: 14.5px;
}
.client-casting .client-casting-details .template-actions a.border-button {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--dp-ink-2) !important;
}
.client-casting .client-casting-details .template-actions a.border-button:hover { background: var(--dp-peach-100) !important; color: var(--dp-ink) !important; }
.client-casting .client-casting-details .template-actions a.border-button .fa-times { display: none; }

/* 2m. Phones: action bar not sticky, Cast first and full width */
@media (max-width: 767px) {
  .client-casting .client-casting-details .template-actions { position: static; box-shadow: none; }
  .client-casting .client-casting-details .buttons-wrapper > span:has(> .publish-casting) { order: -1; flex: 1 1 100%; }
  .client-casting .client-casting-details .template-actions .publish-casting { width: calc(100% - 16px); }
  .client-casting .client-casting-details .buttons-wrapper > span:has(> a.border-button) { order: 4; margin-right: 0; flex: 1 1 100%; text-align: center; }
}

/* ==========================================================================
   3. CASTING DETAIL / AUDITIONS PAGE  (/casting/{id}/show)
   Scope: :is(.casting-detail-wrapper, .public-casting-show)
   ========================================================================== */

/* 3a. Header ---------------------------------------------------------------- */
/* "← Casting List" becomes a small breadcrumb */
:is(.casting-detail-wrapper, .public-casting-show) .action-header .back a {
  color: var(--dp-coral);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
:is(.casting-detail-wrapper, .public-casting-show) .action-header .back img { height: 11px; padding: 0 !important; }
/* Archive / status link at top right — a quiet button */
:is(.casting-detail-wrapper, .public-casting-show) .action-header .action-buttons { font-size: 13.5px; }
:is(.casting-detail-wrapper, .public-casting-show) .action-header .action-buttons .link {
  color: var(--dp-ink-2) !important;
  font-weight: 700;
  padding: 7px 12px;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
}
:is(.casting-detail-wrapper, .public-casting-show) .action-header .action-buttons .link:hover { border-color: var(--dp-coral); color: var(--dp-coral) !important; }

/* "Submissions closed" banner — information, so neutral, with a coral action */
:is(.casting-detail-wrapper, .public-casting-show) .alert.alert-warning {
  background: #edf0f3;
  border: 1px solid #dce2e8;
  border-radius: var(--dp-radius);
  color: var(--dp-ink-2);
  font-size: 13.5px;
  padding: 11px 44px 11px 16px;
  margin-top: 14px !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .alert.alert-warning .warning-left-bar { display: none; }
:is(.casting-detail-wrapper, .public-casting-show) .alert.alert-warning .fa-exclamation-circle { color: #6e7b8a; margin-right: 4px; }
:is(.casting-detail-wrapper, .public-casting-show) .alert.alert-warning strong { color: var(--dp-ink); font-weight: 800; }
:is(.casting-detail-wrapper, .public-casting-show) .alert.alert-warning .link strong { color: var(--dp-coral); }
:is(.casting-detail-wrapper, .public-casting-show) .alert.alert-warning .close { color: var(--dp-ink-3); opacity: 1; text-shadow: none; }

/* Title — ink, heavy, not coral */
:is(.casting-detail-wrapper, .public-casting-show) .casting-table-title {
  color: var(--dp-ink) !important;
  font-size: 24px !important;
  font-weight: 900;
  letter-spacing: -.018em;
}
/* Invite / Share links on the right: compact coral action links */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-tab .link {
  color: var(--dp-coral) !important;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 2;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-tab .link:hover { color: var(--dp-coral-hover) !important; }

/* Client / Job# / dates line */
:is(.casting-detail-wrapper, .public-casting-show) .client-name-wrapper { border-bottom: 1px solid var(--dp-line); margin-bottom: 18px; padding-bottom: 12px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .client-name-wrapper > div:first-child { font-size: 15px !important; color: var(--dp-ink-2); }
:is(.casting-detail-wrapper, .public-casting-show) .client-name-wrapper > div:first-child > :not(.fw-i) { font-weight: 800; color: var(--dp-ink); }
:is(.casting-detail-wrapper, .public-casting-show) .client-name-wrapper .fw-i { font-style: normal; }
:is(.casting-detail-wrapper, .public-casting-show) .client-name-wrapper div.fw-i.fs-16 { font-size: 13px !important; color: var(--dp-ink-3); margin-top: 3px; }
:is(.casting-detail-wrapper, .public-casting-show) .client-name-wrapper .row .p-2 { font-size: 14px !important; font-weight: 700; color: var(--dp-ink); }
:is(.casting-detail-wrapper, .public-casting-show) .client-name-wrapper .row .p-2 span.fw-i {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--dp-ink-3);
}

/* 3b. "Auditions" + All / Maybe / Favorites / Selects ----------------------- */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-title { font-size: 17px !important; font-weight: 800; color: var(--dp-ink); }
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs {
  display: inline-flex;
  flex-wrap: nowrap;
  gap: 2px;
  padding: 3px;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .nav-item {
  flex: 0 0 auto;
  border: 0 !important;
  border-radius: 4px;
  padding: 6px 13px !important;
  background: transparent !important;
  font-size: 13.5px;
  font-weight: 700;
}
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .nav-item a { color: var(--dp-ink-2) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .nav-item:hover a { color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .nav-item.active {
  background: var(--dp-white) !important;
  box-shadow: 0 1px 2px rgba(35, 32, 31, .08);
}
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .nav-item.active > a:first-child { color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .fa-thumbs-up { color: #6e7b8a; }
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .fa-heart     { color: var(--dp-coral); }
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .fa-star      { color: #e0a32e; }
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs .fa-download  { color: var(--dp-ink-3); font-size: 12px; }
:is(.casting-detail-wrapper, .public-casting-show) .share-casting .nav-tabs a:hover .fa-download { color: var(--dp-coral); }

/* 3c. View: List | Talent Agency | Role → segmented; search → boxed field ---- */
:is(.casting-detail-wrapper, .public-casting-show) .search-wrapper { margin: 14px 0 6px; gap: 12px; }
:is(.casting-detail-wrapper, .public-casting-show) .audition-list-views {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  font-size: 0;            /* hides the "View:" text and the | separators */
}
:is(.casting-detail-wrapper, .public-casting-show) .audition-list-views a {
  font-size: 13px;
  font-weight: 700;
  color: var(--dp-ink-2) !important;
  padding: 6px 13px;
  border-radius: 4px;
  text-decoration: none !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .audition-list-views a:hover { color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .audition-list-views a.active {
  background: var(--dp-white);
  color: var(--dp-coral) !important;
  box-shadow: 0 1px 2px rgba(35, 32, 31, .08);
}
:is(.casting-detail-wrapper, .public-casting-show) .search-talent .search-form {
  height: 38px;
  min-width: 240px;
  background: var(--dp-white);
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  overflow: hidden;
}
:is(.casting-detail-wrapper, .public-casting-show) .search-talent .search-form:focus-within { border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring); }
:is(.casting-detail-wrapper, .public-casting-show) .search-talent .input-group-text { background: transparent; color: var(--dp-ink-3); }
:is(.casting-detail-wrapper, .public-casting-show) .search-talent input { font-size: 14px; color: var(--dp-ink); background: transparent !important; box-shadow: none !important; }
:is(.casting-detail-wrapper, .public-casting-show) .search-talent input::placeholder { color: var(--dp-ink-3); }

/* 3d. Auditions table -------------------------------------------------------- */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table table { border-collapse: collapse; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th {
  background: var(--dp-white) !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--dp-line-strong) !important;
  padding: 11px 10px !important;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--dp-ink-3) !important;
  vertical-align: bottom;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th a { color: var(--dp-ink-3) !important; text-decoration: none; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th a:hover,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th a.asc,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th a.desc { color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th .fa-sort { opacity: .45; }

/* rows: white, hairline dividers, peach on hover — no zebra stripes */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody tr,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table.table-striped tbody tr:nth-of-type(odd),
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .table-striped tbody tr:nth-of-type(odd) { background: var(--dp-white) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody tr:hover { background: var(--dp-peach-50) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td {
  padding: 12px 10px !important;
  border-top: 0 !important;
  border-bottom: 1px solid var(--dp-line) !important;
  font-size: 14px;
  color: var(--dp-ink-2);
  vertical-align: middle !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td:nth-child(3) span { font-weight: 800; color: var(--dp-ink); }  /* talent name */

/* reactions: round 34px hit areas; colours carry meaning only when on */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-maybe,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-favorite,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-select {
  display: inline-grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0 !important;
  border-radius: 50%;
  color: var(--dp-ink-3) !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-maybe:hover,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-favorite:hover,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-select:hover { background: var(--dp-peach-100); color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions i.s-20 { font-size: 17px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions i.far { color: var(--dp-ink-3) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .maybe-selected    { color: #6e7b8a !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .favorite-selected { color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .select-selected   { color: #e0a32e !important; }

/* download: small square icon button */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .down-btn {
  display: inline-grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 8px;
  padding: 0 !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .down-btn i { font-size: 13px !important; color: var(--dp-ink-3) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .down-btn:hover { border-color: var(--dp-coral); }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .down-btn:hover i { color: var(--dp-coral) !important; }

/* play: coral ring, the one thing in the row you press most */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .play-btn {
  display: inline-grid !important;
  place-items: center;
  width: 34px;
  height: 34px;
  margin: 0 8px 0 6px;
  padding: 0 !important;
  border: 1.5px solid var(--dp-coral);
  border-radius: 50%;
  background: var(--dp-white);
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .play-btn i {
  color: var(--dp-coral) !important;
  font-size: 13px !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .play-btn i.fa-play-circle::before { content: "\f04b"; }   /* plain ▶ */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .play-btn:hover { background: var(--dp-coral); }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .play-btn:hover i { color: var(--dp-white) !important; }
/* already-played rows keep a lighter ring so you can see where you've been */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .play-btn.visited { border-color: var(--dp-line-strong); }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .play-btn.visited i { color: var(--dp-ink-3) !important; }

/* Details: one fixed-width button on every row. "Details" sits on the left;
   the right side is a reserved slot for the note indicators (agent-note page
   icon, team-notes count), so the column lines up whether or not a row has notes */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  width: 116px;
  height: 32px;
  padding: 0 8px 0 11px;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  color: var(--dp-ink) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] .link + * { margin-left: auto !important; }
/* coral outline + coral label: it reads as a button, matching the other coral buttons */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_) { border: 1.5px solid var(--dp-coral) !important; background: var(--dp-white) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_) .link { color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_):hover { background: var(--dp-coral-soft) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:hover { border-color: var(--dp-coral); }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:hover .link { color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] > span:first-child { display: none; }  /* the "|" */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] .link { color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] .fa-file { color: var(--dp-ink-3); }
:is(.casting-detail-wrapper, .public-casting-show) .note-thread-notification {
  min-width: 18px;
  height: 18px;
  line-height: 18px !important;
  padding: 0 5px;
  border-radius: 9px !important;
  background: var(--dp-ink) !important;
  color: var(--dp-white) !important;
  font-size: 10px !important;
  font-weight: 800;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .play-inline-toggle { color: var(--dp-ink-3) !important; }

/* 3e. Casting sheet details below the table — label / value grid ------------ */
:is(.casting-detail-wrapper, .public-casting-show) > .divider { border-top: 1px solid var(--dp-line); height: 0; margin: 28px 0 8px !important; background: none; }
:is(.casting-detail-wrapper > .divider ~ .row, .public-casting-show > .row.m-0) > [class*="col-"] {
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--dp-ink-3);
}
:is(.casting-detail-wrapper > .divider ~ .row, .public-casting-show > .row.m-0) .fw-i {
  display: inline-block;
  margin-top: 3px;
  font-size: 14px !important;
  font-style: normal !important;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--dp-ink);
}
:is(.casting-detail-wrapper > .divider ~ .row, .public-casting-show > .row.m-0) .fw-i .color-theme { color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper > .divider ~ .row, .public-casting-show > .row.m-0) a.link b,
:is(.casting-detail-wrapper > .divider ~ .row, .public-casting-show > .row.m-0) .send-note { color: var(--dp-coral) !important; font-weight: 700; text-transform: none; letter-spacing: 0; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-docs-wrapper .d-flex.fw-i { display: flex; }
/* Notes box */
:is(.casting-detail-wrapper, .public-casting-show) .alert.bg-theme-light {
  background: var(--dp-peach-50) !important;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink-2);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

/* 3f. Footer actions as secondary buttons ------------------------------------ */
:is(.casting-detail-wrapper, .public-casting-show) .action-footer { border-top: 1px solid var(--dp-line); margin-top: 18px; padding-top: 18px !important; gap: 8px; }
:is(.casting-detail-wrapper, .public-casting-show) .action-footer .link {
  display: inline-block;
  padding: 9px 16px !important;
  border: 1px solid var(--dp-coral);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  color: var(--dp-coral) !important;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .action-footer .link:hover { background: var(--dp-coral-soft); color: var(--dp-coral-hover) !important; }

/* 3g. Fixes found in live testing ------------------------------------------- */
/* zebra striping lives on the cells, not the rows */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody tr > td { background: transparent !important; }
/* the "|" before Details is d-inline-block (!important in Bootstrap) */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] > span:first-child { display: none !important; }
/* stray "|" text before the Archive link, and between the footer links */
:is(.casting-detail-wrapper, .public-casting-show) .action-header .action-buttons { font-size: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .action-header .action-buttons .link { font-size: 13.5px; }
:is(.casting-detail-wrapper, .public-casting-show) .action-footer .p-1 { font-size: 0; }
:is(.casting-detail-wrapper, .public-casting-show) .action-footer .link,
:is(.casting-detail-wrapper, .public-casting-show) .action-footer .link span { font-size: 13.5px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td:nth-child(5) { font-size: 13.5px; }
/* divider was a thick tan bar */
:is(.casting-detail-wrapper, .public-casting-show) > .divider { height: 1px !important; background: var(--dp-line) !important; border: 0 !important; }
/* "Talent Agencies" and "Notes" become section titles */
:is(.casting-detail-wrapper > .divider ~ .row, .public-casting-show > .row.m-0) > [class*="col-"] > div.fs-18:first-child {
  font-size: 15px !important;
  font-weight: 800;
  letter-spacing: .01em;
  text-transform: none;
  color: var(--dp-ink);
  padding-bottom: 8px;
  margin: 18px 0 10px;
  border-bottom: 1px solid var(--dp-line);
}

/* ==========================================================================
   4. CASTING DETAIL — NEW FEATURES (staging build, Sept 2026)
   Header card + action buttons, Self-tape / Callback Review tabs,
   filter bar, headshot column, reaction counts, asset download.
   Builds on section 3. Scope: :is(.casting-detail-wrapper, .public-casting-show)
   ========================================================================== */

/* 4a. Header: no peach card; title + meta on the left, buttons in a row ---- */
:is(.casting-detail-wrapper, .public-casting-show) .header-section {
  padding: 6px 0 16px !important;
  border-bottom: 1px solid var(--dp-line);
  margin-bottom: 4px;
}
:is(.casting-detail-wrapper, .public-casting-show) .header-section > .d-flex { align-items: flex-start; gap: 24px; flex-wrap: wrap; }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-left {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 280px;
}
:is(.casting-detail-wrapper, .public-casting-show) .header-section .main-title {
  color: var(--dp-ink) !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -.018em;
  line-height: 1.15;
  margin: 0 0 6px !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .header-section .casting-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  font-size: 14px;
  color: var(--dp-ink-2);
  margin-bottom: 12px;
}
:is(.casting-detail-wrapper, .public-casting-show) .header-section .casting-info strong { font-weight: 800; color: var(--dp-ink); }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .casting-info .job { font-size: 13px; color: var(--dp-ink-3); }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-left > .d-flex { gap: 28px; }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-left > .d-flex > div { margin: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-left small.text-muted {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--dp-ink-3) !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-left strong,
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-left .font-weight-bold { font-size: 14px; font-weight: 700 !important; color: var(--dp-ink); }

/* action buttons: one row of neutral buttons with small icons */
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-right { margin-left: auto; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  padding: 8px 14px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
}
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn:hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.d-none { display: none !important; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-icon {
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  color: var(--dp-ink-3) !important;
  font-size: 14px !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn:hover .action-icon { color: var(--dp-coral) !important; }
/* Schedule Callbacks, when it's available, is the main action */
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.has-selects {
  background: var(--dp-coral) !important;
  border-color: var(--dp-coral) !important;
  color: var(--dp-white) !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.has-selects .action-icon,
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.has-selects .action-icon i { color: var(--dp-white) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.has-selects:hover { background: var(--dp-coral-hover) !important; }
/* ...and when nobody is a Select yet, it reads as unavailable */
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.has-no-selects {
  background: var(--dp-peach-50) !important;
  border-style: dashed !important;
  color: var(--dp-ink-3) !important;
  cursor: not-allowed;
}
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.has-no-selects:hover { border-color: var(--dp-line-strong) !important; color: var(--dp-ink-3) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.has-no-selects .action-icon i { color: var(--dp-ink-3) !important; }

/* 4b. Self-tape Review / Callback Review — underline tabs ------------------- */
:is(.casting-detail-wrapper, .public-casting-show) .nav-tabs-custom {
  margin: 20px 0 0 !important;
  padding: 0 !important;
  gap: 4px;
  border-bottom: 1px solid var(--dp-line-strong) !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .nav-tabs-custom .nav-link {
  height: auto !important;
  margin-bottom: -1px;
  padding: 10px 16px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: var(--dp-ink-2) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .nav-tabs-custom a.nav-link:hover { color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .nav-tabs-custom .nav-link.active {
  color: var(--dp-coral) !important;
  border-bottom-color: var(--dp-coral) !important;
}
/* Locked round: visible, clearly not available yet, with a lock */
:is(.casting-detail-wrapper, .public-casting-show) .nav-tabs-custom .stage-locked {
  color: var(--dp-ink-3) !important;
  cursor: not-allowed;
}
:is(.casting-detail-wrapper, .public-casting-show) .nav-tabs-custom .stage-locked::before {
  content: "\f023";
  font-family: "Font Awesome 5 Pro" !important;
  font-weight: 900;
  font-size: 11px;
  margin-right: 7px;
}
:is(.casting-detail-wrapper, .public-casting-show) .nav-tabs-custom + .search-talent { align-self: flex-end; margin-bottom: 6px; }

/* 4c. Filter bar: no coral band; two segmented controls + icon buttons ------ */
:is(.casting-detail-wrapper, .public-casting-show) .filter-section {
  background: transparent !important;
  padding: 14px 0 6px !important;
  border: 0 !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
:is(.casting-detail-wrapper, .public-casting-show) .filter-section::before,
:is(.casting-detail-wrapper, .public-casting-show) .filter-section::after { display: none !important; }
/* View: List | Talent Agency | Role */
:is(.casting-detail-wrapper, .public-casting-show) .view-options {
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
  padding: 3px !important;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  font-size: 0 !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .view-options > span { display: none; }
:is(.casting-detail-wrapper, .public-casting-show) .view-options a {
  padding: 6px 13px !important;
  border-radius: 4px;
  color: var(--dp-ink-2) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  width: auto !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .view-options a:hover { color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .view-options a.active {
  background: var(--dp-white);
  color: var(--dp-coral) !important;
  box-shadow: 0 1px 2px rgba(35, 32, 31, .08);
}
/* All / Maybe / Favorites / Selects */
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs {
  display: inline-flex !important;
  gap: 2px;
  height: auto !important;
  padding: 3px;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
}
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .filter-tab {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  width: auto !important;
  height: auto !important;
  padding: 6px 13px !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 4px !important;
  color: var(--dp-ink-2) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .filter-tab:hover { color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .filter-tab.active {
  background: var(--dp-white) !important;
  color: var(--dp-coral) !important;
  box-shadow: 0 1px 2px rgba(35, 32, 31, .08);
}
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .filter-tab::before,
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .filter-tab::after { display: none !important; }
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .fa-thumbs-up { color: #6e7b8a !important; }
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .fa-heart     { color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .fa-star      { color: #e0a32e !important; }
/* share + download-all */
:is(.casting-detail-wrapper, .public-casting-show) .action-icons { display: inline-flex; gap: 6px; margin-left: 8px; }
:is(.casting-detail-wrapper, .public-casting-show) .action-icons .action-icon-btn {
  display: inline-grid !important;
  place-items: center;
  width: 36px !important;
  height: 36px !important;
  padding: 0 !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink-3) !important;
  font-size: 13px;
}
:is(.casting-detail-wrapper, .public-casting-show) .action-icons .action-icon-btn:hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }

/* 4d. Table with the headshot column ------------------------------------- */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td[style] { background-color: transparent !important; }  /* stripes set inline by script */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table td:has(> img.pull-headshots) { position: relative; width: 64px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table img.pull-headshots {
  display: block;
  width: 44px !important;
  height: 56px !important;
  object-fit: cover;
  border: 1px solid var(--dp-line) !important;
  border-radius: 4px;
  background: var(--dp-peach-200);
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table td:has(> img.pull-headshots) > .fa-images {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  margin-left: -10px;
  color: var(--dp-ink-3);
  font-size: 15px;
  pointer-events: none;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table td:has(> img.pull-headshots):hover img { border-color: var(--dp-coral) !important; }
/* talent name is column 4 when a headshot column is present */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table:has(img.pull-headshots) tbody td:nth-child(4) span { font-weight: 800; color: var(--dp-ink); }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td.compact { white-space: nowrap; font-size: 13.5px; }

/* reaction counts: coral badge (it opens "who reacted"), set up and to the right
   of the icon so it never sits on top of a filled thumbs-up, heart or star */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a { position: relative; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions :is(a.action-maybe, a.action-favorite, a.action-select) { margin-right: 2px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .reaction-bubble {
  position: absolute;
  top: -4px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px !important;
  margin: 0 !important;
  border: 2px solid var(--dp-white) !important;
  border-radius: 9px !important;
  background: var(--dp-coral) !important;
  color: var(--dp-white) !important;
  box-shadow: 0 0 0 1px var(--dp-white);
  font-size: 10px !important;
  font-weight: 800;
  line-height: 14px;
  text-align: center;
  cursor: pointer;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .reaction-bubble:empty { display: none !important; }

/* "Download all assets" — same square button as download */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[title^="Download all assets"] {
  display: inline-grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  padding: 0 !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[title^="Download all assets"] i { font-size: 13px !important; color: var(--dp-ink-3) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[title^="Download all assets"]:hover { border-color: var(--dp-coral); }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[title^="Download all assets"]:hover i { color: var(--dp-coral) !important; }

/* info banner: the template hard-codes a blue border inline */
:is(.casting-detail-wrapper, .public-casting-show) .alert.alert-warning[style] { border-color: #dce2e8 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .alert.alert-warning .fa-exclamation-circle[style] { color: #6e7b8a !important; }

/* 4e. Fixes found in live testing ------------------------------------------- */
/* staging CSS sets the inactive view links white (for the old coral bar) */
:is(.casting-detail-wrapper, .public-casting-show) .filter-section .view-options a.link:not(.active) { color: var(--dp-ink-2) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .filter-section .view-options a.link:not(.active):hover { color: var(--dp-ink) !important; }
/* agency name was 24px */
:is(.casting-detail-wrapper, .public-casting-show) .header-section .casting-info strong { font-size: 15px !important; }
/* header buttons in one row beside the title (the action column was fixed-width and stacked) */
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-left { flex: 1 1 320px; }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-right { flex: 0 1 auto; width: auto !important; max-width: 60%; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions { flex-direction: row !important; align-items: center; }
@media (max-width: 900px) {
  :is(.casting-detail-wrapper, .public-casting-show) .header-section .block-right { max-width: 100%; margin-left: 0; }
  :is(.casting-detail-wrapper, .public-casting-show) .casting-actions { justify-content: flex-start; }
}

/* 4f. Second round (voiceover: Audition Review / 2nd Rd) --------------------- */
/* "Request 2nd round" icon becomes a small labelled pill */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .direction-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  height: 26px;
  margin: 0 2px 0 8px !important;
  padding: 0 10px !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: 20px;
  background: var(--dp-white);
  color: var(--dp-ink-2) !important;
  font-size: 12px !important;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn i { font-size: 10px !important; color: inherit !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn::after { content: "2nd Rd"; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn:hover,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .direction-btn:hover { border-color: var(--dp-coral); color: var(--dp-coral) !important; }
/* already requested (the template adds .text-success): green, says so */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn.text-success {
  background: #e9f3ec;
  border-color: #cbe3d3;
  color: #3f8f5f !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn.text-success::after { content: "2nd Rd requested"; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn.text-success:hover { border-color: #3f8f5f; }
/* On the 2nd Rd tab: the direction the client sent, as a "Direction" pill */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .direction-btn { gap: 6px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .direction-btn i { font-size: 12px !important; color: var(--dp-ink-3) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .direction-btn::after { content: "Direction"; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .direction-btn:hover i { color: var(--dp-coral) !important; }

/* Bulk bar that appears when rows are ticked: Download / Request 2nd round */
:is(.casting-detail-wrapper, .public-casting-show) .bulk-actions { display: flex; justify-content: flex-end; gap: 8px; margin: 6px 0 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .bulk-actions.d-none { display: none !important; }
:is(.casting-detail-wrapper, .public-casting-show) .bulk-actions > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 7px 13px !important;
  border: 1px solid var(--dp-coral);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  color: var(--dp-coral) !important;
  font-size: 13px;
  font-weight: 700 !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .bulk-actions > span:hover { background: var(--dp-coral-soft); }

/* Talent name is a link to the public profile on these castings */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td .public-profile { color: var(--dp-ink) !important; font-weight: 800; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td .public-profile:hover { color: var(--dp-coral) !important; }

/* Header: the template's own "primary" button (e.g. Add Auditions) stays solid coral */
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.primary {
  background: var(--dp-coral) !important;
  border-color: var(--dp-coral) !important;
  color: var(--dp-white) !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.primary .action-icon,
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.primary .action-icon i { color: var(--dp-white) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn.primary:hover { background: var(--dp-coral-hover) !important; color: var(--dp-white) !important; }

/* Top row: "Casting List | Make Changes" and "Close Submissions | Archive" lose the stray bars */
:is(.casting-detail-wrapper, .public-casting-show) .action-header .back { font-size: 0 !important; display: flex; align-items: center; gap: 14px; }
:is(.casting-detail-wrapper, .public-casting-show) .action-header .back a { font-size: 12.5px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .action-header .action-buttons { gap: 8px; }

/* 4g. Header buttons stacked in a compact column beside the title ----------
       (replaces the single row from 4a/4e: at common window widths the row
       wrapped under the title and left a large empty block) */
:is(.casting-detail-wrapper, .public-casting-show) .header-section { padding: 4px 0 12px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .header-section > .d-flex { flex-wrap: nowrap !important; align-items: flex-start; gap: 20px; }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-left { flex: 1 1 auto; min-width: 0; }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .casting-info { margin-bottom: 10px; }
:is(.casting-detail-wrapper, .public-casting-show) .header-section .block-right { flex: 0 0 auto; max-width: none !important; margin-left: auto; margin-top: 6px; }
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions {
  flex-direction: column !important;
  align-items: stretch !important;
  flex-wrap: nowrap !important;
  gap: 6px !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .casting-actions .action-btn { justify-content: flex-start; padding: 7px 13px !important; font-size: 13px !important; }
/* phones: drop under the title as a wrapping row */
@media (max-width: 640px) {
  :is(.casting-detail-wrapper, .public-casting-show) .header-section > .d-flex { flex-wrap: wrap !important; }
  :is(.casting-detail-wrapper, .public-casting-show) .header-section .block-right { margin-left: 0; width: 100% !important; }
  :is(.casting-detail-wrapper, .public-casting-show) .casting-actions { flex-direction: row !important; flex-wrap: wrap !important; }
}


/* 4h. Tighter table so it fits at laptop widths without side-scrolling
       (it was ~50px too wide at 1280px with the headshot column) */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody tr > td { padding-left: 8px !important; padding-right: 8px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th .text-right { font-size: 9.5px; line-height: 1.5; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-maybe,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-favorite,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-select { width: 30px; height: 30px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .down-btn { margin-left: 4px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .play-btn { margin: 0 4px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[title^="Download all assets"] { margin-right: 4px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .play-inline-toggle { padding-left: 8px !important; padding-right: 4px !important; }

/* 4i. Notes indicators: Creative Team Notes count and the Agent Note page icon
       must be easy to spot: the count is a 20px circle and the page icon is
       full ink, right after the Details link. The key in the Actions
       header is readable sentence case to match. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] > span.px-1 {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  padding: 0 !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] .fa-file { color: var(--dp-ink) !important; font-size: 15px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .note-thread-notification {
  display: inline-grid !important;
  place-items: center;
  width: auto !important;
  min-width: 20px;
  height: 20px !important;
  padding: 0 5px !important;
  font-size: 11px !important;
  line-height: 1 !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th .text-right {
  color: var(--dp-ink-2) !important;
  font-size: 11px !important;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .02em;
  text-transform: none;
  white-space: nowrap;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th .text-right > div { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th .text-right .px-1 { padding: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th .text-right .fa-file { color: var(--dp-ink) !important; font-size: 14px !important; }

/* ==========================================================================
   5. AUDITION DETAILS POP-UP  (#audition_detail)
   Left-aligned title, hairline header/footer, small grey section labels,
   boxed note field, Save as the one primary button.
   ========================================================================== */
#audition_detail .modal-dialog { max-width: 620px; }
#audition_detail .modal-content {
  border: 0;
  border-radius: var(--dp-radius-lg) !important;
  box-shadow: 0 24px 60px rgba(35, 32, 31, .22);
  overflow: hidden;
}
#audition_detail .modal-header {
  align-items: center;
  padding: 16px 20px 13px !important;
  border-bottom: 1px solid var(--dp-line) !important;
}
#audition_detail .modal-title {
  width: auto;
  margin: 0;
  text-align: left !important;
  color: var(--dp-ink) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}
#audition_detail .modal-header .close {
  margin: 0 0 0 auto;
  padding: 0;
  width: 32px;
  height: 32px;
  border-radius: var(--dp-radius);
  color: var(--dp-ink-3) !important;
  font-size: 22px;
  font-weight: 400;
  opacity: 1;
  text-shadow: none;
}
#audition_detail .modal-header .close:hover { background: var(--dp-peach-100); color: var(--dp-ink) !important; }
#audition_detail .modal-body { padding: 4px 20px 0 !important; max-height: calc(100vh - 160px); overflow-y: auto; }

/* section labels: small grey caps with a hairline, not coral headings */
#audition_detail .subtitle {
  margin-top: 14px;
  padding: 0 0 6px !important;
  border-bottom: 1px solid var(--dp-line);
  color: var(--dp-ink-3) !important;
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: .07em;
  text-transform: uppercase;
  flex: 0 0 100%;
  max-width: 100%;
}
#audition_detail .row { margin: 0 !important; }
#audition_detail .row > [class*="col-"] { padding-left: 0; padding-right: 16px; }
#audition_detail .px-3 { padding-left: 0 !important; padding-right: 0 !important; }

/* values */
#audition_detail .modal-body,
#audition_detail .font-weight-light { color: var(--dp-ink); font-size: 14px !important; font-weight: 400 !important; }
#audition_detail .talent { font-weight: 800 !important; font-size: 15px !important; }
#audition_detail .agent-details a,
#audition_detail .modal-body a { color: var(--dp-coral) !important; font-weight: 700; text-decoration: none; }
#audition_detail .agent-notes { color: var(--dp-ink-2); padding-top: 8px !important; }

/* second-round direction: a quiet note card */
#audition_detail .direction-detail {
  margin-top: 8px;
  padding: 11px 13px !important;
  background: var(--dp-peach-50);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  color: var(--dp-ink);
}
#audition_detail .direction-detail .fw-i { font-style: normal; font-size: 12.5px !important; color: var(--dp-ink-3); }

/* reactions: one chip per reaction type with the names under it */
#audition_detail .reactions { padding-top: 8px !important; }
#audition_detail .reaction-group h6 {
  display: inline-flex !important;
  gap: 6px;
  margin-bottom: 6px !important;
  padding: 4px 11px;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-peach-200);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  color: var(--dp-ink);
}
#audition_detail .reaction-group h6 i { margin-right: 0 !important; }
#audition_detail .reaction-group .maybe-selected    { color: #6e7b8a !important; }
#audition_detail .reaction-group .favorite-selected { color: var(--dp-coral) !important; }
#audition_detail .reaction-group .select-selected   { color: #e0a32e !important; }
#audition_detail .reaction-group ul { margin-left: 4px !important; font-size: 13px; color: var(--dp-ink-2); }

/* team notes thread */
#audition_detail .client-notes-wrapper > * {
  margin-top: 8px;
  padding: 11px 13px;
  background: var(--dp-peach-50);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
}
#audition_detail .client-note-thread > div:last-child { color: var(--dp-ink-3); font-size: 12.5px; white-space: nowrap; }  /* note date: quiet */
#audition_detail .more-btn { color: var(--dp-coral) !important; font-size: 13px; }

/* note field: white box like every other field */
#audition_detail textarea.c-text {
  min-height: 92px;
  margin-top: 4px;
  padding: 10px 12px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink);
  font-size: 14px !important;
  font-style: normal !important;
  line-height: 1.5;
}
#audition_detail textarea.c-text::placeholder { color: var(--dp-ink-3); font-style: normal; }
#audition_detail textarea.c-text:focus { outline: none; border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring); }

/* footer: hairline, buttons right, Cancel quiet, Save primary, no ALL CAPS */
#audition_detail .foot-btn {
  position: sticky;
  bottom: 0;
  margin: 8px -20px 0;
  padding: 12px 20px !important;
  background: var(--dp-white);
  border-top: 1px solid var(--dp-line);
}
#audition_detail .foot-btn > div { display: flex; justify-content: flex-end; gap: 8px; padding: 0 !important; }
#audition_detail .foot-btn .button,
#audition_detail .foot-btn .border-button {
  margin: 0 !important;
  padding: 8px 18px !important;
  text-transform: none !important;
  font-size: 13.5px !important;
}
#audition_detail .foot-btn .border-button {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--dp-ink-2) !important;
}
#audition_detail .foot-btn .border-button:hover { background: var(--dp-peach-100) !important; color: var(--dp-ink) !important; }

/* 5b. Fixes found in live testing ------------------------------------------- */
/* close × sat above the title (absolutely positioned in the old theme) */
#audition_detail .modal-header { display: flex !important; }
#audition_detail .modal-header .close { position: static !important; order: 2; }
#audition_detail .modal-title { margin: 0 !important; padding: 0 !important; line-height: 1.3; }
/* "Talent" and "Role" are bare text in the column — make them labels */
#audition_detail [class*="col-"]:has(> .talent),
#audition_detail [class*="col-"]:has(> .role) {
  padding-top: 10px !important;
  color: var(--dp-ink-3);
  font-size: 10.5px !important;
  font-weight: 800 !important;
  letter-spacing: .07em;
  text-transform: uppercase;
}
#audition_detail .talent,
#audition_detail .role { letter-spacing: 0; text-transform: none; color: var(--dp-ink); }
#audition_detail .role { font-size: 14px !important; padding-top: 4px; }
#audition_detail .reactions { padding-bottom: 6px !important; }

/* ==========================================================================
   6. CASTING LISTS  (Active, Open, Archived, Saved Drafts, Previous,
      Templates, Shared)  Scope: .list that isn't a casting detail page
   ========================================================================== */
.casting-container .list:not(.casting-detail-wrapper) .casting-table-title {
  color: var(--dp-ink) !important;
  font-size: 23px !important;
  font-weight: 800;
  letter-spacing: -.01em;
}
/* every search box in the app: one boxed field */
.search-form.input-group {
  height: 38px;
  background: var(--dp-white);
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  overflow: hidden;
  flex-wrap: nowrap;
}
.search-form.input-group:focus-within { border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring); }
.search-form .input-group-text { background: transparent !important; color: var(--dp-ink-3) !important; }
.search-form input { font-size: 14px !important; color: var(--dp-ink) !important; background: transparent !important; box-shadow: none !important; }
.search-form input::placeholder { color: var(--dp-ink-3) !important; }

/* list tables */
.casting-container .list:not(.casting-detail-wrapper) .content { padding: 8px 0 0 !important; }
.casting-container .list:not(.casting-detail-wrapper) .table { border-collapse: collapse; margin: 0; }
.casting-container .list:not(.casting-detail-wrapper) .table thead th {
  background: var(--dp-white) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line-strong) !important;
  padding: 11px 12px !important;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
.casting-container .list:not(.casting-detail-wrapper) .table thead th a { color: var(--dp-ink-3) !important; text-decoration: none; }
.casting-container .list:not(.casting-detail-wrapper) .table thead th a.asc,
.casting-container .list:not(.casting-detail-wrapper) .table thead th a.desc,
.casting-container .list:not(.casting-detail-wrapper) .table thead th a:hover { color: var(--dp-ink) !important; }
.casting-container .list:not(.casting-detail-wrapper) .table thead th .fa-sort { opacity: .45; }
.casting-container .list:not(.casting-detail-wrapper) .table tbody tr,
.casting-container .list:not(.casting-detail-wrapper) .table-striped tbody tr:nth-of-type(odd) { background: var(--dp-white) !important; }
.casting-container .list:not(.casting-detail-wrapper) .table tbody tr > * {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line) !important;
  padding: 13px 12px !important;
  color: var(--dp-ink-2);
  font-size: 14px !important;
  font-weight: 400;
  vertical-align: middle !important;
}
.casting-container .list:not(.casting-detail-wrapper) .table tbody tr.cast-list:hover { background: var(--dp-peach-50) !important; }
.casting-container .list:not(.casting-detail-wrapper) .table tbody .col-sm-11,
.casting-container .list:not(.casting-detail-wrapper) .table tbody td > .col { padding: 0 !important; }
.casting-container .list:not(.casting-detail-wrapper) .table tbody .fs-14 { color: var(--dp-ink); font-size: 14.5px !important; font-weight: 800 !important; }
.casting-container .list:not(.casting-detail-wrapper) .table tbody .fs-12 { color: var(--dp-ink-3); font-size: 12.5px !important; font-style: normal !important; }
.casting-container .list:not(.casting-detail-wrapper) .table tbody td.text-right { text-align: left !important; padding-right: 12px !important; }
/* empty state */
.casting-container .list:not(.casting-detail-wrapper) .table tbody td[colspan] {
  padding: 44px 12px !important;
  text-align: center;
  color: var(--dp-ink-3);
  border-bottom: 1px dashed var(--dp-line-strong) !important;
}
/* Archived: Download | Purge — Download is a link, Purge is a quiet destructive action */
.casting-container .list:not(.casting-detail-wrapper) .table tbody tr > th { font-size: 0 !important; white-space: nowrap; }
.casting-container .list:not(.casting-detail-wrapper) .table tbody tr > th .link {
  font-size: 13px !important;
  font-weight: 700;
  margin-right: 14px;
  color: var(--dp-coral) !important;
}
.casting-container .list:not(.casting-detail-wrapper) .table tbody tr > th #purge-casting,
.casting-container .list:not(.casting-detail-wrapper) .table tbody tr > th [data-url*="purge"] { color: var(--dp-ink-3) !important; }
.casting-container .list:not(.casting-detail-wrapper) .table tbody tr > th [data-url*="purge"]:hover { color: var(--dp-brick) !important; }

/* pagination, anywhere */
.pagination { gap: 4px; }
.pagination .page-link {
  min-width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0 8px;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-white) !important;
  color: var(--dp-ink-2) !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none !important;
}
.pagination .page-link:hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }
.pagination .page-item.active .page-link { background: var(--dp-coral) !important; border-color: var(--dp-coral) !important; color: var(--dp-white) !important; }
.pagination .page-item.disabled .page-link { opacity: .45; }


/* ==========================================================================
   7. POP-UPS — every Bootstrap modal in the app
   Same pattern as the Audition Details pop-up (section 5): left-aligned
   title, hairline header, white boxed fields, buttons on the right,
   Cancel quiet, the action coral, no ALL CAPS.
   ========================================================================== */
.modal-backdrop.show { background: #23201f; opacity: .45; }
.modal .modal-content {
  border: 0 !important;
  border-radius: var(--dp-radius-lg) !important;
  box-shadow: 0 24px 60px rgba(35, 32, 31, .22);
  overflow: hidden;
  color: var(--dp-ink);
}
.modal .modal-header {
  display: flex !important;
  align-items: center;
  min-height: 52px;
  padding: 15px 20px 12px !important;
  border-bottom: 1px solid var(--dp-line) !important;
}
.modal .modal-title {
  flex: 1 1 auto;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  color: var(--dp-ink) !important;
  font-size: 17px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
  line-height: 1.3;
  text-transform: none !important;
}
.modal .modal-header .close {
  position: static !important;
  order: 2;
  float: none;
  width: 32px;
  height: 32px;
  margin: 0 0 0 auto !important;
  padding: 0 !important;
  border-radius: var(--dp-radius);
  color: var(--dp-ink-3) !important;
  font-size: 22px;
  font-weight: 400;
  opacity: 1;
  text-shadow: none;
}
.modal .modal-header .close:hover { background: var(--dp-peach-100); color: var(--dp-ink) !important; }
.modal .modal-body { padding: 16px 20px !important; font-size: 14px; color: var(--dp-ink); }
.modal .modal-body .row { margin-left: 0; margin-right: 0; }
.modal .modal-body > .col-12,
.modal .modal-body form > .col-12,
.modal .modal-body .row > .col-12 { padding-left: 0; padding-right: 0; }

/* text inside pop-ups: no italics, no oversized instructions */
.modal .modal-body .fw-i { font-style: normal !important; }
.modal .modal-body .fs-18,
.modal .modal-body .fs-20 { font-size: 14px !important; }
.modal .modal-body .fs-18:not(.fw-i):first-child,
.modal .modal-body .subtitle,
.modal .modal-body label.font-weight-bold,
.modal .modal-body .col-form-label,
.modal .modal-body .font-weight-bold.col-sm,
.modal .modal-body .font-weight-bold.col-12 {
  color: var(--dp-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
.modal .modal-body .c-grey,
.modal .modal-body .text-muted { color: var(--dp-ink-3) !important; }
.modal .modal-body a:not(.button):not(.btn) { color: var(--dp-coral); font-weight: 700; }

/* fields */
.modal textarea,
.modal .c-text,
.modal .form-control,
.modal .theme-field,
.modal input[type=text],
.modal input[type=email],
.modal input[type=password],
.modal input[type=search] {
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink) !important;
  font-size: 14px !important;
  font-style: normal !important;
  box-shadow: none;
}
.modal input[type=text],
.modal input[type=email],
.modal input[type=password],
.modal .form-control:not(textarea) { height: 40px; padding: 8px 12px !important; }
.modal textarea,
.modal textarea.c-text { min-height: 96px; padding: 10px 12px !important; line-height: 1.5; }
.modal textarea::placeholder,
.modal input::placeholder { color: var(--dp-ink-3) !important; font-style: normal !important; }
.modal textarea:focus,
.modal input:focus,
.modal .form-control:focus { outline: none; border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring) !important; }
.modal .custom-file-label {
  height: 40px;
  padding: 9px 12px;
  border: 1px dashed var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-peach-50);
  color: var(--dp-ink-2);
  font-size: 13.5px;
}
.modal .custom-file-label::after { height: 38px; padding: 9px 12px; background: var(--dp-white); color: var(--dp-coral); font-weight: 700; border-left: 1px solid var(--dp-line-strong); }
.modal .dropzone {
  border: 1.5px dashed var(--dp-line-strong) !important;
  border-radius: var(--dp-radius-lg) !important;
  background: var(--dp-peach-50) !important;
  color: var(--dp-ink-2);
}
.modal .alert-danger {
  background: #fbe7e9;
  border: 1px solid #f2c9ce;
  border-radius: var(--dp-radius);
  color: var(--dp-brick);
  font-size: 13.5px;
}

/* button rows: right-aligned, a hairline above, no ALL CAPS */
.modal .button,
.modal .border-button,
.modal .btn { text-transform: none !important; letter-spacing: 0 !important; font-size: 13.5px !important; }
.modal .modal-action,
.modal .action-btn,
.modal .modal-footer,
.modal .foot-btn,
.modal .modal-body > .text-center:last-child,
.modal form > .text-center:last-child,
.modal .modal-content > .d-flex.justify-content-center {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 14px -20px -16px !important;
  padding: 12px 20px !important;
  border-top: 1px solid var(--dp-line) !important;
  background: var(--dp-white);
  text-align: right;
}
.modal .modal-content > .d-flex.justify-content-center { margin: 0 !important; }
.modal .modal-footer { margin: 0 !important; }
.modal .modal-action .button,
.modal .modal-action .border-button,
.modal .action-btn .button,
.modal .action-btn .border-button,
.modal .modal-footer .button,
.modal .modal-footer .btn,
.modal .modal-content > .d-flex .button { margin: 0 !important; padding: 8px 18px !important; }
/* Cancel / secondary in a pop-up footer: quiet */
.modal .border-button.cancel-btn,
.modal .border-button[data-dismiss="modal"],
.modal .btn.border-button,
.modal .button.cancel-btn {
  background: transparent !important;
  border-color: transparent !important;
  color: var(--dp-ink-2) !important;
}
.modal .border-button.cancel-btn:hover,
.modal .border-button[data-dismiss="modal"]:hover,
.modal .button.cancel-btn:hover { background: var(--dp-peach-100) !important; color: var(--dp-ink) !important; }
/* Cancel sits left of the action */
.modal .cancel-btn,
.modal [data-dismiss="modal"]:not(.close) { order: 0; }
.modal .confirm-btn,
.modal .save,
.modal .save-btn,
.modal .send-btn,
.modal .share-btn,
.modal .select-btn { order: 1; }

/* confirmation pop-up: message with room, then the buttons */
#confirmation-modal .modal-header,
#notify-confirmation-modal .modal-header { border-bottom: 0 !important; min-height: 0; padding-bottom: 0 !important; }
#confirmation-modal .confirmation-msg,
#notify-confirmation-modal .modal-body { text-align: left !important; font-size: 15px; color: var(--dp-ink); padding-top: 4px !important; }

/* download options: two clear choices, not two coral slabs */
#downloadOptionModal .modal-body { display: grid; gap: 8px; }
#downloadOptionModal .modal-body .button {
  margin: 0 !important;
  padding: 11px 14px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  color: var(--dp-ink) !important;
  text-align: left;
  font-weight: 700;
}
#downloadOptionModal .modal-body .button:hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }
#downloadOptionModal .modal-body .button i { color: var(--dp-ink-3); margin-right: 6px; }

/* reactions lists ("Who reacted") */
#reactionsModal .reaction-section h6 {
  display: inline-flex !important;
  gap: 6px;
  padding: 4px 11px;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-peach-200);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
}
#reactionsModal .maybe-selected { color: #6e7b8a !important; }
#reactionsModal .favorite-selected { color: var(--dp-coral) !important; }
#reactionsModal .select-selected { color: #e0a32e !important; }
#reactionsModal .reaction-list { margin: 6px 0 12px 4px; font-size: 13.5px; color: var(--dp-ink-2); }
#reactionsModal .spinner-border { color: var(--dp-coral) !important; }

/* share casting sheet: link row as a copyable field */
#shareCastingModal .share-link {
  display: inline-block;
  max-width: calc(100% - 40px);
  padding: 8px 12px;
  background: var(--dp-peach-50);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  font-size: 13px;
  color: var(--dp-ink-2);
  word-break: break-all;
  vertical-align: middle;
}
#shareCastingModal .copy-link i { font-size: 15px !important; color: var(--dp-coral); margin-left: 8px; }
#shareCastingModal .text-center:has(.share-btn) {
  display: flex;
  justify-content: flex-end;
  margin: 14px -20px -16px;
  padding: 12px 20px;
  border-top: 1px solid var(--dp-line);
}
#shareCastingModal .share-btn,
#shareCastingModal .return-btn { margin: 0 !important; padding: 8px 18px !important; }

/* notes list (agent notes, team notes): one card per note */
.modal .notes > *,
.modal .client-notes-wrapper > * {
  margin-bottom: 8px;
  padding: 11px 13px;
  background: var(--dp-peach-50);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
}
.modal .fa-spinner { color: var(--dp-coral); }

/* 7b. Fixes found in live testing ------------------------------------------- */
/* decorative illustrations in pop-up headers (e.g. Invite) */
.modal .modal-header > img { display: none !important; }
/* Some buttons are typed in capitals in the templates (SEND, INVITE).
   Show every pop-up button in sentence case: "SEND" → "Send". */
.modal .button,
.modal .border-button,
.permissions-page .button { text-transform: lowercase !important; display: inline-block; }
.modal .button::first-letter,
.modal .border-button::first-letter,
.permissions-page .button::first-letter { text-transform: uppercase; }
/* Invite pop-up: says what it does, and labels the field */
#inviteManagerModal .modal-title { font-size: 0 !important; }
#inviteManagerModal .modal-title::after { content: "Invite a team member"; font-size: 17px; }
#inviteManagerModal .form-group::before {
  content: "Email address";
  display: block;
  margin-bottom: 6px;
  color: var(--dp-ink);
  font-size: 13px;
  font-weight: 700;
}
#inviteManagerModal .modal-body { padding-top: 16px !important; }
/* 7c. dropdowns inside pop-ups: coral chevron like every other select */
.modal select,
.modal select.c-text {
  height: 40px;
  padding: 8px 32px 8px 12px !important;
  appearance: none;
  -webkit-appearance: none;
  background: var(--dp-white) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23EF6B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink) !important;
  font-size: 14px !important;
}
.modal input[type=date],
.modal input[type=time] {
  height: 40px; padding: 8px 12px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink) !important; font-size: 14px !important;
}
.modal .link-button.danger { background: none; border: 0; color: var(--dp-ink-3); font-size: 13px; font-weight: 700; }
.modal .link-button.danger:hover { color: var(--dp-brick); }
/* 7d. more fixes from live testing */
/* empty footers (all buttons hidden) shouldn't show a strip */
.modal .modal-footer:not(:has(> :not(.hide):not(.d-none))) { display: none !important; }
#shareCastingModal .row > .font-weight-bold.col-sm { padding-left: 0; }
/* buttons that start with an icon keep their own casing (::first-letter would hit the icon) */
.modal .button:has(i),
.modal .border-button:has(i) { text-transform: none !important; }
/* "Add Auditions" inside the upload pop-up is a picker, not the main action */
.modal .upload-btn.button { background: var(--dp-white) !important; border: 1px dashed var(--dp-coral) !important; color: var(--dp-coral) !important; padding: 8px 16px !important; }
.modal .upload-btn.button:hover { background: var(--dp-coral-soft) !important; }
/* the page was 32px wider than the window next to the sidebar */
.casting-container > .list,
.casting-container > .casting-main-content,
.casting-container > .w-100 { flex: 1 1 auto; min-width: 0; width: auto !important; box-sizing: border-box; }
/* download options pop-up had no title */
#downloadOptionModal .modal-header::before { content: "Download auditions"; flex: 1 1 auto; color: var(--dp-ink); font-size: 17px; font-weight: 800; }
/* tabs inside pop-ups (Invite Talents / Invited Talents): underline tabs */
.modal .nav-tabs { gap: 4px; border-bottom: 1px solid var(--dp-line-strong) !important; }
.modal .nav-tabs .nav-link {
  margin-bottom: -1px; padding: 9px 14px !important;
  background: transparent !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important;
  color: var(--dp-ink-2) !important; font-size: 14px !important; font-weight: 800 !important;
}
.modal .nav-tabs .nav-link:hover { color: var(--dp-ink) !important; }
.modal .nav-tabs .nav-link.active { color: var(--dp-coral) !important; border-bottom-color: var(--dp-coral) !important; }

/* 7e. Footers the app hides until they're needed (class "hide"/"d-none") must
   stay hidden: the generic footer rule above sets display:flex !important. */
.modal .modal-action.hide, .modal .action-btn.hide, .modal .foot-btn.hide, .modal .modal-footer.hide,
.modal .modal-action.d-none, .modal .action-btn.d-none, .modal .foot-btn.d-none, .modal .modal-footer.d-none,
.modal .text-center.hide, .modal .text-center.d-none { display: none !important; }

/* ==========================================================================
   8. TALENT DIRECTORY  (/talent-directory)  + talent profile pop-up
   ========================================================================== */
.talent-directory-container .large-title {
  color: var(--dp-ink) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}
/* Filters: a quiet panel, not a peach bar with a bordered box under it */
.talent-directory-container .filter-collapse .collapse-header {
  background: transparent !important;
  padding: 0 0 8px !important;
  color: var(--dp-ink-3);
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.talent-directory-container .filter-collapse .collapse-header i { color: var(--dp-ink-3); }
.talent-directory-container .filter-form {
  margin: 0 !important;
  padding: 14px 10px 6px !important;
  background: var(--dp-peach-50);
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius-lg);
}
.talent-directory-container .filter-label {
  margin-bottom: 4px !important;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.talent-directory-container .filter-label.empty { visibility: visible; }
/* every filter dropdown: a white box, label left, chevron right */
.talent-directory-container .multiselect.custom-select {
  height: 38px;
  padding: 7px 32px 7px 12px !important;
  background: var(--dp-white) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23EF6B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  box-shadow: none !important;
  color: var(--dp-ink) !important;
  font-size: 13.5px !important;
  text-align: left !important;
}
.talent-directory-container .multiselect.custom-select:hover { border-color: var(--dp-line-hover) !important; }
.talent-directory-container .multiselect.custom-select.disabled { background-color: var(--dp-peach-50) !important; color: var(--dp-ink-3) !important; opacity: 1; }
.talent-directory-container .multiselect-container.dropdown-menu {
  padding: 6px;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius-lg);
  box-shadow: 0 14px 34px rgba(35, 32, 31, .14);
  max-height: 320px;
  overflow-y: auto;
}
.talent-directory-container .multiselect-container .dropdown-item,
.talent-directory-container .multiselect-container label { border-radius: var(--dp-radius); font-size: 13.5px; color: var(--dp-ink); }
.talent-directory-container .multiselect-container .dropdown-item:hover,
.talent-directory-container .multiselect-container .active { background: var(--dp-peach-100) !important; color: var(--dp-ink) !important; }
.talent-directory-container .search-input-wrapper {
  height: 38px;
  align-items: center;
  margin-top: 17px;
  background: var(--dp-white);
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
}
.talent-directory-container .search-input-wrapper:focus-within { border-color: var(--dp-coral); box-shadow: var(--dp-ring); }
.talent-directory-container .search-input { border: 0 !important; background: transparent !important; font-size: 14px; color: var(--dp-ink); outline: none; }
.talent-directory-container .search-input-wrapper i { color: var(--dp-ink-3) !important; }

/* empty prompt */
.talent-directory-container .talent-directory-message,
.talent-directory-container .text-center:has(> .color-theme) { color: var(--dp-ink-2); font-size: 14px; }

/* results table */
.talent-directory-container table { border-collapse: collapse; }
.talent-directory-container table thead th {
  background: var(--dp-white) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line-strong) !important;
  padding: 11px 10px !important;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.talent-directory-container table thead th a { color: var(--dp-ink-3) !important; }
.talent-directory-container table tbody tr,
.talent-directory-container table tbody tr:nth-of-type(odd) { background: var(--dp-white) !important; }
.talent-directory-container table tbody tr:hover { background: var(--dp-peach-50) !important; }
.talent-directory-container table tbody td {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line) !important;
  padding: 10px !important;
  color: var(--dp-ink-2);
  font-size: 13.5px;
  vertical-align: middle !important;
}
.talent-directory-container table tbody td:nth-child(2) { color: var(--dp-ink); font-size: 14.5px; font-weight: 800; }
/* headshot thumbnails: small portrait, like the casting page */
.talent-directory-container table tbody td img {
  width: 44px !important;
  height: 56px !important;
  object-fit: cover;
  border: 1px solid var(--dp-line);
  border-radius: 4px;
  background: var(--dp-peach-200);
  opacity: 1 !important;
}
/* the reel player: slimmer */
.talent-directory-container table tbody td audio {   /* browser's own player, no tint or outline */
  height: 36px;
  max-width: 260px;
  margin: 0 !important;
  padding: 0 !important;
}
/* "992 matches found" and the Action menu */
.talent-directory-container .row:has(> .col .btn-group) { align-items: center; }
.talent-directory-container [data-toggle="dropdown"]._dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  color: var(--dp-ink) !important;
  font-size: 13.5px;
  font-weight: 700;
}
.talent-directory-container [data-toggle="dropdown"]._dropdown-toggle:hover { border-color: var(--dp-coral); color: var(--dp-coral) !important; }

/* every dropdown menu in the app */
.dropdown-menu {
  padding: 5px;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius-lg);
  box-shadow: 0 14px 34px rgba(35, 32, 31, .14);
}
.dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: var(--dp-radius);
  color: var(--dp-ink) !important;
  font-size: 14px;
  font-weight: 600;
}
.dropdown-menu .dropdown-item i { color: var(--dp-ink-3); }
.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus { background: var(--dp-peach-100); }
.dropdown-menu .dropdown-item:hover i { color: var(--dp-coral); }

/* --- talent profile pop-up (#talentSearchDetailModal) --- */
#talentSearchDetailModal .modal-header {
  position: absolute !important;
  top: 0;
  right: 0;
  z-index: 3;
  width: auto !important;
  min-height: 0;
  padding: 10px !important;
  border: 0 !important;
}
#talentSearchDetailModal .info-box.light,
#talentSearchDetailModal .talent-data > section > .info-box {
  background: var(--dp-white) !important;
  border-bottom: 1px solid var(--dp-line);
}
#talentSearchDetailModal .talent-data .container { padding: 20px 22px !important; }
#talentSearchDetailModal .talent-data .h3.color-theme {
  color: var(--dp-ink) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -.015em;
}
#talentSearchDetailModal img.border-6-theme {
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-peach-200);
}
#talentSearchDetailModal .h6 a { color: var(--dp-ink-3) !important; margin-right: 6px; }
#talentSearchDetailModal .h6 a:hover { color: var(--dp-coral) !important; }
#talentSearchDetailModal .user-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 13.5px; color: var(--dp-ink); }
#talentSearchDetailModal .user-info > div { display: block !important; margin: 0 !important; }
#talentSearchDetailModal .user-info .text-muted {
  display: block;
  margin-bottom: 1px;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#talentSearchDetailModal .user-info a { color: var(--dp-coral); font-weight: 700; word-break: break-all; }
/* section headings (Talent Agency, Headshots, Voice Over, Special Skills) */
#talentSearchDetailModal .color-theme.fs-18,
#talentSearchDetailModal .color-theme.fs-20 {
  margin: 18px 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--dp-line);
  color: var(--dp-ink) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
}
#talentSearchDetailModal .border-bottom-1-theme { border-bottom: 0 !important; }
#talentSearchDetailModal .color-theme.text-underline { color: var(--dp-ink-3) !important; text-decoration: none !important; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
#talentSearchDetailModal .badge.bg-theme {
  background: var(--dp-peach-100) !important;
  border: 1px solid var(--dp-peach-200);
  color: var(--dp-ink-2) !important;
  font-size: 11.5px;
  font-weight: 700 !important;
  padding: 4px 9px;
  border-radius: 20px !important;
  margin: 0 4px 6px 0;
}
/* headshots strip */
#talentSearchDetailModal .row-cols-5 .card {
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-peach-200);
  aspect-ratio: 4 / 5;
}
#talentSearchDetailModal .row-cols-5 .card:hover { border-color: var(--dp-coral) !important; }
/* demo cards */
#talentSearchDetailModal .actor-demo .card.info-box {
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius-lg) !important;
}
#talentSearchDetailModal .actor-demo .card-body { font-size: 13.5px; font-weight: 700 !important; color: var(--dp-ink); }
#talentSearchDetailModal .actor-demo audio { height: 36px; }  /* browser's own player, no tint or outline */

/* 8b. Fixes found in live testing ------------------------------------------- */
/* Filter names sat on top of the box (absolutely positioned); put them above it,
   like every other field label, and say "Any" inside an empty filter */
.talent-directory-container .filter { position: relative; }
.talent-directory-container .filter-label {
  position: static !important;
  transform: none !important;
  left: auto !important;
  top: auto !important;
  z-index: auto !important;
  display: block !important;
  text-align: left !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.talent-directory-container .filter:has(.filter-label.empty) .multiselect-selected-text { display: none; }
.talent-directory-container .filter:has(.filter-label.empty) .multiselect.custom-select::before {
  content: "Any";
  color: var(--dp-ink-3);
}
.talent-directory-container .multiselect-selected-text { color: var(--dp-ink) !important; visibility: visible !important; }

/* ==========================================================================
   9. PERMISSIONS + PROFILE  (body.permissions-page, body.profile-page)
   ========================================================================== */
/* page titles */
.permissions-page h2,
.profile-page .profile-wrapper h2 {
  color: var(--dp-ink) !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  letter-spacing: -.01em;
}
/* Invite: normal-case primary button */
.permissions-page .button { padding: 8px 18px !important; font-size: 13.5px !important; }  /* sentence case comes from 7b */
/* the speech-bubble explainer becomes a plain hint line */
.permissions-page .pointer-box-left {
  margin-left: 24px;
  padding: 10px 14px !important;
  background: var(--dp-peach-50) !important;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink-2) !important;
  font-size: 13.5px !important;
  font-weight: 400 !important;
  max-width: 460px;
}
.permissions-page .pointer-box-left::before,
.permissions-page .pointer-box-left::after { display: none !important; }
/* team table */
.permissions-page .table { margin-top: 18px; border-collapse: collapse; }
.permissions-page .table thead th {
  background: var(--dp-white) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line-strong) !important;
  padding: 11px 10px !important;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.permissions-page .table tbody tr,
.permissions-page .table-striped tbody tr:nth-of-type(odd) { background: var(--dp-white) !important; }
.permissions-page .table tbody tr > * {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line) !important;
  padding: 12px 10px !important;
  color: var(--dp-ink-2);
  font-size: 14px;
  font-weight: 400;
}
.permissions-page .table tbody td:nth-child(2) { color: var(--dp-ink); font-weight: 800; }
/* status as a pill */
.permissions-page .table .text-success,
.permissions-page .table .text-danger,
.permissions-page .table .text-warning {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
}
.permissions-page .table .text-success { background: #e9f3ec; border: 1px solid #cbe3d3; color: #3f8f5f !important; }
.permissions-page .table .text-danger  { background: #fbe7e9; border: 1px solid #f2c9ce; color: var(--dp-brick) !important; }
.permissions-page .table .text-warning { background: #fcf2df; border: 1px solid #f0dcb0; color: #96690f !important; }
.permissions-page .table .text-success::before,
.permissions-page .table .text-danger::before,
.permissions-page .table .text-warning::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
/* row actions: Disable quiet, Delete quiet-destructive */
.permissions-page .table td .link { margin-right: 12px; color: var(--dp-ink-2) !important; font-size: 13px; font-weight: 700; }
.permissions-page .table td .link:hover { color: var(--dp-coral) !important; }
.permissions-page .table td .link:last-child { color: var(--dp-ink-3) !important; }
.permissions-page .table td .link:last-child:hover { color: var(--dp-brick) !important; }

/* profile form: a centred card with boxed fields */
.profile-page .profile-wrapper {
  max-width: 760px;
  margin: 28px auto;
  padding: 26px 28px !important;
  background: var(--dp-white);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius-lg);
}
.profile-page #change-password-btn { color: var(--dp-coral) !important; font-size: 13.5px; font-weight: 700; }
.profile-page .profile-wrapper label.title,
.profile-page .profile-wrapper .col-form-label { color: var(--dp-ink) !important; font-size: 13px !important; font-weight: 700 !important; padding-bottom: 6px; }
.profile-page .profile-wrapper .form-control,
.profile-page .profile-wrapper .theme-field {
  height: 40px;
  padding: 8px 12px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink) !important;
  font-size: 14px !important;
  box-shadow: none !important;
}
.profile-page .profile-wrapper input[type=file].form-control { height: auto; padding: 8px !important; background: var(--dp-peach-50) !important; border-style: dashed !important; }
.profile-page .profile-wrapper .form-control::placeholder { color: var(--dp-ink-3) !important; }
.profile-page .profile-wrapper .form-control:focus { border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring) !important; }
.profile-page .profile-wrapper h5 {
  margin-top: 22px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--dp-line);
  color: var(--dp-ink) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
.profile-page .profile-wrapper .profile-logo { max-height: 80px; border: 1px solid var(--dp-line); border-radius: var(--dp-radius); padding: 6px; background: var(--dp-white); }
.profile-page .profile-wrapper .custom-control-label { font-size: 14px; color: var(--dp-ink); }
/* Update: right-aligned primary, not a full-width slab */
.profile-page .profile-wrapper .sm-12.lg-6 { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dp-line); }
.profile-page .profile-wrapper .sm-12.lg-6 .row { justify-content: flex-end !important; }
.profile-page .profile-wrapper .sm-12.lg-6 .col-sm { flex: 0 0 auto; max-width: none; }
.profile-page .profile-wrapper button[type=submit].button { width: auto !important; padding: 9px 22px !important; text-transform: none !important; }
/* 9b. Update button sits right (its column is full width) */
.profile-page .profile-wrapper .sm-12.lg-6 .col-sm { text-align: right; flex: 0 0 100% !important; max-width: 100% !important; }

/* ==========================================================================
   10. CALLBACK SCHEDULE BOARD  (.casting-schedule)
   Built from the board's own class list in main.css, so day columns, slots
   and tiles are covered even before any talent is scheduled.
   ========================================================================== */
/* header: back link, title, the three actions in a row */
.casting-schedule .action-header { padding: 4px 0 10px; }
.casting-schedule .action-header .back a {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--dp-coral) !important; font-size: 12.5px !important; font-weight: 700;
}
.casting-schedule .action-header .back img { height: 11px; }
.casting-schedule .action-buttons { gap: 8px; }
.casting-schedule .action-btn {
  display: inline-flex !important; align-items: center; gap: 8px;
  width: auto !important; height: auto !important; margin: 0 !important;
  padding: 8px 14px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink) !important;
  font-size: 13.5px !important; font-weight: 700 !important;
  text-decoration: none !important;
}
.casting-schedule .action-btn:hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }
.casting-schedule .action-btn .action-icon {
  width: auto !important; height: auto !important;
  background: transparent !important; color: var(--dp-ink-3) !important; font-size: 14px !important;
}
.casting-schedule .action-btn.primary { background: var(--dp-coral) !important; border-color: var(--dp-coral) !important; color: var(--dp-white) !important; }
.casting-schedule .action-btn.primary .action-icon { color: var(--dp-white) !important; }
.casting-schedule .action-btn.primary:hover { background: var(--dp-coral-hover) !important; }
.casting-schedule > h1 {
  margin: 8px 0 2px !important;
  color: var(--dp-ink) !important; font-size: 24px !important; font-weight: 900 !important; letter-spacing: -.018em;
}
.casting-schedule > p.text-muted { color: var(--dp-ink-3) !important; font-size: 13.5px !important; font-weight: 400 !important; max-width: 760px; }

/* left rail: "To Schedule" */
.casting-schedule .schedule-rail {
  background: var(--dp-white);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius-lg);
  padding: 14px;
}
.casting-schedule .schedule-rail h3 { color: var(--dp-ink) !important; font-size: 15px !important; font-weight: 800 !important; }
.casting-schedule .schedule-rail .text-muted,
.casting-schedule .schedule-rail p { color: var(--dp-ink-3) !important; font-size: 13px; }
.casting-schedule .schedule-unscheduled-count,
.casting-schedule .badge-secondary {
  min-width: 22px;
  background: var(--dp-peach-100) !important;
  border: 1px solid var(--dp-peach-200);
  color: var(--dp-ink-2) !important;
  font-size: 11.5px; font-weight: 800;
}
.casting-schedule .schedule-filters input,
.casting-schedule .schedule-filters select {
  height: 34px; padding: 6px 10px !important;
  border: 1px solid var(--dp-line-strong) !important; border-radius: var(--dp-radius) !important;
  background-color: var(--dp-white) !important; color: var(--dp-ink); font-size: 13px;
}
.casting-schedule .schedule-filters select {
  padding-right: 30px !important;
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23EF6B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important; background-position: right 10px center !important;
}
.casting-schedule .schedule-filters input:focus,
.casting-schedule .schedule-filters select:focus { outline: none; border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring); }

/* empty board */
.casting-schedule .schedule-empty {
  background: var(--dp-peach-50);
  border: 1.5px dashed var(--dp-line-strong);
  border-radius: var(--dp-radius-lg);
  color: var(--dp-ink-2);
  font-size: 14px;
}
.casting-schedule .schedule-empty strong,
.casting-schedule .schedule-empty b,
.casting-schedule .schedule-empty h4,
.casting-schedule .schedule-empty h5 { color: var(--dp-ink); font-weight: 800; }

/* day columns */
.casting-schedule .schedule-days { gap: 12px; }
.casting-schedule .schedule-day { border: 1px solid var(--dp-line); border-radius: var(--dp-radius-lg); background: var(--dp-white); }
.casting-schedule .schedule-day-head { background: var(--dp-peach-50); border-bottom: 1px solid var(--dp-line); padding: 12px 14px; }
.casting-schedule .schedule-day-title { color: var(--dp-ink); font-size: 15px; font-weight: 800; }
.casting-schedule .schedule-day-meta { color: var(--dp-ink-3); font-size: 12.5px; }
.casting-schedule .schedule-day-actions a,
.casting-schedule .schedule-day-actions button { color: var(--dp-coral); font-weight: 700; font-size: 13px; }
/* tallies: the same pills used everywhere else */
.casting-schedule .schedule-count {
  padding: 2px 9px; border-radius: 20px; font-weight: 800; font-size: 11.5px;
  background: var(--dp-peach-100); border: 1px solid var(--dp-peach-200); color: var(--dp-ink-2);
}
.casting-schedule .schedule-count.confirmed { background: #e9f3ec; border-color: #cbe3d3; color: #3f8f5f; }
.casting-schedule .schedule-count.assigned  { background: #fcf2df; border-color: #f0dcb0; color: #96690f; }
.casting-schedule .schedule-count.declined  { background: #fbe7e9; border-color: #f2c9ce; color: var(--dp-brick); }

/* slots */
.casting-schedule .schedule-slot { border-bottom: 1px solid var(--dp-line); min-height: 46px; }
.casting-schedule .schedule-slot-time { flex-basis: 72px; color: var(--dp-ink-3); font-size: 12px; font-weight: 700; border-right: 1px solid var(--dp-line); }
.casting-schedule .schedule-slot-blocked,
.casting-schedule .schedule-slot-booked,
.casting-schedule .schedule-slot-open { color: var(--dp-ink-3); font-style: normal; font-size: 12px; }
.casting-schedule .schedule-slot.status-1 { background: repeating-linear-gradient(45deg, var(--dp-peach-50), var(--dp-peach-50) 6px, var(--dp-peach-100) 6px, var(--dp-peach-100) 12px); }
.casting-schedule .schedule-slot.status-3 { background: #f4faf6; }
.casting-schedule .schedule-slot.status-4 { background: #fdf3f4; }
.casting-schedule .schedule-slot-focus { box-shadow: inset 3px 0 0 var(--dp-coral); }
.casting-schedule.schedule-armed .schedule-slot.droppable:not(.status-1):hover,
.schedule-armed .casting-schedule .schedule-slot.droppable:not(.status-1):hover { background: var(--dp-coral-soft); }

/* talent tiles */
.casting-schedule .schedule-chip {
  background: var(--dp-white);
  border: 1px solid var(--dp-line-strong);
  border-left: 3px solid var(--dp-coral);
  border-radius: var(--dp-radius);
  padding: 6px 9px;
  font-size: 13px;
  box-shadow: 0 1px 2px rgba(35, 32, 31, .05);
}
.casting-schedule .schedule-chip.in-slot { border-left-color: #6e7b8a; }
/* booked tiles take the colour of their status, matching the day tallies:
   2 = sent, awaiting the agency (amber) · 3 = confirmed (green) · 4 = declined (red) */
.casting-schedule .schedule-slot.status-2 .schedule-chip { border-color: #ecd29a; border-left-color: #d9a43a; background: #fcf2df; }
.casting-schedule .schedule-slot.status-3 .schedule-chip { border-color: #cbe3d3; border-left-color: #3f8f5f; background: var(--dp-white); }
.casting-schedule .schedule-slot.status-4 .schedule-chip { border-color: #f2c9ce; border-left-color: var(--dp-brick); background: var(--dp-white); }
.casting-schedule .schedule-slot.status-2 .schedule-chip-name i { color: #b8841f !important; }
.casting-schedule .schedule-slot.status-3 .schedule-chip-name i { color: #3f8f5f !important; }
.casting-schedule .schedule-slot.status-4 .schedule-chip-name i { color: var(--dp-brick) !important; }
.casting-schedule .schedule-chip.armed { border-color: var(--dp-coral); background: var(--dp-coral-soft); box-shadow: var(--dp-ring); }
.casting-schedule .schedule-chip-name { color: var(--dp-ink); font-weight: 800; }
.casting-schedule .schedule-chip-meta { color: var(--dp-ink-3); font-size: 11.5px; }
.casting-schedule .schedule-chip-note { color: var(--dp-brick); font-style: normal; font-size: 11.5px; }

/* ==========================================================================
   11. SHARED CASTING VIEW  (/public/casting/{id})
   What people see from a "Share Casting Sheet" link. It uses the same parts
   as the casting page under .public-casting-show, so sections 3–4 already
   cover it (they target both wrappers). Only the differences live here.
   ========================================================================== */
.public-casting-show { padding: 18px 24px 40px; max-width: 1280px; }
.public-casting-show > .row.m-0:first-of-type { border-top: 1px solid var(--dp-line); margin-top: 28px !important; padding-top: 10px; }
/* this view has no checkbox column: talent name is column 2 */
.public-casting-show .auditions-table tbody td:nth-child(3) span { font-weight: 400 !important; color: var(--dp-ink-2) !important; }
.public-casting-show .auditions-table tbody td:nth-child(2) { color: var(--dp-ink); font-weight: 800; }
/* Inline player row (opens under an audition or a directory demo). The browser's
   own audio player is left as it is: browsers differ in how much of it can be
   restyled, and a half-styled player looked worse than the plain one. The row
   just gets a little breathing room and a hairline, no tint. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody tr.play-inline-row > td,
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody tr.play-inline-row > td,
tr.play-inline-row > td {
  padding: 8px 12px 12px !important;
  border-bottom: 1px solid var(--dp-line) !important;
  background: transparent !important;
}
tr.play-inline-row audio { display: block; width: 100%; }

/* Audition table at narrower windows: the actions wrap onto a second line
   (Details drops under the icons) instead of pushing Details off the screen.
   The small columns shrink to their content so names and agencies get the room */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions { display: flex !important; flex: 1 1 auto; flex-wrap: wrap; align-items: center; justify-content: flex-end; row-gap: 6px; }
/* hover: every audition row tints the same way (the white-row rule used to win
   over hover on every other row, so only alternate rows lit up) */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody tr:not(.play-inline-row):hover:not(#_) { background: var(--dp-coral-soft) !important; }
/* Details is always the last thing before the arrow, flush right on every row */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] { order: 99; }
/* the 2nd-round button keeps one width whether it says "2nd Rd" or "2nd Rd requested",
   so download and play line up from row to row too */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn { justify-content: center; min-width: 104px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn.text-success::after { content: "Requested"; }  /* green pill + arrow already say 2nd round */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table td.px-0:has(.audition-actions) { min-width: 0; white-space: normal !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th { white-space: normal !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th .text-right { white-space: nowrap; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td.compact,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td:first-child,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td:has(> img.pull-headshots) { width: 1%; white-space: nowrap; }

/* Callback Review row: "Replace callback video" as a square icon button, and the
   callback status (Awaiting agency / Confirmed / Declined + time) as a pill */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#uploadModal"] {
  display: inline-grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-left: 4px;
  padding: 0 !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#uploadModal"] i { color: var(--dp-ink-3) !important; font-size: 13px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#uploadModal"]:hover { border-color: var(--dp-coral); }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#uploadModal"]:hover i { color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[href*="/schedule"] {
  order: -1;                     /* status on its own line above the icons */
  flex: 1 0 100%;
  display: inline-flex !important;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  margin: 0 0 2px;
  padding: 0 !important;
  line-height: 1.2;
  text-decoration: none !important;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[href*="/schedule"] .badge {
  padding: 3px 9px;
  border: 1px solid #f0dcb0;
  border-radius: 20px;
  background: #fcf2df !important;
  color: #96690f !important;
  font-size: 11.5px;
  font-weight: 800;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[href*="/schedule"] .badge-success { border-color: #cbe3d3; background: #e9f3ec !important; color: #3f8f5f !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[href*="/schedule"] .badge-danger { border-color: #f2c9ce; background: #fbe7e9 !important; color: var(--dp-brick) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[href*="/schedule"] .fs-14 { color: var(--dp-ink-3) !important; font-size: 12px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[href*="/schedule"]:hover .badge { border-color: var(--dp-coral); }

/* Self-tape row (on-camera): bigger rounded video, headshots as a labelled strip */
tr.play-inline-row .play-box { gap: 18px; align-items: flex-start; padding: 4px 0; }
tr.play-inline-row .full-video-container {
  flex: 0 0 auto;
  width: min(440px, 100%);
  height: auto !important;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 10px;
  background: #1c1918;
  box-shadow: 0 6px 18px rgba(35, 32, 31, .18);
}
tr.play-inline-row .full-video-container video { display: block; width: 100% !important; height: 100% !important; object-fit: contain; background: #1c1918; }
tr.play-inline-row .fullscreen-toggle-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(35, 32, 31, .55);
  color: var(--dp-white) !important;
  font-size: 13px !important;
  text-shadow: none !important;
  cursor: pointer;
}
tr.play-inline-row .fullscreen-toggle-btn:hover { background: var(--dp-coral); }
tr.play-inline-row .headshots { padding-left: 0 !important; text-align: left; }
tr.play-inline-row .headshots::before {
  content: "Headshots";
  display: block;
  margin: 0 0 8px 4px;
  color: var(--dp-ink-3);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
tr.play-inline-row .headshots .col { flex: 0 0 auto !important; width: auto !important; max-width: none !important; }
tr.play-inline-row .headshots .card {
  width: 96px;
  height: 120px !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: 8px !important;
  background: var(--dp-peach-200);
  box-shadow: 0 1px 2px rgba(35, 32, 31, .06);
  transition: border-color .12s, transform .12s;
}
tr.play-inline-row .headshots .card:hover { border-color: var(--dp-coral) !important; transform: translateY(-1px); }
tr.play-inline-row .headshots .card a,
tr.play-inline-row .headshots .card img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }

/* Callback Review: the original self-tape and the callback video are each
   labelled and sized alike; the download link is a small outlined button */
tr.play-inline-row:has(.callback-video-container) .full-video-container::before {
  content: "Self-tape";
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .92);
  color: var(--dp-ink);
  font-size: 11.5px;
  font-weight: 800;
  pointer-events: none;
}
tr.play-inline-row .callback-video-container { margin-top: 16px; padding-top: 0 !important; text-align: left; }
tr.play-inline-row .callback-video-container > div { width: min(440px, 100%); }
tr.play-inline-row .callback-video-container video {
  width: 100% !important;
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: #1c1918;
  box-shadow: 0 6px 18px rgba(35, 32, 31, .18);
  object-fit: contain !important;
}
tr.play-inline-row .callback-video-container .badge {
  top: 10px !important;
  right: auto !important;
  left: 10px !important;
  z-index: 2;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--dp-coral) !important;
  color: var(--dp-white) !important;
  font-size: 11.5px;
  font-weight: 800;
}
tr.play-inline-row .btn-download-callback {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin-top: 10px !important;
  padding: 7px 13px;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  color: var(--dp-ink) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
}
tr.play-inline-row .btn-download-callback i { color: var(--dp-ink-3); }
tr.play-inline-row .btn-download-callback:hover { border-color: var(--dp-coral); color: var(--dp-coral) !important; }
tr.play-inline-row .btn-download-callback:hover i { color: var(--dp-coral); }

/* Headshot viewer (GLightbox): warm dark backdrop, rounded photo, round white
   close / previous / next buttons that turn coral on hover */
.glightbox-container .goverlay { background: rgba(35, 32, 31, .9) !important; backdrop-filter: blur(4px); }
.glightbox-container .gslide-media { background: transparent !important; box-shadow: none !important; }
.glightbox-container .gslide-image img { max-height: 84vh !important; border-radius: 10px; background: #2c2826; box-shadow: 0 24px 60px rgba(0, 0, 0, .45); }
.glightbox-container .gbtn {
  display: grid !important;
  place-items: center;
  width: 44px !important;
  height: 44px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
  opacity: 1;
  transition: background .12s;
}
.glightbox-container .gbtn svg { width: 16px !important; height: auto; }
.glightbox-container .gbtn path,
.glightbox-container .gbtn svg * { fill: var(--dp-ink) !important; stroke: var(--dp-ink); }
.glightbox-container .gbtn:hover { background: var(--dp-coral) !important; }
.glightbox-container .gbtn:hover path,
.glightbox-container .gbtn:hover svg * { fill: var(--dp-white) !important; stroke: var(--dp-white); }
.glightbox-container .gclose { top: 18px !important; right: 18px !important; }
.glightbox-container .gprev { left: 22px !important; }
.glightbox-container .gnext { right: 22px !important; }
.glightbox-container .gbtn.disabled { opacity: .35 !important; }
.glightbox-container .gloader { border-color: var(--dp-coral) !important; border-right-color: transparent !important; }

/* Empty lists ("No record found" in Saved Drafts, Archived, etc.): the same
   dashed panel as the empty Maybe / Favorites / Selects lists */
.casting-container .list .table tbody td[colspan]:only-child {
  padding: 34px 16px !important;
  border: 1.5px dashed var(--dp-line-strong) !important;
  border-radius: var(--dp-radius-lg);
  background: var(--dp-peach-50) !important;
  color: var(--dp-ink-3) !important;
  font-size: 14px !important;
  font-weight: 700;
  text-align: center;
}

/* Share Favorites page (/public/favorites/…): "Contact Information:" is a section
   heading, not a small field label */
.public-casting-show > .row.m-0 > .fs-22[class*="col-"] {
  margin: 8px 0 6px;
  padding-bottom: 8px !important;
  border-bottom: 1px solid var(--dp-line);
  color: var(--dp-ink) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
}
.public-casting-show .auditions-table:has(img.pull-headshots) tbody td:nth-child(3) span { font-weight: 800 !important; color: var(--dp-ink) !important; }

/* ==========================================================================
   12. CASTING PAGE — TALENT AGENCY / ROLE VIEWS (grouped rows)
   ========================================================================== */
.casting-detail-wrapper .auditions-table:has(tr.group-row) tr.group-header > td,
.public-casting-show .auditions-table:has(tr.group-row) tr.group-header > td {
  background: var(--dp-peach-100) !important;
  border-bottom: 1px solid var(--dp-line-strong) !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
  color: var(--dp-ink-2);
  font-size: 13px;
}
.casting-detail-wrapper .auditions-table:has(tr.group-row) tr.group-header span,
.public-casting-show .auditions-table:has(tr.group-row) tr.group-header span { font-weight: 800 !important; color: var(--dp-ink) !important; }
.casting-detail-wrapper .auditions-table tr.group-row td:nth-child(2) span,
.public-casting-show .auditions-table tr.group-row td:nth-child(2) span { font-weight: 800; color: var(--dp-ink); }
.casting-detail-wrapper .auditions-table tr.group-row td:nth-child(3) span,
.public-casting-show .auditions-table tr.group-row td:nth-child(3) span { font-weight: 400; color: var(--dp-ink-2); }

/* ==========================================================================
   13. BROWSE AGENCIES POP-UP  (casting sheet)
   ========================================================================== */
#browseAgenciesModal #agencyTabs { padding: 0 !important; }
#browseAgenciesModal #agencyTabs ul.nav-tabs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 0 !important; margin-bottom: 8px; }
#browseAgenciesModal #agencyTabs ul.nav-tabs > li:not(:last-child) { margin: 0 !important; }
/* Favorites / All Agencies / Sort by location: filter buttons, the selected one tinted */
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 13px !important;
  border: 1px solid var(--dp-line-strong) !important; border-radius: var(--dp-radius) !important;
  background: var(--dp-white) !important; color: var(--dp-ink-2) !important;
  font-size: 13px !important; font-weight: 700 !important; cursor: pointer; box-shadow: none !important;
}
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span:hover { border-color: var(--dp-coral) !important; color: var(--dp-ink) !important; }
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span.active { background: var(--dp-coral-soft) !important; border-color: var(--dp-coral) !important; color: var(--dp-coral-hover) !important; }
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span i { color: #e0a32e !important; }
/* "Sort by location" switches the All Agencies list between A–Z and grouped by
   state (the app keeps both marked active), so it reads as a checkbox, not a
   third filter button */
#browseAgenciesModal #agencyTabs ul.nav-tabs > li:has(> span.location) { background: transparent !important; border: 0 !important; box-shadow: none !important; }
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span.location {
  padding: 7px 4px !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--dp-ink-2) !important;
}
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span.location::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  box-sizing: border-box;
  border: 1.5px solid var(--dp-line-strong);
  border-radius: 4px;
  background: var(--dp-white);
}
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span.location:hover { color: var(--dp-ink) !important; }
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span.location:hover::before { border-color: var(--dp-coral); }
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span.location.active { background: transparent !important; color: var(--dp-ink) !important; }
#browseAgenciesModal #agencyTabs ul.nav-tabs > li > span.location.active::before {
  border-color: var(--dp-coral);
  background: var(--dp-coral) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e") center / 9px no-repeat;
}
#browseAgenciesModal input.search-agency.form-control.theme-field {
  height: 36px !important; min-width: 200px; padding: 6px 12px !important;
  background: var(--dp-white) !important; border: 1px solid var(--dp-line-strong) !important; border-radius: var(--dp-radius) !important;
}
#browseAgenciesModal .color-theme.font-weight-bold { color: var(--dp-ink-3) !important; font-size: 12.5px; font-weight: 400 !important; }
#browseAgenciesModal .tab-pane li { font-size: 13.5px; color: var(--dp-ink); padding: 3px 0; }
#browseAgenciesModal .tab-pane li i { color: var(--dp-ink-3); }
#browseAgenciesModal .tab-pane li :is(.fas, .fa).fa-star { color: #e0a32e !important; }  /* favorited agencies: gold star */
#browseAgenciesModal .tab-pane li.selected,
#browseAgenciesModal .tab-pane li.active { color: var(--dp-coral-hover); font-weight: 700; }
#browseAgenciesModal .caption {
  margin-bottom: 6px; border-bottom: 1px solid var(--dp-line);
  color: var(--dp-ink-3) !important; font-size: 10.5px !important; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
}
/* the casting sheet's sticky action bar sat above pop-up backdrops */
.modal-open .client-casting .template-actions { z-index: 0 !important; position: static !important; }

/* ==========================================================================
   14. TALENT AGENCY SIDE
   The agent's casting page reuses the casting-page header (section 3/4) but
   its "Submitted Auditions" table is plain Bootstrap, so it gets its own rules.
   ========================================================================== */
/* "Submitted Auditions" heading bar -> plain section heading */
.casting-detail-wrapper .bg-soft-orange {
  margin-top: 18px;
  padding: 0 0 9px !important;
  background: transparent !important;
  border-bottom: 1px solid var(--dp-line);
  color: var(--dp-ink) !important;
  font-size: 17px !important;
  font-weight: 800;
}
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table { border-collapse: collapse; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table thead th {
  background: var(--dp-white) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line-strong) !important;
  padding: 11px 10px !important;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table thead th a { color: var(--dp-ink-3) !important; text-decoration: none; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table thead th a.asc,
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table thead th a.desc,
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table thead th a:hover { color: var(--dp-ink) !important; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table thead th .fa-sort { opacity: .45; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody tr,
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table.table-striped tbody tr:nth-of-type(odd) { background: var(--dp-white) !important; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody tr:hover { background: var(--dp-peach-50) !important; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody td {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line) !important;
  padding: 11px 10px !important;
  color: var(--dp-ink-2);
  font-size: 14px;
  vertical-align: middle !important;
}
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody td.compact { font-size: 13.5px; white-space: nowrap; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody td:nth-child(2) { color: var(--dp-ink); font-weight: 800; }
/* order number: a small box that reads as editable */
.casting-detail-wrapper .auditionRank.editable {
  display: inline-grid;
  place-items: center;
  min-width: 30px;
  height: 28px;
  padding: 0 8px;
  border: 1px solid transparent !important;   /* plain number at rest; the box appears on hover */
  border-radius: var(--dp-radius);
  background: transparent;
  color: var(--dp-ink) !important;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
.casting-detail-wrapper .auditionRank.editable:hover { border-color: var(--dp-coral) !important; background: var(--dp-white); color: var(--dp-coral) !important; }
/* actions: play circle, Details button, quiet Unsubmit, no "|" separators */
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) td.actions { font-size: 0 !important; }
.casting-detail-wrapper td.actions .play-inline {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-right: 8px;
  border: 1.5px solid var(--dp-coral);
  border-radius: 50%;
  background: var(--dp-white);
  vertical-align: middle;
  cursor: pointer;
}
.casting-detail-wrapper td.actions .play-inline i { color: var(--dp-coral) !important; font-size: 12px !important; }
.casting-detail-wrapper td.actions .play-inline i.fa-play-circle::before { content: "\f04b"; }
.casting-detail-wrapper td.actions .play-inline:hover { background: var(--dp-coral); }
.casting-detail-wrapper td.actions .play-inline:hover i { color: var(--dp-white) !important; }
.casting-detail-wrapper td.actions .play-inline.visited { border-color: var(--dp-line-strong); }
.casting-detail-wrapper td.actions .play-inline.visited i { color: var(--dp-ink-3) !important; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"] {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  box-sizing: border-box;
  width: 116px;
  height: 30px;
  margin-right: 6px;
  padding: 0 8px 0 11px !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none !important;
}
.casting-detail-wrapper td.actions a[data-target="#audition_detail"] .link + * { margin-left: auto !important; }
/* same coral-outline Details as the client side */
.casting-detail-wrapper td.actions a[data-target="#audition_detail"]:not(#_) { border: 1.5px solid var(--dp-coral) !important; background: var(--dp-white) !important; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"]:not(#_) .link { color: var(--dp-coral) !important; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"]:not(#_):hover { background: var(--dp-coral-soft) !important; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"]:hover { border-color: var(--dp-coral); }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"] .link { color: var(--dp-ink) !important; font-size: 13px; font-weight: 700; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"]:hover .link { color: var(--dp-coral) !important; }
.casting-detail-wrapper td.actions .audition-unsubmit-btn { vertical-align: middle; padding: 0 6px !important; text-decoration: none !important; }
.casting-detail-wrapper td.actions .audition-unsubmit-btn .link { color: var(--dp-ink-3) !important; font-size: 13px; font-weight: 700; }
.casting-detail-wrapper td.actions .audition-unsubmit-btn .link i { font-size: 11px; margin-right: 3px; }
.casting-detail-wrapper td.actions .audition-unsubmit-btn:hover .link { color: var(--dp-brick) !important; }
.casting-detail-wrapper td.actions .play-inline-toggle { vertical-align: middle; font-size: 14px !important; color: var(--dp-ink-3) !important; padding-left: 10px !important; }
.casting-detail-wrapper td.actions .play-inline-toggle:hover { color: var(--dp-coral) !important; }
/* casting notes: date as quiet meta text, not a coral pill */
.casting-detail-wrapper .alert.bg-theme-light .badge.bg-theme {
  padding: 0;
  background: transparent !important;
  color: var(--dp-ink-3) !important;
  font-size: 12px;
  font-weight: 600;
}
.casting-detail-wrapper .col-12 > .fs-18.mb-2 { color: var(--dp-ink); font-size: 15px !important; font-weight: 800; }

/* Add Auditions pop-up: file-naming rules in a panel */
#batchUploadModal form > .col-12.fs-14:first-child {
  margin: 0 0 6px;
  padding: 12px 14px !important;
  background: var(--dp-peach-50);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  color: var(--dp-ink-2);
}
#batchUploadModal form > .col-12.fs-14:first-child .fw-i {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace !important;
  font-size: 12.5px;
  color: var(--dp-ink);
}
#batchUploadModal form > .col-12.fs-14:first-child br { display: none; }
#batchUploadModal form > .col-12.fs-14:first-child strong { display: block; margin-top: 8px; font-size: 12.5px; color: var(--dp-ink-2); }
#batchUploadModal .modal-body > .col-12 { padding-left: 0 !important; padding-right: 0 !important; }
#batchUploadModal .modal-body > .col-12.fw-i { color: var(--dp-ink-2); padding-bottom: 10px !important; }

/* Audition Details (agent view): talent and role are read-only, so show them as text */
#audition_detail .form-control:disabled {
  height: auto !important;
  padding: 2px 0 !important;
  background: transparent !important;
  border-color: transparent !important;
  color: var(--dp-ink) !important;
  font-size: 15px !important;
  font-weight: 800;
  opacity: 1;
  appearance: none;
  -webkit-appearance: none;
  background-image: none !important;
}
#audition_detail .row > [class*="col-"]:has(> .form-control:disabled) {
  color: var(--dp-ink-3);
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding-top: 10px !important;
}

/* Invite from Talent Roster pop-up */
#addFromTalentDirectoryModal .search-input { padding-left: 34px !important; }
#addFromTalentDirectoryModal .modal-footer form > .d-flex { justify-content: flex-end !important; gap: 8px; flex-wrap: wrap; margin-top: 0 !important; }
#addFromTalentDirectoryModal .modal-footer .talent-role { height: 38px; margin-right: auto; }
#addFromTalentDirectoryModal .modal-footer .add-btn { margin: 0 !important; padding: 8px 14px !important; }
#addFromTalentDirectoryModal .modal-footer .add-btn.invite { background: var(--dp-white) !important; border: 1px solid var(--dp-coral) !important; color: var(--dp-coral) !important; }
#addFromTalentDirectoryModal .modal-footer .add-btn:disabled {
  background: var(--dp-peach-50) !important;
  border: 1px dashed var(--dp-line-strong) !important;
  color: var(--dp-ink-3) !important;
  opacity: 1;
  cursor: not-allowed;
}
#addFromTalentDirectoryModal .modal-footer .add-btn .count { padding: 0 2px !important; font-weight: 800; }
#addFromTalentDirectoryModal .modal-footer form > .d-flex > span { color: var(--dp-ink-3); font-size: 13px; }

/* status badges inside talent lists (Youth etc.) */
.talent-directory-container .badge-success,
.modal .badge-success {
  padding: 3px 8px;
  background: #e9f3ec !important;
  border: 1px solid #cbe3d3;
  border-radius: 20px;
  color: #3f8f5f !important;
  font-size: 11px;
  font-weight: 800;
}

/* ==========================================================================
   15. TALENT HQ, INVITED TALENT, INTERNAL CASTING (agent)
   ========================================================================== */
/* Talent HQ / Invited Talent tabs: underline tabs like the casting page */
.talent-directory-page .nav-tabs {
  gap: 4px;
  border-bottom: 1px solid var(--dp-line-strong) !important;
}
.talent-directory-page .nav-tabs .nav-link {
  margin-bottom: -1px;
  padding: 10px 16px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: var(--dp-ink-2) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}
.talent-directory-page .nav-tabs .nav-link:hover { color: var(--dp-ink) !important; }
.talent-directory-page .nav-tabs .nav-link.active { color: var(--dp-coral) !important; border-bottom-color: var(--dp-coral) !important; }
/* Talent HQ has no sidebar, so give the page a gutter */
.talent-directory-page .casting-container:not(:has(.castingSideBar)) { padding: 18px 24px 0; box-sizing: border-box; }

/* age range slider: white handles, coral track */
.talent-directory-container .al-range-slider__knob,
.talent-directory-container [class*="al-range-slider__thumb"],
.talent-directory-container [class*="al-range-slider__handle"] {
  background: var(--dp-white) !important;
  border: 2px solid var(--dp-coral) !important;
  box-shadow: 0 1px 3px rgba(35, 32, 31, .18) !important;
}
.talent-directory-container [class*="al-range-slider__tooltip"] {
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: 4px !important;
  color: var(--dp-ink-2) !important;
  font-size: 10.5px !important;
  font-weight: 800;
}

/* Invited Talent table (DataTables) */
.talent-directory-page .dataTables_wrapper .dataTables_filter { margin-bottom: 10px; color: var(--dp-ink-3); font-size: 0; }
.talent-directory-page .dataTables_wrapper .dataTables_filter input {
  width: 240px;
  height: 36px;
  margin: 0 !important;
  padding: 6px 12px 6px 32px !important;
  background: var(--dp-white) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23948a85' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 11px center !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink);
  font-size: 14px;
  outline: none;
}
.talent-directory-page .dataTables_wrapper .dataTables_filter input:focus { border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring); }
.talent-directory-page table.dataTable { border-collapse: collapse !important; }
.talent-directory-page table.dataTable thead th {
  background-color: var(--dp-white) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line-strong) !important;
  padding: 11px 10px !important;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.talent-directory-page table.dataTable tbody tr,
.talent-directory-page table.dataTable.table-striped tbody tr:nth-of-type(odd) { background: var(--dp-white) !important; }
.talent-directory-page table.dataTable tbody tr:hover { background: var(--dp-peach-50) !important; }
.talent-directory-page table.dataTable tbody tr > * {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line) !important;
  padding: 12px 10px !important;
  color: var(--dp-ink-2);
  font-size: 14px;
  font-weight: 400;
}
.talent-directory-page table.dataTable tbody th { color: var(--dp-ink-3); font-size: 13px; }
.talent-directory-page table.dataTable tbody td:nth-child(2) { color: var(--dp-ink); font-weight: 700; }
.talent-directory-page table.dataTable.no-footer { border-bottom: 0 !important; }
/* "Invited" = waiting on the actor: amber pill */
.talent-directory-page table.dataTable .text-danger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: #fcf2df;
  border: 1px solid #f0dcb0;
  border-radius: 20px;
  color: #96690f !important;
  font-size: 12px;
  font-weight: 800;
}
.talent-directory-page table.dataTable .text-danger::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.talent-directory-page table.dataTable .text-success {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px;
  background: #e9f3ec; border: 1px solid #cbe3d3; border-radius: 20px;
  color: #3f8f5f !important; font-size: 12px; font-weight: 800;
}
.talent-directory-page table.dataTable td .text-muted,
.talent-directory-page table.dataTable td a { color: var(--dp-ink-3) !important; font-size: 13px; font-weight: 700; cursor: pointer; }
.talent-directory-page table.dataTable td a:hover,
.talent-directory-page table.dataTable td .text-muted:hover { color: var(--dp-brick) !important; }
.talent-directory-page .container > .row .button {
  padding: 8px 18px !important;
  font-size: 13.5px !important;
  text-transform: lowercase !important;
  display: inline-block;
}
.talent-directory-page .container > .row .button::first-letter { text-transform: uppercase; }

/* Invite Talent to Your Roster pop-up */
#inviteActorModal form > .text-center:last-child {
  justify-content: flex-end !important;
  margin: 2px 0 16px !important;
  padding: 0 !important;
  border-top: 0 !important;
}
#inviteActorModal .modal-body > div:last-child {
  margin: 0 -20px -16px;
  padding: 16px 20px 6px;
  background: var(--dp-peach-50);
  border-top: 1px solid var(--dp-line);
}
#inviteActorModal .modal-body > div:last-child > .font-weight-bold {
  margin-bottom: 12px !important;
  color: var(--dp-ink-2);
  font-size: 13.5px;
  font-weight: 400 !important;
  line-height: 1.5;
}
#inviteActorModal .input-group { flex-wrap: nowrap; }
#inviteActorModal .input-group .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  color: var(--dp-ink) !important;
  font-size: 13px;
  font-weight: 700;
  box-shadow: none !important;
}
#inviteActorModal .input-group-prepend .btn-secondary { border-radius: var(--dp-radius) 0 0 var(--dp-radius) !important; min-width: 118px; }
#inviteActorModal .input-group-prepend .btn-secondary i { color: var(--dp-ink-3); }
#inviteActorModal .input-group-append .btn-secondary { border-radius: 0 var(--dp-radius) var(--dp-radius) 0 !important; color: var(--dp-coral) !important; }
#inviteActorModal .input-group-append .btn-secondary:hover { background: var(--dp-coral-soft) !important; border-color: var(--dp-coral) !important; }
#inviteActorModal .input-group .form-control:disabled {
  height: 40px !important;
  border-radius: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  background: var(--dp-white) !important;
  color: var(--dp-ink-2) !important;
  font-size: 13px !important;
}

/* Share Shortlisted Talents: copy icon in coral */
.modal .fa-copy, .modal .fa-clipboard, .modal [class*="copy"] > i { color: var(--dp-coral) !important; }

/* Internal casting: sub-menu under "Internal Casting" in the sidebar */
.castingSideBar .navbar-nav > li > a.ml-sm-4 {
  margin-left: 0 !important;
  padding: 6px 12px 6px 38px;
  color: var(--dp-ink-2);
  font-size: 13.5px;
  font-weight: 600;
}
.castingSideBar .navbar-nav > li.font-weight-bold > a.ml-sm-4 { color: var(--dp-coral); font-weight: 800; }
.castingSideBar .navbar-nav > li:has(> a.ml-sm-4) { margin: 0 !important; }
/* the internal sheet has no agencies, so its last section is just the note */
.internal-page .client-casting .client-casting-details > .row.agencies-section::before { content: "Notes"; }
/* DataTables sort arrows: swap the purple images for quiet glyphs */
.talent-directory-page table.dataTable thead .sorting,
.talent-directory-page table.dataTable thead .sorting_asc,
.talent-directory-page table.dataTable thead .sorting_desc { background-image: none !important; cursor: pointer; }
.talent-directory-page table.dataTable thead .sorting::after { content: " \2195"; color: var(--dp-line-hover); }
.talent-directory-page table.dataTable thead .sorting_asc::after { content: " \25B2"; color: var(--dp-ink-2); font-size: 8px; }
.talent-directory-page table.dataTable thead .sorting_desc::after { content: " \25BC"; color: var(--dp-ink-2); font-size: 8px; }
/* selected-talent chips above the footer buttons */
#addFromTalentDirectoryModal .actors-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; margin-bottom: 8px; }
#addFromTalentDirectoryModal .actors-list .token {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px;
  background: var(--dp-peach-100);
  border: 1px solid var(--dp-peach-200);
  border-radius: 20px;
  color: var(--dp-ink) !important;
  font-size: 12.5px; font-weight: 700;
}
#addFromTalentDirectoryModal .actors-list .token .remove { color: var(--dp-ink-3); }
#addFromTalentDirectoryModal .actors-list .token .remove:hover { color: var(--dp-brick); }

/* ==========================================================================
   16. ACTOR SIDE
   Shared Castings list, the actor's casting page (/shared/casting/…),
   My Demos (headshots, voice over, on-camera), the actor profile and their
   pop-ups. Most of the casting page already comes from sections 3/4/11.
   ========================================================================== */
/* page gutter for the Shared Castings list (no sidebar on the actor side) */
.shared-casting-page .casting-container { padding: 6px 16px 0; box-sizing: border-box; }

/* --- actor casting page: Submitted Auditions --- */
.public-casting-show > .row.m-0:has(> .table-responsive) > [class*="col-"] {
  color: var(--dp-ink-2);
  font-size: 14px !important;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}
.public-casting-show > .row.m-0:has(> .table-responsive) > .fs-22 {
  margin-top: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid var(--dp-line);
  color: var(--dp-ink) !important;
  font-size: 17px !important;
  font-weight: 800;
}
.public-casting-show > .row.m-0 > .table-responsive > table { border-collapse: collapse; }
.public-casting-show > .row.m-0 > .table-responsive > table thead th {
  background: var(--dp-white) !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line-strong) !important;
  padding: 11px 10px !important;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px !important;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.public-casting-show > .row.m-0 > .table-responsive > table thead th a { color: var(--dp-ink-3) !important; text-decoration: none; }
.public-casting-show > .row.m-0 > .table-responsive > table tbody tr,
.public-casting-show > .row.m-0 > .table-responsive > table.table-striped tbody tr:nth-of-type(odd) { background: var(--dp-white) !important; }
.public-casting-show > .row.m-0 > .table-responsive > table tbody tr:hover { background: var(--dp-peach-50) !important; }
.public-casting-show > .row.m-0 > .table-responsive > table tbody td {
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--dp-line) !important;
  padding: 11px 10px !important;
  color: var(--dp-ink-2);
  font-size: 14px;
  vertical-align: middle !important;
}
.public-casting-show > .row.m-0 > .table-responsive > table tbody td:first-child { color: var(--dp-ink); font-weight: 800; }
.public-casting-show > .row.m-0 > .table-responsive > table tbody td:last-child { font-size: 0; text-align: right; }
/* play / download / add-headshot: the same round play button and square icon buttons as elsewhere */
.public-casting-show > .row.m-0 > .table-responsive td .play-inline {
  display: inline-grid !important;
  place-items: center;
  width: 32px; height: 32px;
  margin-right: 6px;
  padding: 0 !important;
  border: 1.5px solid var(--dp-coral);
  border-radius: 50%;
  background: var(--dp-white);
  vertical-align: middle;
}
.public-casting-show > .row.m-0 > .table-responsive td .play-inline i { color: var(--dp-coral) !important; font-size: 12px !important; }
.public-casting-show > .row.m-0 > .table-responsive td .play-inline i.fa-play-circle::before { content: "\f04b"; }
.public-casting-show > .row.m-0 > .table-responsive td .play-inline:hover { background: var(--dp-coral); }
.public-casting-show > .row.m-0 > .table-responsive td .play-inline:hover i { color: var(--dp-white) !important; }
.public-casting-show > .row.m-0 > .table-responsive td a[download],
.public-casting-show > .row.m-0 > .table-responsive td .headshot-upload-icon {
  display: inline-grid !important;
  place-items: center;
  width: 32px; height: 32px;
  margin-right: 6px;
  padding: 0 !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background-color: var(--dp-white);
  vertical-align: middle;
}
.public-casting-show > .row.m-0 > .table-responsive td a[download] i { color: var(--dp-ink-3) !important; font-size: 13px !important; }
.public-casting-show > .row.m-0 > .table-responsive td .headshot-upload-icon { background-size: 17px auto; background-position: center; background-repeat: no-repeat; opacity: .75; }
.public-casting-show > .row.m-0 > .table-responsive td a[download]:hover,
.public-casting-show > .row.m-0 > .table-responsive td .headshot-upload-icon:hover { border-color: var(--dp-coral); opacity: 1; }
.public-casting-show > .row.m-0 > .table-responsive td a[download]:hover i { color: var(--dp-coral) !important; }
/* "Mark me unavailable" is a quiet secondary action; Add Auditions is the main one */
.public-casting-show .casting-actions .action-btn[data-target="#batchUploadModal"] {
  order: -1;
  background: var(--dp-coral) !important;
  border-color: var(--dp-coral) !important;
  color: var(--dp-white) !important;
}
.public-casting-show .casting-actions .action-btn[data-target="#batchUploadModal"] .action-icon { color: var(--dp-white) !important; }
.public-casting-show .casting-actions .action-btn[data-target="#batchUploadModal"]:hover { background: var(--dp-coral-hover) !important; }

/* Add Auditions (actor): the note under the naming rules reads as normal text */
#batchUploadModal form > .col-12.fs-14:first-child > .fs-18.fw-i {
  margin-top: 10px !important;
  padding-top: 8px;
  border-top: 1px solid var(--dp-line);
  font-family: var(--dp-font) !important;
  font-size: 13px !important;
  color: var(--dp-ink-2);
}
/* labels that have both the app's ::after asterisk and a typed one */
.modal label.title > .asterisk { display: none; }

/* --- My Demos --- */
.my-demos-page .actor-demo .large-title { color: var(--dp-ink) !important; font-size: 23px !important; font-weight: 800 !important; letter-spacing: -.01em; }
.my-demos-page .actor-demo .row.m-0.pt-4 .col-sm-12:not(.d-flex) { color: var(--dp-ink-2); font-size: 14px; line-height: 1.55; }
.my-demos-page .actor-demo #change-password-btn a { color: var(--dp-coral) !important; font-size: 13.5px; }
.my-demos-page .actor-demo > .d-flex .button {
  padding: 8px 16px !important;
  font-size: 13.5px !important;
  text-transform: none !important;
}
/* Headshots / Voice Over / On-Camera: underline tabs */
.my-demos-page .actor-demo .nav-tabs {
  gap: 4px;
  border-bottom: 1px solid var(--dp-line-strong) !important;
}
.my-demos-page .actor-demo .nav-tabs .nav-link {
  margin-bottom: -1px;
  padding: 10px 16px !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: var(--dp-ink-2) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
}
.my-demos-page .actor-demo .nav-tabs .nav-link:hover { color: var(--dp-ink) !important; }
.my-demos-page .actor-demo .nav-tabs .nav-link.active { color: var(--dp-coral) !important; border-bottom-color: var(--dp-coral) !important; }
/* headshot tiles */
.my-demos-page .actor-demo #demo-group .card {
  overflow: hidden;
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius-lg) !important;
  background: var(--dp-peach-200);
  cursor: grab;
}
.my-demos-page .actor-demo #demo-group .card:hover { border-color: var(--dp-line-hover) !important; box-shadow: 0 6px 18px -8px rgba(35, 32, 31, .25); }
.my-demos-page .actor-demo #demo-group .card img { border: 0 !important; border-radius: 0 !important; }
/* edit / delete: small white buttons that appear on hover */
.my-demos-page .actor-demo #demo-group .demo-del-btn,
.my-demos-page .actor-demo #demo-group .demo-edit-btn {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  margin: 6px 6px 0 0;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius);
  color: var(--dp-ink-3) !important;
  font-size: 12px;
  box-shadow: 0 1px 3px rgba(35, 32, 31, .12);
}
.my-demos-page .actor-demo #demo-group .demo-edit-btn:hover { color: var(--dp-coral) !important; border-color: var(--dp-coral); }
.my-demos-page .actor-demo #demo-group .demo-del-btn:hover { color: var(--dp-brick) !important; border-color: var(--dp-brick); }
.my-demos-page .actor-demo #demo-group .action-btn {
  display: flex; gap: 0;
  width: auto !important; height: auto !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.my-demos-page .actor-demo #demo-group .action-btn .demo-del-btn,
.my-demos-page .actor-demo #demo-group .action-btn .demo-edit-btn { margin: 0 0 0 4px; }
.my-demos-page .actor-demo #demo-group .absolute-top-right { top: 6px !important; right: 6px !important; }
.my-demos-page .actor-demo #demo-group .card > .demo-del-btn { position: absolute; top: 0; right: 0; }
/* demo cards (voice over / on-camera) */
.my-demos-page .actor-demo #demo-group .card.info-box { background: var(--dp-white) !important; }
.my-demos-page .actor-demo #demo-group .card.info-box .card-body {
  align-items: center;
  padding: 10px 12px !important;
  padding-right: 76px !important;
  border-bottom: 1px solid var(--dp-line);
}
.my-demos-page .actor-demo #demo-group .demo-title { color: var(--dp-ink); font-size: 14px; font-weight: 800; }
.my-demos-page .actor-demo #demo-group .demo-cat .badge {
  padding: 3px 9px;
  background: var(--dp-peach-100) !important;
  border: 1px solid var(--dp-peach-200);
  border-radius: 20px;
  color: var(--dp-ink-2) !important;
  font-size: 11px;
  font-weight: 700 !important;
  white-space: nowrap;
}
.my-demos-page .actor-demo #demo-group .card.info-box .action-btn { top: 9px !important; right: 8px !important; }
.my-demos-page .actor-demo #demo-group audio { display: block; width: calc(100% - 20px) !important; max-width: calc(100% - 20px); height: 36px; margin: 10px; }
.my-demos-page .actor-demo > .text-muted { color: var(--dp-ink-3) !important; font-size: 13px; }

/* --- actor profile (shares the profile card from section 9) --- */
.profile-page .profile-wrapper .profile-avatar img.preview { border: 1px solid var(--dp-line) !important; box-shadow: 0 0 0 4px var(--dp-peach-100); }
.profile-page .profile-wrapper .profile-avatar .actions i { color: var(--dp-ink-3) !important; }
.profile-page .profile-wrapper .profile-avatar .actions i:hover { color: var(--dp-coral) !important; }
.profile-page .profile-wrapper p { color: var(--dp-ink-2); font-size: 14px; line-height: 1.6; }
.profile-page .profile-wrapper small.text-muted, .profile-page .profile-wrapper .form-text { color: var(--dp-ink-3) !important; font-size: 12px; }
/* multi-picks (ethnicity, language, locations, skills): boxed field with pill tags */
.profile-page .profile-wrapper .ts-wrapper .ts-control {
  min-height: 40px;
  padding: 5px 8px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  box-shadow: none !important;
  font-size: 14px;
}
.profile-page .profile-wrapper .ts-wrapper.focus .ts-control { border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring) !important; }
.profile-page .profile-wrapper .ts-wrapper .ts-control .item {
  margin: 2px 4px 2px 0 !important;
  padding: 3px 11px !important;
  background: var(--dp-peach-100) !important;
  border: 1px solid var(--dp-peach-200) !important;
  border-radius: 20px !important;
  color: var(--dp-ink) !important;
  font-size: 13px;
  font-weight: 600;
}
.profile-page .profile-wrapper .ts-wrapper .ts-control .item.active { background: var(--dp-coral-soft) !important; border-color: var(--dp-coral) !important; }
.profile-page .profile-wrapper .ts-wrapper .ts-control input::placeholder { color: var(--dp-ink-3); }
.ts-dropdown {
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius-lg) !important;
  box-shadow: 0 14px 34px rgba(35, 32, 31, .14) !important;
  overflow: hidden;
}
.ts-dropdown .option { padding: 8px 12px !important; color: var(--dp-ink); font-size: 13.5px; }
.ts-dropdown .option.active, .ts-dropdown .option:hover { background: var(--dp-peach-100) !important; color: var(--dp-ink) !important; }
/* play-age checkboxes: square boxes, coral when ticked */
.profile-page .profile-wrapper .custom-checkbox-wrapper label { margin-right: 14px; color: var(--dp-ink); font-size: 14px; }
.profile-page .profile-wrapper .custom-checkbox-wrapper label::before {
  width: 18px !important; height: 18px !important;
  background-color: var(--dp-white) !important;
  border: 1.5px solid var(--dp-line-strong);
  border-radius: 4px !important;
  box-sizing: border-box;
}
.profile-page .profile-wrapper .custom-checkbox-wrapper input:checked + label::before {
  background-color: var(--dp-coral) !important;
  border-color: var(--dp-coral);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e") !important;
  background-size: 55% !important;
}
.profile-page .profile-wrapper .custom-checkbox-wrapper input:disabled + label { color: var(--dp-ink-3); }
.profile-page .profile-wrapper .custom-checkbox-wrapper input:disabled + label::before { background-color: var(--dp-peach-50) !important; border-color: var(--dp-line); }
/* resume upload */
.profile-page .profile-wrapper input[type=file].form-control::file-selector-button {
  margin-right: 10px;
  padding: 5px 12px;
  background: var(--dp-white);
  border: 1px solid var(--dp-coral);
  border-radius: var(--dp-radius);
  color: var(--dp-coral);
  font-weight: 700;
  cursor: pointer;
}
/* section headings and the agency cards */
.profile-page .profile-wrapper h5.font-weight-bold { display: block; width: 100%; white-space: normal !important; }
.profile-page .profile-wrapper h5 small.text-muted { font-size: 12px; font-weight: 400; }
.profile-page .profile-wrapper h6.color-theme { color: var(--dp-ink-3) !important; font-size: 10.5px; font-weight: 800 !important; letter-spacing: .07em; text-transform: uppercase; }
.profile-page .profile-wrapper .actor-agencies .list-group-item {
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink);
  font-size: 14px;
  font-weight: 700;
}
.profile-page .profile-wrapper .actor-agencies .badge.bg-theme {
  margin-left: 6px;
  padding: 2px 8px;
  background: var(--dp-peach-100) !important;
  border: 1px solid var(--dp-peach-200);
  border-radius: 20px;
  color: var(--dp-ink-2) !important;
  font-size: 11px;
  font-weight: 800;
}
.profile-page .profile-wrapper .actor-agencies .fa-trash { color: var(--dp-ink-3) !important; font-size: 13px; }
.profile-page .profile-wrapper .actor-agencies .fa-trash:hover { color: var(--dp-brick) !important; }
/* pop-ups: labels with the app's "title" class, padded rows, and the chevron on .form-control selects */
.modal label.title { margin-bottom: 6px; color: var(--dp-ink); font-size: 13px; font-weight: 700; }
.modal .modal-body .row.px-4 { padding-left: 0 !important; padding-right: 0 !important; }
.modal .modal-body .row.px-4 > .col, .modal .modal-body .row.px-4 > [class*="col-"] { padding-left: 0; padding-right: 0; }
.modal select.form-control {
  padding-right: 32px !important;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23EF6B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
}
/* drop areas styled by id in main.css (headshots, media) */
.modal .dropzone[id], .modal #dropzoneImage, .modal #dropzoneMedia, .modal #dropZoneUploader {
  min-height: 110px;
  background: var(--dp-peach-50) !important;
  border: 1.5px dashed var(--dp-line-strong) !important;
  border-radius: var(--dp-radius-lg) !important;
  color: var(--dp-ink-2) !important;
}
.modal .dropzone[id]:hover, .modal #dropzoneImage:hover, .modal #dropzoneMedia:hover { border-color: var(--dp-coral) !important; }
.modal .modal-body .row.px-3 { padding-left: 0 !important; padding-right: 0 !important; }
.modal .modal-body .row.px-3 > .col { padding-left: 0; padding-right: 0; }
/* any pop-up button that is disabled until something is picked */
.modal .button:disabled {
  background: var(--dp-peach-50) !important;
  border: 1px dashed var(--dp-line-strong) !important;
  color: var(--dp-ink-3) !important;
  opacity: 1 !important;
  cursor: not-allowed;
}

/* ==========================================================================
   17. SIGN-UP, LOG-IN, RESET PASSWORD, ACTOR INVITE, 404
   (body.login-page, .reset-password-page, :is(.signup-page, .shared-page), .join-page)
   ========================================================================== */
/* calm page background instead of solid coral; coral is kept for buttons */
body.login-page, body.reset-password-page { background: var(--dp-peach-50) !important; }
body.login-page .main-container, body.reset-password-page .main-container { background: transparent !important; }

/* the card */
:is(.login-page, .reset-password-page) .bg-white.theme-rounded {
  max-width: 400px !important;
  margin-top: 56px !important;
  padding: 30px 32px 26px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius-lg) !important;
  box-shadow: 0 18px 44px -20px rgba(35, 32, 31, .28);
}
:is(.login-page, .reset-password-page) .box-img { display: none !important; }
:is(.login-page, .reset-password-page) .large-title {
  margin: 0 0 4px !important;
  color: var(--dp-ink) !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -.018em;
  text-align: left !important;
}
/* one plain-language line under each title */
.login-page .large-title::after,
.reset-password-page .large-title::after {
  display: block;
  margin: 4px 0 18px;
  color: var(--dp-ink-3);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0;
}
.login-page .large-title::after { content: "Welcome back. Sign in to your casting projects."; }
.reset-password-page .large-title::after { content: "We'll email you a link to set a new password."; }
:is(.login-page, .reset-password-page) .row { margin-left: 0; margin-right: 0; }
:is(.login-page, .reset-password-page) .row > [class*="col"] { padding-left: 0; padding-right: 0; }
:is(.login-page, .reset-password-page) .form-group { margin-bottom: 14px; }

/* fields on all five pages */
:is(.login-page, .reset-password-page, :is(.signup-page, .shared-page), .join-page) label.title,
:is(.login-page, .reset-password-page, :is(.signup-page, .shared-page), .join-page) .col-form-label.title {
  padding: 0 0 6px !important;
  color: var(--dp-ink) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
}
:is(.login-page, .reset-password-page, :is(.signup-page, .shared-page), .join-page) .form-control.theme-field {
  height: 42px;
  padding: 9px 12px !important;
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line-strong) !important;
  border-radius: var(--dp-radius) !important;
  box-shadow: none !important;
  color: var(--dp-ink) !important;
  font-size: 14.5px !important;
  text-align: left !important;
}
:is(.login-page, .reset-password-page, :is(.signup-page, .shared-page), .join-page) .form-control.theme-field::placeholder { color: var(--dp-ink-3) !important; opacity: 1; }
:is(.login-page, .reset-password-page, :is(.signup-page, .shared-page), .join-page) .form-control.theme-field:hover { border-color: var(--dp-line-hover) !important; }
:is(.login-page, .reset-password-page, :is(.signup-page, .shared-page), .join-page) .form-control.theme-field:focus { border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring) !important; }
:is(:is(.signup-page, .shared-page), .join-page) select.form-control.theme-field {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 34px !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23EF6B54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 12px center !important;
}
:is(:is(.signup-page, .shared-page), .join-page) form span.modal-instruction { display: inline-block; margin-left: 0 !important; padding: 0 0 0 10px !important; color: var(--dp-ink-3) !important; font-size: 12px !important; }

/* log-in row: reset link left, remember me right */
.login-page form .row:has(.custom-checkbox) { align-items: center; justify-content: space-between; margin: 2px 0 0; }
.login-page form .row:has(.custom-checkbox) > .col { flex: 0 0 auto; width: auto; max-width: none; }
.login-page form .title a { color: var(--dp-coral) !important; font-size: 13px; font-weight: 700; }
.login-page form .title a:hover { color: var(--dp-coral-hover) !important; }
.login-page .custom-control-label { color: var(--dp-ink-2); font-size: 13.5px; }

/* the main button: full width, sentence case */
:is(.login-page, .reset-password-page) form .row.justify-content-center { padding-top: 18px !important; padding-bottom: 0 !important; }
:is(.login-page, .reset-password-page) form button.button {
  width: 100%;
  height: 44px;
  padding: 0 !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  letter-spacing: 0 !important;
  text-transform: lowercase !important;
}
:is(.login-page, .reset-password-page) form button.button::first-letter { text-transform: uppercase; }
/* a quiet route to sign-up under the log-in card */
.login-page .login-wrapper::after {
  content: "New client? Use Sign Up at the top right. Actors join through their talent agency.";
  display: block;
  max-width: 400px;
  margin: 14px auto 0;
  color: var(--dp-ink-3);
  font-size: 12.5px;
  text-align: center;
}

/* --- client sign-up and actor invite --- */
:is(:is(.signup-page, .shared-page), .join-page) .sign-up-modal > div {
  width: 100%;
  max-width: 760px !important;
  margin: 34px auto 48px;
  padding: 28px 32px 26px !important;
  background: var(--dp-white);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius-lg);
  box-shadow: 0 18px 44px -24px rgba(35, 32, 31, .25);
}
body:is(.signup-page, .shared-page), body.join-page { background: var(--dp-peach-50) !important; }
:is(:is(.signup-page, .shared-page), .join-page) h2,
:is(.signup-page, .shared-page) .large-title, :is(.signup-page, .shared-page) .h2, :is(.signup-page, .shared-page) h1 {
  margin: 0 0 6px !important;
  color: var(--dp-ink) !important;
  font-size: 24px !important;
  font-weight: 900 !important;
  letter-spacing: -.018em;
  text-align: left !important;
}
:is(:is(.signup-page, .shared-page), .join-page) form > .pb-2 > div { color: var(--dp-ink-2); font-size: 14px; line-height: 1.55; margin-bottom: 14px; }
/* "Actors: do not sign up here" — an info note, not an error */
:is(.signup-page, .shared-page) .alert:not(.d-none):not(.bg-theme) {
  margin: 4px 0 18px;
  padding: 11px 14px 11px 40px;
  position: relative;
  background: #fcf2df !important;
  border: 1px solid #f0dcb0 !important;
  border-radius: var(--dp-radius) !important;
  color: #6d4e0c !important;
  font-size: 13.5px !important;
  line-height: 1.5;
}
:is(.signup-page, .shared-page) .alert:not(.d-none):not(.bg-theme)::before {
  content: "\f05a";
  position: absolute;
  left: 14px;
  top: 12px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  color: #b9861c;
}
:is(.signup-page, .shared-page) .alert:not(.d-none):not(.bg-theme) b,
:is(.signup-page, .shared-page) .alert:not(.d-none):not(.bg-theme) strong { color: #5a3f06; }
/* actor invite banner: "Invitation from {agency}" as a quiet header strip */
.join-page .alert.bg-theme {
  margin: 0 0 20px;
  padding: 12px 16px !important;
  background: var(--dp-peach-100) !important;
  border: 1px solid var(--dp-peach-200) !important;
  border-radius: var(--dp-radius) !important;
  color: var(--dp-ink) !important;
  text-align: left !important;
}
.join-page .alert.bg-theme .color-theme-light {
  opacity: 1 !important;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.join-page .alert.bg-theme .h4 { color: var(--dp-ink) !important; font-size: 17px !important; font-weight: 800 !important; }
/* terms + captcha + button */
:is(:is(.signup-page, .shared-page), .join-page) .custom-control-label { color: var(--dp-ink-2); font-size: 13.5px !important; }
:is(:is(.signup-page, .shared-page), .join-page) .terms-link { color: var(--dp-coral) !important; font-weight: 700; text-decoration: none !important; }
:is(:is(.signup-page, .shared-page), .join-page) .terms-wrapper {
  max-height: 220px;
  overflow-y: auto;
  background: var(--dp-peach-50);
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius);
  color: var(--dp-ink-2);
  font-size: 12.5px;
}
:is(:is(.signup-page, .shared-page), .join-page) form .submit-btn {
  min-width: 160px;
  height: 44px;
  padding: 0 28px !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
  text-transform: none !important;
}
:is(:is(.signup-page, .shared-page), .join-page) form .d-flex:has(> .py-2 > .submit-btn) {
  justify-content: flex-end !important;
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--dp-line);
}
:is(:is(.signup-page, .shared-page), .join-page) form .sm-12.lg-6:has(.submit-btn) { padding-bottom: 0 !important; }
:is(:is(.signup-page, .shared-page), .join-page) form .py-2:has(> .submit-btn) { margin: 0 !important; padding: 0 !important; }
/* the red "Actors: do NOT sign up here" box has inline colours */
:is(.signup-page, .shared-page) form > .pb-2 > div.rounded[style] {
  position: relative;
  margin: 2px 0 18px !important;
  padding: 11px 14px 11px 40px !important;
  background: #fcf2df !important;
  border: 1px solid #f0dcb0 !important;
  border-radius: var(--dp-radius) !important;
  color: #6d4e0c !important;
}
:is(.signup-page, .shared-page) form > .pb-2 > div.rounded[style]::before {
  content: "\f05a";
  position: absolute;
  left: 14px;
  top: 12px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  color: #b9861c;
}
:is(.signup-page, .shared-page) form > .pb-2 > div.rounded[style] .h5 { font-size: 13.5px !important; font-weight: 400; line-height: 1.5; }
:is(.signup-page, .shared-page) form > .pb-2 > div.rounded[style] strong { color: #5a3f06; font-weight: 800; }
:is(.signup-page, .shared-page) form h2.text-center { padding-bottom: 0 !important; margin: 0 0 14px !important; }

/* --- 404 "page not found" (section.error) --- */
section.error {
  max-width: 520px !important;
  margin: 40px auto;
  padding: 36px 36px 30px !important;
  background: var(--dp-white);
  border: 1px solid var(--dp-line);
  border-radius: var(--dp-radius-lg);
  box-shadow: 0 18px 44px -24px rgba(35, 32, 31, .25);
}
section.error .fa-exclamation-triangle {
  margin: 0 0 6px !important;
  font-size: 44px !important;
  color: var(--dp-coral) !important;
  --fa-secondary-opacity: .25;
}
section.error h5 {
  margin: 0;
  color: var(--dp-ink-3) !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: 11px !important;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
section.error > .pb-4 { padding-bottom: 8px !important; }
section.error h4 { margin: 0 0 4px; color: var(--dp-ink) !important; font-size: 22px !important; font-weight: 900 !important; letter-spacing: -.015em; }
section.error p { color: var(--dp-ink-2); font-size: 14px; line-height: 1.6; }
section.error .button {
  height: 42px;
  padding: 0 20px !important;
  border-radius: var(--dp-radius) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
}
/* "Previous page" is the secondary action: white with a coral outline, not yellow */
section.error .button.bg-warning {
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-coral) !important;
  color: var(--dp-coral) !important;
}
section.error .button.bg-warning:hover { background: var(--dp-coral-soft) !important; }
body:has(section.error) { background: var(--dp-peach-50) !important; }

/* --- welcome pop-up on a shared casting (#signUpAlertModal) ---
   A teammate opens a casting the producer shared; this offers log in / sign up / skip. */
#signUpAlertModal .modal-dialog { max-width: 460px; }
#signUpAlertModal .modal-title { font-size: 19px !important; }
#signUpAlertModal .modal-body { padding: 14px 22px 0 !important; }
#signUpAlertModal .modal-body p { margin-bottom: 10px; padding: 0 !important; color: var(--dp-ink-2); font-size: 14px; line-height: 1.55; }
#signUpAlertModal .modal-body p:nth-of-type(2) { margin: 14px 0 6px; color: var(--dp-ink); font-size: 13px; font-weight: 800; }
#signUpAlertModal ol { margin: 0 !important; padding: 0 !important; list-style: none; }
#signUpAlertModal ol li {
  position: relative;
  margin: 0 0 7px !important;
  padding-left: 26px;
  color: var(--dp-ink);
  font-size: 14px;
  line-height: 1.45;
}
#signUpAlertModal ol li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--dp-coral-soft) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23d9503a' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3e%3c/svg%3e") no-repeat center / 9px;
}
#signUpAlertModal .pb-3 { padding-bottom: 6px !important; }
/* buttons: Skip quiet on the left, Log in outlined, Sign up is the main action */
#signUpAlertModal .modal-body > .d-flex {
  justify-content: flex-end !important;
  gap: 8px;
  margin: 14px -22px 0;
  padding: 12px 22px;
  border-top: 1px solid var(--dp-line);
}
#signUpAlertModal .modal-body > .d-flex .button { margin: 0 !important; padding: 8px 18px !important; font-size: 13.5px !important; text-transform: none !important; }
#signUpAlertModal .modal-body > .d-flex .button[href^="/login"] { order: 1; background: var(--dp-white) !important; border: 1px solid var(--dp-coral) !important; color: var(--dp-coral) !important; }
#signUpAlertModal .modal-body > .d-flex .button[href^="/login"]:hover { background: var(--dp-coral-soft) !important; }
#signUpAlertModal .modal-body > .d-flex .button[href*="signup"] { order: 2; }
#signUpAlertModal .modal-body > .d-flex .btn-skip { order: 0; margin-right: auto !important; background: transparent !important; border-color: transparent !important; color: var(--dp-ink-2) !important; }
#signUpAlertModal .modal-body > .d-flex .btn-skip:hover { background: var(--dp-peach-100) !important; color: var(--dp-ink) !important; }

/* ==========================================================================
   18. EMPTY FILTER RESULTS (Maybe / Favorites / Selects with nothing in them)
   The filter tabs reuse the casting table, so populated lists are already
   covered by sections 3, 4 and 11. Only the "No auditions yet." line needs a look.
   ========================================================================== */
:is(.casting-detail-wrapper, .public-casting-show) .filter-section + .row.fs-18:has(> .fw-i:only-child) {
  display: flex;
  justify-content: center;
  margin: 14px 0 6px !important;
  padding: 34px 16px !important;
  background: var(--dp-peach-50);
  border: 1.5px dashed var(--dp-line-strong);
  border-radius: var(--dp-radius-lg);
}
:is(.casting-detail-wrapper, .public-casting-show) .filter-section + .row.fs-18 > .fw-i:only-child {
  color: var(--dp-ink-3);
  font-size: 14px;
  font-style: normal !important;
  font-weight: 700;
}

/* ==========================================================================
   19. READABILITY (Oct 2026): lists are for scanning dozens of rows, so
   alternating peach rows come back, table text is 15px and a darker grey,
   and every row tints on hover. Applies to every list on every side.
   ========================================================================== */
:is(
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody,
  .casting-container .list:not(.casting-detail-wrapper) .table tbody,
  .casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody,
  .public-casting-show > .row.m-0 > .table-responsive > table tbody,
  .talent-directory-container table tbody,
  .talent-directory-page table.dataTable tbody,
  .permissions-page .table tbody
) > tr:not(.play-inline-row):nth-of-type(even):not(#_) { background: var(--dp-peach-50) !important; }
:is(
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody,
  .casting-container .list:not(.casting-detail-wrapper) .table tbody,
  .casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody,
  .public-casting-show > .row.m-0 > .table-responsive > table tbody,
  .talent-directory-container table tbody,
  .talent-directory-page table.dataTable tbody,
  .permissions-page .table tbody
) > tr:not(.play-inline-row):hover:not(#_) { background: var(--dp-coral-soft) !important; }
:is(
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody,
  .casting-container .list:not(.casting-detail-wrapper) .table tbody,
  .casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody,
  .public-casting-show > .row.m-0 > .table-responsive > table tbody,
  .talent-directory-container table tbody,
  .talent-directory-page table.dataTable tbody,
  .permissions-page .table tbody
) > tr > td:not([colspan]):not(#_) { color: #4a423f; font-size: 15px !important; }
:is(
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody,
  .casting-container .list:not(.casting-detail-wrapper) .table tbody,
  .casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody,
  .public-casting-show > .row.m-0 > .table-responsive > table tbody,
  .talent-directory-container table tbody,
  .talent-directory-page table.dataTable tbody,
  .permissions-page .table tbody
) > tr > td.compact:not(#_) { font-size: 14px !important; }
:is(
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead,
  .casting-container .list:not(.casting-detail-wrapper) .table thead,
  .casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table thead,
  .public-casting-show > .row.m-0 > .table-responsive > table thead,
  .talent-directory-container table thead,
  .talent-directory-page table.dataTable thead,
  .permissions-page .table thead
) > tr > th:not(#_) { color: #7d726d !important; font-size: 11.5px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td:nth-child(3) span,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td .public-profile { font-size: 15.5px; }

/* Age range filter (Talent Directory, Talent HQ, Shortlist): label matches the
   other filter labels; the value tags become small pills */
.talent-directory-container .filter > .text-muted:first-child {
  color: var(--dp-ink-3) !important;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.talent-directory-container .al-range-slider__tooltip {
  padding: 1px 7px !important;
  border: 1px solid var(--dp-peach-200) !important;
  border-radius: 20px !important;
  background: var(--dp-peach-100) !important;
  color: var(--dp-ink-2) !important;
  font-size: 11px !important;
  font-weight: 800;
}

/* Folders pop-up (Talent Directory → Action → folder): the bordered table becomes
   a list of folder rows. Click anywhere on a row to choose it; the chosen folder
   gets a coral outline. Talent count is a small pill; New Folder is a dashed row. */
#folderModal .modal-dialog { max-width: 460px; }
#folderModal .modal-header { padding-bottom: 12px !important; }
#folderModal .modal-body { padding: 14px 20px 4px !important; }
#folderModal .modal-body::before { content: "Choose a folder for the selected talent"; display: block; margin-bottom: 10px; color: var(--dp-ink-3); font-size: 13px; }
#folderModal table.table { display: block; max-height: 340px; margin: 0 0 10px !important; overflow-y: auto; border: 0 !important; background: transparent !important; }
#folderModal table.table tbody { display: flex; flex-direction: column; gap: 6px; }
#folderModal table.table tr:first-child:has(th) { display: none; }
#folderModal table.table tr {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--dp-line);
  border-radius: 8px;
  background: var(--dp-white) !important;
  cursor: pointer;
  transition: border-color .12s, background .12s;
}
#folderModal table.table tr:hover { border-color: var(--dp-line-hover); background: var(--dp-peach-50) !important; }
#folderModal table.table tr:has(input:checked) { border-color: var(--dp-coral); background: var(--dp-coral-soft) !important; box-shadow: 0 0 0 3px rgba(239, 107, 84, .12); }
#folderModal table.table td { display: block; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--dp-ink); font-size: 14.5px; }
#folderModal table.table td:nth-child(2) { flex: 1 1 auto; font-weight: 700; }
#folderModal table.table td:first-child { flex: 0 0 18px; height: 18px; }
#folderModal table.table td:first-child .custom-control { position: static; min-height: 0; margin: 0 !important; padding: 0; }
#folderModal table.table td:first-child .custom-control-label { position: static; }
#folderModal table.table td:first-child .custom-control-label::before {
  position: absolute;
  top: 50% !important;
  left: 12px !important;
  width: 18px !important;
  height: 18px !important;
  margin-top: -9px !important;
  border: 1.5px solid var(--dp-line-strong) !important;
  border-radius: 50% !important;
  background: var(--dp-white) !important;
}
#folderModal table.table td:first-child .custom-control-input:checked ~ .custom-control-label::before { border-color: var(--dp-coral) !important; background: var(--dp-coral) radial-gradient(circle, #fff 0 3.5px, transparent 4px) !important; }
/* the whole row is the click target */
#folderModal table.table td:first-child .custom-control-label::after {
  content: "" !important;
  position: absolute;
  inset: 0;
  top: 0 !important;
  left: 0 !important;
  width: auto !important;
  height: auto !important;
  border-radius: 8px !important;
  background: none !important;
  cursor: pointer;
}
#folderModal table.table td:last-child {
  flex: 0 0 auto;
  padding: 2px 9px !important;
  border: 1px solid var(--dp-peach-200) !important;
  border-radius: 20px;
  background: var(--dp-peach-100) !important;
  color: var(--dp-ink-2);
  font-size: 12px;
  font-weight: 800;
}
#folderModal table.table td:last-child::before { content: "\f007"; margin-right: 5px; color: var(--dp-ink-3); font-family: "Font Awesome 5 Pro"; font-size: 10px; font-weight: 900; }
#folderModal .modal-body > .custom-control {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px !important;
  padding: 10px 12px 10px 42px;
  border: 1.5px dashed var(--dp-line-strong);
  border-radius: 8px;
  background: var(--dp-peach-50);
}
#folderModal .modal-body > .custom-control:has(input:checked) { border-style: solid; border-color: var(--dp-coral); background: var(--dp-coral-soft); }
#folderModal .modal-body > .custom-control .custom-control-label { color: var(--dp-coral); font-size: 14.5px; font-weight: 800; }
#folderModal .modal-body > .custom-control .custom-control-label::before { top: 2px !important; left: -30px !important; border-radius: 50% !important; }
#folderModal .modal-body > .custom-control .custom-control-input:checked ~ .custom-control-label::before { background: var(--dp-coral) radial-gradient(circle, #fff 0 3.5px, transparent 4px) !important; }
#folderModal .modal-body > .custom-control .custom-control-label::after { display: none !important; }
#folderModal .modal-body > .custom-control .folder-new { flex: 1 0 100%; width: calc(100% + 30px); height: 38px; margin-left: -30px; }
#folderModal .modal-footer { padding: 12px 20px !important; border-top: 1px solid var(--dp-line) !important; }

/* Talent Directory → Action → Add to Folder: a normal menu item (it was red), and
   while no talent is ticked it greys out with a hint, because clicking it then
   does nothing (developer note: the app should also say so) */
.talent-directory-container .add-to-folder-btn { display: flex !important; align-items: center; gap: 8px; padding: 9px 14px !important; color: var(--dp-ink) !important; font-size: 14px; font-weight: 700; }
.talent-directory-container .add-to-folder-btn i { color: var(--dp-coral); }
.talent-directory-container .add-to-folder-btn:hover { background: var(--dp-peach-100) !important; }
body:not(:has(.talent-directory-check:checked)) .talent-directory-container .add-to-folder-btn { flex-wrap: wrap; color: var(--dp-ink-3) !important; cursor: default; }
body:not(:has(.talent-directory-check:checked)) .talent-directory-container .add-to-folder-btn i { color: var(--dp-line-hover); }
body:not(:has(.talent-directory-check:checked)) .talent-directory-container .add-to-folder-btn::after { content: "Tick one or more talent first"; flex: 1 0 100%; padding-left: 22px; color: var(--dp-ink-3); font-size: 12px; font-weight: 600; }

/* Talent Directory "Folder" filter reads as "Saved Talent"; with no folder chosen
   it says "All Talent" (the app's reset option, "None", reads the same) */
.talent-directory-container .filter:has(select[name=folder]) .filter-label { font-size: 0 !important; }
.talent-directory-container .filter:has(select[name=folder]) .filter-label i { margin-right: 5px; font-size: 10px; }
.talent-directory-container .filter:has(select[name=folder]) .filter-label::after { content: "Saved Talent"; font-size: 10.5px; }
.talent-directory-container .filter:has(select[name=folder]):has(.filter-label.empty) .multiselect.custom-select::before { content: "All Talent" !important; }
.talent-directory-container .filter:has(select[name=folder]) .multiselect-option:first-child .form-check-label { font-size: 0 !important; }
.talent-directory-container .filter:has(select[name=folder]) .multiselect-option:first-child .form-check-label::after { content: "All Talent"; font-size: 14px; }
/* a line and a small "Your folders" heading separate All Talent (the reset) from the folders */
.talent-directory-container .filter:has(select[name=folder]) .multiselect-option:nth-child(2) { display: flex !important; flex-wrap: wrap; margin-top: 6px !important; padding-top: 0 !important; border-top: 1px solid var(--dp-line-strong) !important; }
.talent-directory-container .filter:has(select[name=folder]) .multiselect-option:nth-child(2)::before { content: "Your folders"; flex: 1 0 100%; margin: 8px 0 6px; color: var(--dp-ink-3); font-size: 10.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }

/* Agent "Submitted Auditions": fixed slots so every row lines up —
   play · 2nd-round direction icon (when there is one) · Details · Unsubmit · arrow.
   Rows without a note leave that slot empty. */
.casting-detail-wrapper td.actions { white-space: nowrap; }
.casting-detail-wrapper td.actions:has(.audition-unsubmit-btn) {
  display: grid !important;
  grid-template-columns: auto 32px auto auto auto;
  justify-content: end;
  align-items: center;
  column-gap: 8px;
  font-size: 0 !important;          /* hides the "|" separators */
}
.casting-detail-wrapper td.actions:has(.audition-unsubmit-btn) > * { margin: 0 !important; font-size: 13px; }
.casting-detail-wrapper td.actions .play-inline { grid-column: 1; grid-row: 1; }
.casting-detail-wrapper td.actions .direction-btn {   /* icon only: agents know it; the app's tooltip says "Second-round direction" */
  grid-column: 2;
  grid-row: 1;
  display: inline-grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: 50%;
  background: var(--dp-white);
}
.casting-detail-wrapper td.actions .direction-btn i { color: var(--dp-ink-2) !important; font-size: 14px !important; }
.casting-detail-wrapper td.actions .direction-btn:hover { border-color: var(--dp-coral); }
.casting-detail-wrapper td.actions .direction-btn:hover i { color: var(--dp-coral) !important; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"] { grid-column: 3; grid-row: 1; }
.casting-detail-wrapper td.actions .audition-unsubmit-btn { grid-column: 4; grid-row: 1; min-width: 86px; font-size: 0 !important; }
.casting-detail-wrapper td.actions .audition-unsubmit-btn .link { font-size: 13px; }
.casting-detail-wrapper td.actions .play-inline-toggle { grid-column: 5; grid-row: 1; }

/* Audio players that the app tags with the text-field class ("theme-field"),
   e.g. Invite from Talent Roster: no field box around the player */
audio.theme-field:not(#_) {
  height: 36px;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* Share Casting Sheet (client and agent): most people copy the link and use their
   own email, so the link comes first with a labelled "Copy link" button and the
   Password Protect option (it applies to the link) right under it. The email form
   follows under "Or send it by email". */
#shareCastingModal :has(> .pt-3 > div > .share-link) { display: flex !important; flex-direction: column; }
#shareCastingModal :has(> .pt-3 > div > .share-link) > br { display: none; }
#shareCastingModal .pt-3:has(> div > .share-link) { display: contents; }
#shareCastingModal .row:has(+ div > .share-link) { order: -3; margin: 4px 0 6px !important; padding-top: 0 !important; }
#shareCastingModal .row:has(+ div > .share-link) > div { padding: 0; color: var(--dp-ink); font-size: 13px; font-weight: 700; }
#shareCastingModal .row:has(+ div > .share-link) > div::after { content: " to share"; }
#shareCastingModal div:has(> .share-link) { order: -2; display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
#shareCastingModal .share-link {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none !important;
  overflow: hidden;
  padding: 9px 12px !important;
  font-size: 13px;
  white-space: nowrap;
  text-overflow: ellipsis;
  word-break: normal !important;
}
#shareCastingModal .copy-link {
  flex: 0 0 auto;
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  padding: 8px 14px;
  border: 1.5px solid var(--dp-coral);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  color: var(--dp-coral) !important;
  font-size: 13.5px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: background .1s, transform .1s;
}
#shareCastingModal .copy-link i { margin: 0 !important; color: var(--dp-coral) !important; font-size: 13px !important; }
#shareCastingModal .copy-link::after { content: "Copy link"; }
#shareCastingModal .copy-link:hover { background: var(--dp-coral-soft); }
#shareCastingModal .copy-link:active { transform: scale(.96); background: var(--dp-peach-200); }   /* the app gives no "Copied" message, so at least the press shows */
#shareCastingModal .pt-3:has(> .custom-control #password-protected),
#shareCastingModal .password-protect-div { order: -1; }
#shareCastingModal .pt-3:has(> .custom-control #password-protected) { padding-top: 0 !important; }
#shareCastingModal .toLabel { margin-top: 18px; padding-top: 16px !important; border-top: 1px solid var(--dp-line); }
#shareCastingModal .toLabel::before {
  content: "Or send it by email";
  display: block;
  margin-bottom: 10px;
  color: var(--dp-ink-3);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}

/* Agent "Callback Times" (the callback board, agent view): Respond is a small coral
   button under the talent tile (it was a blue text link squeezing the tile) */
.casting-schedule .schedule-slot:has(> .schedule-slot-actions) { flex-wrap: wrap; }
.casting-schedule .schedule-slot:has(> .schedule-slot-actions) > .schedule-slot-body { flex: 1 1 0 !important; min-width: 0; }
.casting-schedule .schedule-slot > .schedule-slot-actions { display: flex; flex: 1 0 100%; align-items: center; justify-content: flex-start; margin-top: -2px; padding: 0 8px 8px 80px !important; }
.casting-schedule .respond-slot {
  padding: 5px 11px !important;
  border: 0 !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-coral) !important;
  color: var(--dp-white) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap;
}
.casting-schedule .respond-slot:hover { background: var(--dp-coral-hover) !important; }
/* "Decline" (and other danger outline buttons in pop-ups) in red, not coral */
.modal .border-button.danger { border-color: var(--dp-brick) !important; background: var(--dp-white) !important; color: var(--dp-brick) !important; }
.modal .border-button.danger:hover { background: #fbe7e9 !important; }

/* Production Requirements checklist in Add Auditions / Add Self-Tape (agent and
   actor): a bordered panel, one row per requirement, ticked rows tint green and
   the panel shows "All confirmed" once every box is ticked */
.first-upload-requirements { max-width: 100%; margin: 10px 0 14px !important; padding: 12px 14px 6px !important; border: 1px solid var(--dp-line); border-radius: var(--dp-radius-lg); background: var(--dp-white); }
.first-upload-requirements > .font-weight-bold { display: flex; align-items: center; gap: 8px; color: var(--dp-ink); font-size: 13.5px; font-weight: 800 !important; }
.first-upload-requirements > .font-weight-bold::after { content: ""; margin-left: auto; }
.first-upload-requirements > .fs-14 { margin: 2px 0 8px !important; color: var(--dp-ink-3); font-size: 12.5px !important; }
.first-upload-requirements .custom-control { margin: 0 -14px !important; padding: 9px 14px 9px 42px !important; border-top: 1px solid #f3ebe6; }
.first-upload-requirements .custom-control-label { color: var(--dp-ink); font-size: 14px; font-weight: 600; }
.first-upload-requirements .custom-control-label::before,
.first-upload-requirements .custom-control-label::after { left: -28px !important; }
.first-upload-requirements .custom-control:has(input:checked) { background: #f4faf6; }
.first-upload-requirements:not(:has(.requirement-check:not(:checked))) { border-color: #cbe3d3; }
.first-upload-requirements:not(:has(.requirement-check:not(:checked))) > .font-weight-bold::after {
  content: "\2713  All confirmed";
  padding: 2px 9px;
  border: 1px solid #cbe3d3;
  border-radius: 20px;
  background: #e9f3ec;
  color: #3f8f5f;
  font-size: 11.5px;
}

/* ==========================================================================
   v34 — client pass
   ========================================================================== */
/* Upload drop zones (Replace Callback Video, Add Auditions, Add Headshots): an
   upload icon over the prompt, the whole box tints on hover; the file limit line
   above it is a quiet hint, not bold black */
.modal .dropzone[id] { display: flex !important; align-items: center; justify-content: center; cursor: pointer; }
.modal .dropzone .dz-message { margin: 0 !important; color: var(--dp-ink-2); font-size: 14px; font-weight: 700; }
.modal .dropzone .dz-message::before {
  content: "\f382";
  display: block;
  margin-bottom: 8px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: 26px;
  color: var(--dp-coral);
}
.modal .dropzone[id]:hover { background: var(--dp-coral-soft) !important; }
#uploadModal .col-12.mb-3 > strong:only-child { display: block; color: var(--dp-ink-3); font-size: 12.5px; font-weight: 600; }
.upload-requirements:not(.d-none) { padding: 12px 14px 6px !important; border: 1px solid var(--dp-line); border-radius: var(--dp-radius-lg); background: var(--dp-white); }
.upload-requirements > .font-weight-bold { color: var(--dp-ink); font-size: 13.5px; font-weight: 800 !important; }
.upload-requirements > .fs-14 { color: var(--dp-ink-3); font-size: 12.5px !important; }

/* Notify Agencies (callback board): the counts become the same amber/green pills
   as the day headers, requirements sit in a light panel, and the "Resend to
   everyone" option is set apart above the buttons */
#callbackNotifyModal .modal-body p.mb-3 { color: var(--dp-ink-2); font-size: 14px; line-height: 1.5; }
#callbackNotifyModal .notify-summary { display: flex; flex-wrap: wrap; gap: 6px; font-size: 0; }
#callbackNotifyModal .notify-summary strong {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border: 1px solid #f0dcb0;
  border-radius: 20px;
  background: #fcf2df;
  color: #96690f;
  font-size: 12px;
  font-weight: 800;
}
#callbackNotifyModal .notify-summary strong::after { content: "\00a0 awaiting"; }
#callbackNotifyModal .notify-summary strong + strong { border-color: #cbe3d3; background: #e9f3ec; color: #3f8f5f; }
#callbackNotifyModal .notify-summary strong + strong::after { content: "\00a0 confirmed"; }
#callbackNotifyModal label.font-weight-bold { color: var(--dp-ink); font-size: 13px; }
#callbackNotifyModal label.font-weight-bold ~ .custom-control:not(.mt-3) { padding: 10px 12px 10px 38px; border: 1px solid var(--dp-line); background: var(--dp-peach-50); margin-bottom: 0 !important; }
#callbackNotifyModal label.font-weight-bold + .custom-control:not(.mt-3) { border-radius: var(--dp-radius) var(--dp-radius) 0 0; }
#callbackNotifyModal .custom-control:not(.mt-3) + .custom-control:not(.mt-3) { margin-top: -1px; }
#callbackNotifyModal .custom-control:not(.mt-3):not(:has(+ .custom-control:not(.mt-3))) { border-bottom-left-radius: var(--dp-radius); border-bottom-right-radius: var(--dp-radius); }
#callbackNotifyModal label.font-weight-bold + .custom-control:not(.mt-3):not(:has(+ .custom-control:not(.mt-3))) { border-radius: var(--dp-radius); }
#callbackNotifyModal .custom-control.mt-3 { margin-top: 18px !important; padding-top: 14px; border-top: 1px solid var(--dp-line); }
#callbackNotifyModal .custom-control.mt-3 .custom-control-label { color: var(--dp-ink-2); font-size: 13.5px; }
#callbackNotifyModal .custom-control.mt-3 .custom-control-label::before,
#callbackNotifyModal .custom-control.mt-3 .custom-control-label::after { top: calc(14px + .25rem); }

/* Talent profile pop-up: the labels end in " -" in the markup; clip the dash off
   so each reads as a clean small label over its value. Agency contact lines at
   body size (the email and phone were larger than everything else). */
#talentSearchDetailModal .user-info .text-muted { display: table !important; clip-path: inset(0 .8em 0 0); margin-right: -.8em; }
#talentSearchDetailModal .user-info .text-muted.text-nowrap { clip-path: inset(0 1.1em 0 0); margin-right: -1.1em; }
#talentSearchDetailModal .talent-data .row .py-1 > div { font-size: 13.5px !important; color: var(--dp-ink); line-height: 1.6; }
#talentSearchDetailModal .talent-data .row .py-1 > div:first-child { font-weight: 800; }
#talentSearchDetailModal .actor-demo .pt-4 { padding-top: 4px !important; }
#talentSearchDetailModal .actor-demo .py-2 { padding-top: 0 !important; }
#talentSearchDetailModal .actor-demo .color-theme.fs-20 { margin-top: 10px; }

/* Talent Directory, on-camera results: reel thumbnails with rounded corners */
.talent-directory-container table tbody td video { height: 64px; border-radius: var(--dp-radius); background: var(--dp-ink); }

/* Client casting page: the undo (unsubmit) control showed as "| ↺" after Details.
   Now a square icon button like Download, red on hover, before Details. */
.casting-detail-wrapper .auditions-table .audition-actions > .audition-unsubmit-btn {
  display: inline-grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  margin: 0 6px 0 0;
  padding: 0 !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  font-size: 0 !important;
  color: transparent !important;
}
.casting-detail-wrapper .auditions-table .audition-actions > .audition-unsubmit-btn i { font-size: 13px !important; color: var(--dp-ink-3) !important; }
.casting-detail-wrapper .auditions-table .audition-actions > .audition-unsubmit-btn:hover { border-color: var(--dp-brick); }
.casting-detail-wrapper .auditions-table .audition-actions > .audition-unsubmit-btn:hover i { color: var(--dp-brick) !important; }

/* "2nd Rd" pill says what it does for clients: "Request 2nd Rd". One width for
   both states so the row doesn't shift when it turns green "Requested". */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn { box-sizing: border-box; width: 132px; min-width: 0; }   /* fixed, so nothing in the row shifts between states */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn:not(.text-success)::after { content: "Request 2nd Rd"; }

/* Notify Agencies: "Add For This Callback" explains itself — each line becomes its
   own checkbox under the requirements above (the placeholder keeps its example) */
#callbackNotifyModal label[for="callback-notify-extra"] { font-size: 0 !important; }
#callbackNotifyModal label[for="callback-notify-extra"]::before { content: "Add requirements for this callback"; display: block; color: var(--dp-ink); font-size: 13px; font-weight: 700; }
#callbackNotifyModal label[for="callback-notify-extra"]::after { content: "Press Return after each one. Each line becomes its own checkbox, like the one above."; display: block; margin-top: 2px; color: var(--dp-ink-3); font-size: 12.5px; font-weight: 400; }

/* Client 2nd Rd list: no Direction button in the row; the direction is already in
   Details. (The agent's round icon is a separate rule and stays.) */
.casting-detail-wrapper .auditions-table .audition-actions > .direction-btn { display: none !important; }

/* "Actions" header: the buttons sit flush right, so the label sits on the right too
   (next to the notes key) and on the same baseline as the other headers. It was at
   the far left of a wide column, reading as if it belonged to Talent Agency. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th > .d-flex.justify-content-between { justify-content: flex-end !important; align-items: flex-end; gap: 22px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th > .d-flex.justify-content-between > .d-flex.pr-3 { padding: 0 !important; line-height: 1.5; }

/* Column widths: Talent Name, Role and Talent Agency get the room. Date stays as
   narrow as its text (header on one line); the actions column is a fixed 330px
   and wraps inside itself (Details on the second line, flush right) instead of
   taking space from the names. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th:has(a[title="Date Submitted"]) { white-space: nowrap !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table td.px-0:has(.audition-actions) { width: 1%; min-width: 330px; }

/* Side menu: every icon in the same 18px slot so the labels line up. "Shared" has
   no <span> round its text in the template, so its label sat further left; nudge
   it by the width of the extra space so it matches New / Active / Archived. */
.castingSideBar .navbar-nav > li > a { gap: 0 !important; }
.castingSideBar .navbar-nav > li > a > i { flex: 0 0 18px; width: 18px !important; margin-right: 10px !important; text-align: center; }
.castingSideBar .navbar-nav > li > a:not(:has(> span)) > i { margin-right: calc(10px - .265em) !important; }

/* Callback buttons say which system they open:
   - "Callback Scheduler" (the calendar, /schedule) — coral outline, calendar icon
   - "Email Callback Request" (the older email-reply flow) — plain, envelope icon;
     still dashed and greyed until the casting has Selects
   "Invite From Talent Directory" gets a person-plus icon so it no longer shares
   the envelope with the email request. */
.casting-actions a.action-btn[href$="/schedule"] > span:last-child,
.casting-actions .action-btn:is(.has-selects, .has-no-selects) > span:last-child { font-size: 0 !important; }
.casting-actions a.action-btn[href$="/schedule"] > span:last-child::after { content: "Callback Scheduler"; font-size: 13px; }
.casting-actions .action-btn:is(.has-selects, .has-no-selects) > span:last-child::after { content: "Email Callback Request"; font-size: 13px; }
.casting-actions a.action-btn[href$="/schedule"]:not(#_) { border: 1.5px solid var(--dp-coral) !important; background: var(--dp-white) !important; color: var(--dp-coral) !important; }
.casting-actions a.action-btn[href$="/schedule"]:not(#_):hover { background: var(--dp-coral-soft) !important; }
.casting-actions a.action-btn[href$="/schedule"] .action-icon,
.casting-actions a.action-btn[href$="/schedule"] .action-icon i { color: var(--dp-coral) !important; }
.casting-actions a.action-btn[href$="/schedule"] .action-icon i { font-weight: 900; }
.casting-actions .action-btn.has-selects:not(#_) { background: var(--dp-white) !important; border-color: var(--dp-line-strong) !important; color: var(--dp-ink) !important; }
.casting-actions .action-btn.has-selects:not(#_):hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }
.casting-actions .action-btn:is(.has-selects, .has-no-selects) .action-icon i { color: var(--dp-ink-3) !important; font-weight: 400; }
.casting-actions .action-btn.has-selects:hover .action-icon i { color: var(--dp-coral) !important; }
.casting-actions .action-btn:is(.has-selects, .has-no-selects) .action-icon i::before { content: "\f0e0"; }
.casting-actions .action-btn[data-target="#inviteTalentDirectoryModal"] .action-icon i::before { content: "\f234"; }
.casting-actions .action-btn:is(.has-selects, .has-no-selects):not(#_) .action-icon i { color: var(--dp-ink-3) !important; }
.casting-actions .action-btn.has-selects:not(#_):hover .action-icon i { color: var(--dp-coral) !important; }

/* Casting page buttons in the order a casting runs: Share Casting Sheet, Add
   Auditions, Invite From Talent Directory, Callback Scheduler, Email Callback
   Request, Export CSV. The two rarely used ones (Invite, Export) are quieter. */
.casting-actions .action-btn[data-target="#shareCastingModal"] { order: 1; }
.casting-actions .action-btn[data-target="#batchUploadModal"] { order: 2; }
.casting-actions .action-btn[data-target="#inviteTalentDirectoryModal"] { order: 3; }
.casting-actions a.action-btn[href$="/schedule"] { order: 4; }
.casting-actions .action-btn:is(.has-selects, .has-no-selects) { order: 5; }
.casting-actions a.action-btn[href*="/download/csv/"] { order: 6; }
.casting-actions :is(.action-btn[data-target="#inviteTalentDirectoryModal"], a.action-btn[href*="/download/csv/"]):not(#_) { border-color: var(--dp-line) !important; color: var(--dp-ink-2) !important; font-weight: 600 !important; }
.casting-actions :is(.action-btn[data-target="#inviteTalentDirectoryModal"], a.action-btn[href*="/download/csv/"]):not(#_):hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }

/* Highlighted buttons: Share Casting Sheet and Callback Scheduler are solid coral;
   Add Auditions becomes a plain button like the rest. */
.casting-actions :is(.action-btn[data-target="#shareCastingModal"], a.action-btn[href$="/schedule"]):not(#_):not(#_) { background: var(--dp-coral) !important; border: 1px solid var(--dp-coral) !important; color: var(--dp-white) !important; }
.casting-actions :is(.action-btn[data-target="#shareCastingModal"], a.action-btn[href$="/schedule"]):not(#_):not(#_):hover { background: var(--dp-coral-hover) !important; border-color: var(--dp-coral-hover) !important; color: var(--dp-white) !important; }
.casting-actions :is(.action-btn[data-target="#shareCastingModal"], a.action-btn[href$="/schedule"]):not(#_):not(#_) :is(.action-icon, .action-icon i) { color: var(--dp-white) !important; }
.casting-actions .action-btn.primary[data-target="#batchUploadModal"]:not(#_):not(#_) { background: var(--dp-white) !important; border: 1px solid var(--dp-line-strong) !important; color: var(--dp-ink) !important; }
.casting-actions .action-btn.primary[data-target="#batchUploadModal"]:not(#_):not(#_):hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }
.casting-actions .action-btn.primary[data-target="#batchUploadModal"]:not(#_):not(#_) :is(.action-icon, .action-icon i) { color: var(--dp-ink-3) !important; }
.casting-actions .action-btn.primary[data-target="#batchUploadModal"]:not(#_):not(#_):hover :is(.action-icon, .action-icon i) { color: var(--dp-coral) !important; }

/* Top bar (Casting List / Make Changes on the left, Close Submissions / Project is
   cast on the right) gets a hairline and some air under it, so it reads as page
   navigation and stops crowding the project name and the action buttons. */
.casting-detail-wrapper > .action-header { padding-bottom: 12px !important; margin-bottom: 20px !important; border-bottom: 1px solid var(--dp-line); }

/* "No auditions found." (casting page, empty search or no auditions yet): the
   dashed empty-state panel with room above it, a search icon, and a hint — "Try
   another name…" when the Talent Name search has text, otherwise a note that
   auditions arrive as agencies submit them. */
.casting-detail-wrapper > .row.fs-18.fw-i:has(> .col-12.text-center:only-child) {
  margin: 12px 0 22px !important;
  padding: 28px 20px !important;
  border: 1.5px dashed var(--dp-line-strong);
  border-radius: var(--dp-radius-lg);
  background: var(--dp-peach-50);
}
.casting-detail-wrapper > .row.fs-18.fw-i > .col-12.text-center:only-child { color: var(--dp-ink); font-size: 15px; font-weight: 700; font-style: normal; }
.casting-detail-wrapper > .row.fs-18.fw-i > .col-12.text-center:only-child::before {
  content: "\f002";
  display: block;
  margin-bottom: 8px;
  font-family: "Font Awesome 5 Pro";
  font-weight: 400;
  font-size: 20px;
  color: var(--dp-ink-3);
}
.casting-detail-wrapper > .row.fs-18.fw-i > .col-12.text-center:only-child::after { content: "Auditions show up here as agencies submit them."; display: block; margin-top: 4px; color: var(--dp-ink-3); font-size: 13px; font-weight: 400; }
.casting-detail-wrapper:has(input[type="search"]:not(:placeholder-shown)) > .row.fs-18.fw-i > .col-12.text-center:only-child::after { content: "Try another name, or clear the search."; }

/* Agent casting page (it has the Waiting Area): "There are no submitted auditions.
   You must submit auditions from the Waiting Area." uses the same panel, with an
   inbox icon, "No submitted auditions yet" and a how-to line. */
.casting-detail-wrapper:has(.bg-soft-orange) > .row.fs-18.fw-i > .col-12.text-center:only-child { font-size: 0; }
.casting-detail-wrapper:has(.bg-soft-orange) > .row.fs-18.fw-i > .col-12.text-center:only-child::before { content: "\f01c"; font-size: 20px; }
.casting-detail-wrapper:has(.bg-soft-orange) > .row.fs-18.fw-i > .col-12.text-center:only-child::after { content: "No submitted auditions yet"; margin: 0; color: var(--dp-ink); font-size: 15px; font-weight: 700; }
.casting-detail-wrapper:has(.bg-soft-orange) > .row.fs-18.fw-i:has(> .col-12.text-center:only-child)::after {
  content: "Tick talent in the Waiting Area below, then choose Submit.";
  display: block;
  width: 100%;
  margin-top: 4px;
  text-align: center;
  color: var(--dp-ink-3);
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
}

/* Agent Waiting Area: same table styling as Submitted Auditions (the selectors
   above now cover both), and its action icons as proper buttons — download
   square, round coral play, heart, reject ×, Details, tick box — no "|" */
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions { text-align: right; white-space: nowrap !important; font-size: 0 !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > * { vertical-align: middle !important; margin-left: 4px; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row table tbody td { text-transform: none !important; letter-spacing: 0 !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row table tbody td:nth-child(2) { color: var(--dp-ink) !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > a[data-target="#audition_detail"] { font-size: 0 !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > a[data-target="#audition_detail"] .link { font-size: 13px !important; text-transform: none !important; }
/* the play circle: the template's d-inline-block (!important) stopped the icon
   centring, so it sat in the corner of the circle — on both agent tables */
.casting-detail-wrapper td.actions .play-inline { display: inline-grid !important; place-items: center; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .play-inline i { margin-left: 2px; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .fa-image.opacity-0 { display: none; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > a[download] {
  display: inline-grid !important;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0 !important;
  border: 1px solid var(--dp-line-strong);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
}
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > a[download] i { font-size: 13px !important; color: var(--dp-ink-3) !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > a[download]:hover { border-color: var(--dp-coral); }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > a[download]:hover i { color: var(--dp-coral) !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .play-inline { margin: 0 4px !important; padding: 0 !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > :is(.agency-favorite, .reject) { display: inline-grid !important; place-items: center; width: 30px; height: 30px; padding: 0 !important; border-radius: 50%; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > :is(.agency-favorite, .reject) i { font-size: 16px !important; color: var(--dp-ink-3) !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .agency-favorite i.fas { color: var(--dp-coral) !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .agency-favorite:hover { background: var(--dp-peach-100); }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .reject:hover { background: #fbe7e9; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .reject:hover i { color: var(--dp-brick) !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > a[data-target="#audition_detail"] { margin: 0 2px 0 6px !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .audition-checkbox { margin: 0 0 0 6px !important; }

/* Agent casting page, same order: Share Casting Sheet, Add Auditions, Add From
   Talent Directory, Download Casting Sheet (the order and coral rules above use
   the same buttons; these two are agent-only) */
.casting-actions .action-btn[data-target="#addFromTalentDirectoryModal"] { order: 3; }
.casting-actions a.action-btn[href*="/casting/download/"] { order: 6; }

/* Waiting Area bar: "0 selected Submit | Reject | Download" becomes a quiet count
   and three small buttons — Submit (coral), Reject (red outline), Download —
   greyed until talent is ticked. No "|" separators. */
.casting-detail-wrapper .bg-soft-orange.sticky-top { align-items: center; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr { display: flex; align-items: center; justify-content: flex-end; gap: 6px; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > button { font-size: 0 !important; border-radius: var(--dp-radius); line-height: 1; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > button:first-child { margin-right: 4px; padding: 0 !important; border: 0; background: none; color: var(--dp-ink-3); font-style: normal !important; cursor: default; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > button:first-child .check-count { font-size: 13px; font-weight: 800; color: var(--dp-ink); }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > button:first-child::after { content: " selected"; font-size: 13px; font-weight: 600; white-space: pre; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > :is(.c-sub, .c-rej, .c-down) { padding: 7px 13px !important; border: 1px solid var(--dp-line-strong); background: var(--dp-white); color: var(--dp-ink); }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > :is(.c-sub, .c-rej, .c-down)::after { font-size: 13px; font-weight: 700; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > .c-sub::after { content: "Submit"; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > .c-rej::after { content: "Reject"; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > .c-down::after { content: "Download"; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > .c-sub:not(:disabled) { border-color: var(--dp-coral); background: var(--dp-coral); color: var(--dp-white); }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > .c-sub:not(:disabled):hover { background: var(--dp-coral-hover); }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > .c-rej:not(:disabled) { border-color: var(--dp-brick); color: var(--dp-brick); }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > .c-rej:not(:disabled):hover { background: #fbe7e9; }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > .c-down:not(:disabled):hover { border-color: var(--dp-coral); color: var(--dp-coral); }
.casting-detail-wrapper .bg-soft-orange.sticky-top .csr > :is(.c-sub, .c-rej, .c-down):disabled { border-style: dashed; background: var(--dp-peach-50); color: var(--dp-ink-3); opacity: 1; cursor: not-allowed; }

/* Agent "submit selected auditions" confirmation: a small card with a paper-plane
   badge, a clear question and what happens next, then Cancel / Submit (coral)
   instead of two identical coral Yes / No slabs */
#submit-auditions-modal .modal-dialog { max-width: 420px; }
#submit-auditions-modal .modal-content { overflow: hidden; border: 0 !important; border-radius: 14px !important; }
#submit-auditions-modal .modal-header { position: absolute; top: 0; right: 0; z-index: 2; min-height: 0; padding: 10px 12px !important; border: 0 !important; }
#submit-auditions-modal .modal-body.message { padding: 30px 30px 6px !important; font-size: 0 !important; text-align: center; border: 0 !important; }
#submit-auditions-modal .modal-body.message::before {
  content: "\f1d8";
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--dp-coral-soft);
  color: var(--dp-coral);
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  font-size: 20px;
}
#submit-auditions-modal .modal-body.message::after {
  content: "Submit the selected auditions?";
  display: block;
  color: var(--dp-ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}
#submit-auditions-modal .msg-box.hide + div::before,
#submit-auditions-modal .modal-body.message + .msg-box + div::before {
  content: "They move to Submitted Auditions and the client can review them. You can unsubmit later if needed.";
  display: block;
  flex: 1 0 100%;
  margin: 0 0 20px;
  color: var(--dp-ink-2);
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
}
#submit-auditions-modal .modal-body.message + .msg-box + div {
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 !important;
  padding: 0 30px 26px !important;
  justify-content: center !important;
  border: 0 !important;
}
#submit-auditions-modal .msg-box.hide { display: none !important; }
#submit-auditions-modal .button.confirm,
#submit-auditions-modal .button.cancel {
  flex: 1 1 0;
  margin: 0 !important;
  padding: 11px 16px !important;
  border-radius: var(--dp-radius) !important;
  font-size: 0 !important;
  text-align: center;
  cursor: pointer;
}
#submit-auditions-modal .button.confirm { order: 2; background: var(--dp-coral) !important; border: 1px solid var(--dp-coral) !important; color: var(--dp-white) !important; }
#submit-auditions-modal .button.confirm:hover { background: var(--dp-coral-hover) !important; }
#submit-auditions-modal .button.cancel { order: 1; background: var(--dp-white) !important; border: 1px solid var(--dp-line-strong) !important; color: var(--dp-ink) !important; }
#submit-auditions-modal .button.cancel:hover { border-color: var(--dp-ink-3) !important; }
#submit-auditions-modal .button.confirm::after { content: "Submit"; font-size: 14px; font-weight: 800; }
#submit-auditions-modal .button.cancel::after { content: "Cancel"; font-size: 14px; font-weight: 700; }
#submit-auditions-modal :is(.button.confirm, .button.cancel),
#submit-auditions-modal :is(.button.confirm, .button.cancel)::after { text-transform: none !important; letter-spacing: 0 !important; }

/* Agent tables: the readability rule (15px text) was beating the font-size:0 that
   hides the raw "|" separators in the actions cell, so they showed again */
.casting-detail-wrapper td.actions:not(#_):not(#_) { font-size: 0 !important; }

/* Share Shortlisted Talents (agent Talent HQ / Shortlist → Action → Share Talent):
   same layout as Share Casting Sheet — the link first with a labelled "Copy link"
   button beside it, Password Protect under it, then "Or send it by email" */
#shareActorsModal .modal-body { display: grid !important; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: center; }
#shareActorsModal .modal-body > * { grid-column: 1 / -1; margin-left: 0 !important; margin-right: 0 !important; }
#shareActorsModal .modal-body > .row:has(.copy-link) { display: contents; }
#shareActorsModal .modal-body > .row:has(.copy-link) > .font-weight-bold { grid-column: 1 / -1; grid-row: 1; margin: 4px 0 6px; padding: 0; color: var(--dp-ink); font-size: 13px; font-weight: 700; }
#shareActorsModal .modal-body > .row:has(.copy-link) > .font-weight-bold::after { content: " to share"; }
#shareActorsModal .modal-body > div:has(> .share-url) { grid-column: 1; grid-row: 2; }
#shareActorsModal .modal-body > .row:has(.copy-link) > .text-right { grid-column: 2; grid-row: 2; padding: 0; text-align: left !important; }
#shareActorsModal .share-url { padding: 9px 12px !important; font-size: 13px; text-overflow: ellipsis; }
#shareActorsModal .copy-link {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border: 1.5px solid var(--dp-coral);
  border-radius: var(--dp-radius);
  background: var(--dp-white);
  color: var(--dp-coral) !important;
  font-size: 0 !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background .1s, transform .1s;
}
#shareActorsModal .copy-link i { color: var(--dp-coral) !important; font-size: 13px !important; }
#shareActorsModal .copy-link::after { content: "Copy link"; font-size: 13.5px; font-weight: 800; }
#shareActorsModal .copy-link:hover { background: var(--dp-coral-soft); }
#shareActorsModal .copy-link:active { transform: scale(.96); background: var(--dp-peach-200); }
#shareActorsModal .modal-body > .pt-3:has(#password-protected) { grid-row: 3; padding-top: 12px !important; }
#shareActorsModal .modal-body > .password-protect-div { grid-row: 4; }
#shareActorsModal .modal-body > .form-group:first-child { grid-row: 5; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--dp-line); }
#shareActorsModal .modal-body > .form-group:first-child::before {
  content: "Or send it by email";
  display: block;
  margin-bottom: 10px;
  color: var(--dp-ink-3);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
#shareActorsModal .modal-body > .form-group:nth-child(2) { grid-row: 6; }

/* Castings lists: hide the dangling "for" when a casting has no brand
   ("Gullickson Creative Agency for") */
.list table tbody td span.fs-12.fw-i:has(+ span.fs-12:empty) { display: none; }

/* Agent casting page: the callback link keeps the agent's own label ("Callback
   Times") and stays a plain button; the "Callback Scheduler" name and coral are
   for the client's page only */
.casting-actions:has(.action-btn[data-target="#addFromTalentDirectoryModal"]) a.action-btn[href$="/schedule"] > span:last-child { font-size: 13px !important; }
.casting-actions:has(.action-btn[data-target="#addFromTalentDirectoryModal"]) a.action-btn[href$="/schedule"] > span:last-child::after { content: none; }
.casting-actions:has(.action-btn[data-target="#addFromTalentDirectoryModal"]) a.action-btn[href$="/schedule"]:not(#_):not(#_):not(#_) { background: var(--dp-white) !important; border: 1px solid var(--dp-line-strong) !important; color: var(--dp-ink) !important; }
.casting-actions:has(.action-btn[data-target="#addFromTalentDirectoryModal"]) a.action-btn[href$="/schedule"]:not(#_):not(#_):not(#_):hover { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }
.casting-actions:has(.action-btn[data-target="#addFromTalentDirectoryModal"]) a.action-btn[href$="/schedule"]:not(#_):not(#_):not(#_) :is(.action-icon, .action-icon i) { color: var(--dp-ink-3) !important; font-weight: 400; }

/* Agent Submitted Auditions (on-camera): headshot as the same small portrait as
   the client side, and the talent name in dark bold instead of a coral link */
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) td:has(> img.pull-headshots) { position: relative; width: 1%; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) img.pull-headshots { display: block; width: 44px !important; height: 56px !important; object-fit: cover; border: 1px solid var(--dp-line) !important; border-radius: 4px; background: var(--dp-peach-200); }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) td:has(> img.pull-headshots) > .fa-images { left: 50%; top: 50%; transform: translate(-50%, -50%); color: var(--dp-white); font-size: 14px; pointer-events: none; text-shadow: 0 1px 2px rgba(0,0,0,.4); }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) td:has(> img.pull-headshots):hover img { border-color: var(--dp-coral) !important; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) td .public-profile { color: var(--dp-ink) !important; font-weight: 800; cursor: pointer; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) td .public-profile:hover { color: var(--dp-coral) !important; }

/* Agent Submitted Auditions actions: a normal table cell instead of a grid (the
   grid cell didn't stretch to the row, so taller on-camera rows had the buttons
   riding high and the row line broken under them). Same fixed slots: play, the
   direction icon or an equal gap, Details, Unsubmit, then the arrow. The row line
   moves to the row itself so it is continuous. */
.casting-detail-wrapper td.actions:has(.audition-unsubmit-btn):not(#_) { display: table-cell !important; height: auto; text-align: right; white-space: nowrap; vertical-align: middle !important; }
.casting-detail-wrapper td.actions:has(.audition-unsubmit-btn) > * { display: inline-flex; vertical-align: middle; margin: 0 0 0 8px !important; }
.casting-detail-wrapper td.actions:has(.audition-unsubmit-btn) > .play-inline { margin-left: 0 !important; }
.casting-detail-wrapper td.actions:has(.audition-unsubmit-btn):not(:has(.direction-btn)) > .play-inline { margin-right: 40px !important; }
.casting-detail-wrapper td.actions:has(.audition-unsubmit-btn) > .audition-unsubmit-btn { min-width: 86px; align-items: center; }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody tr { border-bottom: 1px solid var(--dp-line); }
.casting-detail-wrapper :is(.row:has(> .bg-soft-orange), .bg-soft-orange.sticky-top + .row) > .table-responsive > table tbody td:not(#_) { border-bottom: 0 !important; }

/* Callback Schedule header (client and agent): back link over a hairline like the
   casting page, a bigger title, and the instructions as a light card with an info
   icon instead of a grey paragraph wrapping across the page. On the agent's board
   a second line points to the amber tiles (the ones waiting on them). */
.casting-schedule > .action-header { padding-bottom: 12px !important; margin-bottom: 20px !important; border-bottom: 1px solid var(--dp-line); }
.casting-schedule > h1 { margin-bottom: 10px !important; color: var(--dp-ink); font-size: 24px !important; font-weight: 900 !important; letter-spacing: -.015em; }
.casting-schedule > h1 + p.text-muted {
  position: relative;
  max-width: 760px;
  margin: 0 0 20px !important;
  padding: 12px 16px 12px 46px;
  border: 1px solid var(--dp-line);
  border-left: 3px solid var(--dp-coral);   /* white with a coral edge, so it doesn't match the peach day headers */
  border-radius: var(--dp-radius-lg);
  background: var(--dp-white);
  box-shadow: 0 1px 2px rgba(35, 32, 31, .04);
  color: var(--dp-ink-2) !important;
  font-size: 14px !important;
  line-height: 1.55;
}
.casting-schedule > h1 + p.text-muted::before {
  content: "\f05a";
  position: absolute;
  left: 16px;
  top: 12px;
  color: var(--dp-coral);
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  font-size: 16px;
  line-height: 1.4;
}
.casting-schedule:has(.schedule-rail.d-none) > h1 + p.text-muted::after {
  content: "Amber tiles are waiting on you — click Respond on each one.";
  display: block;
  margin-top: 4px;
  color: var(--dp-ink);
  font-weight: 700;
}

/* Callback board: when any day has a location line, days without one get an
   equal blank line so every day header is the same height and the time rows
   line up across columns */
.schedule-days:has(.schedule-day-meta .fa-map-marker-alt) .schedule-day-head:not(:has(.fa-map-marker-alt)) .schedule-day-meta:not(:has(~ .schedule-day-meta))::after { content: ""; display: block; height: 1.5em; }


/* v35 — Audition row actions on ONE line (reactions · Request 2nd Rd · download ·
   play · Details). The actions column shrinks to its buttons so the rest of the
   width goes to Talent Name / Role / Agency (names and roles never wrap; Agency
   may take two lines). Under 1360px wide everything tightens a little (smaller
   gaps, "2nd Rd" pill, date on two lines) so it still fits; there a callback
   status pill moves to its own line above the buttons. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table td.px-0:has(.audition-actions):not(#_) { width: 1%; min-width: 0; white-space: nowrap !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions:has(> .audition-actions) { align-items: center !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions:not(#_) { display: flex !important; flex-wrap: nowrap !important; align-items: center; justify-content: flex-end; gap: 4px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > * { margin: 0 !important; flex: none !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > .request-second-round-btn { margin: 0 4px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] { order: 0 !important; flex-direction: column; align-items: flex-end !important; gap: 1px !important; margin: 0 6px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td:has(.public-profile),
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td:has(> span:only-child),
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th:has(a[title="Talent Name"]) { white-space: nowrap !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td:not([class]):not(:has(*)) { min-width: 150px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_) { width: 116px; }
@media (max-width: 1359px) {
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions:not(#_) { gap: 2px; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-maybe:not(#_), :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-favorite:not(#_), :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-select:not(#_) { width: 28px; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn:not(#_) { width: 92px; padding: 0 8px !important; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn:not(.text-success)::after { content: "2nd Rd" !important; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_) { width: 108px; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th, :is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody tr > td { padding-left: 6px !important; padding-right: 6px !important; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table tbody td.compact:not(#_):not(#_) { white-space: normal !important; min-width: 64px; max-width: 80px; line-height: 1.35; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table thead th:has(a[title="Date Submitted"]):not(#_) { white-space: normal !important; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions:has(> a[href*="/schedule"]):not(#_) { flex-wrap: wrap !important; row-gap: 6px; min-width: 340px; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"]:not(#_) { order: -1 !important; flex: 1 0 100% !important; flex-direction: row; justify-content: flex-end; align-items: center !important; gap: 6px !important; margin: 0 !important; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table td.px-0:has(.audition-actions > a[href*="/schedule"]):not(#_) { white-space: normal !important; }
}

/* Per-row "Download all assets" icon hidden (rarely used; the download button
   at the top of the list still downloads in bulk) */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[title^="Download all assets"] { display: none !important; }
/* Callback status pill, short: calendar icon + Awaiting / Confirmed / Declined,
   with the time beside it. The full sentence is still in the hover tooltip. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"]:not(#_) { flex-direction: row !important; align-items: center !important; gap: 5px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge:is(.badge-info, .badge-success, .badge-danger) { display: inline-flex; align-items: center; gap: 4px; font-size: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge:is(.badge-info, .badge-success, .badge-danger)::before { content: "\f073"; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: 11px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge:is(.badge-info, .badge-success, .badge-danger)::after { font-size: 11.5px; font-weight: 800; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge-info::after { content: "Awaiting"; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge-success::after { content: "Confirmed"; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge-danger::after { content: "Declined"; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge-info { border-color: #ecd29a !important; background: #fcf2df !important; color: #96690f !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .fs-14 { font-size: 12px !important; white-space: nowrap; }

/* Details button: compact and left-aligned — "Details" with the note indicators
   right after it (count bubble, agent-note page icon). Fixed width just big enough
   for both indicators, so the buttons still line up row to row. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_):not(#_) { width: 104px; justify-content: flex-start; gap: 4px; padding: 0 8px 0 10px !important; font-size: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] .link { font-size: 13px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] .link + *:not(#_) { margin-left: 2px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] > span.px-1:not(#_) { padding: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] .fa-file:not(#_) { font-size: 14px !important; }

/* "Request 2nd Rd" becomes a small "2nd" chip, so the row breathes:
     grey outline = not requested (hover: coral; tooltip "Request 2nd Round")
     amber        = requested, waiting on the agency (tooltip "Resend…")
   That frees room for a Details button that never clips its note icons. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions:not(#_):not(#_) { gap: 6px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn:not(#_):not(#_) { width: 42px !important; min-width: 0; height: 28px; margin: 0 4px !important; padding: 0 !important; justify-content: center; border: 1.5px solid var(--dp-line-strong); border-radius: 14px; background: var(--dp-white); color: var(--dp-ink-2) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn i { display: none !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn::after,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn:not(.text-success)::after,
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn.text-success::after { content: "2nd" !important; font-size: 12px; font-weight: 800; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn:not(.text-success):hover { border-color: var(--dp-coral); color: var(--dp-coral) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn.text-success:not(#_):not(#_) { border-color: #e2b452; background: #fcf2df; color: #96690f !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_):not(#_) { width: 120px; justify-content: flex-start; gap: 6px; padding: 0 10px 0 12px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] .link + *:not(#_):not(#_) { margin-left: auto !important; }
@media (max-width: 1359px) {
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-maybe:not(#_), :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-favorite:not(#_), :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a.action-select:not(#_) { width: 30px; }
}
/* ready for Indivision: green once the 2nd-round audition is uploaded */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions .request-second-round-btn.r2-uploaded:not(#_):not(#_) { border-color: #9fcfae; background: #e9f3ec; color: #3f8f5f !important; }

/* Reactions (Maybe · Favorite · Select) as their own group: roomier icons and a
   clear gap before the 2nd / download / play / Details group */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a:is(.action-maybe, .action-favorite, .action-select):not(#_):not(#_) { width: 34px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > .action-select:not(#_) { margin-right: 18px !important; }
@media (max-width: 1359px) {
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a:is(.action-maybe, .action-favorite, .action-select):not(#_):not(#_) { width: 30px; }
  :is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > .action-select:not(#_) { margin-right: 10px !important; }
}
/* callback status: pill over its time (narrower), so the Callback Review tab —
   which also has the upload button — still fits on one line */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"]:not(#_):not(#_) { flex-direction: column !important; align-items: center !important; gap: 2px !important; line-height: 1.1; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .fs-14:not(#_) { font-size: 11px !important; }

/* Row order, in groups: reactions | callback status or "2nd" chip |
   upload · download · play | (unsubmit) | Details. The callback upload button
   moves next to download so the file actions sit together. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > :is(a[href*="/schedule"], .request-second-round-btn) { order: 1 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[data-target="#uploadModal"] { order: 2 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > .down-btn { order: 3 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > .play-btn { order: 4 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > .audition-unsubmit-btn { order: 5 !important; }

/* Callback Review tab: the template renders Export CSV and Email Callback Request
   as invisible placeholders (they don't apply on that tab). In the stacked button
   column they left a blank gap above Share Casting Sheet, so remove them. */
.casting-actions > .action-btn.invisible { display: none !important; }

/* Ready for Indivision: dates are sent in UTC and converted to local time by a
   script, so a reload briefly shows the raw UTC value. If the template outputs
   date cells with class "utc-pending" and the script removes it after converting,
   the raw value is never seen. (No class, no effect — safe until they add it.) */
.utc-pending { visibility: hidden !important; }

/* Self-tape player in the expanded row: the video sat low in its frame (black
   band on top, bottom cut off) — the frame picked up padding from the template.
   Pin the video to fill the frame exactly. */
tr.play-inline-row .full-video-container:not(#_) { position: relative; padding: 0 !important; margin-top: 0 !important; }
tr.play-inline-row .full-video-container video:not(#_) { position: absolute !important; inset: 0 !important; margin: 0 !important; width: 100% !important; height: 100% !important; object-fit: contain; }
/* older Safari without aspect-ratio: keep the 16:9 frame with the padding trick */
@supports not (aspect-ratio: 1 / 1) {
  tr.play-inline-row .full-video-container:not(#_) { height: 0 !important; padding-top: 56.25% !important; }
}

/* Agent Waiting Area row: the buttons were 4px apart and ran together. Now in
   groups — [add headshot · download · play] · [heart · reject] · Details · tick —
   and the add-headshot icon (a PNG) becomes the same square button as download,
   with the same upload-headshot picture as the actor's page.
   Only the talent name is bold; role and date are regular. */
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > *:not(#_) { margin-left: 8px !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .agency-favorite:not(#_),
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > a[data-target="#audition_detail"]:not(#_) { margin-left: 18px !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .audition-checkbox:not(#_) { margin-left: 12px !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .headshot-upload-icon { display: inline-grid !important; box-sizing: border-box; width: 32px !important; height: 32px !important; border: 1px solid var(--dp-line-strong); border-radius: var(--dp-radius); background-color: var(--dp-white) !important; background-size: 17px auto !important; background-position: center !important; background-repeat: no-repeat !important; opacity: .75; cursor: pointer; vertical-align: middle; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .headshot-upload-icon:hover { border-color: var(--dp-coral); opacity: 1; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row table tbody td:not(:first-child):not(#_):not(#_) { font-weight: 400 !important; color: #4a423f !important; }
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row table tbody td:first-child:not(#_) { font-weight: 800 !important; color: var(--dp-ink) !important; }
/* the template sets this cell italic, which slanted the portrait icon */
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .headshot-upload-icon,
.casting-detail-wrapper .bg-soft-orange.sticky-top + .row td.actions > .headshot-upload-icon::before { font-style: normal !important; }

/* ==========================================================================
   v37 — pre-release test pass (9 Oct 2026)
   ========================================================================== */

/* v37 — Client 2nd Rd tab, waiting on the actor's R2 (#22): the row had no
   download / play / arrow, so reactions and Details slid right. An amber
   "R2 pending" label now fills exactly the download + play slot, and the arrow
   slot is held open, so every control lines up with the rows above. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions:has(.direction-btn):not(:has(.play-btn))::before {
  content: "R2 pending"; order: 3; flex: none; display: inline-grid; place-items: center; box-sizing: border-box;
  width: 72px; height: 24px; border: 1px solid var(--dp-amber-line, #ecd29a); border-radius: 20px;
  background: #fcf2df; color: #85590a; font-size: 11px; font-weight: 800; line-height: 1; white-space: nowrap;
}
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table td.px-0 > .actions:has(.direction-btn):not(:has(.play-btn)):not(:has(.play-inline-toggle))::after { content: ""; flex: none; width: 19.5px; }

/* v37 — Who Reacted pop-up (#13): the reaction you clicked was boxed in peach
   and the others weren't. Now Maybe / Favorites / Selects sit side by side in
   plain white columns, each with its names stacked underneath (same layout as
   Reactions in Audition Details). Types nobody used don't show. Phones: one column. */
#reactionsModal .modal-dialog { max-width: 560px; }
#reactionsModal .reactions-content:not(#_) { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; align-items: start; }
#reactionsModal .reactions-content > .no-reactions { grid-column: 1 / -1; }
#reactionsModal .reaction-section:not(#_) { margin: 0 !important; padding: 2px 0 6px !important; background: transparent !important; border-radius: 0 !important; }
#reactionsModal .reaction-list:not(#_) { margin: 10px 0 0 !important; padding-left: 10px !important; font-size: 14px; line-height: 1.35; }
#reactionsModal .reaction-list li + li { margin-top: 6px; }
@media (max-width: 575px) {
  #reactionsModal .reactions-content:not(#_) { grid-template-columns: 1fr; row-gap: 14px; }
}

/* v37 — Audition Details: no "Reactions" heading when nobody has reacted
   (the list hides itself; its heading didn't). */
#audition_detail .subtitle:has(+ .reactions-section[style*="none"]) { display: none !important; }

/* v37 — Shared casting link, signed-out guest (#14, #16): the guest's Maybe /
   Favorites / Selects icons are plain links (no action-* classes), so they got
   none of the reaction styling — grey counts sat on top of the icons. They now
   match the signed-in row: 34px round targets, coral counts, set apart from
   download / play. Same on the shared Maybes / Favorites / Selects lists. (Clicking one still opens the sign-up pop-up.) */
:is(.casting-detail-wrapper, .public-casting-show) .audition-actions > a[data-target="#signUpAlertModal"] { position: relative; display: inline-grid !important; place-items: center; flex: none; width: 34px; height: 34px; margin: 0 !important; padding: 0 !important; border-radius: 50%; color: var(--dp-ink-3) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .audition-actions > a[data-target="#signUpAlertModal"]:hover { background: var(--dp-peach-100); color: var(--dp-ink) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .audition-actions > a[data-target="#signUpAlertModal"] i.s-20 { font-size: 17px !important; color: inherit !important; }
:is(.casting-detail-wrapper, .public-casting-show) .audition-actions > a[data-target="#signUpAlertModal"]:not(:has(+ a[data-target="#signUpAlertModal"])) { margin-right: 18px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .audition-actions > a[data-target="#signUpAlertModal"] > sup.bubble { position: absolute; top: -4px; right: -7px; box-sizing: border-box; min-width: 18px; height: 18px; margin: 0 !important; padding: 0 4px !important; border: 2px solid var(--dp-white) !important; border-radius: 9px !important; background: var(--dp-coral) !important; color: var(--dp-white) !important; font-size: 10px !important; font-weight: 800; line-height: 14px; text-align: center; }
:is(.casting-detail-wrapper, .public-casting-show) .audition-actions > a[data-target="#signUpAlertModal"] > sup.bubble:empty { display: none !important; }
@media (max-width: 1359px) {
  :is(.casting-detail-wrapper, .public-casting-show) .audition-actions > a[data-target="#signUpAlertModal"] { width: 30px; height: 30px; }
  :is(.casting-detail-wrapper, .public-casting-show) .audition-actions > a[data-target="#signUpAlertModal"]:not(:has(+ a[data-target="#signUpAlertModal"])) { margin-right: 10px !important; }
}

/* v37 — Creative Team Notes box: signed-in people were told to sign their
   notes ("please indicate who it is from… -Kim"), but their name is added for
   them. When signed in (the menu shows Log Out), the hint becomes "Write a note
   to your team. Your name is added automatically." and goes away as they type.
   Guests keep the original "say who it's from" hint.
   (Stopgap — Indivision should switch the placeholder text in the template.) */
body:has(a[href*="logout"]) #audition_detail .col-12:has(> textarea[name="notes"]) { position: relative; }
body:has(a[href*="logout"]) #audition_detail textarea[name="notes"]::placeholder { color: transparent !important; opacity: 0 !important; }
body:has(a[href*="logout"]) #audition_detail .col-12:has(> textarea[name="notes"]:placeholder-shown)::after { content: "Write a note to your team. Your name is added automatically."; position: absolute; left: 29px; top: 27px; right: 29px; color: var(--dp-ink-3); font-size: 14px; line-height: 21px; pointer-events: none; }

/* v37 — Audition Details on a shared sheet, guest comments (#3): the Post
   Comment button had no side padding (text touched its edges), sat flush
   against the box and the bottom of the pop-up, and showed lower-case.
   Now: name, comment box, then a proper 34px button on the right with room
   below it. */
#audition_detail .creative-comments:not(#_) { display: flex; flex-direction: column; padding-bottom: 22px; }
#audition_detail .creative-comments > input[name="guestName"]:not(#_) { margin: 14px 0 0 !important; }
#audition_detail .creative-comments > textarea[name="comment"]:not(#_) { display: block; width: 100%; margin: 8px 0 0 !important; font-style: normal !important; }
#audition_detail .creative-comments > .btn-comment:not(#_):not(#_) { align-self: flex-end; display: inline-flex; align-items: center; justify-content: center; height: 34px; min-width: 132px; margin: 12px 0 0 !important; padding: 0 18px !important; border-radius: var(--dp-radius) !important; font-size: 14px !important; font-weight: 800 !important; line-height: 1 !important; white-space: nowrap; text-transform: none !important; letter-spacing: 0 !important; }

/* v37 — Shared casting page with no auditions ("No auditions yet."): a pink
   Bootstrap error bar. Now the same dashed empty-state panel as the casting
   pages, with an inbox icon and a next step — for the actor (who has Add
   Auditions) "Upload your audition with Add Auditions at the top of the page.",
   otherwise "Auditions show up here as they're submitted." */
.public-casting-show > .alert.alert-danger.text-center.font-weight-bold { margin: 22px 0 !important; padding: 28px 20px !important; border: 1.5px dashed var(--dp-line-strong) !important; border-radius: var(--dp-radius-lg) !important; background: var(--dp-peach-50) !important; color: var(--dp-ink) !important; font-size: 15px !important; font-weight: 700 !important; box-shadow: none !important; }
.public-casting-show > .alert.alert-danger.text-center.font-weight-bold::before { content: "\f01c"; display: block; margin-bottom: 8px; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: 20px; color: var(--dp-ink-3); }
.public-casting-show > .alert.alert-danger.text-center.font-weight-bold::after { content: "Auditions show up here as they\2019re submitted."; display: block; margin-top: 4px; color: var(--dp-ink-3); font-size: 13px; font-weight: 400; }
.public-casting-show:has([data-target="#batchUploadModal"]) > .alert.alert-danger.text-center.font-weight-bold::after { content: "Upload your audition with Add Auditions at the top of the page."; }

/* v37 — 2nd-round row waiting on the R2 upload (#15, #20 — agent and actor):
   a teal "2nd round requested" badge, a flashing lightbulb, a mic and "Upload R2"
   text ran together, and with no arrow the row's Details / Unsubmit sat further
   right than the row above. Now: one coral-outline "Upload R2" button + the
   direction note as a square icon button; badge and flashing icon gone (the
   button says what's needed); the arrow slot is held so Details / Unsubmit line
   up with every other row. */
td.actions:has(> .submit-tape-btn):not(:has(.play-inline-toggle)):not(#_) { padding-right: 41px !important; }
td:has(> .submit-tape-btn) > .badge-info { display: none !important; }
td:has(> .submit-tape-btn) > .submit-tape-btn .blink-infinite { display: none !important; }
td:has(> .submit-tape-btn) > .submit-tape-btn:not(#_) { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; height: 32px; min-width: 112px; margin: 0 0 0 8px !important; padding: 0 12px !important; border: 1.5px solid var(--dp-coral); border-radius: var(--dp-radius); background: var(--dp-white); color: #bd432d !important; font-size: 13px !important; font-weight: 800 !important; line-height: 1; vertical-align: middle; cursor: pointer; }
td:has(> .submit-tape-btn) > .submit-tape-btn .fa-microphone-alt { font-size: 13px !important; color: var(--dp-coral) !important; }
td:has(> .submit-tape-btn) > .submit-tape-btn:hover { background: var(--dp-coral-soft); }
td:has(> .submit-tape-btn) > .direction-btn:not(#_) { display: inline-grid !important; place-items: center; box-sizing: border-box; width: 32px; height: 32px; padding: 0 !important; margin: 0 0 0 8px !important; border: 1px solid var(--dp-line-strong); border-radius: var(--dp-radius); background: var(--dp-white); vertical-align: middle; }
td:has(> .submit-tape-btn) > .direction-btn i { font-size: 14px !important; color: var(--dp-ink-2) !important; }
td:has(> .submit-tape-btn) > .direction-btn:hover { border-color: var(--dp-coral); }
td:has(> .submit-tape-btn) > .direction-btn:hover i { color: var(--dp-coral) !important; }

/* v37 — READY FOR INDIVISION (no effect until the markup exists).
   "Needs you" tag under a project name on the casting lists — R2 requested,
   callbacks to confirm (#7, #15, #20). Markup, inside the name cell:
     <a class="dp-flag" href="(project or scheduler link)"><i class="far fa-microphone-alt"></i>R2 requested · 1</a>
     <a class="dp-flag" href="…/schedule"><i class="far fa-calendar-alt"></i>2 callbacks to confirm</a>
   Remove it once the person has responded. */
.dp-flag { display: inline-flex; align-items: center; gap: 5px; height: 22px; margin: 6px 0 0; padding: 0 9px; border: 1px solid var(--dp-amber-line, #ecd29a); border-radius: 20px; background: #fcf2df; color: #85590a !important; font-size: 11.5px; font-weight: 800; line-height: 1; white-space: nowrap; text-decoration: none !important; }
.dp-flag i { font-size: 10px; font-style: normal; }
.dp-flag:hover { border-color: #e2b452; }
.dp-flag + .dp-flag { margin-left: 6px; }

/* v37 — Notice bar at the top of project pages ("Notice  Second round
   requested!", and the other flash messages): a grey Bootstrap strip, inset
   16px from the page edge, with a tiny icon and a floating ×. Now a white card
   lined up with the page title — info icon in a soft round badge, the message
   in 14px, no "Notice" label, and a proper 32px close button. */
:is(.casting-detail-wrapper, .public-casting-show) .flashes:has(> .alert) { padding-left: 0 !important; padding-right: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .flashes > .alert.alert-warning:not(#_) { display: flex; align-items: center; gap: 12px; min-height: 52px; margin: 16px 0 18px !important; padding: 10px 52px 10px 14px !important; border: 1px solid var(--dp-line) !important; border-radius: var(--dp-radius-lg) !important; background: var(--dp-white) !important; box-shadow: 0 1px 2px rgba(35, 32, 31, .08); color: var(--dp-ink-2); font-size: 14px !important; font-weight: 700; line-height: 1.4; }
:is(.casting-detail-wrapper, .public-casting-show) .flashes > .alert.alert-warning > i.fa-exclamation-circle:not(#_) { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; margin: 0 !important; border-radius: 50%; background: var(--dp-coral-soft); color: var(--dp-coral) !important; font-size: 15px; }
:is(.casting-detail-wrapper, .public-casting-show) .flashes > .alert.alert-warning > i.fa-exclamation-circle:not(#_)::before { content: "\f05a" !important; }
:is(.casting-detail-wrapper, .public-casting-show) .flashes > .alert.alert-warning > strong { display: none; }
:is(.casting-detail-wrapper, .public-casting-show) .flashes > .alert.alert-warning > .close:not(#_) { position: absolute; top: 50%; right: 10px; transform: translateY(-50%); display: grid; place-items: center; width: 32px; height: 32px; padding: 0 !important; border-radius: var(--dp-radius); font-size: 20px; font-weight: 400; line-height: 1; }
:is(.casting-detail-wrapper, .public-casting-show) .flashes > .alert.alert-warning > .close:hover { background: var(--dp-peach-100); color: var(--dp-ink) !important; }

/* v37 — Upload pop-up error ("Please select a file!"): a pink Bootstrap box
   below the Upload button, far from what it's about. Now a short red line with
   an alert icon right under the drop zone, and the drop zone itself turns soft
   red, so it's clear where to click. */
#uploadModal form#addAudition { display: flex; flex-direction: column; }
#uploadModal form#addAudition > .row { order: 1; }
#uploadModal form#addAudition > .col-12:has(> .alert) { order: 2; padding: 0 !important; }
#uploadModal form#addAudition > .col-12:has(> .btn-upload) { order: 3; }
#uploadModal form#addAudition > .col-12 > .col-12.alert-danger:not(#_) { display: flex; align-items: center; gap: 7px; margin: -8px 0 4px !important; padding: 0 !important; border: 0 !important; background: transparent !important; color: var(--dp-brick) !important; font-size: 13px !important; font-weight: 700; }
#uploadModal form#addAudition > .col-12 > .col-12.alert-danger::before { content: "\f06a"; font-family: "Font Awesome 5 Pro"; font-weight: 900; font-size: 13px; }
#uploadModal form#addAudition:has(.alert-danger:not(.d-none):not([style*="none"])) .dropzone:not(#_) { border-color: #f2c9ce !important; background: #fbe7e9 !important; }

/* v37 — Actor marked unavailable: a loud solid-yellow Bootstrap box. Now the
   soft amber status card (same family as "waiting" pills and tiles): a
   calendar icon in a white badge, the statement in bold, the actor's reason
   labelled "Your reason:", and the undo hint in smaller grey with the button
   name in bold. */
.public-casting-show > .alert.alert-warning.bg-warning:not(#_) { position: relative; padding: 16px 20px 16px 62px !important; border: 1px solid #ecd29a !important; border-radius: var(--dp-radius-lg) !important; background: #fcf2df !important; color: var(--dp-ink-2) !important; font-size: 14px; line-height: 1.5; box-shadow: none; }
.public-casting-show > .alert.alert-warning.bg-warning::before { content: "\f273"; position: absolute; left: 18px; top: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--dp-white); color: #85590a; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: 14px; }
.public-casting-show > .alert.alert-warning.bg-warning > strong { display: block; color: var(--dp-ink); font-size: 15px; font-weight: 800; }
.public-casting-show > .alert.alert-warning.bg-warning > .fw-i { margin-top: 6px !important; font-style: normal !important; color: var(--dp-ink); }
.public-casting-show > .alert.alert-warning.bg-warning > .fw-i::before { content: "Your reason: "; color: #85590a; font-weight: 700; }
.public-casting-show > .alert.alert-warning.bg-warning > .mt-2 { margin-top: 8px !important; font-size: 13px; color: var(--dp-ink-2); }
.public-casting-show > .alert.alert-warning.bg-warning > .mt-2 em { font-style: normal; font-weight: 800; color: var(--dp-ink); }

/* v37 — Pop-up buttons were forced to lower case by the old stylesheet
   ("Yes, i'm available", "post comment"). Show labels exactly as written. */
.modal :is(.button, .border-button, button.btn):not(#_) { text-transform: none !important; }

/* v37 — "Available again?" pop-up: the earlier reason sat as loose italic text
   and Cancel was a bare link. Now the reason is in a soft quoted box, and
   Cancel / "Yes, I'm available" are matching 34px buttons on the right, under
   a hairline — like the other confirm pop-ups. */
#availabilityModal #availability-form > p { margin: 0 0 12px; color: var(--dp-ink-2); font-size: 14px; }
#availabilityModal #availability-form > .fs-14.fw-i:not(#_) { margin: 0 0 6px !important; padding: 10px 14px; border: 1px solid var(--dp-line); border-radius: var(--dp-radius); background: var(--dp-peach-50); color: var(--dp-ink); font-style: normal !important; }
#availabilityModal #availability-form > .text-center:last-child:not(#_) { display: flex; justify-content: flex-end; gap: 8px; margin: 16px 0 0; padding-top: 16px !important; border-top: 1px solid var(--dp-line); }
#availabilityModal #availability-form > .text-center:last-child > :is(.button, .border-button):not(#_) { margin: 0 !important; min-width: 110px; height: 34px; padding: 0 16px !important; border-radius: var(--dp-radius); font-size: 14px; font-weight: 800; }
#availabilityModal #availability-form > .text-center:last-child > .border-button:not(#_) { border: 1px solid var(--dp-line-strong) !important; background: var(--dp-white) !important; color: var(--dp-ink) !important; font-weight: 700; }

/* v37 — Success / error message inside a pop-up form ("Available again?",
   and the upload pop-ups' "Audition uploaded successfully" — each shows for
   about a second before the page reloads): plain
   Bootstrap green/red boxes. Now soft green with a check, or soft red with an
   alert icon, in our colours. (The upload pop-up's red line is styled above.) */
.modal .modal-body form .alert.alert-success:not(#_) { display: flex; align-items: center; gap: 8px; margin: 12px 0 0 !important; padding: 10px 14px !important; border: 1px solid #cbe3d3 !important; border-radius: var(--dp-radius) !important; background: #e9f3ec !important; color: #2f7a4d !important; font-size: 14px; font-weight: 700; }
.modal .modal-body form .alert.alert-success::before { content: "\f00c"; font-family: "Font Awesome 5 Pro"; font-weight: 900; font-size: 13px; }
.modal .modal-body form .alert.alert-danger:not(.col-12):not(#_) { display: flex; align-items: center; gap: 8px; margin: 12px 0 0 !important; padding: 10px 14px !important; border: 1px solid #f2c9ce !important; border-radius: var(--dp-radius) !important; background: #fbe7e9 !important; color: var(--dp-brick) !important; font-size: 14px; font-weight: 700; }
.modal .modal-body form .alert.alert-danger:not(.col-12)::before { content: "\f06a"; font-family: "Font Awesome 5 Pro"; font-weight: 900; font-size: 13px; }
.modal .modal-body form .alert.d-none { display: none !important; }

/* v37 — Agent: R2 uploaded, waiting for the agent's approval (#21). The play
   button had a flashing lightbulb jammed into it. Now the play button becomes
   an amber "Review R2" button (amber = waiting on you), the same width as
   "Upload R2", with the direction note beside it.
   NOTE for Indivision: the Approve / Reject buttons in the opened player are
   only built for VIDEO (main.js, play-inline click: `if ("video" === o)`), so a
   voiceover R2 opens a bare audio player with no way to approve. Build the same
   approve-btn / request-again-btn row for audio. The styles below already
   cover those buttons.
   v40 fix: every on-camera self-tape waiting for the agent also carries
   data-approve, so first-round tapes were showing "Review R2" too. The R2 look
   now only applies when the "approval pending" flag (the .blink-infinite icon)
   is there. That flag is also used for a requested self-tape waiting for the
   agent, so the label is just "Review" (it was "Review R2"). */
td.actions > .play-inline[data-approve] > .blink-infinite { display: none !important; }
td.actions > .play-inline[data-approve]:has(> .blink-infinite):not(#_):not(#_) { display: inline-flex !important; align-items: center; justify-content: center; gap: 6px; box-sizing: border-box; width: auto !important; min-width: 112px; height: 32px !important; padding: 0 12px !important; border: 1.5px solid #e2b452 !important; border-radius: var(--dp-radius) !important; background: #fcf2df !important; vertical-align: middle; cursor: pointer; }
td.actions > .play-inline[data-approve]:has(> .blink-infinite) > i:not(#_) { font-size: 12px !important; color: #85590a !important; }
td.actions > .play-inline[data-approve]:has(> .blink-infinite) > i.fa-play-circle:not(#_)::before { content: "\f04b"; }
td.actions > .play-inline[data-approve]:has(> .blink-infinite)::after { content: "Review"; color: #85590a; font-size: 13px; font-weight: 800; line-height: 1; }
td.actions > .play-inline[data-approve]:has(> .blink-infinite):hover { border-color: #96690f !important; }
td.actions:has(> .play-inline[data-approve]:has(> .blink-infinite)) > .direction-btn:not(#_) { display: inline-grid !important; place-items: center; box-sizing: border-box; width: 32px; height: 32px; padding: 0 !important; border: 1px solid var(--dp-line-strong); border-radius: var(--dp-radius); background: var(--dp-white); vertical-align: middle; }
td.actions:has(> .play-inline[data-approve]:has(> .blink-infinite)) > .direction-btn i { font-size: 14px !important; color: var(--dp-ink-2) !important; }

/* Approve / Reject / Re-upload buttons under an opened player (Bootstrap green
   and red today): Approve = the main coral button, Reject = red outline,
   Re-upload = neutral. Row of buttons sits right under the player. */
tr.play-inline-row :is(.approve-btn, .request-again-btn, .re-upload-btn):not(#_) { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; margin: 10px 8px 0 0 !important; padding: 0 14px !important; border-radius: var(--dp-radius) !important; font-size: 13px !important; font-weight: 800 !important; text-transform: none !important; cursor: pointer; }
tr.play-inline-row .approve-btn:not(#_) { border: 1px solid var(--dp-coral) !important; background: var(--dp-coral) !important; color: var(--dp-white) !important; }
tr.play-inline-row .approve-btn:not(#_):hover { background: var(--dp-coral-hover) !important; }
tr.play-inline-row .request-again-btn:not(#_) { border: 1px solid #f2c9ce !important; background: var(--dp-white) !important; color: var(--dp-brick) !important; }
tr.play-inline-row .request-again-btn:not(#_):hover { background: #fbe7e9 !important; }
tr.play-inline-row .re-upload-btn:not(#_) { border: 1px solid var(--dp-line-strong) !important; background: var(--dp-white) !important; color: var(--dp-ink) !important; }

/* ==========================================================================
   v38 — callback pill (14 Oct 2026)
   ========================================================================== */
/* A new callback state ("Callback: Not sent to agency") came through with its
   full long label — wider than Awaiting / Confirmed / Declined — so that row's
   reactions slid left and the table pushed Details off the edge. That state
   (badge-warning) now reads "Not sent" (neutral
   grey: nothing has gone to the agency yet), and every state has the same
   fixed width, so a row never shifts whatever its callback status. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge-warning { display: inline-flex; align-items: center; gap: 4px; font-size: 0 !important; border-color: var(--dp-line-strong) !important; background: var(--dp-white) !important; color: var(--dp-ink-2) !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge-warning::before { content: "\f073"; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: 11px; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge-warning::after { content: "Not sent"; font-size: 11.5px; font-weight: 800; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions > a[href*="/schedule"] .badge { box-sizing: border-box; min-width: 104px; justify-content: center; white-space: nowrap; }

/* v38 — Shared casting sheet (creative view): the Talent Name column shrank to
   the name itself, so "Mike Gullickson" ran straight into "Customer". The name
   column now keeps at least 220px with breathing room before Role. */
.public-casting-show table tbody td:has(> .public-profile):not(#_) { min-width: 220px; padding-right: 28px !important; }

/* ==========================================================================
   v39 — Oct 19 demo notes
   ========================================================================== */
/* Maybe / Favorites / Selects filter: the tab is a flex row with a 6px gap,
   so "Favorites (" + count + ")" spread out into "Favorites ( 1 )" while
   "All (1)" stayed tight. No gap inside the tab; the icon keeps its own space. */
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .filter-tab:not(#_) { gap: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .filter-tabs .filter-tab > i:not(#_) { margin-right: 8px !important; }

/* Details button: just "Details" in the pill. The Creative Team Notes count and
   the Agent Note icon now sit to the RIGHT of the pill, outside it, lining up
   under the "Creative Team Notes / Agent Note" key in the header. The whole
   group keeps one fixed width (132px) so rows never stagger. */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_):not(#_) { width: 132px !important; height: 30px; padding: 0 !important; border: 0 !important; background: transparent !important; justify-content: flex-start !important; gap: 6px !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:not(#_):not(#_):hover { background: transparent !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] > .link:not(#_):not(#_) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 30px; padding: 0 15px; border: 1.5px solid var(--dp-coral); border-radius: var(--dp-radius); background: var(--dp-white); color: #bd432d !important; font-size: 13px; font-weight: 700; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"]:hover > .link:not(#_):not(#_) { background: var(--dp-coral-soft); }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] > .link + *:not(#_):not(#_) { margin-left: 0 !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] > .note-thread-notification:not(#_) { flex: none; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .actions a[data-target="#audition_detail"] > span.px-1:not(#_) { padding: 0 !important; }

/* Audition Details pop-up: Actor Details (talent, role) and Talent Agency
   Contact sit side by side instead of stacked, so the pop-up is shorter.
   Everything below spans the full width. Phones: stacked as before. */
#audition_detail form#audition_add:not(#_) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; }
#audition_detail form#audition_add > * { grid-column: 1 / -1; }
#audition_detail form#audition_add > .row:nth-child(1),
#audition_detail form#audition_add > .row:nth-child(2) { grid-column: auto; align-content: start; padding-top: 0 !important; padding-bottom: 12px !important; }
#audition_detail form#audition_add > .row:nth-child(1) > .col-sm-4 { flex: 0 0 50%; max-width: 50%; }
#audition_detail form#audition_add > .row:nth-child(2) > .col-sm-12 { flex: 0 0 100%; }
@media (max-width: 575px) {
  #audition_detail form#audition_add:not(#_) { display: block; }
}

/* Browse Agencies pop-up: Favorites / All Agencies / Sort by location /
   Search were four mismatched pills on a peach strip, with the search box
   capped at 120px. Now: a full-width search box (with icon) on top; under it
   Favorites and All Agencies as simple tabs (coral underline on the chosen
   one, amber star) with "Sort by location" on the right, all on one hairline. */
#browseAgenciesModal #agencyTabs:not(#_) { padding: 0 !important; background: transparent !important; }
#browseAgenciesModal #agencyTabs > .nav:not(#_) { display: flex !important; flex-wrap: wrap; align-items: flex-end; gap: 0 22px; margin: 0 0 6px !important; padding: 0 !important; border-bottom: 1px solid var(--dp-line) !important; }
#browseAgenciesModal #agencyTabs > .nav > li:not(#_) { margin: 0 !important; padding: 0 !important; list-style: none; background: transparent !important; overflow: visible !important; border-radius: 0 !important; }  /* the old tabs clipped their contents to a rounded box, which cut the search box and checkbox corners into odd slashes */
#browseAgenciesModal #agencyTabs > .nav > li:has(.agency-search-box):not(#_) { order: -1; flex: 1 0 100%; margin: 0 0 14px !important; }
#browseAgenciesModal #agencyTabs > .nav .agency-search-box:not(#_) { position: relative; width: 100%; max-width: none; }
#browseAgenciesModal #agencyTabs > .nav .agency-search-box::before { content: "\f002"; position: absolute; left: 13px; top: 50%; transform: translateY(-50%); z-index: 1; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: 14px; color: var(--dp-ink-3); pointer-events: none; }
#browseAgenciesModal #agencyTabs > .nav .agency-search-box input:not(#_) { width: 100% !important; max-width: none !important; height: 38px !important; padding: 0 12px 0 38px !important; border: 1px solid var(--dp-line-strong) !important; border-radius: var(--dp-radius) !important; background: var(--dp-white) !important; font-size: 14px !important; box-shadow: none !important; }
#browseAgenciesModal #agencyTabs > .nav .agency-search-box input:focus { border-color: var(--dp-coral) !important; box-shadow: var(--dp-ring) !important; }
#browseAgenciesModal #agencyTabs > .nav > li:is(:nth-child(1), :nth-child(2)) > span:not(#_):not(#_) { display: inline-flex !important; align-items: center; gap: 6px; height: auto !important; margin: 0 0 -1px !important; padding: 8px 2px 10px !important; border: 0 !important; border-bottom: 2px solid transparent !important; border-radius: 0 !important; background: transparent !important; color: var(--dp-ink-2) !important; font-size: 14px !important; font-weight: 700 !important; cursor: pointer; }
#browseAgenciesModal #agencyTabs > .nav > li:is(:nth-child(1), :nth-child(2)) > span:hover { color: var(--dp-ink) !important; }
#browseAgenciesModal #agencyTabs > .nav > li:is(:nth-child(1), :nth-child(2)) > span.active:not(#_):not(#_) { border-bottom-color: var(--dp-coral) !important; color: #bd432d !important; font-weight: 800 !important; }
#browseAgenciesModal #agencyTabs > .nav > li:nth-child(1) > span i:not(#_) { color: #e0a32e !important; font-size: 12px; }
#browseAgenciesModal #agencyTabs > .nav > li:nth-child(3):not(#_) { margin-left: auto !important; align-self: center; }
#browseAgenciesModal #agencyTabs > .nav > li:nth-child(3) > span:not(#_) { padding: 0 !important; font-size: 13px !important; color: var(--dp-ink-2) !important; }
#browseAgenciesModal #agencyTabs > .color-theme:not(#_) { margin: 10px 0 0; color: var(--dp-ink-2) !important; font-weight: 400 !important; font-size: 13px; }

/* Actor profile pop-up inside a casting (click a talent name) still had the
   old look — peach band, thick coral photo frame, coral headings and pills.
   It now matches the Talent Directory profile pop-up: white header with a
   hairline, small uppercase labels over values, ink headings, neutral tags,
   white demo cards. (Same markup, opened in #globalModal.) *//* --- talent profile pop-up (#globalModal:has(.actor-demo)) --- */
#globalModal:has(.actor-demo) .modal-header {
  position: absolute !important;
  top: 0;
  right: 0;
  z-index: 3;
  width: auto !important;
  min-height: 0;
  padding: 10px !important;
  border: 0 !important;
}
#globalModal:has(.actor-demo) .info-box.light,
#globalModal:has(.actor-demo) section > .info-box {
  background: var(--dp-white) !important;
  border-bottom: 1px solid var(--dp-line);
}
#globalModal:has(.actor-demo) .container { padding: 20px 22px !important; }
#globalModal:has(.actor-demo) .h3.color-theme {
  color: var(--dp-ink) !important;
  font-size: 22px !important;
  font-weight: 900 !important;
  letter-spacing: -.015em;
}
#globalModal:has(.actor-demo) img.border-6-theme {
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-peach-200);
}
#globalModal:has(.actor-demo) .h6 a { color: var(--dp-ink-3) !important; margin-right: 6px; }
#globalModal:has(.actor-demo) .h6 a:hover { color: var(--dp-coral) !important; }
#globalModal:has(.actor-demo) .user-info { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; font-size: 13.5px; color: var(--dp-ink); }
#globalModal:has(.actor-demo) .user-info > div { display: block !important; margin: 0 !important; }
#globalModal:has(.actor-demo) .user-info .text-muted {
  display: table !important; clip-path: inset(0 .8em 0 0); margin-right: -.8em;
  margin-bottom: 1px;
  color: var(--dp-ink-3) !important;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#globalModal:has(.actor-demo) .user-info a { color: var(--dp-coral); font-weight: 700; word-break: break-all; }
/* section headings (Talent Agency, Headshots, Voice Over, Special Skills) */
#globalModal:has(.actor-demo) .color-theme.fs-18,
#globalModal:has(.actor-demo) .color-theme.fs-20 {
  margin: 18px 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--dp-line);
  color: var(--dp-ink) !important;
  font-size: 14.5px !important;
  font-weight: 800 !important;
}
#globalModal:has(.actor-demo) .border-bottom-1-theme { border-bottom: 0 !important; }
#globalModal:has(.actor-demo) .color-theme.text-underline { color: var(--dp-ink-3) !important; text-decoration: none !important; font-size: 10.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
#globalModal:has(.actor-demo) .badge.bg-theme {
  background: var(--dp-peach-100) !important;
  border: 1px solid var(--dp-peach-200);
  color: var(--dp-ink-2) !important;
  font-size: 11.5px;
  font-weight: 700 !important;
  padding: 4px 9px;
  border-radius: 20px !important;
  margin: 0 4px 6px 0;
}
/* headshots strip */
#globalModal:has(.actor-demo) .row-cols-5 .card {
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius) !important;
  background: var(--dp-peach-200);
  aspect-ratio: 4 / 5;
}
#globalModal:has(.actor-demo) .row-cols-5 .card:hover { border-color: var(--dp-coral) !important; }
/* demo cards */
#globalModal:has(.actor-demo) .actor-demo .card.info-box {
  background: var(--dp-white) !important;
  border: 1px solid var(--dp-line) !important;
  border-radius: var(--dp-radius-lg) !important;
}
#globalModal:has(.actor-demo) .actor-demo .card-body { font-size: 13.5px; font-weight: 700 !important; color: var(--dp-ink); }
#globalModal:has(.actor-demo) .actor-demo audio { height: 36px; }  /* browser's own player, no tint or outline */
#globalModal:has(.actor-demo) .user-info .text-muted.text-nowrap { clip-path: inset(0 1.1em 0 0); margin-right: -1.1em; }
#globalModal:has(.actor-demo) .row .py-1 > div { font-size: 13.5px !important; color: var(--dp-ink); line-height: 1.6; }
#globalModal:has(.actor-demo) .row .py-1 > div:first-child { font-weight: 800; }
#globalModal:has(.actor-demo) .actor-demo .pt-4 { padding-top: 4px !important; }
#globalModal:has(.actor-demo) .actor-demo .py-2 { padding-top: 0 !important; }
#globalModal:has(.actor-demo) .actor-demo .color-theme.fs-20 { margin-top: 10px; }

#globalModal:has(.actor-demo) .badge-success { background: var(--dp-peach-100) !important; border: 1px solid var(--dp-peach-200); color: var(--dp-ink-2) !important; font-size: 11px; font-weight: 700; border-radius: 20px; padding: 3px 8px; }
#globalModal:has(.actor-demo) .badge-success i { display: none; }
#globalModal:has(.actor-demo) .container-fluid > .info-box .container { padding: 20px 22px !important; }

/* READY FOR INDIVISION — agency website link in Browse Agencies (no effect
   until the markup exists). After the agency name inside each list item add:
     <a class="agency-site" href="https://agency-site.com" target="_blank" rel="noopener" title="Visit agency website"><i class="far fa-external-link-alt"></i></a>
   (stop the click from also inviting the agency). Shows as a small faint icon
   after the name; it turns coral on hover. Leave it out when there's no URL. */
#browseAgenciesModal .tab-pane li .agency-site { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; border-radius: 5px; color: var(--dp-line-hover) !important; font-size: 11px; text-decoration: none !important; align-self: center; position: relative; top: -2px; opacity: .8; }  /* nudged up 2px so the icon centres on the name */
#browseAgenciesModal .tab-pane li .agency-site:hover { opacity: 1; color: var(--dp-coral) !important; background: var(--dp-coral-soft); }
#browseAgenciesModal .tab-pane li:hover .agency-site { opacity: 1; }

/* Client 2nd Rd tab, row still waiting on the R2: one clear status instead of
   two ("Awaiting recording" text + "R2 pending" pill). The pill now reads
   "Awaiting submission" (true until the agency approves and submits it), and
   the Maybe / Favorite / Select icons are hidden on that row — there's no
   recording to react to yet. Details stays lined up with every other row;
   once the R2 arrives the row looks like the others again.
   (Indivision: please remove the separate "Awaiting recording" text.) */
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions:has(.direction-btn):not(:has(.play-btn)) > :is(.action-maybe, .action-favorite, .action-select):not(#_) { display: none !important; }
:is(.casting-detail-wrapper, .public-casting-show) .auditions-table .audition-actions:has(.direction-btn):not(:has(.play-btn)):not(#_)::before { content: "Awaiting submission" !important; width: auto !important; padding: 0 12px !important; height: 26px !important; font-size: 11.5px !important; }

/* Same Details treatment on the talent agency side (Submitted Auditions and
   Waiting Area): just "Details" in the pill, any notes count / agent-note icon
   outside it on the right, one fixed 132px group so rows never stagger. */
.casting-detail-wrapper td.actions a[data-target="#audition_detail"]:not(#_):not(#_) { display: inline-flex !important; align-items: center; justify-content: flex-start !important; gap: 6px !important; box-sizing: border-box; width: 132px !important; height: 30px; padding: 0 !important; border: 0 !important; background: transparent !important; vertical-align: middle; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"]:not(#_):not(#_):hover { background: transparent !important; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"] > .link:not(#_):not(#_) { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 30px; padding: 0 15px; border: 1.5px solid var(--dp-coral); border-radius: var(--dp-radius); background: var(--dp-white); color: #bd432d !important; font-size: 13px !important; font-weight: 700; white-space: nowrap; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"]:hover > .link:not(#_):not(#_) { background: var(--dp-coral-soft); }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"] > .link + *:not(#_):not(#_) { margin-left: 0 !important; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"] > .note-thread-notification:not(#_) { flex: none; font-size: 11px !important; }
.casting-detail-wrapper td.actions a[data-target="#audition_detail"] > span.px-1:not(#_) { padding: 0 !important; font-size: 14px !important; }

/* Callback status links now carry "?slot=…" after /schedule, so every callback
   pill rule matches href*="/schedule" (contains) instead of $= (ends with). */

/* Agency Submitted Auditions rows now show the callback status (#8): style it
   exactly like the client's pill — short label with a calendar icon in a fixed
   104px pill, the time in small grey underneath. */
.casting-detail-wrapper td.actions > a[href*="/schedule"]:not(#_) { display: inline-flex !important; flex-direction: column; align-items: center; gap: 2px; margin: 0 0 0 8px !important; padding: 0 !important; line-height: 1.1; text-decoration: none !important; vertical-align: middle; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge { display: inline-flex; align-items: center; justify-content: center; gap: 4px; box-sizing: border-box; min-width: 104px; padding: 3px 9px; border: 1px solid #ecd29a; border-radius: 20px; background: #fcf2df !important; color: #96690f !important; font-size: 0 !important; font-weight: 800; white-space: nowrap; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge::before { content: "\f073"; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: 11px; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge::after { font-size: 11.5px; font-weight: 800; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge-info::after { content: "Awaiting"; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge-success { border-color: #cbe3d3 !important; background: #e9f3ec !important; color: #3f8f5f !important; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge-success::after { content: "Confirmed"; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge-danger { border-color: #f2c9ce !important; background: #fbe7e9 !important; color: var(--dp-brick) !important; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge-danger::after { content: "Declined"; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge-warning { border-color: var(--dp-line-strong) !important; background: var(--dp-white) !important; color: var(--dp-ink-2) !important; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .badge-warning::after { content: "Not sent"; }
.casting-detail-wrapper td.actions > a[href*="/schedule"] .fs-14 { color: var(--dp-ink-3) !important; font-size: 11px !important; white-space: nowrap; }
.casting-detail-wrapper td.actions > a[href*="/schedule"]:hover .badge { border-color: var(--dp-coral) !important; }

/* Request Second Round pop-up: the "Upload a direction document" field was a
   full-width peach bar above the note, so it looked like the main thing to do.
   Most clients type their direction — so the note box now comes first, and the
   upload becomes a small outline button with a paperclip underneath it (it
   still shows the chosen file name). */
#requestSecondRoundModal form > .col-12 { display: flex; flex-direction: column; }
#requestSecondRoundModal form > .col-12 > textarea#second-round-note { order: 5; width: 100%; margin-bottom: 8px; }
#requestSecondRoundModal form > .col-12 > .custom-file { order: 6; position: relative; align-self: flex-start; width: auto !important; max-width: 100%; height: 32px; margin: 0 0 4px !important; }
#requestSecondRoundModal form > .col-12 > .second-round-error { order: 7; }
#requestSecondRoundModal .custom-file .custom-file-input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; z-index: 2; }
#requestSecondRoundModal .custom-file .custom-file-label:not(#_) { position: relative !important; inset: auto !important; display: inline-flex; align-items: center; gap: 7px; height: 32px; margin: 0; padding: 0 13px !important; overflow: hidden; border: 1px solid var(--dp-line-strong) !important; border-radius: var(--dp-radius) !important; background: var(--dp-white) !important; color: var(--dp-ink) !important; font-size: 13px; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; box-shadow: none !important; }
#requestSecondRoundModal .custom-file .custom-file-label::before { content: "\f0c6"; font-family: "Font Awesome 5 Pro"; font-weight: 400; font-size: 13px; color: var(--dp-ink-3); }
#requestSecondRoundModal .custom-file .custom-file-label::after { display: none !important; }
#requestSecondRoundModal .custom-file:hover .custom-file-label:not(#_) { border-color: var(--dp-coral) !important; color: var(--dp-coral) !important; }
#requestSecondRoundModal .custom-file:hover .custom-file-label::before { color: var(--dp-coral); }

/* Production requirements in the agent's Add Auditions pop-up: the Yes / No
   answers are radio buttons now, but the old checkbox styling made them look
   like square bullet points, and our "All confirmed" badge showed straight
   away (it was looking for the old checkboxes). Now each requirement is a row
   with a joined Yes | No switch on the right — green when Yes, neutral grey
   when No (a No can just mean the line is for another role) —
   and the badge reads "All answered" only once every row has an answer.
   v40: the actor's Add self-tape pop-up uses .upload-requirements for the same
   list, so it gets the same switches. */
:is(.first-upload-requirements, .upload-requirements):has(.requirement-question):not(#_) > .font-weight-bold::after { content: "" !important; background: none !important; border: 0 !important; padding: 0 !important; }
:is(.first-upload-requirements, .upload-requirements):has(.requirement-question):not(:has(.requirement-question:not(:has(input:checked)))):not(#_) { border-color: #cbe3d3; }
:is(.first-upload-requirements, .upload-requirements):has(.requirement-question):not(:has(.requirement-question:not(:has(input:checked)))):not(#_) > .font-weight-bold::after { content: "\2713  All answered" !important; padding: 3px 10px !important; border: 1px solid #cbe3d3 !important; border-radius: 20px; background: #e9f3ec !important; color: #2f7a4d; font-size: 11.5px; font-weight: 800; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question:not(#_) { margin: 0 -14px; padding: 10px 14px !important; border-top: 1px solid #f3ebe6; color: var(--dp-ink); font-size: 14px; font-weight: 600; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question .custom-control:not(#_) { display: inline-block; min-height: 0; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question .custom-control-input { position: absolute; opacity: 0; pointer-events: none; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question .custom-control-label:not(#_) { display: inline-grid; place-items: center; min-width: 52px; height: 30px; padding: 0 12px; border: 1px solid var(--dp-line-strong); background: var(--dp-white); color: var(--dp-ink-2); font-size: 13px; font-weight: 700; cursor: pointer; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question .custom-control:first-child .custom-control-label:not(#_) { border-radius: var(--dp-radius) 0 0 var(--dp-radius); }
:is(.first-upload-requirements, .upload-requirements) .requirement-question .custom-control:last-child .custom-control-label:not(#_) { margin-left: -1px; border-radius: 0 var(--dp-radius) var(--dp-radius) 0; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question .custom-control-label::before,
:is(.first-upload-requirements, .upload-requirements) .requirement-question .custom-control-label::after { display: none !important; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question .custom-control-label:hover { border-color: var(--dp-line-hover); color: var(--dp-ink); }
:is(.first-upload-requirements, .upload-requirements) .requirement-question input[value="yes"]:checked + .custom-control-label:not(#_) { position: relative; z-index: 1; border-color: #3f8f5f; background: #e9f3ec; color: #2f7a4d; font-weight: 800; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question input[value="no"]:checked + .custom-control-label:not(#_) { position: relative; z-index: 1; border-color: var(--dp-ink-3); background: #f3eeeb; color: var(--dp-ink); font-weight: 800; }
:is(.first-upload-requirements, .upload-requirements) .requirement-question input:focus-visible + .custom-control-label { box-shadow: var(--dp-ring); }

/* Hover to see who reacted (READY FOR INDIVISION). Today the count bubble only
   says "Click to see who reacted", because the names are fetched when the pop-up
   opens. When Joe adds the names to the bubble as data-names (one name per line,
   e.g. data-names="Mike Gullickson&#10;Josiah Kosier") and drops the title, a
   small card with the names appears as soon as you hover over the reaction.
   Clicking still opens the full Who Reacted pop-up. No data-names = no card. */
a:has(> .reaction-bubble[data-names]) { position: relative; }
a:has(> .reaction-bubble[data-names]) > .reaction-bubble[data-names]::after { content: attr(data-names); position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 30; display: none; min-width: 120px; max-width: 220px; padding: 7px 10px; border: 1px solid var(--dp-line); border-radius: var(--dp-radius); background: var(--dp-white); box-shadow: 0 6px 18px rgba(35, 32, 31, .12); color: var(--dp-ink); font-size: 12.5px; font-weight: 600; line-height: 1.45; text-align: left; white-space: pre-line; transform: translateX(-50%); pointer-events: none; }
a:has(> .reaction-bubble[data-names]):hover > .reaction-bubble[data-names]::after { display: block; }

/* 2nd Rd tab: a small "New" tag so clients notice it, and a hover card that
   explains what the tab is for. (Remove the ::before rule in a few months,
   once people know the tab.) The inactive tab also loses its 60% opacity, which
   faded the tag and pushed the hover card behind the filter buttons; it uses
   the ink-2 text colour instead. Agents get their own wording. */
.nav-tabs-custom a.nav-link:not(.active):not(#_) { opacity: 1; color: var(--dp-ink-2); }
.nav-tabs-custom a.nav-link:not(.active):hover { color: var(--dp-ink); }
.nav-tabs-custom a.nav-link[href$="/2/show"] { position: relative; display: inline-flex; align-items: center; gap: 7px; }
.nav-tabs-custom a.nav-link[href$="/2/show"]:hover { z-index: 40; }
.nav-tabs-custom a.nav-link[href$="/2/show"]::before { content: "New"; order: 2; padding: 0 7px; border: 1px solid #f6c6ba; border-radius: 20px; background: var(--dp-coral-soft); color: #bd432d; font-size: 10.5px; font-weight: 800; line-height: 16px; }
.nav-tabs-custom a.nav-link[href$="/2/show"]::after { content: "Narrowed a role to a few talent? Send them new direction and ask for a second read. Their new auditions show up here."; position: absolute; top: calc(100% + 8px); left: 0; display: none; width: 280px; padding: 10px 12px; border: 1px solid var(--dp-line); border-radius: var(--dp-radius); background: var(--dp-white); box-shadow: 0 6px 18px rgba(35, 32, 31, .12); color: var(--dp-ink-2); font-size: 13px; font-weight: 600; line-height: 1.45; text-transform: none; letter-spacing: 0; white-space: normal; pointer-events: none; }
body:not(:has(a[href="/casting/new"])) .nav-tabs-custom a.nav-link[href$="/2/show"]::after { content: "Second rounds the client has asked for. Upload each new read here; it goes to the client under the role name with R2."; }
.nav-tabs-custom a.nav-link[href$="/2/show"]:hover::after { display: block; }

/* Casting sheet: the label reads "Production Requirements" (the same name the
   upload pop-up uses) with "(one per line)" beside it, so
   the rule stays visible once someone starts typing (the placeholder vanishes). */
label[for="casting-requirements"]:not(#_) { font-size: 0 !important; }
label[for="casting-requirements"]::before { content: "Production Requirements"; font-size: 13px; }
label[for="casting-requirements"]::after { content: " (one per line)"; color: var(--dp-ink-3); font-size: 13px; font-weight: 600; }

/* On-Camera is no longer new: hide its "NEW" tag on the casting sheet. (Joe can
   also just remove the tag-new class from that label.) */
label[for="videoType"].tag-new::after { content: none !important; display: none !important; }

/* More "New" tags: the Callback Review tab (open or still locked) and the
   Callback Scheduler button. Same pill as the 2nd Rd tab; on the coral
   Scheduler button it's white. Remove these in a few months. */
.nav-tabs-custom a.nav-link[href$="/3/show"],
.nav-tabs-custom .stage-locked { display: inline-flex; align-items: center; gap: 7px; }
.nav-tabs-custom a.nav-link[href$="/3/show"]::before,
.nav-tabs-custom .stage-locked::before { content: "New"; order: 2; padding: 0 7px; border: 1px solid #f6c6ba; border-radius: 20px; background: var(--dp-coral-soft); color: #bd432d; font-size: 10.5px; font-weight: 800; line-height: 16px; }
a.action-btn[href$="/schedule"]:not(#_) { display: flex; align-items: center; }
a.action-btn[href$="/schedule"]::after { content: "New"; margin-left: auto; padding: 0 7px; border: 1px solid rgba(255, 255, 255, .55); border-radius: 20px; background: rgba(255, 255, 255, .18); color: var(--dp-white); font-size: 10.5px; font-weight: 800; line-height: 16px; }

/* Hover cards explaining the callback features (same card as the 2nd Rd tab).
   The locked Callback Review tab gets the one-line "how to open it" version;
   Joe can drop its title attribute so the browser tooltip doesn't double up. */
.nav-tabs-custom a.nav-link[href$="/3/show"],
.nav-tabs-custom .stage-locked { position: relative; }
.nav-tabs-custom a.nav-link[href$="/3/show"]:hover,
a.action-btn[href$="/schedule"]:hover { z-index: 40; }
.nav-tabs-custom a.nav-link[href$="/3/show"]::after,
a.action-btn[href$="/schedule"]::before { position: absolute; z-index: 40; display: none; width: 280px; padding: 10px 12px; border: 1px solid var(--dp-line); border-radius: var(--dp-radius); background: var(--dp-white); box-shadow: 0 6px 18px rgba(35, 32, 31, .12); color: var(--dp-ink-2); font-size: 13px; font-weight: 600; line-height: 1.45; text-align: left; text-transform: none; letter-spacing: 0; white-space: normal; pointer-events: none; }
.nav-tabs-custom a.nav-link[href$="/3/show"]::after { content: "Selects get callbacks here. Book live reads with Callback Scheduler, or set them up yourself with Email Callback Request. Then upload the live reads to review them."; top: calc(100% + 8px); left: 0; }
a.action-btn[href$="/schedule"]:not(#_) { position: relative; }
a.action-btn[href$="/schedule"]::before { content: "Selects: build a schedule of their live reads, in person or online (Zoom, Teams, etc.). Agencies confirm each time, and you upload the callbacks in Callback Review."; top: calc(100% + 6px); right: 0; }
.nav-tabs-custom a.nav-link[href$="/3/show"]:hover::after,
a.action-btn[href$="/schedule"]:hover::before { display: block; }

/* Email Callback Request: hover card explaining it's the do-it-yourself
   option, for clients who don't use the built-in Callback Scheduler. */
.casting-actions .action-btn:is(.has-selects, .has-no-selects):not(#_) { position: relative; }
.casting-actions .action-btn:is(.has-selects, .has-no-selects):hover { z-index: 40; }
.casting-actions .action-btn:is(.has-selects, .has-no-selects)::before { content: "Selects, scheduled your way. This emails their agencies so you can set callback times with them directly. Then upload the callback videos in Callback Review."; position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; display: none; width: 280px; padding: 10px 12px; border: 1px solid var(--dp-line); border-radius: var(--dp-radius); background: var(--dp-white); box-shadow: 0 6px 18px rgba(35, 32, 31, .12); color: var(--dp-ink-2); font-size: 13px; font-weight: 600; line-height: 1.45; text-align: left; text-transform: none; letter-spacing: 0; white-space: normal; pointer-events: none; }
.casting-actions .action-btn.has-no-selects::before { content: "Selects, scheduled your way. This emails their agencies so you can set callback times with them directly. Then upload the callback videos in Callback Review. Opens once you have Selects."; }
.casting-actions .action-btn:is(.has-selects, .has-no-selects):hover::before { display: block; }

/* Each callback hover card starts with a gold star (the same gold as the Selects
   star) in front of "Selects", drawn as a small background image so it can be
   gold while the text stays grey. */
.nav-tabs-custom a.nav-link[href$="/3/show"]::after,
a.action-btn[href$="/schedule"]::before,
.casting-actions .action-btn:is(.has-selects, .has-no-selects)::before { text-indent: 18px; background: var(--dp-white) url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'><path fill='%23e0a32e' d='M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z'/></svg>") no-repeat 12px 13px / 14px 13px !important; }

/* v40 — Client sign-up: a pricing note beside the Sign Up button, so new clients know
   the cost before they create an account. */
body.signup-page form .d-flex:has(> .py-2 > .submit-btn)::before { content: "Pricing: $450 per project, invoiced when the project wraps. Talent fees are separate."; flex: 1; max-width: 420px; margin-right: auto; padding: 10px 14px; background: var(--dp-peach-50); border: 1px solid var(--dp-peach-200); border-radius: var(--dp-radius); color: var(--dp-ink-2); font-size: 13.5px; font-weight: 600; line-height: 1.5; }

/* v40 — "Headshots first, request self-tape" castings: the Request self-tape
   icon (video-plus) sat right up against Details. It's now a square outline
   icon button like Download, with a clear gap before Details. */
.audition-actions .request-tape-btn:not(#_) { display: inline-grid !important; place-items: center; box-sizing: border-box; width: 32px; height: 32px; margin: 0 14px 0 12px !important; padding: 0 !important; border: 1px solid var(--dp-line-strong); border-radius: var(--dp-radius); background: var(--dp-white); vertical-align: middle; font-size: 0 !important; }
.audition-actions .request-tape-btn i { font-size: 14px !important; color: var(--dp-ink-2) !important; }
.audition-actions .request-tape-btn:hover { border-color: var(--dp-coral); }
.audition-actions .request-tape-btn:hover i { color: var(--dp-coral) !important; }
/* Once a self-tape has been requested the platform adds .text-success (and the
   title "Resend Request for self-tape"); our grey icon colour was hiding that.
   Requested = waiting on the talent, so it turns amber with a solid icon. */
.audition-actions .request-tape-btn.text-success:not(#_) { border-color: #ecd29a; background: #fcf2df; }
.audition-actions .request-tape-btn.text-success i:not(#_) { color: #85590a !important; font-weight: 900; }
.audition-actions .request-tape-btn.text-success:hover:not(#_) { border-color: #96690f; }

/* v40 — Locked tabs. "Headshots first" castings have two locked tabs
   (Self-tape Review and Callback Review). Each gets its own hover card: the
   Self-tape one explains the Request self-tape button (its icon is shown in
   the card); Callback Review, always the last tab, keeps the gold-star
   "Selects open this tab" card. The locked tab used to be drawn at 35%
   opacity, which faded the hover card too, so it now uses a pale text colour
   instead. */
.nav-tabs-custom .stage-locked:not(#_) { opacity: 1 !important; color: #b9aea8 !important; }
.nav-tabs-custom .stage-locked:not(#_)::before { opacity: .55; }

/* v40 — Actor: self-tape requested (headshots-first castings). The row's
   button only held a flashing lightbulb and a video-plus icon, so with our
   Upload R2 styling it showed as an empty coral box. It now reads
   "Upload self-tape", matching "Upload R2". */
td:has(> .submit-tape-btn) > .submit-tape-btn:has(.fa-video-plus)::after { content: "Upload self-tape"; color: #bd432d; font-size: 13px; font-weight: 800; line-height: 1; }
td:has(> .submit-tape-btn) > .submit-tape-btn .fa-video-plus:not(#_) { font-size: 13px !important; color: var(--dp-coral) !important; }

/* v40 — Confirm pop-up (READY FOR INDIVISION). The platform asks "Are you
   sure?" with the browser's own grey confirm() box. Indivision swaps those for
   one reusable pop-up, #dp-confirm (markup + dpConfirm() helper in the fix
   list). Same card as the submit-auditions confirmation: an icon badge, a
   question that names the thing, one line on what happens, then Cancel and
   the action. .dp-confirm-danger turns the badge and button red for deletes. */
#dp-confirm .modal-dialog { max-width: 420px; }
#dp-confirm .modal-content { overflow: hidden; border: 0 !important; border-radius: 14px !important; box-shadow: 0 24px 60px -20px rgba(35, 32, 31, .35); }
#dp-confirm .modal-body { padding: 30px 30px 8px !important; text-align: center; }
#dp-confirm .dp-confirm-badge { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%; background: var(--dp-coral-soft); color: var(--dp-coral); font-size: 20px; }
#dp-confirm .dp-confirm-title { margin: 0 0 6px; color: var(--dp-ink); font-size: 18px; font-weight: 800; letter-spacing: -.01em; line-height: 1.3; }
#dp-confirm .dp-confirm-body { margin: 0; color: var(--dp-ink-2); font-size: 14px; line-height: 1.5; }
#dp-confirm .modal-footer { display: flex; justify-content: center; gap: 10px; padding: 18px 30px 26px !important; border: 0 !important; }
#dp-confirm .modal-footer .btn { min-width: 112px; height: 38px; padding: 0 18px; border-radius: var(--dp-radius); font-size: 14px; font-weight: 800; text-transform: none; }
#dp-confirm .dp-confirm-cancel { border: 1px solid var(--dp-line-strong); background: var(--dp-white); color: var(--dp-ink); }
#dp-confirm .dp-confirm-cancel:hover { border-color: var(--dp-line-hover); }
#dp-confirm .dp-confirm-ok { border: 0; background: var(--dp-coral); color: var(--dp-white); }
#dp-confirm .dp-confirm-ok:hover { background: var(--dp-coral-hover); }
#dp-confirm.dp-confirm-danger .dp-confirm-badge { background: #fbe7e9; color: var(--dp-brick); }
#dp-confirm.dp-confirm-danger .dp-confirm-ok { background: var(--dp-brick); }
#dp-confirm.dp-confirm-danger .dp-confirm-ok:hover { background: #a81a26; }

/* v40 — Date and time pickers. The calendar that drops down from a date field
   (Add Scheduling Day, casting sheet dates) is drawn by the browser in its own
   blue. accent-color turns the selected day and highlights coral in Chrome and
   Edge; the little calendar / clock icon is quieter until hovered. (Safari and
   Firefox keep their own picker colours; a fully themed picker would need a
   date-picker script from Indivision.) */
input:is([type="date"], [type="time"], [type="datetime-local"], [type="month"]) { accent-color: var(--dp-coral); color-scheme: light; }
input:is([type="date"], [type="time"], [type="datetime-local"])::-webkit-calendar-picker-indicator { cursor: pointer; opacity: .55; }
input:is([type="date"], [type="time"], [type="datetime-local"]):hover::-webkit-calendar-picker-indicator { opacity: .9; }

/* v40 — Hover notes (tooltips). The grey notes on icons are the browser's own
   title tooltips, which can't be styled and appear after a delay. Once
   Indivision turns them into Bootstrap tooltips (one line of JS, see the fix
   list), they show straight away as small white cards like the other hover
   cards. This also restyles the few Bootstrap tooltips already in use (e.g.
   the callback status pill). */
.tooltip { font-family: inherit; }
.tooltip.show { opacity: 1 !important; }
.tooltip .tooltip-inner { max-width: 240px; padding: 6px 10px; border: 1px solid var(--dp-line); border-radius: var(--dp-radius); background: var(--dp-white); box-shadow: 0 6px 18px rgba(35, 32, 31, .12); color: var(--dp-ink); font-size: 12.5px; font-weight: 600; line-height: 1.4; text-align: left; }
.tooltip .arrow { display: none; }

/* v40 — In "Headshots first" castings the /2/show tab is Self-tape Review, not
   2nd Rd, so it was showing the voiceover 2nd Rd explanation. A tab bar with
   three tabs is a headshots-first casting, so that tab gets its own card.
   Also fixed: the agent's wording was keyed to .casting-detail-wrapper, which
   client pages have too; agents are now told apart by having no "New casting"
   link (/casting/new). */
.nav-tabs-custom:has(> li:nth-child(3)) a.nav-link[href$="/2/show"]:not(#_)::after { content: "Ask talent for a self-tape with the \f4e1\a0 button on their row in Headshot Review. Once their agency approves it, it shows up here."; font-family: "Nunito Sans", "Font Awesome 5 Pro", sans-serif !important; }
body:not(:has(a[href="/casting/new"])) .nav-tabs-custom:has(> li:nth-child(3)) a.nav-link[href$="/2/show"]:not(#_)::after { content: "Self-tapes the client has asked for. Talent upload them from their casting page, and you approve each one before the client sees it."; }

/* v40 — "Replace self-tape" (client) is a rare fix-it tool, so it moves to the
   end of the row, after download and play, just before Details. It's hidden
   on the Callback Review tab, where the row is about the callback video:
   callback status, Upload callback video, download, play, Details. */
.audition-actions > a[title="Replace self-tape"]:not(#_) { order: 5 !important; }
body:has(.nav-tabs-custom a.nav-link.active[href$="/3/show"]) .audition-actions > a[title="Replace self-tape"]:not(#_) { display: none !important; }
