/* MyCTRL v1.9 compact visual refresh */
.brand-heading{display:flex;align-items:center;gap:0;font-size:30px;white-space:nowrap;min-width:0}.brand-mark{width:34px;height:34px;object-fit:contain;flex:none;margin-right:8px}.brand-tagline{margin-top:5px}.compact-nav{z-index:20;gap:0;padding:5px 8px calc(5px + env(safe-area-inset-bottom));align-items:center}.compact-nav button,body.light .compact-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;max-width:116px;min-width:0;min-height:48px;padding:4px 1px;font-size:10px;line-height:1.2;color:#aab8ce;background:transparent;white-space:nowrap}.compact-nav button svg{flex:none}.compact-nav button span{max-width:100%;overflow:hidden;text-overflow:ellipsis}body.light .compact-nav button{color:#52627a}.compact-nav button[aria-current=page],body.light .compact-nav button[aria-current=page],.compact-nav button[data-nav=new],body.light .compact-nav button[data-nav=new]{color:#609aff}body.light .compact-nav button[aria-current=page],body.light .compact-nav button[data-nav=new]{color:#245eb7}.compact-nav button[aria-current=page]{font-weight:700}.compact-nav button:focus-visible{outline:2px solid #3975e8;outline-offset:-2px}main{padding-bottom:calc(85px + env(safe-area-inset-bottom))}@media(max-width:380px){.brand-heading{font-size:25px}.brand-mark{width:28px;height:28px;margin-right:6px}.top-actions button,body.light .top-actions button{width:36px;min-width:36px;padding:6px}.compact-nav button,body.light .compact-nav button{font-size:9px}}

/* Restore the intended original light palette, overriding the generic button rule. */
body.light{background:#edf2fa;color:#172337}
body.light button.tile:not(.primary),body.light button.panel.stat:not(.primary),body.light button.item:not(.primary){background:#fff;color:#172337}
.compact-nav button[data-nav=new] svg{width:24px;height:24px}

/* Align all navigation icon centers, including the label-free add button. */
.compact-nav button[data-nav=new]::after{content:"";display:block;height:1.2em;flex:none}
.compact-nav button[data-nav=new] svg{width:20px;height:20px}

/* v1.9.3: larger add icon, same centerline as other icons. */
.compact-nav button[data-nav=new] svg{width:30px;height:30px;margin-block:-5px;overflow:visible}
