@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

:root {
    color-scheme: light;
    --bg: #f8fafc;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --text: #0f172a;
    --muted: #64748b;
    --card: #ffffff;
}

body {
    margin: 0;
    font-family: "Poppins", "Segoe UI", sans-serif;
    background: radial-gradient(circle at top, #fff7ed, #f8fafc 55%);
    color: var(--text);
    min-height: 100vh;
}

.app-shell {
    min-height: 100vh;
    background: #f7f4ef;
    position: relative;
}

.app-content {
    padding: 6.5rem 1.25rem 2rem;
    margin: 0 auto;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.app-topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 1.25rem;
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    z-index: 200;
}

.app-topbar__title {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.app-topbar__meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.app-topbar__nav {
    display: none;
}

.app-topbar__actions {
    display: none;
}

.nav-toggle {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-toggle__btn {
    width: 40px;
    height: 40px;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
}

.side-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    background: #fff;
    border-right: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.25rem 1rem;
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    overflow-y: auto;
}

.side-nav__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.side-nav__logo {
    width: 44px;
    height: 44px;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, #b67423, #8e5313);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.side-nav__title {
    font-weight: 700;
}

.side-nav__subtitle {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.side-nav__links {
    display: grid;
    gap: 0.4rem;
}

.side-nav__item {
    text-decoration: none;
    color: #312721;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.9rem;
    font-weight: 600;
}

.side-nav__item.active {
    background: rgba(182, 116, 35, 0.12);
    color: #8e5313;
}

.side-nav__icon {
    width: 28px;
    height: 28px;
    border-radius: 0.7rem;
    background: #f2e9dc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.side-nav__icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-nav__item {
    text-decoration: none;
    color: #312721;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.55rem 0.8rem;
    border-radius: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.top-nav__item.active {
    background: rgba(182, 116, 35, 0.12);
    color: #8e5313;
}

.top-nav__icon {
    width: 22px;
    height: 22px;
    border-radius: 0.6rem;
    background: #f2e9dc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-nav__icon svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.top-action {
    border: none;
    background: #f7f2ea;
    border-radius: 0.85rem;
    padding: 0.5rem 0.85rem;
    font-weight: 600;
    color: #312721;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: inherit;
    font-size: 0.9rem;
}

.top-action--danger {
    background: #fee2e2;
    color: #991b1b;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
    z-index: 250;
}

.nav-toggle:checked ~ .side-nav {
    transform: translateX(0);
}

.nav-toggle:checked ~ .nav-overlay {
    opacity: 1;
    pointer-events: auto;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

p {
    color: var(--muted);
    margin-top: 0;
}

.text-muted {
    color: var(--muted);
}

.text-danger {
    color: #b91c1c;
}

.input-field {
    width: min(260px, 100%);
    padding: 0.55rem 0.75rem;
    border-radius: 0.65rem;
    border: 1px solid rgba(15, 23, 42, 0.2);
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    background: #fff;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-field:focus {
    outline: none;
    border-color: #8c4b16;
    box-shadow: 0 0 0 3px rgba(140, 75, 22, 0.18);
}

.status-card {
    font-weight: 600;
    border-radius: 0.9rem;
}

.status-success {
    border-color: rgba(22, 163, 74, 0.35);
    background: rgba(22, 163, 74, 0.08);
    color: #166534;
}

.status-error {
    border-color: rgba(220, 38, 38, 0.35);
    background: rgba(220, 38, 38, 0.08);
    color: #991b1b;
}

.status-info {
    border-color: rgba(59, 130, 246, 0.35);
    background: rgba(59, 130, 246, 0.08);
    color: #1e3a8a;
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.35rem;
}

.form-check-input {
    width: 1.05rem;
    height: 1.05rem;
    appearance: none;
    -webkit-appearance: none;
    border: 1.5px solid #475569;
    border-radius: 0.25rem;
    background: #fff;
    display: inline-grid;
    place-content: center;
    cursor: pointer;
}

.form-check-input:focus {
    outline: none;
    border-color: #8c4b16;
    box-shadow: 0 0 0 3px rgba(140, 75, 22, 0.2);
}

.form-check-input:checked {
    background: #8c4b16;
    border-color: #8c4b16;
}

.form-check-input:checked::after {
    content: "";
    width: 0.28rem;
    height: 0.55rem;
    border: solid #fff;
    border-width: 0 0.14rem 0.14rem 0;
    transform: rotate(45deg) translateY(-0.03rem);
}

.form-check-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.card {
    background: #fff;
    border-radius: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 1.25rem;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.stack-card {
    margin-bottom: 1rem;
}

.card-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.card-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.btn {
    border-radius: 999px;
    padding: 0.6rem 1.25rem;
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #b67423, #8e5313);
    color: #fff;
}

.btn-ghost {
    background: #f2e9dc;
    color: #6f3f0f;
}

.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.status-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.status-pill--ok {
    background: rgba(34, 197, 94, 0.12);
    color: #166534;
    border-color: rgba(22, 101, 52, 0.2);
}

.status-pill--warn {
    background: rgba(234, 179, 8, 0.12);
    color: #92400e;
    border-color: rgba(146, 64, 14, 0.2);
}

.status-pill--danger {
    background: rgba(239, 68, 68, 0.12);
    color: #991b1b;
    border-color: rgba(153, 27, 27, 0.2);
}

.status-pill--muted {
    background: rgba(148, 163, 184, 0.2);
    color: #475569;
    border-color: rgba(100, 116, 139, 0.2);
}

.card-list {
    display: grid;
    gap: 0.9rem;
}

.project-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.project-card__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.project-card__meta {
    margin-top: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.search-box {
    margin-bottom: 1rem;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.9rem;
    border-radius: 0.85rem;
    border: 1px solid rgba(15, 23, 42, 0.3);
    background: #fff;
    color: var(--text);
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.form-control::placeholder {
    color: #475569;
}

.form-control:focus {
    outline: none;
    border-color: #8c4b16;
    box-shadow: 0 0 0 3px rgba(140, 75, 22, 0.2);
}

.form-control[readonly],
.form-control:disabled {
    background: #f8fafc;
    color: #1e293b;
}

.form-control:where(select) {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 7.5L10 12.5L15 7.5' stroke='%23334155' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.65rem center;
    background-size: 0.95rem;
}

.form-control--table {
    padding: 0.35rem 0.5rem;
    border-radius: 0.6rem;
    font-size: 0.85rem;
    min-width: 110px;
}

.form-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.35rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.form-span-2 {
    grid-column: span 2;
}

.segmented {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    background: #f2e9dc;
    border-radius: 999px;
    padding: 0.25rem;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.segmented__button {
    flex: 1 1 0;
    border: none;
    background: transparent;
    padding: 0.5rem 0.75rem;
    border-radius: 999px;
    font-weight: 600;
    color: #6f3f0f;
    cursor: pointer;
    white-space: nowrap;
}

.segmented__button.active {
    background: #fff;
    color: #312721;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
}

.table-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.table-wrapper--no-scroll {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
}

.table-wrapper--no-scroll::-webkit-scrollbar {
    height: 0;
}

.table-scroll-top {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    height: 14px;
    margin-bottom: 0.35rem;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
}

.table-scroll-top .table-scroll-inner {
    height: 1px;
}


.observation-log__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.observation-log__formula {
    margin: 0;
    font-size: 0.8rem;
}

.observation-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.observation-table th,
.observation-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.1);
    text-align: left;
    white-space: nowrap;
}

.observation-table thead th {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    background: #f8f4ee;
}

.observation-table tbody tr:nth-child(even) {
    background: #fbf7f0;
}

.observation-table td.num {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.observation-table th.levels-override-col,
.observation-table td.levels-override-col {
    text-align: center;
}

.observation-table td.levels-override-col .form-check-input {
    margin-top: 0;
    vertical-align: middle;
}

.observation-table--summary td.num {
    text-align: left;
}

.observation-table__empty {
    text-align: center;
    color: var(--muted);
    padding: 1.5rem 0.75rem;
}

.observation-cards {
    display: none;
    gap: 0.85rem;
}

.levels-mobile-cards {
    display: none;
    gap: 0.85rem;
}

.obs-levels-mobile-cards {
    display: none;
    gap: 0.85rem;
}

.observation-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 0.9rem;
    padding: 0.85rem;
    background: #fff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.05);
}

.observation-card__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}

.observation-card__title {
    font-weight: 600;
}

.observation-card__meta {
    font-size: 0.8rem;
    color: var(--muted);
}

.observation-card__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 0.85rem;
}

.observation-card__label {
    font-size: 0.7rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.observation-card__value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.observation-card__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin-top: 0.8rem;
}

.observation-scale {
    margin: 0.75rem 0;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.summary-actions__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.summary-chart {
    max-height: 400px;
}

.observation-form__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.observation-form__actions {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
}

@media (max-width: 860px) {
    .table-scroll-top,
    .table-wrapper {
        display: none;
    }

    .table-wrapper--mobile-visible {
        display: block !important;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .table-wrapper--mobile-visible .observation-table {
        min-width: 760px;
    }

    .observation-cards {
        display: grid;
    }

    .levels-mobile-cards {
        display: grid;
    }

    .obs-levels-mobile-cards {
        display: grid;
    }

    .table-wrapper--levels {
        display: none !important;
    }

    .table-wrapper--observation-levels {
        display: none !important;
    }

    .levels-mobile-cards .observation-card__grid,
    .obs-levels-mobile-cards .observation-card__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .observation-scale--compact {
        gap: 0.5rem;
    }

    .observation-scale--compact .scale-control {
        min-width: unset;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .observation-scale--compact .form-label {
        margin: 0;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    .observation-scale--compact .form-control {
        padding: 0.35rem 0.6rem;
        font-size: 0.85rem;
    }

    .summary-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .summary-row__segmented {
        width: 100%;
        margin-bottom: 0;
    }

    .summary-actions__buttons {
        width: 100%;
    }
}

.observation-scale .scale-control {
    min-width: 160px;
}

.observation-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    cursor: pointer;
}

.observation-card__body {
    margin-top: 0.75rem;
    display: grid;
    gap: 0.5rem;
}

.material-flow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.material-flow__arrow {
    color: var(--muted);
    font-weight: 600;
}

.observation-row {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.summary-grid,
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.audit-list,
.more-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
    display: grid;
    gap: 0.5rem;
}

.more-sheet {
    background: #fff;
    border-radius: 1.25rem;
    padding: 1.5rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.08);
}

.more-item {
    display: block;
    width: 100%;
    border: none;
    background: #f7f2ea;
    border-radius: 0.85rem;
    padding: 0.9rem 1rem;
    text-align: left;
    font-weight: 600;
    color: #312721;
    cursor: pointer;
    text-decoration: none;
}

.more-item.danger {
    background: #fee2e2;
    color: #991b1b;
}

.balance-amount {
    font-size: 2rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.dashboard-grid {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
    grid-template-columns: 1fr;
}

.dashboard-grid--split {
    grid-template-columns: 1fr;
}

.chart-card {
    display: grid;
    gap: 0.85rem;
}

.chart-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

@media (hover: none) and (pointer: coarse) {
    .table-wrapper--observation-levels {
        display: none !important;
    }

    .obs-levels-mobile-cards {
        display: grid;
    }

    .levels-mobile-cards .observation-card__grid,
    .obs-levels-mobile-cards .observation-card__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

.survey-tools-card {
    padding: 0;
    overflow: hidden;
}

.survey-tools-frame {
    width: 100%;
    min-height: calc(100vh - 220px);
    border: 0;
    background: #0d1117;
    display: block;
}

.chart {
    height: 160px;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, rgba(182, 116, 35, 0.12), rgba(248, 250, 252, 0.8));
    padding: 1rem;
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    overflow: hidden;
}

.chart--bars span {
    display: block;
    width: 100%;
    max-width: 18px;
    flex: 1 1 auto;
    background: linear-gradient(180deg, #b67423, #8e5313);
    border-radius: 0.5rem 0.5rem 0.3rem 0.3rem;
    height: calc(var(--value) * 1%);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

.chart--line {
    position: relative;
    padding: 1.25rem;
}

.chart--line svg {
    width: 100%;
    height: 100%;
}

.report-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}

.report-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.report-label {
    font-weight: 600;
}

.report-value {
    font-weight: 700;
    color: #8e5313;
}

.results-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 0.75rem;
    margin: 0.75rem 0 1rem;
}

.results-kpi {
    background: linear-gradient(180deg, rgba(242, 233, 220, 0.45), rgba(255, 255, 255, 0.7));
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 0.9rem;
    padding: 0.85rem 0.95rem;
}

.results-kpi__label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    font-weight: 700;
}

.results-kpi__value {
    margin-top: 0.25rem;
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1.05;
    font-family: "Poppins", "Segoe UI", sans-serif;
}

.results-kpi__value--cut {
    color: #c2410c;
}

.results-kpi__value--fill {
    color: #15803d;
}

.results-kpi__value--gold {
    color: #92400e;
}

.results-kpi__unit {
    font-size: 0.74rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.2rem;
}

.toast {
    display: block;
    position: fixed;
    top: 5.5rem;
    right: 1.5rem;
    z-index: 2000;
    padding: 0.75rem 1rem;
    border-radius: 0.9rem;
    font-weight: 600;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    animation: toast-slide-in 0.2s ease-out;
    background: #ecfdf3;
    color: #166534;
    border: 1px solid rgba(22, 101, 52, 0.2);
}

.toast.show {
    display: block !important;
}

.toast--success {
    background: #ecfdf3;
    color: #166534;
    border-color: rgba(22, 101, 52, 0.2);
}

.toast--error {
    background: #fef2f2;
    color: #991b1b;
    border-color: rgba(153, 27, 27, 0.2);
}

@keyframes toast-slide-in {
    from {
        transform: translateY(-8px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.point-edit-overlay {
    position: fixed;
    inset: 0;
    z-index: 2050;
    background: rgba(15, 23, 42, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.point-edit-dialog {
    width: min(560px, 100%);
    background: #ffffff;
    border-radius: 1rem;
    padding: 1.2rem;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.25);
}

@media (min-width: 900px) {
    .app-content {
        margin-left: 0;
        padding: 6rem 2rem 2.5rem;
    }

    .app-topbar {
        left: 0;
        padding: 0 2rem;
        height: 72px;
        gap: 1rem;
    }

    .app-topbar__nav {
        display: flex;
        align-items: center;
        gap: 0.35rem;
        margin-left: 1rem;
        flex: 1 1 auto;
        justify-content: flex-end;
        overflow: hidden;
        min-width: 0;
    }

    .app-topbar__actions {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: 0.75rem;
        flex: 0 0 auto;
    }

    .app-topbar__meta {
        flex: 0 0 auto;
        margin-left: 0.75rem;
    }

    .nav-toggle__btn {
        display: none;
    }

    .side-nav {
        display: none;
    }

    .nav-overlay {
        display: none;
    }

    .dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-grid--split {
        grid-template-columns: 4fr 1fr;
    }
}
