@font-face {
    font-family: Manrope;
    src: url('/assets/vendor/fonts/manrope-latin-wght-normal.woff2') format('woff2');
    font-style: normal;
    font-weight: 200 800;
    font-display: swap;
}

:root {
    --app-ink: #172723;
    --app-muted: #60716b;
    --app-forest: #17473c;
    --app-green: #28725e;
    --app-green-soft: #e3f0e9;
    --app-coral: #d96b50;
    --app-amber: #d5a74c;
    --app-paper: #f4f7f3;
    --app-surface: #ffffff;
    --app-line: #dce5df;
    --app-sidebar-width: 258px;
    --bs-body-font-family: Manrope, sans-serif;
    --bs-body-color: var(--app-ink);
    --bs-body-bg: var(--app-paper);
    --bs-primary: var(--app-green);
    --bs-primary-rgb: 40, 114, 94;
    --bs-link-color: var(--app-green);
    --bs-link-hover-color: var(--app-forest);
}

html {
    min-width: 320px;
}

body {
    background: var(--app-paper);
    color: var(--app-ink);
    font-family: Manrope, sans-serif;
    font-size: 0.95rem;
    line-height: 1.55;
}

a {
    color: var(--app-green);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    color: var(--app-forest);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--app-ink);
    font-family: Manrope, sans-serif;
    font-weight: 720;
    letter-spacing: 0;
    line-height: 1.25;
}

h1 {
    font-size: 1.85rem;
}

h2 {
    font-size: 1.4rem;
}

.lead {
    color: var(--app-muted);
    font-size: 1.1rem;
    line-height: 1.65;
}

.navbar-dark.bg-dark {
    background: var(--app-forest) !important;
    border-bottom: 3px solid var(--app-coral);
    box-shadow: 0 2px 12px rgb(23 39 35 / 8%);
}

.navbar .container-fluid {
    min-height: 3.6rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.navbar-brand {
    align-items: center;
    display: inline-flex;
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: 0;
}

.navbar-brand::before {
    background: var(--app-coral);
    border-radius: 2px;
    content: '';
    display: inline-block;
    height: 1.1rem;
    margin-right: 0.55rem;
    width: 0.28rem;
}

.navbar .btn {
    --bs-btn-border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 650;
}

.app-sidebar {
    background: var(--app-forest);
    bottom: 0;
    color: #f5faf6;
    display: flex;
    flex-direction: column;
    left: 0;
    overflow: hidden;
    padding: 1.4rem 1rem 1rem;
    position: fixed;
    top: 0;
    width: var(--app-sidebar-width);
    z-index: 1040;
}

.app-sidebar-brand,
.app-mobile-brand {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
}

.app-sidebar-brand span,
.app-mobile-brand span {
    color: #f3a17c;
}

.app-sidebar-caption {
    color: #b4d5c7;
    font-size: 0.78rem;
    margin: 0.35rem 0 1.75rem;
}

.app-sidebar nav {
    flex: 1 1 auto;
    overflow-y: auto;
    padding-right: 0.15rem;
}

.app-navigation-section + .app-navigation-section {
    margin-top: 1.25rem;
}

.app-navigation-heading {
    color: #b4d5c7;
    font-size: 0.72rem;
    font-weight: 700;
    margin: 0 0 0.4rem 0.65rem;
}

.app-navigation-list {
    display: grid;
    gap: 0.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-navigation-link {
    align-items: center;
    border-left: 3px solid transparent;
    border-radius: 4px;
    color: #e7f0ea;
    display: flex;
    font-size: 0.87rem;
    font-weight: 600;
    min-height: 2.55rem;
    padding: 0.55rem 0.65rem;
    text-decoration: none;
}

.app-navigation-link:hover,
.app-navigation-link:focus-visible {
    background: rgb(255 255 255 / 9%);
    color: #fff;
}

.app-navigation-link[aria-current="page"] {
    background: rgb(255 255 255 / 12%);
    border-left-color: var(--app-coral);
    color: #fff;
}

.app-sidebar-footer {
    border-top: 1px solid rgb(255 255 255 / 18%);
    margin-top: 1rem;
    padding-top: 0.8rem;
}

.app-sidebar-logout {
    background: transparent;
    border: 1px solid rgb(255 255 255 / 34%);
    border-radius: 6px;
    color: #fff;
    font: inherit;
    font-size: 0.87rem;
    font-weight: 650;
    min-height: 2.65rem;
    width: 100%;
}

.app-sidebar-logout:hover {
    background: rgb(255 255 255 / 10%);
}

.app-mobile-bar,
.app-sidebar-backdrop {
    display: none;
}

.app-breadcrumbs {
    align-items: center;
    background: var(--app-paper);
    border-bottom: 1px solid var(--app-line);
    display: flex;
    height: 3.25rem;
    left: var(--app-sidebar-width);
    padding-inline: 2rem;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1020;
}

.app-breadcrumbs ol {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.app-breadcrumbs li {
    color: var(--app-muted);
    font-size: 0.8rem;
}

.app-breadcrumbs li + li::before {
    color: #92a19a;
    content: '/';
    margin-right: 0.5rem;
}

.app-breadcrumbs [aria-current="page"] {
    color: var(--app-ink);
    font-weight: 700;
}

.app-breadcrumbs a {
    color: var(--app-muted);
    text-decoration: none;
}

.app-breadcrumbs a:hover {
    color: var(--app-green);
}

body > .app-sidebar ~ main {
    margin-left: var(--app-sidebar-width);
    margin-right: 0;
    max-width: none;
    padding-top: 5.25rem !important;
    width: calc(100% - var(--app-sidebar-width));
}

.app-sidebar a:focus-visible,
.app-sidebar-logout:focus-visible,
.app-menu-toggle:focus-visible {
    box-shadow: 0 0 0 0.2rem rgb(255 255 255 / 55%);
    outline: 2px solid transparent;
}

main.container,
main.container-fluid {
    padding-bottom: 3rem !important;
    padding-top: 2rem !important;
}

main > h1:first-child {
    margin-bottom: 1.35rem !important;
}

.btn {
    --bs-btn-border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 650;
    min-height: 2.65rem;
    padding-inline: 1rem;
}

.btn-primary {
    --bs-btn-bg: var(--app-green);
    --bs-btn-border-color: var(--app-green);
    --bs-btn-hover-bg: var(--app-forest);
    --bs-btn-hover-border-color: var(--app-forest);
    --bs-btn-active-bg: var(--app-forest);
    --bs-btn-active-border-color: var(--app-forest);
}

.btn-secondary {
    --bs-btn-bg: #52655e;
    --bs-btn-border-color: #52655e;
    --bs-btn-hover-bg: #3d5049;
    --bs-btn-hover-border-color: #3d5049;
}

.btn-danger {
    --bs-btn-bg: #b74e3d;
    --bs-btn-border-color: #b74e3d;
    --bs-btn-hover-bg: #983b2d;
    --bs-btn-hover-border-color: #983b2d;
}

.form-label,
.form-check-label {
    color: var(--app-ink);
    font-size: 0.88rem;
    font-weight: 650;
}

.form-control,
.form-select {
    background-color: var(--app-surface);
    border-color: #cbd8d0;
    border-radius: 6px;
    color: var(--app-ink);
    min-height: 2.75rem;
}

.form-control:focus,
.form-select:focus,
.form-check-input:focus,
.btn:focus-visible,
a:focus-visible {
    border-color: var(--app-green);
    box-shadow: 0 0 0 0.22rem rgb(40 114 94 / 20%);
    outline: 2px solid transparent;
}

.form-check-input:checked {
    background-color: var(--app-green);
    border-color: var(--app-green);
}

.card {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 6px;
    box-shadow: 0 4px 14px rgb(23 39 35 / 4%);
}

.card-body {
    padding: 1.15rem;
}

.alert {
    border-radius: 6px;
    border-width: 0 0 0 4px;
}

.alert-warning {
    background: #fbf5e8;
    border-color: var(--app-amber);
    color: #51421f;
}

.alert-danger {
    background: #fbefeb;
    border-color: var(--app-coral);
    color: #692d24;
}

.alert-success {
    background: var(--app-green-soft);
    border-color: var(--app-green);
    color: #214c3c;
}

.table-responsive {
    border: 1px solid var(--app-line);
    border-radius: 6px;
    background: var(--app-surface);
}

.table {
    --bs-table-color: var(--app-ink);
    --bs-table-border-color: var(--app-line);
    margin-bottom: 0;
}

.table > :not(caption) > * > * {
    padding: 0.75rem;
}

.table thead th {
    background: #eaf1ec;
    color: #314d43;
    font-size: 0.78rem;
    font-weight: 750;
    vertical-align: middle;
}

.table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-bg-type: #f8faf8;
}

.table tfoot th,
.table tfoot td {
    background: #edf3ef;
    font-weight: 700;
}

.dt-container {
    color: var(--app-ink);
}

.dt-container .dt-search input,
.dt-container .dt-length select {
    border: 1px solid #cbd8d0;
    border-radius: 6px;
    min-height: 2.45rem;
    padding: 0.35rem 0.65rem;
}

.summary-band {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-left: 4px solid var(--app-green);
    border-radius: 6px;
    min-height: 100%;
    padding: 1rem 1.1rem;
}

.summary-band:nth-child(2) {
    border-left-color: #57927b;
}

.summary-band:nth-child(3) {
    border-left-color: var(--app-amber);
}

.summary-band:nth-child(4) {
    border-left-color: var(--app-coral);
}

.summary-limit {
    grid-column: span 2;
}

.mei-classification {
    border-bottom: 1px solid var(--app-line);
    margin: 0;
    padding: 0 0 1rem;
}

.mei-classification legend {
    float: none;
    margin-bottom: 0.75rem;
    width: auto;
}

.mei-limit-fields[hidden] {
    display: none !important;
}

.mei-limit-fields {
    max-width: 680px;
}

.limit-usage {
    color: var(--app-muted);
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.2rem 0.35rem;
}

.limit-progress {
    appearance: none;
    background: #e5ece7;
    border: 0;
    border-radius: 3px;
    display: block;
    height: 0.45rem;
    width: 100%;
}

.limit-progress::-webkit-progress-bar {
    background: #e5ece7;
    border-radius: 3px;
}

.limit-progress::-webkit-progress-value {
    background: var(--app-green);
    border-radius: 3px;
}

.limit-progress::-moz-progress-bar {
    background: var(--app-green);
    border-radius: 3px;
}

.limit-alert {
    font-size: 0.78rem;
    line-height: 1.45;
    padding: 0.6rem 0.7rem;
}

.dashboard-chart {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 6px;
    padding: 1.1rem;
}

.category-swatch {
    border-radius: 2px;
}

.guide-steps {
    counter-reset: guide-step;
    gap: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.guide-steps li {
    border-left: 2px solid var(--app-line);
    counter-increment: guide-step;
    min-height: 3.5rem;
    padding: 0 0 0.25rem 1.2rem;
    position: relative;
}

.guide-steps li::before {
    align-items: center;
    background: var(--app-green-soft);
    border: 1px solid #c9ded1;
    border-radius: 50%;
    color: var(--app-forest);
    content: counter(guide-step);
    display: inline-flex;
    font-size: 0.82rem;
    font-weight: 800;
    height: 1.75rem;
    justify-content: center;
    left: -0.92rem;
    position: absolute;
    top: -0.1rem;
    width: 1.75rem;
}

.report-header {
    border-left: 4px solid var(--app-coral);
    padding-left: 1rem;
}

.report-table {
    background: var(--app-surface);
}

.active-session-item {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 6px;
    padding: 1rem 1.1rem;
}

.active-session-heading {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: space-between;
}

.active-session-heading h2 {
    font-size: 1rem;
    margin: 0;
    overflow-wrap: anywhere;
}

.session-details {
    display: grid;
    gap: 0.75rem 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 1rem 0;
}

.session-details dt {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 650;
}

.session-details dd {
    margin: 0.2rem 0 0;
    overflow-wrap: anywhere;
}

.session-divider {
    border-color: var(--app-line);
    margin: 1rem 0;
    opacity: 1;
}

.install-page {
    min-height: 100vh;
    padding: 2.5rem 1.25rem;
}

.install-shell {
    margin-inline: auto;
    max-width: 920px;
}

.install-header {
    align-items: center;
    color: var(--app-muted);
    display: flex;
    font-size: 0.82rem;
    font-weight: 650;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.install-wordmark {
    color: var(--app-forest);
    font-size: 1.35rem;
    font-weight: 800;
    text-decoration: none;
}

.install-wordmark span {
    color: var(--app-coral);
}

.install-progress {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 6px;
    margin-bottom: 1rem;
    padding: 1rem 1.1rem 0.75rem;
}

.install-progress-summary {
    color: var(--app-muted);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.install-progress ol {
    display: grid;
    gap: 0.65rem 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.install-progress li {
    align-items: center;
    color: var(--app-muted);
    display: flex;
    font-size: 0.78rem;
    gap: 0.5rem;
    min-width: 0;
}

.install-step-marker {
    align-items: center;
    background: #edf2ee;
    border: 1px solid var(--app-line);
    border-radius: 50%;
    color: var(--app-muted);
    display: inline-flex;
    flex: 0 0 1.5rem;
    font-size: 0.7rem;
    font-weight: 750;
    height: 1.5rem;
    justify-content: center;
}

.install-progress li[aria-current="step"] {
    color: var(--app-forest);
    font-weight: 750;
}

.install-progress li[aria-current="step"] .install-step-marker {
    background: var(--app-green-soft);
    border-color: #b7d2c2;
    color: var(--app-forest);
}

.install-content {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 6px;
    box-shadow: 0 4px 14px rgb(23 39 35 / 4%);
    padding: 2rem;
}

.install-content h1 {
    font-size: 1.55rem;
    margin-bottom: 0.65rem;
}

.install-content form {
    max-width: 680px;
}

.install-eyebrow {
    color: var(--app-green);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.65rem;
}

.install-intro {
    color: var(--app-muted);
    margin-bottom: 1.75rem;
    max-width: 580px;
}

.install-welcome-footer {
    align-items: center;
    border-top: 1px solid var(--app-line);
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding-top: 1.25rem;
}

.install-welcome-footer > span {
    color: var(--app-muted);
    font-size: 0.82rem;
}

.auth-page {
    align-items: center;
    background: #edf2ed;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 1.25rem;
}

.auth-shell {
    background: var(--app-surface);
    border: 1px solid var(--app-line);
    border-radius: 8px;
    box-shadow: 0 16px 48px rgb(23 39 35 / 9%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    max-width: 1080px;
    min-height: 590px;
    overflow: hidden;
    width: 100%;
}

.auth-brand {
    background-color: var(--app-forest);
    background-image: linear-gradient(135deg, rgb(255 255 255 / 3%) 25%, transparent 25%, transparent 50%, rgb(255 255 255 / 3%) 50%, rgb(255 255 255 / 3%) 75%, transparent 75%, transparent);
    background-size: 24px 24px;
    color: #f8fbf8;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2.5rem;
}

.auth-wordmark {
    color: #fff;
    font-size: 1.55rem;
    font-weight: 800;
    text-decoration: none;
}

.auth-wordmark span {
    color: #f3a17c;
}

.auth-brand-copy {
    max-width: 440px;
    padding-block: 3rem;
}

.auth-brand .auth-eyebrow {
    color: #b4d5c7;
}

.auth-eyebrow {
    color: var(--app-green);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 0.75rem;
}

.auth-brand h1 {
    color: #fff;
    font-size: 2.35rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.auth-brand-copy > p:last-child {
    color: #d9e8e0;
    font-size: 1rem;
    max-width: 370px;
}

.auth-brand-foot {
    color: #b4d5c7;
    font-size: 0.82rem;
    margin: 0;
}

.auth-form-panel {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 2.5rem;
}

.auth-form-content {
    max-width: 380px;
    width: 100%;
}

.auth-form-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-form-intro {
    color: var(--app-muted);
    margin-bottom: 2rem;
}

.auth-privacy-link {
    font-size: 0.82rem;
    margin: 1.25rem 0 0;
    text-align: center;
}

.privacy-page {
    max-width: 860px;
}

.privacy-updated {
    color: var(--app-muted);
    font-size: 0.84rem;
    margin-bottom: 2rem;
}

.privacy-section {
    border-top: 1px solid var(--app-line);
    padding: 1.25rem 0;
}

.privacy-section h2 {
    font-size: 1.12rem;
    margin-bottom: 0.65rem;
}

.privacy-placeholder {
    background: #fbf5e8;
    border-left: 4px solid var(--app-amber);
    margin-top: 1.5rem;
    padding: 0.9rem 1rem;
}

.profile-page {
    max-width: 920px;
}

.profile-section {
    border-top: 1px solid var(--app-line);
    margin-top: 1.5rem;
    padding-top: 1.25rem;
}

.profile-section h2 {
    font-size: 1.15rem;
    margin-bottom: 0.7rem;
}

.profile-details {
    display: grid;
    gap: 1rem 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.profile-details dt {
    color: var(--app-muted);
    font-size: 0.82rem;
    font-weight: 650;
}

.profile-details dd {
    margin: 0.2rem 0 0;
    overflow-wrap: anywhere;
}

.profile-edit-form {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
}

.profile-edit-form > button {
    justify-self: start;
}

.profile-email-locked {
    align-self: end;
    min-width: 0;
}

.profile-email-locked > p:first-of-type {
    margin-bottom: 0.2rem;
    overflow-wrap: anywhere;
}

.profile-settings-list {
    display: grid;
    gap: 0 2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.profile-settings-link {
    border-top: 1px solid var(--app-line);
    display: block;
    font-weight: 650;
    padding: 0.8rem 0;
    text-decoration: none;
}

.profile-edit-disclosure {
    margin-top: 1rem;
}

.profile-edit-disclosure:not([open]) > :not(summary),
.email-change-disclosure:not([open]) > :not(summary) {
    display: none;
}

.profile-edit-disclosure > summary,
.email-change-disclosure > summary {
    cursor: pointer;
    list-style: none;
}

.profile-edit-disclosure > summary::-webkit-details-marker,
.email-change-disclosure > summary::-webkit-details-marker {
    display: none;
}

.profile-edit-disclosure[open] > summary {
    margin-bottom: 1rem;
}

.email-change-disclosure {
    border-top: 1px solid var(--app-line);
    margin-top: 1.25rem;
    padding-top: 0.85rem;
}

.email-change-disclosure > summary {
    color: var(--app-green);
    font-size: 0.88rem;
    font-weight: 700;
}

.email-change-disclosure[open] > summary {
    margin-bottom: 0.75rem;
}

.email-change-request {
    max-width: 600px;
}

.profile-danger-zone {
    border-top-color: #e6c5bd;
}

.account-delete-dialog {
    border: 1px solid var(--app-line);
    border-radius: 8px;
    color: var(--app-ink);
    max-width: calc(100vw - 2rem);
    padding: 0;
    width: 520px;
}

.account-delete-dialog::backdrop {
    background: rgb(16 31 26 / 58%);
}

.account-delete-dialog-content {
    padding: 1.5rem;
}

.account-delete-dialog h2 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

@media (max-width: 767.98px) {
    .summary-limit {
        grid-column: span 2;
    }
    .profile-details {
        grid-template-columns: 1fr;
    }

    .profile-edit-form {
        grid-template-columns: 1fr;
    }

    .profile-settings-list {
        grid-template-columns: 1fr;
    }

    .session-details {
        grid-template-columns: 1fr;
    }

    .app-mobile-bar {
        align-items: center;
        background: var(--app-forest);
        border-bottom: 3px solid var(--app-coral);
        display: flex;
        height: 3.75rem;
        justify-content: space-between;
        left: 0;
        padding: 0 1rem;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 1050;
    }

    .app-breadcrumbs {
        height: 2.75rem;
        left: 0;
        padding-inline: 1rem;
        top: 3.75rem;
    }

    .app-mobile-brand {
        font-size: 1.2rem;
    }

    .app-menu-toggle {
        align-items: center;
        background: transparent;
        border: 1px solid rgb(255 255 255 / 34%);
        border-radius: 6px;
        color: #fff;
        display: inline-flex;
        height: 2.65rem;
        justify-content: center;
        padding: 0;
        width: 2.65rem;
    }

    .app-menu-icon,
    .app-menu-icon::before,
    .app-menu-icon::after {
        background: currentColor;
        border-radius: 2px;
        display: block;
        height: 2px;
        position: relative;
        width: 1.1rem;
    }

    .app-menu-icon::before,
    .app-menu-icon::after {
        content: '';
        left: 0;
        position: absolute;
    }

    .app-menu-icon::before {
        top: -0.35rem;
    }

    .app-menu-icon::after {
        top: 0.35rem;
    }

    .app-sidebar {
        bottom: 0;
        padding-top: 1rem;
        top: 3.75rem;
        transform: translateX(-100%);
        transition: transform 180ms ease-out;
        width: 100%;
    }

    .app-sidebar.is-open {
        transform: translateX(0);
    }

    .app-sidebar-caption {
        display: none;
    }

    .app-sidebar-backdrop:not([hidden]) {
        background: rgb(16 31 26 / 54%);
        border: 0;
        display: block;
        inset: 3.75rem 0 0;
        position: fixed;
        z-index: 1035;
    }

    body > .app-sidebar ~ main {
        margin-left: 0;
        padding-top: 7.25rem !important;
        width: 100%;
    }

    body.app-navigation-open {
        overflow: hidden;
    }

    .navbar .container-fluid > form {
        margin-left: auto;
        order: 2;
    }

    .navbar .container-fluid > .d-flex {
        flex: 0 0 100%;
        flex-wrap: nowrap;
        margin: 0;
        order: 3;
        overflow-x: auto;
        padding: 0.1rem 0 0.35rem;
        scrollbar-width: thin;
    }

    .navbar .container-fluid > .d-flex .btn {
        flex: 0 0 auto;
    }

    .navbar .container-fluid > .btn:not(.navbar-brand) {
        margin-left: auto;
        order: 3;
    }

    .install-page {
        padding: 1.25rem 0.75rem;
    }

    .install-header {
        margin-bottom: 1rem;
    }

    .install-progress {
        padding: 0.85rem 0.75rem 0.7rem;
    }

    .install-progress ol {
        gap: 0.65rem 0.4rem;
    }

    .install-progress li {
        font-size: 0.7rem;
        gap: 0.35rem;
    }

    .install-content {
        padding: 1.25rem;
    }

    .install-welcome-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-page {
        align-items: flex-start;
        padding: 0.75rem;
    }

    .auth-shell {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .auth-brand {
        min-height: 220px;
        padding: 1.4rem;
    }

    .auth-brand-copy {
        padding-block: 1.5rem 0;
    }

    .auth-brand h1 {
        font-size: 1.7rem;
    }

    .auth-brand-copy > p:last-child,
    .auth-brand-foot {
        display: none;
    }

    .auth-form-panel {
        padding: 1.5rem;
    }

    .auth-form-content h2 {
        font-size: 1.5rem;
    }

    .navbar .container-fluid {
        align-items: flex-start;
    }

    .navbar .d-flex {
        flex-wrap: wrap;
    }

    main.container,
    main.container-fluid {
        padding-inline: 1rem !important;
        padding-top: 1.4rem !important;
    }

    h1 {
        font-size: 1.55rem;
    }

    .table > :not(caption) > * > * {
        padding: 0.62rem;
    }
}

@media print {
    body {
        background: #fff;
        color: #000;
        font-family: Manrope, sans-serif;
    }

    .app-sidebar,
    .app-mobile-bar,
    .app-sidebar-backdrop {
        display: none !important;
    }

    .app-breadcrumbs {
        display: none !important;
    }

    body > .app-sidebar ~ main {
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-sidebar {
        transition: none;
    }
}