/* Arts Exchange v1.9.172 — ARTSX Studio Components
   Obra/shadcn-informed component anatomy, re-skinned for Arts Exchange.
   This is the single owner of Studio/operational interactive primitives. It must not
   redefine the established Arts Exchange grid, logo geometry or public site. */

:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]){
  --artx-control-h:40px;
  --artx-control-h-sm:34px;
  --artx-control-radius:7px;
  --artx-menu-radius:9px;
  --artx-check-radius:4px;
  --artx-component-line:#c9cfca;
  --artx-component-line-hover:#9ea7a0;
  --artx-component-bg:#fff;
  --artx-component-muted:#f5f6f4;
  --artx-component-ink:#171917;
  --artx-component-subtle:#697069;
  --artx-ring:rgba(64,93,130,.18);
  --artx-ring-strong:rgba(64,93,130,.34);
  --artx-selection:var(--studio-sky-ink,#405d82);
  --artx-selection-bg:var(--studio-sky-bg,#f0f4fa);
  --artx-positive:var(--studio-mint-ink,#2f6146);
  --artx-positive-bg:var(--studio-mint-bg,#eef6f1);
  --artx-warning:var(--studio-ochre-ink,#6f531b);
  --artx-warning-bg:var(--studio-ochre-bg,#f8f2e5);
  --artx-danger:var(--studio-danger-ink,#77211e);
  --artx-danger-bg:var(--studio-danger-bg,#fbeaea);
}

/* --------------------------------------------------------------------------
   Icon language — Lucide-like stroke discipline, Arts Exchange signal colour.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .ui-icon{
  width:16px;
  height:16px;
  stroke-width:1.8;
  flex:0 0 auto;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav a,
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-utility-nav :is(a,button){
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-nav-icon{
  width:26px;
  height:26px;
  display:grid;
  place-items:center;
  flex:0 0 26px;
  border:1px solid transparent;
  border-radius:6px;
  color:#737b74;
  transition:background .16s ease,border-color .16s ease,color .16s ease;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-nav-icon .ui-icon{width:15px;height:15px}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav a:hover .studio-nav-icon,
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-utility-nav :is(a,button):hover .studio-nav-icon{
  background:#fff;
  border-color:var(--artx-component-line);
  color:var(--artx-component-ink);
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav a.active .studio-nav-icon{
  background:rgba(255,255,255,.66);
  border-color:rgba(22,24,22,.09);
  color:currentColor;
}

/* --------------------------------------------------------------------------
   Buttons and icon controls — kit-like anatomy without generic SaaS chrome.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button{
  min-height:var(--artx-control-h)!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:0 14px!important;
  border-radius:var(--artx-control-radius)!important;
  border-width:1px!important;
  font-size:11px!important;
  font-weight:650!important;
  letter-spacing:-.005em!important;
  transition:background .16s ease,border-color .16s ease,color .16s ease,box-shadow .16s ease,transform .16s ease!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button:focus-visible{
  outline:none!important;
  box-shadow:0 0 0 3px var(--artx-ring)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.dark{
  background:#171917!important;
  border-color:#171917!important;
  color:#fff!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.dark:hover{background:#292d29!important;border-color:#292d29!important;transform:translateY(-1px)}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.ghost{
  background:rgba(255,255,255,.72)!important;
  border-color:var(--artx-component-line)!important;
  color:var(--artx-component-ink)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.ghost:hover{background:#fff!important;border-color:var(--artx-component-line-hover)!important}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.danger{
  background:var(--artx-danger)!important;
  border-color:var(--artx-danger)!important;
  color:#fff!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.danger:hover{
  background:#5f1515!important;
  border-color:#5f1515!important;
  transform:translateY(-1px);
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.positive{
  background:var(--artx-positive)!important;
  border-color:var(--artx-positive)!important;
  color:#fff!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.positive:hover{
  background:#28543d!important;
  border-color:#28543d!important;
  transform:translateY(-1px);
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.positive-soft{
  background:var(--artx-positive-bg)!important;
  border-color:color-mix(in srgb,var(--artx-positive) 34%,#fff)!important;
  color:var(--artx-positive)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.positive-soft:hover{
  background:color-mix(in srgb,var(--artx-positive-bg) 76%,var(--artx-positive) 24%)!important;
  border-color:color-mix(in srgb,var(--artx-positive) 52%,#fff)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.warning-soft{
  background:var(--artx-warning-bg)!important;
  border-color:color-mix(in srgb,var(--artx-warning) 34%,#fff)!important;
  color:var(--artx-warning)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.warning-soft:hover{
  background:color-mix(in srgb,var(--artx-warning-bg) 76%,var(--artx-warning) 24%)!important;
  border-color:color-mix(in srgb,var(--artx-warning) 52%,#fff)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.danger-soft{
  background:var(--artx-danger-bg)!important;
  border-color:color-mix(in srgb,var(--artx-danger) 34%,#fff)!important;
  color:var(--artx-danger)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .button.danger-soft:hover{
  background:color-mix(in srgb,var(--artx-danger-bg) 76%,var(--artx-danger) 24%)!important;
  border-color:color-mix(in srgb,var(--artx-danger) 52%,#fff)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .compact-button{
  min-height:var(--artx-control-h-sm)!important;
  padding:0 11px!important;
  border-radius:6px!important;
  font-size:var(--artx-compact-font-size,10px)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(button,a).button:disabled,
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) button:disabled{
  cursor:not-allowed!important;
}

/* --------------------------------------------------------------------------
   Fields + selects — one canonical Studio control primitive.
   Use background-color rather than background shorthand so select affordances
   cannot be erased by later field styling.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select){
  width:100%;
  min-height:var(--artx-control-h)!important;
  padding:10px 12px!important;
  border:1px solid var(--artx-component-line)!important;
  border-radius:var(--artx-control-radius)!important;
  background-color:var(--artx-component-bg)!important;
  color:var(--artx-component-ink)!important;
  box-shadow:0 1px 0 rgba(18,24,19,.02)!important;
  font-family:inherit!important;
  font-size:12px!important;
  font-weight:600!important;
  line-height:1.2!important;
  transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select):hover{
  border-color:var(--artx-component-line-hover)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),textarea,select):focus{
  outline:none!important;
  border-color:var(--studio-sky-line,#668dbb)!important;
  box-shadow:0 0 0 3px var(--artx-ring)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(input,textarea)::placeholder{
  color:#9ba19c!important;
  opacity:1;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) textarea{
  padding:11px 12px!important;
  line-height:1.5!important;
  resize:vertical;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) select{
  /* One explicit Studio chevron gives every browser the same affordance and inset. */
  -webkit-appearance:none!important;
  appearance:none!important;
  padding-right:36px!important;
  background-color:var(--artx-component-bg)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23252a26' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 12px center!important;
  background-size:16px 16px!important;
  cursor:pointer!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) select:disabled{
  background-color:var(--artx-component-muted)!important;
  color:#929892!important;
  cursor:not-allowed!important;
}

/* --------------------------------------------------------------------------
   Checkbox + radio — custom native controls, no JS replacement required.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) input[type="checkbox"]:not([data-email-preference]),
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) input[type="radio"]{
  -webkit-appearance:none!important;
  appearance:none!important;
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  min-height:17px!important;
  margin:0!important;
  padding:0!important;
  display:inline-grid!important;
  place-content:center!important;
  border:1px solid #aab2ab!important;
  background:#fff!important;
  box-shadow:0 1px 0 rgba(18,24,19,.025)!important;
  cursor:pointer!important;
  transition:border-color .14s ease,background .14s ease,box-shadow .14s ease!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) input[type="checkbox"]:not([data-email-preference]){
  border-radius:var(--artx-check-radius)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) input[type="checkbox"]:not([data-email-preference]):checked{
  border-color:var(--artx-selection)!important;
  background-color:var(--artx-selection)!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='13' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 4 4L19 6'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:center!important;
  background-size:12px 12px!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) input[type="checkbox"]:not([data-email-preference]):indeterminate{
  border-color:var(--artx-selection)!important;
  background:var(--artx-selection)!important;
  box-shadow:inset 0 0 0 5px var(--artx-selection)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) input[type="radio"]{border-radius:50%!important}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) input[type="radio"]:checked{
  border-color:var(--artx-selection)!important;
  box-shadow:inset 0 0 0 4px #fff!important;
  background:var(--artx-selection)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(input[type="checkbox"],input[type="radio"]):focus-visible{
  outline:none!important;
  box-shadow:0 0 0 3px var(--artx-ring)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(input[type="checkbox"],input[type="radio"]):disabled{
  opacity:.45!important;
  cursor:not-allowed!important;
}

/* Choice cards: the control is visible, the whole surface carries the selection. */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.availability-options .choice,.visibility-options .choice,.group-screen-choice){
  border:1px solid var(--artx-component-line)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.82)!important;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.availability-options .choice,.visibility-options .choice,.group-screen-choice):hover{
  border-color:var(--artx-component-line-hover)!important;
  background:#fff!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.availability-options .choice,.visibility-options .choice,.group-screen-choice):has(input:checked){
  border-color:var(--studio-sky-line,#668dbb)!important;
  background:var(--artx-selection-bg)!important;
  box-shadow:inset 3px 0 0 var(--studio-sky-line,#668dbb)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.availability-options .choice,.visibility-options .choice) input{
  width:17px!important;
  height:17px!important;
  min-width:17px!important;
  min-height:17px!important;
}

/* --------------------------------------------------------------------------
   Switch — familiar track/thumb interaction, branded active state.
   -------------------------------------------------------------------------- */
body[data-route="studio"] .preference-switch{
  display:grid!important;
  grid-template-columns:38px auto!important;
  gap:9px!important;
  align-items:center!important;
  cursor:pointer!important;
  user-select:none!important;
}
body[data-route="studio"] .preference-switch input{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  min-width:0!important;
  min-height:0!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
  border:0!important;
}
body[data-route="studio"] .preference-switch>span{
  position:relative!important;
  display:block!important;
  width:38px!important;
  height:22px!important;
  border:1px solid #b8c0b9!important;
  border-radius:999px!important;
  background:#e4e7e4!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.45)!important;
  transition:background .15s ease,border-color .15s ease,box-shadow .15s ease!important;
}
body[data-route="studio"] .preference-switch>span::after{
  content:""!important;
  position:absolute!important;
  width:16px!important;
  height:16px!important;
  top:2px!important;
  left:2px!important;
  border:0!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 1px 3px rgba(20,24,21,.22)!important;
  transition:transform .16s ease!important;
}
body[data-route="studio"] .preference-switch input:checked+span{
  border-color:var(--studio-mint-line,#5f9273)!important;
  background:var(--studio-mint-line,#5f9273)!important;
}
body[data-route="studio"] .preference-switch input:checked+span::after{transform:translateX(16px)!important}
body[data-route="studio"] .preference-switch input:focus-visible+span{box-shadow:0 0 0 3px rgba(95,146,115,.18)!important}
body[data-route="studio"] .preference-switch input:disabled+span{opacity:.55!important;cursor:wait!important}
body[data-route="studio"] .preference-switch em{font-size:10px!important;font-style:normal!important;color:#7d847e!important}
body[data-route="studio"] .preference-switch input:checked~em{color:var(--studio-mint-ink,#2f6146)!important}

/* --------------------------------------------------------------------------
   Status labels — one semantic system, no generic signal dots.
   Icons are supplied explicitly only when they carry meaning.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .status{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  min-height:24px!important;
  padding:4px 8px!important;
  border:1px solid color-mix(in srgb,var(--studio-neutral-line,#7b878c) 24%,#fff)!important;
  border-radius:5px!important;
  font-size:9px!important;
  font-weight:650!important;
  line-height:1!important;
  letter-spacing:.005em!important;
  text-transform:none!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .status::before{
  content:none!important;
  display:none!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.status.neutral,.status.draft,.status.archived){
  background:var(--studio-neutral-bg,#f2f4f4)!important;
  border-color:color-mix(in srgb,var(--studio-neutral-line,#7b878c) 32%,#fff)!important;
  color:var(--studio-neutral-ink,#30393d)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.status.accepted,.status.published){
  background:var(--studio-mint-bg,#eaf5ef)!important;
  border-color:color-mix(in srgb,var(--studio-mint-line,#5f9273) 46%,#fff)!important;
  color:var(--studio-mint-ink,#24513a)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.status.pending,.status.counter,.status.attention){
  background:var(--studio-ochre-bg,#faf4e7)!important;
  border-color:color-mix(in srgb,var(--studio-ochre-line,#ad8440) 44%,#fff)!important;
  color:var(--studio-ochre-ink,#6b4c16)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .status.processing{
  background:var(--studio-sky-bg,#eef4fc)!important;
  border-color:color-mix(in srgb,var(--studio-sky-line,#668dbb) 42%,#fff)!important;
  color:var(--studio-sky-ink,#315b89)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.status.declined,.status.scope-warning){
  background:var(--studio-danger-bg,#fbeaea)!important;
  border-color:color-mix(in srgb,var(--studio-danger-line,#d47b77) 52%,#fff)!important;
  color:var(--studio-danger-ink,#77211e)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.new-badge,.record-layer-badge,.display-group-tag,.preference-required,.task-tone){
  border-radius:999px!important;
}

/* --------------------------------------------------------------------------
   Menus / details — compact shadcn-like menu mechanics, Arts Exchange surface.
   -------------------------------------------------------------------------- */
body[data-route="studio"] .work-card-menu summary{
  width:34px!important;
  height:34px!important;
  border-radius:6px!important;
  border:1px solid var(--artx-component-line)!important;
  background:#fff!important;
  color:#59615a!important;
}
body[data-route="studio"] .work-card-menu summary:hover{border-color:var(--artx-component-line-hover)!important;color:#171917!important;background:#f8f9f7!important}
body[data-route="studio"] .work-card-menu[open] summary{background:#171917!important;border-color:#171917!important;color:#fff!important}
body[data-route="studio"] .work-card-menu>div{
  min-width:205px!important;
  padding:5px!important;
  border:1px solid var(--artx-component-line)!important;
  border-radius:var(--artx-menu-radius)!important;
  background:#fff!important;
  box-shadow:0 16px 40px rgba(18,24,19,.13)!important;
}
body[data-route="studio"] :is(.work-card-menu a,.work-card-menu button){
  min-height:34px!important;
  padding:7px 9px!important;
  border-radius:6px!important;
  color:#303530!important;
  font-size:10px!important;
}
body[data-route="studio"] :is(.work-card-menu a,.work-card-menu button):hover{background:var(--studio-sky-bg,#f0f4fa)!important;color:var(--studio-sky-ink,#405d82)!important}

:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) details:not(.mobile-menu)>summary{
  outline:none;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) details:not(.work-card-menu):not(.mobile-menu)>summary:focus-visible{
  box-shadow:0 0 0 3px var(--artx-ring)!important;
}

/* --------------------------------------------------------------------------
   Notices / empty states — quieter than cards, recognisable operational states.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .notice{
  border-radius:7px!important;
  border-color:var(--artx-component-line)!important;
  background:#f8f9f7!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .notice.success{border-color:var(--studio-mint-line,#5f9273)!important;background:var(--studio-mint-bg,#eef6f1)!important}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .notice.error{border-color:color-mix(in srgb,var(--studio-danger-line,#d47b77) 58%,#fff)!important;background:var(--artx-danger-bg)!important;color:var(--artx-danger)!important}
:is(body[data-route="studio"],body[data-route="portable"]) .wallet-action-notice{margin:12px 0 0!important;padding:11px 12px!important;font-size:12px!important;line-height:1.45!important}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .empty{
  border:1px dashed #cbd1cb!important;
  border-radius:9px!important;
  background:rgba(255,255,255,.58)!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .empty-icon{
  width:38px!important;
  height:38px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid var(--artx-component-line)!important;
  border-radius:8px!important;
  margin:0 auto 10px!important;
  background:var(--artx-component-muted,#f4f5f2)!important;
  color:var(--artx-component-subtle,#69706b)!important;
}

/* --------------------------------------------------------------------------
   Form utility rhythm: labels/help are compact and consistent.
   Ordinary field labels share one six-pixel label/control datum across Studio,
   Work, Portable Records, Requests and the Exhibition Builder.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) label:not(.choice):not(.profile-upload):not(.studio-profile-upload):not(.studio-profile-choice):not(.preference-switch):not(.group-screen-choice){
  color:#252925!important;
  font-size:10.5px!important;
  font-weight:650!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) label:not(.choice):not(.profile-upload):not(.studio-profile-upload):not(.studio-profile-choice):not(.preference-switch):not(.group-screen-choice):has(>input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),>select,>textarea,>.studio-url-field){
  display:grid;
  row-gap:6px!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) :is(.field-help,label small){
  color:#7b827c!important;
  font-size:9.5px!important;
  line-height:1.45!important;
}

/* --------------------------------------------------------------------------
   Responsive component behaviour only; shell geometry remains in brand-system.
   -------------------------------------------------------------------------- */
@media(max-width:760px){
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav a,
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-utility-nav :is(a,button){gap:7px!important}
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-nav-icon{width:24px;height:24px;flex-basis:24px}
}

/* --------------------------------------------------------------------------
   v1.9.79 — Studio rail identity + canonical icon alignment.
   The rail geometry stays owned by brand-system.css. These rules only let the
   interactive rows use the right-side gutter and align the icon column to the
   exact public-logo grid line.
   -------------------------------------------------------------------------- */
@media(min-width:821px){
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-rail-content .studio-brand b{
    margin-top:8px!important;
    font-size:19px!important;
    line-height:1.12!important;
    font-weight:660!important;
    letter-spacing:-.03em!important;
  }

  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav,
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-utility-nav{
    overflow:visible!important;
  }

  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-shell>aside .studio-primary-nav a{
    width:calc(174px + var(--page-x) + 8px)!important;
    min-height:44px!important;
    margin-left:-8px!important;
    padding:10px 16px 10px 8px!important;
    border:0!important;
    border-radius:7px 0 0 7px!important;
    gap:12px!important;
    box-shadow:none!important;
    position:relative;
  }
  /* Icon box begins exactly on the public logo x-line. The tab itself extends
     8px to the left, giving the selected/hovered state a little more presence. */
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-nav-icon{
    width:18px!important;
    height:18px!important;
    flex:0 0 18px!important;
    display:grid!important;
    place-items:center!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
    color:currentColor!important;
  }
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-nav-icon .ui-icon{
    width:18px!important;
    height:18px!important;
    stroke-width:1.8!important;
  }
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav a:hover .studio-nav-icon,
  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav a.active .studio-nav-icon{
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  :is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-rail-content .studio-utility-nav :is(a,button){
    width:calc(174px + var(--page-x) + 8px)!important;
    margin-left:-8px!important;
    padding-left:8px!important;
    padding-right:16px!important;
    border-radius:7px 0 0 7px!important;
    gap:12px!important;
    justify-content:flex-start!important;
  }
}


/* --------------------------------------------------------------------------
   v1.9.80 — canonical Studio icon set + quieter selection treatment.
   Selected navigation is communicated by the existing route tint alone; there
   is no second coloured line or icon-specific accent competing with it.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav a.active .studio-nav-icon{
  box-shadow:none!important;
}


/* --------------------------------------------------------------------------
   v1.9.85 — stable page-action anchor.
   Primary page actions align to the top of the eyebrow rather than the title
   baseline, so their position stays fixed as Studio headings change length.
   The established 8/4 title grid and all shell geometry remain untouched.
   -------------------------------------------------------------------------- */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-title > :is(.button,a.button,button.button,.dashboard-title-actions){
  align-self:start!important;
  margin-top:0!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-title > .dashboard-title-actions{
  padding-top:0!important;
}


/* Arts Exchange v1.9.88 — single-open work-card action menus. */
body[data-route="studio"] :is(.studio-work-card,.portable-record-card){overflow:visible!important}
body[data-route="studio"] :is(.studio-work-card,.portable-record-card):has(.work-card-menu[open]){position:relative;z-index:30}
body[data-route="studio"] .work-card-menu{z-index:31}
body[data-route="studio"] .work-card-menu>div{z-index:32!important}

/* Arts Exchange v1.9.90 — Works card repair + restrained balance.
   Cards keep their natural content height. Status is communicated by badges,
   while the card surface stays neutral and hover feedback remains subtle. */
body[data-route="studio"] .studio-work-grid{
  align-items:start;
}

body[data-route="studio"] .studio-work-card,
body[data-route="studio"] .studio-work-card:has(.status.published),
body[data-route="studio"] .studio-work-card:has(.status.draft),
body[data-route="studio"] .studio-work-card:has(.status.archived){
  display:block;
  min-height:0;
  border:1px solid var(--artx-component-line,#d9dcda)!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}

body[data-route="studio"] .studio-work-card:hover,
body[data-route="studio"] .studio-work-card:has(.status.published):hover,
body[data-route="studio"] .studio-work-card:has(.status.draft):hover,
body[data-route="studio"] .studio-work-card:has(.status.archived):hover{
  border-color:var(--artx-component-line-hover,#b9bfbc)!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(17,20,18,.045)!important;
  transform:none!important;
}

body[data-route="studio"] .studio-work-card-media{
  border-bottom:1px solid var(--artx-component-line,#d9dcda);
}

body[data-route="studio"] .studio-work-card-body{
  min-height:0;
  display:block;
  padding:18px 20px 17px!important;
}

body[data-route="studio"] .studio-work-card-body>header{
  min-height:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:10px;
}
body[data-route="studio"] .studio-work-card-body>header>div{
  display:flex;
  align-items:center;
  gap:10px;
}
body[data-route="studio"] .studio-work-card-body>header small{
  font-size:11px;
  line-height:1;
}

body[data-route="studio"] .studio-work-card h3{
  margin:16px 0 5px!important;
  font-size:22px!important;
  line-height:1.08!important;
}
body[data-route="studio"] .studio-work-card-body>p{
  margin:0!important;
  font-size:11px!important;
  line-height:1.45!important;
}

/* Readiness + record state are a single secondary-information band. */
body[data-route="studio"] .work-card-indicators{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  margin-top:15px;
}
body[data-route="studio"] .work-card-indicators .display-file-status,
body[data-route="studio"] .work-card-indicators .record-layer-badges{
  margin:0!important;
}
body[data-route="studio"] .work-card-indicators .record-layer-badges{
  display:contents;
}
body[data-route="studio"] .work-card-indicators :is(.display-file-status,.record-layer-badge){
  min-height:28px;
  padding:6px 9px;
  border-radius:999px;
  font-size:9.5px;
  font-weight:650;
  line-height:1;
}
body[data-route="studio"] .work-card-indicators :is(.display-file-status,.record-layer-badge) .ui-icon{
  width:13px;
  height:13px;
}

/* Actions follow the content instead of forcing every card to a shared height. */
body[data-route="studio"] .studio-work-card footer{
  width:100%;
  min-height:0;
  display:flex;
  align-items:center;
  gap:8px;
  margin-top:18px;
  padding-top:15px;
  border-top:1px solid var(--artx-component-line,#d9dcda);
}
body[data-route="studio"] .studio-work-card footer>.button{
  min-height:40px!important;
}
body[data-route="studio"] .studio-work-card footer>.button.dark{
  min-width:104px;
  justify-content:center;
}
body[data-route="studio"] .studio-work-card footer>.button.ghost{
  min-width:82px;
  justify-content:center;
}
body[data-route="studio"] .studio-work-card footer .work-card-menu{
  margin-left:auto;
}

@media(max-width:620px){
  body[data-route="studio"] .studio-work-card-body{padding:16px!important}
  body[data-route="studio"] .work-card-indicators{margin-top:14px}
  body[data-route="studio"] .studio-work-card footer>.button.dark,
  body[data-route="studio"] .studio-work-card footer>.button.ghost{min-width:0}
}

/* Arts Exchange v1.9.93 — Works card action component.
   The action row has its own class so legacy/global footer rules cannot size it.
   Screen and Edit divide all available width equally; More remains a 42px square. */
body[data-route="studio"] .studio-work-grid{
  gap:16px!important;
}
body[data-route="studio"] .studio-work-card-body{
  padding:18px 20px 18px!important;
}
body[data-route="studio"] .studio-work-card-body>header{
  min-height:28px;
}
body[data-route="studio"] .studio-work-card-body>header>div{
  gap:9px;
}
body[data-route="studio"] .studio-work-card h3{
  margin:14px 0 5px!important;
}
body[data-route="studio"] .work-card-indicators{
  min-height:30px;
  gap:6px;
  margin-top:14px;
}

body[data-route="studio"] .studio-work-card .work-card-actions{
  box-sizing:border-box;
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,3fr) minmax(0,3fr) 42px!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  gap:8px!important;
  margin:17px 0 0!important;
  padding:16px 0 0!important;
  border-top:1px solid var(--artx-component-line,#d9dcda)!important;
}
body[data-route="studio"] .studio-work-card .work-card-actions>.button{
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  justify-self:stretch!important;
  gap:8px!important;
  white-space:nowrap!important;
}
body[data-route="studio"] .studio-work-card .work-card-actions.has-screen>.button.dark{
  grid-column:1!important;
}
body[data-route="studio"] .studio-work-card .work-card-actions.has-screen>.button.ghost{
  grid-column:2!important;
}
body[data-route="studio"] .studio-work-card .work-card-actions.edit-only>.button.ghost{
  grid-column:1 / span 2!important;
}
body[data-route="studio"] .studio-work-card .work-card-actions>.button .ui-icon{
  width:16px!important;
  height:16px!important;
  flex:0 0 16px!important;
}
body[data-route="studio"] .studio-work-card .work-card-actions>.work-card-menu{
  grid-column:3!important;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  margin:0!important;
  justify-self:end!important;
  align-self:stretch!important;
}
body[data-route="studio"] .studio-work-card .work-card-actions>.work-card-menu>summary{
  box-sizing:border-box;
  width:42px!important;
  height:42px!important;
  min-width:42px!important;
  min-height:42px!important;
  padding:0!important;
}
@media(max-width:620px){
  body[data-route="studio"] .studio-work-grid{gap:14px!important}
  body[data-route="studio"] .studio-work-card .work-card-actions{gap:7px!important}
}

/* Arts Exchange v1.9.94 — Works status overlay + compact heading.
   Work state moves onto the artwork image so the white content area begins
   with the title/year row. This removes a redundant metadata row and shortens
   the card without changing the existing action component or grid. */
body[data-route="studio"] .studio-work-card .studio-work-card-media{
  position:relative!important;
  display:block;
}
body[data-route="studio"] .studio-work-card .work-card-status{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  margin:0!important;
  pointer-events:none;
  box-shadow:0 1px 4px rgba(17,20,18,.05);
}
body[data-route="studio"] .studio-work-card .work-card-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:start;
}
body[data-route="studio"] .studio-work-card .work-card-heading h3{
  min-width:0;
  margin:0 0 5px!important;
}
body[data-route="studio"] .studio-work-card .work-card-year{
  padding-top:4px;
  color:var(--sx-muted,#707774);
  font-size:11px;
  line-height:1.2;
  white-space:nowrap;
}
body[data-route="studio"] .studio-work-card .work-card-indicators{
  margin-top:13px;
}
@media(max-width:620px){
  body[data-route="studio"] .studio-work-card .work-card-status{top:10px;left:10px}
  body[data-route="studio"] .studio-work-card .work-card-heading{gap:10px}
}

/* Arts Exchange v1.9.96 — Portable Records card consistency.
   Portable cards now share the Works card geometry and interaction language.
   The small overflow menu is removed because the card has at most three useful
   actions; direct actions are clearer and can share the available width evenly. */
body[data-route="studio"] .portable-record-grid{
  gap:16px!important;
  align-items:start;
}
body[data-route="studio"] .portable-record-card{
  display:block;
  min-height:0;
  overflow:visible!important;
  border:1px solid var(--artx-component-line,#d9dcda)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:none!important;
  transform:none!important;
  transition:border-color .16s ease,box-shadow .16s ease,background .16s ease!important;
}
body[data-route="studio"] .portable-record-card:hover{
  border-color:var(--artx-component-line-hover,#b9bfbc)!important;
  background:#fff!important;
  box-shadow:0 7px 20px rgba(17,20,18,.045)!important;
  transform:none!important;
}
body[data-route="studio"] .portable-record-card .portable-record-media{
  position:relative!important;
  display:block;
  height:190px!important;
  overflow:hidden!important;
  border-radius:17px 17px 0 0!important;
  border-bottom:1px solid var(--artx-component-line,#d9dcda);
}
body[data-route="studio"] .portable-record-card .portable-card-status{
  position:absolute;
  top:12px;
  left:12px;
  z-index:2;
  margin:0!important;
  pointer-events:none;
  box-shadow:0 1px 4px rgba(17,20,18,.05);
}
body[data-route="studio"] .portable-record-card-body{
  min-height:0!important;
  padding:18px 20px 18px!important;
}
body[data-route="studio"] .portable-record-card .portable-card-heading{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:14px;
  align-items:start;
}
body[data-route="studio"] .portable-record-card .portable-card-heading h3{
  min-width:0;
  margin:0 0 5px!important;
  font-size:22px!important;
  line-height:1.08!important;
}
body[data-route="studio"] .portable-record-card .portable-card-year{
  padding-top:4px;
  color:var(--sx-muted,#707774);
  font-size:11px;
  line-height:1.2;
  white-space:nowrap;
}
body[data-route="studio"] .portable-record-card .portable-record-medium{
  margin:0!important;
  color:var(--sx-muted,#707774)!important;
  font-size:11px!important;
  line-height:1.45!important;
}
body[data-route="studio"] .portable-record-card .record-layer-badges{
  margin-top:13px!important;
}
body[data-route="studio"] .portable-record-card .portable-record-detail{
  min-height:0!important;
  margin:14px 0 0!important;
  color:var(--sx-muted,#707774)!important;
  font-size:10.5px!important;
  line-height:1.5!important;
  -webkit-line-clamp:2;
}
body[data-route="studio"] .portable-record-card .portable-card-actions{
  box-sizing:border-box;
  width:100%!important;
  min-width:0!important;
  display:grid!important;
  align-items:stretch!important;
  justify-items:stretch!important;
  gap:8px!important;
  margin:17px 0 0!important;
  padding:16px 0 0!important;
  border-top:1px solid var(--artx-component-line,#d9dcda)!important;
}
body[data-route="studio"] .portable-record-card .portable-card-actions.two-actions{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
}
body[data-route="studio"] .portable-record-card .portable-card-actions.three-actions{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
body[data-route="studio"] .portable-record-card .portable-card-actions>.button{
  box-sizing:border-box;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  height:42px!important;
  min-height:42px!important;
  padding:0 10px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  white-space:nowrap!important;
  font-size:11px!important;
}
body[data-route="studio"] .portable-record-card .portable-card-actions>.button .ui-icon{
  width:15px!important;
  height:15px!important;
  flex:0 0 15px!important;
}

@media(max-width:620px){
  body[data-route="studio"] .portable-record-grid{gap:14px!important}
  body[data-route="studio"] .portable-record-card .portable-record-media{height:190px!important}
  body[data-route="studio"] .portable-record-card-body{padding:16px!important}
  body[data-route="studio"] .portable-record-card .portable-card-status{top:10px;left:10px}
  body[data-route="studio"] .portable-record-card .portable-card-heading{gap:10px}
  body[data-route="studio"] .portable-record-card .portable-card-actions{gap:7px!important}
  body[data-route="studio"] .portable-record-card .portable-card-actions>.button{padding:0 8px!important;font-size:10.5px!important}
}


/* Arts Exchange v1.9.97 — Portable Records equal-height rhythm + radius repair.
   The grid stretches cards to the tallest state in each row. Each card then
   reserves a consistent layer/status band and detail band, while actions sit
   at the bottom. The outer card owns the corner clipping so media/card radii
   cannot drift or create a doubled edge. */
body[data-route="studio"] .portable-record-grid{
  align-items:stretch!important;
}

body[data-route="studio"] .portable-record-card{
  height:100%;
  display:flex!important;
  flex-direction:column;
  overflow:hidden!important;
  border-radius:18px!important;
}

body[data-route="studio"] .portable-record-card .portable-record-media{
  flex:0 0 190px;
  height:190px!important;
  min-height:190px;
  overflow:hidden!important;
  border-radius:0!important;
}

body[data-route="studio"] .portable-record-card .portable-record-media :is(img,video){
  border-radius:0!important;
}

body[data-route="studio"] .portable-record-card-body{
  flex:1 1 auto;
  display:flex!important;
  flex-direction:column;
  min-height:0!important;
}

body[data-route="studio"] .portable-record-card .portable-card-indicators{
  min-height:31px;
  display:flex;
  align-items:flex-start;
  margin-top:13px;
}

body[data-route="studio"] .portable-record-card .portable-card-indicators .record-layer-badges{
  width:100%;
  margin:0!important;
}

body[data-route="studio"] .portable-record-card .portable-record-detail{
  min-height:32px!important;
  margin-top:12px!important;
}

body[data-route="studio"] .portable-record-card .portable-card-actions{
  margin-top:auto!important;
}

@media(max-width:620px){
  body[data-route="studio"] .portable-record-card .portable-record-media{
    flex-basis:190px;
    min-height:190px;
  }
  body[data-route="studio"] .portable-record-card .portable-card-indicators{
    min-height:31px;
    margin-top:12px;
  }
}


/* Arts Exchange v1.9.98 — Portable Records simplification.
   The page explains the optional infrastructure once; individual cards only
   show their current layer/state and direct actions. */
body[data-route="studio"] .portable-records-intro{
  padding:22px 24px!important;
  border:1px solid var(--studio-violet-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:none!important;
}

body[data-route="studio"] .portable-records-intro>div{
  grid-template-columns:48px minmax(0,1fr)!important;
  gap:16px!important;
}

body[data-route="studio"] .portable-records-intro>div>span{
  width:48px!important;
  height:48px!important;
  border-radius:12px!important;
}

body[data-route="studio"] .portable-records-intro h2{
  margin:3px 0 6px!important;
  font-size:22px!important;
  line-height:1.08!important;
}

body[data-route="studio"] .portable-records-intro p:not(.eyebrow){
  max-width:720px!important;
}

body[data-route="studio"] .portable-records-intro dl>div{
  padding:2px 18px!important;
}

body[data-route="studio"] .portable-record-card .portable-card-indicators{
  min-height:31px;
  margin-top:14px!important;
}

body[data-route="studio"] .portable-record-card .portable-card-actions{
  margin-top:auto!important;
  padding-top:22px!important;
  border-top:0!important;
}

@media(max-width:820px){
  body[data-route="studio"] .portable-records-intro{
    padding:20px!important;
  }
}


/* Arts Exchange v1.9.100 — Portable Records feature tallies.
   The panel is now a simple four-part capability tally: no secondary eyebrow,
   icon or explanatory paragraph. */
body[data-route="studio"] .portable-records-intro.portable-records-tallies{
  display:block!important;
  padding:0!important;
  overflow:hidden;
}

body[data-route="studio"] .portable-records-intro.portable-records-tallies dl{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  margin:0!important;
  padding:0!important;
}

body[data-route="studio"] .portable-records-intro.portable-records-tallies dl>div{
  min-width:0;
  padding:20px 24px!important;
  border-top:0!important;
  border-left:1px solid var(--studio-line)!important;
}

body[data-route="studio"] .portable-records-intro.portable-records-tallies dl>div:first-child{
  border-left:0!important;
}

body[data-route="studio"] .portable-records-intro.portable-records-tallies dt{
  font-size:29px!important;
  line-height:1!important;
}

body[data-route="studio"] .portable-records-intro.portable-records-tallies dd{
  margin-top:6px!important;
  font-size:10px!important;
  line-height:1.35!important;
  letter-spacing:.02em!important;
  text-transform:none!important;
}

@media(max-width:900px){
  body[data-route="studio"] .portable-records-intro.portable-records-tallies dl{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body[data-route="studio"] .portable-records-intro.portable-records-tallies dl>div:nth-child(3){
    border-left:0!important;
    border-top:1px solid var(--studio-line)!important;
  }
  body[data-route="studio"] .portable-records-intro.portable-records-tallies dl>div:nth-child(4){
    border-top:1px solid var(--studio-line)!important;
  }
}

@media(max-width:520px){
  body[data-route="studio"] .portable-records-intro.portable-records-tallies dl{
    grid-template-columns:1fr!important;
  }
  body[data-route="studio"] .portable-records-intro.portable-records-tallies dl>div{
    border-left:0!important;
    border-top:1px solid var(--studio-line)!important;
  }
  body[data-route="studio"] .portable-records-intro.portable-records-tallies dl>div:first-child{
    border-top:0!important;
  }
}


/* Arts Exchange v1.9.101 — Portable Records panel regains left-anchor balance.
   Reintroduces a compact overview block at left and attaches per-metric icons
   so the tally reads as a quick indicator rather than a sparse scoreboard. */
body[data-route="studio"] .portable-records-intro.portable-records-summary{
  display:grid!important;
  grid-template-columns:minmax(260px,1.08fr) minmax(0,3fr)!important;
  padding:0!important;
  overflow:hidden;
}

body[data-route="studio"] .portable-records-summary-lead{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
  padding:24px 26px!important;
  border-right:1px solid var(--studio-line);
}

body[data-route="studio"] .portable-records-summary-icon,
body[data-route="studio"] .portable-records-summary-metric-icon{
  display:inline-grid;
  place-items:center;
  flex:0 0 auto;
  border:1px solid var(--artx-component-line);
  color:var(--artx-component-ink);
  background:rgba(255,255,255,.78);
}

body[data-route="studio"] .portable-records-summary-icon{
  width:54px;
  height:54px;
  border-radius:14px;
}

body[data-route="studio"] .portable-records-summary-icon .ui-icon{
  width:22px;
  height:22px;
}

body[data-route="studio"] .portable-records-summary-lead h2{
  margin:0 0 4px!important;
  font-size:18px!important;
  line-height:1.1!important;
}

body[data-route="studio"] .portable-records-summary-lead p{
  margin:0!important;
  max-width:340px!important;
  font-size:12px!important;
  line-height:1.45!important;
  color:var(--artx-component-subtle)!important;
}

body[data-route="studio"] .portable-records-summary-metrics{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  margin:0!important;
  padding:0!important;
}

body[data-route="studio"] .portable-records-summary-metrics>div{
  min-width:0;
  padding:20px 22px!important;
  border-left:1px solid var(--studio-line)!important;
}

body[data-route="studio"] .portable-records-summary-metrics>div:first-child{
  border-left:0!important;
}

body[data-route="studio"] .portable-records-summary-metric-icon{
  width:32px;
  height:32px;
  border-radius:10px;
  margin-bottom:10px;
}

body[data-route="studio"] .portable-records-summary-metric-icon .ui-icon{
  width:15px;
  height:15px;
}

body[data-route="studio"] .portable-records-summary-metrics dt{
  font-size:28px!important;
  line-height:1!important;
}

body[data-route="studio"] .portable-records-summary-metrics dd{
  margin-top:6px!important;
  font-size:11px!important;
  line-height:1.35!important;
  letter-spacing:.01em!important;
  color:var(--artx-component-subtle)!important;
}

@media(max-width:1040px){
  body[data-route="studio"] .portable-records-intro.portable-records-summary{
    grid-template-columns:1fr!important;
  }
  body[data-route="studio"] .portable-records-summary-lead{
    border-right:0!important;
    border-bottom:1px solid var(--studio-line)!important;
  }
}

@media(max-width:900px){
  body[data-route="studio"] .portable-records-summary-metrics{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  body[data-route="studio"] .portable-records-summary-metrics>div:nth-child(3){
    border-left:0!important;
    border-top:1px solid var(--studio-line)!important;
  }
  body[data-route="studio"] .portable-records-summary-metrics>div:nth-child(4){
    border-top:1px solid var(--studio-line)!important;
  }
}

@media(max-width:520px){
  body[data-route="studio"] .portable-records-summary-lead{
    align-items:flex-start;
    padding:20px!important;
  }
  body[data-route="studio"] .portable-records-summary-metrics{
    grid-template-columns:1fr!important;
  }
  body[data-route="studio"] .portable-records-summary-metrics>div{
    border-left:0!important;
    border-top:1px solid var(--studio-line)!important;
  }
}


/* Arts Exchange v1.9.102 — Portable Records compact status strip.
   Removes the oversized summary panel. The page heading explains the feature;
   this row is only a quick index before the work cards. */
body[data-route="studio"] .portable-records-status-strip{
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:10px 0;
  margin:18px 0 22px;
  padding:0;
  color:var(--artx-component-subtle);
}

body[data-route="studio"] .portable-records-status-strip span{
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  min-width:0;
  padding:0 16px;
  border-left:1px solid var(--studio-line);
  font-size:11px;
  line-height:1.35;
  white-space:nowrap;
}

body[data-route="studio"] .portable-records-status-strip span:first-child{
  padding-left:0;
  border-left:0;
}

body[data-route="studio"] .portable-records-status-strip b{
  color:var(--artx-component-ink);
  font-size:14px;
  font-weight:700;
  line-height:1;
}

@media(max-width:620px){
  body[data-route="studio"] .portable-records-status-strip{
    gap:10px 14px;
  }
  body[data-route="studio"] .portable-records-status-strip span{
    padding:0;
    border-left:0;
  }
}


/* Arts Exchange v1.9.103 — Portable Records status strip is now functional.
   One active filter at a time; no icon clutter. */
body[data-route="studio"] .portable-records-status-strip{
  gap:8px!important;
  align-items:center!important;
}

body[data-route="studio"] .portable-records-status-strip button{
  appearance:none;
  display:inline-flex;
  align-items:baseline;
  gap:6px;
  min-height:34px;
  padding:0 11px;
  border:1px solid transparent;
  border-radius:8px;
  background:transparent;
  color:var(--artx-component-subtle);
  font:inherit;
  font-size:11px;
  line-height:1;
  cursor:pointer;
  white-space:nowrap;
  transition:background .15s ease,border-color .15s ease,color .15s ease;
}

body[data-route="studio"] .portable-records-status-strip button b{
  color:inherit;
  font-size:13px!important;
}

body[data-route="studio"] .portable-records-status-strip button:hover{
  background:rgba(255,255,255,.72);
  border-color:var(--artx-component-line);
  color:var(--artx-component-ink);
}

body[data-route="studio"] .portable-records-status-strip button.active{
  background:var(--studio-violet-bg,#f4f0fa);
  border-color:var(--studio-violet-line,#d9cee8);
  color:var(--studio-violet-ink,#5d4a78);
}

body[data-route="studio"] .portable-records-status-strip button:focus-visible{
  outline:none;
  box-shadow:0 0 0 3px var(--artx-ring);
}

body[data-route="studio"] .portable-filter-empty{
  margin-top:0;
}


/* Arts Exchange v1.9.104 — Studio collection controls.
   Mirrors the established public-directory convention without view toggles. */
body[data-route="studio"] .studio-directory-toolbar{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  width:100%;
  min-width:0;
  align-items:center;
  gap:clamp(24px,3vw,52px);
  margin:-6px auto 24px;
  padding:0 0 18px;
  border-bottom:1px solid rgba(10,10,9,.16);
}

body[data-route="studio"] .studio-directory-toolbar .directory-primary-filters{
  display:flex;
  width:100%;
  min-width:0;
  align-items:center;
  gap:clamp(20px,2.4vw,36px);
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-inline:contain;
  scrollbar-width:none;
}

body[data-route="studio"] .studio-directory-toolbar .directory-primary-filters::-webkit-scrollbar{
  display:none;
}

body[data-route="studio"] .studio-directory-toolbar .directory-primary-filters button{
  position:relative;
  flex:0 0 auto;
  min-height:38px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#817d76;
  font-family:var(--sans);
  font-size:13px;
  font-weight:600;
  letter-spacing:0;
  line-height:38px;
  text-transform:none;
  white-space:nowrap;
  cursor:pointer;
  transition:color .2s cubic-bezier(.22,1,.36,1);
}

body[data-route="studio"] .studio-directory-toolbar .directory-primary-filters button:hover,
body[data-route="studio"] .studio-directory-toolbar .directory-primary-filters button.active{
  color:var(--artx-component-ink);
}

body[data-route="studio"] .studio-directory-toolbar .directory-primary-filters button:focus-visible{
  outline:1px solid var(--artx-component-ink);
  outline-offset:4px;
}

body[data-route="studio"] .studio-directory-actions{
  display:flex;
  flex:0 0 auto;
  width:auto;
  min-width:0;
  align-items:center;
  justify-content:flex-end;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-control{
  display:flex;
  flex:0 0 auto;
  width:auto;
  min-width:0;
  height:38px;
  align-items:center;
  gap:10px;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-control>span{
  color:#77736c;
  font-size:9px;
  font-weight:700;
  letter-spacing:.1em;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons{
  display:flex;
  height:38px;
  align-items:center;
  gap:3px;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons button{
  min-width:42px;
  height:38px;
  min-height:38px;
  padding:0 8px;
  border:0;
  border-radius:4px;
  background:transparent;
  color:#8b877f;
  font-family:var(--sans);
  font-size:11px;
  font-weight:600;
  letter-spacing:.01em;
  line-height:1;
  cursor:pointer;
  transition:background-color .2s cubic-bezier(.22,1,.36,1),color .2s cubic-bezier(.22,1,.36,1);
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons button:last-child{
  min-width:58px;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons button:hover,
body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons button.active{
  background:var(--artx-component-ink);
  color:#fff;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons button:focus-visible{
  outline:1px solid var(--artx-component-ink);
  outline-offset:2px;
}

body[data-route="studio"] .studio-filter-empty{
  margin-top:0;
}

@media(max-width:900px){
  body[data-route="studio"] .studio-directory-toolbar{
    grid-template-columns:1fr;
    gap:8px;
  }
  body[data-route="studio"] .studio-directory-actions{
    justify-content:flex-start;
  }
}

@media(max-width:620px){
  body[data-route="studio"] .studio-directory-toolbar{
    margin-top:-4px;
    padding-bottom:14px;
  }
  body[data-route="studio"] .studio-directory-toolbar .directory-primary-filters{
    gap:20px;
  }
}


/* Arts Exchange v1.9.105 — Studio collection-toolbar refinement.
   Keep the public-site filtering convention, remove the extra divider/gap,
   and use a neutral outlined selected sort state in Studio. */
body[data-route="studio"] .studio-directory-toolbar{
  margin-bottom:0!important;
  padding-bottom:0!important;
  border-bottom:0!important;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons button{
  border:1px solid transparent!important;
  border-radius:7px!important;
  background:transparent!important;
  color:#8b877f!important;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons button:hover{
  border-color:var(--artx-component-line)!important;
  background:rgba(255,255,255,.72)!important;
  color:var(--artx-component-ink)!important;
}

body[data-route="studio"] .studio-directory-toolbar .directory-sort-buttons button.active{
  border-color:var(--artx-component-line)!important;
  background:rgba(255,255,255,.82)!important;
  color:var(--artx-component-ink)!important;
}

body[data-route="studio"] .studio-work-grid,
body[data-route="studio"] .portable-record-grid{
  margin-top:0!important;
}

/* ARTSX v1.9.108 / UI7 — responsive Works + Portable card balance
   Cards balance only against siblings in the same responsive grid row. Nothing receives a
   fixed overall height: the tallest natural card sets that row, shorter cards flex to match,
   and one-column layouts return to their natural content height. This keeps action rails aligned
   when readiness / Portable Record pills wrap without creating large reserved status areas. */
.artsx-studio-balanced-filter-row {
  margin-bottom: 0 !important;
}

body[data-route="studio"] .studio-directory-toolbar {
  margin-bottom: 32px !important;
}

body[data-route="studio"] :is(.studio-work-grid,.portable-record-grid) {
  align-items: stretch !important;
}

body[data-route="studio"] :is(.studio-work-card,.portable-record-card) {
  display: flex !important;
  flex-direction: column;
  height: 100% !important;
}

body[data-route="studio"] :is(.studio-work-card-body,.portable-record-card-body) {
  flex: 1 1 auto;
  display: flex !important;
  flex-direction: column;
  min-height: 0 !important;
}

body[data-route="studio"] .studio-work-card .work-card-indicators,
body[data-route="studio"] .portable-record-card .portable-card-indicators {
  margin-bottom: 17px !important;
}

body[data-route="studio"] .portable-record-card .portable-card-indicators {
  min-height: 30px !important;
  margin-top: 13px !important;
}

body[data-route="studio"] .studio-work-card .work-card-actions,
body[data-route="studio"] .portable-record-card .portable-card-actions {
  margin-top: auto !important;
}

body[data-route="studio"] .portable-record-card .portable-card-actions {
  padding-top: 16px !important;
  border-top: 1px solid var(--artx-component-line,#d9dcda) !important;
}

/* ARTSX v1.9.109 — Overview UI-kit alignment
   Overview only. The live-profile action returns to the canonical compact Studio control
   geometry while retaining its red live indicator and external-link cue. The lower utility
   cards use the same information hierarchy as the current Studio card language: icon and
   eyebrow share the first row, followed by heading and supporting copy. */
body[data-route="studio"] .workspace-profile-action.live {
  display: inline-flex !important;
  grid-template-columns: none !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-width: 0 !important;
  min-height: var(--sx-control) !important;
  padding: 8px 13px !important;
  border-radius: var(--sx-r-sm) !important;
}

body[data-route="studio"] .workspace-profile-action.live .workspace-live-indicator {
  width: 7px !important;
  height: 7px !important;
  box-shadow: none !important;
}

body[data-route="studio"] .workspace-profile-action.live .workspace-live-indicator::after {
  display: none !important;
}

body[data-route="studio"] .workspace-profile-action.live .ui-icon {
  width: 14px !important;
  height: 14px !important;
}

body[data-route="studio"] .dashboard-utility > div {
  display: grid !important;
  grid-template-columns: 38px minmax(0,1fr) !important;
  align-content: start !important;
  column-gap: 11px !important;
  row-gap: 0 !important;
  min-width: 0 !important;
}

body[data-route="studio"] .dashboard-utility > div > span {
  grid-column: 1 !important;
  grid-row: 1 !important;
  margin: 0 !important;
}

body[data-route="studio"] .dashboard-utility > div > .eyebrow {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: center !important;
  margin: 0 !important;
}

body[data-route="studio"] .dashboard-utility > div > h2 {
  grid-column: 1 / -1 !important;
  margin: 14px 0 8px !important;
}

body[data-route="studio"] .dashboard-utility > div > p:not(.eyebrow) {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
}

/* ARTSX v1.9.110 — Overview hierarchy + notification simplification
   Overview only. Latest activity is reduced to a compact notification row: exhibition
   context on the left and the next action on the right. The Artist Overview removes the
   duplicate Displays utility and presents Portable Records + Payments as a quieter two-card
   status row. Utility hierarchy is corrected so eyebrow + heading sit beside the icon. */
body[data-route="studio"] .activity-item.activity-item-simple {
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 24px !important;
  min-height: 88px !important;
  padding: 18px 24px !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-main {
  min-width: 0 !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-title {
  display: block !important;
  min-width: 0 !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-title h3 {
  margin: 0 !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 5px 0 !important;
  margin-top: 7px !important;
  color: var(--muted) !important;
  font-size: 10.5px !important;
  line-height: 1.4 !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-meta span {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0 !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-meta span + span::before {
  content: "·";
  margin: 0 9px !important;
  color: var(--muted) !important;
}

body[data-route="studio"] .activity-item-simple .activity-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 10px !important;
  min-width: max-content !important;
  color: var(--artx-component-ink) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body[data-route="studio"] .activity-item-simple .activity-action .ui-icon {
  width: 16px !important;
  height: 16px !important;
}

body[data-route="studio"] .dashboard-status-grid {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 14px !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility {
  min-height: 148px !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: end !important;
  gap: 20px !important;
  padding: 18px !important;
  border-color: var(--sx-line) !important;
  background: #fff !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > div {
  display: grid !important;
  grid-template-columns: 38px minmax(0,1fr) !important;
  grid-template-rows: auto auto auto !important;
  align-content: start !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > div > span {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  align-self: start !important;
  margin: 0 !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > div > .eyebrow {
  grid-column: 2 !important;
  grid-row: 1 !important;
  align-self: start !important;
  margin: 1px 0 0 !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > div > h2 {
  grid-column: 2 !important;
  grid-row: 2 !important;
  margin: 3px 0 7px !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > div > p:not(.eyebrow) {
  grid-column: 2 !important;
  grid-row: 3 !important;
  margin: 0 !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > .button {
  align-self: end !important;
  white-space: nowrap !important;
}

@media (max-width: 900px) {
  body[data-route="studio"] .dashboard-status-grid {
    grid-template-columns: 1fr !important;
  }
  body[data-route="studio"] .dashboard-status-grid > *:last-child {
    grid-column: auto !important;
  }
}

@media (max-width: 620px) {
  body[data-route="studio"] .activity-item.activity-item-simple {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  body[data-route="studio"] .activity-item-simple .activity-action {
    justify-content: flex-start !important;
  }
  body[data-route="studio"] .dashboard-status-grid .dashboard-utility {
    grid-template-columns: 1fr !important;
    align-items: start !important;
    min-height: 0 !important;
  }
  body[data-route="studio"] .dashboard-status-grid .dashboard-utility > .button {
    justify-self: start !important;
  }
}

/* ARTSX v1.9.111 — Overview attention rows + status-card top alignment
   Overview only. Latest activity now follows the same visual/action grammar as Needs attention:
   a left state label, exhibition title with icon-led work/venue/date context beneath, and a compact
   conventional Review/View control at right. Portable Records + Payments anchor their icon/text
   stack to the top of each card while the action remains balanced at the bottom-right. */
body[data-route="studio"] .activity-item.activity-item-simple {
  grid-template-columns: 94px minmax(0,1fr) auto !important;
  align-items: center !important;
  gap: 20px !important;
  min-height: 96px !important;
  padding: 18px 24px !important;
}

body[data-route="studio"] .activity-item-simple > .task-tone {
  justify-self: start !important;
  align-self: center !important;
  margin: 0 !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-title h3 {
  font-size: 17px !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-meta {
  gap: 7px 18px !important;
  margin-top: 8px !important;
  font-size: 10.5px !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-meta span {
  gap: 6px !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-meta span + span::before {
  content: none !important;
  margin: 0 !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-meta .ui-icon {
  width: 15px !important;
  height: 15px !important;
  flex: 0 0 15px !important;
  color: var(--muted) !important;
}

body[data-route="studio"] .activity-item-simple .activity-action.button {
  min-width: 92px !important;
  min-height: 40px !important;
  padding: 8px 12px !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: var(--sx-r-sm) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

body[data-route="studio"] .activity-item-simple .activity-action.button .ui-icon {
  width: 14px !important;
  height: 14px !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility {
  align-items: stretch !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > div {
  align-self: start !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > .button {
  align-self: end !important;
  justify-self: end !important;
}

@media (max-width: 760px) {
  body[data-route="studio"] .activity-item.activity-item-simple {
    grid-template-columns: 82px minmax(0,1fr) !important;
    gap: 14px 16px !important;
  }
  body[data-route="studio"] .activity-item-simple .activity-action.button {
    grid-column: 2 !important;
    justify-self: start !important;
  }
}

@media (max-width: 620px) {
  body[data-route="studio"] .activity-item.activity-item-simple {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  body[data-route="studio"] .activity-item-simple .activity-action.button {
    grid-column: 1 !important;
  }
  body[data-route="studio"] .dashboard-status-grid .dashboard-utility > .button {
    justify-self: start !important;
  }
}

/* ARTSX v1.9.112 — Overview status language + compact card rhythm
   Overview only. Needs attention and Latest activity use the left pill as a real status label
   rather than repeating "Required". The Needs attention action adopts the same rounded compact
   Review/View control used by Latest activity. Primary action cards and the lower Portable Records /
   Payments status cards are shortened to remove unnecessary vertical space while preserving the
   established icon, eyebrow, heading and bottom-right action hierarchy. */
body[data-route="studio"] .next-step-row > .attention-action.button {
  justify-self: end !important;
  align-self: center !important;
  min-width: 92px !important;
  min-height: 40px !important;
  padding: 8px 12px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  border-radius: var(--sx-r-sm) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body[data-route="studio"] .next-step-row > .attention-action.button .ui-icon {
  width: 14px !important;
  height: 14px !important;
}

body[data-route="studio"] .studio-action-grid > a,
body[data-route="studio"] .studio-action-grid > button {
  min-height: 124px !important;
  padding: 16px 18px !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility {
  min-height: 130px !important;
  padding: 16px 18px !important;
  align-content: stretch !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > div {
  align-self: start !important;
}

body[data-route="studio"] .dashboard-status-grid .dashboard-utility > .button {
  align-self: end !important;
  justify-self: end !important;
}

@media (max-width: 760px) {
  body[data-route="studio"] .next-step-row > .attention-action.button {
    justify-self: start !important;
  }
}

@media (max-width: 620px) {
  body[data-route="studio"] .studio-action-grid > a,
  body[data-route="studio"] .studio-action-grid > button,
  body[data-route="studio"] .dashboard-status-grid .dashboard-utility {
    min-height: 0 !important;
  }
}

/* ARTSX v1.9.115 — Request / Agreement Workspace
   Reframes the legacy request-detail page as one professional agreement record.
   The current proposal, reciprocal negotiation, audit log and conversation form the
   primary narrative; payment, record metadata and participant-raised issues sit in
   a quieter supporting rail. Stripe remains a downstream payment rail only. */
body[data-route="request"] .request-detail.agreement-workspace {
  width:min(1440px,100%)!important;
  margin:0 auto!important;
  padding:34px clamp(22px,4vw,58px) 72px!important;
  color:var(--artx-component-ink)!important;
}

body[data-route="request"] .agreement-workspace :is(h1,h2,h3,p,dl,dd) {
  margin-top:0;
}

body[data-route="request"] .request-back-link {
  width:max-content;
  display:inline-flex;
  align-items:center;
  min-height:34px;
  margin:0 0 24px;
  font-size:11px;
  font-weight:700;
  color:var(--artx-component-subtle);
}
body[data-route="request"] .request-back-link:hover { color:var(--artx-component-ink); }

body[data-route="request"] .agreement-page-head {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:34px;
  align-items:end;
  padding:0 0 28px;
  border-bottom:1px solid var(--artx-component-line);
}
body[data-route="request"] .agreement-page-head h1 {
  margin:10px 0 12px!important;
  max-width:850px;
  font-family:inherit!important;
  font-size:clamp(36px,4.4vw,64px)!important;
  font-weight:650!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}
body[data-route="request"] .agreement-head-status,
body[data-route="request"] .agreement-head-meta,
body[data-route="request"] .agreement-head-actions {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
}
body[data-route="request"] .agreement-head-status { gap:9px; }
body[data-route="request"] .agreement-head-status > span:not(.status):not(.agreement-open-issue) {
  font-size:10px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--artx-component-subtle);
}
body[data-route="request"] .agreement-open-issue {
  display:inline-flex;
  align-items:center;
  min-height:25px;
  padding:0 9px;
  border:1px solid rgba(125,75,56,.22);
  border-radius:999px;
  background:var(--artx-danger-bg);
  color:var(--artx-danger);
  font-size:10px;
  font-weight:700;
}
body[data-route="request"] .agreement-head-meta {
  gap:9px 20px;
  color:var(--artx-component-subtle);
  font-size:12px;
}
body[data-route="request"] .agreement-head-meta > span {
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-width:0;
}
body[data-route="request"] .agreement-head-meta .ui-icon {
  width:15px;
  height:15px;
  color:#7b837d;
}
body[data-route="request"] .agreement-head-side {
  min-width:220px;
  display:grid;
  justify-items:end;
  gap:15px;
}
body[data-route="request"] .agreement-head-fee {
  display:grid;
  justify-items:end;
  text-align:right;
}
body[data-route="request"] .agreement-head-fee > span {
  font-size:9px;
  font-weight:700;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:var(--artx-component-subtle);
}
body[data-route="request"] .agreement-head-fee strong {
  margin-top:3px;
  font-size:32px;
  line-height:1;
  letter-spacing:-.035em;
}
body[data-route="request"] .agreement-head-fee small {
  margin-top:5px;
  color:var(--artx-component-subtle);
  font-size:10px;
  text-decoration:line-through;
}
body[data-route="request"] .agreement-head-actions { justify-content:flex-end; gap:8px; }

body[data-route="request"] .agreement-stage-card {
  min-height:92px;
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  margin:20px 0;
  padding:17px 20px;
  border:1px solid var(--artx-component-line);
  border-radius:12px;
  background:#fff;
}
body[data-route="request"] .agreement-stage-card.accepted {
  border-color:rgba(47,97,70,.28);
  background:linear-gradient(110deg,var(--artx-positive-bg),#fff 62%);
}
body[data-route="request"] .agreement-stage-card.pending,
body[data-route="request"] .agreement-stage-card.processing {
  border-color:rgba(111,83,27,.25);
  background:linear-gradient(110deg,var(--artx-warning-bg),#fff 62%);
}
body[data-route="request"] .agreement-stage-card.declined {
  border-color:rgba(125,75,56,.25);
  background:linear-gradient(110deg,var(--artx-danger-bg),#fff 62%);
}
body[data-route="request"] .agreement-stage-icon {
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#fff;
  border:1px solid rgba(22,25,23,.08);
  color:var(--artx-component-ink);
}
body[data-route="request"] .agreement-stage-card h2 {
  margin:3px 0 3px!important;
  font-family:inherit!important;
  font-size:17px!important;
  font-weight:700!important;
  letter-spacing:-.02em!important;
}
body[data-route="request"] .agreement-stage-card p:not(.eyebrow) {
  margin:0;
  max-width:820px;
  color:var(--artx-component-subtle);
  font-size:11.5px;
  line-height:1.5;
}

body[data-route="request"] .agreement-workspace-grid {
  display:grid;
  grid-template-columns:minmax(0,1.72fr) minmax(300px,.68fr);
  gap:20px;
  align-items:start;
}
body[data-route="request"] .agreement-main-column,
body[data-route="request"] .agreement-side-column {
  min-width:0;
  display:grid;
  gap:16px;
}
body[data-route="request"] .agreement-side-column {
  position:sticky;
  top:18px;
}
body[data-route="request"] :is(.agreement-card,.agreement-side-card) {
  min-width:0;
  margin:0!important;
  padding:22px;
  border:1px solid var(--artx-component-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:none!important;
}
body[data-route="request"] .agreement-side-card { padding:18px; }

body[data-route="request"] .agreement-section-head,
body[data-route="request"] .agreement-side-card-head {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
}
body[data-route="request"] .agreement-section-head {
  padding-bottom:17px;
  margin-bottom:18px;
  border-bottom:1px solid #e1e4e1;
}
body[data-route="request"] .agreement-section-head h2,
body[data-route="request"] .agreement-side-card-head h2 {
  margin:4px 0 3px!important;
  font-family:inherit!important;
  font-size:20px!important;
  line-height:1.15!important;
  font-weight:700!important;
  letter-spacing:-.025em!important;
}
body[data-route="request"] .agreement-section-head p:not(.eyebrow) {
  margin:0;
  color:var(--artx-component-subtle);
  font-size:11px;
}
body[data-route="request"] .agreement-section-head > span {
  color:var(--artx-component-subtle);
  font-size:10px;
  white-space:nowrap;
}
body[data-route="request"] .agreement-side-card-head {
  margin-bottom:15px;
}
body[data-route="request"] .agreement-side-card-head > .ui-icon {
  width:18px;
  height:18px;
  color:var(--artx-component-subtle);
}

body[data-route="request"] .current-agreement-card {
  padding:0!important;
  overflow:hidden;
}
body[data-route="request"] .current-agreement-card > :not(.agreement-response) {
  margin-left:22px;
  margin-right:22px;
}
body[data-route="request"] .current-agreement-card > .current-agreement-head {
  padding-top:22px;
}
body[data-route="request"] .agreement-terms-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1px;
  margin:0 22px!important;
  padding:1px;
  background:#e3e6e3;
  border:1px solid #e3e6e3;
  border-radius:9px;
  overflow:hidden;
}
body[data-route="request"] .agreement-terms-grid > div {
  min-height:76px;
  padding:13px 14px;
  background:#fff;
}
body[data-route="request"] .agreement-terms-grid > div > span,
body[data-route="request"] .agreement-context-grid > div > span,
body[data-route="request"] .agreement-payment-breakdown dt,
body[data-route="request"] .agreement-record-card dt {
  display:block;
  margin-bottom:6px;
  color:var(--artx-component-subtle);
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-route="request"] .agreement-terms-grid strong {
  display:block;
  overflow-wrap:anywhere;
  font-size:12px;
  line-height:1.38;
}
body[data-route="request"] .agreement-fee-term strong {
  font-size:20px;
  line-height:1.1;
  letter-spacing:-.025em;
}
body[data-route="request"] .agreement-fee-term small {
  display:block;
  margin-top:5px;
  color:var(--artx-component-subtle);
  font-size:9px;
  text-decoration:line-through;
}
body[data-route="request"] .agreement-rights-term {
  grid-column:span 2;
}
body[data-route="request"] .agreement-rights-term > div {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
}
body[data-route="request"] .agreement-right-pill {
  display:inline-flex!important;
  align-items:center;
  width:auto;
  min-height:25px;
  margin:0!important;
  padding:0 8px;
  border:1px solid #d8d4e5;
  border-radius:999px;
  background:#f6f3fb;
  color:#54486e!important;
  font-size:9px!important;
  font-weight:650!important;
  letter-spacing:0!important;
  text-transform:none!important;
}
body[data-route="request"] .agreement-context-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:22px;
  padding:19px 0;
  border-bottom:1px solid #e3e6e3;
}
body[data-route="request"] .agreement-context-grid > div:only-child { grid-column:1/-1; }
body[data-route="request"] .agreement-context-grid p {
  margin:0;
  color:#474d48;
  font-size:11.5px;
  line-height:1.55;
  white-space:pre-wrap;
}
body[data-route="request"] .agreement-accepted-strip {
  display:flex;
  align-items:center;
  gap:10px;
  min-height:52px;
  padding:13px 0;
  color:var(--artx-positive);
}
body[data-route="request"] .agreement-accepted-strip > .ui-icon {
  width:19px;
  height:19px;
}
body[data-route="request"] .agreement-accepted-strip span,
body[data-route="request"] .agreement-accepted-strip strong { display:block; }
body[data-route="request"] .agreement-accepted-strip span {
  margin-bottom:2px;
  font-size:9px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
body[data-route="request"] .agreement-accepted-strip strong {
  font-size:11px;
  color:var(--artx-component-ink);
}
body[data-route="request"] .agreement-response {
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:18px;
  align-items:center;
  margin-top:0;
  padding:17px 22px;
  border-top:1px solid #e0e3e0;
  background:#f8f9f7;
}
body[data-route="request"] .agreement-response.waiting { background:#fbfbfa; }
body[data-route="request"] .agreement-response h3 {
  margin:3px 0!important;
  font-size:14px!important;
  font-weight:700!important;
}
body[data-route="request"] .agreement-response p:not(.eyebrow) {
  margin:0;
  color:var(--artx-component-subtle);
  font-size:10.5px;
}
body[data-route="request"] .agreement-response > div:last-child {
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-end;
  gap:7px;
}
body[data-route="request"] .agreement-log-card { padding-bottom:10px; }
body[data-route="request"] .agreement-log { position:relative; }
body[data-route="request"] .agreement-log-entry {
  position:relative;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  gap:13px;
  padding:0 0 18px;
}
body[data-route="request"] .agreement-log-entry:last-child { padding-bottom:7px; }
body[data-route="request"] .agreement-log-entry:not(:last-child)::before {
  content:"";
  position:absolute;
  left:16px;
  top:32px;
  bottom:0;
  width:1px;
  background:#dfe3df;
}
body[data-route="request"] .agreement-log-icon {
  position:relative;
  z-index:1;
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid #d8dcd8;
  border-radius:8px;
  background:#fff;
  color:#6f7770;
}
body[data-route="request"] .agreement-log-entry.accepted .agreement-log-icon {
  border-color:rgba(47,97,70,.22);
  background:var(--artx-positive-bg);
  color:var(--artx-positive);
}
body[data-route="request"] .agreement-log-entry.issue .agreement-log-icon {
  border-color:rgba(125,75,56,.22);
  background:var(--artx-danger-bg);
  color:var(--artx-danger);
}
body[data-route="request"] .agreement-log-entry.payment .agreement-log-icon {
  border-color:rgba(111,83,27,.20);
  background:var(--artx-warning-bg);
  color:var(--artx-warning);
}
body[data-route="request"] .agreement-log-title {
  display:flex;
  justify-content:space-between;
  gap:14px;
  align-items:baseline;
}
body[data-route="request"] .agreement-log-title h3 {
  margin:1px 0 3px!important;
  font-size:12px!important;
  line-height:1.35!important;
  font-weight:700!important;
}
body[data-route="request"] .agreement-log-title time,
body[data-route="request"] .agreement-log-meta,
body[data-route="request"] .agreement-log-note {
  font-size:10px;
  line-height:1.48;
}
body[data-route="request"] .agreement-log-title time {
  color:#858c86;
  white-space:nowrap;
}
body[data-route="request"] .agreement-log-meta {
  margin:0;
  color:#5f6761;
}
body[data-route="request"] .agreement-log-note {
  margin:4px 0 0;
  color:#7c837e;
}

body[data-route="request"] .agreement-conversation-card .agreement-section-head {
  margin-bottom:14px;
}
body[data-route="request"] .agreement-message-list {
  display:grid;
  gap:8px;
  margin:0!important;
}
body[data-route="request"] .agreement-message-list article {
  width:fit-content;
  min-width:0;
  max-width:min(78%,680px)!important;
  justify-self:start;
  margin:0!important;
  padding:12px 14px!important;
  border:1px solid #dfe3df;
  border-radius:9px!important;
  background:#fafbfa!important;
}
body[data-route="request"] .agreement-message-list article.mine {
  justify-self:end;
  margin-left:0!important;
  border-color:#d9d4e8;
  background:#f5f2fa!important;
}
body[data-route="request"] .agreement-message-list article > div {
  display:flex;
  justify-content:space-between;
  gap:16px;
  align-items:baseline;
}
body[data-route="request"] .agreement-message-list article b { font-size:10px; }
body[data-route="request"] .agreement-message-list article time {
  color:var(--artx-component-subtle);
  font-size:9px;
}
body[data-route="request"] .agreement-message-list article p {
  margin:5px 0 0!important;
  padding:0!important;
  background:transparent!important;
  font-size:11px;
  line-height:1.5;
  white-space:pre-wrap;
}
body[data-route="request"] .agreement-empty-message {
  min-height:62px;
  display:grid;
  place-items:center;
  border:1px dashed #d8dcd8;
  border-radius:9px;
  color:var(--artx-component-subtle);
  font-size:11px;
}

body[data-route="request"] .agreement-payment {
  display:block!important;
  margin:0!important;
}
body[data-route="request"] .agreement-payment-amount {
  display:grid;
  gap:4px;
  margin:3px 0 14px;
}
body[data-route="request"] .agreement-payment-amount span {
  color:var(--artx-component-subtle);
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-route="request"] .agreement-payment-amount strong {
  font-size:31px;
  font-weight:700;
  line-height:1;
  letter-spacing:-.04em;
}
body[data-route="request"] .agreement-payment-breakdown {
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:0!important;
  margin:0 0 14px!important;
  border:1px solid #dfe3df;
  border-radius:8px;
  overflow:hidden;
}
body[data-route="request"] .agreement-payment-breakdown :is(dt,dd) {
  margin:0!important;
  padding:9px 10px;
  border-bottom:1px solid #e5e8e5;
  font-size:10px;
}
body[data-route="request"] .agreement-payment-breakdown dt {
  margin:0!important;
  letter-spacing:0;
  text-transform:none;
}
body[data-route="request"] .agreement-payment-breakdown dd {
  text-align:right;
  font-weight:700;
}
body[data-route="request"] .agreement-payment-breakdown :is(dt,dd):nth-last-child(-n+2) { border-bottom:0; }
body[data-route="request"] .payment-panel-actions {
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:13px;
}
body[data-route="request"] .payment-panel-actions .button { flex:1 1 auto; }
body[data-route="request"] .payment-panel-note,
body[data-route="request"] .agreement-side-note,
body[data-route="request"] .agreement-issue-help {
  margin:10px 0 0!important;
  color:var(--artx-component-subtle);
  font-size:9.5px;
  line-height:1.5;
}
body[data-route="request"] .payment-sandbox-label {
  display:inline-flex;
  margin-top:10px;
  padding:5px 7px;
  border-radius:999px;
  background:#f2edf9;
  color:#66557f;
  font-size:8px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

body[data-route="request"] .agreement-record-card dl {
  display:grid!important;
  grid-template-columns:92px minmax(0,1fr)!important;
  gap:0!important;
  margin:0!important;
  border-top:1px solid #e3e6e3;
}
body[data-route="request"] .agreement-record-card :is(dt,dd) {
  margin:0!important;
  padding:8px 0;
  border-bottom:1px solid #eceeec;
  font-size:10px;
}
body[data-route="request"] .agreement-record-card dt {
  margin:0!important;
  padding-right:10px;
}
body[data-route="request"] .agreement-record-card dd {
  overflow-wrap:anywhere;
  font-weight:600;
}
body[data-route="request"] .agreement-record-card details {
  margin-top:12px;
  border:1px solid #e0e3e0;
  border-radius:8px;
  padding:9px 10px;
  font-size:9.5px;
}
body[data-route="request"] .agreement-record-card summary { cursor:pointer; font-weight:700; }
body[data-route="request"] .agreement-record-card code {
  display:block;
  margin-top:8px;
  overflow-wrap:anywhere;
  color:var(--artx-component-subtle);
  font-size:8.5px;
}

body[data-route="request"] .agreement-issue-list {
  display:grid;
  gap:8px;
}
body[data-route="request"] .agreement-issue {
  padding:11px;
  border:1px solid #e0e3e0;
  border-radius:8px;
  background:#fbfbfa;
}
body[data-route="request"] .agreement-issue.open {
  border-color:rgba(125,75,56,.22);
  background:var(--artx-danger-bg);
}
body[data-route="request"] .agreement-issue > div:first-child {
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:center;
}
body[data-route="request"] .agreement-issue > div:first-child > span:first-child {
  color:var(--artx-component-subtle);
  font-size:9px;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.06em;
}
body[data-route="request"] .agreement-issue h3 {
  margin:8px 0 4px!important;
  font-size:11.5px!important;
  line-height:1.4!important;
  font-weight:700!important;
}
body[data-route="request"] .agreement-issue p {
  margin:0 0 7px;
  font-size:10px;
  line-height:1.5;
}
body[data-route="request"] .agreement-issue small {
  display:block;
  margin-bottom:8px;
  color:var(--artx-component-subtle);
  font-size:8.5px;
}

body[data-route="request"] [data-request-issue-form] select {
  background-color:#fff!important;
}

@media (max-width:1050px) {
  body[data-route="request"] .agreement-workspace-grid {
    grid-template-columns:minmax(0,1.45fr) minmax(280px,.75fr);
  }
  body[data-route="request"] .agreement-terms-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  body[data-route="request"] .agreement-rights-term { grid-column:1/-1; }
}

@media (max-width:840px) {
  body[data-route="request"] .request-detail.agreement-workspace {
    padding:26px 20px 56px!important;
  }
  body[data-route="request"] .agreement-page-head,
  body[data-route="request"] .agreement-workspace-grid {
    grid-template-columns:1fr;
  }
  body[data-route="request"] .agreement-page-head { align-items:start; }
  body[data-route="request"] .agreement-head-side {
    width:100%;
    grid-template-columns:auto 1fr;
    justify-items:start;
    align-items:end;
  }
  body[data-route="request"] .agreement-head-fee { justify-items:start; text-align:left; }
  body[data-route="request"] .agreement-head-actions { justify-self:end; }
  body[data-route="request"] .agreement-side-column { position:static; }
}

@media (max-width:620px) {
  body[data-route="request"] .agreement-page-head h1 { font-size:38px!important; }
  body[data-route="request"] .agreement-head-side { grid-template-columns:1fr; }
  body[data-route="request"] .agreement-head-actions { justify-self:start; justify-content:flex-start; }
  body[data-route="request"] .agreement-stage-card {
    grid-template-columns:38px minmax(0,1fr);
    padding:15px;
  }
  body[data-route="request"] .agreement-stage-card > .status { grid-column:2; justify-self:start; }
  body[data-route="request"] .agreement-stage-icon { width:38px; height:38px; }
  body[data-route="request"] :is(.agreement-card,.agreement-side-card) { padding:17px; }
  body[data-route="request"] .current-agreement-card { padding:0!important; }
  body[data-route="request"] .current-agreement-card > :not(.agreement-response) { margin-left:17px; margin-right:17px; }
  body[data-route="request"] .agreement-terms-grid { grid-template-columns:1fr; margin:0 17px!important; }
  body[data-route="request"] .agreement-rights-term { grid-column:auto; }
  body[data-route="request"] .agreement-context-grid { grid-template-columns:1fr; }
  body[data-route="request"] .agreement-response { grid-template-columns:1fr; padding:15px 17px; }
  body[data-route="request"] .agreement-response > div:last-child { justify-content:flex-start; }
  body[data-route="request"] .agreement-message-list article { min-width:0; max-width:94%!important; }
  body[data-route="request"] .agreement-log-title { display:block; }
  body[data-route="request"] .agreement-log-title time { display:block; margin-top:2px; }
}


/* ARTSX v1.9.116 — Studio-embedded agreement control workspace
   Keeps request/agreement records inside the Studio rail and frame, strengthens
   state signalling, removes the empty terms-grid cell, clarifies revision icons,
   and gives the agreement payment card a compact Stripe-aware treatment. */
body[data-route="request"] .request-detail.agreement-workspace {
  width:100%!important;
  max-width:var(--studio-frame)!important;
  margin:0 auto!important;
  padding:0 0 72px!important;
}

body[data-route="request"] .request-back-link {
  margin-bottom:20px!important;
}

body[data-route="request"] .agreement-stage-card {
  --agreement-stage-accent:var(--artx-component-line-hover);
  border-left:3px solid var(--agreement-stage-accent)!important;
  box-shadow:0 8px 24px rgba(24,29,25,.025);
}
body[data-route="request"] .agreement-stage-card.accepted {
  --agreement-stage-accent:var(--artx-positive);
  border-color:rgba(47,97,70,.28)!important;
  border-left-color:var(--agreement-stage-accent)!important;
  background:linear-gradient(105deg,#e9f5ee 0%,#f6fbf8 46%,#fff 100%)!important;
}
body[data-route="request"] .agreement-stage-card.pending {
  --agreement-stage-accent:var(--artx-warning);
  border-color:rgba(111,83,27,.24)!important;
  border-left-color:var(--agreement-stage-accent)!important;
  background:linear-gradient(105deg,#f8f0dc 0%,#fcf8ef 46%,#fff 100%)!important;
}
body[data-route="request"] .agreement-stage-card.processing {
  --agreement-stage-accent:var(--studio-sky-ink,#405d82);
  border-color:rgba(64,93,130,.24)!important;
  border-left-color:var(--agreement-stage-accent)!important;
  background:linear-gradient(105deg,#edf3fb 0%,#f7f9fc 46%,#fff 100%)!important;
}
body[data-route="request"] .agreement-stage-card.declined {
  --agreement-stage-accent:var(--artx-danger);
  border-color:rgba(125,75,56,.24)!important;
  border-left-color:var(--agreement-stage-accent)!important;
  background:linear-gradient(105deg,#faece7 0%,#fcf6f3 46%,#fff 100%)!important;
}
body[data-route="request"] .agreement-stage-card.accepted .agreement-stage-icon {
  border-color:rgba(47,97,70,.18)!important;
  background:var(--artx-positive-bg)!important;
  color:var(--artx-positive)!important;
}
body[data-route="request"] .agreement-stage-card.pending .agreement-stage-icon {
  border-color:rgba(111,83,27,.16)!important;
  background:var(--artx-warning-bg)!important;
  color:var(--artx-warning)!important;
}
body[data-route="request"] .agreement-stage-card.processing .agreement-stage-icon {
  border-color:rgba(64,93,130,.16)!important;
  background:var(--studio-sky-bg,#f0f4fa)!important;
  color:var(--studio-sky-ink,#405d82)!important;
}
body[data-route="request"] .agreement-stage-card.declined .agreement-stage-icon {
  border-color:rgba(125,75,56,.16)!important;
  background:var(--artx-danger-bg)!important;
  color:var(--artx-danger)!important;
}

/* Rights is a full-width agreement term: do not leave an implied empty cell. */
body[data-route="request"] .agreement-rights-term {
  grid-column:1 / -1!important;
}

/* Cancellation / withdrawal is a participant-defined request term. Keep it factual and full-width. */
body[data-route="request"] .agreement-cancellation-term {
  grid-column:1 / -1!important;
  min-height:0!important;
}
body[data-route="request"] .agreement-cancellation-term p {
  max-width:860px;
  margin:0;
  color:var(--artx-component-ink,#202421);
  font-size:11px;
  line-height:1.55;
  white-space:pre-wrap;
}

/* Revision/counter events use their own exchange/revision symbol rather than the
   signing pencil, which is reserved elsewhere for editing/signing semantics. */
body[data-route="request"] .agreement-log-entry.proposal .agreement-log-icon {
  border-color:#d9d4e8!important;
  background:#f5f2fa!important;
  color:#5c4e75!important;
}

/* Payment is supporting information, but should read as a deliberate transaction
   surface. Stripe branding uses the existing official Powered by Stripe asset. */
body[data-route="request"] .agreement-payment {
  border-top:3px solid #635bff!important;
  background:linear-gradient(180deg,#fff 0%,#fbfaff 100%)!important;
  overflow:hidden;
}
body[data-route="request"] .agreement-payment-title {
  min-width:0;
  display:flex;
  align-items:center;
  gap:10px;
}
body[data-route="request"] .agreement-payment-icon {
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  flex:0 0 36px;
  border:1px solid #ddd8ff;
  border-radius:8px;
  background:#f2f0ff;
  color:#5147c8;
}
body[data-route="request"] .agreement-payment-icon .ui-icon {
  width:17px;
  height:17px;
}
body[data-route="request"] .agreement-payment-hero {
  display:grid;
  gap:4px;
  margin:3px 0 14px;
  padding:14px;
  border:1px solid #e4e0f7;
  border-radius:9px;
  background:rgba(255,255,255,.76);
}
body[data-route="request"] .agreement-payment-hero > span {
  color:var(--artx-component-subtle);
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-route="request"] .agreement-payment-hero > strong {
  font-size:32px;
  font-weight:700;
  line-height:1;
  letter-spacing:-.04em;
}
body[data-route="request"] .agreement-payment-provider {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
  padding-top:12px;
  border-top:1px solid #e5e2f3;
}
body[data-route="request"] .agreement-payment-provider .stripe-powered-badge img {
  width:96px;
}
body[data-route="request"] .agreement-payment-provider .payment-sandbox-label {
  margin-top:0;
}

@media (max-width:840px) {
  body[data-route="request"] .request-detail.agreement-workspace {
    padding:0 0 56px!important;
  }
}

/* ARTSX v1.9.118 — Agreement page clarity + Studio title alignment.
   The request record now begins on the same Studio title datum as the rest of the
   dashboard, with a single role-aware section breadcrumb and no duplicated fee,
   status or record metadata in the page header. */
body[data-route="request"] .request-detail.agreement-workspace {
  width:100%!important;
  margin:0!important;
  padding:0 0 72px!important;
}
body[data-route="request"] .agreement-page-head {
  align-items:end!important;
  gap:24px!important;
  padding:0 0 24px!important;
}
body[data-route="request"] .agreement-head-main {
  min-width:0;
}
body[data-route="request"] .request-section-back {
  width:max-content;
  display:inline-flex;
  align-items:center;
  gap:7px;
  margin:0 0 7px;
  color:var(--sx-muted,var(--artx-component-subtle));
}
body[data-route="request"] .request-section-back > span:first-child {
  font-size:12px;
  line-height:1;
  transform:translateY(-.5px);
}
body[data-route="request"] .request-section-back:hover {
  color:var(--sx-ink,var(--artx-component-ink));
}
body[data-route="request"] .agreement-page-head h1 {
  max-width:850px!important;
  margin:6px 0 10px!important;
  font-family:inherit!important;
  font-size:clamp(30px,2.55vw,40px)!important;
  font-weight:620!important;
  line-height:1.04!important;
  letter-spacing:-.035em!important;
}
body[data-route="request"] .agreement-head-meta {
  gap:8px 18px!important;
}
body[data-route="request"] .agreement-head-actions {
  align-self:end;
  justify-content:flex-end!important;
  gap:8px;
  padding-bottom:1px;
}

/* The payment surface has one visible title. Status remains concise and the
   explanatory line below carries any participant-specific setup context. */
body[data-route="request"] .agreement-payment-title {
  align-items:center!important;
}
body[data-route="request"] .agreement-payment-title h2 {
  margin:0!important;
}
body[data-route="request"] .agreement-payment > .agreement-side-card-head > .status {
  white-space:nowrap;
}

/* The on-screen agreement record is intentionally participant-facing. The
   integrity hash remains available in the exported record rather than adding
   technical detail to the everyday Studio control view. */
body[data-route="request"] .agreement-record-card dl {
  margin-bottom:0!important;
}

@media (max-width:840px) {
  body[data-route="request"] .agreement-page-head {
    grid-template-columns:1fr!important;
    align-items:start!important;
  }
  body[data-route="request"] .agreement-head-actions {
    justify-content:flex-start!important;
  }
}


/* ARTSX v1.9.119 — Agreement workspace optical alignment + side-column repair.
   The section eyebrow now participates as a block-level flex row, matching the
   established Studio title datum without a route-specific magic top offset.
   The agreement support column is no longer an <aside>, preventing legacy
   .studio-shell>aside rail rules from adding padding/height to the payment rail. */
body[data-route="request"] .request-section-back {
  display:flex!important;
  line-height:1!important;
  vertical-align:top!important;
}
body[data-route="request"] .request-section-back .eyebrow {
  line-height:1.2!important;
}
body[data-route="request"] .agreement-side-column {
  align-self:start!important;
  height:auto!important;
  min-height:0!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
  color:inherit!important;
  overflow:visible!important;
}
body[data-route="request"] .agreement-side-column > :first-child {
  margin-top:0!important;
}

/* Agreement is a meaningful completed state, so the success treatment is more
   legible than the previous near-white wash while staying within the mint family. */
body[data-route="request"] .agreement-stage-card.accepted {
  border-color:rgba(47,97,70,.34)!important;
  border-left:4px solid var(--artx-positive)!important;
  background:linear-gradient(105deg,#dff0e6 0%,#edf7f1 46%,#f9fcfa 100%)!important;
  box-shadow:0 8px 24px rgba(47,97,70,.045)!important;
}
body[data-route="request"] .agreement-stage-card.accepted .agreement-stage-icon {
  border-color:var(--artx-positive)!important;
  background:var(--artx-positive)!important;
  color:#fff!important;
}
body[data-route="request"] .agreement-stage-card.accepted .agreement-stage-icon .ui-icon {
  stroke-width:1.8!important;
}


/* ARTSX v1.9.136 — Overview compact readiness + concise activity indicators
   Overview only. Profile readiness keeps the established informational structure while reducing
   unused vertical space. Latest activity/attention pills are intentionally short status cues;
   full request state and event detail remains on the request/agreement pages. */
body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) {
  padding: 18px 22px !important;
}

body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) header {
  align-items: center !important;
  gap: 18px !important;
}

body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) h2 {
  margin: 3px 0 0 !important;
  font-size: 20px !important;
  line-height: 1.15 !important;
}

body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) header > strong {
  font-size: 16px !important;
  line-height: 1 !important;
}

body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) .readiness-bar {
  height: 4px !important;
  margin: 14px 0 13px !important;
}

body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) .readiness-items {
  gap: 8px 16px !important;
}

body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) .readiness-items > span {
  font-size: 10px !important;
  line-height: 1.2 !important;
}

body[data-route="studio"] .dashboard-priority-grid.single .studio-readiness:not(.ready) .readiness-items {
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
}

body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) footer {
  margin-top: 13px !important;
  padding-top: 12px !important;
  gap: 18px !important;
}

body[data-route="studio"] .dashboard-priority-grid .studio-readiness:not(.ready) footer > span {
  font-size: 10px !important;
  line-height: 1.3 !important;
}

body[data-route="studio"] .activity-item.activity-item-simple {
  grid-template-columns: 72px minmax(0,1fr) auto !important;
  min-height: 86px !important;
  gap: 18px !important;
  padding: 15px 20px !important;
}

body[data-route="studio"] .activity-item-simple > .task-tone,
body[data-route="studio"] .next-step-row > .task-tone {
  min-width: 62px !important;
  max-width: 82px !important;
  box-sizing: border-box !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1 !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-title h3 {
  font-size: 16px !important;
}

body[data-route="studio"] .activity-item-simple .activity-item-meta {
  margin-top: 6px !important;
}

@media (max-width: 1120px) {
  body[data-route="studio"] .dashboard-priority-grid.single .studio-readiness:not(.ready) .readiness-items {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}

@media (max-width: 760px) {
  body[data-route="studio"] .dashboard-priority-grid.single .studio-readiness:not(.ready) .readiness-items {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  body[data-route="studio"] .activity-item.activity-item-simple {
    grid-template-columns: 68px minmax(0,1fr) !important;
  }
}

@media (max-width: 480px) {
  body[data-route="studio"] .dashboard-priority-grid.single .studio-readiness:not(.ready) .readiness-items {
    grid-template-columns: 1fr !important;
  }
  body[data-route="studio"] .activity-item.activity-item-simple {
    grid-template-columns: 1fr !important;
  }
  body[data-route="studio"] .activity-item-simple > .task-tone {
    justify-self: start !important;
  }
}

/* Arts Exchange v1.9.140 — mutual agreement closure.
   The accepted record stays visible; closure is a participant-confirmed lifecycle
   state rather than a destructive action or a payment/refund decision by Arts Exchange. */
body[data-route="request"] .agreement-closure-response.closure-pending {
  background:#fffaf0;
  border-top-color:rgba(111,83,27,.22);
}
body[data-route="request"] .agreement-closure-response.closure-closed {
  background:#f5f6f4;
  border-top-color:#d9dcda;
}
body[data-route="request"] .agreement-closure-response.closure-closed > .status {
  justify-self:end;
}
body[data-route="request"] .agreement-closure-response small {
  display:block;
  margin-top:7px;
  color:var(--artx-component-subtle);
  font-size:10px;
  line-height:1.45;
}
body[data-route="request"] .agreement-closure-form .optional {
  color:var(--artx-component-subtle);
  font-size:10px;
  font-weight:500;
}

/* Arts Exchange v1.9.141 — notification and attention clarity.
   NEW is an unread signal only; workflow state and Needs attention remain separate.
   Badges route users to the relevant Studio section without changing established
   rail geometry or semantic page colours. */
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-primary-nav .studio-nav-label{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-nav-badge,
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .workspace-unread-badge{
  box-sizing:border-box;
  min-width:19px;
  height:19px;
  padding:0 5px;
  display:inline-grid;
  place-items:center;
  border-radius:999px;
  background:#b84b47;
  color:#fff;
  font-size:9px;
  line-height:1;
  font-weight:750;
  letter-spacing:0;
  font-variant-numeric:tabular-nums;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .studio-nav-badge{
  margin-left:auto;
  flex:0 0 auto;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .workspace-switch button{
  position:relative;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .workspace-unread-badge{
  min-width:17px;
  height:17px;
  padding:0 4px;
  font-size:8px;
}
body[data-route="studio"] .activity-panel .empty.compact{padding:24px!important}
body[data-route="studio"] .activity-panel .empty.compact .empty-icon{margin-bottom:8px!important}
body[data-route="studio"] .activity-panel .empty.compact p{margin:0!important;color:var(--artx-component-subtle,#69706b)!important}

body[data-route="studio"] .activity-panel-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:14px;
  flex-wrap:wrap;
}
body[data-route="studio"] .activity-mark-read{
  appearance:none;
  border:0;
  padding:0;
  background:transparent;
  color:var(--artx-component-subtle,#69706b);
  font:inherit;
  font-size:10.5px;
  font-weight:650;
  cursor:pointer;
  text-decoration:underline;
  text-underline-offset:3px;
}
body[data-route="studio"] .activity-mark-read:hover{color:var(--artx-component-ink,#1c201d)}
body[data-route="studio"] .activity-mark-read:disabled{opacity:.45;cursor:default}
body[data-route="studio"] .activity-item-simple .activity-item-title{
  display:flex!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0;
}
body[data-route="studio"] .activity-item-simple .activity-item-title .new-badge{
  flex:0 0 auto;
  padding:3px 7px!important;
  font-size:8.5px!important;
}
body[data-route="studio"] .activity-item-simple.unread{
  background:rgba(217,245,232,.18)!important;
}
body[data-route="studio"] .refined-request-row .new-badge{
  padding:3px 7px!important;
  font-size:8.5px!important;
}
@media(max-width:760px){
  body[data-route="studio"] .activity-panel-head{align-items:flex-start!important}
  body[data-route="studio"] .activity-panel-actions{justify-content:flex-start}
}

/* Arts Exchange v1.9.148 — Requests / Agreements index refinement.
   The detailed agreement page owns workflow depth; these Studio indexes stay
   compact, sortable and scannable using the same visual language as Overview. */
body[data-route="studio"] .request-index-list{
  display:grid;
  grid-template-columns:1fr;
  gap:0;
  margin-top:22px;
  overflow:hidden;
  border:1px solid var(--artx-component-line,#d8ddd9);
  border-radius:14px;
  background:rgba(255,255,255,.78);
  box-shadow:var(--artx-component-shadow,0 10px 30px rgba(25,31,27,.04));
}
body[data-route="studio"] .request-index-row{
  appearance:none;
  display:grid;
  grid-template-columns:82px minmax(0,1fr) 138px;
  align-items:center;
  gap:22px;
  width:100%;
  min-height:112px;
  padding:18px 22px;
  border:0;
  border-bottom:1px solid var(--artx-component-line,#d8ddd9);
  background:transparent;
  color:var(--artx-component-ink,#1c201d);
  font:inherit;
  text-align:left;
  cursor:pointer;
  transition:background-color .18s ease;
}
body[data-route="studio"] .request-index-row:last-child{border-bottom:0}
body[data-route="studio"] .request-index-row:hover{background:rgba(255,255,255,.9)}
body[data-route="studio"] .request-index-row.unread{background:rgba(217,245,232,.2)}
body[data-route="studio"] .request-index-row:focus-visible{outline:2px solid var(--artx-component-ink,#1c201d);outline-offset:-3px}
body[data-route="studio"] .request-index-status{
  justify-self:start;
  min-width:70px;
  max-width:82px;
  justify-content:center;
  white-space:nowrap;
}
body[data-route="studio"] .request-index-main{min-width:0}
body[data-route="studio"] .request-index-title{
  display:flex;
  align-items:center;
  gap:9px;
  min-width:0;
}
body[data-route="studio"] .request-index-title h3{
  min-width:0;
  margin:0;
  overflow:hidden;
  color:var(--artx-component-ink,#1c201d);
  font-size:19px;
  line-height:1.15;
  text-overflow:ellipsis;
  white-space:nowrap;
}
body[data-route="studio"] .request-index-title .new-badge{flex:0 0 auto;padding:3px 7px;font-size:8.5px}
body[data-route="studio"] .request-index-work{
  margin:4px 0 0;
  color:var(--artx-component-subtle,#69706b);
  font-size:11px;
  line-height:1.35;
}
body[data-route="studio"] .request-index-meta{
  display:flex;
  align-items:center;
  gap:18px;
  min-width:0;
  margin-top:10px;
  color:var(--artx-component-subtle,#69706b);
  font-size:10.5px;
  line-height:1.25;
}
body[data-route="studio"] .request-index-meta span{
  display:inline-flex;
  align-items:center;
  gap:6px;
  min-width:0;
  white-space:nowrap;
}
body[data-route="studio"] .request-index-meta .ui-icon{width:15px;height:15px;flex:0 0 auto}
body[data-route="studio"] .request-index-side{
  display:grid;
  grid-template-columns:1fr;
  justify-items:end;
  align-content:center;
  gap:4px;
  min-width:0;
}
body[data-route="studio"] .request-index-side>strong{
  color:var(--artx-component-ink,#1c201d);
  font-size:20px;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
body[data-route="studio"] .request-index-side>small{
  color:var(--artx-component-subtle,#69706b);
  font-size:9px;
}
body[data-route="studio"] .request-index-action.button{
  min-width:82px;
  height:38px;
  margin-top:6px;
  padding:0 12px;
  justify-content:center;
  white-space:nowrap;
  pointer-events:none;
}
body[data-route="studio"] .request-index-action .ui-icon{width:14px;height:14px}

@media(max-width:1050px){
  body[data-route="studio"] .request-index-row{
    grid-template-columns:76px minmax(0,1fr) 112px;
    gap:16px;
    padding-inline:18px;
  }
  body[data-route="studio"] .request-index-meta{gap:12px;flex-wrap:wrap}
}
@media(max-width:760px){
  body[data-route="studio"] .request-index-row{
    grid-template-columns:72px minmax(0,1fr);
    min-height:0;
    align-items:start;
  }
  body[data-route="studio"] .request-index-side{
    grid-column:2;
    grid-template-columns:auto auto;
    justify-items:start;
    justify-content:start;
    align-items:center;
    gap:8px 12px;
  }
  body[data-route="studio"] .request-index-side>small{order:2}
  body[data-route="studio"] .request-index-action.button{grid-column:1/-1;margin-top:2px}
}
@media(max-width:520px){
  body[data-route="studio"] .request-index-row{
    grid-template-columns:1fr;
    gap:10px;
    padding:16px;
  }
  body[data-route="studio"] .request-index-status{justify-self:start}
  body[data-route="studio"] .request-index-title h3{white-space:normal}
  body[data-route="studio"] .request-index-meta{display:grid;gap:6px;margin-top:9px}
  body[data-route="studio"] .request-index-side{grid-column:1;grid-template-columns:auto auto;justify-content:space-between;width:100%}
  body[data-route="studio"] .request-index-action.button{grid-column:1/-1;justify-self:start}
}

/* Arts Exchange v1.9.149 — unread discovery + compact index clarity.
   Request/exhibition index refinements only: status labels are centred,
   missing-fee copy stays on one line, and unread activity is discoverable
   through the same filter vocabulary used by the Studio navigation badges. */
body[data-route="studio"] .request-index-status{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  min-width:76px!important;
  max-width:none!important;
  min-height:28px!important;
  padding:0 10px!important;
  text-align:center!important;
  line-height:1!important;
  white-space:nowrap!important;
}
body[data-route="studio"] .request-index-row{
  grid-template-columns:82px minmax(0,1fr) 150px;
}
body[data-route="studio"] .request-index-side>strong{
  max-width:150px;
  white-space:nowrap;
}
body[data-route="studio"] .request-index-side>strong.request-index-no-fee{
  font-size:14px;
  line-height:1.15;
  font-weight:600;
}
body[data-route="studio"] .studio-directory-toolbar .directory-primary-filters button{
  display:inline-flex;
  align-items:center;
  gap:7px;
}
body[data-route="studio"] .studio-filter-count{
  display:inline-grid;
  place-items:center;
  box-sizing:border-box;
  min-width:18px;
  height:18px;
  padding:0 5px;
  border-radius:999px;
  background:#c7554e;
  color:#fff;
  font-size:9px;
  font-weight:700;
  line-height:1;
  font-variant-numeric:tabular-nums;
}
body[data-route="studio"] .studio-exhibition-meta .artist-exhibition-new{
  flex:0 0 auto;
  margin-left:auto;
  padding:3px 7px;
  font-size:8.5px;
}
body[data-route="studio"] .visual-exhibition-card.has-unread-activity{
  box-shadow:0 0 0 1px rgba(66,126,96,.16),var(--artx-component-shadow,0 10px 30px rgba(25,31,27,.04));
}
@media(max-width:1050px){
  body[data-route="studio"] .request-index-row{
    grid-template-columns:76px minmax(0,1fr) 132px;
  }
  body[data-route="studio"] .request-index-side>strong{max-width:132px}
}
@media(max-width:760px){
  body[data-route="studio"] .request-index-row{
    grid-template-columns:76px minmax(0,1fr);
  }
  body[data-route="studio"] .request-index-side>strong{max-width:none}
}
@media(max-width:520px){
  body[data-route="studio"] .request-index-row{grid-template-columns:1fr}
}

/* ARTSX v1.9.151 — Studio Overview priority-panel parity
   Artist and Curator Overview now share the same compact priority-card rhythm: incomplete profile
   setup and Needs attention keep their natural height, align from the top, and collapse cleanly
   when only one panel is present. Curator Exhibitions remains the compact project index introduced
   in v1.9.150; no Artist workflow or content is duplicated. */
body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) {
  align-items: start !important;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.18fr) !important;
  gap: 14px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator).single {
  grid-template-columns: minmax(0,1fr) !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) > .studio-readiness,
body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) > .next-steps {
  min-height: 0 !important;
  height: auto !important;
  align-self: start !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) {
  padding: 16px 18px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) header {
  gap: 14px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) h2 {
  margin-top: 2px !important;
  font-size: 18px !important;
  line-height: 1.15 !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) header > strong {
  font-size: 15px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) .readiness-bar {
  margin: 11px 0 10px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) .readiness-items {
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  gap: 7px 14px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) footer {
  margin-top: 11px !important;
  padding-top: 10px !important;
  min-height: 32px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) footer > span {
  white-space: nowrap !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-steps > .panel-head {
  padding: 16px 18px 13px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-steps h2 {
  margin-top: 3px !important;
  font-size: 19px !important;
  line-height: 1.15 !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-step-row {
  grid-template-columns: 76px minmax(0,1fr) auto !important;
  gap: 12px 14px !important;
  padding: 13px 18px !important;
  min-height: 72px !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-step-row h3 {
  margin-bottom: 3px !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-step-row p {
  font-size: 10.5px !important;
  line-height: 1.35 !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-step-row > .attention-action.button {
  min-width: 84px !important;
  min-height: 36px !important;
  padding: 7px 10px !important;
}

body[data-route="studio"] .overview-project-index {
  padding: 0 !important;
  overflow: hidden !important;
}

body[data-route="studio"] .overview-project-index > .panel-head {
  margin: 0 !important;
  padding: 18px 20px 15px !important;
  border-bottom: 1px solid var(--sx-line) !important;
}

body[data-route="studio"] .overview-project-index > .panel-head h2 {
  margin-top: 3px !important;
  font-size: 19px !important;
  line-height: 1.2 !important;
}

body[data-route="studio"] .overview-project-head-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 18px !important;
}

body[data-route="studio"] .overview-project-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
}

body[data-route="studio"] .overview-project-row {
  display: grid !important;
  grid-template-columns: 78px minmax(190px,1.2fr) minmax(145px,.8fr) auto !important;
  align-items: center !important;
  gap: 14px 18px !important;
  min-height: 76px !important;
  padding: 14px 20px !important;
  border-bottom: 1px solid var(--sx-line) !important;
  color: inherit !important;
  text-decoration: none !important;
  background: #fff !important;
  transition: background .14s ease !important;
}

body[data-route="studio"] .overview-project-row:last-child {
  border-bottom: 0 !important;
}

body[data-route="studio"] .overview-project-row:hover {
  background: var(--sx-surface-2) !important;
}

body[data-route="studio"] .overview-project-row > .status {
  justify-self: start !important;
  min-width: 64px !important;
  justify-content: center !important;
  text-align: center !important;
  white-space: nowrap !important;
}

body[data-route="studio"] .overview-project-main {
  min-width: 0 !important;
}

body[data-route="studio"] .overview-project-main h3 {
  margin: 0 0 4px !important;
  font-size: 16px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

body[data-route="studio"] .overview-project-main p,
body[data-route="studio"] .overview-project-progress {
  margin: 0 !important;
  color: var(--muted) !important;
  font-size: 10.5px !important;
  line-height: 1.35 !important;
}

body[data-route="studio"] .overview-project-progress {
  white-space: nowrap !important;
}

body[data-route="studio"] .overview-project-action {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body[data-route="studio"] .overview-project-action .ui-icon {
  width: 14px !important;
  height: 14px !important;
}

@media (max-width: 1040px) {
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) {
    grid-template-columns: 1fr !important;
  }
  body[data-route="studio"] .overview-project-row {
    grid-template-columns: 76px minmax(0,1fr) auto !important;
  }
  body[data-route="studio"] .overview-project-progress {
    grid-column: 2 !important;
    grid-row: 2 !important;
  }
  body[data-route="studio"] .overview-project-action {
    grid-column: 3 !important;
    grid-row: 1 / span 2 !important;
  }
}

@media (max-width: 680px) {
  body[data-route="studio"] .overview-project-index > .panel-head {
    align-items: flex-start !important;
  }
  body[data-route="studio"] .overview-project-head-actions {
    gap: 12px !important;
  }
  body[data-route="studio"] .overview-project-row {
    grid-template-columns: 1fr auto !important;
    gap: 8px 14px !important;
    min-height: 0 !important;
    padding: 14px 16px !important;
  }
  body[data-route="studio"] .overview-project-row > .status {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }
  body[data-route="studio"] .overview-project-main {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
  }
  body[data-route="studio"] .overview-project-progress {
    grid-column: 1 !important;
    grid-row: 3 !important;
    white-space: normal !important;
  }
  body[data-route="studio"] .overview-project-action {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) .readiness-items {
    grid-template-columns: 1fr !important;
  }
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) footer {
    align-items: flex-start !important;
    flex-direction: column !important;
    gap: 8px !important;
  }
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-step-row {
    grid-template-columns: 1fr !important;
  }
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-step-row > .task-tone,
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .next-step-row > .attention-action.button {
    justify-self: start !important;
  }
}


/* ARTSX v1.9.152 — adaptive Overview priority-panel repair
   Restores the original dashboard behaviour: a lone Profile setup or Needs attention panel spans
   the full available frame; when both are present they share the row. Profile setup uses the extra
   width to reduce vertical height, with footer guidance anchored to the left and the action to the
   right rather than floating within the card. */
body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) {
  width: 100% !important;
  max-width: none !important;
}

/* Do not rely on the generated .single hook alone: if only one priority panel exists it must span
   the complete grid even if future renderer changes affect the class list. */
body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) > :only-child,
body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator).single > .studio-readiness,
body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator).single > .next-steps {
  grid-column: 1 / -1 !important;
  width: 100% !important;
  max-width: none !important;
  justify-self: stretch !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) {
  padding: 15px 18px 13px !important;
}

/* A single readiness panel can use the available horizontal space instead of becoming a tall
   half-width checklist. The two-panel state intentionally stays at two columns. */
body[data-route="studio"] .dashboard-priority-grid.workspace-curator.single .studio-readiness:not(.ready) .readiness-items {
  grid-template-columns: repeat(5,minmax(0,1fr)) !important;
}
body[data-route="studio"] .dashboard-priority-grid.workspace-artist.single .studio-readiness:not(.ready) .readiness-items {
  grid-template-columns: repeat(6,minmax(0,1fr)) !important;
}

body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) footer {
  display: grid !important;
  grid-template-columns: minmax(0,1fr) auto !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 0 !important;
  margin-top: 9px !important;
  padding: 9px 0 0 !important;
  gap: 16px !important;
}
body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) footer > span {
  justify-self: start !important;
  margin: 0 !important;
  text-align: left !important;
  white-space: normal !important;
}
body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) footer > a {
  justify-self: end !important;
  margin: 0 !important;
  white-space: nowrap !important;
}

@media (max-width: 1180px) {
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator).single .studio-readiness:not(.ready) .readiness-items {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}
@media (max-width: 760px) {
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator).single .studio-readiness:not(.ready) .readiness-items {
    grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  }
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) footer {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator) .studio-readiness:not(.ready) footer > a {
    justify-self: start !important;
  }
}
@media (max-width: 480px) {
  body[data-route="studio"] .dashboard-priority-grid:is(.workspace-artist,.workspace-curator).single .studio-readiness:not(.ready) .readiness-items {
    grid-template-columns: 1fr !important;
  }
}

/* Display-file and provenance capability labels use the same canonical semantics. */
body[data-route="studio"] .display-file-status{
  border-color:color-mix(in srgb,var(--studio-neutral-line,#7b878c) 24%,#fff)!important;
}
body[data-route="studio"] .display-file-status.accepted{
  background:var(--studio-mint-bg,#eaf5ef)!important;
  border-color:color-mix(in srgb,var(--studio-mint-line,#5f9273) 46%,#fff)!important;
  color:var(--studio-mint-ink,#24513a)!important;
}
body[data-route="studio"] .display-file-status.pending{
  background:var(--studio-ochre-bg,#faf4e7)!important;
  border-color:color-mix(in srgb,var(--studio-ochre-line,#ad8440) 44%,#fff)!important;
  color:var(--studio-ochre-ink,#6b4c16)!important;
}
body[data-route="studio"] .display-file-status.declined{
  background:var(--studio-danger-bg,#fbeaea)!important;
  border-color:color-mix(in srgb,var(--studio-danger-line,#d47b77) 52%,#fff)!important;
  color:var(--studio-danger-ink,#77211e)!important;
}
body[data-route="studio"] .display-file-status>i{display:none!important}
:is(body[data-route="studio"],body[data-route="work"],body[data-route="portable"],body[data-route="request"],body[data-route="exhibition-builder"]) .record-layer-badge{
  background:var(--studio-violet-bg,#f3effa)!important;
  border-color:color-mix(in srgb,var(--studio-violet-line,#8a75ad) 36%,#fff)!important;
  color:var(--studio-violet-ink,#594675)!important;
}

/* Arts Exchange v1.9.171 — canonical Work Editor refinement.
   Single-page record editor using the Studio component language directly.
   Presentation balances editable guidance, screen readiness and the optional Portable Record without additional override layers. */
body[data-route="work"] .work-editor-main{padding-top:99px!important;padding-bottom:80px!important}
body[data-route="work"] .work-editor-v2{width:100%!important;max-width:none!important;margin:0!important}
body[data-route="work"] .work-editor-title{align-items:flex-start!important;margin-bottom:24px!important;padding-bottom:22px!important;border-bottom:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-back{display:block!important;width:max-content!important;margin:0!important;color:var(--sx-muted)!important;text-decoration:none!important}
body[data-route="work"] .work-editor-back:hover{color:var(--sx-ink)!important}
body[data-route="work"] .work-editor-title .studio-note{max-width:720px!important}
body[data-route="work"] .work-editor-form{display:grid!important;gap:16px!important}
body[data-route="work"] .work-editor-section{overflow:hidden!important;background:#fff!important;border:1px solid var(--sx-line)!important;border-radius:var(--sx-r-md)!important;box-shadow:var(--sx-shadow)!important}
body[data-route="work"] .work-editor-section-head{display:grid!important;grid-template-columns:38px minmax(0,1fr)!important;align-items:start!important;gap:14px!important;padding:18px 22px 15px!important;border-bottom:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-section-icon{width:38px!important;height:38px!important;display:grid!important;place-items:center!important;align-self:start!important;border:1px solid var(--sx-line)!important;border-radius:9px!important;background:var(--sx-surface-2)!important;color:var(--sx-ink)!important}
body[data-route="work"] .work-editor-section-icon .ui-icon{width:19px!important;height:19px!important;stroke-width:1.45!important}
body[data-route="work"] .work-editor-section-head .eyebrow{margin:0 0 4px!important}
body[data-route="work"] .work-editor-section-head h2{margin:0 0 4px!important;font-size:20px!important;line-height:1.15!important}
body[data-route="work"] .work-editor-section-head p:last-child{max-width:760px!important;margin:0!important;color:var(--sx-muted)!important;font-size:12.5px!important;line-height:1.45!important}
body[data-route="work"] .work-editor-section-body{padding:20px 22px 22px!important}
body[data-route="work"] .work-editor-v2 textarea{resize:vertical!important}
body[data-route="work"] .work-editor-core{display:grid!important;grid-template-columns:minmax(245px,340px) minmax(0,1fr)!important;gap:26px!important;align-items:stretch!important}
body[data-route="work"] .work-editor-media{min-width:0!important;width:100%!important;max-width:340px!important;display:flex!important;flex-direction:column!important;align-self:stretch!important;min-height:0!important}
body[data-route="work"] .work-editor-file-input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;clip-path:inset(50%)!important}
body[data-route="work"] .work-editor-media-frame{width:100%!important;min-height:260px!important;flex:1 1 auto!important;display:grid!important;place-items:center!important;overflow:hidden!important;margin:0!important;padding:0!important;border:1px solid var(--sx-line)!important;border-radius:10px 10px 0 0!important;background:var(--sx-surface-3,#efeee9)!important;color:var(--sx-muted)!important;box-shadow:none!important;transform:none!important;text-align:center!important}
body[data-route="work"] button.work-editor-media-frame{cursor:pointer!important}
body[data-route="work"] button.work-editor-media-frame:hover{background:#ebeae5!important;border-color:var(--sx-line-strong)!important}
body[data-route="work"] .work-editor-media-frame.is-empty{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;aspect-ratio:4/3!important;min-height:220px!important;padding:24px!important;border-radius:10px!important}
body[data-route="work"] .work-editor-media-empty-content{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;line-height:1.3!important}
body[data-route="work"] .work-editor-media-frame.is-empty .ui-icon{width:24px!important;height:24px!important;margin:0 0 4px!important}
body[data-route="work"] .work-editor-media-frame.is-empty b{font-size:13px!important}
body[data-route="work"] .work-editor-media-frame.is-empty small{font-size:10.5px!important;color:var(--sx-muted)!important}
body[data-route="work"] .work-editor-media-frame .work-draft-preview{width:100%!important;height:100%!important;display:grid!important;place-items:center!important;margin:0!important;padding:0!important;background:transparent!important}
body[data-route="work"] .work-editor-media-frame .work-draft-preview img,body[data-route="work"] .work-editor-media-frame .work-draft-preview video{width:100%!important;height:100%!important;max-height:100%!important;margin:0!important;border-radius:0!important;object-fit:contain!important;background:transparent!important}
body[data-route="work"] .work-editor-media-bar{min-height:52px!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:9px 11px!important;border:1px solid var(--sx-line)!important;border-top:0!important;border-radius:0 0 10px 10px!important;background:#fff!important}
body[data-route="work"] .work-editor-media-bar>span{min-width:0!important}
body[data-route="work"] .work-editor-media-bar b,body[data-route="work"] .work-editor-media-bar small{display:block!important}
body[data-route="work"] .work-editor-media-bar b{overflow:hidden!important;font-size:11px!important;white-space:nowrap!important;text-overflow:ellipsis!important}
body[data-route="work"] .work-editor-media-bar small{margin-top:2px!important;color:var(--sx-muted)!important;font-size:10px!important;font-weight:500!important}
body[data-route="work"] .work-editor-details{display:grid!important;grid-template-rows:auto auto minmax(108px,1fr) auto!important;gap:10px!important;min-width:0!important;min-height:0!important;align-self:stretch!important}
body[data-route="work"] .work-editor-detail-row{display:grid!important;gap:12px!important;align-items:start!important}
body[data-route="work"] .work-editor-detail-row>label{display:grid!important;grid-template-rows:auto auto!important;row-gap:6px!important}
body[data-route="work"] .work-editor-detail-row-title{grid-template-columns:minmax(0,2fr) minmax(180px,1fr)!important}
body[data-route="work"] .work-editor-detail-row-meta{grid-template-columns:minmax(180px,1fr) minmax(0,2fr)!important}
body[data-route="work"] .work-editor-details>label{display:grid!important;grid-template-rows:auto minmax(0,1fr)!important;row-gap:6px!important;min-height:0!important}
body[data-route="work"] .work-editor-details textarea{height:100%!important;min-height:108px!important}
body[data-route="work"] .work-editor-two{display:grid!important;grid-template-columns:1fr 1fr!important;gap:12px!important}
body[data-route="work"] .work-editor-presentation{display:grid!important;grid-template-columns:minmax(0,7.25fr) minmax(330px,4.75fr)!important;gap:24px!important;align-items:stretch!important}
body[data-route="work"] .work-editor-fields{display:grid!important;grid-template-rows:auto minmax(80px,1fr) auto!important;gap:8px!important;min-width:0!important;min-height:0!important;height:100%!important;align-content:stretch!important}
body[data-route="work"] .work-editor-field-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;align-items:start!important}
body[data-route="work"] .work-editor-field-grid>label{display:grid!important;grid-template-rows:auto auto!important}
body[data-route="work"] .work-editor-field-grid:has([data-duration-field]:not([hidden])){grid-template-columns:repeat(4,minmax(0,1fr))!important}
body[data-route="work"] .work-editor-field-grid label[hidden]{display:none!important}
body[data-route="work"] .work-editor-fields>label{display:flex!important;flex-direction:column!important;min-height:0!important}
body[data-route="work"] .work-editor-fields>label textarea{height:100%!important;min-height:80px!important;flex:1 1 auto!important}
body[data-route="work"] .work-editor-media-record{display:grid!important;gap:0!important;min-width:0!important;align-self:stretch!important;height:100%!important;min-height:0!important}
body[data-route="work"] .work-editor-screen{min-width:0!important;min-height:0!important;height:100%!important;display:flex!important;flex-direction:column!important;align-self:stretch!important;margin:0!important;padding:12px!important;border:1px solid var(--sx-line)!important;border-radius:10px!important;background:var(--sx-surface-2)!important;box-shadow:none!important}
body[data-route="work"] .work-editor-screen-head{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;margin-bottom:8px!important}
body[data-route="work"] .work-editor-screen-icon{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;border:1px solid var(--sx-line)!important;border-radius:8px!important;background:#fff!important;color:var(--sx-ink)!important}
body[data-route="work"] .work-editor-screen-icon .ui-icon{width:17px!important;height:17px!important}
body[data-route="work"] .work-editor-screen-head .eyebrow{margin:0 0 2px!important}
body[data-route="work"] .work-editor-screen-head h3{margin:0!important;font-size:15px!important;line-height:1.2!important}
body[data-route="work"] .work-editor-screen-pair{display:flex!important;align-items:center!important;gap:7px!important;justify-self:end!important;white-space:nowrap!important;font-size:10.5px!important;font-weight:650!important;cursor:pointer!important}
body[data-route="work"] .work-editor-screen-pair input{width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;padding:0!important}
body[data-route="work"] .work-editor-screen-pair span{line-height:1.2!important}
body[data-route="work"] .work-editor-file-summary{display:grid!important;grid-template-columns:72px minmax(0,1fr)!important;gap:10px!important;align-items:center!important;padding:8px 0!important;border-top:1px solid var(--sx-line)!important;border-bottom:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-thumb{width:72px!important;height:52px!important;display:grid!important;place-items:center!important;overflow:hidden!important;border-radius:7px!important;background:#eae8e2!important}
body[data-route="work"] .work-editor-thumb .work-draft-preview{width:100%!important;height:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important}
body[data-route="work"] .work-editor-thumb img,body[data-route="work"] .work-editor-thumb video{display:block!important;width:100%!important;height:100%!important;max-height:none!important;margin:0!important;object-fit:cover!important;border-radius:0!important}
body[data-route="work"] .work-editor-file-copy b,body[data-route="work"] .work-editor-file-copy small{display:block!important}
body[data-route="work"] .work-editor-file-copy b{font-size:11.5px!important}
body[data-route="work"] .work-editor-file-copy small{margin-top:3px!important;color:var(--sx-muted)!important;font-size:10px!important;line-height:1.4!important}
body[data-route="work"] .work-editor-file-empty{display:flex!important;align-items:center!important;gap:10px!important;padding:12px 0!important;border-top:1px solid var(--sx-line)!important;border-bottom:1px solid var(--sx-line)!important;color:var(--sx-muted)!important}
body[data-route="work"] .work-editor-file-empty .ui-icon{width:18px!important;height:18px!important}
body[data-route="work"] .work-editor-file-empty p{margin:0!important;font-size:11px!important}
body[data-route="work"] .work-editor-tech{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0 14px!important;margin-top:6px!important;padding-top:2px!important;border-top:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-tech-item{display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:10px!important;padding:5px 0!important;border-bottom:1px solid var(--sx-line)!important;font-size:10.25px!important}
body[data-route="work"] .work-editor-tech-item span{color:var(--sx-muted)!important;font-weight:600!important}
body[data-route="work"] .work-editor-tech-item b{text-align:right!important;font-weight:650!important;overflow-wrap:anywhere!important}
body[data-route="work"] .work-editor-warning{margin:7px 0 0!important;padding:7px 9px!important;border-radius:7px!important;background:var(--studio-ochre-bg)!important;color:var(--studio-ochre-ink)!important;font-size:10.25px!important;line-height:1.4!important}
body[data-route="work"] .work-editor-screen-reframe{display:grid!important;grid-template-columns:minmax(0,1fr) 18px!important;align-items:center!important;gap:12px!important;margin-top:8px!important;padding:9px 0!important;border-top:1px solid var(--sx-line)!important;cursor:pointer!important}
body[data-route="work"] .work-editor-screen-reframe>span{min-width:0!important}
body[data-route="work"] .work-editor-screen-reframe .eyebrow{display:block!important;margin:0 0 2px!important}
body[data-route="work"] .work-editor-screen-reframe b,body[data-route="work"] .work-editor-screen-reframe small{display:block!important}
body[data-route="work"] .work-editor-screen-reframe b{font-size:10.75px!important;line-height:1.3!important}
body[data-route="work"] .work-editor-screen-reframe small{margin-top:2px!important;color:var(--sx-muted)!important;font-size:9.25px!important;font-weight:500!important;line-height:1.35!important}
body[data-route="work"] .work-editor-screen-reframe input{width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;padding:0!important}
body[data-route="work"] .work-editor-credential-card{display:grid!important;grid-template-columns:32px minmax(0,1fr) auto!important;align-items:center!important;gap:9px!important;margin-top:auto!important;padding-top:9px!important;border-top:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-credential-card img{width:28px!important;height:28px!important;display:block!important}
body[data-route="work"] .work-editor-credential-copy{min-width:0!important}
body[data-route="work"] .work-editor-credential-copy .eyebrow{margin:0 0 2px!important}
body[data-route="work"] .work-editor-credential-copy b,body[data-route="work"] .work-editor-credential-copy small{display:block!important}
body[data-route="work"] .work-editor-credential-copy b{font-size:11.25px!important}
body[data-route="work"] .work-editor-credential-copy small{margin-top:2px!important;color:var(--sx-muted)!important;font-size:9.7px!important;font-weight:500!important;line-height:1.35!important}
body[data-route="work"] .work-editor-credential-action{min-width:64px!important;padding:7px 11px!important}
body[data-route="work"] .work-editor-portable-panel{margin-top:0!important;align-self:end!important;border:1px solid color-mix(in srgb,var(--studio-violet-line,#8a75ad) 28%,var(--sx-line))!important;border-radius:10px!important;background:color-mix(in srgb,var(--studio-violet-bg,#f3effa) 46%,#fff)!important;overflow:hidden!important}
body[data-route="work"] .work-editor-portable-head{display:grid!important;grid-template-columns:30px minmax(0,1fr) auto!important;align-items:center!important;gap:10px!important;padding:11px 14px!important}
body[data-route="work"] .work-editor-portable-icon{width:30px!important;height:30px!important;display:grid!important;place-items:center!important;color:var(--studio-violet-ink,#594675)!important}
body[data-route="work"] .work-editor-portable-icon .ui-icon{width:19px!important;height:19px!important}
body[data-route="work"] .work-editor-portable-heading{min-width:0!important}
body[data-route="work"] .work-editor-portable-heading .eyebrow{display:block!important;margin:0 0 2px!important;color:var(--studio-violet-ink,#594675)!important}
body[data-route="work"] .work-editor-portable-heading b,body[data-route="work"] .work-editor-portable-heading small{display:block!important}
body[data-route="work"] .work-editor-portable-heading b{font-size:12px!important;line-height:1.25!important}
body[data-route="work"] .work-editor-portable-heading small{max-width:620px!important;margin-top:2px!important;color:var(--sx-muted)!important;font-size:9.8px!important;font-weight:500!important;line-height:1.35!important}
body[data-route="work"] .work-editor-portable-open{justify-self:end!important;white-space:nowrap!important;padding:7px 10px!important}
body[data-route="work"] .work-editor-portable-open .ui-icon{width:13px!important;height:13px!important}
body[data-route="work"] .work-editor-portable-after-save{color:var(--sx-muted)!important;font-size:9.5px!important;font-weight:600!important;white-space:nowrap!important}
body[data-route="work"] .work-editor-portable-body{padding:0!important;border-top:1px solid color-mix(in srgb,var(--studio-violet-line,#8a75ad) 18%,var(--sx-line))!important}
body[data-route="work"] .work-editor-portable-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important}
body[data-route="work"] .work-editor-portable-item{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;align-items:center!important;gap:7px!important;min-width:0!important;padding:9px 12px!important}
body[data-route="work"] .work-editor-portable-item+ .work-editor-portable-item{border-left:1px solid color-mix(in srgb,var(--studio-violet-line,#8a75ad) 18%,var(--sx-line))!important}
body[data-route="work"] .work-editor-portable-item>span{width:24px!important;height:24px!important;display:grid!important;place-items:center!important;color:var(--studio-violet-ink,#594675)!important}
body[data-route="work"] .work-editor-portable-item>span .ui-icon{width:16px!important;height:16px!important}
body[data-route="work"] .work-editor-portable-item small,body[data-route="work"] .work-editor-portable-item b{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
body[data-route="work"] .work-editor-portable-item small{color:var(--sx-muted)!important;font-size:9px!important;font-weight:600!important}
body[data-route="work"] .work-editor-portable-item b{margin-top:1px!important;font-size:10.25px!important}
body[data-route="work"] .work-editor-inline-availability{display:grid!important;gap:10px!important;margin-top:2px!important;padding-top:14px!important;border-top:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-inline-availability-head{display:block!important}
body[data-route="work"] .work-editor-inline-availability-head .eyebrow{margin:0 0 2px!important}
body[data-route="work"] .work-editor-inline-availability-head h3{margin:0!important;font-size:14px!important;line-height:1.2!important}

body[data-route="work"] .work-editor-availability-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;overflow:hidden!important;border:1px solid var(--sx-line)!important;border-radius:9px!important;background:#fff!important}
body[data-route="work"] .work-editor-availability-option{display:grid!important;grid-template-columns:24px minmax(0,1fr) 18px!important;align-items:center!important;gap:8px!important;min-height:68px!important;padding:10px 11px!important;border-right:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-availability-option:last-child{border-right:0!important}
body[data-route="work"] .work-editor-availability-option input{width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;padding:0!important}
body[data-route="work"] .work-editor-option-icon{width:24px!important;height:24px!important;display:grid!important;place-items:center!important;color:var(--sx-muted)!important}
body[data-route="work"] .work-editor-option-icon .ui-icon{width:17px!important;height:17px!important}
body[data-route="work"] .work-editor-availability-option span b,body[data-route="work"] .work-editor-availability-option span small{display:block!important}
body[data-route="work"] .work-editor-availability-option span b{font-size:10.75px!important;line-height:1.25!important}
body[data-route="work"] .work-editor-availability-option span small{margin-top:2px!important;color:var(--sx-muted)!important;font-size:8.9px!important;font-weight:500!important;line-height:1.3!important}
body[data-route="work"] .work-editor-finish-section .work-editor-section-body{padding-bottom:18px!important}
body[data-route="work"] .work-editor-finish{display:grid!important;grid-template-columns:minmax(0,5.25fr) minmax(0,6.75fr)!important;gap:24px!important;align-items:stretch!important}
body[data-route="work"] .work-editor-finish-block{display:flex!important;flex-direction:column!important;min-width:0!important}
body[data-route="work"] .work-editor-finish-block>.eyebrow{margin:0 0 3px!important}
body[data-route="work"] .work-editor-finish-block h3{margin:0 0 10px!important;font-size:15px!important;line-height:1.2!important}
body[data-route="work"] .work-editor-check-row{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;align-items:center!important;column-gap:30px!important;row-gap:0!important;flex:1!important;min-height:78px!important;padding:12px 16px!important;border:1px solid var(--sx-line)!important;border-radius:9px!important;background:var(--sx-surface-2)!important}
body[data-route="work"] .work-editor-check-row input{width:18px!important;height:18px!important;min-width:18px!important;margin:0!important;padding:0!important}
body[data-route="work"] .work-editor-check-row span b,body[data-route="work"] .work-editor-check-row span small{display:block!important}
body[data-route="work"] .work-editor-check-row span b{font-size:11.5px!important;line-height:1.4!important}
body[data-route="work"] .work-editor-check-row span small{margin-top:3px!important;color:var(--sx-muted)!important;font-size:9.8px!important;font-weight:500!important;line-height:1.4!important}
body[data-route="work"] .work-editor-visibility-options{display:grid!important;grid-template-columns:1fr 1fr!important;flex:1!important;min-height:78px!important;border:1px solid var(--sx-line)!important;border-radius:9px!important;overflow:hidden!important;background:#fff!important}
body[data-route="work"] .work-editor-visibility-options>label{position:relative!important;display:grid!important;grid-template-columns:30px minmax(0,1fr)!important;align-items:center!important;gap:10px!important;min-height:78px!important;padding:12px 14px!important;cursor:pointer!important}
body[data-route="work"] .work-editor-visibility-options>label+label{border-left:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-visibility-options input{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;margin:0!important;padding:0!important}
body[data-route="work"] .work-editor-visibility-options label:has(input:checked){background:var(--studio-mint-bg,#eef6f1)!important}
body[data-route="work"] .work-editor-visibility-options label:has(input:focus-visible){box-shadow:inset 0 0 0 2px var(--studio-sky-line,#668dbb)!important}
body[data-route="work"] .work-editor-visibility-options span b,body[data-route="work"] .work-editor-visibility-options span small{display:block!important}
body[data-route="work"] .work-editor-visibility-options span b{font-size:11.75px!important}
body[data-route="work"] .work-editor-visibility-options span small{margin-top:3px!important;color:var(--sx-muted)!important;font-size:9.8px!important;font-weight:500!important;line-height:1.35!important}
body[data-route="work"] .work-editor-actions{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:12px!important;margin:0 22px!important;padding:16px 0 18px!important;border-top:1px solid var(--sx-line)!important}
body[data-route="work"] .work-editor-actions .button{min-width:120px!important}
@media(max-width:1200px){body[data-route="work"] .work-editor-field-grid,body[data-route="work"] .work-editor-field-grid:has([data-duration-field]:not([hidden])){grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:1100px){body[data-route="work"] .work-editor-core{grid-template-columns:minmax(235px,310px) minmax(0,1fr)!important;gap:22px!important}body[data-route="work"] .work-editor-presentation{grid-template-columns:minmax(0,6.9fr) minmax(310px,5.1fr)!important;gap:22px!important}body[data-route="work"] .work-editor-portable-grid{grid-template-columns:1fr 1fr!important}body[data-route="work"] .work-editor-portable-item:nth-child(odd){border-left:0!important}body[data-route="work"] .work-editor-portable-item:nth-child(n+3){border-top:1px solid color-mix(in srgb,var(--studio-violet-line,#8a75ad) 18%,var(--sx-line))!important}body[data-route="work"] .work-editor-finish{gap:22px!important}}
@media(max-width:900px){body[data-route="work"] .work-editor-core,body[data-route="work"] .work-editor-presentation,body[data-route="work"] .work-editor-finish{grid-template-columns:1fr!important}body[data-route="work"] .work-editor-details{grid-template-rows:none!important;align-self:auto!important}body[data-route="work"] .work-editor-details>label{grid-template-rows:auto auto!important}body[data-route="work"] .work-editor-details textarea{height:auto!important;min-height:96px!important}body[data-route="work"] .work-editor-media{max-width:440px!important;align-self:start!important}body[data-route="work"] .work-editor-media-frame:not(.is-empty){flex:none!important;aspect-ratio:4/3!important}body[data-route="work"] .work-editor-fields{height:auto!important;grid-template-rows:none!important}body[data-route="work"] .work-editor-fields>label textarea{height:auto!important;flex:none!important}body[data-route="work"] .work-editor-media-record{max-width:none!important;height:auto!important}body[data-route="work"] .work-editor-screen{height:auto!important}body[data-route="work"] .work-editor-credential-card{margin-top:7px!important}body[data-route="work"] .work-editor-portable-panel{margin-top:4px!important}}
@media(max-width:640px){body[data-route="work"] .work-editor-main{padding-top:78px!important;padding-bottom:60px!important}body[data-route="work"] .work-editor-section-head{grid-template-columns:32px minmax(0,1fr)!important;gap:10px!important;padding:15px!important}body[data-route="work"] .work-editor-section-icon{width:32px!important;height:32px!important;border-radius:8px!important}body[data-route="work"] .work-editor-section-icon .ui-icon{width:16px!important;height:16px!important}body[data-route="work"] .work-editor-section-body{padding:15px!important}body[data-route="work"] .work-editor-screen-head{grid-template-columns:30px minmax(0,1fr)!important}body[data-route="work"] .work-editor-screen-pair{grid-column:2!important;justify-self:start!important;margin-top:2px!important}body[data-route="work"] .work-editor-detail-row{grid-template-columns:1fr!important}body[data-route="work"] .work-editor-availability-grid{grid-template-columns:1fr!important}body[data-route="work"] .work-editor-availability-option{min-height:0!important;border-right:0!important;border-bottom:1px solid var(--sx-line)!important}body[data-route="work"] .work-editor-availability-option:last-child{border-bottom:0!important}body[data-route="work"] .work-editor-field-grid,body[data-route="work"] .work-editor-tech,body[data-route="work"] .work-editor-visibility-options,body[data-route="work"] .work-editor-portable-grid{grid-template-columns:1fr!important}body[data-route="work"] .work-editor-visibility-options>label+label{border-left:0!important;border-top:1px solid var(--sx-line)!important}body[data-route="work"] .work-editor-portable-head{grid-template-columns:28px minmax(0,1fr)!important}body[data-route="work"] .work-editor-portable-open,body[data-route="work"] .work-editor-portable-after-save{grid-column:2!important;justify-self:start!important}body[data-route="work"] .work-editor-portable-item+ .work-editor-portable-item{border-left:0!important;border-top:1px solid color-mix(in srgb,var(--studio-violet-line,#8a75ad) 18%,var(--sx-line))!important}body[data-route="work"] .work-editor-credential-card{grid-template-columns:30px minmax(0,1fr)!important}body[data-route="work"] .work-editor-credential-action{grid-column:2!important;justify-self:start!important}body[data-route="work"] .work-editor-actions{margin:0 15px!important;gap:10px!important}body[data-route="work"] .work-editor-actions .button{min-width:0!important}}


/* --------------------------------------------------------------------------
   v1.9.186 — Profile Studio components.
   Interactive profile controls inherit the canonical Studio primitives; only
   upload, URL-composition and whole-surface choice behaviour is specialised.
   -------------------------------------------------------------------------- */
body[data-route="studio"] .studio-profile-upload{
  position:relative;
  min-width:0;
  min-height:142px;
  display:grid;
  grid-template-rows:minmax(86px,1fr) auto;
  gap:10px;
  margin:0;
  padding:10px;
  border:1px dashed var(--artx-component-line-hover,var(--sx-line-strong));
  border-radius:var(--sx-r-md);
  background:var(--sx-surface-2);
  cursor:pointer;
  overflow:hidden;
  transition:border-color .15s ease,background .15s ease,box-shadow .15s ease;
}
body[data-route="studio"] .studio-profile-upload:hover{border-color:var(--studio-sky-line,#668dbb);background:#fff}
body[data-route="studio"] .studio-profile-upload:focus-within{border-color:var(--studio-sky-line,#668dbb);box-shadow:var(--sx-focus)}
body[data-route="studio"] .studio-profile-upload>input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
body[data-route="studio"] .studio-profile-upload-preview{display:grid;place-items:center;overflow:hidden;border-radius:8px;background:var(--sx-surface-3)}
body[data-route="studio"] .studio-profile-upload.is-avatar .studio-profile-upload-preview{width:86px;height:86px;justify-self:center;border-radius:50%}
body[data-route="studio"] .studio-profile-upload.is-cover .studio-profile-upload-preview{width:100%;height:86px}
body[data-route="studio"] .studio-profile-upload-preview :is(img,.profile-avatar-fallback,.profile-cover-fallback){width:100%;height:100%;display:grid;place-items:center;object-fit:cover}
body[data-route="studio"] .studio-profile-upload-copy{display:grid;gap:2px;align-self:end}
body[data-route="studio"] .studio-profile-upload-copy b{font-size:10.5px;font-weight:680}
body[data-route="studio"] .studio-profile-upload-copy small{color:var(--sx-muted);font-size:9px;font-weight:500}
body[data-route="studio"] .studio-profile-image-actions .text-action{font-size:9.5px}
body[data-route="studio"] .field-optional{margin-left:4px;color:var(--sx-muted);font-size:8.5px;font-weight:520}

body[data-route="studio"] .studio-url-field{
  min-width:0;
  min-height:var(--artx-control-h);
  display:grid;
  grid-template-columns:minmax(0,1fr) clamp(104px,24%,132px);
  align-items:stretch;
  overflow:hidden;
  border:1px solid var(--artx-component-line);
  border-radius:var(--artx-control-radius);
  background:var(--artx-component-bg);
  transition:border-color .15s ease,box-shadow .15s ease;
}
body[data-route="studio"] .studio-url-field:focus-within{border-color:var(--studio-sky-line,#668dbb);box-shadow:0 0 0 3px var(--artx-ring)}
body[data-route="studio"] .studio-url-field>span{min-width:0;display:flex;align-items:center;padding:0 2px 0 12px;color:var(--sx-muted);font-family:var(--mono);font-size:9.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-route="studio"] .studio-url-field>input{width:100%!important;min-width:80px;height:auto!important;min-height:0!important;padding-left:2px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-family:var(--mono)!important}
body[data-route="studio"] .studio-url-field>input:focus{box-shadow:none!important}

body[data-route="studio"] .studio-profile-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid var(--sx-line);border-radius:9px;overflow:hidden;background:#fff}
body[data-route="studio"] .studio-profile-choice-grid.is-three{grid-template-columns:repeat(3,minmax(0,1fr))}
body[data-route="studio"] .studio-profile-choice{
  position:relative;
  min-width:0;
  min-height:78px;
  display:grid;
  grid-template-columns:30px minmax(0,1fr);
  align-items:center;
  gap:10px;
  margin:0;
  padding:12px 14px;
  background:#fff;
  cursor:pointer;
  transition:background .15s ease,box-shadow .15s ease;
}
body[data-route="studio"] .studio-profile-choice+ .studio-profile-choice{border-left:1px solid var(--sx-line)}
body[data-route="studio"] .studio-profile-choice>input{position:absolute;width:1px!important;height:1px!important;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;margin:0!important;padding:0!important}
body[data-route="studio"] .studio-profile-choice:has(input:checked){background:var(--artx-selection-bg,var(--studio-mint-bg,#eef6f1))}
body[data-route="studio"] .studio-profile-choice:has(input:focus-visible){box-shadow:inset 0 0 0 2px var(--studio-sky-line,#668dbb)}
body[data-route="studio"] .studio-profile-choice:hover{background:var(--sx-surface-2)}
body[data-route="studio"] .studio-profile-choice-icon{width:30px;height:30px;display:grid;place-items:center;color:var(--sx-muted)}
body[data-route="studio"] .studio-profile-choice-icon .ui-icon{width:18px;height:18px}
body[data-route="studio"] .studio-profile-choice>span:last-child{min-width:0}
body[data-route="studio"] .studio-profile-choice b,body[data-route="studio"] .studio-profile-choice small{display:block}
body[data-route="studio"] .studio-profile-choice b{font-size:10.5px;font-weight:680}
body[data-route="studio"] .studio-profile-choice small{margin-top:3px;color:var(--sx-muted);font-size:9px;font-weight:500;line-height:1.35}

@media(max-width:1100px){
  body[data-route="studio"] .studio-url-field{grid-template-columns:1fr}
  body[data-route="studio"] .studio-url-field>span{padding:8px 12px 0;white-space:normal;overflow-wrap:anywhere}
  body[data-route="studio"] .studio-url-field>input{padding-left:12px!important}
}

@media(max-width:760px){
  body[data-route="studio"] .studio-profile-choice-grid,body[data-route="studio"] .studio-profile-choice-grid.is-three{grid-template-columns:1fr}
  body[data-route="studio"] .studio-profile-choice+ .studio-profile-choice{border-left:0;border-top:1px solid var(--sx-line)}
}

/* Exhibition Builder work-display modal: use the same compact Studio form rhythm. */
body[data-route="exhibition-builder"] .planning-text-modal-help{margin:0!important}
body[data-route="exhibition-builder"] .exhibition-work-settings-form{display:grid;gap:14px}
body[data-route="exhibition-builder"] .exhibition-work-settings-context{display:grid;gap:3px;padding:12px 13px;border:1px solid var(--sx-line);border-radius:8px;background:var(--sx-surface-2)}
body[data-route="exhibition-builder"] .exhibition-work-settings-context .eyebrow{margin:0;color:var(--sx-muted)}
body[data-route="exhibition-builder"] .exhibition-work-settings-context h3{margin:0;font-size:15px;line-height:1.25;letter-spacing:-.015em}
body[data-route="exhibition-builder"] .exhibition-work-settings-context p:not(.eyebrow){margin:1px 0 0;color:var(--sx-muted);font-size:9.5px;line-height:1.4}
body[data-route="exhibition-builder"] .exhibition-work-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body[data-route="exhibition-builder"] .exhibition-work-settings-actions{margin-top:2px}
@media(max-width:620px){body[data-route="exhibition-builder"] .exhibition-work-settings-grid{grid-template-columns:1fr}body[data-route="exhibition-builder"] .exhibition-work-settings-actions{display:grid;grid-template-columns:1fr}body[data-route="exhibition-builder"] .exhibition-work-settings-actions .button{width:100%}}

/* --------------------------------------------------------------------------
   v1.9.190 — Display pairing + preview controls.
   Display modals, screen previews and mirror-group controls are owned here so
   they inherit the canonical Studio field/button system without brand CSS.
   -------------------------------------------------------------------------- */
body[data-route="studio"] :is(.studio-display-pair-form,.studio-display-group-form){display:grid;gap:14px}
body[data-route="studio"] :is(.studio-display-modal-intro,.studio-display-group-intro){display:grid;grid-template-columns:42px minmax(0,1fr);align-items:start;gap:12px;padding:13px;border:1px solid var(--sx-line);border-radius:var(--sx-r-md);background:var(--sx-surface-2)}
body[data-route="studio"] .studio-display-group-intro.compact{padding:11px 13px}
body[data-route="studio"] :is(.studio-display-modal-intro,.studio-display-group-intro) .eyebrow{margin:1px 0 3px}
body[data-route="studio"] .studio-display-group-intro h3{margin:0 0 4px;font-size:17px;line-height:1.18;letter-spacing:-.02em}
body[data-route="studio"] :is(.studio-display-modal-intro,.studio-display-group-intro) p:last-child{margin:0;color:var(--sx-muted);font-size:10.5px;line-height:1.45}
body[data-route="studio"] :is(.studio-display-modal-intro,.studio-display-group-intro) a{color:var(--sx-ink);font-weight:650;text-decoration:underline;text-underline-offset:3px}

body[data-route="studio"] .studio-display-settings{overflow:hidden;border:1px solid var(--sx-line);border-radius:var(--sx-r-md);background:#fff}
body[data-route="studio"] .studio-display-settings>summary{display:grid;grid-template-columns:minmax(0,1fr) 17px;align-items:center;gap:12px;min-height:50px;padding:11px 13px;cursor:pointer;list-style:none}
body[data-route="studio"] .studio-display-settings>summary::-webkit-details-marker{display:none}
body[data-route="studio"] .studio-display-settings>summary:hover{background:var(--sx-surface-2)}
body[data-route="studio"] .studio-display-settings>summary strong,body[data-route="studio"] .studio-display-settings>summary small{display:block}
body[data-route="studio"] .studio-display-settings>summary strong{font-size:10.5px;font-weight:680}
body[data-route="studio"] .studio-display-settings>summary small{margin-top:2px;color:var(--sx-muted);font-size:9px}
body[data-route="studio"] .studio-display-settings>summary>.ui-icon{width:15px;height:15px;color:var(--sx-muted);transition:transform .15s ease}
body[data-route="studio"] .studio-display-settings[open]>summary>.ui-icon{transform:rotate(180deg)}
body[data-route="studio"] .studio-display-settings-body{display:grid;gap:13px;padding:13px;border-top:1px solid var(--sx-line)}
body[data-route="studio"] .studio-display-settings-body .field-help{margin:0}
body[data-route="studio"] .studio-display-modal-actions{display:flex;justify-content:flex-end;padding-top:2px}

/* Shared screen-preview primitive used by single screens, groups and cards. */
body[data-route="studio"] .display-preview-tile{min-width:0}
body[data-route="studio"] .display-preview-frame{position:relative;width:100%;aspect-ratio:16/10;overflow:hidden;border:4px solid #1b1d1b;border-radius:8px;background:#0d0e0d;color:#fff;box-shadow:0 5px 12px rgba(0,0,0,.1)}
body[data-route="studio"] .display-preview-media{width:100%;height:100%;object-fit:cover;border:0}
body[data-route="studio"] .display-preview-fallback{width:100%;height:100%;display:grid;place-items:center;align-content:center;gap:7px;padding:8px;background:linear-gradient(145deg,#111311,#2c302d);color:#fff;text-align:center}
body[data-route="studio"] .display-preview-fallback .ui-icon{width:18px;height:18px}
body[data-route="studio"] .display-preview-fallback span{max-width:100%;overflow:hidden;color:#d2cfc8;font-size:8px;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
body[data-route="studio"] .display-preview-tile>small{display:block;margin-top:5px;color:var(--sx-muted);font-size:8px;text-align:center}

#modal-root .single-display-preview{margin:2px 0;padding:14px;border:1px solid var(--sx-line);border-radius:var(--sx-r-md);background:var(--sx-surface-2)}
#modal-root .single-display-preview-head{display:grid;gap:2px;margin-bottom:10px}
#modal-root .single-display-preview-head .eyebrow{margin:0}
#modal-root .single-display-preview-head strong{display:block;font-size:13px}
#modal-root .single-display-preview-stage{display:grid;place-items:center;min-height:210px;padding:14px;border-radius:9px;background:#e9ece9;overflow:hidden}
#modal-root .single-display-preview-frame{position:relative;max-width:100%;max-height:340px;overflow:hidden;border:6px solid #191b19;border-radius:9px;background:#0c0d0c;box-shadow:0 7px 18px rgba(0,0,0,.11);touch-action:none}
#modal-root .single-display-preview-frame>.display-preview-media,#modal-root .single-display-preview-frame>.display-preview-fallback{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;object-fit:contain;object-position:center center;background:#0c0d0c;transform:none;transform-origin:center center}
#modal-root .single-display-preview-frame[data-screen-fit="fill"]>.display-preview-media{object-fit:cover}
#modal-root .single-display-preview-frame[data-screen-fit="reframe"]>.display-preview-media{object-fit:cover;object-position:var(--screen-x,50%) var(--screen-y,50%);transform:scale(var(--screen-zoom,1));transform-origin:var(--screen-x,50%) var(--screen-y,50%);cursor:grab}
#modal-root .single-display-preview-frame[data-screen-fit="reframe"].is-dragging>.display-preview-media{cursor:grabbing}
#modal-root .single-display-preview-brand{position:absolute;z-index:3;top:9px;left:9px;padding:5px 7px;border-radius:999px;background:rgba(0,0,0,.52);backdrop-filter:blur(8px)}
#modal-root .single-display-preview-brand img{display:block;width:92px;height:auto}
#modal-root .single-display-preview-test-marker{position:absolute;z-index:4;top:9px;left:50%;padding:6px 9px;border:1px solid rgba(255,255,255,.26);border-radius:999px;background:rgba(8,10,9,.72);color:#fff;font-size:7px;font-weight:760;letter-spacing:.12em;line-height:1;text-transform:uppercase;transform:translateX(-50%);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);pointer-events:none}
#modal-root .single-display-preview-centre{position:absolute;z-index:4;top:9px;right:9px;display:grid;place-items:center;width:30px;height:30px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:7px;background:rgba(0,0,0,.52);color:#fff;backdrop-filter:blur(8px);cursor:pointer;transition:background .15s ease,border-color .15s ease}
#modal-root .single-display-preview-centre:hover{background:rgba(0,0,0,.72);border-color:rgba(255,255,255,.38)}
#modal-root .single-display-preview-centre:focus-visible{outline:2px solid #fff;outline-offset:2px}
#modal-root .single-display-preview-centre .ui-icon{width:15px;height:15px}
#modal-root .single-display-preview-caption{position:absolute;z-index:2;right:0;bottom:0;left:0;padding:34px 13px 11px;background:linear-gradient(180deg,transparent,rgba(0,0,0,.78));color:#fff}
#modal-root .single-display-preview-caption span,#modal-root .single-display-preview-caption strong,#modal-root .single-display-preview-caption small{display:block}
#modal-root .single-display-preview-caption span{margin-bottom:3px;color:rgba(255,255,255,.62);font-size:7px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}
#modal-root .single-display-preview-caption strong{font-size:13px;line-height:1.1}
#modal-root .single-display-preview-caption small{margin-top:3px;color:rgba(255,255,255,.68);font-size:7px}

#modal-root .studio-screen-presentation{overflow:hidden;border:1px solid var(--sx-line);border-radius:var(--sx-r-md);background:#fff}
#modal-root .studio-screen-presentation>summary{display:grid;grid-template-columns:minmax(0,1fr) 17px;align-items:center;gap:12px;min-height:54px;padding:11px 13px;cursor:pointer;list-style:none}
#modal-root .studio-screen-presentation>summary::-webkit-details-marker{display:none}
#modal-root .studio-screen-presentation>summary:hover{background:var(--sx-surface-2)}
#modal-root .studio-screen-presentation>summary .eyebrow{margin:0 0 2px}
#modal-root .studio-screen-presentation>summary strong,#modal-root .studio-screen-presentation>summary small{display:block}
#modal-root .studio-screen-presentation>summary strong{font-size:10.5px;font-weight:680;line-height:1.3}
#modal-root .studio-screen-presentation>summary small{margin-top:2px;color:var(--sx-muted);font-size:9px}
#modal-root .studio-screen-presentation>summary>.ui-icon{width:15px;height:15px;color:var(--sx-muted);transition:transform .15s ease}
#modal-root .studio-screen-presentation[open]>summary>.ui-icon{transform:rotate(180deg)}
#modal-root .studio-screen-presentation-body{display:grid;gap:12px;padding:13px;border-top:1px solid var(--sx-line)}
#modal-root .studio-screen-presentation-actions{display:flex;justify-content:flex-end;margin-bottom:-3px}
#modal-root .studio-screen-frame-warning{margin:0;padding:8px 10px;border-left:2px solid #a77b37;background:#faf6ed;color:#755823;font-size:9px;line-height:1.4}
#modal-root .studio-screen-presentation-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.9fr);gap:10px;align-items:end}
#modal-root .studio-screen-custom-dimensions{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:end;gap:7px}
#modal-root .studio-screen-custom-dimensions>span{padding-bottom:13px;color:var(--sx-muted);font-size:12px;text-align:center}
#modal-root .studio-screen-fit-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0;padding:0;border:0}
#modal-root .studio-screen-fit-picker>legend{margin-bottom:7px;font-size:10px;font-weight:680}
#modal-root .studio-screen-fit-picker>label{position:relative;display:block;margin:0;cursor:pointer}
#modal-root .studio-screen-fit-picker input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
#modal-root .studio-screen-fit-picker label>span{display:grid;gap:2px;min-height:58px;padding:10px;border:1px solid var(--sx-line);border-radius:8px;background:var(--sx-surface-2);transition:background .15s ease,border-color .15s ease}
#modal-root .studio-screen-fit-picker label:hover>span{background:#fff;border-color:#aeb5af}
#modal-root .studio-screen-fit-picker input:checked+span{border-color:#252825;background:#fff;box-shadow:inset 0 0 0 1px #252825}
#modal-root .studio-screen-fit-picker input:focus-visible+span{outline:2px solid #4f6f91;outline-offset:2px}
#modal-root .studio-screen-fit-picker input:disabled+span{opacity:.42;cursor:not-allowed}
#modal-root .studio-screen-fit-picker b{font-size:10.5px}
#modal-root .studio-screen-fit-picker small{color:var(--sx-muted);font-size:8.5px;line-height:1.35}
#modal-root .studio-screen-reframe-controls{display:grid;gap:8px;padding:10px;border-radius:8px;background:var(--sx-surface-2)}
#modal-root .studio-screen-reframe-controls>label{display:grid;grid-template-columns:auto minmax(120px,1fr) 42px;align-items:center;gap:10px;margin:0}
#modal-root .studio-screen-reframe-controls>label>span{font-size:9px;font-weight:680}
#modal-root .studio-screen-reframe-controls input[type="range"]{width:100%;height:18px;margin:0;padding:0;appearance:none;-webkit-appearance:none;background:transparent;cursor:pointer}
#modal-root .studio-screen-reframe-controls input[type="range"]::-webkit-slider-runnable-track{height:3px;border-radius:999px;background:#aeb4ae}
#modal-root .studio-screen-reframe-controls input[type="range"]::-webkit-slider-thumb{width:14px;height:14px;margin-top:-5.5px;border:0;border-radius:50%;background:#252825;appearance:none;-webkit-appearance:none}
#modal-root .studio-screen-reframe-controls input[type="range"]::-moz-range-track{height:3px;border:0;border-radius:999px;background:#aeb4ae}
#modal-root .studio-screen-reframe-controls input[type="range"]::-moz-range-thumb{width:14px;height:14px;border:0;border-radius:50%;background:#252825}
#modal-root .studio-screen-reframe-controls input[type="range"]:disabled{cursor:not-allowed}
#modal-root .studio-screen-reframe-controls input[type="range"]:disabled::-webkit-slider-runnable-track{background:#d7dbd7}
#modal-root .studio-screen-reframe-controls input[type="range"]:disabled::-webkit-slider-thumb{background:#aeb4ae}
#modal-root .studio-screen-reframe-controls input[type="range"]:disabled::-moz-range-track{background:#d7dbd7}
#modal-root .studio-screen-reframe-controls input[type="range"]:disabled::-moz-range-thumb{background:#aeb4ae}
#modal-root .studio-screen-reframe-controls output{color:var(--sx-muted);font-size:9px;font-variant-numeric:tabular-nums;text-align:right}
#modal-root .studio-screen-reframe-controls.is-inactive{color:var(--sx-muted)}
#modal-root .studio-screen-reframe-controls.is-inactive output{opacity:.62}
#modal-root .studio-screen-reframe-controls>small{color:var(--sx-muted);font-size:8.5px;line-height:1.35}
#modal-root .studio-screen-permission-note{margin:0}

/* Group screen-entry rows use one predictable grid and canonical controls. */

/* v2.0.2 — single-screen exhibition playback mode. */
#modal-root .studio-display-source-controls{display:grid;gap:12px}
#modal-root .studio-display-playback-controls{display:grid;gap:7px;padding:12px;border:1px solid var(--sx-line);border-radius:var(--sx-r-md);background:var(--sx-surface-2)}
#modal-root .studio-display-playback-controls[hidden],#modal-root [data-display-work-field][hidden]{display:none}
#modal-root .studio-display-playback-grid{align-items:end}
#modal-root .studio-display-source-status{margin:0;color:var(--sx-muted)}
#modal-root .studio-display-test-preview-note{display:grid;gap:3px;padding:9px 10px;border-left:2px solid #9a712d;border-radius:0 7px 7px 0;background:#fbf6ea;color:#665126}
#modal-root .studio-display-test-preview-note[hidden]{display:none}
#modal-root .studio-display-test-preview-note strong{font-size:9.5px;font-weight:720}
#modal-root .studio-display-test-preview-note span{font-size:8.5px;line-height:1.4}
@media(max-width:700px){#modal-root .studio-display-playback-grid{grid-template-columns:1fr}}
body[data-route="studio"] .studio-display-code-picker,body[data-route="studio"] .studio-display-screen-picker{margin:2px 0;padding:0;border:0}
body[data-route="studio"] :is(.studio-display-code-picker,.studio-display-screen-picker)>legend{margin-bottom:7px;font-size:10.5px;font-weight:680}
body[data-route="studio"] .studio-display-code-row{display:grid;grid-template-columns:76px minmax(130px,.7fr) minmax(170px,1fr) 38px;gap:10px;align-items:end;padding:9px 0;border-bottom:1px solid var(--sx-line)}
body[data-route="studio"] .studio-display-code-row label{margin:0}
body[data-route="studio"] .studio-display-code-screen{min-height:var(--artx-control-h);display:flex;align-items:center;gap:7px;color:var(--sx-muted)}
body[data-route="studio"] .studio-display-code-screen .studio-display-icon-tile{width:32px;height:32px;border-radius:7px}
body[data-route="studio"] .studio-display-code-screen .ui-icon{width:16px;height:16px}
body[data-route="studio"] .studio-display-code-screen small{font-size:9px;font-weight:650;white-space:nowrap}
body[data-route="studio"] .studio-display-code-remove{width:38px;height:var(--artx-control-h);min-height:var(--artx-control-h);padding:0;font-size:19px;line-height:1}
body[data-route="studio"] .studio-display-code-remove-spacer{width:38px;height:1px}
body[data-route="studio"] .studio-display-add-screen{display:inline-flex;align-items:center;gap:6px;margin-top:10px}
body[data-route="studio"] .studio-display-add-screen .ui-icon{width:14px;height:14px}

body[data-route="studio"] .studio-display-existing-picker{margin:2px 0;overflow:hidden;border:1px solid var(--sx-line);border-radius:var(--sx-r-md);background:#fff}
body[data-route="studio"] .studio-display-existing-picker>summary{display:grid;grid-template-columns:minmax(0,1fr) 15px;align-items:center;gap:10px;min-height:44px;padding:9px 12px;font-size:10px;font-weight:650;cursor:pointer;list-style:none}
body[data-route="studio"] .studio-display-existing-picker>summary::-webkit-details-marker{display:none}
body[data-route="studio"] .studio-display-existing-picker>summary:hover{background:var(--sx-surface-2)}
body[data-route="studio"] .studio-display-existing-picker>summary>.ui-icon:last-child{width:14px;height:14px;justify-self:end;transition:transform .15s ease}
body[data-route="studio"] .studio-display-existing-picker[open]>summary>.ui-icon:last-child{transform:rotate(180deg)}
body[data-route="studio"] .studio-display-existing-picker>.studio-display-screen-picker{padding:0 12px 12px}
body[data-route="studio"] .studio-display-existing-picker.is-additional>.studio-display-code-picker{padding:0 12px 12px}
body[data-route="studio"] .studio-display-existing-picker.is-additional>summary{grid-template-columns:16px minmax(0,1fr) 15px}
body[data-route="studio"] .studio-display-existing-picker.is-additional>summary>.ui-icon:first-child{width:14px;height:14px}

body[data-route="studio"] .studio-display-screen-picker.is-visual{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
body[data-route="studio"] .studio-display-screen-choice{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:center;margin:0;padding:11px 12px;border:1px solid var(--sx-line);border-radius:9px;background:#fff;cursor:pointer}
body[data-route="studio"] .studio-display-screen-choice:has(input:checked){background:var(--studio-mint-bg,#eef6f1);border-color:color-mix(in srgb,var(--studio-mint-line,#68a17d) 35%,var(--sx-line))}
body[data-route="studio"] .studio-display-screen-choice input{width:16px;height:16px;margin:0}
body[data-route="studio"] .studio-display-screen-choice span{display:grid;gap:2px;min-width:0}
body[data-route="studio"] .studio-display-screen-choice b{font-size:10.5px}
body[data-route="studio"] .studio-display-screen-choice small{color:var(--sx-muted);font-size:9px}
body[data-route="studio"] .studio-display-screen-empty{grid-column:1/-1;display:flex;align-items:center;gap:11px;padding:12px;border:1px dashed var(--sx-line);border-radius:9px;background:var(--sx-surface-2);color:var(--sx-muted)}
body[data-route="studio"] .studio-display-screen-empty b,body[data-route="studio"] .studio-display-screen-empty small{display:block}
body[data-route="studio"] .studio-display-screen-empty b{margin-bottom:2px;color:var(--sx-ink);font-size:10.5px}
body[data-route="studio"] .studio-display-screen-empty small{font-size:9px;line-height:1.4}

body[data-route="studio"] .studio-display-mirror-preview{margin:2px 0;padding:14px;border:1px solid var(--sx-line);border-radius:var(--sx-r-md);background:var(--sx-surface-2)}
body[data-route="studio"] .studio-display-mirror-copy{display:grid;grid-template-columns:42px minmax(0,1fr);gap:11px;align-items:center}
body[data-route="studio"] .studio-display-mirror-copy .eyebrow{margin:0 0 2px}
body[data-route="studio"] .studio-display-mirror-copy strong{display:block;font-size:13px}
body[data-route="studio"] .studio-display-mirror-copy small{display:block;margin-top:2px;color:var(--sx-muted);font-size:9px;line-height:1.4}
body[data-route="studio"] .studio-display-mirror-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px;margin-top:13px}
body[data-route="studio"] .studio-display-mirror-grid .display-preview-frame{border-width:5px;border-radius:9px;box-shadow:0 7px 16px rgba(0,0,0,.11)}

@media(max-width:760px){
  body[data-route="studio"] .studio-display-screen-picker.is-visual{grid-template-columns:1fr}
  body[data-route="studio"] .studio-display-code-row{grid-template-columns:64px minmax(0,.75fr) minmax(0,1fr) 38px}
}
@media(max-width:620px){
  body[data-route="studio"] .studio-display-pair-form .two,body[data-route="studio"] .studio-display-group-form .two{grid-template-columns:1fr}
  body[data-route="studio"] .studio-display-modal-actions .button{width:100%}
  body[data-route="studio"] .studio-display-code-row{grid-template-columns:minmax(0,1fr) 38px;align-items:end}
  body[data-route="studio"] .studio-display-code-screen{grid-column:1/-1;min-height:32px}
  body[data-route="studio"] .studio-display-code-row label{grid-column:1}
  body[data-route="studio"] .studio-display-code-row label+label{grid-column:1}
  body[data-route="studio"] .studio-display-code-remove,body[data-route="studio"] .studio-display-code-remove-spacer{grid-column:2;grid-row:3}
  body[data-route="studio"] .studio-display-mirror-grid{grid-template-columns:repeat(2,minmax(90px,1fr))}
  #modal-root .single-display-preview-stage{min-height:190px;padding:10px}
  #modal-root .single-display-preview-frame{max-height:300px;border-width:5px}
  #modal-root .studio-screen-presentation-grid{grid-template-columns:1fr}
  #modal-root .studio-screen-fit-picker{grid-template-columns:1fr}
  #modal-root .studio-screen-fit-picker label>span{min-height:0}
  #modal-root .studio-screen-reframe-controls>label{grid-template-columns:auto minmax(90px,1fr) 38px}
}


/* --------------------------------------------------------------------------
   v1.9.191 — Account Studio component details.
   -------------------------------------------------------------------------- */
body[data-route="studio"] .studio-account-section .preference-required,
body[data-route="studio"] .studio-account-section .preference-sync{
  display:inline-flex;align-items:center;justify-content:center;width:max-content;min-height:24px;padding:5px 8px;
  border:1px solid var(--artx-component-line);border-radius:5px;background:rgba(255,255,255,.7);color:#747c75;
  font-size:9px;font-weight:650;line-height:1;letter-spacing:.03em;text-transform:none
}
body[data-route="studio"] .studio-account-section .preference-sync.is-synced{color:var(--studio-mint-ink,#2f6146);border-color:rgba(53,105,71,.28);background:rgba(78,141,96,.08)}
body[data-route="studio"] .studio-account-section .preference-sync.is-warning{color:#8c4f25;border-color:rgba(140,79,37,.28);background:rgba(140,79,37,.06)}
/* v1.9.192 — Account destructive actions use the canonical .button.danger component. */


/* Curator artist invitations — onboarding records only, outside rights/agreement workflows. */
body[data-route="studio"] .studio-invitations-title{align-items:flex-start}
body[data-route="studio"] .studio-invitations-title>.button{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}
body[data-route="studio"] .studio-invitations-title>.button .ui-icon{width:16px;height:16px}
body[data-route="studio"] .studio-invitation-boundary{display:grid;grid-template-columns:46px minmax(0,1fr);gap:20px;align-items:start;margin:24px 0 18px;padding:22px 24px;border:1px solid var(--sx-line);border-radius:var(--sx-r-lg);background:linear-gradient(135deg,var(--studio-mint-bg,#edf6ef),#fff 72%)}
body[data-route="studio"] .studio-invitation-boundary>span{width:46px;height:46px;display:grid;place-items:center;border:1px solid rgba(38,91,59,.16);border-radius:10px;background:#fff;color:var(--studio-mint-ink,#285b3b)}
body[data-route="studio"] .studio-invitation-boundary>span .ui-icon{width:21px;height:21px}
body[data-route="studio"] .studio-invitation-boundary .eyebrow{margin:1px 0 5px}
body[data-route="studio"] .studio-invitation-boundary h2{margin:0 0 5px;font-size:20px;letter-spacing:-.025em}
body[data-route="studio"] .studio-invitation-boundary p:last-child{max-width:820px;margin:0;color:var(--sx-muted);font-size:12px;line-height:1.55}
body[data-route="studio"] .studio-invitation-list{border:1px solid var(--sx-line);border-radius:var(--sx-r-lg);background:#fff;overflow:visible}
body[data-route="studio"] .studio-invitation-row{display:grid;grid-template-columns:92px minmax(200px,.85fr) minmax(250px,1.2fr) auto;gap:22px;align-items:center;min-height:104px;padding:18px 20px;border-bottom:1px solid var(--sx-line)}
body[data-route="studio"] .studio-invitation-row:last-child{border-bottom:0}
body[data-route="studio"] .studio-invitation-status{align-self:start;padding-top:2px}
body[data-route="studio"] .studio-invitation-person{min-width:0}
body[data-route="studio"] .studio-invitation-person h3{margin:0 0 5px;font-size:16px;letter-spacing:-.02em}
body[data-route="studio"] .studio-invitation-person>a{display:block;overflow:hidden;text-overflow:ellipsis;color:var(--sx-muted);font-size:11px;white-space:nowrap}
body[data-route="studio"] .studio-invitation-context{display:grid;gap:5px;min-width:0;color:var(--sx-muted);font-size:11px;line-height:1.45}
body[data-route="studio"] .studio-invitation-context>span{color:var(--sx-ink);font-weight:600}
body[data-route="studio"] .studio-invitation-context small{font-size:10px;color:var(--sx-muted-2)}
body[data-route="studio"] .invitation-delivery{display:block;margin-top:7px;color:var(--sx-muted-2);font-size:9px;font-weight:650;letter-spacing:.02em}
body[data-route="studio"] .invitation-delivery.issue{color:#77211e}
body[data-route="studio"] .studio-invitation-actions{display:flex;justify-content:flex-end;gap:8px;align-items:center}
body[data-route="studio"] .studio-invitation-actions .button{white-space:nowrap}
body[data-route="studio"] .studio-invitation-row:has(.studio-invitation-menu[open]){position:relative;z-index:20}
body[data-route="studio"] .studio-invitation-menu{margin-left:0}
body[data-route="studio"] .studio-invitation-menu>div{top:calc(100% + 8px);bottom:auto;right:0;left:auto}
body[data-route="studio"] .studio-invitation-empty{margin-top:18px}
.artist-invitation-form{display:grid;gap:18px}
.artist-invitation-form label{display:grid;gap:6px;font-size:11px;font-weight:650}
.artist-invitation-form label small{font-weight:400;color:var(--sx-muted,#68706a);line-height:1.45}
.artist-invitation-form .optional{color:var(--sx-muted,#68706a);font-weight:450}
.artist-invitation-form textarea{resize:vertical;min-height:156px}
/* Canonical Studio detail-header back link. Keep detail pages on the same shell
   title datum as their parent workspace rather than stacking a second eyebrow row. */
body[data-route="studio"] .studio-title-back{display:flex;width:max-content;align-items:center;gap:7px;line-height:1;vertical-align:top;text-decoration:none;opacity:.88;transition:opacity .15s ease}
body[data-route="studio"] .studio-title-back>span:first-child{font-size:12px;line-height:1;transform:translateY(-.5px)}
body[data-route="studio"] .studio-title-back .eyebrow{line-height:1.2}
body[data-route="studio"] .studio-title-back:hover{opacity:1}
body[data-route="studio"] .studio-invitation-compose-grid{display:grid;grid-template-columns:minmax(350px,.78fr) minmax(520px,1.22fr);gap:20px;align-items:start}
body[data-route="studio"] .studio-invitation-compose-fields,
body[data-route="studio"] .studio-invitation-email-preview{min-width:0;border:1px solid var(--sx-line);border-radius:var(--sx-r-lg);background:#fff}
body[data-route="studio"] .studio-invitation-compose-fields{display:grid;gap:20px;padding:24px}
body[data-route="studio"] .studio-invitation-compose-fields>header{display:flex;gap:14px;align-items:center;padding-bottom:2px}
body[data-route="studio"] .studio-invitation-compose-fields>header .eyebrow,
body[data-route="studio"] .studio-invitation-email-preview>header .eyebrow{margin:0 0 4px}
body[data-route="studio"] .studio-invitation-compose-fields>header h2,
body[data-route="studio"] .studio-invitation-email-preview>header h2{margin:0;font-size:19px;letter-spacing:-.025em}
body[data-route="studio"] .studio-invitation-compose-icon{width:42px;height:42px;display:grid;place-items:center;flex:0 0 auto;border:1px solid rgba(38,91,59,.18);border-radius:10px;background:var(--studio-mint-bg,#edf6ef);color:var(--studio-mint-ink,#285b3b)}
body[data-route="studio"] .studio-invitation-compose-icon .ui-icon{width:20px;height:20px}
body[data-route="studio"] .studio-invitation-permission-note{display:grid;grid-template-columns:22px minmax(0,1fr);gap:12px;padding:15px 16px;border:1px solid var(--sx-line);border-radius:8px;background:#f7f8f6;color:var(--sx-muted);font-size:10.5px;line-height:1.5}
body[data-route="studio"] .studio-invitation-permission-note .ui-icon{width:18px;height:18px;margin-top:1px;color:var(--studio-mint-ink,#285b3b)}
body[data-route="studio"] .studio-invitation-permission-note p{margin:0}
body[data-route="studio"] .studio-invitation-permission-note strong{color:var(--sx-ink)}
body[data-route="studio"] .studio-invitation-email-preview{overflow:hidden}
body[data-route="studio"] .studio-invitation-email-preview>header{display:flex;justify-content:space-between;gap:18px;align-items:flex-start;padding:22px 24px 18px;border-bottom:1px solid var(--sx-line)}
body[data-route="studio"] .studio-preview-badge{display:inline-flex;align-items:center;min-height:26px;padding:0 10px;border:1px solid var(--sx-line);border-radius:999px;background:#f7f8f6;color:var(--sx-muted);font-size:9px;font-weight:700;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}
body[data-route="studio"] .studio-email-envelope-meta{margin:0;padding:0 24px;background:#fff}
body[data-route="studio"] .studio-email-envelope-meta>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;padding:11px 0;border-bottom:1px solid var(--sx-line)}
body[data-route="studio"] .studio-email-envelope-meta dt{color:var(--sx-muted-2);font-size:9px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
body[data-route="studio"] .studio-email-envelope-meta dd{margin:0;overflow-wrap:anywhere;color:var(--sx-ink);font-size:10.5px;font-weight:600}
body[data-route="studio"] .studio-email-preview-frame{position:relative;padding:16px;background:#ebe9e3}
body[data-route="studio"] .studio-email-preview-frame iframe{display:block;width:100%;height:720px;border:0;border-radius:8px;background:#f3f1eb}
body[data-route="studio"] .studio-email-preview-loading{position:absolute;inset:16px;display:grid;place-items:center;border-radius:8px;background:rgba(243,241,235,.94);color:var(--sx-muted);font-size:11px;font-weight:650}
body[data-route="studio"] .studio-email-preview-loading[hidden]{display:none}
body[data-route="studio"] .studio-email-preview-note{margin:0;padding:12px 24px 14px;border-top:1px solid var(--sx-line);color:var(--sx-muted-2);font-size:9.5px;line-height:1.45}
body[data-route="studio"] .studio-invitation-compose-actions{display:flex;justify-content:space-between;gap:28px;align-items:flex-end;margin-top:4px;padding:20px 0 2px;border-top:1px solid var(--sx-line)}
body[data-route="studio"] .studio-invitation-compose-actions>.studio-invitation-compose-buttons{display:flex;justify-content:flex-end;gap:10px;align-items:center;flex:0 0 auto}
body[data-route="studio"] .studio-invitation-compose-actions>.studio-invitation-compose-buttons .button{min-width:138px}
body[data-route="studio"] .studio-invitation-compose-actions>.studio-invitation-compose-buttons .button.dark{min-width:164px}
body[data-route="studio"] .studio-invitation-compose-actions>div:first-child .eyebrow{margin:0 0 5px}
body[data-route="studio"] .studio-invitation-compose-actions>div:first-child>span{display:block;color:var(--sx-muted);font-size:10.5px;line-height:1.45}
body[data-route="studio"] .studio-invitation-compose-title>.status{align-self:flex-start;margin-top:2px}
body[data-route="studio"] .studio-invitation-readonly-list{display:grid;gap:0;margin:0}
body[data-route="studio"] .studio-invitation-readonly-list>div{display:grid;grid-template-columns:122px minmax(0,1fr);gap:14px;padding:13px 0;border-top:1px solid var(--sx-line)}
body[data-route="studio"] .studio-invitation-readonly-list dt{color:var(--sx-muted-2);font-size:9px;font-weight:700;letter-spacing:.075em;text-transform:uppercase}
body[data-route="studio"] .studio-invitation-readonly-list dd{margin:0;color:var(--sx-ink);font-size:11px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
body[data-route="studio"] .studio-invitation-readonly-list dd .muted{color:var(--sx-muted);font-weight:450}
body[data-route="studio"] .studio-invitation-delivery-panel{display:grid;gap:14px;padding-top:20px;border-top:1px solid var(--sx-line)}
body[data-route="studio"] .studio-invitation-delivery-panel.is-error{padding:16px;border:1px solid rgba(119,33,30,.28);border-radius:8px;background:rgba(119,33,30,.035)}
body[data-route="studio"] .studio-invitation-delivery-copy .eyebrow{margin:0 0 4px}
body[data-route="studio"] .studio-invitation-delivery-copy h3{margin:0 0 5px;font-size:17px;letter-spacing:-.02em}
body[data-route="studio"] .studio-invitation-delivery-copy>p:last-of-type{margin:0;color:var(--sx-muted);font-size:10.5px;line-height:1.5}
body[data-route="studio"] .studio-invitation-delivery-copy small{display:block;margin-top:7px;color:var(--sx-muted-2);font-size:9.5px}
body[data-route="studio"] .studio-invitation-delivery-actions{display:flex;gap:8px;align-items:center}
body[data-route="studio"] .studio-invitation-delivery-actions .button{min-width:0;white-space:nowrap}
body[data-route="studio"] .studio-invitation-delivery-actions>.button{flex:1}
body[data-route="studio"] .studio-invitation-delivery-actions .studio-invitation-menu{flex:0 0 auto}
body[data-route="studio"] .studio-invitation-delivery-actions.is-secondary-only{justify-content:flex-end}
body[data-route="studio"] .studio-invitation-resend-note{margin:-2px 0 0;color:var(--sx-muted-2);font-size:9.5px;line-height:1.5}
@media(max-width:1260px){body[data-route="studio"] .studio-invitation-compose-grid{grid-template-columns:1fr}body[data-route="studio"] .studio-email-preview-frame iframe{height:760px}}@media(max-width:1180px){body[data-route="studio"] .studio-invitation-row{grid-template-columns:84px minmax(190px,1fr) minmax(210px,1fr)}body[data-route="studio"] .studio-invitation-actions{grid-column:2/-1;justify-content:flex-start}}
@media(max-width:720px){body[data-route="studio"] .studio-invitations-title{display:grid;gap:18px}body[data-route="studio"] .studio-invitations-title>.button{justify-self:start}body[data-route="studio"] .studio-invitation-boundary{grid-template-columns:1fr}body[data-route="studio"] .studio-invitation-boundary>span{width:40px;height:40px}body[data-route="studio"] .studio-invitation-row{grid-template-columns:1fr;gap:10px;padding:18px}body[data-route="studio"] .studio-invitation-status{padding:0}body[data-route="studio"] .studio-invitation-actions{grid-column:auto;justify-content:flex-start;flex-wrap:wrap}.artist-invitation-fields{grid-template-columns:1fr}body[data-route="studio"] .studio-invitation-compose-fields{padding:18px}body[data-route="studio"] .studio-invitation-email-preview>header{padding:18px}body[data-route="studio"] .studio-email-envelope-meta{padding:0 18px}body[data-route="studio"] .studio-email-preview-frame{padding:10px}body[data-route="studio"] .studio-email-preview-frame iframe{height:650px}body[data-route="studio"] .studio-email-preview-loading{inset:10px}body[data-route="studio"] .studio-invitation-compose-actions{display:grid;gap:16px;align-items:stretch}body[data-route="studio"] .studio-invitation-compose-actions>.studio-invitation-compose-buttons{display:grid;grid-template-columns:1fr 1fr}body[data-route="studio"] .studio-invitation-compose-actions>.studio-invitation-compose-buttons .button{min-width:0;width:100%}body[data-route="studio"] .studio-invitation-readonly-list>div{grid-template-columns:1fr;gap:5px}}

/* v1.9.237 scope re-approval: accepted agreements stay intact while changed
   exhibition title/venue/dates are explicitly reviewed by the artist. */
body[data-route="request"] .agreement-scope-update{
  align-items:start;
  background:#f7faf7;
}
body[data-route="request"] .scope-update-grid{
  display:grid;
  gap:0;
  margin-top:12px;
  border:1px solid #dfe4df;
  border-radius:8px;
  overflow:hidden;
  background:#fff;
}
body[data-route="request"] .scope-update-row{
  display:grid;
  grid-template-columns:minmax(100px,.7fr) minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:10px 12px;
  border-top:1px solid #e4e7e4;
}
body[data-route="request"] .scope-update-row:first-child{border-top:0}
body[data-route="request"] .scope-update-row>span{
  color:var(--artx-component-subtle);
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-route="request"] .scope-update-row div{display:grid;gap:2px;min-width:0}
body[data-route="request"] .scope-update-row small{
  color:var(--artx-component-subtle);
  font-size:8px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
body[data-route="request"] .scope-update-row :is(b,strong){
  min-width:0;
  overflow-wrap:anywhere;
  font-size:10.5px;
}
body[data-route="request"] .scope-update-row b{font-weight:500;color:var(--artx-component-subtle)}
body[data-route="request"] .scope-update-row strong{font-weight:700;color:var(--artx-component-ink)}
.modal .scope-reapproval-preview{
  display:grid;
  gap:8px;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
}
.modal .scope-reapproval-preview>div{display:grid;gap:3px}
.modal .scope-reapproval-preview span{
  color:#6d746f;
  font-size:9px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.modal .scope-reapproval-preview strong{font-size:11px;line-height:1.4}
@media(max-width:720px){
  body[data-route="request"] .scope-update-row{grid-template-columns:1fr}
}
