/* World phone corrections: stylesheet rules work under style-src self. */
html body .app-grid .app-card h3{font-size:14px;line-height:1.3;font-weight:650;overflow-wrap:normal;word-break:normal}
@media(max-width:700px){html body .app-grid .app-card h3{font-size:13px}}
html body #menuButton{display:flex;align-items:center;justify-content:center;flex:none;color:var(--wf-text,var(--text));padding:10px}
html body #menuButton>svg{display:block;width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
html [data-launch-screen][data-brand=wata] .launch-logo{width:100px;height:100px;aspect-ratio:1;object-fit:contain;border-radius:24px;filter:none}
html body .topbar{-webkit-backdrop-filter:none;backdrop-filter:none}
@media(max-width:700px){
 html body .topbar{min-height:calc(74px + var(--safe-top));padding-top:calc(12px + var(--safe-top));padding-bottom:12px}
 html body .topbar-title strong{text-shadow:none}
 html body:not(.entry-mode) .sidebar{display:block!important;position:fixed!important;inset:auto 5px calc(5px + var(--safe-bottom))!important;width:auto!important;height:auto!important;padding:0!important;z-index:40!important;border:0!important;background:transparent!important}
 html body .sidebar>:not(#quickLinks){display:none!important}
 html body #quickLinks{display:flex!important;flex-direction:row!important;align-items:stretch!important;gap:2px!important;overflow-x:auto!important;padding:5px!important;min-height:60px!important;border:1px solid var(--line)!important;border-radius:20px!important;background:var(--wf-surface,var(--panel))!important;box-shadow:0 4px 20px #0003!important}
 html body #quickLinks>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:4px!important;flex:1 0 48px!important;min-width:48px!important;min-height:50px!important;width:auto!important;padding:5px 3px!important;margin:0!important;border:0!important;border-radius:14px!important;background:transparent!important;color:var(--wf-text,var(--text))!important;font-size:10px!important;line-height:1.2!important;white-space:nowrap!important}
 html body #quickLinks>button:is(.active,[aria-current="page"]){background:var(--wf-accent,var(--accent-1))!important;color:var(--wf-accent-ink,#050505)!important}
 html body #quickLinks>button svg{width:20px!important;height:20px!important;flex:none!important;fill:none!important;stroke:currentColor!important;stroke-width:1.8!important}
 html body #quickLinks>button span{color:inherit!important}
 html body .content{padding-bottom:calc(100px + var(--safe-bottom))}
 html body .site-footer{padding-bottom:calc(100px + var(--safe-bottom))}
}
@media(max-height:460px){html [data-launch-screen][data-brand=wata] .launch-logo{width:60px;height:60px;border-radius:15px}}

@media(max-width:700px){html body #quickLinks>button>span:has(svg){display:flex!important;width:20px!important;height:20px!important;flex:0 0 20px!important;padding:0!important;background:none!important;border:0!important;border-radius:0!important}html body #quickLinks>.wata-glass-lens{display:none!important}}

@media(max-width:700px){html body #quickLinks>button>span:not(:has(svg)){display:block!important;width:auto!important;height:auto!important;flex:none!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;font-size:9px!important;line-height:1.25!important}}

/* Three accessible header actions fit without displacing the app identity. */
@media(max-width:700px){html body .topbar{gap:6px}html body .topbar-title{margin:0;min-width:0;flex:1}html body .topbar-title small{white-space:normal;line-height:1.25}html body .topbar-actions{flex:none;gap:6px}html body .topbar-actions>[data-companion-launcher]{display:block;flex:none;width:44px;height:44px}}

/* Header identity and settings must remain crisp under the production CSP. */
html body .topbar #menuButton svg,html body .topbar #menuButton svg :is(path,circle){fill:none!important;stroke:currentColor!important;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
html body .topbar #menuButton{color:var(--wf-text,var(--text,#f5f5f5))!important}
html body .topbar,html body .topbar-title,html body .topbar-title strong,html body .topbar-title small,html body .topbar .home-mark{filter:none!important;text-shadow:none!important}
html body .topbar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;box-shadow:none!important}
/* Keep essential controls in compact headers; Companion stays in Settings. */
@media(max-width:700px){
 html body .topbar-actions>[data-companion-launcher],html body .topbar-actions>#notificationBell{display:none!important}
}
html body[data-suite-rail="toolkit"] .shell{grid-template-rows:max-content minmax(0,1fr)!important;align-content:start}
html body[data-suite-rail="toolkit"] .shell>.topbar{align-self:start}
