/* Vectrivo shared compact action affordances. Loaded after prior button rules. */
#protectedApp .studio-view button.v-icon-button,
#protectedApp .studio-view .community-card-top-actions button.v-icon-button{
  position:relative;isolation:isolate;box-sizing:border-box;display:inline-flex;
  justify-content:center;align-items:center;flex:none;min-width:44px;width:44px;
  max-width:44px;min-height:44px;height:44px;padding:0!important;line-height:1;
  color:#d6eaf5;background:#173149;border:1px solid #54768c;border-radius:10px;
  cursor:pointer;overflow:visible;white-space:nowrap;
}
#protectedApp .studio-view button.v-icon-button svg{width:20px;height:20px;pointer-events:none;flex:none}
#protectedApp .studio-view button.v-icon-button[data-tone=primary]{color:#a7f8e7;border-color:#54ad9e;background:#174c4c}
#protectedApp .studio-view button.v-icon-button[data-tone=danger]{color:#ffc6cf;border-color:#835765;background:#382532}
#protectedApp .studio-view button.v-icon-button[data-icon=star][aria-pressed=true]{color:#f8d67a;border-color:#bb9850;background:#413622}
#protectedApp .studio-view button.v-icon-button[data-icon=star][aria-pressed=true] svg{fill:currentColor;stroke:#f8d67a}
#protectedApp .studio-view button.v-icon-button[aria-pressed=true]:not([data-icon=star]){color:#9af3d8;border-color:#5fae9a;background:#1d4d49}
#protectedApp .studio-view button.v-icon-button:disabled{cursor:not-allowed;opacity:.55}
#protectedApp .studio-view button.v-icon-button:not(:disabled):hover{background:#24465a;border-color:#8de6d5;box-shadow:0 2px 9px #0006}
#protectedApp .studio-view button.v-icon-button[data-tone=danger]:not(:disabled):hover{background:#633342;border-color:#ff94a3}
#protectedApp .studio-view button.v-icon-button:focus-visible{outline:3px solid #8becde;outline-offset:2px;z-index:14}
/* Accessible pointer and keyboard hint; native title is a fallback on platforms
   without CSS hover. No app-global tooltips obstruct text-entry controls. */
#protectedApp .studio-view button.v-icon-button::after{
  content:attr(data-hint);position:absolute;left:50%;top:calc(100% + 8px);
  transform:translateX(-50%);width:max-content;max-width:min(190px,75vw);
  padding:7px 9px;border:1px solid #62879c;background:#071b2a;color:#f5fbff;
  box-shadow:0 4px 14px #0009;border-radius:7px;font-size:12px;font-weight:650;
  line-height:1.3;text-align:center;white-space:normal;opacity:0;visibility:hidden;
  pointer-events:none;z-index:50;
}
#protectedApp .studio-view button.v-icon-button:first-child::after{left:0;transform:none}
#protectedApp .studio-view button.v-icon-button:nth-last-child(-n+2)::after{left:auto;right:0;transform:none}
#protectedApp .studio-view button.v-icon-button:focus-visible::after{opacity:1;visibility:visible}
@media(hover:hover){#protectedApp .studio-view button.v-icon-button:hover::after{opacity:1;visibility:visible}}
/* Repetitive rows: names have the space, actions no longer repeat long labels. */
#protectedApp #studio-dashboard .project-item{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;overflow:visible}
#protectedApp #studio-dashboard .project-item>div:first-child{min-width:0;overflow-wrap:anywhere}
#protectedApp #studio-dashboard .project-item-actions{display:flex;justify-content:flex-end;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0;width:auto}
#protectedApp #studio-dashboard .project-item-actions button.v-icon-button{flex:0 0 44px}
#protectedApp .studio-view .community-saved-buttons,
#protectedApp .studio-view .mf-my-report-buttons,
#protectedApp .studio-view .mf-report-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
#protectedApp #studio-community .community-card-top-actions{gap:6px}
#protectedApp #studio-community .community-card-top-actions .community-reaction.v-icon-button,
#protectedApp #studio-community .community-card-top-actions .community-favorite.v-icon-button{min-width:44px;width:44px;max-width:44px;min-height:44px;height:44px;padding:0!important;border-radius:10px;font-size:inherit}
#protectedApp #studio-community .community-card-top-actions .community-reaction.v-icon-button svg{width:19px;height:19px}
#protectedApp #studio-community .community-card-top-actions .community-reaction.v-icon-button[data-icon=thumbs-up]::after,
#protectedApp #studio-community .community-card-top-actions .community-reaction.v-icon-button[data-icon=thumbs-down]::after{top:calc(100% + 8px)}
@media(max-width:760px){
  #protectedApp #studio-dashboard .project-item{grid-template-columns:minmax(0,1fr);gap:9px}
  #protectedApp #studio-dashboard .project-item-actions{width:100%;justify-content:flex-start;flex-wrap:wrap}
}
@media(min-width:761px) and (max-width:1000px){
  #protectedApp #studio-dashboard .project-item{grid-template-columns:minmax(0,1fr)}
  #protectedApp #studio-dashboard .project-item-actions{justify-content:flex-start}
}
@media(prefers-reduced-motion:reduce){#protectedApp .studio-view button.v-icon-button{transition:none}}
@media print{#protectedApp .studio-view button.v-icon-button{display:none!important}}
/* Model preview image is already constrained by object-fit; let the icon hints
   extend outside the artwork without being clipped by the image viewport. */
#protectedApp #studio-community .community-card-art{overflow:visible}
#protectedApp #studio-community .community-card-model-preview{border-radius:8px}

/* Search-first project dashboard. The hidden list must override grid CSS. */
#protectedApp #studio-dashboard #cloudProjects[hidden]{display:none!important}
#protectedApp #studio-dashboard .mf-project-reveal{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0 4px}
#protectedApp #studio-dashboard .mf-project-reveal span{color:#a8c7d7;font-size:12px}
#protectedApp #studio-dashboard .mf-project-reveal button{min-height:42px}
