/* V5.9 — crisp chrome, consistent vector icons, optically centered tabs. */
#app.app-mode .app-shell>.header{background:#fffbf9!important;opacity:1!important;filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;will-change:auto!important;box-shadow:none!important;}
#app .header :is(.header-inner,.logo,.logo-signet,.brand-symbol,.logo-lockup,.logo-wordmark,.logo-tagline,.header-actions,.icon-btn){filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;transform:none!important;opacity:1!important;will-change:auto!important;text-shadow:none!important;}
#app .header .brand-symbol{display:block;image-rendering:auto!important;}
#app .header .icon-btn{display:grid;place-items:center;padding:0;box-shadow:none!important;}
#app .header .hk-ui-icon{display:block;width:21px;height:21px;flex:none;}
#app.app-mode .app-shell>.nav{--hk-optical-shift:min(8px,var(--hk-bottom-safe));padding-top:var(--hk-optical-shift)!important;padding-bottom:calc(var(--hk-bottom-safe) - var(--hk-optical-shift))!important;align-items:center!important;background:#fffbf9!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;filter:none!important;}
#app.app-mode .app-shell .nav-item{box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px!important;padding:0!important;margin:0!important;line-height:1!important;color:#9b7d88;}
#app.app-mode .app-shell .nav-item .hk-ui-icon{display:block;width:24px;height:24px;flex:0 0 24px;overflow:visible;}
#app.app-mode .app-shell .nav-item small{display:block;line-height:1.15!important;font-size:11px!important;margin:0!important;padding:0!important;font-weight:400!important;}
#app.app-mode .app-shell .nav-item.active{color:#b4778b;}
#app.app-mode .app-shell .nav-item.active .hk-ui-icon{stroke-width:1.9;}
#app.app-mode .app-shell .nav-item.active small{font-weight:600!important;}
@media(orientation:landscape) and (max-height:500px){#app.app-mode .app-shell .nav-item .hk-ui-icon{width:22px;height:22px;flex-basis:22px;}}
/* Keep V5.8 keyboard hide/reveal rules untouched. */
