/* Actor portfolio: editorial hierarchy, accessible controls, no autoplay. */
.actor-profile-hero{display:flex;gap:30px;align-items:center;background:linear-gradient(125deg,#f0eee9,#f7f8fc 65%,#e8effa);border:1px solid #e7e7ec;border-radius:28px;padding:30px;margin-bottom:22px}.actor-profile-photo{width:158px;aspect-ratio:4/5;border-radius:18px;overflow:hidden;background:#dddce2;display:grid;place-items:center;flex-shrink:0}.actor-profile-photo img{width:100%;height:100%;object-fit:cover}.actor-profile-photo>span{font-size:46px;color:#7d7a87}.actor-profile-identity h1{font-size:clamp(30px,4vw,48px);letter-spacing:-1.7px;margin:10px 0;overflow-wrap:anywhere}.actor-profile-identity p{color:#67656d}.portfolio-jumplinks{display:flex;flex-wrap:wrap;gap:6px;border-bottom:1px solid #e5e5eb;padding-bottom:14px;margin-bottom:28px}.portfolio-jumplinks a{padding:9px 15px;border-radius:999px;color:#4c4c55;text-decoration:none;font-size:13px}.portfolio-jumplinks a:hover{background:#e7edf8;color:#0065cc}.actor-profile-layout{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(240px,1fr);gap:26px;align-items:start}.portfolio-section-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:12px}.portfolio-section-heading h2{margin:8px 0}.portfolio-main,.portfolio-sidebar{min-width:0}.portfolio-group{margin:25px 0 32px}.portfolio-group>h3{font-size:14px;font-weight:600;letter-spacing:.03em;margin-bottom:14px}.portfolio-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.portfolio-tile{border:1px solid #e4e4e9;background:#fff;overflow:hidden;border-radius:18px;min-width:0}.portfolio-media{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:16/10;border:0;padding:0;background:linear-gradient(130deg,#edeef5,#e3e8f1);color:#626a7f;cursor:pointer}.portfolio-headshot .portfolio-media{aspect-ratio:4/5}.portfolio-media img{width:100%;height:100%;object-fit:cover}.portfolio-file-symbol{font-size:58px;line-height:1.3;font-weight:300}.portfolio-file-kind{font-size:11px;text-transform:uppercase;letter-spacing:.09em}.portfolio-caption{padding:14px 15px}.portfolio-caption strong{display:block;font-size:13px;overflow-wrap:anywhere}.portfolio-caption small{display:block;font-size:10px;color:#6b6a73;margin-top:5px}.portfolio-sidebar .card{padding:22px}.portfolio-sidebar h2{font-size:20px}.portfolio-sidebar h3{font-size:14px;margin-top:22px}.portfolio-sidebar .prose{font-size:13px;line-height:1.7}.portfolio-facts{display:grid;gap:6px;margin-bottom:0}.portfolio-facts dt{font-size:11px;color:#75727d;margin-top:9px}.portfolio-facts dd{margin:0;font-size:13px;overflow-wrap:anywhere}.portfolio-links{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.portfolio-links .btn{font-size:11px;padding:9px 12px}.portfolio-empty{padding:40px 24px;text-align:center;border:1px dashed #cdd2dc;border-radius:20px;background:#f8f9fc;min-height:280px;display:flex;flex-direction:column;align-items:center;justify-content:center}.portfolio-empty>span{font-size:36px;color:#8a93a5}.portfolio-empty p{max-width:330px;color:#70737b;line-height:1.65}.package-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:14px}.package-card{padding:20px;border:1px solid #e5e5ec;border-radius:17px;background:#f8f9fc;overflow-wrap:anywhere}.package-card>span{font-size:28px;color:#7d88a0}.package-card h3{margin-top:15px}.package-card p{font-size:12px;color:#6b6c74}.package-card .textlink{display:block;margin-top:12px}.portfolio-account summary{font-weight:600;cursor:pointer}.portfolio-account[open] summary{margin-bottom:20px}.portfolio-editor-row{padding:18px;margin:12px 0;background:#f6f7fa;border:1px solid #e3e5eb;border-radius:15px;display:grid;gap:12px}.portfolio-editor-row>label:not(.checkfield){display:grid;gap:6px;font-size:12px}.portfolio-editor-row .checkfield{margin:0}.portfolio-editor-row input:not([type=checkbox]),.portfolio-editor-row select{width:100%;padding:10px;border:1px solid #d5d8df;border-radius:9px;background:white;color:#20212a}.portfolio-lightbox{width:100%;max-height:65vh;object-fit:contain;border-radius:14px;background:#f3f4f6}.member-portfolio{margin:25px 0}.member-portfolio .portfolio-grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}.portfolio-jumplinks a:focus-visible,.portfolio-media:focus-visible{outline:3px solid #3180e8;outline-offset:3px}#portfolio-work,#portfolio-about,#portfolio-packages{scroll-margin-top:24px}@media(max-width:1000px){.actor-profile-layout{grid-template-columns:minmax(0,1fr)}.portfolio-sidebar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}.portfolio-sidebar .card{margin:0 0 15px}}@media(max-width:540px){.actor-profile-hero{padding:20px;gap:17px;align-items:flex-start;border-radius:22px}.actor-profile-photo{width:90px;border-radius:12px}.actor-profile-identity h1{font-size:28px;letter-spacing:-1px}.actor-profile-identity .eyebrow{font-size:8px}.actor-profile-identity p{font-size:12px}.actor-profile-identity .actionrow{margin-inline:0;padding-top:10px}.portfolio-sidebar{display:block}.portfolio-grid{gap:11px}.portfolio-caption{padding:11px}.portfolio-caption strong{font-size:12px}.portfolio-caption small{font-size:9px}.portfolio-section-heading h2{font-size:22px}.portfolio-jumplinks a{font-size:11px;padding:8px 10px}.portfolio-file-symbol{font-size:42px}.package-grid{grid-template-columns:1fr}.portfolio-sidebar .card{margin-bottom:15px}}@media(prefers-reduced-motion:reduce){.portfolio-media,.portfolio-jumplinks a{transition:none}}
.public-portfolio{max-width:1200px;margin:auto}.portfolio-public-image{width:100%;aspect-ratio:4/5;object-fit:cover;display:block}.portfolio-public-video{width:100%;aspect-ratio:16/10;background:#121318;display:block}.portfolio-tile figure{margin:0}.public-portfolio figure{margin:0}.public-portfolio .portfolio-caption{overflow-wrap:anywhere}.portfolio-main video{max-width:100%}

.profile-theme-editorial .actor-profile-identity h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-.04em}.profile-theme-editorial .portfolio-tile{border-radius:4px}.profile-theme-warm .actor-profile-hero,.profile-theme-warm .portfolio-tile,.profile-theme-warm .portfolio-sidebar .card{background:#faf3e9;color:#352538}.profile-theme-warm .actor-profile-identity h1{color:#653c64}.profile-theme-warm .portfolio-tile{border-radius:24px}

.role-public.profile-theme-editorial h1{font-family:Georgia,serif}.role-public.profile-theme-warm{background:#faf3e9;color:#352538;border-radius:24px}.role-public.profile-theme-warm h1{color:#653c64}

/* Profile studio: bounded controls, automatic text contrast and no executable custom CSS. */
.profile-custom{background:var(--profile-bg);color:var(--profile-ink);border-radius:var(--profile-radius);isolation:isolate;min-width:0;overflow-wrap:anywhere}
.profile-custom .actor-profile-hero,.profile-custom .portfolio-tile,.profile-custom .portfolio-sidebar .card,.profile-custom .package-card,.profile-custom .portfolio-empty{background:var(--profile-card);color:var(--profile-card-ink);border-color:color-mix(in srgb,var(--profile-card-ink) 18%,transparent);border-radius:var(--profile-radius);box-shadow:var(--profile-shadow)}
.profile-custom .actor-profile-identity h1,.profile-custom .portfolio-main h2,.profile-custom .portfolio-sidebar h2{font-family:var(--profile-font);color:inherit}
.profile-custom .actor-profile-hero p,.profile-custom .actor-profile-hero .eyebrow,.profile-custom .portfolio-sidebar p,.profile-custom .portfolio-sidebar h3,.profile-custom .portfolio-caption small,.profile-custom .portfolio-facts dt,.profile-custom .portfolio-facts dd,.profile-custom .portfolio-empty p{color:inherit;opacity:1}
.profile-custom>.notice,.profile-custom .portfolio-section-heading,.profile-custom .portfolio-jumplinks a,.profile-custom footer{color:var(--profile-ink)}
.profile-custom .portfolio-grid,.profile-custom .actor-profile-layout{gap:var(--profile-gap)}
.profile-custom .actor-profile-photo{border-radius:var(--profile-radius);background:var(--profile-accent);color:var(--profile-button-ink)}
.profile-custom .actor-profile-photo>span{color:inherit}
.profile-custom[data-photo=square] .actor-profile-photo{aspect-ratio:1}
.profile-custom[data-photo=round] .actor-profile-photo{aspect-ratio:1;border-radius:50%}
.profile-custom .actor-profile-hero .btn,.profile-custom .actor-profile-hero .pill,.profile-custom .portfolio-sidebar .btn{background:var(--profile-card);color:var(--profile-card-ink);border:1px solid currentColor}
.profile-custom .actor-profile-hero .primary,.profile-custom .actor-profile-hero .blue{background:var(--profile-accent);color:var(--profile-button-ink);border-color:transparent}
.profile-custom[data-pattern=glow]{background-image:radial-gradient(ellipse at 95% 0,color-mix(in srgb,var(--profile-accent) 20%,transparent),transparent 55%)}
.profile-custom[data-pattern=dots]{background-image:radial-gradient(color-mix(in srgb,var(--profile-ink) 12%,transparent) 1px,transparent 1px);background-size:18px 18px}
.profile-custom[data-pattern=grid]{background-image:linear-gradient(color-mix(in srgb,var(--profile-ink) 7%,transparent) 1px,transparent 1px),linear-gradient(90deg,color-mix(in srgb,var(--profile-ink) 7%,transparent) 1px,transparent 1px);background-size:28px 28px}
.profile-custom[data-layout=gallery] .actor-profile-layout,.profile-custom[data-layout=story] .actor-profile-layout{grid-template-columns:minmax(0,1fr)}
.profile-custom[data-layout=gallery] .portfolio-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.profile-custom[data-layout=story] .portfolio-sidebar{grid-row:1}
.profile-custom .portfolio-tile img,.profile-custom .portfolio-tile video{max-width:100%}
.profile-custom :focus-visible{outline:3px solid currentColor;outline-offset:4px}
#modal:has(.style-studio){width:min(1180px,calc(100vw - 28px));max-width:1180px;max-height:92dvh;padding:24px;overflow:auto}
.style-studio{display:grid;grid-template-columns:minmax(240px,.85fr) minmax(0,1.3fr);gap:30px;align-items:start}
.style-studio fieldset{border:0;padding:0;margin:0 0 24px;min-width:0}.style-studio legend{font-size:16px;font-weight:700;margin-bottom:14px}
.style-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.style-swatch{border:2px solid transparent;border-radius:12px;padding:8px 4px;background:#f5f5f7;font-size:11px;cursor:pointer;color:#25252a}.style-swatch>span{display:grid;place-items:center;background:var(--swatch);color:var(--swatch-accent);height:48px;font-family:Georgia,serif;font-size:25px;border-radius:8px;margin-bottom:8px}.style-swatch[aria-pressed=true]{border-color:#006ddd}.style-swatch:focus-visible{outline:3px solid #006ddd;outline-offset:2px}
.style-color-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.style-color-grid label{display:grid;gap:8px;font-size:13px}.style-color-grid input[type=color]{height:48px;width:100%;padding:4px;cursor:pointer;border:1px solid #ccc;border-radius:10px}
.studio-control{display:grid;gap:8px;margin-top:18px;font-size:13px;font-weight:600}.studio-control select{width:100%;min-height:44px}.studio-control input[type=range]{width:100%;min-height:36px;accent-color:#006ddd}.studio-control output{font-weight:400}.studio-save{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.style-studio .actionrow{margin:20px 0 0;flex-wrap:wrap}
.studio-preview-column{position:sticky;top:0;min-width:0}.studio-preview-toolbar{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:12px;font-size:10px;letter-spacing:.08em}.studio-preview{padding:20px;transition:background-color .15s;max-width:100%;margin-inline:auto}.studio-preview .actor-profile-hero{padding:18px;gap:15px;flex-wrap:wrap}.studio-preview .actor-profile-photo{width:70px}.studio-preview .actor-profile-identity h1{font-size:26px;letter-spacing:-.04em}.studio-preview .actor-profile-layout{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}.studio-preview h2{font-size:17px}.studio-preview .portfolio-sidebar .card{padding:16px}.studio-preview .portfolio-sidebar p{font-size:12px}.studio-preview .portfolio-caption{font-size:11px;padding:10px}.studio-preview .portfolio-grid{gap:10px}.style-sample-art{aspect-ratio:4/5;display:grid;place-items:center;background:linear-gradient(145deg,var(--profile-accent),var(--profile-card));color:var(--profile-button-ink);font-size:60px}.portfolio-tile:nth-child(2n) .style-sample-art{background:var(--profile-accent)}
.studio-preview.phone-preview{max-width:340px}.studio-preview.phone-preview .actor-profile-layout{grid-template-columns:minmax(0,1fr)}.studio-preview.phone-preview .actor-profile-hero{flex-direction:column}.studio-preview.phone-preview .portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){.style-studio{grid-template-columns:minmax(0,1fr)}.studio-preview-column{position:static;grid-row:1}.studio-preview{max-height:410px;overflow:auto}.style-studio .studio-save{position:sticky;bottom:0;background:#fff;padding:12px 0;z-index:2}.profile-custom[data-layout=gallery] .portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.studio-preview .actor-profile-layout{grid-template-columns:minmax(0,1fr)}}
@media(max-width:600px){.profile-custom .actor-profile-hero{border-radius:var(--profile-radius)}.profile-custom .actor-profile-photo{width:96px}.profile-custom .actor-profile-identity{min-width:0;width:100%}.profile-custom .actor-profile-identity .actionrow{margin-inline:0!important;display:grid;grid-template-columns:minmax(0,1fr);width:100%}.profile-custom .actor-profile-identity .actionrow .btn{min-width:0;max-width:100%;width:100%;white-space:normal}.profile-custom .portfolio-sidebar{display:block}.profile-custom .portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){.studio-preview{transition:none}}

.profile-custom .card{background:var(--profile-card);color:var(--profile-card-ink);border-radius:var(--profile-radius)}.profile-custom .card .notice,.profile-custom .card p{color:inherit}.profile-custom .textlink{color:inherit;text-decoration:underline}.profile-custom .member-portfolio h3{color:inherit}
/* Account-wide Premium and roster insights */
.plan-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-bottom:24px}.plan-grid .card{min-width:0;padding:clamp(20px,3vw,36px)}.plan-grid h2{font-size:clamp(24px,3vw,38px);line-height:1.1;overflow-wrap:anywhere}.plan-grid ul{padding-left:20px;display:grid;gap:14px;line-height:1.6}.premium-plan{border:2px solid #006ddd}.plan-storage{font-size:32px;font-weight:750}.plan-storage small{display:block;font-size:14px;font-weight:400}.plan-grid .actionrow{display:flex;flex-wrap:wrap;gap:12px}.analytics-filters{display:flex;flex-wrap:wrap;gap:16px;margin-bottom:24px}.analytics-filters label{display:grid;gap:8px;flex:1;min-width:min(220px,100%)}.analytics-filters select{max-width:100%;min-width:0;width:100%}.analytics-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.analytics-summary strong{display:block;font-size:clamp(24px,3vw,38px);overflow-wrap:anywhere}.analytics-summary span{display:block;margin-top:8px}.analytics-records{display:grid;gap:16px}.analytics-records dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.analytics-records dt{font-size:13px;opacity:.75}.analytics-records dd{margin:6px 0 0;font-weight:650;overflow-wrap:anywhere}
.hub-custom{background:var(--profile-bg);color:var(--profile-ink);font-family:var(--profile-font)}.hub-custom .main,.hub-custom .content{background:transparent;color:inherit}.hub-custom .sidebar,.hub-custom .topbar,.hub-custom .card{background:var(--profile-card);color:var(--profile-card-ink)}.hub-custom .card{border-radius:var(--profile-radius);box-shadow:var(--profile-shadow)}.hub-custom .btn.primary,.hub-custom .nav button.active{background:var(--profile-accent);color:var(--profile-button-ink);border-color:var(--profile-accent)}.hub-custom .card h2,.hub-custom .card h3,.hub-custom .card p,.hub-custom .nav button,.hub-custom .sidebar label,.hub-custom .breadcrumb{color:inherit}.hub-custom .btn:not(.primary),.hub-custom input,.hub-custom select,.hub-custom textarea{background:var(--profile-card);color:var(--profile-card-ink)}.hub-custom .textlink{color:inherit;text-decoration:underline}.hub-custom[data-pattern=dots]{background-image:radial-gradient(#8884 1px,transparent 1px);background-size:18px 18px}.hub-custom[data-pattern=grid]{background-image:linear-gradient(#8882 1px,transparent 1px),linear-gradient(90deg,#8882 1px,transparent 1px);background-size:28px 28px}.hub-custom[data-pattern=glow]{background-image:radial-gradient(ellipse at top right,color-mix(in srgb,var(--profile-accent) 20%,transparent),transparent 65%)}
@media(max-width:700px){.plan-grid{grid-template-columns:minmax(0,1fr);gap:16px}.analytics-summary{grid-template-columns:minmax(0,1fr)}.analytics-summary .card{display:flex;justify-content:space-between;align-items:center;gap:16px}.analytics-summary span{max-width:50%;margin:0}.analytics-records dl{grid-template-columns:repeat(2,minmax(0,1fr))}.plan-grid .actionrow .btn{width:100%}}
@media(max-width:360px){.analytics-records dl{grid-template-columns:minmax(0,1fr)}}

.hub-custom .grid2,.hub-custom .grid3{gap:var(--profile-gap)}.hub-custom .mediaitem img,.hub-custom .card img{border-radius:var(--profile-radius)}

.plan-price{margin:20px 0 8px;font-size:20px}.plan-price strong{font-size:48px;letter-spacing:-2px}.analytics-filters input[type=date]{min-width:0;max-width:100%;width:100%;padding:12px;border:1px solid #d8dce4;border-radius:12px;font:inherit}

/* Keep studio preview and saved profiles on the same spacing/depth rules. */
.profile-custom .portfolio-grid,.profile-custom .actor-profile-layout,.profile-custom .package-grid{gap:var(--profile-gap)}
.profile-custom .actor-profile-hero,.profile-custom .portfolio-sidebar .card,.profile-custom .package-card{padding:var(--profile-padding)}
.profile-custom .actor-profile-hero{margin-bottom:var(--profile-section-space);gap:var(--profile-gap)}
.profile-custom .portfolio-group{margin-block:var(--profile-section-space)}
.profile-custom .portfolio-caption{padding:calc(var(--profile-padding) * .65)}
.profile-custom .card,.profile-custom .portfolio-tile{box-shadow:var(--profile-shadow)}
.profile-custom{font-family:var(--profile-font)}
.profile-custom .portfolio-caption strong,.profile-custom .portfolio-group>h3{color:inherit}
.profile-custom .actor-profile-photo{height:auto}
.studio-details{border-top:1px solid #e5e5ea;border-bottom:1px solid #e5e5ea;padding:18px 0;margin:8px 0}
.studio-details>summary{cursor:pointer;font-weight:600;font-size:15px;min-height:28px}
.studio-details fieldset{margin:8px 0 0}
.studio-control input[type=color]{width:100%;height:44px;border:1px solid #d6d6dc;border-radius:10px;padding:4px;background:white}
.studio-preview .portfolio-tile,.studio-preview .card{transition:box-shadow .15s}
@media(prefers-reduced-motion:reduce){.studio-preview .portfolio-tile,.studio-preview .card{transition:none}}
/* Casting organizer: responsive lanes and quiet planning controls. */
.studio-organizer-toolbar{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:14px;align-items:end}.studio-organizer-toolbar input,.studio-organizer-toolbar select{width:100%;min-width:0}.studio-organizer-toolbar .checkfield{grid-column:1/-1;margin:0}.studio-kanban{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(270px,100%),1fr));gap:18px;align-items:start;margin-top:24px}.studio-lane{min-width:0;background:color-mix(in srgb,var(--profile-accent,#006ddd) 4%,#f6f7fa);padding:14px;border-radius:22px}.studio-lane>h2{display:flex;justify-content:space-between;gap:12px;font-size:16px;padding:4px 6px 14px;margin:0}.studio-lane>h2 span{opacity:.5}.studio-project{padding:20px;margin:0 0 14px;min-width:0}.studio-project h3{font-size:20px;overflow-wrap:anywhere}.studio-project .formfield{margin-top:14px}.studio-project select{width:100%;min-width:0}.studio-project .actionrow{gap:8px;flex-wrap:wrap}.studio-project .btn{padding:10px 13px;font-size:13px}.studio-note{white-space:pre-wrap;font-size:13px;line-height:1.6}.studio-project-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:18px;margin-top:24px}@media(max-width:700px){.studio-organizer-toolbar{grid-template-columns:1fr 1fr}.studio-organizer-toolbar>label:first-child{grid-column:1/-1}.topright [data-create-project]{white-space:normal;min-width:0}}
/* Independent typography colors and a flexible media canvas. */
.profile-custom h1,.profile-custom h2,.profile-custom h3,.profile-custom .actor-profile-identity h1,.profile-custom .portfolio-main h2,.profile-custom .portfolio-sidebar h2,.profile-custom .portfolio-sidebar h3,.profile-custom .portfolio-group>h3{color:var(--profile-title-ink)}
.profile-custom .btn,.profile-custom .pill,.profile-custom .actor-profile-hero .btn,.profile-custom .portfolio-sidebar .btn{color:var(--profile-secondary-button-ink)}
.profile-custom .btn.primary,.profile-custom .actor-profile-hero .primary,.profile-custom .actor-profile-hero .blue{color:var(--profile-button-ink)}
.profile-custom[data-media-size] .portfolio-grid{grid-template-columns:repeat(auto-fit,minmax(min(var(--profile-media-min),100%),1fr))!important}
.profile-custom[data-media-size] .portfolio-media,.profile-custom[data-media-size] .portfolio-public-image,.profile-custom[data-media-size] .portfolio-public-video,.profile-custom[data-media-size] .style-sample-art{aspect-ratio:var(--profile-media-ratio)}
.profile-custom[data-media-size] .portfolio-media img,.profile-custom[data-media-size] .portfolio-public-image,.profile-custom[data-media-size] .portfolio-public-video{object-fit:var(--profile-media-fit)}
.profile-custom[data-media-shape=natural] .portfolio-media img,.profile-custom[data-media-shape=natural] .portfolio-public-image,.profile-custom[data-media-shape=natural] .portfolio-public-video{height:auto}
.profile-custom[data-layout=story]>.actor-profile-layout,.profile-custom[data-layout=gallery]>.actor-profile-layout{display:flex;flex-direction:column}
.profile-custom[data-layout=story]>.actor-profile-layout>.portfolio-sidebar{order:-1}
.profile-custom[data-layout=story]>.actor-profile-layout>*,.profile-custom[data-layout=gallery]>.actor-profile-layout>*{width:100%}
.style-color-grid .textlink{font-size:12px;text-align:left;min-height:32px}
/* Tablet studio: prevent a narrow Gallery preview from crushing its About column. */
.studio-preview{container-type:inline-size}.studio-preview .actor-profile-identity{min-width:0;flex:1 1 180px}.studio-preview .actor-profile-layout{grid-template-columns:minmax(0,1fr)}.studio-preview .portfolio-sidebar{display:block}.studio-preview .portfolio-sidebar .card{min-width:0}.style-studio .studio-control input:not([type=range]):not([type=color]),.style-studio select{width:100%;min-width:0;box-sizing:border-box;min-height:44px}.saved-style-list{display:flex;gap:8px;flex-wrap:wrap}.saved-style-list .btn{white-space:normal;overflow-wrap:anywhere;max-width:100%}.style-studio .studio-details .btn{margin-top:14px}
@media(min-width:761px) and (max-width:1180px){.style-studio{grid-template-columns:minmax(0,1fr)}.studio-preview-column{position:static;grid-row:1}.studio-preview{max-height:440px;overflow:auto}.style-studio .studio-save{position:sticky;bottom:0;background:#fff;padding:12px 0;z-index:3}}
@container (max-width:440px){.studio-preview .actor-profile-hero{padding:18px;gap:16px}.studio-preview .portfolio-sidebar .card{padding:18px}.studio-preview .actor-profile-identity h1{font-size:26px}.studio-preview .portfolio-grid{gap:16px}}
@media(max-width:1180px){.profile-custom[data-layout=balanced]>.actor-profile-layout{grid-template-columns:minmax(0,1fr)}.profile-custom[data-layout=balanced] .portfolio-sidebar{display:block}.profile-custom .actor-profile-identity{min-width:0}.profile-custom .actor-profile-hero{flex-wrap:wrap}}

.studio-preview .actor-profile-photo{flex-shrink:0;white-space:nowrap}
.style-studio #saved-style-name,.style-studio #saved-style-slot{padding:12px;border:1px solid #d9dde5;border-radius:12px;background:#fff;color:#202126}

/* One button palette across the complete profile, including media actions. */
.profile-custom .btn,.profile-custom .pill,.profile-custom .actor-profile-hero .btn,.profile-custom .actor-profile-hero .pill,.profile-custom .portfolio-sidebar .btn,.profile-custom .btn.primary,.profile-custom .actor-profile-hero .primary,.profile-custom .actor-profile-hero .blue{background:var(--profile-accent);color:var(--profile-button-ink);border-color:transparent;font-family:var(--profile-font)}
.profile-custom .textlink,.profile-custom .portfolio-jumplinks a{color:var(--profile-ink);text-decoration-color:var(--profile-accent)}
.profile-custom .btn:hover{filter:brightness(.94)}
.media-editor-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:24px 0}.media-editor-toolbar>span{font-size:13px;color:#737783}.media-editor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr));gap:18px}.media-editor-grid .portfolio-editor-row{padding:0;margin:0;overflow:hidden;background:white;border:1px solid #e5e7ed;border-radius:24px;display:block}.media-editor-preview{position:relative;aspect-ratio:4/3;background:#f0f2f6;display:grid;place-items:center}.media-editor-preview img{width:100%;height:100%;object-fit:contain}.media-position{position:absolute;top:12px;left:12px;background:#ffffffed;border-radius:100px;padding:6px 10px;font-size:12px}.media-editor-symbol{font-size:32px;color:#8a93a5}.media-editor-fields{padding:18px;display:grid;gap:14px}.media-editor-fields>label{display:grid;gap:6px;font-size:12px}.media-editor-fields .checkfield{display:flex}.media-reorder{display:flex;align-items:center;gap:8px}.media-reorder .btn{min-width:44px;min-height:44px}.media-reorder .textlink{margin-left:auto}.media-library-picker{margin:28px 0}.media-library-picker summary{font-weight:600;cursor:pointer;padding:12px 0}.media-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:12px}.media-library-choice{border:1px solid #e0e4ec;border-radius:18px;padding:0;background:#f7f8fa;overflow:hidden;text-align:left;cursor:pointer}.media-library-choice img,.media-library-choice>.media-editor-symbol{width:100%;height:110px;object-fit:cover;display:grid;place-items:center}.media-library-choice>span:last-child{display:block;padding:12px;font-size:12px;overflow-wrap:anywhere}.media-library-choice:hover{border-color:#006ddd}.media-library-choice:focus-visible{outline:3px solid #006ddd;outline-offset:3px}#portfolioeditor .studio-save{position:sticky;bottom:0;background:#fff;padding:16px 0;margin-top:20px;display:flex;justify-content:flex-end;gap:12px}#portfolioeditor input,#portfolioeditor select{font:inherit}#portfolioeditor #uploadprogress{background:#f5f7fb;padding:20px;border-radius:20px;margin-bottom:20px}@media(max-width:540px){.media-editor-grid{grid-template-columns:minmax(0,1fr)}.media-editor-toolbar{flex-wrap:wrap}}

.profile-customization-panel{margin:24px;padding:clamp(18px,3vw,36px);background:#fff;color:#202126;border:1px solid #e2e5eb;border-radius:26px;box-shadow:0 10px 40px #1822390a}.profile-customization-panel>p{color:#717782;line-height:1.6}.profile-customization-panel #styleform{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(280px,100%),1fr));gap:24px}.profile-customization-panel fieldset{min-width:0;border:0;padding:0}.profile-customization-panel .studio-save{grid-column:1/-1;display:flex;gap:12px}.profile-customization-panel .studio-control{display:grid;gap:8px;margin:12px 0}.profile-customization-panel select,.profile-customization-panel input:not([type=color]):not([type=range]){width:100%;min-height:44px;border:1px solid #d9dde5;border-radius:12px;padding:10px}.inline-media-style{margin:16px 0 28px;padding:18px;border:1px solid color-mix(in srgb,var(--profile-ink) 18%,transparent);border-radius:var(--profile-radius)}.inline-media-style summary{cursor:pointer;font-weight:600}.inline-media-style-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:16px;margin-top:20px;align-items:end}.inline-media-style-form label{display:grid;gap:8px;font-size:13px}.inline-media-style-form select{width:100%;min-width:0;padding:12px;border-radius:12px;border:1px solid #d9dde5;background:var(--profile-card);color:var(--profile-card-ink)}

/* Editing is a neutral workspace, never a custom profile canvas. */
.profile-details-editor{background:#f7f8fa!important;color:#20242c!important;font-family:system-ui,sans-serif!important}.profile-editor-layout{display:grid;grid-template-columns:minmax(0,2fr) minmax(260px,1fr);gap:28px;max-width:1120px;margin:auto;align-items:start}.profile-details-editor .card{background:#fff;color:#20242c;border:1px solid #e2e5eb;border-radius:24px;padding:clamp(20px,3vw,36px);box-shadow:none}.profile-details-editor h1,.profile-details-editor h2,.profile-details-editor h3,.profile-details-editor label,.profile-details-editor summary{color:#20242c}.profile-details-editor .notice{color:#596170;line-height:1.65}.profile-details-editor input,.profile-details-editor select,.profile-details-editor textarea{background:#fff;color:#20242c;border:1px solid #cbd1dc;border-radius:12px;font:inherit;font-size:16px;padding:12px;max-width:100%;box-sizing:border-box}.profile-editor-section{border:0;border-top:1px solid #e7e9ee;padding:24px 0;margin:12px 0}.profile-editor-section summary,.profile-editor-aside summary{cursor:pointer;font-weight:650;font-size:17px}.profile-details-editor .btn{background:#fff;color:#20242c;border:1px solid #d7dce5}.profile-details-editor .btn.primary{background:#006ddd;color:#fff;border-color:#006ddd}.profile-editor-aside{display:grid;gap:18px}.profile-editor-aside .card{margin:0}.editor-saved-link{display:grid;gap:6px;padding:14px 0;border-bottom:1px solid #e7e9ee;color:#0064ce;text-decoration:none}.editor-saved-link span{font-size:13px;overflow-wrap:anywhere;color:#596170}.profile-details-editor .skills-picker{border:0;padding:16px 0;background:none}.profile-details-editor .skills-picker>h3{display:none}.profile-details-editor #profileform>.widebtn{margin-top:24px;min-height:48px}@media(max-width:850px){.profile-editor-layout{grid-template-columns:minmax(0,1fr)}.profile-editor-aside{grid-row:1}.profile-editor-aside>details,.profile-editor-aside>section:last-child{display:none}}

.editing-media>.portfolio-group,.editing-media>.portfolio-empty,.editing-media>.notice{display:none}.profile-media-canvas{margin:20px 0;padding:clamp(16px,3vw,28px);background:#fff;color:#222735;border:1px solid #e2e6ee;border-radius:28px}.profile-media-canvas .notice,.profile-media-canvas label,.profile-media-canvas legend{color:#525d70}.profile-media-canvas input{color:#222735!important;background:#fff!important}.profile-media-canvas .btn{background:#f5f6f9!important;color:#222735!important;border:1px solid #e0e4eb!important}.profile-media-canvas .btn.primary{background:#006ddd!important;color:#fff!important}.media-drag-handle{position:absolute;right:10px;top:10px;border:0;border-radius:14px;background:#fffffff0;color:#273344;width:44px;height:44px;font-size:28px;cursor:grab;touch-action:none;user-select:none}.media-drag-handle:active{cursor:grabbing}.media-editor-grid .is-dragging{outline:3px solid #006ddd;box-shadow:0 15px 40px #006ddd30;opacity:.8}.gallery-visual-toolbar{display:flex;flex-wrap:wrap;gap:24px;margin:20px 0 28px}.gallery-visual-toolbar fieldset,.media-category-chips{border:0;padding:0;margin:0;min-width:0}.gallery-visual-toolbar legend,.media-category-chips legend{font-size:12px;margin-bottom:9px}.gallery-visual-toolbar fieldset>div{display:flex;gap:6px;flex-wrap:wrap}.gallery-option,.media-category-chips label span{border:1px solid #e1e5ed;background:#f7f8fa;color:#303a49;border-radius:12px;padding:10px 14px;min-height:44px;cursor:pointer}.gallery-option[aria-pressed=true],.media-category-chips input:checked+span{background:#e8f1ff;border-color:#006ddd;color:#004eab}.media-category-chips label{display:inline-flex;margin:0 5px 5px 0}.media-category-chips input{position:absolute;opacity:0;width:1px}.media-category-chips input:focus-visible+span,.gallery-option:focus-visible,.media-drag-handle:focus-visible{outline:3px solid #006ddd;outline-offset:3px}.profile-media-canvas .textlink{color:#0064ce!important}.profile-media-canvas .media-editor-preview img{pointer-events:none;user-select:none}

.profile-media-section{margin:28px 0 40px}.profile-media-section .portfolio-section-heading{align-items:center;gap:14px;flex-wrap:wrap}.profile-media-section h3{margin:0;font-size:23px}.profile-media-empty{padding:38px 20px;text-align:center;background:var(--profile-card,#fff);border:1px dashed color-mix(in srgb,var(--profile-ink,#20242c) 20%,transparent);border-radius:var(--profile-radius,24px);color:var(--profile-card-ink,#20242c)}.profile-media-empty>span{font-size:32px}.profile-media-empty p{margin:12px 0 6px}.profile-picker-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(170px,100%),1fr));gap:16px;margin:24px 0}.profile-picker-card{position:relative;display:flex;flex-direction:column;gap:8px;border:2px solid #e5e8ee;border-radius:20px;padding:10px;background:#fff;color:#20242c;cursor:pointer;min-width:0}.profile-picker-card:has(input:checked){border-color:#006ddd;background:#f1f6ff}.profile-picker-card input{position:absolute;opacity:0;width:1px;height:1px}.profile-picker-card:has(input:focus-visible){outline:3px solid #006ddd;outline-offset:3px}.profile-picker-thumb{position:relative;display:grid;place-items:center;aspect-ratio:4/5;background:#eef1f6;border-radius:12px;overflow:hidden}.profile-picker-thumb img{width:100%;height:100%;object-fit:cover}.profile-picker-play{font-size:44px;color:#657389}.profile-picker-check{position:absolute;right:10px;top:10px;background:#006ddd;color:white;border-radius:50%;width:26px;height:26px;display:none;place-items:center}.profile-picker-card input:checked+.profile-picker-thumb .profile-picker-check{display:grid}.profile-picker-card strong{font-size:14px;overflow-wrap:anywhere;padding:0 4px}.profile-picker-card small{color:#657082;padding:0 4px 6px}
