/* ═══════════════════════════════════════════════════════════════
   ALTAIIM TEZAURUS — custom.css
   3-panel layout, rol-specific, i18n-ready
   ═══════════════════════════════════════════════════════════════ */

/* ── CSS Variables ─────────────────────────────────────────── */
:root {
    --editor-font-size: 16px;
    --editor-line-height: 1.7;
    --body-font: system-ui, -apple-system, sans-serif;
    --body-bg: #ffffff;
    --sidebar-width: 15%;
    --right-width: 15%;
    --resize-handle-w: 5px;
    --header-h: 52px;
    --brand-color: #1a3a5c;
    --brand-accent: #c8860a;
    --status-new: #6c757d;
    --status-editing: #0d6efd;
    --status-lex-saved: #6610f2;
    --status-edited: #0dcaf0;
    --status-viewing: #fd7e14;
    --status-rev-saved: #e83e8c;
    --status-viewed: #20c997;
    --status-reading: #6f42c1;
    --status-accepted: #198754;
    --status-published: #0a6640;
    --status-declined: #dc3545;
    --status-removed: #343a40;
    --transition-fast: 0.15s ease;
    --transition-med: 0.25s ease;
}

/* ── Font families ─────────────────────────────────────────── */
[data-font="open-sans"] {
    --body-font: "Open Sans", sans-serif;
}
[data-font="noto-serif"] {
    --body-font: "Noto Serif", serif;
}
[data-font="roboto-slab"] {
    --body-font: "Roboto Slab", serif;
}
[data-font="times-new-roman"] {
    --body-font: "Times New Roman", Times, serif;
}
[data-font="georgia"] {
    --body-font: Georgia, "Times New Roman", serif;
}
[data-font="jetbrains-mono"] {
    --body-font: "JetBrains Mono", "Courier New", monospace;
}
[data-font="opendyslexic"] {
    --body-font: "OpenDyslexic", sans-serif;
}

/* ── Base ──────────────────────────────────────────────────── */
html,
body {
    font-family: var(--body-font) !important;
    font-size: var(--editor-font-size) !important;
    background: var(--body-bg) !important;
    margin: 0;
    padding: 0;
}

/* Font applies to ALL inputs, textareas */
input,
textarea,
select,
.form-control,
.form-select,
.input-group-text,
button,
.btn {
    font-family: var(--body-font) !important;
    font-size: var(--editor-font-size) !important;
}

body,
.editor-body,
.rv-field-text,
.rv-field-ta,
.ed-fields-ta {
    line-height: var(--editor-line-height) !important;
}

textarea {
    line-height: var(--editor-line-height) !important;
    resize: vertical;
}

/* Disable animations if user prefers */
[data-no-anim="1"] *,
[data-no-anim="1"] *::before,
[data-no-anim="1"] *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
}

/* ── App wrapper ───────────────────────────────────────────── */
#app-wrapper {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: var(--body-bg);
}

/* ── Header ────────────────────────────────────────────────── */
.app-header {
    height: var(--header-h);
    flex-shrink: 0;
    background: var(--bs-body-bg);
    z-index: 100;
}

.app-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.app-brand-name {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.03em;
    color: var(--brand-color);
}
[data-bs-theme="dark"] .app-brand-name {
    color: #7eb3e0;
}

/* ── Layout ────────────────────────────────────────────────── */
#app-layout {
    display: flex;
    flex-grow: 1;
    overflow: hidden;
    min-height: 0;
}

/* ── Sidebar (left panel) ──────────────────────────────────── */
.app-sidebar {
    width: var(--sidebar-width);
    min-width: 52px;
    max-width: 280px;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width var(--transition-med);
    background: var(--bs-body-bg);
}

.app-sidebar.collapsed {
    width: 52px !important;
}

/* Sidebar nav link */
.sidebar-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.6rem;
    border-radius: 0.375rem;
    color: var(--bs-body-color);
    text-decoration: none;
    white-space: nowrap;
    font-size: 0.875rem;
    transition:
        background var(--transition-fast),
        color var(--transition-fast);
}
.sidebar-link:hover {
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
}
.sidebar-link.active {
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    font-weight: 600;
}

.sidebar-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}
.sidebar-label {
    overflow: hidden;
    text-overflow: ellipsis;
    transition:
        opacity var(--transition-med),
        max-width var(--transition-med);
}

/* Collapsed state — hide labels, center icons */
.app-sidebar.collapsed .sidebar-label {
    opacity: 0;
    max-width: 0;
    pointer-events: none;
    overflow: hidden;
}
.app-sidebar.collapsed .sidebar-badge {
    display: none !important;
}
.app-sidebar.collapsed .border-top .sidebar-label {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
}
.app-sidebar.collapsed .sidebar-link {
    justify-content: center;
    padding: 0.45rem 0;
}
.app-sidebar.collapsed .nav.flex-column {
    padding-left: 4px !important;
    padding-right: 4px !important;
}
.app-sidebar.collapsed .border-top {
    padding-left: 4px !important;
    padding-right: 4px !important;
}

/* ── Right panel ───────────────────────────────────────────── */
.app-right {
    width: var(--right-width);
    min-width: 52px;
    max-width: 320px;
    flex-shrink: 0;
    overflow-y: auto;
    overflow-x: hidden;
    transition: width var(--transition-med);
    background: var(--bs-body-bg);
}
.app-right.collapsed {
    width: 0 !important;
    min-width: 0 !important;
    border: none !important;
}

/* ── Center panel ──────────────────────────────────────────── */
#app-center {
    flex-grow: 1;
    overflow: hidden;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

/* ── Resize handles ────────────────────────────────────────── */
.resize-handle {
    width: var(--resize-handle-w);
    flex-shrink: 0;
    cursor: col-resize;
    background: transparent;
    transition: background var(--transition-fast);
    z-index: 10;
}
.resize-handle:hover,
.resize-handle.active {
    background: var(--bs-primary);
    opacity: 0.4;
}

/* ── Right panel list items ────────────────────────────────── */
.rp-item {
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--bs-border-color);
    cursor: pointer;
    transition: background var(--transition-fast);
}
.rp-item:hover {
    background: var(--bs-secondary-bg);
}
.rp-item.active {
    background: var(--bs-primary-bg-subtle);
    border-left: 3px solid var(--bs-primary);
}

.rp-item-word {
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rp-item-meta {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rp-item-compact {
    padding: 0.3rem 0.75rem;
}
.rp-item-compact .rp-item-word {
    font-size: 0.82rem;
    font-weight: 500;
}

/* Progress bar in rp-item */
.rp-progress {
    height: 3px;
    border-radius: 2px;
    margin-top: 0.25rem;
    background: var(--bs-secondary-bg);
}
.rp-progress-bar {
    height: 100%;
    border-radius: 2px;
    background: var(--bs-primary);
    transition: width 0.3s ease;
}

/* ── Editor area ───────────────────────────────────────────── */
.editor-header {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    flex-shrink: 0;
}

.editor-word-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--brand-color);
}
[data-bs-theme="dark"] .editor-word-title {
    color: #7eb3e0;
}

.editor-freq-badge {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.2rem 0.5rem;
    border-radius: 0.25rem;
    background: var(--bs-secondary-bg);
    color: var(--bs-secondary-color);
}

.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.editor-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 1rem;
}

/* ── Field table (leksikograf/tahrirchi editor) ────────────── */
.ed-fields-tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.4rem;
}

.ed-fields-key {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--bs-secondary-color);
    width: 1.8rem;
    vertical-align: top;
    padding-top: 0.55rem;
    white-space: nowrap;
    user-select: none;
}

.ed-fields-val {
    width: 100%;
    padding: 0;
}

.ed-fields-ta {
    width: 100%;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    padding: 0.45rem 0.6rem;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    min-height: 2.6rem;
    resize: vertical;
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast);
    font-family: var(--body-font) !important;
    font-size: var(--editor-font-size) !important;
    line-height: var(--editor-line-height) !important;
}
.ed-fields-ta:focus {
    outline: none;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}
.ed-fields-ta.is-filled {
    border-color: var(--bs-success);
}
.ed-fields-ta.is-invalid {
    border-color: var(--bs-danger);
}

.ed-fields-num {
    width: 6rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.375rem;
    padding: 0.45rem 0.6rem;
    background: var(--bs-body-bg);
    color: var(--bs-body-color);
    font-family: var(--body-font) !important;
    font-size: var(--editor-font-size) !important;
}
.ed-fields-num:focus {
    outline: none;
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

/* Field hint */
.ed-hint {
    font-size: 0.72rem;
    color: var(--bs-secondary-color);
    margin-top: 0.15rem;
    margin-left: 0.1rem;
}

/* ── Dictionary preview (formatlangan ko'rinish) ───────────── */
.dict-preview {
    font-size: 1rem;
    line-height: 1.8;
    padding: 1.25rem 1.5rem;
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    width: 90%;
    max-width: 100%;
    margin: 0 auto;
}
.dict-preview b {
    font-weight: 700;
}

/* ── Publisher article view ────────────────────────────────── */
.art-view {
    font-family: "Noto Serif", serif;
    line-height: 1.9;
    max-width: 720px;
    padding: 1.5rem 2rem;
}
.art-word {
    font-size: 1.35rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-color);
}
.art-meta {
    font-size: 0.88rem;
    color: var(--bs-secondary-color);
    margin-bottom: 0.75rem;
}
.art-section {
    margin: 0.5rem 0;
}
.art-lbl {
    font-variant: small-caps;
    font-weight: 600;
    font-size: 0.85em;
    color: var(--bs-secondary-color);
    margin-right: 0.3rem;
}
.art-val {
    color: var(--bs-body-color);
}

/* ── Purple utility (Bootstrap 5.3 da built-in emas) ──────── */
.bg-purple-subtle {
    background-color: rgba(111, 66, 193, 0.15) !important;
}
.text-purple-emphasis {
    color: #4a2a8a !important;
}
.border-purple-subtle {
    border-color: rgba(111, 66, 193, 0.35) !important;
}

[data-bs-theme="dark"] .bg-purple-subtle {
    background-color: rgba(111, 66, 193, 0.28) !important;
}
[data-bs-theme="dark"] .text-purple-emphasis {
    color: #c4a0f5 !important;
}
[data-bs-theme="dark"] .border-purple-subtle {
    border-color: rgba(111, 66, 193, 0.45) !important;
}

/* ── Status badges ─────────────────────────────────────────── */
.badge-status {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.25em 0.55em;
    border-radius: 0.3rem;
}
.status-new {
    background: var(--status-new);
    color: #fff;
}
.status-editing {
    background: var(--status-editing);
    color: #fff;
}
.status-lex_saved {
    background: var(--status-lex-saved);
    color: #fff;
}
.status-edited {
    background: var(--status-edited);
    color: #000;
}
.status-viewing {
    background: var(--status-viewing);
    color: #fff;
}
.status-rev_saved {
    background: var(--status-rev-saved);
    color: #fff;
}
.status-viewed {
    background: var(--status-viewed);
    color: #000;
}
.status-reading {
    background: var(--status-reading);
    color: #fff;
}
.status-accepted {
    background: var(--status-accepted);
    color: #fff;
}
.status-published {
    background: var(--status-published);
    color: #fff;
}
.status-declined {
    background: var(--status-declined);
    color: #fff;
}
.status-removed {
    background: var(--status-removed);
    color: #fff;
}

/* Role badges */
.badge-role {
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2em 0.5em;
    border-radius: 0.25rem;
}
.role-admin {
    background: #dc3545;
    color: #fff;
}
.role-manager {
    background: #6f42c1;
    color: #fff;
}
.role-editor {
    background: #0d6efd;
    color: #fff;
}
.role-reviewer {
    background: #fd7e14;
    color: #fff;
}
.role-publisher {
    background: #198754;
    color: #fff;
}

/* ── Autosave indicator ────────────────────────────────────── */
.autosave-icon {
    font-size: 1rem;
    transition:
        color 0.3s,
        transform 0.3s;
}
.autosave-icon.saving {
    color: var(--bs-warning);
    animation: spin 0.8s linear infinite;
}
.autosave-icon.saved {
    color: var(--bs-success);
}
.autosave-icon.error {
    color: var(--bs-danger);
}
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
.autosave-time {
    font-size: 0.72rem;
    font-variant-numeric: tabular-nums;
    min-width: 3.2rem;
    opacity: 0.75;
}

/* ── Reviewer inline-edit ──────────────────────────────────── */
.rv-fields {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.rv-field {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 0.5rem;
    padding: 0.55rem 0.5rem;
    border-radius: 0.375rem;
    transition: background var(--transition-fast);
}
.rv-field:hover {
    background: var(--bs-secondary-bg);
}

.rv-field-label {
    display: flex;
    grid-column: 1;
    align-items: flex-start;
    gap: 0.35rem;
    padding-top: 0.2rem;
    user-select: none;
}

.rv-field-label-asterisk {
    background-color: rgba(220, 53, 69, 0.15) !important;
    color: #b02a37 !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.15em 0.4em;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.25rem;
    line-height: 1;
    margin-left: auto;
}

.rv-field-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.4rem;
    height: 1.4rem;
    background: var(--bs-primary-bg-subtle);
    color: var(--bs-primary);
    border-radius: 0.25rem;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.rv-field-name {
    font-size: 0.78rem;
    color: var(--bs-secondary-color);
    line-height: 1.4;
}

.rv-field-body {
    grid-column: 2;
    min-width: 200px;
    width: 100%;
}

.rv-field-text {
    padding: 0.3rem 0.4rem;
    border-radius: 0.3rem;
    border: 1.5px solid transparent;
    line-height: 1.6;
    cursor: pointer;
    white-space: pre-wrap;
    word-break: break-word;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast);
    min-height: 2rem;
}
.rv-field-text:hover {
    border-color: var(--bs-border-color);
    background: var(--bs-body-bg);
}
.rv-field-text.rv-field-empty {
    color: var(--bs-secondary-color);
    font-style: italic;
    font-size: 0.85rem;
}

.rv-field-ta {
    resize: none;
    overflow: hidden;
    min-height: 2.4rem;
    line-height: 1.6;
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 0.15rem rgba(var(--bs-primary-rgb), 0.2) !important;
}

/* ── Toast ─────────────────────────────────────────────────── */
#toast-container {
    position: fixed;
    top: calc(var(--header-h) + 0.5rem);
    right: 1rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}
.app-toast {
    min-width: 260px;
    max-width: 380px;
    padding: 0.65rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-family: var(--body-font);
    pointer-events: all;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    animation: toastIn 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.app-toast.toast-success {
    background: #198754;
    color: #fff;
}
.app-toast.toast-danger {
    background: #dc3545;
    color: #fff;
}
.app-toast.toast-warning {
    background: #fd7e14;
    color: #fff;
}
.app-toast.toast-info {
    background: #0dcaf0;
    color: #000;
}
.app-toast.fade-out {
    animation: toastOut 0.3s ease forwards;
}
@keyframes toastIn {
    from {
        opacity: 0;
        transform: translateX(2rem);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
@keyframes toastOut {
    to {
        opacity: 0;
        transform: translateX(2rem);
    }
}

/* ── Empty state ───────────────────────────────────────────── */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem 1.5rem;
    text-align: center;
    color: var(--bs-secondary-color);
}
.empty-state-icon {
    font-size: 4rem;
    opacity: 0.18;
    margin-bottom: 1rem;
}
.empty-state-text {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* ── Progress completeness ─────────────────────────────────── */
.completeness-bar {
    height: 4px;
    border-radius: 2px;
    background: var(--bs-secondary-bg);
    overflow: hidden;
    margin: 0.3rem 0;
}
.completeness-fill {
    height: 100%;
    border-radius: 2px;
    background: var(--bs-primary);
    transition: width 0.4s ease;
}
.completeness-fill.complete {
    background: var(--bs-success);
}

/* ── Stats cards ───────────────────────────────────────────── */
.stat-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 1rem 1.25rem;
    background: var(--bs-body-bg);
    transition: box-shadow var(--transition-fast);
}
.stat-card:hover {
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}
.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-color);
}
[data-bs-theme="dark"] .stat-card-value {
    color: #7eb3e0;
}
.stat-card-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--bs-secondary-color);
    margin-top: 0.25rem;
}

/* ── Pipeline table ────────────────────────────────────────── */
.pipeline-table th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}
.pipeline-table td {
    vertical-align: middle;
}

/* ── Login page ────────────────────────────────────────────── */
.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2240 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.login-card {
    width: 100%;
    max-width: 380px;
    border-radius: 0.75rem;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
}
.login-brand {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: var(--brand-color);
}

/* ── Public portal ─────────────────────────────────────────── */
.portal-header {
    background: linear-gradient(135deg, #1a3a5c 0%, #0d2240 100%);
    color: #fff;
    padding: 2.5rem 0 2rem;
}
.portal-search-wrap {
    max-width: 600px;
}
.portal-word-entry {
    font-family: "Noto Serif", Georgia, serif;
}
.portal-headword {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--brand-color);
}
.portal-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.6rem;
    padding: 1.75rem 2rem;
    margin-bottom: 1.5rem;
}
.portal-browse-item {
    padding: 0.4rem 0.75rem;
    border-radius: 0.35rem;
    transition: background var(--transition-fast);
    display: block;
    text-decoration: none;
    color: var(--bs-body-color);
}
.portal-browse-item:hover {
    background: var(--bs-secondary-bg);
}

/* ── Page info button ──────────────────────────────────────── */
.btn-page-info {
    width: 26px;
    height: 26px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.85rem;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}
.btn-page-info:hover {
    opacity: 1;
}
#pageInfoBody ul {
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
}
#pageInfoBody li {
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
}
#pageInfoBody p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}
#pageInfoBody .info-tip {
    background: var(--bs-info-bg-subtle);
    color: var(--bs-info-text-emphasis);
    border-radius: 0.375rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    margin-top: 0.75rem;
}

/* ── Keyboard shortcut hint ────────────────────────────────── */
kbd {
    font-family: var(--body-font) !important;
    font-size: 0.75rem;
}

/* ── Manager import ────────────────────────────────────────── */
.import-drop-zone {
    border: 2px dashed var(--bs-border-color);
    border-radius: 0.6rem;
    padding: 3rem 2rem;
    text-align: center;
    transition:
        border-color var(--transition-fast),
        background var(--transition-fast);
    cursor: pointer;
}
.import-drop-zone.drag-over {
    border-color: var(--bs-primary);
    background: var(--bs-primary-bg-subtle);
}
.import-drop-zone-icon {
    font-size: 3rem;
    opacity: 0.3;
}

/* ── Scrollbar (webkit) ────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: var(--bs-secondary-bg);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--bs-secondary-color);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .app-sidebar {
        position: absolute;
        z-index: 200;
        height: calc(100vh - var(--header-h));
        top: var(--header-h);
    }
    .app-sidebar:not(.mobile-open) {
        width: 0 !important;
        min-width: 0 !important;
        overflow: hidden;
    }
    .app-right {
        display: none;
    }
    .resize-handle {
        display: none;
    }
}
