/* ==========================================================================
   agentView Layout — App Shell (Mobile-First)
   Sidebar + Topbar + Main Content + Bottom Bar
   ========================================================================== */

/* --- App Container ---
   Mobile: stacked (sidebar as top-bar, content, bottom-bar)
   Desktop: flex row (sidebar fixed left, main fills right)
*/
.av-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    min-height: 100dvh;
    position: relative;
}

/* --- Sidebar ---
   Mobile: collapsed logo-bar at top (sticky)
   Desktop: fixed left column (260px)
*/
.av-sidebar {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: var(--z-sidebar);
    background: var(--bg-warm);
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
}

.av-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px var(--space-md);
    min-height: var(--topbar-height);
    gap: var(--space-sm);
}

.av-sidebar-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--font-lg);
    font-weight: var(--font-weight-extrabold);
    color: var(--text-primary);
    text-decoration: none;
    cursor: pointer;
    min-width: 0;
    overflow: hidden;
}

.av-sidebar-logo span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.av-sidebar-logo-img {
    height: 28px;
    width: auto;
    object-fit: contain;
}

/* Header actions (language + search, mobile/desktop) */
.av-sidebar-header-actions {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    flex-shrink: 0;
}

select.av-sidebar-language-select {
    width: auto;
    min-height: 34px;
    height: 34px;
    padding: 4px 30px 4px 10px;
    font-size: var(--font-xs);
    min-width: 0;
}

.av-sidebar-search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    background: none;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
    font-size: 1.1rem;
    -webkit-tap-highlight-color: transparent;
}

.av-sidebar-search-btn:hover {
    background: var(--bg-hover-subtle);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.av-sidebar-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--touch-target);
    height: var(--touch-target);
    flex: 0 0 auto;
    background: var(--bg-hover-subtle);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    font-size: var(--font-lg);
    -webkit-tap-highlight-color: transparent;
}

.av-sidebar-menu-btn:hover,
.av-sidebar-menu-btn:active {
    background: var(--bg-hover-medium);
    border-color: var(--border);
}

.av-sidebar-menu-btn:focus-visible,
.av-bottom-bar-item:focus-visible,
.av-more-menu-item:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

/* Nav body: hidden on mobile, shown as drawer overlay or on desktop */
.av-sidebar-body {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
}

/* Mobile drawer mode — partial-width left drawer */
.av-sidebar.is-open .av-sidebar-body {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 85vw;
    max-width: 320px;
    z-index: var(--z-overlay);
    background: var(--bg-warm);
    padding: var(--space-md);
    padding-top: 0;
    animation: slideInLeft 0.25s ease;
    box-shadow: var(--shadow-xl);
}

.av-sidebar--v2.is-open .av-sidebar-body {
    width: min(88vw, 340px);
    padding: 0;
}

@keyframes slideInLeft {
    from { transform: translateX(-100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

/* Sidebar backdrop (mobile drawer) */
.av-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-overlay) - 1);
    padding: 0;
    border: 0;
    background: var(--bg-overlay);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    -webkit-tap-highlight-color: transparent;
}

.av-sidebar-backdrop.is-open {
    display: block;
}

.av-sidebar-drawer-open {
    overflow: hidden;
}

/* Drawer header (close button) — only visible on mobile */
.av-sidebar-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-sm);
    border-bottom: 1px solid var(--border-light);
    flex-shrink: 0;
    background: var(--bg-surface);
    position: sticky;
    top: 0;
    z-index: 1;
}

.av-sidebar-drawer-title {
    font-size: var(--font-lg);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
}

.av-sidebar-close {
    width: var(--touch-target);
    height: var(--touch-target);
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.4rem;
    transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
    -webkit-tap-highlight-color: transparent;
}

.av-sidebar-close:hover,
.av-sidebar-close:active {
    background: var(--bg-hover-medium);
    color: var(--text-primary);
    border-color: var(--border);
}

/* Nav sections */
.av-nav-section {
    margin-bottom: var(--space-lg);
}

.av-nav-section-title {
    font-size: var(--font-xs);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: var(--space-sm) var(--space-md);
    font-weight: var(--font-weight-semibold);
    user-select: none;
}

.av-nav-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 10px var(--space-md);
    min-height: var(--touch-target);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color var(--transition-base), border-color var(--transition-base), color var(--transition-base);
    font-weight: var(--font-weight-semibold);
    font-size: var(--font-sm);
    text-decoration: none;
    user-select: none;
}

.av-nav-item:hover {
    background: var(--bg-hover-subtle);
    border-color: var(--border-light);
    color: var(--text-primary);
}

.av-nav-item.is-active {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

.av-nav-item-icon {
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

.av-nav-item-label {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.av-nav-item-badge {
    background: var(--accent-secondary);
    color: var(--text-inverse);
    font-size: var(--font-2xs);
    font-weight: var(--font-weight-bold);
    padding: 2px 7px;
    border-radius: var(--radius-full);
    min-width: 20px;
    text-align: center;
    line-height: 1.4;
}

/* Sidebar user card */
.av-sidebar-user {
    display: none; /* shown on desktop */
    padding: var(--space-md);
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.av-sidebar-user-card {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: transparent;
    border: 0;
    border-radius: var(--radius-md);
    color: inherit;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: background var(--transition-base);
}

.av-sidebar-user-card:hover {
    background: var(--bg-hover-subtle);
}

.av-sidebar-user-card > div:last-child {
    min-width: 0;
}

.av-sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: var(--accent-primary-dim);
    color: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--font-weight-bold);
    font-size: var(--font-sm);
    flex-shrink: 0;
}

.av-sidebar-user-name {
    font-size: var(--font-sm);
    font-weight: var(--font-weight-semibold);
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.av-sidebar-user-role {
    font-size: var(--font-2xs);
    color: var(--text-muted);
}

/* Sidebar search (inside drawer body) */
.av-sidebar-search {
    padding: 0 var(--space-sm) var(--space-md);
}

.av-sidebar-search input {
    width: 100%;
    padding: 10px var(--space-md);
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-sm);
    font-family: var(--font-family);
    transition: border-color var(--transition-base);
}

.av-sidebar-search input::placeholder {
    color: var(--text-muted);
}

.av-sidebar-search input:focus {
    border-color: var(--accent-primary);
    outline: none;
}

.av-sidebar-search input:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.av-shell-v2 .av-sidebar {
    background: var(--bg-warm);
}

.av-sidebar--v2 .av-sidebar-header {
    min-height: 64px;
}

.av-sidebar-context {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    margin: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--accent-soft);
}

.av-sidebar-context--admin {
    background: var(--warning-dim);
    border-color: var(--border-warning);
}

.av-sidebar-context-label {
    color: var(--text-primary);
    font-size: var(--font-xs);
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
}

.av-sidebar-context-sub,
.av-sidebar-context-link {
    color: var(--text-muted);
    font-size: var(--font-2xs);
    line-height: 1.35;
}

.av-sidebar-context-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: var(--font-weight-semibold);
}

.av-sidebar-context-link:hover {
    color: var(--accent-secondary);
}

/* --- Main Content Area --- */
.av-main {
    flex: 1;
    min-width: 0;
    padding: var(--space-md);
    padding-bottom: calc(var(--mobile-bottom-nav-height) + var(--space-3xl));
}

/* --- Topbar (desktop only, inside main) --- */
.av-topbar {
    display: none; /* shown on desktop */
}

/* SH-203: visible role/admin context indicator. Stays additive — purely
   visual, never replaces server-side authorization checks. */
.av-topbar-role {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    flex: 0 0 auto;
}

.av-topbar-role-badge {
    display: inline-flex;
    align-items: center;
    padding: 2px var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--font-xs);
    font-weight: var(--font-weight-semibold);
    line-height: 1.4;
    background: var(--accent-secondary-dim);
    color: var(--accent-secondary);
    border: 1px solid var(--border-warning);
}

.av-topbar-role-badge--muted {
    background: var(--bg-hover-subtle);
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.av-topbar-role-sub {
    font-size: var(--font-2xs);
    color: var(--text-muted);
}

.av-topbar--admin {
    border-bottom: 1px solid var(--border-warning);
    padding-bottom: var(--space-sm);
}

.av-topbar--v2 {
    min-height: 52px;
    border-bottom: 1px solid var(--border-light);
}

.av-topbar-mode-switch {
    text-decoration: none;
}

/* Topbar search-trigger: previously a tiny kbd-only button. Now reads as a
   "press to search" placeholder on desktop, with the keyboard shortcut as
   a quiet pill on the right so the action and the shortcut are both visible. */
.av-topbar-search-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 200px;
    padding: 0 8px 0 10px;
    text-align: left;
    color: var(--muted, var(--text-secondary));
}

.av-topbar-search-label {
    flex: 1;
    font-size: 13px;
    font-weight: 400;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.av-topbar-search-kbd {
    font-family: var(--font-mono, ui-monospace, SFMono-Regular, monospace);
    font-size: 10.5px;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 4px;
    border: 1px solid var(--border, var(--border-light));
    color: var(--muted, var(--text-secondary));
    background: var(--bg-elevated, transparent);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .av-topbar-search-btn { min-width: 0; padding: 0 8px; }
    .av-topbar-search-label { display: none; }
}

/* --- Page Content --- */
.av-content {
    width: 100%;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* Page header */
.av-page-header {
    margin-bottom: var(--space-lg);
}

.av-page-title {
    font-size: var(--font-xl);
    font-weight: var(--font-weight-bold);
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.av-page-subtitle {
    font-size: var(--font-sm);
    color: var(--text-secondary);
}

/* --- Bottom Bar (mobile only) ---
   Fixed bottom navigation with 4 tabs
*/
.av-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: var(--z-sticky);
    background: oklch(0.97 0.010 85 / 0.92);
    backdrop-filter: saturate(140%) blur(16px);
    -webkit-backdrop-filter: saturate(140%) blur(16px);
    border-top: 1px solid var(--line);
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    height: var(--mobile-bottom-nav-height);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.av-bottom-bar--v2 {
    height: calc(var(--mobile-bottom-nav-height) + 8px);
    padding-inline: max(var(--space-xs), env(safe-area-inset-left, 0px)) max(var(--space-xs), env(safe-area-inset-right, 0px));
    box-shadow: 0 -8px 20px oklch(0.18 0.012 255 / 0.06);
}

.av-bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 3px;
    padding: var(--space-sm) var(--space-xs);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color var(--transition-base);
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
}

.av-bottom-bar-item:hover,
.av-bottom-bar-item.is-active {
    color: var(--accent-primary);
}

.av-bottom-bar-item--primary {
    flex: 1.15;
    color: var(--text-inverse);
}

.av-bottom-bar-item--primary .av-bottom-bar-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 32px;
    border-radius: var(--radius-full);
    background: var(--ink);
    color: var(--bg);
    box-shadow: var(--shadow-md);
}

.av-bottom-bar-item--primary:hover,
.av-bottom-bar-item--primary:active {
    color: var(--text-primary);
}

.av-bottom-bar-icon {
    font-size: 1.3rem;
    line-height: 1;
}

.av-bottom-bar-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.04em;
}

/* --- "More" menu (bottom bar overflow) --- */
.av-more-menu {
    position: fixed;
    bottom: var(--mobile-bottom-nav-height);
    left: 0;
    right: 0;
    z-index: var(--z-dropdown);
    background: oklch(0.97 0.010 85 / 0.97);
    backdrop-filter: saturate(140%) blur(20px);
    -webkit-backdrop-filter: saturate(140%) blur(20px);
    border-top: 1px solid var(--line);
    padding: var(--space-md);
    display: none;
    animation: slideUp 0.2s ease;
}

.av-more-menu--v2 {
    bottom: calc(var(--mobile-bottom-nav-height) + 8px);
    max-height: min(74vh, 560px);
    overflow-y: auto;
    padding-bottom: calc(var(--space-md) + env(safe-area-inset-bottom, 0px));
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.av-more-menu.is-open {
    display: block;
}

/* More menu backdrop */
.av-more-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    z-index: calc(var(--z-dropdown) - 1);
    background: oklch(0.18 0.012 255 / 0.25);
    -webkit-tap-highlight-color: transparent;
}

.av-more-backdrop.is-open {
    display: block;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}

.av-more-menu-header {
    font-size: var(--font-xs);
    font-weight: var(--font-weight-bold);
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    padding: var(--space-xs) var(--space-md) var(--space-sm);
}

.av-more-menu-context {
    display: grid;
    gap: var(--space-xs);
    margin: 0 var(--space-md) var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-hover-subtle);
}

.av-more-menu-context--admin {
    border-color: var(--border-warning);
    background: var(--warning-dim);
}

.av-more-menu-context-label {
    color: var(--text-primary);
    font-size: var(--font-xs);
    font-weight: var(--font-weight-bold);
}

.av-more-menu-context-sub {
    color: var(--text-muted);
    font-size: var(--font-2xs);
}

.av-more-menu-divider {
    border: none;
    border-top: 1px solid var(--border-light);
    margin: var(--space-sm) 0;
}

.av-more-menu-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 12px var(--space-md);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: background-color var(--transition-base), color var(--transition-base);
    font-size: var(--font-sm);
    font-weight: var(--font-weight-semibold);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-family);
    -webkit-tap-highlight-color: transparent;
    text-decoration: none;
    min-height: var(--touch-target);
}

.av-more-menu-item:hover,
.av-more-menu-item:active {
    background: var(--bg-hover-subtle);
    color: var(--text-primary);
}

.av-more-menu-item.is-active {
    color: var(--accent-primary);
    background: var(--accent-soft);
}

.av-more-menu-item--danger {
    color: var(--danger);
}

.av-more-menu-item--danger:hover,
.av-more-menu-item--danger:active {
    color: var(--danger);
    background: var(--danger-dim);
}

/* ==========================================================================
   Desktop Enhancements (>= 768px)
   ========================================================================== */
@media (min-width: 768px) {
    .av-app {
        flex-direction: row;
    }

    /* Full sidebar */
    .av-sidebar {
        width: var(--sidebar-width);
        height: 100vh;
        position: fixed;
        inset: 0 auto 0 0;
        flex-direction: column;
        display: flex;
        border-bottom: none;
        border-right: 1px solid var(--border-light);
    }

    .av-sidebar-search-btn {
        display: none;
    }

    .av-sidebar-menu-btn {
        display: none;
    }

    .av-sidebar-body {
        display: flex;
        flex: 1;
        padding: var(--space-sm);
    }

    .av-sidebar-drawer-header {
        display: none;
    }

    .av-sidebar-user {
        display: block;
    }

    /* Main takes remaining width */
    .av-main {
        margin-left: var(--sidebar-width);
        padding: var(--space-xl) var(--space-2xl);
        padding-bottom: var(--space-2xl);
    }

    /* Topbar visible on desktop */
    .av-topbar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: var(--space-xl);
        gap: var(--space-md);
    }

    .av-topbar-breadcrumb {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        font-size: var(--font-sm);
        color: var(--text-muted);
    }

    .av-topbar-breadcrumb-separator {
        color: var(--border);
    }

    .av-topbar-breadcrumb-link {
        color: var(--text-muted);
        text-decoration: none;
    }

    .av-topbar-breadcrumb-link:hover {
        color: var(--text-primary);
    }

    .av-topbar-breadcrumb-current {
        color: var(--text-primary);
        font-weight: var(--font-weight-semibold);
    }

    .av-topbar-actions {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
    }

    /* Hide bottom bar on desktop */
    .av-bottom-bar {
        display: none !important;
    }

    .av-more-menu {
        display: none !important;
    }

    .av-more-backdrop {
        display: none !important;
    }
}

/* Tablet adjustments */
@media (min-width: 480px) and (max-width: 767px) {
    .av-main {
        padding: var(--space-md) var(--space-lg);
    }
}

/* MOB-601 anchor: iPad 10-inch landscape / 1024px tablets
   Between the 768px desktop activation (space-2xl = 48px side padding) and
   the 1200px wide-desktop step (space-3xl = 64px), the layout already holds
   well at 1024px — 1024 - 260px sidebar - 96px padding = 668px content width.
   We add an intermediate padding step to give the content column a bit more
   breathing room on landscape tablets without going all the way to space-3xl. */
@media (min-width: 768px) and (max-width: 1024px) {
    .av-main {
        padding: var(--space-xl) var(--space-2xl); /* intentionally same as 768px base; explicit anchor for test plan */
    }
}

/* Wide desktop */
@media (min-width: 1200px) {
    .av-main {
        padding: var(--space-xl) var(--space-3xl);
    }
}

/* ─── Editorial shell — shared by dashboard.html and admin.html ─────────── */
/* These rules live in layout.css (loaded by every page) so the warm-light
   sidebar, mono-breadcrumb topbar, and accent FAB render consistently across
   shells. Originally drafted in pages/admin.css; promoted here to fix the
   dashboard rendering. */

.av-sidebar--editorial {
    background: var(--bg-warm);
    border-right: 1px solid var(--line);
}

.av-sidebar--editorial .av-sidebar-header {
    background: var(--bg-warm);
    border-bottom: 1px solid var(--line);
    padding: 18px 16px 12px;
}

.av-sidebar--editorial .av-nav-section-title {
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
    padding: 14px 10px 6px;
}

.av-sidebar--editorial .av-nav-item {
    padding: 7px 10px;
    border-radius: 8px;
    color: var(--ink-2);
    font-size: 13.5px;
    transition: color 0.15s, background 0.15s;
}

.av-sidebar--editorial .av-nav-item:hover {
    color: var(--ink);
    background: oklch(0.94 0.005 85);
}

.av-sidebar--editorial .av-nav-item.is-active {
    background: var(--ink);
    color: var(--bg);
}

.av-topbar--editorial {
    background: oklch(0.985 0.004 85 / 0.75);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--line);
}

.av-topbar--editorial .av-topbar-breadcrumb {
    font-family: var(--font-mono);
    font-size: 13px;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.av-topbar--editorial .av-topbar-breadcrumb-separator {
    opacity: 0.5;
    margin: 0 4px;
}

.av-topbar--editorial .av-topbar-breadcrumb-current {
    color: var(--ink);
}

.av-bottom-bar--editorial .av-bottom-bar-item.is-active {
    color: var(--ink);
    position: relative;
}

.av-bottom-bar--editorial .av-bottom-bar-item.is-active::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
    margin: 2px auto 0;
}

.av-bottom-bar--editorial .av-bottom-bar-item--primary .av-bottom-bar-icon {
    display: none;
}

.av-bottom-bar--editorial .av-bottom-bar-fab {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--accent);
    display: grid;
    place-items: center;
    box-shadow: 0 4px 16px oklch(0.48 0.14 265 / 0.28);
    margin-top: -14px;
    color: var(--bg);
    font-size: 20px;
    line-height: 1;
}
