/* Shared geometry for both navigation renderers. */
body:is(.has-app-nav, .has-bottom-nav) { padding-bottom: 84px; }
body :is(.app-nav, .bottom-nav) {
    bottom: 12px;
    width: min(calc(100% - 24px), 680px);
    height: 64px;
    min-height: 64px;
    border: 1px solid var(--ui-line);
    border-radius: var(--ui-panel-radius);
    background: var(--ui-surface);
    overflow: hidden;
}
body :is(.app-nav-item, .bottom-nav-item, .bottom-nav-logout button) {
    gap: var(--ui-space-2);
    color: var(--ui-muted);
    font: 600 var(--ui-text-small)/1.2 var(--ui-font);
}
body :is(.app-nav-item, .bottom-nav-item) + :is(.app-nav-item, .bottom-nav-item) { border-left-color: var(--ui-line); }
body :is(.app-nav-item, .bottom-nav-item).active { background: #192311; color: var(--ui-accent); }
body :is(.app-nav-item, .bottom-nav-item):focus-visible { outline-offset: -3px; }
@media (max-width: 760px) {
    body:is(.has-app-nav, .has-bottom-nav) { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    body :is(.app-nav, .bottom-nav) {
        bottom: 0;
        width: 100%;
        height: calc(64px + env(safe-area-inset-bottom));
        padding-bottom: env(safe-area-inset-bottom);
        border-width: 1px 0 0;
        border-radius: 0;
    }
    body :is(.app-nav-item, .bottom-nav-item, .bottom-nav-logout button) {
        flex-direction: column;
        justify-content: center;
        gap: var(--ui-space-1);
        min-height: 44px;
        padding: 6px 2px;
    }
}
