
/* V45 image modes and responsive spacing */
.quote-box:after{content:none!important;display:none!important}
.ph-image-banner{height:var(--image-height);position:relative;border-radius:28px;overflow:hidden}
.ph-image-banner a,.ph-image-banner picture,.ph-image-banner img{display:block;width:100%;height:100%}
.ph-image-banner img{object-fit:cover}
.hero-image-actions{position:absolute!important;inset:auto 20px 24px!important;display:flex!important;justify-content:center!important;gap:12px;flex-wrap:wrap;z-index:3}
.hero-image-buttons:after{background:rgba(0,0,0,var(--overlay,0))!important}
.hero-image-buttons .hero-copy{display:none}
.ph-save-status{position:fixed;right:20px;bottom:24px;z-index:999999;background:#11283f;color:white;border-radius:14px;padding:14px 22px;box-shadow:0 4px 20px #0002;display:flex;gap:10px;align-items:center}
.ph-save-status.busy:before{content:'';width:16px;height:16px;border:2px solid #ffffff55;border-top-color:white;border-radius:50%;animation:ph-spin .7s linear infinite}
@keyframes ph-spin{to{transform:rotate(360deg)}}
@media(max-width:768px){.ph-image-banner,.hero.hero-image-buttons{height:auto!important;min-height:0!important;aspect-ratio:4/5!important;padding:0!important}.hero.hero-image-buttons{display:block!important}.hero-image-actions .btn{min-width:0!important;max-width:100%;font-size:13px;padding:10px 14px}.ph-image-banner{width:100%}.hero-image-actions{bottom:20px!important}}
@media(prefers-reduced-motion:reduce){.ph-save-status.busy:before{animation:none}}

/* V47 mode-aware layout and admin controls */
.banner-studio [hidden]{display:none!important}.banner-studio #banner-options{animation:ph-reveal .22s ease}.banner-studio .field>select+input{margin-top:8px}.admin-body .panel{scroll-margin-top:90px}.admin-body .editor-fields{align-items:start}.admin-body .field small{line-height:1.6}.admin-body .admin-savebar{gap:12px;flex-wrap:wrap}
@keyframes ph-reveal{from{opacity:.4;transform:translateY(5px)}to{opacity:1;transform:none}}
@media(min-width:769px){.hero-image-actions[data-align=left]{justify-content:flex-start!important}.hero-image-actions[data-align=right]{justify-content:flex-end!important}.hero-image-actions[data-y=top]{top:24px!important;bottom:auto!important}.hero-image-actions[data-y=center]{top:50%!important;bottom:auto!important;transform:translateY(-50%)}}
@media(max-width:768px){.hero-image-buttons[data-mobile-button-align=left] .hero-image-actions{justify-content:flex-start!important}.hero-image-buttons[data-mobile-button-align=right] .hero-image-actions{justify-content:flex-end!important}.hero-image-buttons[data-mobile-button-y=top] .hero-image-actions{top:20px!important;bottom:auto!important;transform:none!important}.hero-image-buttons[data-mobile-button-y=center] .hero-image-actions{top:50%!important;bottom:auto!important;transform:translateY(-50%)!important}.hero-image-buttons:is([data-mobile-button-y=bottom],[data-mobile-button-y=afterText]) .hero-image-actions{top:auto!important;bottom:20px!important;transform:none!important}.hero-wrap{width:100%;box-sizing:border-box}.hero-image-buttons{min-width:0}}
@media(prefers-reduced-motion:reduce){.banner-studio #banner-options{animation:none}}
/* V61: compact save feedback, including forms in the dialog top layer. */
.admin-body .ph-save-status{top:calc(16px + env(safe-area-inset-top));right:16px;bottom:auto;left:auto;width:max-content;max-width:min(360px,calc(100vw - 32px));padding:12px 16px;font-size:14px;line-height:1.6;border-radius:14px;background:var(--navy,#11283f);color:var(--buttonText,#fff);box-shadow:0 5px 24px #10283f26;pointer-events:none;animation:ph-save-enter .18s ease-out;transition:opacity .18s,transform .18s}
.admin-body .ph-save-status.busy::before{width:18px;height:18px;min-width:18px;border-color:currentColor;border-right-color:transparent;opacity:.85}
.admin-body .ph-save-symbol{display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#ffffff22}
.admin-body .ph-save-symbol svg{width:17px;height:17px}
.admin-body .ph-save-status[data-state=error]{background:#922f30;color:#fff}
.admin-body .ph-save-status.leaving{opacity:0;transform:translateY(-8px)}
@keyframes ph-save-enter{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:768px){.admin-body .ph-save-status{top:calc(12px + env(safe-area-inset-top));right:12px;max-width:calc(100vw - 24px);font-size:14px;padding:11px 14px}}
@media(prefers-reduced-motion:reduce){.admin-body .ph-save-status{animation:none;transition:none}}
