/* Shared shell fixes, deliberately scoped to public chrome and known controls. */
html body{min-width:280px}
html body [data-shared-footer],html body [data-shared-footer-bottom]{box-sizing:border-box!important;width:var(--shared-rail-width,min(1480px,calc(100% - 32px)))!important;max-width:100%!important;margin-inline:auto!important;left:auto!important;right:auto!important;min-width:0!important}
html body [data-shared-footer-bottom]{display:flex!important;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;padding:18px 20px!important}
html body [data-shared-footer-bottom]>div{display:flex!important;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:12px;min-width:0}
html body [data-shared-footer-bottom] a{white-space:normal;overflow-wrap:anywhere}
.site-header .brand-image picture,.site-footer .brand-image picture{display:block;width:100%;height:100%}.site-header .brand-image img,.site-footer .brand-image img{object-fit:contain;max-width:100%;max-height:58px}
.feedback-live-avatar,.fs-review-avatar{position:relative;display:inline-grid!important;place-items:center;flex:0 0 48px;width:48px!important;height:48px!important;overflow:hidden;border-radius:50%;background:linear-gradient(140deg,#d8faf4,#eee6fd);color:#2b617a}
.feedback-live-avatar img,.fs-review-avatar img{position:absolute;inset:0;display:block;width:100%!important;height:100%!important;object-fit:cover;border-radius:inherit}
.feedback-card-person{display:flex;align-items:center;gap:12px}.feedback-card-person>div{min-width:0}.feedback-card-person small{overflow-wrap:anywhere}
.ui-symbol{display:inline-block;width:20px;height:20px;flex:none;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
button,a,input[type=file],input[type=file]::file-selector-button{touch-action:manipulation}button,input[type=file],input[type=file]::file-selector-button{cursor:pointer}
html body .portal-main :is(.portal-grid,.profile-layout,.feedback-studio-grid){gap:20px}
html body .portal-main :is(input,select,textarea){max-width:100%;box-sizing:border-box}
html body .portal-main :is(.row-actions,.form-actions,.feedback-moderation-actions){display:flex;flex-wrap:wrap;gap:10px}
html body .reference-blog-page .rb-topics,html body .reference-article-page .ra-popular{position:relative!important;top:auto!important;left:auto!important;right:auto!important;transform:none!important}
@media(max-width:900px){
 html body[data-page=home] .cta{display:grid!important;grid-template-columns:minmax(0,1fr)!important;padding:26px!important;gap:20px!important;min-height:0!important;isolation:isolate}
 html body[data-page=home] .cta>img:not(.glass-ball){position:relative!important;inset:auto!important;width:104px!important;height:104px!important;object-fit:contain;margin:0!important}
 html body[data-page=home] .cta>div,html body[data-page=home] .cta>.button{grid-column:1!important;width:auto!important;max-width:100%!important;margin:0!important}
 html body[data-page=home] .cta>.button{justify-self:start;padding-inline:22px!important}
 html body[data-page=home] .cta h2{font-size:clamp(23px,5vw,31px)!important;line-height:1.25!important}
 html body[data-page=home] .cta .glass-ball{display:none!important}
 html body .portal-main{min-width:0}.portal-main .portal-card{min-width:0}
}
@media(max-width:760px){
 html body[data-page=home] .hero-title{font-size:clamp(25px,7.2vw,40px)!important;line-height:1.15!important;letter-spacing:-.6px!important}
 html body[data-page=home] .hero-title span{white-space:normal!important;overflow-wrap:break-word;letter-spacing:inherit!important;max-width:100%}
 html body .site-header{gap:6px!important;padding-inline:12px!important}
 html body .site-header .brand-image{flex:1 1 90px!important;width:90px!important;min-width:0!important;max-width:110px!important;padding:0!important}
 html body .site-header .header-actions{flex:0 0 auto!important;gap:5px!important;margin-left:auto!important}
 html body .site-header .header-actions .login{min-width:48px!important;width:auto!important;padding:0 6px!important;font-size:12px!important}
 html body .site-header .header-actions .small-button{min-width:0!important;padding:0 8px!important;font-size:12px!important;gap:4px!important}
 html body .site-header .menu-toggle{flex:0 0 30px!important;width:30px!important;margin-left:0!important;padding:4px!important}
 html body [data-shared-footer]{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:20px!important;padding:20px!important}
 html body [data-shared-footer]>div:first-child{grid-column:1/-1}
 html body [data-shared-footer]>div{min-width:0!important;width:auto!important}
 html body [data-shared-footer-bottom]{align-items:flex-start!important;padding:18px!important;font-size:12px}
 html body [data-shared-footer-bottom]>div{justify-content:flex-start!important}
 html body #site-nav{max-height:calc(100dvh - 100px);overflow-y:auto;overflow-x:hidden!important;max-width:100%!important;box-sizing:border-box;overscroll-behavior:contain}
 html body #site-nav .cascade-menu{position:static!important;inset:auto!important;width:100%!important;max-width:100%!important;transform:none!important}
 html body #site-nav .cascade-dropdown{min-width:0!important;width:100%!important}
 html body .reference-blog-page .rb-topics.rb-service-topics{overflow:visible!important;scroll-snap-type:none!important;z-index:10}
 html body .reference-blog-page .blog-more-menu{right:0!important;left:auto!important;width:min(280px,calc(100vw - 64px))!important;max-width:calc(100vw - 64px)!important;max-height:55dvh;overflow:auto}
 html body .reference-blog-page .rb-topics.rb-service-topics.has-overflow-menu>a{flex:0 0 auto!important;min-height:36px!important}
 html body .ra-layout{grid-template-columns:minmax(0,1fr)!important}.ra-sidebar{min-width:0!important;position:static!important}
 html body :is(.av3-stats,.pr4-stats,.tv4-stats){grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important}
 html body :is(.profile-fields,.profile-connection-grid){grid-template-columns:minmax(0,1fr)!important}
}
@media(max-width:380px){html body [data-shared-footer]{grid-template-columns:minmax(0,1fr)!important}html body[data-page=home] .cta{padding:20px!important}html body .profile-phone-controls{grid-template-columns:minmax(0,1fr)!important}}
@media(prefers-reduced-motion:reduce){.auth-modal[open]{animation:none!important}}
