/* YouSite V52: visual adjustments scoped entirely to open Client Intake. */
/* The original YouSite blueprint background and logo remain untouched. */
.intake-page-panel.ysb-mounted .intake-page-inner{
 left:0!important;right:clamp(12px,1.05vw,19px)!important;
}
.ysb-v50 .ysb-body{
 grid-template-columns:clamp(216px,17.4vw,254px) minmax(0,1fr)!important;
 gap:clamp(26px,3.2vw,49px)!important;
}
/* Flush-left translucent glass, fine edges, deliberately square corners. */
.ysb-v50 .ysb-left{
 border-radius:0!important;
 border:1px solid rgba(216,239,255,.33)!important;
 border-left:0!important;
 background:rgba(195,216,234,.095)!important;
 -webkit-backdrop-filter:blur(25px) saturate(120%)!important;
 backdrop-filter:blur(25px) saturate(120%)!important;
 box-shadow:7px 12px 37px rgba(0,8,24,.34),inset -1px 0 1px rgba(241,251,255,.12)!important;
}
.ysb-v50 .ysb-menu-title{
 background:rgba(232,244,253,.115)!important;
 border-bottom:1px solid rgba(206,240,255,.26)!important;
}
.ysb-v50 .ysb-menu-stage{padding:8px 0 28px!important}
.ysb-v50 .ysb-menu-hint{padding-left:15px;padding-right:11px;margin:9px 0 9px!important}
.ysb-v50 .ysb-side-foot{margin:18px 14px 0!important}
/* Hover and chosen-row state share ONE source of cyan light on left. */
.ysb-v50 .ysb-category{
 position:relative;isolation:isolate;overflow:hidden;
 min-height:40px!important;width:100%;
 padding:7px 15px!important;gap:8px!important;
 margin:0!important;border-radius:0!important;
 border:0!important;border-bottom:1px solid rgba(220,242,255,.10)!important;
 background:transparent!important;color:rgba(228,235,241,.89)!important;
 text-shadow:none;transition:color 220ms ease,background-color 220ms ease!important;
}
.ysb-v50 .ysb-category:before{
 content:"";position:absolute;left:0;top:0;bottom:0;right:0;
 pointer-events:none;z-index:-1;
 background:linear-gradient(90deg,rgba(15,173,255,.32) 0%,rgba(10,143,245,.23) 17%,rgba(0,134,243,.11) 43%,rgba(0,129,255,.034) 69%,rgba(0,132,255,0) 100%);
 opacity:0;transition:opacity 220ms ease;
}
.ysb-v50 .ysb-category:after{
 content:"";position:absolute;left:0;top:0;bottom:0;width:2px;
 z-index:2;pointer-events:none;
 background:#31d5ff;
 box-shadow:0 0 3px #ebffff,0 0 9px 2px rgba(35,190,255,.93),0 0 21px 5px rgba(0,131,255,.56);
 opacity:0;transition:opacity 220ms ease;
}
.ysb-v50 .ysb-category-icon{width:17px;height:17px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 17px;color:rgba(216,230,239,.75);transition:color 220ms ease,filter 220ms ease}
.ysb-v50 .ysb-category-label{flex:1;min-width:0;transition:color 220ms ease,text-shadow 220ms ease}
.ysb-v50 .ysb-category-num{min-width:15px;font-size:8px;color:rgba(182,211,227,.66);transition:color 220ms ease,text-shadow 220ms ease}
.ysb-v50 .ysb-category-arrow{margin-left:auto;color:rgba(193,218,233,.78);transition:color 220ms ease,filter 220ms ease}
.ysb-v50 .ysb-category:hover:before,
.ysb-v50 .ysb-category:hover:after,
.ysb-v50 .ysb-category.is-lit:before,
.ysb-v50 .ysb-category.is-lit:after{opacity:1}
.ysb-v50 .ysb-category:hover .ysb-category-icon,
.ysb-v50 .ysb-category.is-lit .ysb-category-icon,
.ysb-v50 .ysb-category:hover .ysb-category-arrow,
.ysb-v50 .ysb-category.is-lit .ysb-category-arrow{
 color:#35d7ff;filter:drop-shadow(0 0 5px rgba(32,203,255,.75));
}
.ysb-v50 .ysb-category:hover .ysb-category-label,
.ysb-v50 .ysb-category.is-lit .ysb-category-label{
 color:#49ddff;text-shadow:0 0 8px rgba(22,196,255,.67),0 0 17px rgba(16,127,255,.31);
}
.ysb-v50 .ysb-category:hover .ysb-category-num,
.ysb-v50 .ysb-category.is-lit .ysb-category-num{color:#64dfff;text-shadow:0 0 8px rgba(12,192,255,.62)}
/* Header for open category: back chevron and category name remain blue-lit. */
.ysb-v50 .ysb-submenu-heading{position:relative;isolation:isolate;overflow:hidden;transition:color 220ms ease!important}
.ysb-v50 .ysb-submenu-heading.is-lit{
 background:linear-gradient(90deg,rgba(0,171,255,.23),rgba(0,157,242,.10) 48%,transparent 100%)!important;
 border-left:2px solid #2cd8ff!important;
 box-shadow:inset 7px 0 10px -9px #23d0ff;
}
.ysb-v50 .ysb-submenu-heading.is-lit .ysb-back-chevron,
.ysb-v50 .ysb-submenu-heading.is-lit .ysb-current-name{color:#7ae9ff;text-shadow:0 0 8px rgba(46,198,255,.48)}
/* Keep the floating site a separate object, aligned closer to screen right. */
.ysb-v50 .ysb-work{background:transparent!important;margin:0!important;min-width:0}
.ysb-v50 .ysb-preview-canvas{background:transparent!important;}
.ysb-v50 .ysb-browser[data-device="desktop"]{border-radius:0!important;width:100%!important;height:100%!important}
.ysb-v50 .ysb-browser[data-device="tablet"]{
 width:min(720px,86%)!important;
 height:min(535px,78%)!important;
 max-height:535px!important;
 border-radius:17px!important;
}
.ysb-v50 .ysb-browser[data-device="mobile"]{
 width:min(340px,45%)!important;
 height:min(685px,94%)!important;
 max-height:685px!important;
 border-radius:29px!important;
}
.ysb-v50 .ysb-site-frame{width:100%!important;height:100%!important;display:block!important;overflow:hidden!important}
.ysb-v50 .ysb-browser[data-device="tablet"] .ysb-site-frame{border-radius:15px!important}
.ysb-v50 .ysb-browser[data-device="mobile"] .ysb-site-frame{border-radius:27px!important}
/* The iframe itself takes the device's width, triggering actual @media responsive CSS. */
@media(max-width:1100px){
 .ysb-v50 .ysb-body{grid-template-columns:210px minmax(0,1fr)!important;gap:22px!important}
 .ysb-v50 .ysb-browser[data-device="tablet"]{width:85%!important;height:min(535px,78%)!important}
}
@media(max-width:730px){
 .intake-page-panel.ysb-mounted .intake-page-inner{left:8px!important;right:8px!important}
 .ysb-v50 .ysb-body{display:block!important}
 .ysb-v50 .ysb-left{border-radius:0!important}
 .ysb-v50 .ysb-preview-canvas{justify-content:center!important}
 .ysb-v50 .ysb-browser[data-device="tablet"]{width:min(720px,90%)!important;height:74%!important}
 .ysb-v50 .ysb-browser[data-device="mobile"]{width:min(340px,76%)!important;height:92%!important}
}
@media(prefers-reduced-motion:reduce){.ysb-v50 .ysb-category,.ysb-v50 .ysb-category:before,.ysb-v50 .ysb-category:after,.ysb-v50 .ysb-category-icon,.ysb-v50 .ysb-category-label{transition:none!important}}
