@font-face {
    font-family: "Ionicons";
    src: url("../fonts/Ionicons.ttf") format("truetype");
    font-display: block;
    font-style: normal;
    font-weight: normal;
}

:root {
    --app-navy: #1b263b;
    --app-navy-light: #223764;
    --app-blue: #35aaff;
    --app-blue-dark: #168bd8;
    --app-orange: #fca311;
    --app-surface: #f5f5f5;
    --app-card: #fff;
    --app-border: #e2e8f0;
    --app-text: #212121;
    --app-muted: #64748b;
    --app-success: #43a047;
    --app-danger: #dc2626;
    --app-shadow: 0 0.35rem 1.25rem rgb(15 23 42 / 7%);
}

html {
    overflow-y: scroll;
    scrollbar-gutter: stable;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--app-surface);
    color: var(--app-text);
}

main {
    flex: 1;
}

.app-page {
    padding-block: 2rem;
}

.app-page > .container,
.app-page > .container-fluid {
    width: min(calc(100% - 2rem), 1440px);
    max-width: 1440px;
    margin-inline: auto;
    padding-inline: 0;
}

@media (min-width: 992px) {
    .app-page {
        padding-block: 3rem;
    }
}

.app-navbar {
    position: relative;
    z-index: 1030;
    border-bottom: 3px solid var(--app-orange);
    background-color: var(--app-navy);
    background-image:
        linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px),
        linear-gradient(135deg, var(--app-navy-light), var(--app-navy));
    background-position: center;
    background-size: 38px 38px, 38px 38px, auto;
    box-shadow: 0 0.2rem 1rem rgb(15 23 42 / 16%);
}

.app-navbar .nav-link {
    border-radius: 0.5rem;
    white-space: nowrap;
}

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

.app-navbar .nav-link.active {
    background: rgb(53 170 255 / 18%);
    color: #fff;
    box-shadow: inset 0 -2px 0 var(--app-orange);
}

.app-navbar .navbar-toggler {
    border-color: rgb(255 255 255 / 28%);
}

.app-navbar .dropdown-menu {
    z-index: 1040;
    border: 1px solid var(--app-border);
    border-radius: 0.85rem;
    box-shadow: var(--app-shadow);
}

.app-navbar .dropdown-item {
    padding-block: 0.55rem;
}

.app-plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.38rem 0.7rem;
    border: 1px solid rgb(251 191 36 / 55%);
    border-radius: 999px;
    background: linear-gradient(135deg, rgb(251 191 36 / 18%), rgb(245 158 11 / 8%));
    color: #fde68a;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.app-plan-badge:hover,
.app-plan-badge:focus-visible {
    border-color: #fcd34d;
    background: rgb(251 191 36 / 22%);
    color: #fef3c7;
}

.app-plan-dropdown {
    color: #a16207;
    font-weight: 700;
}

.app-plan-dropdown:hover,
.app-plan-dropdown:focus {
    color: #854d0e;
}

.app-plan-stars {
    color: #facc15;
    letter-spacing: 0.08em;
    text-shadow: 0 0 0.45rem rgb(250 204 21 / 35%);
}

.app-logo-image {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
}

.app-navbar-project-brand {
    min-width: 0;
}

.app-navbar-logo-link {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
}

.app-navbar-brand-label {
    display: block;
    overflow: hidden;
    max-width: 14rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.card {
    border-color: var(--app-border);
    border-radius: 0.85rem;
}

.shadow-sm {
    box-shadow: var(--app-shadow) !important;
}

.btn-primary {
    --bs-btn-bg: var(--app-blue);
    --bs-btn-border-color: var(--app-blue);
    --bs-btn-hover-bg: var(--app-blue-dark);
    --bs-btn-hover-border-color: var(--app-blue-dark);
    --bs-btn-active-bg: var(--app-blue-dark);
    --bs-btn-active-border-color: var(--app-blue-dark);
    --bs-btn-disabled-bg: var(--app-blue);
    --bs-btn-disabled-border-color: var(--app-blue);
}

.btn {
    border-radius: 0.55rem;
}

.app-admin-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
}

.app-admin-period {
    width: min(100%, 13rem);
}

.app-admin-metrics > .col-xl {
    min-width: 0;
}

.app-admin-metric {
    padding: 1.15rem;
    border: 1px solid var(--app-border);
    border-top: 4px solid var(--app-blue);
    border-radius: 0.85rem;
    background: #fff;
    box-shadow: var(--app-shadow);
}

.app-admin-metric > span,
.app-admin-metric > small {
    display: block;
    color: var(--app-muted);
}

.app-admin-metric > span {
    min-height: 2.5rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.app-admin-metric > strong {
    display: block;
    margin-block: 0.35rem;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1;
}

.app-admin-metric > small {
    font-size: 0.72rem;
}

.app-admin-chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    color: var(--app-muted);
    font-size: 0.78rem;
}

.app-admin-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.app-admin-chart-legend i {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 0.2rem;
}

.app-admin-chart-legend .is-registration,
.app-admin-day-bars .is-registration {
    background: var(--app-blue);
}

.app-admin-chart-legend .is-access,
.app-admin-day-bars .is-access {
    background: var(--app-success);
}

.app-admin-chart-legend .is-login,
.app-admin-day-bars .is-login {
    background: #7c3aed;
}

.app-admin-daily-chart {
    height: 18rem;
    display: flex;
    align-items: stretch;
    gap: clamp(0.2rem, 0.8vw, 0.65rem);
    overflow-x: auto;
    padding-top: 0.75rem;
    border-bottom: 1px solid var(--app-border);
}

.app-admin-day {
    min-width: 4.4rem;
    display: flex;
    flex: 1 0 4.4rem;
    flex-direction: column;
    justify-content: end;
    text-align: center;
}

.app-admin-day-bars {
    height: calc(100% - 3.7rem);
    display: flex;
    align-items: end;
    justify-content: center;
    gap: 2px;
}

.app-admin-day-bars span {
    width: min(30%, 0.85rem);
    min-height: 2px;
    border-radius: 0.2rem 0.2rem 0 0;
}

.app-admin-day-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(1.25rem, auto));
    justify-content: center;
    gap: 0.25rem;
    margin-top: 0.3rem;
}

.app-admin-day-values strong {
    min-width: 1.25rem;
    padding: 0.16rem 0.25rem;
    border-radius: 0.25rem;
    font-size: 0.5rem;
    line-height: 1.2;
    text-align: center;
}

.app-admin-day-values .is-registration {
    background: rgb(53 170 255 / 14%);
    color: var(--app-blue-dark);
}

.app-admin-day-values .is-access {
    background: rgb(67 160 71 / 14%);
    color: #2e7d32;
}

.app-admin-day-values .is-login {
    background: rgb(124 58 237 / 14%);
    color: #6d28d9;
}

.app-admin-day small {
    margin-top: 0.35rem;
    color: var(--app-muted);
    font-size: 0.62rem;
    white-space: nowrap;
    transform: none;
}

.app-admin-plan-list {
    display: grid;
    gap: 1rem;
}

.app-admin-plan-list span,
.app-admin-without-plan span {
    color: var(--app-muted);
    font-size: 0.9rem;
}

.app-admin-plan-track {
    height: 0.55rem;
    overflow: hidden;
    margin-top: 0.35rem;
    border-radius: 999px;
    background: #e5e7eb;
}

.app-admin-plan-track span {
    display: block;
    min-width: 2px;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--app-blue), var(--app-blue-dark));
}

.app-admin-without-plan {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--app-border);
}

.app-admin-users-card {
    overflow: hidden;
}

.app-admin-users-card th {
    color: var(--app-muted);
    font-size: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.app-admin-users-card th,
.app-admin-users-card td {
    padding-inline: 1.5rem;
}

.app-admin-user-statistics-link {
    display: inline;
    padding: 0;
    border: 0;
    color: var(--app-blue-dark);
    font: inherit;
    line-height: inherit;
    text-align: inherit;
    vertical-align: baseline;
}

.app-admin-user-statistics-link:hover,
.app-admin-user-statistics-link:focus-visible {
    color: var(--app-blue);
}

.app-admin-user-account {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.app-admin-user-statistic {
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-radius: .75rem;
    background: #f8fafc;
}

.app-admin-user-statistic span,
.app-admin-user-statistic strong,
.app-admin-user-statistic small {
    display: block;
}

.app-admin-user-statistic span,
.app-admin-user-statistic small {
    color: var(--app-muted);
}

.app-admin-user-statistic span {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.app-admin-user-statistic strong {
    margin-block: .2rem;
    color: var(--app-blue-dark);
    font-size: 1.35rem;
}

.app-admin-user-statistic small {
    font-size: .75rem;
}

.app-admin-statistics-projects th {
    color: var(--app-muted);
    font-size: .72rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.app-admin-never-heading {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1.5rem;
}

.app-admin-ranking-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1.5rem;
}

.app-admin-table-tabs {
    overflow-x: auto;
    scrollbar-width: thin;
}

.app-admin-table-tabs .nav-tabs {
    min-width: max-content;
    border-bottom-color: var(--app-border);
}

.app-admin-table-tabs .nav-link {
    color: var(--app-muted);
    font-weight: 700;
    white-space: nowrap;
}

.app-admin-table-tabs .nav-link.active {
    color: var(--app-blue-dark);
}

.app-admin-ranking-filter {
    width: min(100%, 11rem);
}

.app-admin-ranking-filters {
    display: flex;
    width: min(100%, 22rem);
    gap: .75rem;
}

.app-admin-ranking-filters > div {
    flex: 1 1 0;
}

.app-admin-dashboard-filters {
    display: flex;
    justify-content: flex-end;
    gap: .75rem;
}

.app-admin-dashboard-filters > div {
    width: min(100%, 11rem);
}

.app-admin-region-highlight {
    display: flex;
    flex-direction: column;
    padding: 1rem 1.25rem;
    border: 1px solid rgb(53 170 255 / 20%);
    border-left: 4px solid var(--app-blue);
    border-radius: .8rem;
    background: rgb(53 170 255 / 7%);
}

.app-admin-region-highlight.is-plan { border-left-color: var(--app-success); }
.app-admin-region-highlight span { color: var(--app-muted); font-size: .8rem; font-weight: 700; }
.app-admin-region-highlight strong { margin: .2rem 0; color: var(--app-blue-dark); font-size: 1.5rem; }
.app-admin-region-highlight small { color: var(--app-muted); }
.app-admin-region-list { display: grid; gap: .85rem; }
.app-admin-region-row { display: grid; grid-template-columns: 7.5rem minmax(6rem, 1fr) 6rem 7rem; align-items: center; gap: 1rem; }
.app-admin-region-row > span,
.app-admin-region-row > small { text-align: right; }
.app-admin-region-row > small { color: var(--app-muted); }
.app-admin-region-track { height: .65rem; overflow: hidden; border-radius: 999px; background: #e9eef5; }
.app-admin-region-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--app-blue), var(--app-blue-dark)); }

.app-admin-marketplace-card code {
    color: inherit;
    font-weight: 700;
}

.app-admin-payment-user {
    border-color: var(--app-border) !important;
    background: #f8fafc;
}

.app-admin-access-overview {
    padding: 1.5rem;
    border: 1px solid rgb(53 170 255 / 18%);
    border-radius: 1rem;
    background: linear-gradient(135deg, rgb(53 170 255 / 8%), rgb(255 255 255 / 96%) 55%);
}

.app-admin-access-metric {
    height: 100%;
    padding: 1rem;
    border: 1px solid var(--app-border);
    border-left: 4px solid var(--app-blue);
    border-radius: .75rem;
    background: #fff;
}

.app-admin-access-metric.is-active {
    border-left-color: var(--app-success);
}

.app-admin-access-metric.is-trial {
    border-left-color: #7c3aed;
}

.app-admin-access-metric.is-scheduled {
    border-left-color: var(--app-blue);
}

.app-admin-access-metric.is-ending {
    border-left-color: #f59e0b;
}

.app-admin-access-metric span,
.app-admin-access-metric strong {
    display: block;
}

.app-admin-access-metric span {
    color: var(--app-muted);
    font-size: .78rem;
    font-weight: 700;
}

.app-admin-access-metric strong {
    margin-top: .25rem;
    font-size: 1.7rem;
    line-height: 1;
}

.app-admin-accesses-card td small[title] {
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-admin-rank {
    display: inline-grid;
    min-width: 2.5rem;
    min-height: 2rem;
    place-items: center;
    border-radius: 999px;
    background: rgb(53 170 255 / 12%);
    color: var(--app-blue-dark);
    font-weight: 800;
}

.app-admin-never-totals {
    display: flex;
    flex: 0 0 auto;
    gap: 0.75rem;
}

.app-admin-never-totals span {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--app-border);
    border-radius: 0.6rem;
    background: #f8fafc;
    color: var(--app-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

@media (max-width: 767.98px) {
    .app-admin-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .app-admin-period {
        width: 100%;
    }

    .app-admin-never-heading,
    .app-admin-never-totals,
    .app-admin-ranking-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .app-admin-ranking-filter {
        width: 100%;
    }

    .app-admin-ranking-filters {
        gap: .75rem;
    }

    .app-admin-dashboard-filters {
        justify-content: stretch;
    }

    .app-admin-dashboard-filters > div {
        flex: 1 1 0;
    }

    .app-admin-daily-chart {
        height: 15rem;
    }

    .app-admin-region-row { grid-template-columns: 1fr auto; gap: .35rem .75rem; }
    .app-admin-region-track { grid-column: 1 / -1; grid-row: 2; }
}

.form-control:focus,
.form-select:focus {
    border-color: var(--app-blue);
    box-shadow: 0 0 0 0.2rem rgb(53 170 255 / 18%);
}

.app-work-context-navigation {
    position: sticky;
    top: 0;
    z-index: 1020;
    border-bottom: 1px solid var(--app-border);
    background: rgb(255 255 255 / 96%);
    box-shadow: 0 0.25rem 0.9rem rgb(15 23 42 / 8%);
    backdrop-filter: blur(0.75rem);
}

.app-context-navigation {
    display: grid;
    overflow: hidden;
    grid-template-columns: repeat(var(--app-context-columns), minmax(0, 1fr));
    border-bottom: 1px solid var(--app-border);
    background: #fff;
}

.app-context-navigation-item {
    position: relative;
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 3.75rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.4rem 0.15rem 0.5rem;
    border: 0;
    background: transparent;
    color: #5e5e5e;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    transition: color 160ms ease;
}

.app-context-navigation-item::after {
    position: absolute;
    right: 18%;
    bottom: 0;
    left: 18%;
    height: 3px;
    border-radius: 999px 999px 0 0;
    background: transparent;
    content: "";
}

.app-context-navigation-item:hover,
.app-context-navigation-item:focus-visible,
.app-context-navigation-item.active {
    color: var(--app-blue-dark);
}

.app-context-navigation-item:focus-visible {
    z-index: 1;
    outline: 3px solid rgba(53, 170, 255, 0.3);
    outline-offset: -3px;
}

.app-context-navigation-item.active::after {
    background: var(--app-orange);
}

.app-context-navigation-item svg {
    width: 1.4rem;
    height: 1.4rem;
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.app-context-navigation-item .app-ionicon {
    font-size: 1.4rem;
}

@media (min-width: 992px) {
    .app-context-navigation-item {
        min-height: 4rem;
        gap: 0.25rem;
        padding: 0.5rem 1rem 0.65rem;
        font-size: 0.78rem;
    }

    .app-context-navigation-item svg {
        width: 1.45rem;
        height: 1.45rem;
    }

    .app-context-navigation-item .app-ionicon {
        font-size: 1.45rem;
    }
}

footer {
    background: #fff;
    color: var(--app-muted);
}

@media (max-width: 575.98px) {
    .app-navbar-brand-label {
        max-width: 100%;
        font-size: 1rem;
    }

    .app-page {
        padding-block: 1.25rem;
    }

    .app-page > .container,
    .app-page > .container-fluid {
        width: min(calc(100% - 1.25rem), 1440px);
    }

    .app-logo-image {
        width: 3rem;
        height: 3rem;
    }
}

@media (max-width: 991.98px) {
    .app-work-context-navigation > .container {
        padding-inline: 0;
    }

    .app-navbar .navbar-toggler {
        order: 1;
        margin-right: 0.65rem;
        margin-left: 0;
    }

    .app-navbar .app-navbar-project-brand {
        order: 2;
        flex: 1 1 0;
        min-width: 0;
        margin-right: 0.35rem;
    }

    .app-navbar-brand-label {
        max-width: 100%;
    }

    .app-navbar-logo-link {
        order: 3;
        margin-left: 0.35rem;
    }

    .app-navbar .navbar-collapse {
        order: 4;
        flex-basis: 100%;
        margin-top: 0.65rem;
        padding: 0.6rem;
        border: 1px solid rgb(255 255 255 / 12%);
        border-radius: 0.75rem;
        background: rgb(15 23 42 / 24%);
    }

}

.app-summary-page,
.app-entries-page,
.app-gallery-page,
.app-rdo-list-page {
    padding-top: 1rem;
}

@media (min-width: 992px) {
    .app-summary-page,
    .app-entries-page,
    .app-gallery-page,
    .app-rdo-list-page {
        padding-top: 1.5rem;
    }
}

.app-hero {
    background:
        radial-gradient(circle at 85% 15%, rgb(37 99 235 / 12%), transparent 30%),
        var(--app-surface);
}

.app-check-list {
    display: grid;
    gap: 0.8rem;
}

.app-check-list li {
    position: relative;
    padding-left: 1.75rem;
}

.app-check-list li::before {
    position: absolute;
    left: 0;
    content: "✓";
    color: #15803d;
    font-weight: 700;
}

.app-step {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: var(--app-blue);
    color: white;
    font-weight: 700;
}

code {
    color: #1d4ed8;
}

.app-pre-line {
    white-space: pre-line;
}

.app-metric {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    padding: 1.25rem;
    border: 1px solid #dbe3ef;
    border-radius: 0.75rem;
    background: white;
}

.app-metric span {
    color: #64748b;
    font-size: 0.875rem;
}

.app-metric strong {
    font-size: 1.35rem;
}

.app-metric-success {
    border-left: 0.3rem solid #16a34a;
}

.app-metric-danger {
    border-left: 0.3rem solid #dc2626;
}

.app-metric-primary {
    border-left: 0.3rem solid var(--app-blue);
}

.app-summary-hero {
    background:
        radial-gradient(circle at 90% 10%, rgb(53 170 255 / 8%), transparent 28%),
        var(--app-card);
}

.app-summary-hero-body {
    padding: 2rem;
}

.app-summary-hero-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.app-summary-hero-title {
    min-width: 0;
}

.app-summary-hero-title h2 {
    overflow-wrap: anywhere;
}

.app-summary-edit-project {
    min-width: 7rem;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .app-summary-hero-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
    }

    .app-summary-edit-project {
        width: 100%;
    }
}

.app-summary-invested {
    display: flex;
    max-width: 34rem;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-top: 1px solid var(--app-border);
    border-bottom: 1px solid var(--app-border);
}

.app-summary-invested span {
    color: var(--app-muted);
    font-size: 0.8rem;
    font-weight: 600;
}

.app-summary-invested strong {
    color: #e56f01;
    font-size: clamp(1.3rem, 2vw, 1.8rem);
    line-height: 1.1;
    text-align: right;
}

.app-summary-metrics .app-metric {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.85rem;
    padding: 1rem;
    border: 0;
    border-top: 3px solid #94a3b8;
    border-radius: 0.85rem;
    background: var(--app-card);
    box-shadow: var(--app-shadow);
}

.app-summary-metrics .app-metric-primary {
    border-top-color: var(--app-blue);
}

.app-summary-metrics .app-metric-success {
    border-top-color: var(--app-success);
}

.app-summary-metrics .app-metric-danger {
    border-top-color: var(--app-danger);
}

.app-summary-metrics .app-metric > div {
    min-width: 0;
}

.app-summary-metrics .app-metric strong {
    display: block;
    overflow: hidden;
    font-size: clamp(1rem, 1.7vw, 1.28rem);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-metric-icon {
    display: grid;
    width: 2.4rem;
    height: 2.4rem;
    place-items: center;
    border-radius: 0.75rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 1rem;
    font-weight: 900;
}

.app-metric-primary .app-metric-icon {
    background: #e0f2fe;
    color: #0369a1;
}

.app-metric-success .app-metric-icon {
    background: #dcfce7;
    color: #15803d;
}

.app-metric-danger .app-metric-icon {
    background: #fee2e2;
    color: #b91c1c;
}

.app-summary-pulse {
    overflow: hidden;
}

.app-summary-pulse::before {
    display: block;
    height: 4px;
    background: linear-gradient(90deg, var(--app-blue), var(--app-orange));
    content: "";
}

.app-summary-pulse-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.app-summary-pulse-heading > strong {
    color: var(--app-blue-dark);
    font-size: 1.4rem;
}

.app-summary-status-bars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.app-summary-status-row > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
    color: var(--app-muted);
    font-size: 0.78rem;
}

.app-summary-status-row > div:first-child strong {
    color: var(--app-text);
}

.app-summary-status-track {
    height: 0.65rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e0e0e0;
}

.app-summary-status-fill {
    display: block;
    min-width: 0.15rem;
    height: 100%;
    border-radius: inherit;
}

.app-summary-status-progress,
.app-summary-status-progress.is-danger {
    background: #1e88e5;
}

.app-summary-status-paid {
    background: #43a047;
}

.app-summary-status-pending {
    background: #fbc02d;
}

.app-summary-financial-cards {
    --bs-gutter-y: 0.75rem;
}

.app-summary-mobile-card {
    display: block;
    overflow: hidden;
    min-height: 100%;
    padding: 1rem;
    border: 1px solid #d9d9d9;
    border-radius: 0.35rem;
    background: #fff;
    box-shadow: 0 0.15rem 0.45rem rgb(15 23 42 / 10%);
}

.app-summary-investment-card {
    color: inherit;
    text-decoration: none;
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-summary-investment-card:hover,
.app-summary-investment-card:focus-visible {
    color: inherit;
    transform: translateY(-0.1rem);
    box-shadow: 0 0.4rem 1rem rgb(15 23 42 / 15%);
}

.app-summary-investment-card:focus-visible {
    outline: 3px solid rgb(30 136 229 / 35%);
    outline-offset: 2px;
}

.app-summary-investment-card > span {
    display: block;
    color: #777;
    font-size: 0.875rem;
    font-weight: 700;
}

.app-summary-investment-card > strong {
    display: block;
    padding-bottom: 0.65rem;
    color: #212121;
    font-size: clamp(1.65rem, 3vw, 2rem);
    line-height: 1.1;
    text-align: right;
}

.app-summary-investment-card > span:nth-of-type(2) {
    padding-top: 0.65rem;
    border-top: 1px solid #ddd;
}

.app-summary-investment-card > strong.app-summary-secondary-value {
    padding-bottom: 0;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.app-summary-financial-card {
    position: relative;
    padding-bottom: 2.85rem;
}

.app-summary-financial-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.42rem;
}

.app-summary-financial-list dt {
    color: #777;
    font-size: 0.875rem;
    font-weight: 400;
}

.app-summary-financial-list dd {
    margin: 0;
    color: #222;
    font-size: 0.875rem;
    text-align: right;
    white-space: nowrap;
}

.app-summary-estimated-row dd strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 500;
}

.app-summary-estimated-row dd small {
    display: block;
    color: #444;
    font-size: 0.68rem;
}

.app-summary-financial-row {
    border-top: 1px solid #ddd;
}

.app-summary-balance-row .is-positive {
    color: #0000ff;
}

.app-summary-balance-row .is-negative,
.app-summary-financial-row.is-pending dt,
.app-summary-financial-row.is-pending dd {
    color: #f00;
}

.app-summary-financial-row.is-paid dt,
.app-summary-financial-row.is-paid dd {
    color: #080;
}

.app-summary-financial-edit {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    color: #555;
    font-size: 0.75rem;
    text-decoration: none;
}

.app-summary-financial-edit:hover {
    color: var(--app-blue-dark);
    text-decoration: underline;
}

.app-summary-mobile-progress::before {
    display: none;
}

.app-summary-mobile-progress .app-summary-status-bars {
    grid-template-columns: 1fr;
    gap: 0.45rem;
}

.app-summary-mobile-progress .app-summary-status-row {
    position: relative;
}

.app-summary-mobile-progress .app-summary-status-row > div:first-child {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    pointer-events: none;
    text-shadow: 0 1px 2px rgb(15 23 42 / 55%);
}

.app-summary-mobile-progress .app-summary-status-row > div:first-child strong {
    color: inherit;
}

.app-summary-mobile-progress .app-summary-status-track {
    height: 1.75rem;
    border-radius: 0.25rem;
    background: #e0e0e0;
}

.app-summary-mobile-progress .app-summary-status-fill {
    min-width: 0;
}

@media (max-width: 767.98px) {
    .app-summary-status-bars {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
}

@media (max-width: 575.98px) {
    .app-summary-hero-body {
        padding: 1.1rem;
    }

    .app-summary-invested {
        display: block;
    }

    .app-summary-invested strong {
        display: block;
        margin-top: 0.2rem;
        text-align: left;
    }

    .app-summary-metrics {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.65rem;
    }

    .app-summary-metrics .app-metric {
        display: block;
        padding: 0.8rem;
    }

    .app-summary-metrics .app-metric-icon {
        width: 1.9rem;
        height: 1.9rem;
        margin-bottom: 0.55rem;
        border-radius: 0.55rem;
        font-size: 0.8rem;
    }

    .app-summary-metrics .app-metric span:not(.app-metric-icon) {
        font-size: 0.7rem;
    }

    .app-summary-metrics .app-metric strong {
        font-size: clamp(0.82rem, 4vw, 1rem);
    }

    .app-summary-pulse .card-body {
        padding: 1rem !important;
    }
}

.app-progress {
    height: 0.75rem;
}

.app-project-card {
    background: white;
}

.app-projects-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
}

.app-page-eyebrow {
    display: inline-block;
    margin-bottom: 0.3rem;
    color: var(--app-blue-dark);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-projects-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.65rem;
}

.app-project-count {
    color: var(--app-muted);
    font-size: 0.82rem;
}

.app-project-count strong {
    color: var(--app-text);
}

.app-projects-active-page {
    padding-top: 0;
}

.app-project-tab-empty {
    display: flex;
    min-height: 12rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 2rem;
    border: 1px dashed var(--app-border);
    border-radius: 0.9rem;
    background: rgb(255 255 255 / 65%);
    color: var(--app-muted);
}

.app-project-tab-empty strong {
    color: var(--app-text);
}

.app-new-project-button {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 700;
}

.app-new-project-button > span {
    display: grid;
    width: 1.25rem;
    height: 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: rgb(255 255 255 / 18%);
    font-size: 1.15rem;
    line-height: 1;
}

.app-project-group-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--app-border);
}

.app-project-group-heading > span {
    display: grid;
    min-width: 2rem;
    height: 2rem;
    place-items: center;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 800;
}

.app-work-card {
    background: var(--app-card);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.app-work-card:hover,
.app-work-card:focus-within {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.75rem 2rem rgb(15 23 42 / 13%) !important;
}

.app-work-card-link {
    display: flex;
    height: 100%;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.app-work-card-link:focus-visible {
    border-radius: inherit;
    outline: 3px solid rgb(53 170 255 / 40%);
    outline-offset: -3px;
}

.app-work-card-media {
    position: relative;
    overflow: hidden;
}

.app-work-card-image {
    display: block;
    width: 100%;
    height: 13rem;
    object-fit: cover;
    background: #dbeafe;
    transition: transform 180ms ease;
}

.app-work-card:hover .app-work-card-image {
    transform: scale(1.025);
}

.app-work-card-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    color: #1e3a8a;
}

.app-work-card-placeholder span {
    font-size: 2rem;
    font-weight: 800;
}

.app-work-card-progress {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.6rem;
    border: 1px solid rgb(255 255 255 / 40%);
    border-radius: 999px;
    background: rgb(15 23 42 / 72%);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 800;
    box-shadow: 0 0.2rem 0.6rem rgb(0 0 0 / 16%);
    backdrop-filter: blur(0.35rem);
}

.app-work-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.app-project-role-badge {
    border: 1px solid #bae6fd;
    background: #e0f2fe;
    color: #075985;
}

.app-project-owner-email-badge {
    max-width: 100%;
    overflow: hidden;
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #9a3412;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-work-card-title {
    overflow: hidden;
    margin-bottom: 1rem;
    color: var(--app-text);
    font-size: 1.25rem;
    font-weight: 750;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-work-card-permissions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin: -0.25rem 0 1rem;
}

.app-work-card-permission {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    align-items: center;
    justify-content: center;
}

.app-work-card-permission.is-allowed {
    color: #e56f01;
}

.app-work-card-permission.is-denied {
    color: #a7adb5;
}

.app-ionicon {
    font-family: "Ionicons";
    display: inline-block;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    speak: never;
}

.app-work-card-permission .app-ionicon {
    font-size: 1.35rem;
}

.app-share-permissions .form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.app-share-permission-icon {
    color: inherit;
    font-size: 1.2rem;
}

.app-work-card-invested {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid var(--app-border);
}

.app-work-card-invested span,
.app-work-card-facts dt,
.app-work-card-progress-track span {
    color: var(--app-muted);
    font-size: 0.78rem;
    font-weight: 500;
}

.app-work-card-invested strong {
    color: #e56f01;
    font-size: 1.05rem;
    text-align: right;
}

.app-work-card-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.app-work-card-facts > div {
    min-width: 0;
}

.app-work-card-facts dt {
    margin-bottom: 0.1rem;
}

.app-work-card-facts dd {
    overflow: hidden;
    margin: 0;
    font-size: 0.9rem;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-work-card-progress-track {
    margin-top: auto;
}

.app-work-card-progress-track .progress {
    height: 0.45rem;
    background: #e5e7eb;
}

.app-work-card-progress-track .progress-bar {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--app-blue), var(--app-blue-dark));
}

.app-work-card-open {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.2rem;
    margin-top: 1rem;
    color: var(--app-blue-dark);
    font-size: 0.82rem;
    font-weight: 800;
}

.app-work-card-open svg {
    width: 1.1rem;
    height: 1.1rem;
    fill: none;
    stroke: currentcolor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.app-work-card-open .app-ionicon {
    font-size: 1.1rem;
}

.app-project-empty-icon {
    display: inline-grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--app-blue), var(--app-navy-light));
    color: #fff;
    font-weight: 800;
    box-shadow: var(--app-shadow);
}

@media (max-width: 767.98px) {
    .app-projects-heading {
        align-items: stretch;
        flex-direction: column;
        gap: 1rem;
    }

    .app-projects-actions {
        align-items: stretch;
    }

    .app-project-count {
        order: 2;
    }
}

@media (max-width: 575.98px) {
    .app-context-navigation-projects {
        margin-right: -0.75rem;
        margin-left: -0.75rem;
    }

    .app-project-group.mt-5 {
        margin-top: 2rem !important;
    }

    .app-project-group-heading h2 {
        font-size: 1.25rem;
    }

    .app-project-group-heading p {
        font-size: 0.82rem;
    }

    .app-work-card-link {
        display: grid;
        grid-template-columns: 7.5rem minmax(0, 1fr);
    }

    .app-work-card-media {
        min-height: 13.5rem;
    }

    .app-work-card-image {
        height: 100%;
        min-height: 13.5rem;
    }

    .app-work-card-progress {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.45rem;
        font-size: 0.7rem;
    }

    .app-work-card-body {
        min-width: 0;
        padding: 0.8rem;
    }

    .app-work-card-body .badge {
        max-width: 100%;
        overflow: hidden;
        font-size: 0.62rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-work-card-title {
        margin-bottom: 0.65rem;
        font-size: 1rem;
    }

    .app-work-card-invested {
        display: block;
        margin-bottom: 0.5rem;
        padding-bottom: 0.5rem;
    }

    .app-work-card-invested span {
        display: block;
    }

    .app-work-card-invested strong {
        display: block;
        overflow: hidden;
        font-size: 0.92rem;
        text-align: left;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-work-card-facts {
        gap: 0.35rem;
        margin-bottom: 0.35rem;
    }

    .app-work-card-facts dt {
        font-size: 0.66rem;
    }

    .app-work-card-facts dd {
        font-size: 0.78rem;
    }

    .app-work-card-progress-track {
        display: none;
    }

    .app-work-card-open {
        margin-top: auto;
        font-size: 0.72rem;
    }
}

.app-project-image-button {
    display: block;
    width: 100%;
    height: clamp(18rem, 30vw, 24rem);
    min-height: 0;
    padding: 0;
    border: 0;
    background: #dbeafe;
    cursor: zoom-in;
}

.app-project-image-button:disabled {
    opacity: 1;
    cursor: default;
}

.app-project-image {
    display: block;
    width: 100%;
    height: clamp(18rem, 30vw, 24rem);
    min-height: 0;
    object-fit: cover;
    object-position: center;
}

.app-project-image-fallback {
    width: 100%;
    height: clamp(18rem, 30vw, 24rem);
    min-height: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background:
        linear-gradient(145deg, rgb(37 99 235 / 16%), transparent),
        #e2e8f0;
    color: #475569;
}

.app-project-image-fallback span {
    display: grid;
    width: 4rem;
    height: 4rem;
    place-items: center;
    border-radius: 1rem;
    background: var(--app-navy);
    color: white;
    font-weight: 800;
}

.app-progress-ring {
    --progress: 0%;
    display: grid;
    width: 10rem;
    height: 10rem;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(var(--app-blue) var(--progress), #e2e8f0 0);
}

.app-progress-ring > div {
    display: flex;
    width: 7.5rem;
    height: 7.5rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    box-shadow: inset 0 0 0 1px #e2e8f0;
}

.app-progress-ring strong {
    font-size: 1.45rem;
}

.app-progress-ring span {
    color: #64748b;
    font-size: 0.8rem;
}

.app-progress-ring-danger {
    background: conic-gradient(#dc2626 var(--progress), #fee2e2 0);
}

.app-summary-overview {
    display: grid;
    grid-template-columns: minmax(15rem, 1fr) auto;
    align-items: center;
    gap: 2rem;
}

.app-project-facts {
    display: grid;
    gap: 0;
    max-width: 34rem;
}

.app-project-facts > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 0.35rem;
    border-bottom: 1px solid #eef2f7;
}

.app-project-facts > div:last-child {
    border-bottom: 0;
}

.app-project-facts dt {
    color: #64748b;
    font-weight: 400;
}

.app-project-facts dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.app-summary-progress {
    display: flex;
    justify-content: center;
}

.app-summary-hero .app-summary-progress {
    display: none;
}

.app-summary-hero .app-summary-invested {
    display: none;
}

.app-summary-hero .app-summary-overview {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 767.98px) {
    .app-summary-overview {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.app-composition {
    height: 1.25rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e0e0e0;
}

.app-composition .progress {
    height: 1.25rem;
    border-radius: 0;
}

.app-composition-paid {
    background: #43a047;
}

.app-composition-pending {
    background: #fbc02d;
}

.app-legend {
    display: inline-block;
    width: 0.65rem;
    height: 0.65rem;
    margin-right: 0.25rem;
    border-radius: 50%;
}

.app-legend-paid {
    background: #43a047;
}

.app-legend-pending {
    background: #fbc02d;
}

.app-legend-other {
    background: #6c757d;
}

.app-insight-list dt,
.app-insight-list dd {
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid #e2e8f0;
}

.app-insight-list dt {
    color: #64748b;
    font-weight: 400;
}

.app-insight-list dd {
    margin-bottom: 0;
    font-weight: 600;
}

.app-bar-chart {
    display: grid;
    gap: 0.8rem;
}

.app-bar-row {
    display: grid;
    grid-template-columns: 5rem minmax(8rem, 1fr) 7rem;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}

.app-bar-row strong {
    text-align: right;
}

.app-bar-track {
    height: 0.8rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.app-bar-fill {
    min-width: 0.15rem;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa, var(--app-blue));
}

.app-year-chart {
    min-height: 14rem;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.75rem;
}

.app-year-column {
    min-width: 3.5rem;
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.app-year-column strong {
    font-size: 0.7rem;
    white-space: nowrap;
}

.app-year-track {
    width: 2.25rem;
    height: 9rem;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 0.4rem 0.4rem 0 0;
    background: #e2e8f0;
}

.app-year-fill {
    width: 100%;
    min-height: 0.15rem;
    background: linear-gradient(#60a5fa, var(--app-blue));
}

.app-summary-metrics .app-metric small {
    display: block;
    margin-top: 0.2rem;
    color: var(--app-muted);
    font-size: 0.7rem;
    line-height: 1.25;
}

.app-summary-breakdown-card {
    overflow: hidden;
    border: 1px solid #d9d9d9 !important;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 0.45rem rgb(15 23 42 / 10%) !important;
}

.app-summary-breakdown-heading,
.app-summary-correction-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.app-summary-breakdown-heading {
    align-items: center;
    margin: -1.5rem -1.5rem 1rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #ddd;
    background: #eee;
}

.app-summary-breakdown-heading h2 {
    color: #f57c00;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.app-summary-breakdown-heading p {
    display: none;
}

.app-summary-breakdown-heading .btn {
    padding: 0;
    border: 0;
    color: #555;
    font-size: 0.75rem;
    font-weight: 700;
}

.app-summary-breakdown-list {
    display: grid;
    gap: 0.6rem;
}

.app-summary-breakdown-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.4rem 0.75rem;
    padding: 0.45rem;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
    background: #fff;
}

.app-summary-breakdown-name {
    min-width: 0;
}

.app-summary-breakdown-name > a,
.app-summary-breakdown-name > span {
    display: block;
    overflow: hidden;
    color: #f57c00;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-summary-breakdown-name > a:hover {
    color: var(--app-blue-dark);
    text-decoration: underline;
}

.app-summary-breakdown-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 0.6rem;
    margin-top: 0.35rem;
    padding-top: 0.35rem;
    border-top: 1px solid #ddd;
    color: #666;
    font-size: 0.73rem;
}

.app-summary-breakdown-row > strong {
    align-self: start;
    font-size: 0.82rem;
    white-space: nowrap;
}

.app-summary-breakdown-track {
    grid-column: 1 / -1;
    height: 0.75rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
}

.app-summary-breakdown-track > span {
    display: block;
    min-width: 0.15rem;
    height: 100%;
    border-radius: inherit;
    background: rgb(0 143 251 / 85%);
}

.app-summary-breakdown-category .app-summary-breakdown-track > span {
    background: rgb(0 180 120 / 85%);
}

.app-summary-breakdown-supplier .app-summary-breakdown-track > span {
    background: rgb(119 93 208 / 85%);
}

.app-summary-breakdown-source .app-summary-breakdown-track > span {
    background: #fac898;
}

.app-summary-correction {
    overflow: hidden;
    border: 1px solid #d9d9d9 !important;
    border-radius: 0.35rem;
    box-shadow: 0 0.15rem 0.45rem rgb(15 23 42 / 10%) !important;
}

.app-summary-correction::before {
    display: none;
}

.app-summary-correction-heading > strong {
    color: #222;
    font-size: 1rem;
    text-align: right;
    white-space: nowrap;
}

.app-summary-correction-heading {
    align-items: center;
    margin: -1.5rem -1.5rem 1.25rem;
    padding: 0.65rem 0.8rem;
    border-bottom: 1px solid #ddd;
    background: #eee;
}

.app-summary-correction-heading h2 {
    color: #f57c00;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.app-summary-correction-heading p {
    display: none;
}

.app-summary-correction-list {
    display: grid;
    gap: 0;
}

.app-summary-correction-list > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding-block: 0.55rem;
    border-bottom: 1px solid #e2e8f0;
}

.app-summary-correction-list > div:last-child {
    border-bottom: 0;
    font-weight: 700;
}

.app-summary-correction-list dt {
    color: var(--app-muted);
    font-weight: 400;
}

.app-summary-correction-list dd {
    margin: 0;
    font-weight: 600;
    text-align: right;
    white-space: nowrap;
}

.app-summary-correction-note {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 575.98px) {
    .app-summary-breakdown-heading,
    .app-summary-correction-heading {
        flex-direction: column;
        gap: 0.75rem;
    }

    .app-summary-breakdown-heading .btn {
        width: 100%;
    }

    .app-summary-correction-heading > strong {
        text-align: left;
    }
}

.app-modal-image {
    max-height: 80vh;
    object-fit: contain;
    margin-bottom: 1rem;
}

.app-wide-container {
    max-width: 1680px;
}

.app-entries-heading {
    padding-bottom: 0.25rem;
}

.app-entry-toolbar .btn {
    display: inline-flex;
    min-height: 2.6rem;
    align-items: center;
    justify-content: center;
}

.app-entry-floating-create,
.app-floating-create {
    position: fixed;
    right: max(1.25rem, env(safe-area-inset-right));
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    z-index: 1025;
    display: inline-grid;
    width: 3.75rem;
    height: 3.75rem;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--app-blue);
    color: white;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0.65rem 1.5rem rgba(37, 99, 235, 0.35);
    transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.app-entry-floating-create:hover,
.app-entry-floating-create:focus-visible,
.app-floating-create:hover,
.app-floating-create:focus-visible {
    background: var(--app-blue-dark);
    color: white;
    box-shadow: 0 0.8rem 1.8rem rgba(37, 99, 235, 0.42);
    transform: translateY(-2px);
}

.app-entry-floating-create:focus-visible,
.app-floating-create:focus-visible {
    outline: 3px solid rgba(53, 170, 255, 0.35);
    outline-offset: 3px;
}

.app-entry-floating-create svg,
.app-floating-create svg {
    width: 1.7rem;
    height: 1.7rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 2;
}

.app-entry-floating-create .app-ionicon,
.app-floating-create .app-ionicon {
    font-size: 1.7rem;
}

.app-entry-filters {
    border-top: 3px solid var(--app-blue) !important;
    border-radius: 0.85rem;
}

.app-entry-metrics .app-metric {
    border-radius: 0.8rem;
}

.app-entry-list-card {
    border-radius: 0.9rem;
}

.app-entries-table {
    font-size: 0.875rem;
}

.app-entries-table th {
    padding: 0.85rem 0.75rem;
    border-bottom-width: 1px;
    background: #f8fafc;
    color: #475569;
    font-size: 0.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
}

.app-entries-table td {
    padding: 0.85rem 0.75rem;
}

.app-entries-table tbody tr {
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.app-entries-table tbody tr:hover {
    position: relative;
    z-index: 1;
    box-shadow: inset 4px 0 var(--app-blue);
}

.app-entry-description {
    min-width: 15rem;
    max-width: 28rem;
    white-space: normal;
}

.app-entry-clickable {
    cursor: pointer;
}

.app-entry-clickable:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.35);
    outline-offset: -3px;
}

.app-entries-table .app-entry-pending > * {
    background: #fff8e1;
}

.app-entry-amount {
    color: var(--app-navy);
    font-size: 0.95rem;
}

.app-entry-date-group,
.app-entry-mobile-meta,
.app-entry-mobile-equation,
.app-entry-mobile-payment {
    display: none;
}

@media (max-width: 767.98px) {
    .app-entries-heading {
        margin-bottom: 1.25rem !important;
    }

    .app-entry-toolbar {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .app-entry-toolbar .btn:first-child {
        grid-column: 1 / -1;
    }

    .app-entry-toolbar .btn {
        min-width: 0;
        padding-inline: 0.65rem;
        font-size: 0.82rem;
    }

    .app-entry-output-actions {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app-entry-output-actions .btn {
        min-width: 0;
        padding-inline: 0.55rem;
        font-size: 0.78rem;
    }

    .app-entry-floating-create,
    .app-floating-create {
        right: max(1rem, env(safe-area-inset-right));
        bottom: max(1rem, env(safe-area-inset-bottom));
        width: 3.5rem;
        height: 3.5rem;
    }

    .app-entry-filters .card-body {
        padding: 1rem !important;
    }

    .app-entry-metrics {
        --bs-gutter-x: 0.65rem;
        --bs-gutter-y: 0.65rem;
    }

    .app-entry-metrics .app-metric {
        min-height: 6.25rem;
        padding: 0.9rem;
    }

    .app-entry-metrics .app-metric span {
        font-size: 0.72rem;
    }

    .app-entry-metrics .app-metric strong {
        font-size: 1.05rem;
    }

    .app-entry-list-card {
        overflow: visible !important;
        background: transparent;
        box-shadow: none !important;
    }

    .app-entry-list-card > .card-header {
        padding: 0 0 0.85rem !important;
        background: transparent !important;
    }

    .app-entry-list {
        overflow: hidden;
        border: 1px solid #e2e8f0;
        border-radius: 0.65rem;
        background: white;
    }

    .app-entries-table,
    .app-entries-table tbody {
        display: block;
        width: 100%;
    }

    .app-entries-table thead {
        display: none;
    }

    .app-entries-table tbody {
        display: grid;
        gap: 0.8rem;
    }

    .app-entries-table tbody tr {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem 1rem;
        padding: 1rem;
        border: 1px solid #e2e8f0;
        border-left: 4px solid #22c55e;
        border-radius: 0.85rem;
        background: white;
        box-shadow: 0 0.25rem 0.8rem rgba(15, 23, 42, 0.06);
    }

    .app-entries-table tbody tr.app-entry-pending {
        border-left-color: var(--app-orange);
    }

    .app-entries-table tbody tr:hover {
        box-shadow: 0 0.35rem 1rem rgba(15, 23, 42, 0.1);
        transform: translateY(-1px);
    }

    .app-entries-table td,
    .app-entries-table .app-entry-pending > * {
        display: flex;
        min-width: 0;
        flex-direction: column;
        gap: 0.15rem;
        padding: 0 !important;
        border: 0;
        background: transparent;
        text-align: left !important;
        white-space: normal !important;
    }

    .app-entries-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 0.65rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .app-entry-date {
        order: 1;
        color: var(--app-navy);
        font-weight: 800;
    }

    .app-entry-uid {
        order: 2;
        align-items: flex-end;
    }

    .app-entry-description {
        grid-column: 1 / -1;
        order: 3;
        min-width: 0;
        max-width: none;
        padding-block: 0.2rem !important;
        font-size: 1rem;
    }

    .app-entry-status {
        order: 4;
    }

    .app-entry-source {
        order: 5;
    }

    .app-entry-phase {
        order: 6;
    }

    .app-entry-category {
        order: 7;
    }

    .app-entry-supplier {
        grid-column: 1 / -1;
        order: 8;
        padding-top: 0.65rem !important;
        border-top: 1px solid #e2e8f0;
    }

    .app-entry-quantity {
        order: 9;
    }

    .app-entry-unit {
        order: 10;
    }

    .app-entry-amount {
        grid-column: 1 / -1;
        order: 11;
        align-items: flex-end;
        padding-top: 0.65rem !important;
        border-top: 1px solid #e2e8f0 !important;
        color: var(--app-navy);
        font-size: 1.15rem;
    }

    .app-entry-actions {
        grid-column: 1 / -1;
        order: 12;
        flex-direction: row !important;
        align-items: center;
        justify-content: flex-end;
    }

    .app-entry-actions::before {
        margin-right: auto;
    }

    .app-entry-metrics {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }

    .app-entry-metrics > [class*="col-"] {
        width: 9.5rem;
        flex: 0 0 9.5rem;
        scroll-snap-align: start;
    }

    .app-entry-metrics .app-metric {
        min-height: 4.8rem;
        padding: 0.75rem 0.85rem;
    }

    .app-entry-metrics .app-metric strong {
        font-size: 1rem;
    }

    .app-entries-table tbody {
        gap: 0.15rem;
    }

    .app-entries-table tbody tr.app-entry-clickable {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 0.35rem;
        padding: 0.65rem 0.75rem 0.55rem;
        border: 0;
        border-bottom: 1px solid #e2e8f0;
        border-radius: 0;
        box-shadow: none;
    }

    .app-entries-table tbody tr.app-entry-clickable.app-entry-pending {
        border-left: 0;
    }

    .app-entries-table tbody tr.app-entry-clickable:hover {
        box-shadow: none;
        transform: none;
    }

    .app-entry-date-group {
        display: block !important;
        padding: 0.55rem 0.75rem 0.35rem !important;
        border: 0 !important;
        background: #f8fafc !important;
        box-shadow: none !important;
    }

    .app-entry-date-group:hover {
        box-shadow: none !important;
        transform: none !important;
    }

    .app-entry-date-group td {
        display: flex !important;
        flex-direction: row !important;
        align-items: center;
        gap: 0.5rem !important;
        color: #475569;
        font-size: 0.78rem;
    }

    .app-entry-date-group td::before {
        display: none;
    }

    .app-entry-day-badge {
        display: inline-grid;
        min-width: 2rem;
        height: 1.65rem;
        place-items: center;
        border-radius: 0.5rem;
        background: var(--app-blue);
        color: white;
        font-size: 0.72rem;
        font-weight: 800;
    }

    .app-entry-uid,
    .app-entry-date,
    .app-entry-source,
    .app-entry-phase,
    .app-entry-category,
    .app-entry-supplier,
    .app-entry-status,
    .app-entry-quantity,
    .app-entry-unit {
        position: absolute !important;
        width: 1px;
        height: 1px;
        padding: 0 !important;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap !important;
    }

    .app-entry-description {
        grid-column: 1;
        order: 1;
        gap: 0.25rem !important;
        padding: 0 4.6rem 0 0 !important;
        font-size: 0.92rem;
    }

    .app-entry-description::before,
    .app-entry-amount::before {
        display: none;
    }

    .app-entry-mobile-meta {
        display: grid;
        min-width: 0;
        gap: 0.05rem;
        color: #475569;
        font-size: 0.67rem;
        font-weight: 400;
        line-height: 1.25;
    }

    .app-entry-mobile-meta > * {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-entry-mobile-meta strong {
        color: var(--app-navy);
        font-size: 0.7rem;
    }

    .app-entry-mobile-meta small {
        color: #94a3b8;
        font-size: 0.58rem;
        text-transform: uppercase;
    }

    .app-entry-description > .fw-semibold {
        display: block;
        overflow: hidden;
        padding-top: 0.15rem;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .app-entry-amount {
        grid-column: 1;
        order: 2;
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        gap: 0.45rem !important;
        padding: 0.25rem 0 0 !important;
        border-top: 0 !important;
        font-size: 1rem;
    }

    .app-entry-mobile-equation,
    .app-entry-mobile-payment {
        display: inline;
        color: #64748b;
        font-size: 0.68rem;
        font-weight: 500;
    }

    .app-entry-mobile-payment {
        padding: 0.1rem 0.35rem;
        border-radius: 999px;
        background: #dcfce7;
        color: #15803d;
        font-size: 0.58rem;
        font-weight: 800;
        text-transform: uppercase;
    }

    .app-entry-pending .app-entry-mobile-payment {
        background: #fee2e2;
        color: #b91c1c;
    }

    .app-entry-amount-value {
        margin-left: auto;
        color: #15803d;
        font-size: 1.08rem;
        font-weight: 800;
    }

    .app-entry-pending .app-entry-amount-value {
        color: #dc2626;
    }

    .app-entry-actions {
        position: absolute !important;
        top: 0.65rem;
        right: 0.65rem;
        z-index: 2;
        display: flex !important;
        width: auto;
        flex-direction: row !important;
        gap: 0.3rem !important;
    }

    .app-entry-actions::before {
        display: none;
    }

    .app-entry-actions .app-entry-icon-button {
        width: 1.75rem;
        height: 1.75rem;
        border-color: #e2e8f0;
        background: white;
    }
}

.app-report-container {
    max-width: 1320px;
}

.app-metric-name {
    overflow: hidden;
    font-size: 1rem !important;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-supplier-chart {
    display: grid;
    gap: 1rem;
}

.app-breakdown-chart {
    display: grid;
    gap: 1rem;
}

.app-supplier-row,
.app-breakdown-row {
    display: grid;
    grid-template-columns: minmax(10rem, 1.2fr) minmax(10rem, 2fr) 4.5rem 8rem;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
}

.app-supplier-row strong,
.app-supplier-row span,
.app-breakdown-row strong,
.app-breakdown-row span {
    text-align: right;
    white-space: nowrap;
}

@media (max-width: 575.98px) {
    .app-project-image-button,
    .app-project-image,
    .app-project-image-fallback {
        height: 16rem;
    }

    .app-progress-ring {
        margin-inline: auto;
    }

    .app-bar-row {
        grid-template-columns: 4rem 1fr;
    }

    .app-bar-row strong {
        grid-column: 2;
        text-align: left;
    }

    .app-year-chart {
        overflow-x: auto;
        justify-content: flex-start;
    }

    .app-supplier-row,
    .app-breakdown-row {
        grid-template-columns: minmax(0, 1fr) 4rem;
        gap: 0.4rem 0.75rem;
    }

    .app-supplier-row .app-bar-track,
    .app-breakdown-row .app-bar-track {
        grid-column: 1;
    }

    .app-supplier-row > span,
    .app-breakdown-row > span {
        grid-column: 1 / -1;
        text-align: left;
    }
}

.app-chart-list {
    display: grid;
    gap: 1.15rem;
}

.app-chart-item {
    display: grid;
    gap: 0.4rem;
}

.app-chart-item strong {
    font-size: 0.8rem;
}

.app-gallery-card {
    background: white;
    border-radius: 0.85rem;
}

.app-gallery-upload-preview {
    text-align: center;
}

.app-gallery-upload-preview img {
    width: auto;
    max-height: 18rem;
    object-fit: contain;
    background: #f8fafc;
}

.app-gallery-button {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #e2e8f0;
    cursor: zoom-in;
}

.app-gallery-button:disabled {
    cursor: default;
}

.app-gallery-button img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 180ms ease;
}

.app-gallery-button:hover img {
    transform: scale(1.03);
}

.app-gallery-fallback {
    position: absolute;
    inset: 0;
    place-items: center;
    color: #64748b;
}

.app-gallery-fallback:not([hidden]) {
    display: grid;
}

.app-gallery-number {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    display: inline-grid;
    min-width: 2rem;
    height: 1.55rem;
    place-items: center;
    padding-inline: 0.5rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.78);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    line-height: 1;
    pointer-events: none;
}

.app-gallery-card-body {
    padding: 0.85rem;
}

.app-gallery-info {
    display: flex;
    min-width: 0;
    align-items: center;
    gap: 0.5rem;
}

.app-gallery-copy {
    display: grid;
    min-width: 0;
    flex: 1;
    gap: 0.1rem;
}

.app-gallery-copy strong {
    overflow: hidden;
    color: var(--app-navy);
    font-size: 0.88rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-gallery-copy small {
    color: #64748b;
    font-size: 0.7rem;
}

.app-gallery-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.3rem;
}

.app-gallery-action {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: var(--app-blue);
}

.app-gallery-action-danger {
    color: #dc2626;
}

.app-gallery-action svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.app-gallery-action .app-ionicon {
    font-size: 1rem;
}

.app-gallery-editor {
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 767.98px) {
    .app-gallery-page .app-report-container {
        padding-inline: 0.75rem;
    }

    .app-gallery-page section[aria-label] {
        margin-bottom: 1.25rem !important;
    }

    .app-gallery-grid {
        --bs-gutter-x: 0.55rem;
        --bs-gutter-y: 0.55rem;
    }

    .app-gallery-card {
        border-radius: 0.6rem;
        box-shadow: 0 0.2rem 0.65rem rgba(15, 23, 42, 0.08) !important;
    }

    .app-gallery-card-body {
        padding: 0.55rem;
    }

    .app-gallery-number {
        top: 0.4rem;
        left: 0.4rem;
        min-width: 1.6rem;
        height: 1.3rem;
        padding-inline: 0.35rem;
        font-size: 0.6rem;
    }

    .app-gallery-info {
        align-items: flex-start;
        gap: 0.3rem;
    }

    .app-gallery-copy strong {
        font-size: 0.75rem;
    }

    .app-gallery-copy small {
        font-size: 0.62rem;
    }

    .app-gallery-actions {
        gap: 0.15rem;
    }

    .app-gallery-action {
        width: 1.7rem;
        height: 1.7rem;
    }

    .app-gallery-action svg {
        width: 0.9rem;
        height: 0.9rem;
    }

    .app-gallery-action .app-ionicon {
        font-size: 0.9rem;
    }

    .app-gallery-editor .form-control {
        min-width: 0;
        padding-inline: 0.4rem;
        font-size: 0.7rem;
    }

    .app-gallery-editor .btn {
        font-size: 0.7rem;
    }
}

.app-rdo-number {
    display: grid;
    width: 5rem;
    height: 5rem;
    place-items: center;
    align-content: center;
    border-radius: 1rem;
    background: var(--app-navy);
    color: white;
}

.app-rdo-number small {
    color: #bfdbfe;
    font-size: 0.7rem;
}

.app-rdo-number strong {
    font-size: 1.5rem;
    line-height: 1.1;
}

.app-rdo-list {
    display: grid;
    gap: 0.75rem;
}

.app-rdo-month-divider {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
    padding: 0.5rem 0.25rem 0;
    color: var(--app-navy);
}

.app-rdo-month-divider strong {
    font-size: 1rem;
}

.app-rdo-month-divider span {
    color: #64748b;
    font-size: 0.75rem;
}

.app-rdo-list-item {
    border-radius: 0.85rem;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.app-rdo-list-item:hover {
    box-shadow: 0 0.55rem 1.35rem rgba(15, 23, 42, 0.12) !important;
    transform: translateY(-1px);
}

.app-rdo-list-item:focus-visible {
    outline: 3px solid rgba(53, 170, 255, 0.35);
    outline-offset: 2px;
}

.app-rdo-section-nav {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1rem;
    padding-bottom: 0.35rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.app-rdo-section-nav a {
    flex: 0 0 auto;
    padding: 0.42rem 0.75rem;
    border: 1px solid #dbe4ef;
    border-radius: 999px;
    background: white;
    color: #475569;
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.app-rdo-section-nav a:hover,
.app-rdo-section-nav a:focus-visible {
    border-color: var(--app-blue);
    color: var(--app-blue);
}

.app-rdo-content-card,
.app-rdo-detail-page [id="climate"] {
    scroll-margin-top: 1rem;
}

.app-rdo-content-card {
    border-radius: 0.85rem;
}

.app-rdo-form > .card,
.app-rdo-form > .row .card {
    border-radius: 0.85rem;
}

.app-rdo-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin: 0 -0.5rem;
    padding: 0.8rem 0.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(244, 247, 251, 0.92);
    backdrop-filter: blur(8px);
}

.app-project-form > .card,
.app-share-create-card,
.app-share-person-card,
.app-project-admin-card {
    border-radius: 0.85rem;
}

.app-project-form > .card {
    border-top: 3px solid #dbeafe !important;
}

.app-project-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-inline: -0.5rem;
    padding: 0.8rem 0.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(244, 247, 251, 0.92);
    backdrop-filter: blur(8px);
}

.app-share-create-card {
    border-top: 3px solid var(--app-blue) !important;
}

.app-share-permissions .form-check {
    margin: 0;
    padding: 0.55rem 0.75rem 0.55rem 2.2rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    background: #f8fafc;
}

.app-share-person-card {
    border-left: 3px solid var(--app-blue) !important;
}

.app-catalog-tabs {
    flex-wrap: nowrap;
    padding-bottom: 0.25rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.app-catalog-tabs .nav-link {
    white-space: nowrap;
}

.app-catalog-create-card {
    border-top: 3px solid var(--app-blue) !important;
    border-radius: 0.85rem;
}

.app-catalog-list-card,
.app-favorites-list-card {
    border-radius: 0.85rem;
}

.app-favorite-amount {
    color: var(--app-navy);
}

.app-account-data-card,
.app-account-plan-card,
.app-plan-card,
.app-login-card {
    border-radius: 0.9rem;
}

.app-account-data-card {
    border-top: 3px solid #dbeafe !important;
}

.app-account-plan-card {
    position: relative;
    overflow: hidden;
    border-top: 3px solid var(--app-orange) !important;
    background: linear-gradient(135deg, #fff, #fff8e8);
}

.app-account-plan-card::after {
    content: "\2605";
    position: absolute;
    top: -1rem;
    right: 0.75rem;
    color: rgba(252, 163, 17, 0.14);
    font-size: 6rem;
    line-height: 1;
    pointer-events: none;
}

.app-plan-card {
    overflow: hidden;
    border-top: 3px solid #dbeafe !important;
    transition: box-shadow 160ms ease, transform 160ms ease;
}

.app-plan-card:hover {
    box-shadow: 0 0.65rem 1.5rem rgba(15, 23, 42, 0.12) !important;
    transform: translateY(-2px);
}

.app-plan-card.is-current {
    border: 2px solid var(--app-orange) !important;
    border-top-width: 4px !important;
    background: linear-gradient(180deg, #fffaf0, white 32%);
}

.app-plan-price strong {
    color: var(--app-navy);
}

.app-plan-annual {
    border-color: #dbeafe !important;
}

.app-payment-modal {
    border-radius: 1rem;
    overflow: hidden;
}

.app-payment-summary {
    display: grid;
    gap: 0.15rem;
    padding: 1rem;
    border: 1px solid #dbeafe;
    border-radius: 0.85rem;
    background: #f8fbff;
}

.app-payment-summary-price {
    color: var(--app-navy);
    font-size: 1.35rem;
    font-weight: 800;
}

.app-payment-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1rem;
    text-align: left;
}

.app-payment-option small {
    opacity: 0.86;
}

.app-pix-panel {
    padding: 1rem;
    border: 1px solid #b7dfc3;
    border-radius: 0.85rem;
    background: #fbfffc;
}

.app-pix-qr-wrap {
    text-align: center;
}

.app-pix-qr {
    display: inline-flex;
    padding: 0.75rem;
    border: 1px solid #d9e4dc;
    border-radius: 0.75rem;
    background: #fff;
}

.app-pix-qr img,
.app-pix-qr canvas {
    display: block;
    width: min(220px, 100%);
    height: auto;
}

.app-pix-code {
    min-height: 8rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
    font-size: 0.78rem;
    line-height: 1.45;
    resize: none;
    word-break: break-all;
}

.app-login-page {
    min-height: calc(100vh - 10rem);
    display: grid;
    align-items: center;
}

.app-login-card {
    border-top: 4px solid var(--app-blue) !important;
}

.app-payment-thanks-page {
    min-height: calc(100vh - 10rem);
    display: grid;
    align-items: center;
    background:
        radial-gradient(circle at 15% 15%, rgb(53 170 255 / 10%), transparent 28rem),
        radial-gradient(circle at 85% 85%, rgb(67 160 71 / 10%), transparent 28rem);
}

.app-payment-standalone-body .app-payment-thanks-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding-top: max(1.25rem, env(safe-area-inset-top));
    padding-right: max(0.625rem, env(safe-area-inset-right));
    padding-bottom: max(1.25rem, env(safe-area-inset-bottom));
    padding-left: max(0.625rem, env(safe-area-inset-left));
}

.app-payment-thanks-card {
    overflow: hidden;
    border-radius: 1.25rem;
}

.app-payment-thanks-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 4.5rem;
    border-bottom: 1px solid var(--app-border);
    background: #fff;
    color: var(--app-navy);
    font-size: 1.05rem;
    font-weight: 800;
}

.app-payment-thanks-brand img {
    width: auto;
    max-width: 3rem;
    height: 2.25rem;
    object-fit: contain;
}

.app-payment-success-icon {
    width: 4.75rem;
    height: 4.75rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 0.5rem solid rgb(67 160 71 / 7%);
    background: rgb(67 160 71 / 13%);
    color: var(--app-success);
}

.app-payment-success-icon svg {
    width: 2.5rem;
    height: 2.5rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-payment-success-icon .app-ionicon {
    font-size: 2.5rem;
}

.app-plan-pix-success {
    padding: 1.25rem 0.5rem 0.5rem;
    animation: app-plan-pix-success-in 0.28s ease-out;
}

@keyframes app-plan-pix-success-in {
    from {
        opacity: 0;
        transform: translateY(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .app-plan-pix-success {
        animation: none;
    }
}

.app-payment-provider-label {
    color: var(--app-blue-dark);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.app-payment-thanks-title {
    color: var(--app-navy);
}

.app-payment-thanks-intro,
.app-payment-confirmation-grid {
    max-width: 42rem;
}

.app-payment-confirmation-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.app-payment-confirmation-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    border: 1px solid #dbeafe;
    border-radius: 1rem;
    background: #f8fbff;
}

.app-payment-confirmation-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #eaf2ff;
    color: var(--app-blue-dark);
}

.app-payment-confirmation-icon svg {
    width: 1.2rem;
    height: 1.2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.app-payment-confirmation-icon .app-ionicon {
    font-size: 1.2rem;
}

.app-payment-support {
    border-top: 1px solid var(--app-border);
}

@media (max-width: 575.98px) {
    .app-payment-thanks-page {
        min-height: auto;
    }

    .app-payment-thanks-card {
        border-radius: 1rem;
    }

    .app-payment-success-icon {
        width: 4rem;
        height: 4rem;
    }

    .app-payment-confirmation-grid {
        grid-template-columns: 1fr;
    }

    .app-payment-thanks-card .btn {
        width: 100%;
    }
}

.app-entry-form .card,
.app-entry-trash-card {
    border-radius: 0.85rem;
}

.app-entry-form .card {
    border-top: 3px solid #dbeafe !important;
}

.app-entry-form-actions {
    position: sticky;
    bottom: 0;
    z-index: 10;
    margin-inline: -0.5rem;
    padding: 0.8rem 0.5rem;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(244, 247, 251, 0.92);
    backdrop-filter: blur(8px);
}

.app-rdo-counts > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.5rem;
    border-left: 1px solid #e2e8f0;
}

.app-rdo-counts strong {
    font-size: 1.1rem;
}

.app-rdo-counts small {
    overflow: hidden;
    color: #64748b;
    font-size: 0.7rem;
    text-overflow: ellipsis;
}

.app-weather-badge {
    display: inline-flex;
    min-height: 1.9rem;
    align-items: center;
    gap: 0.3rem;
    padding-block: 0.35rem;
    line-height: 1;
    vertical-align: middle;
    font-weight: 500;
}

.app-weather-symbol {
    display: grid;
    width: 4rem;
    height: 4rem;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 2rem;
}

.app-rdo-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: 0 0 auto;
    filter: invert(35%) sepia(8%) saturate(899%) hue-rotate(176deg) brightness(91%) contrast(88%);
}

.app-rdo-icon-success {
    filter: invert(49%) sepia(83%) saturate(565%) hue-rotate(83deg) brightness(86%) contrast(92%);
}

.app-rdo-icon-danger {
    filter: invert(25%) sepia(91%) saturate(2593%) hue-rotate(347deg) brightness(90%) contrast(90%);
}

.app-rdo-icon-light {
    filter: brightness(0) invert(1);
}

.app-rdo-weather-icon {
    width: 2.35rem;
    height: 2.35rem;
    filter: invert(35%) sepia(95%) saturate(1255%) hue-rotate(203deg) brightness(92%) contrast(91%);
}

.app-rdo-climate-period {
    min-width: 0;
    padding: 1rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.8rem;
    background: var(--bs-body-bg);
}

.app-rdo-climate-period legend {
    float: none;
    width: auto;
    margin: 0 0 0.8rem;
    padding: 0;
    font-size: 1rem;
    font-weight: 700;
}

.app-rdo-climate-group-label {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--bs-secondary-color);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.app-rdo-weather-options,
.app-rdo-condition-options {
    display: grid;
    gap: 0.45rem;
}

.app-rdo-weather-options {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.app-rdo-condition-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.app-rdo-climate-choice {
    display: flex;
    min-width: 0;
    min-height: 4.4rem;
    padding: 0.55rem 0.25rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.65rem;
    color: var(--bs-secondary-color);
    background: var(--bs-tertiary-bg);
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.app-rdo-climate-choice:hover {
    border-color: rgba(var(--bs-primary-rgb), 0.55);
    color: var(--bs-primary);
}

.app-rdo-climate-choice-icon {
    display: inline-flex;
    width: 1.75rem;
    height: 1.75rem;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
}

.app-rdo-climate-choice-icon img {
    width: 1.75rem;
    height: 1.75rem;
    filter: invert(35%) sepia(95%) saturate(1255%) hue-rotate(203deg) brightness(92%) contrast(91%);
}

.btn-check:focus-visible + .app-rdo-climate-choice {
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(var(--bs-primary-rgb), 0.22);
}

.btn-check:checked + .app-rdo-climate-choice {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    background: rgba(var(--bs-primary-rgb), 0.1);
    box-shadow: inset 0 0 0 1px var(--bs-primary);
}

.app-rdo-climate-choice-success .app-rdo-climate-choice-icon img {
    filter: invert(48%) sepia(78%) saturate(502%) hue-rotate(93deg) brightness(91%) contrast(91%);
}

.btn-check:checked + .app-rdo-climate-choice-success {
    border-color: var(--bs-success);
    color: var(--bs-success);
    background: rgba(var(--bs-success-rgb), 0.1);
    box-shadow: inset 0 0 0 1px var(--bs-success);
}

.app-rdo-climate-choice-danger .app-rdo-climate-choice-icon img {
    filter: invert(25%) sepia(91%) saturate(2593%) hue-rotate(347deg) brightness(90%) contrast(90%);
}

.btn-check:checked + .app-rdo-climate-choice-danger {
    border-color: var(--bs-danger);
    color: var(--bs-danger);
    background: rgba(var(--bs-danger-rgb), 0.08);
    box-shadow: inset 0 0 0 1px var(--bs-danger);
}

.app-rdo-section-icon {
    width: 1.35rem;
    height: 1.35rem;
    filter: invert(35%) sepia(95%) saturate(1255%) hue-rotate(203deg) brightness(92%) contrast(91%);
}

.app-rdo-indicators {
    display: grid;
    grid-template-columns: repeat(3, minmax(5.25rem, 1fr));
    gap: 0.5rem;
}

.app-rdo-indicator {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 0.1rem 0.4rem;
    min-width: 0;
    padding: 0.55rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.6rem;
    background: #f8fafc;
}

.app-rdo-indicator strong {
    line-height: 1;
}

.app-rdo-indicator small {
    grid-column: 1 / -1;
    overflow: hidden;
    color: #64748b;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-rdo-indicator.is-empty {
    opacity: 0.45;
}

@media (max-width: 767.98px) {
    .app-rdo-list-page .app-report-container {
        padding-inline: 0.75rem;
    }

    .app-rdo-metrics {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
        scroll-snap-type: x proximity;
    }

    .app-rdo-metrics > [class*="col-"] {
        width: 8.25rem;
        flex: 0 0 8.25rem;
        scroll-snap-align: start;
    }

    .app-rdo-metrics .app-metric {
        min-height: 4.6rem;
        padding: 0.75rem;
    }

    .app-rdo-metrics .app-metric span {
        font-size: 0.68rem;
    }

    .app-rdo-metrics .app-metric strong {
        font-size: 1.05rem;
    }

    .app-rdo-list {
        gap: 0;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        border-radius: 0.65rem;
        background: white;
    }

    .app-rdo-month-divider {
        padding: 0.55rem 0.75rem 0.35rem;
        background: #f8fafc;
    }

    .app-rdo-month-divider strong {
        font-size: 0.8rem;
    }

    .app-rdo-month-divider span {
        font-size: 0.65rem;
    }

    .app-rdo-list-item {
        border-bottom: 1px solid #e2e8f0 !important;
        border-radius: 0;
        box-shadow: none !important;
    }

    .app-rdo-list-item:last-child {
        border-bottom: 0 !important;
    }

    .app-rdo-list-item:hover {
        box-shadow: none !important;
        transform: none;
    }

    .app-rdo-list-body {
        padding: 0.65rem 0.7rem !important;
    }

    .app-rdo-list-row {
        display: grid;
        grid-template-columns: 3.35rem minmax(0, 1fr);
        gap: 0.45rem 0.65rem;
        margin: 0;
    }

    .app-rdo-list-row > * {
        width: auto;
        max-width: none;
        padding: 0;
    }

    .app-rdo-list-row > :nth-child(1) {
        grid-column: 1;
        grid-row: 1;
    }

    .app-rdo-list-row > :nth-child(2) {
        grid-column: 2;
        grid-row: 1;
        min-width: 0;
    }

    .app-rdo-list-row > :nth-child(3) {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .app-rdo-list-row > :nth-child(4) {
        display: none;
    }

    .app-rdo-number {
        width: 3.2rem;
        height: 3.2rem;
        border-radius: 50%;
    }

    .app-rdo-number small {
        font-size: 0.52rem;
    }

    .app-rdo-number strong {
        font-size: 1.05rem;
    }

    .app-rdo-list-row h2 {
        font-size: 0.86rem;
    }

    .app-rdo-status {
        padding: 0.2rem 0.4rem;
        font-size: 0.58rem;
    }

    .app-rdo-weekday {
        margin-bottom: 0.35rem !important;
        font-size: 0.68rem;
    }

    .app-rdo-weather-list {
        flex-wrap: nowrap !important;
        gap: 0.25rem !important;
    }

    .app-rdo-weather-list .app-weather-badge {
        width: 1.85rem;
        min-height: 1.6rem;
        justify-content: center;
        padding: 0.2rem;
        overflow: hidden;
        font-size: 0;
    }

    .app-rdo-weather-list .app-rdo-icon {
        width: 1rem;
        height: 1rem;
    }

    .app-rdo-indicators {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 0.2rem;
        padding-top: 0.4rem;
        border-top: 1px solid #eef2f7;
    }

    .app-rdo-indicator {
        display: grid;
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 0.05rem;
        padding: 0.2rem;
        border: 0;
        background: transparent;
    }

    .app-rdo-indicator .app-rdo-icon {
        width: 1rem;
        height: 1rem;
    }

    .app-rdo-indicator strong {
        font-size: 0.62rem;
    }

    .app-rdo-indicator small {
        display: none;
    }

    .app-rdo-detail-page .app-report-container,
    .app-rdo-form-page .app-report-container {
        padding-inline: 0.75rem;
    }

    .app-rdo-section-nav {
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }

    .app-rdo-section-nav a {
        padding: 0.35rem 0.65rem;
        font-size: 0.68rem;
    }

    .app-rdo-detail-page .app-rdo-content-card > .card-body,
    .app-rdo-detail-page .app-rdo-content-card > .card-header {
        padding: 0.9rem !important;
    }

    .app-rdo-detail-page .app-rdo-header .h2 {
        font-size: 1.35rem;
    }

    .app-rdo-climate-grid {
        --bs-gutter-x: 0.55rem;
        --bs-gutter-y: 0.55rem;
    }

    .app-rdo-climate-grid > * {
        width: 33.3333%;
        flex: 0 0 auto;
    }

    .app-rdo-climate-grid .card-body {
        flex-direction: column;
        gap: 0.35rem !important;
        padding: 0.65rem;
        text-align: center;
    }

    .app-rdo-climate-grid .app-weather-symbol {
        width: 2.5rem;
        height: 2.5rem;
    }

    .app-rdo-climate-grid .app-rdo-weather-icon {
        width: 1.6rem;
        height: 1.6rem;
    }

    .app-rdo-climate-grid h2 {
        font-size: 0.72rem;
    }

    .app-rdo-climate-grid span {
        justify-content: center;
        font-size: 0.62rem;
    }

    .app-rdo-entries-table,
    .app-rdo-entries-table tbody {
        display: block;
        width: 100%;
    }

    .app-rdo-entries-table thead {
        display: none;
    }

    .app-rdo-entries-table tr {
        display: grid;
        gap: 0.3rem;
        padding: 0.65rem 0.9rem;
        border-bottom: 1px solid #e2e8f0;
    }

    .app-rdo-entries-table td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0 !important;
        border: 0;
        font-size: 0.72rem;
        text-align: right !important;
    }

    .app-rdo-entries-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 0.62rem;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
    }

    .app-rdo-detail-page #images .row {
        --bs-gutter-x: 0.55rem;
        --bs-gutter-y: 0.55rem;
    }

    .app-rdo-form .card-body {
        padding: 1rem !important;
    }

    .app-rdo-form h2.h5 {
        margin-bottom: 1rem !important;
        font-size: 1rem;
    }

    .app-rdo-form textarea {
        min-height: 8rem;
    }

    .app-rdo-form-actions {
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }

    .app-rdo-form-actions .btn {
        flex: 1;
    }

    .app-project-form-page .app-report-container,
    .app-project-shares-page .app-report-container {
        padding-inline: 0.75rem;
    }

    .app-project-form .card-body,
    .app-project-admin-card .card-body,
    .app-share-create-card .card-body,
    .app-share-person-card .card-body {
        padding: 1rem !important;
    }

    .app-project-form h2.h5,
    .app-project-admin-card h2.h5,
    .app-share-create-card h2.h5 {
        margin-bottom: 1rem !important;
        font-size: 1rem;
    }

    .app-project-form-actions {
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }

    .app-project-form-actions .btn {
        flex: 1;
    }

    .app-share-permissions {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.35rem !important;
    }

    .app-share-permissions .form-check {
        min-width: 0;
        padding: 0.45rem 0.35rem 0.45rem 1.75rem;
        font-size: 0.7rem;
    }

    .app-share-person-card .col-md-3 {
        width: 100%;
    }

    .app-catalog-page .app-report-container,
    .app-favorites-page > .container {
        padding-inline: 0.75rem;
    }

    .app-catalog-tabs {
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }

    .app-catalog-tabs .nav-link {
        padding: 0.4rem 0.65rem;
        font-size: 0.72rem;
    }

    .app-catalog-create-card .card-body,
    .app-catalog-list-card > .card-body {
        padding: 1rem !important;
    }

    .app-catalog-list-card .table-responsive,
    .app-favorites-list-card .table-responsive {
        overflow: visible;
    }

    .app-catalog-table,
    .app-catalog-table tbody,
    .app-favorites-table,
    .app-favorites-table tbody {
        display: block;
        width: 100%;
    }

    .app-catalog-table thead,
    .app-favorites-table thead {
        display: none;
    }

    .app-catalog-table tbody,
    .app-favorites-table tbody {
        display: grid;
        gap: 0;
    }

    .app-catalog-table tr,
    .app-favorites-table tr {
        display: grid;
        gap: 0.45rem;
        padding: 0.75rem 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .app-catalog-table tr:last-child,
    .app-favorites-table tr:last-child {
        border-bottom: 0;
    }

    .app-catalog-table td,
    .app-favorites-table td {
        display: grid;
        min-width: 0;
        grid-template-columns: 5.5rem minmax(0, 1fr);
        align-items: center;
        gap: 0.65rem;
        padding: 0 !important;
        border: 0;
        font-size: 0.78rem;
        text-align: left !important;
    }

    .app-catalog-table td::before,
    .app-favorites-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 0.62rem;
        font-weight: 700;
        text-transform: uppercase;
    }

    .app-catalog-table .form-control {
        min-width: 0;
        padding: 0.4rem 0.55rem;
        font-size: 0.75rem;
    }

    .app-catalog-actions,
    .app-favorite-actions {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-end;
    }

    .app-catalog-actions::before,
    .app-favorite-actions::before {
        margin-right: auto;
    }

    .app-favorites-list-card {
        padding-inline: 0.85rem;
    }

    .app-favorite-description {
        grid-template-columns: 1fr auto !important;
    }

    .app-favorite-description::before {
        display: none;
    }

    .app-favorite-amount {
        font-size: 1rem !important;
        font-weight: 800;
    }

    .app-account-page > .container,
    .app-plans-page > .container,
    .app-login-page > .container {
        padding-inline: 0.75rem;
    }

    .app-account-data-card .card-body,
    .app-account-plan-card .card-body,
    .app-plan-card .card-body,
    .app-login-card .card-body {
        padding: 1rem !important;
    }

    .app-account-data-card dl {
        display: grid;
        gap: 0.7rem;
    }

    .app-account-data-card dt,
    .app-account-data-card dd {
        width: 100%;
        margin: 0;
    }

    .app-account-data-card dd {
        padding-bottom: 0.55rem;
        border-bottom: 1px solid #eef2f7;
    }

    .app-plan-card:hover {
        transform: none;
    }

    .app-login-page {
        min-height: auto;
    }

    .app-entry-form-page .app-report-container,
    .app-entry-trash-page .app-wide-container {
        padding-inline: 0.75rem;
    }

    .app-entry-form .card-body,
    .app-entry-trash-card > .card-header {
        padding: 1rem !important;
    }

    .app-entry-form-actions {
        margin-inline: -0.75rem;
        padding-inline: 0.75rem;
    }

    .app-entry-form-actions .btn {
        flex: 1;
    }

    .app-entry-trash-card .table-responsive {
        overflow: visible;
    }

    .app-entry-trash-table,
    .app-entry-trash-table tbody {
        display: block;
        width: 100%;
    }

    .app-entry-trash-table thead {
        display: none;
    }

    .app-entry-trash-table tr {
        display: grid;
        gap: 0.35rem;
        padding: 0.75rem 1rem;
        border-bottom: 1px solid #e2e8f0;
    }

    .app-entry-trash-table td {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0 !important;
        border: 0;
        font-size: 0.75rem;
        text-align: right !important;
        white-space: normal !important;
    }

    .app-entry-trash-table td::before {
        content: attr(data-label);
        color: #64748b;
        font-size: 0.62rem;
        font-weight: 700;
        text-align: left;
        text-transform: uppercase;
    }

    .app-entry-trash-actions {
        align-items: center;
    }
}

[data-rdo-repeatable] [data-rdo-row] {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

[data-rdo-repeatable] [data-rdo-row]:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.app-recovery-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    padding: 0;
    list-style: none;
}

.app-recovery-step {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    color: #94a3b8;
    text-align: center;
}

.app-recovery-step > span {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    background: #fff;
    font-weight: 700;
}

.app-recovery-step.is-active {
    color: var(--bs-primary);
}

.app-recovery-step.is-active > span {
    border-color: var(--bs-primary);
    background: var(--bs-primary);
    color: #fff;
}

.app-recovery-code-input {
    letter-spacing: 0.35em;
    text-align: center;
}

.app-entry-icon-button {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    padding: 0;
    vertical-align: middle;
}

.app-entry-icon-button svg {
    width: 1rem;
    height: 1rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.app-entry-icon-button .app-ionicon {
    font-size: 1rem;
}

.app-inline-action-icon {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    vertical-align: -0.15rem;
}

span.app-inline-action-icon {
    font-size: 1rem;
}

.app-payment-status-container {
    display: flex;
    min-height: 62vh;
    align-items: center;
    justify-content: center;
}

.app-payment-status-card {
    width: 100%;
    max-width: 680px;
    border-radius: 1.25rem;
}

.app-payment-status-icon {
    display: inline-flex;
    width: 4.5rem;
    height: 4.5rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    font-size: 2rem;
    font-weight: 800;
}

.app-payment-status-icon.is-pending {
    background: #eaf0ff;
    color: var(--bs-primary);
}

.app-payment-status-icon.is-active {
    background: #dcfce7;
    color: #15803d;
}

.app-payment-status-summary {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1.5rem;
}

@media (max-width: 575.98px) {
    .app-payment-status-container {
        min-height: auto;
    }

    .app-payment-status-summary {
        grid-template-columns: 1fr;
    }
}

@media print {
    body {
        display: block;
        background: white;
        color: black;
    }

    .app-navbar,
    footer,
    .app-no-print {
        display: none !important;
    }

    main,
    .container,
    .app-report-container {
        width: 100%;
        max-width: none;
        padding: 0;
    }

    .card {
        break-inside: avoid;
        border: 1px solid #d1d5db !important;
        box-shadow: none !important;
    }
}
