/* STM121 — brand coherence, high-resolution showcase and accessible controls.
   Applies to public site chrome and owner/admin workspaces, never customer-authored invitation artwork. */
:root { --stm121-navy:#173f61; --stm121-navy-deep:#102f4b; --stm121-blue:#285f86; --stm121-silver:#c4d4e0; --stm121-line:#cbdbe7; --stm121-fog:#edf4fa; }
body:has(.admin-main),body:has(.admin94-shell),body:has(.owner-dashboard),body:has(.login-wrap){
 --ink:#193a56!important;--muted:#577084!important;--line:#c9d9e5!important;--soft:#eaf3fa!important;--accent:#255b82!important;--cream:#f3f7fc!important;--fancy-green:#235b82!important;
 background:linear-gradient(160deg,#f3f7fb 0%,#f9fbfd 60%,#eef4fa 100%)!important;color:#173c59!important;
}
body:has(.admin94-shell) .admin94-top,body:has(.admin-main) .admin-top,body:has(.admin-main) .admin94-top{
 background:linear-gradient(115deg,#102f4b,#1e537b)!important;border-bottom:1px solid #8faabd!important;color:#fff!important;box-shadow:0 9px 28px #112e4825!important;
}
body:has(.admin94-shell) .admin94-top :is(a,button),body:has(.admin-main) .admin94-top :is(a,button){color:#fafdff!important}
body:has(.admin94-shell) .admin94-top nav a[aria-current=page],body:has(.admin-main) .admin94-top nav a[aria-current=page],body:has(.admin94-shell) .admin105-more[open]>summary {background:#eef5fa!important;color:#123b5c!important}
body:has(.admin94-shell) :is(.admin94-shell,.admin94-title),body:has(.admin-main) :is(.admin-main,.admin-hero){color:#183d5b!important}
body:has(.admin94-shell) :is(.active-job94,.job105-drawer,.job105-inline-drawer,.admin105-job-nav,.job94-section,.job94-card),
body:has(.admin-main) :is(.admin-section,.admin-overview-stats div,.admin-main-switcher,.admin-section-switcher),
body:has(.owner-dashboard) :is(.owner-command-center,.owner-card,.owner-command-stats article,.owner-next-action,.owner-guest-table tr),
body:has(.login-wrap) .login-card{
 border-color:#c6d8e5!important;background:#fff!important;box-shadow:0 10px 34px #183e5b0b!important;
}
body:has(.admin94-shell) .active-job94[data-do-next="1"] {border-color:#3979a2!important;box-shadow:0 15px 35px #214f7930!important}
body:has(.admin94-shell) .admin105-next{
 border-color:#5686aa!important;color:#fff!important;
}
body:has(.owner-dashboard) .owner-command-center>.eyebrow{color:#235e85!important}
body:has(.admin-main) .admin-main-switcher button,body:has(.admin-main) .admin-section-switcher button,
body:has(.admin94-shell) :is(.admin105-job-nav button,.job105-drawer>summary,.job105-inline-drawer>summary),
body:has(.owner-dashboard) :is(.owner-mobile-tabs a,.owner-quick-actions a){border-color:#bdd1e0!important;color:#194664!important;background:#f2f7fb!important}
body:has(.admin-main) .admin-main-switcher button:hover,body:has(.admin-main) .admin-section-switcher button:hover,
body:has(.admin94-shell) :is(.admin105-job-nav button,.job105-drawer>summary,.job105-inline-drawer>summary):hover,
body:has(.owner-dashboard) :is(.owner-mobile-tabs a,.owner-quick-actions a):hover{background:#e0edf7!important;color:#103b5c!important}
body:has(.admin-main) .admin-section-switcher button.is-active,body:has(.admin-main) .admin-main-switcher button.is-active {background:#1b4b70!important;color:#fff!important;border-color:#1b4b70!important}
body:has(.admin-main) :is(.admin-section h2,.admin-hero h1),body:has(.admin94-shell) :is(.admin94-title h1,.active-job94 h2),body:has(.owner-dashboard) :is(.owner-command-center h1,.owner-card h2){color:#163b59!important}
body:has(.admin-main) :is(.primary-action,.secondary-action.button),body:has(.admin94-shell) :is(.work-job94,.primary-action),body:has(.owner-dashboard) .primary-action{
 background:#17496e!important;color:#fff!important;border-color:#17496e!important;box-shadow:0 8px 21px #19496c24!important;
}
body:has(.admin-main) :is(.primary-action,.secondary-action.button):hover,body:has(.admin94-shell) :is(.work-job94,.primary-action):hover,body:has(.owner-dashboard) .primary-action:hover {background:#28658a!important;border-color:#28658a!important;color:#fff!important}
body:has(.admin-main) :is(input,select,textarea),body:has(.admin94-shell) :is(input,select,textarea),body:has(.owner-dashboard) :is(input,select,textarea){border-color:#aebfcf!important;background:#fff!important;color:#173c59!important}
body:has(.admin-main) :is(input,select,textarea):focus-visible,body:has(.admin94-shell) :is(input,select,textarea):focus-visible,body:has(.owner-dashboard) :is(input,select,textarea):focus-visible{
 outline:3px solid #78b4db!important;outline-offset:1px!important;border-color:#3777a0!important;
}
body:has(.admin-main) :is(a,button,summary):focus-visible,body:has(.admin94-shell) :is(a,button,summary):focus-visible,body:has(.owner-dashboard) :is(a,button,summary):focus-visible,
body:has(.approved-home) :is(a,button):focus-visible{outline:3px solid #80bde7!important;outline-offset:3px!important}
body:has(.admin-main) :is(.admin-section table,.admin-section table th,.admin-section table td),body:has(.owner-dashboard) :is(table,table th,table td){border-color:#d3e1ec!important}
body:has(.admin-main) .admin-section table thead,body:has(.owner-dashboard) table thead{background:#eaf2f8!important;color:#173f61!important}
body:has(.owner-dashboard) .owner-mobile-tabs{background:rgba(247,251,255,.97)!important;border-color:#c4d9e8!important}
body:has(.owner-dashboard) .stm-host-addon-zone{background:#f0f5fa!important;border-color:#afc8dc!important}
body:has(.owner-dashboard) .stm-addon-details>summary{background:#ecf3f9!important;color:#214b6b!important;border-color:#c8d9e6!important}
body:has(.owner-dashboard) .stm-link-destination-note{color:#4f6e86!important}
body:has(.approved-home) .stm118-hero .premium-home-art.stm118-flagship{min-width:0!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;margin:0 auto!important;max-width:100%!important}
body:has(.approved-home) .stm118-flagship-frame{display:block!important;width:min(100%,760px)!important;max-width:100%!important;margin-inline:auto!important;transform:none!important}
body:has(.approved-home) .stm118-flagship-frame:hover{transform:translateY(-3px)!important}
body:has(.approved-home) .stm118-flagship-meta{width:100%!important;justify-content:center!important;text-align:center!important;flex-wrap:wrap!important}
body:has(.approved-home) .original-screen-slide[data-original-screen-slide="Invite"]{display:grid!important;place-items:center!important}
body:has(.approved-home) .original-screen-slide[data-original-screen-slide="Invite"] .original-screen-invite-art{
 width:min(820px,100%)!important;height:100%!important;margin-inline:auto!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:clamp(4px,2vw,16px)!important;
}
body:has(.approved-home) .original-screen-slide[data-original-screen-slide="Invite"] .original-screen-invite-art>img{
 width:auto!important;height:auto!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;object-position:center!important;margin-inline:auto!important;
}
/* High-resolution gallery images stay inside their whole-scene aspect ratio; no artificial enlarged crops. */
body:has(.approved-home) .launch-photo-demo img,body:has(.approved-home) .original-screen-photo-pair img{image-rendering:auto!important;object-fit:contain!important;object-position:center!important}
body:has(.approved-home) .launch-photo-demo{background:#eaf2f8!important}
body:has(.approved-home) .launch-platform-card,body:has(.approved-home) .approved-example-card{border-color:#cadce9!important}
@media(max-width:760px){
 body:has(.approved-home) .stm118-flagship-meta{display:flex!important;gap:8px!important}
 body:has(.admin94-shell) .admin94-top{gap:8px!important}
 body:has(.owner-dashboard) .owner-mobile-tabs{scroll-padding:12px}
}
@media(prefers-reduced-motion:reduce){body:has(.approved-home) .stm118-flagship-frame,body:has(.admin-main) button,body:has(.owner-dashboard) button{transition:none!important}}
