/*
    The notifications page (/notification), its side panel and the bell dropdown — built from the Claude Design
    project "www tsg", Notifications.html (notifications-desktop / -drawer / -page / -mobile .jsx).

    Global rather than scoped: the bell's dropdown is rendered by MudMenu into a popover portal outside any
    component's scope, and the same row / chip / title classes are shared by the page, the side panel and the bell.

    Every colour is a theme variable (claude/ui-design.md). The design's accent maps to the theme's primary, exactly
    as audit-history.css maps its per-action colours: --nt-accent below is the one place that decision is written.

    The @media block at the bottom is deliberate: a row's phone shape (kebab instead of hover actions, checkbox only
    in "Select" mode) is decided per row, hundreds of times, which is the case ui-design.md names for a media query
    rather than a MudHidden around each element.
*/

.nt-scope {
    --nt-accent: var(--mud-palette-primary);
    --nt-tint: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
    --nt-bg: var(--mud-palette-background);
    --nt-bg-sub: var(--mud-palette-background-grey);
    --nt-surface: var(--mud-palette-surface);
    --nt-border: var(--mud-palette-lines-default);
    --nt-border-sub: color-mix(in srgb, var(--mud-palette-lines-default) 70%, transparent);
    --nt-text: var(--mud-palette-text-primary);
    --nt-text-muted: var(--mud-palette-text-secondary);
    --nt-text-dim: var(--mud-palette-text-disabled);
    --nt-chip: color-mix(in srgb, var(--mud-palette-text-primary) 6%, transparent);
    --nt-hover: var(--mud-palette-action-default-hover);
    font-family: 'Inter', sans-serif;
}

.nt-mono { font-family: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', monospace; }

/* ── Page shell ────────────────────────────────────────────────────────────── */

.nt-page {
    position: relative;
    display: flex;
    flex-direction: column;
    /* As tall as the content field — the layout's .tsg-page (app.css), which already is the window under the app bar,
       less its padding. Until 20.11.2026 it was calc(100vh - 112px), and 96 on a phone: MudBlazor's default 64 px app
       bar and the padding, while the theme in use has an 80 px bar, so the page was 16 px taller than its room
       (plans/plan-common-ui-design-fix-01.md, stage 2; NoHeightIsTheWindowLessPixelsTests keeps such a number out). */
    height: 100%;
    /* clip, not hidden: a hidden box is still a scroll container, and while the side panel slides in (nt-slide) it
       gives the page 16 px of room — a scrollIntoView in those 180 ms moved the panel from under a press (known-debt
       T.93). A clipped box cuts the same edge and cannot be scrolled at all. */
    overflow: clip;
    background: var(--nt-bg);
    border: 1px solid var(--nt-border);
    border-radius: 10px;
}

.nt-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px 13px;
    background: var(--nt-surface);
    border-bottom: 1px solid var(--nt-border-sub);
    flex-shrink: 0;
}

.nt-header-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: var(--nt-tint);
    color: var(--nt-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nt-header-main { flex: 1; min-width: 0; }

.nt-header-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -.2px;
    color: var(--nt-text);
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.nt-header-counts { font-size: 12px; font-weight: 500; color: var(--nt-text-dim); }

.nt-header-actions { display: flex; align-items: center; gap: 8px; }

.nt-btn-danger-soft.mud-button-root {
    color: var(--mud-palette-error);
    background: color-mix(in srgb, var(--mud-palette-error) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-error) 25%, transparent);
}

/* ── Tabs ──────────────────────────────────────────────────────────────────── */

.nt-tabs {
    display: flex;
    padding: 0 22px;
    background: var(--nt-surface);
    border-bottom: 1px solid var(--nt-border);
    flex-shrink: 0;
}

.nt-tab {
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    color: var(--nt-text-muted);
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    font-weight: 500;
}

.nt-tab--on {
    color: var(--nt-accent);
    border-bottom-color: var(--nt-accent);
    font-weight: 700;
}

/* ── Filter bar ────────────────────────────────────────────────────────────── */

.nt-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 11px 22px;
    background: var(--nt-surface);
    border-bottom: 1px solid var(--nt-border);
    flex-shrink: 0;
}

.nt-filter-search { width: 268px; }
.nt-filter-module { width: 168px; }
.nt-filter-kind { width: 150px; }
.nt-filter-range { width: 250px; }

.nt-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 40px;
    padding: 0 12px;
    border-radius: 7px;
    cursor: pointer;
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    background: var(--nt-surface);
    color: var(--nt-text-muted);
    border: 1.5px solid var(--nt-border);
    white-space: nowrap;
}

.nt-toggle--on {
    background: var(--nt-tint);
    color: var(--nt-accent);
    border-color: var(--nt-accent);
    font-weight: 700;
}

.nt-toggle-box {
    width: 15px;
    height: 15px;
    border-radius: 4px;
    border: 1.5px solid var(--nt-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}

.nt-toggle--on .nt-toggle-box { background: var(--nt-accent); border-color: var(--nt-accent); }

.nt-icon-toggle {
    position: relative;
    width: 44px;
    height: 40px;
    border-radius: 9px;
    border: 1.5px solid var(--nt-border);
    background: var(--nt-surface);
    color: var(--nt-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.nt-icon-toggle--on { border-color: var(--nt-accent); background: var(--nt-tint); color: var(--nt-accent); }

.nt-icon-toggle-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 16px;
    height: 16px;
    border-radius: 8px;
    background: var(--nt-accent);
    color: #fff;
    font-size: 9.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nt-link-btn {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    color: var(--nt-accent);
    padding: 0 4px;
}

.nt-link-btn--underline { font-weight: 700; text-decoration: underline; padding: 0; }

/* ── Select-all strip + bulk bar ───────────────────────────────────────────── */

.nt-select-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 2px 22px;
    background: var(--nt-bg-sub);
    border-bottom: 1px solid var(--nt-border-sub);
    font-size: 12px;
    color: var(--nt-text);
    flex-shrink: 0;
}

.nt-bulk-bar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    background: var(--nt-surface);
    border-top: 1px solid var(--nt-border);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .09);
}

.nt-bulk-count {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: var(--nt-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.nt-bulk-title { font-size: 13px; font-weight: 700; color: var(--nt-text); }
.nt-bulk-divider { width: 1px; height: 22px; background: var(--nt-border); }
.nt-bulk-actions { display: flex; gap: 8px; }

/* ── List ──────────────────────────────────────────────────────────────────── */

.nt-list {
    position: relative;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
}

.nt-list--bulk { padding-bottom: 58px; }

.nt-live-pill {
    position: sticky;
    top: 12px;
    z-index: 30;
    display: flex;
    justify-content: center;
    height: 0;
    overflow: visible;
}

.nt-live-pill button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 14px;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font: inherit;
    font-size: 12.5px;
    font-weight: 700;
    background: var(--nt-accent);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18);
    animation: nt-pop .18s ease both;
}

.nt-group-head {
    position: sticky;
    top: 0;
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 22px;
    background: var(--nt-bg-sub);
    border-bottom: 1px solid var(--nt-border-sub);
}

.nt-group-label {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--nt-text-muted);
}

.nt-group-count { font-size: 10.5px; color: var(--nt-text-dim); }

.nt-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 22px 0 19px;
    border-bottom: 1px solid var(--nt-border-sub);
    border-left: 3px solid transparent;
    cursor: pointer;
    background: transparent;
}

.nt-row--unread { background: var(--nt-surface); }
.nt-row--addressed {
    border-left-color: var(--nt-accent);
    background: color-mix(in srgb, var(--mud-palette-primary) 3.5%, transparent);
}
.nt-row:hover { background: var(--nt-hover); }
.nt-row--selected { background: color-mix(in srgb, var(--mud-palette-primary) 7%, transparent); }
.nt-row--open { background: var(--nt-tint); }

.nt-row-check { display: flex; flex-shrink: 0; }
.nt-row-body { flex: 1; min-width: 0; }
.nt-row-line1 { display: flex; align-items: center; gap: 7px; min-width: 0; }
.nt-row-line2 { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 11.5px; color: var(--nt-text-dim); min-width: 0; }
.nt-row-module { font-size: 11px; font-weight: 600; color: var(--nt-text-dim); }
.nt-sep { font-size: 10px; color: var(--nt-text-dim); }

/* Relative time, and the absolute one while the row is hovered — the design's swap, done without a round trip. */
.nt-time-abs { display: none; }
.nt-row:hover .nt-time-rel { display: none; }
.nt-row:hover .nt-time-abs { display: inline; }

.nt-row-actions {
    display: flex;
    gap: 2px;
    width: 128px;
    justify-content: flex-end;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity .12s;
}

.nt-row:hover .nt-row-actions,
.nt-list--bulk .nt-row-actions { opacity: 1; }

.nt-row-kebab { display: none; }

/* Unread: a filled dot; read: a ring — a shape difference, never colour alone. */
.nt-unread-mark {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    border: 1.5px solid var(--nt-text-dim);
    opacity: .6;
}

.nt-unread-mark--on {
    background: var(--nt-accent);
    border: none;
    opacity: 1;
}

.nt-module-icon {
    border-radius: 8px;
    flex-shrink: 0;
    background: var(--nt-chip);
    color: var(--nt-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nt-title {
    display: block;
    font-size: 13.5px;
    line-height: 1.4;
    color: var(--nt-text);
    font-weight: 400;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

.nt-title--unread { font-weight: 700; }
.nt-title .nt-mono { font-size: .93em; font-weight: 500; }
.nt-title--unread .nt-mono { font-weight: 700; }
.nt-title--wrap { white-space: normal; }

.nt-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .03em;
    white-space: nowrap;
    flex-shrink: 0;
}

.nt-chip--small { padding: 1px 6px; font-size: 10px; }

.nt-kind--created { --nt-kind: var(--mud-palette-success); }
.nt-kind--updated { --nt-kind: var(--mud-palette-info); }
.nt-kind--deleted { --nt-kind: var(--mud-palette-error); }
.nt-chip.nt-kind--created, .nt-chip.nt-kind--updated, .nt-chip.nt-kind--deleted {
    background: color-mix(in srgb, var(--nt-kind) 13%, transparent);
    color: var(--nt-kind);
}

.nt-chip--addressed {
    background: var(--nt-tint);
    color: var(--nt-accent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-primary) 28%, transparent);
    padding-left: 5px;
}

.nt-actor { display: inline-flex; align-items: center; gap: 4px; color: var(--nt-text-muted); min-width: 0; }
.nt-actor--system { color: var(--nt-text-dim); font-style: italic; }

/* ── States ────────────────────────────────────────────────────────────────── */

.nt-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 64px 24px;
    min-height: 300px;
    text-align: center;
}

.nt-empty-icon {
    width: 58px;
    height: 58px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--nt-chip);
    color: var(--nt-text-dim);
}

.nt-empty-icon--ok {
    background: color-mix(in srgb, var(--mud-palette-success) 12%, transparent);
    color: var(--mud-palette-success);
}

.nt-empty-title { font-size: 16.5px; font-weight: 700; letter-spacing: -.2px; color: var(--nt-text); }
.nt-empty-body { font-size: 12.5px; color: var(--nt-text-muted); max-width: 440px; margin-top: 6px; line-height: 1.6; }

/* ── Side panel (/notification/{id}) ──────────────────────────────────────── */

.nt-panel {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    z-index: 70;
    width: 448px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    background: var(--nt-surface);
    border-left: 1px solid var(--nt-border);
    box-shadow: -14px 0 40px rgba(0, 0, 0, .14);
    animation: nt-slide .18s ease both;
}

.nt-panel-head {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--nt-border-sub);
    flex-shrink: 0;
}

.nt-panel-title { font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--nt-text); }
.nt-panel-chips { display: flex; align-items: center; gap: 7px; margin-top: 5px; flex-wrap: wrap; }
.nt-panel-unread { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; color: var(--nt-accent); }
.nt-panel-unread::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nt-accent); }
.nt-panel-back { display: none; }

.nt-panel-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.nt-sect { display: flex; flex-direction: column; gap: 11px; }
.nt-sect-head {
    display: flex;
    align-items: center;
    gap: 7px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--nt-border-sub);
    color: var(--nt-text-muted);
}
.nt-sect-title {
    flex: 1;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.nt-sect-aside { font-size: 10px; color: var(--nt-text-dim); }

.nt-meta { display: flex; flex-direction: column; gap: 8px; }
.nt-meta-row { display: grid; grid-template-columns: 104px 1fr; gap: 10px; align-items: baseline; }
.nt-meta-label { font-size: 11.5px; font-weight: 600; color: var(--nt-text-muted); }
.nt-meta-value { font-size: 12.5px; color: var(--nt-text); min-width: 0; overflow-wrap: anywhere; }
.nt-meta-dim { color: var(--nt-text-dim); font-size: 11.5px; margin-left: 6px; }
.nt-meta-key { font-size: 11px; color: var(--nt-text-dim); }

.nt-callout {
    --nt-tone: var(--mud-palette-info);
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 11px 13px;
    border-radius: 9px;
    background: color-mix(in srgb, var(--nt-tone) 8%, transparent);
    border: 1px solid color-mix(in srgb, var(--nt-tone) 26%, transparent);
}
.nt-callout--ok { --nt-tone: var(--mud-palette-success); }
.nt-callout--warn { --nt-tone: var(--mud-palette-warning); }
.nt-callout--neutral { --nt-tone: var(--mud-palette-text-secondary); }
.nt-callout-icon { color: var(--nt-tone); margin-top: 1px; display: flex; }
.nt-callout-title { font-size: 12.5px; font-weight: 700; color: var(--nt-tone); margin-bottom: 3px; }
.nt-callout-body { font-size: 12px; color: var(--nt-text-muted); line-height: 1.55; }

.nt-timeline { display: flex; flex-direction: column; }
.nt-tl-item { display: flex; gap: 11px; }
.nt-tl-rail { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 12px; }
.nt-tl-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 5px; background: var(--nt-text-dim); flex-shrink: 0; }
.nt-tl-item:first-child .nt-tl-dot { background: var(--nt-accent); }
.nt-tl-line { flex: 1; width: 1.5px; background: var(--nt-border); margin-top: 2px; }
.nt-tl-item:last-child .nt-tl-line { display: none; }
.nt-tl-content { padding-bottom: 14px; min-width: 0; }
.nt-tl-item:last-child .nt-tl-content { padding-bottom: 0; }
.nt-tl-what { font-size: 12.5px; font-weight: 700; color: var(--nt-text); }
.nt-tl-when { font-size: 10.5px; color: var(--nt-text-dim); margin-left: 7px; }
.nt-tl-detail { font-size: 11.5px; color: var(--nt-text-muted); margin-top: 2px; line-height: 1.5; overflow-wrap: anywhere; }
.nt-tl-who { font-size: 11px; color: var(--nt-text-dim); margin-top: 1px; }

.nt-panel-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-top: 1px solid var(--nt-border-sub);
    background: var(--nt-bg-sub);
    flex-shrink: 0;
}

.nt-panel-link {
    padding: 7px 18px;
    border-top: 1px solid var(--nt-border-sub);
    background: var(--nt-surface);
    font-size: 10px;
    color: var(--nt-text-dim);
    flex-shrink: 0;
}

/* ── Phone sheets (row actions, filters) ───────────────────────────────────── */

.nt-sheet-overlay {
    position: absolute;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-end;
    background: rgba(17, 24, 39, .42);
}

.nt-sheet {
    width: 100%;
    background: var(--nt-surface);
    border-radius: 16px 16px 0 0;
    padding: 10px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: nt-pop .18s ease both;
}

.nt-sheet-grip { width: 38px; height: 4px; border-radius: 2px; background: var(--nt-border); margin: 2px auto 4px; }
.nt-sheet-title { font-size: 15px; font-weight: 700; color: var(--nt-text); }
.nt-sheet-caption { font-size: 12.5px; color: var(--nt-text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nt-sheet-buttons { display: flex; gap: 10px; }
.nt-sheet-buttons > * { flex: 1; }

.nt-sheet-action {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 12px;
    border-radius: 10px;
    border: none;
    background: transparent;
    cursor: pointer;
    font: inherit;
    font-size: 14.5px;
    color: var(--nt-text);
    text-align: left;
}

.nt-sheet-action:hover { background: var(--nt-hover); }

.nt-phone-only { display: none !important; }

/* ── Bell dropdown ─────────────────────────────────────────────────────────── */

.nt-bell-popover.mud-popover { border-radius: 12px; overflow: hidden; }
.nt-bell-popover .mud-list { padding: 0; }

.nt-bell { width: 372px; max-width: calc(100vw - 16px); background: var(--nt-surface); }

.nt-bell-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 13px;
    border-bottom: 1px solid var(--nt-border-sub);
}

.nt-bell-title { font-size: 13.5px; font-weight: 700; color: var(--nt-text); }

.nt-bell-pill {
    padding: 2px 7px;
    border-radius: 4px;
    font-size: 10.5px;
    font-weight: 600;
    background: color-mix(in srgb, var(--mud-palette-error) 13%, transparent);
    color: var(--mud-palette-error);
}

.nt-bell-list { max-height: 322px; overflow-y: auto; }

.nt-bell-item {
    display: flex;
    gap: 9px;
    padding: 10px 13px;
    border-bottom: 1px solid var(--nt-border-sub);
    border-left: 3px solid transparent;
    cursor: pointer;
}

.nt-bell-item:hover { background: var(--nt-hover); }
.nt-bell-item--addressed {
    border-left-color: var(--nt-accent);
    background: color-mix(in srgb, var(--mud-palette-primary) 4%, transparent);
}

.nt-bell-item .nt-title { font-size: 12.5px; }
.nt-bell-meta { display: flex; align-items: center; gap: 6px; margin-top: 3px; font-size: 10.5px; color: var(--nt-text-dim); flex-wrap: wrap; }
.nt-bell-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--nt-accent); margin-top: 6px; flex-shrink: 0; }
.nt-bell-empty { padding: 22px 13px; text-align: center; font-size: 12.5px; color: var(--nt-text-muted); }
.nt-bell-section { padding: 8px 13px 2px; font-size: 10.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--nt-text-muted); }

.nt-bell-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 13px;
    border-top: 1px solid var(--nt-border-sub);
    background: var(--nt-bg-sub);
    font-size: 12.5px;
    font-weight: 700;
    color: var(--nt-accent);
    text-decoration: none;
    cursor: pointer;
}

.nt-bell-foot:hover { color: var(--nt-accent); text-decoration: none; }

@keyframes nt-pop { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes nt-slide { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }

/* ── Phone (below MudBlazor's md breakpoint, 960px) ────────────────────────── */

@media (max-width: 959.98px) {
    .nt-page { border-radius: 0; border-left: none; border-right: none; }
    .nt-header { padding: 12px 14px; }
    .nt-header-icon { display: none; }
    .nt-header-title { font-size: 20px; font-weight: 800; flex-direction: column; gap: 1px; }
    .nt-header-counts { font-size: 11.5px; }
    .nt-desktop-only { display: none !important; }
    .nt-phone-only { display: flex !important; }

    .nt-tabs { gap: 6px; padding: 10px 14px; border-bottom: none; }
    .nt-tab { flex: 1; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--nt-border); background: var(--nt-surface); }
    .nt-tab--on { background: var(--nt-tint); border-color: var(--nt-accent); }

    .nt-filters { padding: 0 14px 10px; flex-wrap: nowrap; border-bottom: 1px solid var(--nt-border-sub); }
    .nt-filter-search { width: auto; flex: 1; }

    .nt-row { align-items: flex-start; gap: 10px; min-height: 64px; padding: 11px 14px 11px 11px; }
    .nt-row-actions, .nt-select-strip, .nt-row-kind { display: none !important; }
    .nt-row-kebab { display: flex; margin: -4px -10px 0 0; }
    .nt-row .nt-row-check { display: none; }
    .nt-list--selecting .nt-row .nt-row-check { display: flex; }
    .nt-list--selecting .nt-row .nt-unread-mark,
    .nt-list--selecting .nt-row-kebab { display: none; }
    .nt-row .nt-unread-mark { margin-top: 10px; }
    .nt-row .nt-title { white-space: normal; }
    .nt-row-line1 { flex-wrap: wrap; }
    .nt-row-line2 { flex-wrap: wrap; margin-top: 5px; font-size: 10.5px; }

    .nt-bulk-bar { flex-wrap: wrap; padding: 10px 12px 14px; }
    .nt-bulk-count, .nt-bulk-divider { display: none; }
    .nt-bulk-actions { width: 100%; }
    .nt-bulk-actions > * { flex: 1; }

    .nt-panel { width: 100%; border-left: none; box-shadow: none; }
    .nt-panel-back { display: flex; }
    .nt-panel-close { display: none; }
    .nt-panel-module { display: none; }
    .nt-panel-head { padding: 12px 14px; }
    .nt-panel-body { padding: 14px; }
    .nt-panel-foot { padding: 12px 14px; }
}
