/* One persistent navigation surface: desktop header or compact thumbnail dock. */
:root{--yvk-dock-height:0px;scroll-behavior:auto;scroll-padding-top:120px;scroll-padding-bottom:16px}
.yw-header,.site-header{position:sticky;top:0;z-index:100}
.yw-header-context{display:flex;align-items:center;gap:8px;flex:1;min-width:0;font-size:11px;line-height:1.5;color:#fff}.yw-header-context a,.yw-header-current{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:inherit;text-decoration:none}.yw-header-context a:hover{text-decoration:underline}.yw-header-context a{flex:0 1 auto}.yw-header-current{font-weight:650}.yw-header-separator{flex:none}.yw-account{min-width:0}.yw-account>div{min-width:0}.yw-account strong{max-width:220px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.yw-skip:focus{z-index:200}
.yvk-fixed-dock{display:none}

@media(max-width:1024px),(max-width:1366px) and (hover:none) and (pointer:coarse){
 :root{--yvk-dock-height:calc(86px + env(safe-area-inset-bottom,0px));scroll-padding-top:16px;scroll-padding-bottom:calc(var(--yvk-dock-height) + 16px)}
 .yw-header,.site-header{position:static;top:auto;z-index:auto}
 html[data-yuvakaa-workspace-only] #app{padding-bottom:var(--yvk-dock-height)}
 body:has(.site-mobile-dock){padding-bottom:var(--yvk-dock-height)}
 .yw-page-path,.yw-header-context{display:none}
 .yvk-fixed-dock{position:fixed;inset:auto 0 0;z-index:100;display:flex;align-items:center;gap:4px;height:var(--yvk-dock-height);margin:0;border:0;border-top:3px solid #0805f1;border-radius:0;background:#fff;color:#000;padding:6px max(8px,env(safe-area-inset-right,0px)) calc(6px + env(safe-area-inset-bottom,0px)) max(8px,env(safe-area-inset-left,0px));overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity;box-sizing:border-box}
 .yvk-fixed-dock::-webkit-scrollbar{display:none}
 .yvk-fixed-dock::before,.yvk-fixed-dock::after{content:'';flex:1 0 0}
 .yvk-fixed-dock .yvk-dock-item{display:flex;flex:0 0 64px;width:64px;height:68px;min-height:68px;flex-direction:column;align-items:center;justify-content:flex-start;gap:4px;padding:0;color:#000;text-align:center;text-decoration:none;font:500 10px/12px Inter,ui-sans-serif,system-ui,sans-serif;scroll-snap-align:center}
 .yvk-fixed-dock .yvk-dock-thumb{display:grid;place-items:center;flex:none;width:38px;height:38px;border:3px solid #0805f1;border-radius:12px;background:#fff;color:#0805f1;overflow:hidden}
 .yvk-fixed-dock .yvk-dock-thumb img{display:block;width:100%;height:100%;object-fit:contain}
 .yvk-fixed-dock svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
 .yvk-fixed-dock .yvk-dock-label{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;max-width:64px;max-height:26px;overflow:hidden;overflow-wrap:anywhere;line-height:12px}
 .yvk-fixed-dock [aria-current=page] .yvk-dock-thumb{background:#0805f1;color:#fff}
 .yvk-fixed-dock [aria-current=page] .yvk-dock-label{color:#0805f1;font-weight:700}
 .yvk-fixed-dock .yw-mobile-trail-arrow{flex:none;width:8px;margin:0;padding:0;align-self:center;font-size:14px;line-height:1;color:#ff7a00;text-align:center}
 .yvk-fixed-dock .yvk-dock-item:focus-visible{outline:3px solid #ff7a00;outline-offset:1px;border-radius:12px}
 #yw-toast{bottom:calc(var(--yvk-dock-height) + 12px)}
}

@media print{
 :root{--yvk-dock-height:0px}
 .yvk-fixed-dock{display:none!important}
 .yw-header,.site-header{position:static}
 html[data-yuvakaa-workspace-only] #app,body:has(.site-mobile-dock){padding-bottom:0}
}

.yw-role-form{margin:0}.yw-role-form label{display:flex;align-items:center;gap:.4rem;font:inherit;font-size:.82rem}.yw-role-form select{max-width:10rem;border:1px solid currentColor;background:white;color:#172135;border-radius:6px;padding:5px;font:inherit}@media(max-width:640px){.yw-account:has(.yw-role-form){flex-wrap:wrap}.yw-role-form select{max-width:8rem}}
