/* View all (Joey, 12-02-2026): each card's Save for staff preview / Publish live / Unpublish card sit on the
   card's title bar, right side (view-all-studio.js headActions). Same colors on every row: Save light blue,
   Publish live light green (as publication-button-colors.css), Unpublish card filled red in the same style.
   The card's own copies of these buttons are hidden; the title-bar buttons press them. */
:is(#view-all-studio,.va-sponsor) .va-card-top{display:flex;align-items:stretch}
:is(#view-all-studio,.va-sponsor) .va-card-top>.va-card-head{flex:1 1 0;width:auto;min-width:0}
:is(#view-all-studio,.va-sponsor) .va-card-head.va-card-head-split{grid-template-columns:72px minmax(0,1fr)}
#carousel-studio>section[data-channel=view-all-sponsored].va-sponsor .va-card-head.va-card-head-split{grid-template-columns:88px minmax(0,1fr)}
:is(#view-all-studio,.va-sponsor) .va-chevron-out{flex:none;width:36px;display:grid;place-items:center;cursor:pointer}
.va-head-actions{flex:0 1 520px;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:8px 4px 8px 10px}
.va-head-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
body.balanced-studio .va-head-actions .va-head-buttons>button{flex:none;width:auto;margin:0;font-size:14px;line-height:1.3;padding:8px 13px;min-height:36px}
.va-head-help{display:block;font-size:10.5px;line-height:1.35;color:var(--studio-muted,#617181);text-align:right}

/* Hide the open card's own copies (the title-bar buttons use them). */
#view-all-studio .va-offer-form :is(.contact-info-actions,.va-card-help,[data-unpublish]){display:none!important}
#carousel-studio>section.va-sponsor .carousel-card-actions{display:none!important}

/* Colors, both themes. */
:is(html,html[data-theme=dark]) body.balanced-studio .va-head-actions .va-head-save{background:#dbeafe;color:#1e40af;border:1px solid #dbeafe}
:is(html,html[data-theme=dark]) body.balanced-studio .va-head-actions .va-head-publish{background:#dcfce7;color:#166534;border:1px solid #dcfce7}
/* Unpublish card / Unpublish offer: filled red wherever a button takes one card or offer out of the app and
   keeps it as a draft (View all title bars, carousel cards). Unpublish row works differently and is not red. */
:is(html,html[data-theme=dark]) body.balanced-studio :is(.va-head-actions .va-head-unpublish,button.unpublish-card.unpublish-card,button.unpublish-offer.unpublish-offer,.coupon-card button.unpublish-yes){background:#fee2e2;color:#991b1b;border:1px solid #fee2e2}
:is(html,html[data-theme=dark]) body.balanced-studio :is(.va-head-actions .va-head-unpublish,button.unpublish-card.unpublish-card,button.unpublish-offer.unpublish-offer,.coupon-card button.unpublish-yes):hover:not(:disabled){background:#fecaca;border-color:#fecaca}

@media(max-width:700px){
 :is(#view-all-studio,.va-sponsor) .va-card-top{flex-wrap:wrap}
 .va-head-actions{order:5;flex:1 1 100%;padding:0 10px 10px}
 .va-head-buttons{justify-content:flex-start}
 .va-head-help{text-align:left}
}
