/* Just Voices-inspired casting geometry in the approved Dithyrambos palette.
   Loaded only by Voices and Shortlist; the opening and profiles stay intact. */
.agency-voices.legacy-artists{padding:0 5vw 70px;background:var(--paper)}
.agency-filter-band.legacy-filter-band{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px 28px;margin:0 -5vw;padding:24px 5vw 26px;background:#e4e6e8;border-radius:0}
body[data-page="shortlist"]>.agency-filter-band{margin:0}
body[data-page="shortlist"] main>.agency-filter-band{margin:0;padding-inline:5vw}
.agency-filter-band :is(select,input,button){min-height:50px;height:50px;border-radius:999px;font-size:15px;font-weight:650;line-height:1.3}
.agency-filter-band select{appearance:none;-webkit-appearance:none;border:2px solid #777ca4;background:transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23203443' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 18px center;padding:10px 42px 10px 18px;border-radius:999px;color:var(--ink);text-transform:uppercase}
.agency-filter-band .agency-name-search{position:relative;grid-column:1}
.agency-filter-band input{border:2px solid #777ca4;background:transparent;padding:10px 44px 10px 18px;color:var(--ink)}
.agency-name-search>span[aria-hidden]{position:absolute;right:17px;top:8px;font-size:25px;color:var(--ink)}
.agency-filter-band button[type="submit"]{grid-column:2;background:#444c76;color:#fff;border:0}
.agency-filter-band .agency-reset{justify-self:start;grid-column:3;border:0;background:transparent;color:var(--ink);font-size:14px;font-weight:500;padding:10px 18px}
.agency-filter-band :is(select,input,button):focus-visible{outline:3px solid #4054c7;outline-offset:4px}
.agency-filter-band button[type="submit"]:hover{background:#353d64}
.agency-heading{position:relative;max-width:1280px;margin:76px auto 40px;text-align:center}
.agency-heading h1{font-size:clamp(36px,4vw,56px);line-height:1.15;font-weight:700;margin:0;color:#4054c7}
.agency-heading p{position:absolute;right:0;top:8px;display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;line-height:1.3;color:#62658d;margin:0;text-transform:uppercase}
.agency-heading svg,.agency-studio svg{width:18px;height:18px;display:block}
.agency-categories{display:flex;justify-content:center;flex-wrap:wrap;gap:12px;max-width:1280px;margin:auto}
.agency-categories button{background:#4054c7;color:#fff;border:1px solid #4054c7;border-radius:999px;padding:8px 18px;min-height:38px;font-size:14px;line-height:1.3}
.agency-categories button[aria-pressed="true"],.agency-categories button:hover{background:#444c76;border-color:#444c76}
.agency-voices #casting-status{min-height:24px;text-align:center;margin:22px auto 0;font-size:14px}
.agency-voices .legacy-artist-grid{grid-template-columns:repeat(5,minmax(0,1fr));max-width:1280px;gap:40px 28px;margin:36px auto 0}
.agency-artist .legacy-portrait{position:relative;overflow:hidden;display:block;aspect-ratio:1}
.agency-artist:nth-child(5n+1) .legacy-portrait,.agency-artist:nth-child(5n+1) .legacy-portrait img{border-radius:50% 0 50% 0}
.agency-artist:nth-child(5n+2) .legacy-portrait,.agency-artist:nth-child(5n+2) .legacy-portrait img{border-radius:0 0 0 50%}
.agency-artist:nth-child(5n+3) .legacy-portrait,.agency-artist:nth-child(5n+3) .legacy-portrait img{border-radius:0 50% 0 0}
.agency-artist:nth-child(5n+4) .legacy-portrait,.agency-artist:nth-child(5n+4) .legacy-portrait img{border-radius:0 50% 0 50%}
.agency-artist:nth-child(5n+5) .legacy-portrait,.agency-artist:nth-child(5n+5) .legacy-portrait img{border-radius:50%}
.agency-portrait-details{position:absolute;inset:0;display:flex;align-items:center;padding:20px;background:#4054c7ed;color:#fff;opacity:0;transition:opacity .2s ease;overflow:auto}
.legacy-portrait:is(:hover,:focus-visible) .agency-portrait-details{opacity:1}
.agency-portrait-details .casting-metadata{display:block;margin:0;width:100%}
.agency-portrait-details .casting-metadata>div{margin-bottom:10px}
.agency-portrait-details .casting-metadata dt{color:#fff;font-size:12px;font-weight:700;line-height:1.3}
.agency-portrait-details .casting-metadata dd{color:#fff;font-size:12px;line-height:1.4;margin:3px 0 0}
.agency-artist .legacy-card-info{margin:0;padding:0;border:1px solid #b7b0d2;background:linear-gradient(120deg,#f6f3ee,#e9e8f3)}
.agency-card-title{display:flex;gap:6px;align-items:center;min-height:58px;padding:8px 10px}
.agency-card-title h2{flex:1;min-width:0;padding:0;margin:0;font-size:14px;line-height:1.25;text-align:left;color:var(--ink)}
.agency-studio{color:#4054c7;flex:none}
.agency-profile-link{display:flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e9e8f3;color:#444c76;flex:none}
.agency-profile-link svg{width:21px;height:21px}
.agency-artist .casting-player{padding:8px 10px;margin:0;border:0;border-radius:0;background:#4054c7;color:#fff}
.agency-artist .casting-audio-top{display:grid;grid-template-columns:24px 1fr 20px;gap:4px;align-items:center}
.agency-artist .demo-select{display:block;grid-column:1/-1;min-width:0;margin:0;order:0;flex-basis:auto}
.agency-artist .demo-select select{font-size:12px;width:100%;min-height:28px;height:28px;padding:0;background:transparent;color:#fff;border:0}
.agency-artist .demo-select option{background:#444c76;color:#fff}
.agency-artist .casting-time{font-size:11px;line-height:1.3;margin:0;justify-self:end;color:#fff}
.agency-artist .casting-play,.agency-artist .demo-download{width:auto;min-width:0;height:28px;min-height:28px;font-size:16px;color:#fff;margin:0;padding:0}
.agency-artist .casting-timeline{margin:2px 0 0;height:20px}
.agency-artist [data-demo-seek]{height:20px;accent-color:#fff}
.agency-artist .legacy-card-actions{display:block;padding:0;margin:0}
.agency-artist .legacy-card-actions .casting-save{display:block;width:100%;min-height:44px;margin:0;padding:10px 5px;border:0;border-radius:0;background:#f58a50;color:#203443;font-size:12px;font-weight:650}
.agency-artist .legacy-card-actions .casting-save[aria-pressed="true"]{background:#444c76;color:#fff}
.agency-artist .casting-audio-error:empty{display:none}
.agency-shortlist.legacy-shortlist{max-width:none;padding:0;gap:0;grid-template-columns:43% 57%;align-items:stretch}
.agency-shortlist-left{padding:70px 28px 80px max(28px,5vw);background:var(--paper);min-width:0}
.agency-shortlist-left>h1{font-size:clamp(36px,4vw,56px);line-height:1.15;color:#4054c7;font-weight:700;margin:0 0 28px}
.agency-shortlist-right{background:linear-gradient(145deg,#e9e8f3,#e8eaf5 55%,#f2e9df);padding:90px max(28px,5vw) 80px;min-width:0}
.agency-share-intro{max-width:620px;text-align:center;font-weight:500;margin:0 auto 18px}
.agency-shortlist #legacy-share-form{gap:16px;margin:0 auto;max-width:620px}
.agency-shortlist #legacy-share-form input{background:#f8f7f180;border:1.5px solid #777ca4;border-radius:999px;padding:15px 22px;min-height:50px;font-size:14px;color:var(--ink)}
.agency-shortlist #legacy-share-form textarea{background:#f8f7f180;border:1.5px solid #777ca4;border-radius:24px;padding:18px 22px;font-size:14px;color:var(--ink)}
.agency-shortlist #legacy-share-form button{background:#f58a50;color:#203443;border-radius:999px;min-height:50px;margin:6px 0 0;font-size:14px}
.agency-shortlist #legacy-share-form :is(.agency-recipient-note,.legacy-form-note,[data-share-status]){font-size:13px;line-height:1.6;margin:0}
.agency-shortlist .agency-short-row{grid-template-columns:80px minmax(0,1fr);gap:16px;padding:22px 0;align-items:start;border-color:#c7c6e0}
.agency-short-photo img{width:80px;height:80px;border-radius:0 0 50% 50%}
.agency-short-info{min-width:0}
.agency-short-info h2{display:flex;align-items:center;gap:10px;font-size:18px;line-height:1.3;margin:0 0 12px}
.agency-short-row .casting-player{padding:8px 12px;background:#4054c7;border-radius:0;color:#fff}
.agency-short-row .casting-audio-top{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.agency-short-row .demo-select{flex-basis:100%;min-width:0;order:-1}
.agency-short-row .demo-select select{background:transparent;color:#fff;font-size:13px;width:100%;height:30px;min-height:30px;padding:0;border:0}
.agency-short-row .demo-select option{background:#444c76}
.agency-short-row .casting-time{margin-left:auto;color:#fff;font-size:12px}
.agency-short-row .demo-download{color:#fff;font-size:18px}
.agency-short-row .casting-play{color:#fff}
.agency-short-row .casting-timeline{display:block;margin:0;height:24px}
.agency-short-row [data-demo-seek]{position:static;opacity:1;width:100%;height:24px;accent-color:#fff}
.agency-short-row .agency-remove{background:#f58a50;color:#203443;width:100%;border:0;padding:9px 12px;min-height:40px;font-size:13px}
.agency-shortlist .shortlist-tools{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.agency-shortlist .shortlist-tools button{border-radius:999px;min-height:40px;padding:8px 14px;background:transparent}
.agency-shortlist .shortlist-tools p{flex-basis:100%;font-size:13px;margin:0;overflow-wrap:anywhere}
.agency-shortlist .casting-empty p{font-size:16px;line-height:1.6}
@media(max-width:1050px){
 .agency-filter-band.legacy-filter-band{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
 .agency-filter-band .agency-name-search,.agency-filter-band button[type="submit"],.agency-filter-band .agency-reset{grid-column:auto}
 .agency-voices .legacy-artist-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 24px}
 .agency-heading p{position:static;justify-content:center;margin-top:16px}
 .agency-shortlist.legacy-shortlist{grid-template-columns:1fr 1fr}
 .agency-shortlist-left,.agency-shortlist-right{padding:50px 24px}
}
@media(max-width:680px){
 .agency-voices.legacy-artists{padding-inline:20px}
 .agency-filter-band.legacy-filter-band{grid-template-columns:repeat(2,minmax(0,1fr));margin-inline:-20px;padding:20px;gap:12px}
 .agency-filter-band :is(select,input,button){font-size:13px;min-height:48px;height:48px}
 .agency-filter-band select{padding:10px 36px 10px 12px;background-position:right 12px center}
 .agency-heading{margin-top:42px;margin-bottom:24px}
 .agency-categories{gap:8px}
 .agency-categories button{padding:7px 12px;font-size:12px}
 .agency-voices .legacy-artist-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 16px;margin-top:22px}
 .agency-card-title{padding-inline:7px;gap:4px}
 .agency-card-title h2{font-size:12px}
 .agency-studio svg{width:15px;height:15px}
 .agency-profile-link{width:24px;height:24px}
 .agency-artist .casting-player{padding-inline:7px}
 .agency-shortlist.legacy-shortlist{grid-template-columns:1fr}
 .agency-shortlist-left,.agency-shortlist-right{padding:40px 20px}
 .agency-portrait-details{padding:14px}
}
@media(prefers-reduced-motion:reduce){.agency-portrait-details{transition:none}}
@media(forced-colors:active){.agency-portrait-details{background:Canvas;color:CanvasText}.agency-portrait-details .casting-metadata :is(dt,dd){color:CanvasText}.agency-artist .legacy-card-actions .casting-save,.agency-short-row .agency-remove{background:ButtonFace;color:ButtonText}}

.agency-filter-band input::placeholder,.agency-shortlist #legacy-share-form :is(input,textarea)::placeholder{color:#58666e;opacity:1}

/* Cool blue-grey shortlist actions balance the cobalt audio players. */
.agency-artist .legacy-card-actions .casting-save{background:#d9e1e8;color:#203443}
.agency-artist .legacy-card-actions .casting-save:hover{background:#c6d3df;color:#203443}
.agency-artist .legacy-card-actions .casting-save[aria-pressed="true"]{background:#607587;color:#fff}
@media(forced-colors:active){.agency-artist .legacy-card-actions .casting-save{background:ButtonFace;color:ButtonText}}

/* Opalescent reference palette, restricted to the Voices directory. */
body[data-page="voices"] .agency-voices{background:var(--paper)}
body[data-page="voices"] .agency-filter-band{background:linear-gradient(110deg,#e5edf0,#e5e5ed 58%,#eee7eb);box-shadow:inset 0 1px 0 #ffffff90,inset 0 -1px 0 #20344312}
body[data-page="voices"] .agency-filter-band :is(select,input){border-color:#8497a3;background-color:#ffffff45;box-shadow:inset 0 1px 0 #ffffff99}
body[data-page="voices"] .agency-filter-band button[type="submit"]{background:#bf32b2;color:#fff;box-shadow:0 4px 14px #bf32b21a}
body[data-page="voices"] .agency-filter-band button[type="submit"]:hover{background:#a72b9c}
body[data-page="voices"] .agency-heading h1{color:#203443}
body[data-page="voices"] .agency-categories button{background:#ffffffa8;color:#203443;border-color:#a3b6c3;box-shadow:0 2px 7px #20344308}
body[data-page="voices"] .agency-categories button:is(:hover,[aria-pressed="true"]){background:#d2e7f0;color:#203443;border-color:#738ea4}
body[data-page="voices"] .agency-artist .legacy-card-info{border-color:#b9cbd5;background:linear-gradient(130deg,#ffffffd9,#e6eff5d9 58%,#f2e5efd9);box-shadow:0 7px 22px #3c638315,inset 0 1px 0 #fff}
body[data-page="voices"] .agency-profile-link{background:#dbe9f1;color:#203443}
body[data-page="voices"] .agency-artist .casting-player{background:linear-gradient(135deg,#c4e7f2,#d3e1f2 60%,#e2d9f1);color:#203443}
body[data-page="voices"] .agency-artist:nth-child(3n+2) .casting-player{background:linear-gradient(135deg,#e8d9ef,#dce4f5 55%,#c9e8f0)}
body[data-page="voices"] .agency-artist:nth-child(3n+3) .casting-player{background:linear-gradient(135deg,#d6eae2,#cae5f0 60%,#e5e0f2)}
body[data-page="voices"] .agency-artist :is(.demo-select select,.casting-time,.casting-play,.demo-download){color:#203443}
body[data-page="voices"] .agency-artist .demo-select option{background:#f3f7f8;color:#203443}
body[data-page="voices"] .agency-artist [data-demo-seek]{accent-color:#4054c7}
body[data-page="voices"] .agency-portrait-details{background:#203443ed}
body[data-page="voices"] .agency-artist .legacy-card-actions .casting-save{background:#d9e1e8;color:#203443}
body[data-page="voices"] .agency-artist .legacy-card-actions .casting-save:hover{background:#c6d3df}
body[data-page="voices"] .agency-artist .legacy-card-actions .casting-save[aria-pressed="true"]{background:#607587;color:#fff}
@media(forced-colors:active){body[data-page="voices"] .agency-voices,body[data-page="voices"] .agency-filter-band,body[data-page="voices"] .agency-artist .legacy-card-info,body[data-page="voices"] .agency-artist .casting-player{background:Canvas;color:CanvasText;box-shadow:none}body[data-page="voices"] .agency-categories button,body[data-page="voices"] .agency-filter-band button[type="submit"],body[data-page="voices"] .agency-artist .legacy-card-actions .casting-save{background:ButtonFace;color:ButtonText;box-shadow:none}}

body[data-page="voices"] .agency-artist .casting-wave .wave-base{stroke:#829bae}
body[data-page="voices"] .agency-artist .casting-wave .wave-progress{stroke:#4054c7}

/* Shortlist follows the approved Voices palette and off-white page. */
body[data-page="shortlist"] .agency-shortlist{background:var(--paper)}
body[data-page="shortlist"] .agency-shortlist-left{background:var(--paper)}
body[data-page="shortlist"] .agency-shortlist-right{background:linear-gradient(130deg,#f0f4f5,#edeef4 62%,#f3ecef)}
body[data-page="shortlist"] .agency-shortlist-left>h1{color:#203443}
body[data-page="shortlist"] .agency-filter-band{background:linear-gradient(110deg,#e5edf0,#e5e5ed 58%,#eee7eb);box-shadow:inset 0 1px 0 #ffffff90,inset 0 -1px 0 #20344312}
body[data-page="shortlist"] .agency-filter-band :is(select,input){border-color:#8497a3;background-color:#ffffff45;box-shadow:inset 0 1px 0 #ffffff99}
body[data-page="shortlist"] .agency-filter-band button[type="submit"],body[data-page="shortlist"] #legacy-share-form button{background:#bf32b2;color:#fff}
body[data-page="shortlist"] .agency-filter-band button[type="submit"]:hover,body[data-page="shortlist"] #legacy-share-form button:hover{background:#a72b9c}
body[data-page="shortlist"] #legacy-share-form :is(input,textarea){border-color:#8497a3;background:#ffffffb3;color:#203443;box-shadow:inset 0 1px 0 #fff}
body[data-page="shortlist"] .agency-short-row{border-color:#b9cbd5}
body[data-page="shortlist"] .agency-short-row .casting-player{background:linear-gradient(135deg,#c4e7f2,#d3e1f2 60%,#e2d9f1);color:#203443}
body[data-page="shortlist"] .agency-short-row:nth-child(3n+2) .casting-player{background:linear-gradient(135deg,#e8d9ef,#dce4f5 55%,#c9e8f0)}
body[data-page="shortlist"] .agency-short-row:nth-child(3n+3) .casting-player{background:linear-gradient(135deg,#d6eae2,#cae5f0 60%,#e5e0f2)}
body[data-page="shortlist"] .agency-short-row :is(.demo-select select,.casting-time,.casting-play,.demo-download){color:#203443}
body[data-page="shortlist"] .agency-short-row .demo-select option{background:#f3f7f8;color:#203443}
body[data-page="shortlist"] .agency-short-row [data-demo-seek]{accent-color:#4054c7}
body[data-page="shortlist"] .agency-short-row .agency-remove{background:#d9e1e8;color:#203443}
body[data-page="shortlist"] .agency-short-row .agency-remove:hover{background:#c6d3df}
@media(forced-colors:active){body[data-page="shortlist"] :is(.agency-shortlist-right,.agency-filter-band,.agency-short-row .casting-player){background:Canvas;color:CanvasText;box-shadow:none}body[data-page="shortlist"] :is(.agency-remove,#legacy-share-form button,.agency-filter-band button[type="submit"]){background:ButtonFace;color:ButtonText}}

/* Shortlist portrait cards mirror the Voices cards, without studio markers. */
body[data-page="shortlist"] .legacy-short-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;align-items:start}
body[data-page="shortlist"] .agency-short-card{display:block;min-width:0;margin:0;border:0;background:transparent;padding:0}
.short-card-photo{display:block;aspect-ratio:1;overflow:hidden;border-radius:0 50% 0 50%}
.agency-short-card:nth-child(even) .short-card-photo{border-radius:50% 0 50% 0}
.short-card-photo img{display:block;width:100%;height:100%;object-fit:cover}
.short-card-title{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:76px;padding:16px;border:1px solid #b9cbd5;background:linear-gradient(125deg,#f4f8fa,#e5edf1);color:#203443}
.short-card-title h2{font-size:19px;line-height:1.3;margin:0;text-transform:uppercase;overflow-wrap:anywhere}
.short-card-title .agency-profile-link{flex:0 0 36px}
body[data-page="shortlist"] .agency-short-card .agency-remove{display:block;width:100%;min-height:62px;border:1px solid #b9cbd5;border-top:0;border-radius:0;background:#d9e1e8;color:#203443;font-size:17px;font-weight:600;margin:0;padding:16px}
body[data-page="shortlist"] .agency-short-card .agency-remove:hover{background:#c6d3df}
@media(max-width:420px){body[data-page="shortlist"] .legacy-short-grid{grid-template-columns:1fr}}

/* Define the control and card surfaces without outlining artist photographs. */
body :is(.agency-filter-band select,.agency-filter-band input,.agency-filter-band button[type="submit"]){border:1px solid #203443}
body[data-page="voices"] .agency-artist .legacy-card-info{border:1px solid #203443}
body .agency-artist .legacy-card-actions .casting-save,
body .agency-short-card .agency-remove,
body .agency-short-card .short-card-title{border:1px solid #203443}
/* Selected category keeps an outline; blue appears on hover only. */
body[data-page="voices"] .agency-categories button[aria-pressed="true"]{background:transparent;color:#203443;border-color:#738ea4;box-shadow:none}
body[data-page="voices"] .agency-categories button:hover{background:#d2e7f0;color:#203443;border-color:#738ea4}
body[data-page="voices"] .agency-filter-band button[type="submit"]{background:#e3e3e1;color:#58666e;border:1px solid #203443;border-radius:50%;box-shadow:none}
body[data-page="voices"] .agency-filter-band button[type="submit"]:is(:hover,:focus-visible,:active){background:#d0d3d4;color:#203443;border:1px solid #203443;border-radius:50%;box-shadow:none}
.agency-filter-band .agency-name-search input:is(:focus,:focus-visible){outline:none;box-shadow:none}
.agency-filter-band .agency-name-search:focus-within{border-color:#203443;box-shadow:none;border-radius:999px}

/* Consistent search action across Voices and Shortlist. */
body[data-page] .agency-filter-band button[type="submit"],body[data-page="shortlist"] #legacy-share-form button{background:#e3e3e1;color:#58666e;border:1px solid #203443;border-radius:50%;box-shadow:none;font-weight:600;min-height:52px;padding:12px 26px;line-height:1.2;transform:none}
body[data-page] .agency-filter-band button[type="submit"]:is(:hover,:focus-visible,:active),body[data-page="shortlist"] #legacy-share-form button:is(:hover,:focus-visible,:active){background:#d0d3d4;color:#203443;border:1px solid #203443;border-radius:50%;box-shadow:none;transform:none}

/* Search buttons share the filter fields' capsule geometry. */
body[data-page] .agency-filter-band button[type="submit"],.is-home .artist-filter-strip .reference-search-button{height:50px;min-height:50px;border-radius:999px;border:1px solid #203443;background:#e3e3e1;color:#58666e;box-shadow:none;font-weight:650;padding:10px 24px;line-height:1.3;transform:none;transition:background-color .2s,color .2s}
body[data-page] .agency-filter-band button[type="submit"]:hover,.is-home .artist-filter-strip .reference-search-button:hover{border-radius:999px;border:1px solid #203443;background:#d0d3d4;color:#203443;box-shadow:none;transform:none}
body[data-page] .agency-filter-band button[type="submit"]:is(:focus-visible,:active):not(:hover),.is-home .artist-filter-strip .reference-search-button:is(:focus-visible,:active):not(:hover){border-radius:999px;background:#e3e3e1;color:#58666e;box-shadow:none;transform:none}
@media(max-width:600px){body[data-page] .agency-filter-band button[type="submit"]{height:48px;min-height:48px}}
.agency-filter-band.legacy-filter-band{border:1px solid #1c2329;border-radius:0 85px 0 0}
body[data-page] .agency-filter-band button[type="submit"],body[data-page] .agency-filter-band button[type="submit"]:is(:hover,:focus-visible,:active){border-radius:0 28px 0 0}
@media(max-width:760px){.agency-filter-band.legacy-filter-band{border-top-right-radius:50px}}
