:root {
    --ink: #22332d;
    --muted: #8a9690;
    --line: #e9ede9;
    --paper: #f6f8f6;
    --white: #fff;
    --green: #236b50;
    --green-dark: #1c5c45;
    --mint: #edf6f0;
    --orange: #c9814d;
    --blue: #7188c5;
    --shadow: 0 8px 26px rgba(36, 57, 46, 0.045);
}
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}
.app-shell {
    min-height: 100vh;
}
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: 240px;
    padding: 30px 19px 19px;
    background: #fff;
    border-right: 1px solid #edf0ed;
    display: flex;
    flex-direction: column;
    z-index: 5;
}
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--ink);
    font:
        800 20px Manrope,
        sans-serif;
    letter-spacing: -0.9px;
    margin: 0 0 53px 6px;
}
.brand-mark {
    height: 33px;
    width: 33px;
    border-radius: 11px;
    background: #24694f;
    color: white;
    display: grid;
    place-items: center;
    font:
        800 23px Manrope,
        sans-serif;
    transform: rotate(-5deg);
}
.brand-light {
    font-weight: 500;
    color: #90a49a;
}
.side-caption,
.eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: #a0aaa3;
}
.side-caption {
    margin: 0 0 11px 13px;
}
.side-nav {
    display: grid;
    gap: 5px;
}
.nav-item {
    appearance: none;
    border: 0;
    background: transparent;
    border-radius: 10px;
    padding: 11px 13px;
    text-align: left;
    font:
        500 13px "DM Sans",
        sans-serif;
    color: #758179;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 13px;
}
.nav-item.active {
    background: #eff6f1;
    color: #28694e;
    font-weight: 700;
}
.nav-icon {
    font-size: 19px;
    width: 18px;
    text-align: center;
    color: inherit;
}
.side-note {
    margin-top: auto;
    margin-bottom: 20px;
    background: #f5f8f5;
    border-radius: 12px;
    padding: 16px 14px;
    position: relative;
}
.note-icon {
    color: #568a6d;
    font-size: 16px;
}
.side-note p {
    font-size: 11px;
    line-height: 1.7;
    color: #819087;
    margin: 8px 0 0;
}
.side-note b {
    color: #405c4d;
}
.profile {
    border-top: 1px solid var(--line);
    padding: 17px 3px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.avatar {
    height: 34px;
    width: 34px;
    border-radius: 50%;
    background: #e9efe8;
    color: #47725d;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    flex: none;
}
.profile b {
    display: block;
    font-size: 10px;
    font-weight: 700;
}
.profile small {
    display: block;
    font-size: 9px;
    color: #98a29c;
    margin-top: 3px;
}
.more {
    margin-left: auto;
    color: #9ca69f;
}
.main-content {
    margin-left: 240px;
    padding: 34px 48px 60px;
    max-width: 1560px;
}
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.topbar h1 {
    font:
        700 25px Manrope,
        sans-serif;
    letter-spacing: -0.8px;
    margin: 7px 0 0;
}
.wave {
    font-size: 15px;
    color: #76a184;
    vertical-align: 3px;
}
.top-actions {
    display: flex;
    align-items: center;
    gap: 19px;
}
.sync-status {
    font-size: 10px;
    color: #859289;
}
.sync-status i {
    width: 6px;
    height: 6px;
    background: #68ad7f;
    display: inline-block;
    border-radius: 50%;
    margin-right: 6px;
}
.icon-button {
    border: 0;
    background: none;
    font-size: 20px;
    color: #68776e;
    position: relative;
}
.notification-dot {
    position: absolute;
    right: 0;
    top: 1px;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background: #c27e56;
}
.avatar-top {
    border: 0;
    font-size: 9px;
}
.page {
    display: none;
}
.page.active-page {
    display: block;
}
.welcome-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 8px 0 31px;
}
.welcome-row p,
.page-intro p {
    font-size: 12px;
    color: #89958d;
    margin: 0;
}
.button {
    border: 0;
    border-radius: 8px;
    padding: 11px 15px;
    font:
        600 11px "DM Sans",
        sans-serif;
    cursor: pointer;
    transition: 0.15s;
    min-height: 40px;
}
.button:hover {
    transform: translateY(-1px);
}
.primary {
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 10px rgba(35, 107, 80, 0.12);
}
.primary:hover {
    background: var(--green-dark);
}
.desktop-add span {
    font-size: 16px;
    margin-right: 5px;
}
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 13px;
}
.section-heading h2,
.panel-heading h2,
.page-intro h2 {
    font:
        700 15px Manrope,
        sans-serif;
    margin: 0;
    letter-spacing: -0.2px;
}
.muted {
    display: block;
    margin-top: 4px;
    color: #a0aaa3;
    font-size: 10px;
}
.period-select,
.text-button {
    border: 0;
    background: transparent;
    color: #75857a;
    font:
        500 10px "DM Sans",
        sans-serif;
    cursor: pointer;
}
.period-select span,
.text-button span {
    margin-left: 8px;
    color: #5b8b6c;
}
.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.summary-card {
    min-height: 153px;
    border-radius: 12px;
    padding: 17px 18px 15px;
    position: relative;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
    border: 1px solid #f1f3f1;
}
.card-top {
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-icon {
    width: 25px;
    height: 25px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 14px;
}
.income-icon {
    background: #edf6f0;
    color: #43835e;
}
.expense-icon {
    background: #fbf1e9;
    color: #bd8155;
}
.balance-icon {
    background: #eef1f9;
    color: #7085be;
}
.card-label {
    font-size: 8px;
    letter-spacing: 1px;
    color: #8f9a92;
    font-weight: 700;
}
.trend {
    margin-left: auto;
    color: #7ca887;
    font-size: 13px;
}
.trend.neutral {
    color: #c59876;
}
.amount {
    font:
        700 24px Manrope,
        sans-serif;
    letter-spacing: -0.8px;
    margin-top: 14px;
    position: relative;
    z-index: 1;
}
.card-foot {
    font-size: 9px;
    color: #9aa49d;
    margin-top: 7px;
    position: relative;
    z-index: 1;
}
.tiny-dot {
    height: 5px;
    width: 5px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
    vertical-align: 1px;
}
.green-dot {
    background: #67a67b;
}
.orange-dot {
    background: #d09a71;
}
.blue-dot {
    background: #8294cb;
}
.sparkline {
    height: 37px;
    position: absolute;
    bottom: 0;
    right: 0;
    width: 44%;
    opacity: 0.28;
}
.sparkline svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.sparkline path {
    fill: none;
    stroke: #54966b;
    stroke-width: 2;
}
.orange-spark path {
    stroke: #d39b70;
}
.balance-card {
    background: #f0f4fb;
    border-color: #e9edf7;
}
.balance-glow {
    position: absolute;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    right: -40px;
    bottom: -88px;
    background: #dce5f7;
}
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) minmax(210px, 0.8fr);
    gap: 15px;
    margin-top: 18px;
}
.panel {
    background: #fff;
    border: 1px solid #f0f2f0;
    border-radius: 12px;
    box-shadow: var(--shadow);
}
.transactions-panel {
    padding: 19px 20px 8px;
}
.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.panel-heading p {
    font-size: 10px;
    color: #a0aaa3;
    margin: 4px 0 0;
}
.panel-heading h2 {
    font-size: 13px;
}
.movement-list {
    min-height: 135px;
}
.movement-row {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(72px, 0.5fr) minmax(
            70px,
            0.6fr
        ) minmax(100px, 0.7fr) 40px;
    align-items: center;
    gap: 12px;
    padding: 12px 1px;
    border-bottom: 1px solid #f0f2f0;
}
.movement-row:last-child {
    border-bottom: 0;
}
.movement-detail {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
}
.movement-icon {
    height: 30px;
    width: 30px;
    border-radius: 9px;
    background: #eff6f1;
    color: #43815c;
    display: grid;
    place-items: center;
    font-size: 14px;
    flex: none;
}
.movement-icon.expense {
    background: #fbf2ea;
    color: #bd8258;
}
.movement-detail b {
    font-size: 10px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.movement-detail small {
    display: block;
    font-size: 9px;
    color: #a1aaa3;
    margin-top: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.row-date,
.row-person {
    font-size: 9px;
    color: #909b93;
}
.row-amount {
    text-align: right;
    font-size: 10px;
    font-weight: 700;
}
.row-amount.income {
    color: #43815c;
}
.row-amount.expense {
    color: #be7950;
}
.row-actions {
    display: flex;
    justify-content: flex-end;
    gap: 3px;
}
.row-action {
    border: 0;
    background: transparent;
    color: #98a39b;
    cursor: pointer;
    padding: 5px;
    font-size: 12px;
}
.row-action:hover {
    color: var(--green);
}
.empty-state {
    padding: 43px 10px;
    text-align: center;
    font-size: 11px;
    color: #a0aaa3;
}
.insight-panel {
    padding: 20px 21px;
    position: relative;
    overflow: hidden;
    background: #eff5ef;
    border-color: #eaf0e9;
    min-height: 213px;
}
.insight-icon {
    width: 27px;
    height: 27px;
    border-radius: 9px;
    background: #e0ecdf;
    display: grid;
    place-items: center;
    color: #658d6b;
    font-size: 13px;
}
.insight-label {
    font-size: 8px;
    letter-spacing: 1.1px;
    color: #8da08f;
    font-weight: 700;
    margin-top: 15px;
}
.insight-panel h3 {
    font:
        700 16px/1.4 Manrope,
        sans-serif;
    margin: 7px 0;
    color: #355243;
    position: relative;
    z-index: 1;
}
.insight-panel p {
    font-size: 9px;
    line-height: 1.6;
    color: #8c9c90;
    max-width: 190px;
    margin: 0 0 13px;
    position: relative;
    z-index: 1;
}
.insight-link {
    padding: 0;
    border: 0;
    background: none;
    color: #4f805d;
    font:
        600 9px "DM Sans",
        sans-serif;
    cursor: pointer;
    position: relative;
    z-index: 1;
}
.insight-link span {
    margin-left: 6px;
}
.insight-orb {
    position: absolute;
    border-radius: 50%;
    background: rgba(203, 222, 199, 0.35);
}
.orb-one {
    width: 132px;
    height: 132px;
    right: -57px;
    top: -20px;
}
.orb-two {
    width: 86px;
    height: 86px;
    right: -20px;
    top: 43px;
    background: rgba(214, 229, 210, 0.42);
}
.page-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 25px 0 20px;
}
.page-intro h2 {
    font-size: 21px;
    margin-bottom: 5px;
}
.page-intro p {
    font-size: 11px;
}
.filter-row {
    display: flex;
    gap: 9px;
    margin-bottom: 13px;
}
.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #ecefec;
    border-radius: 8px;
    height: 39px;
    padding: 0 12px;
    color: #85958a;
    font-size: 18px;
    flex: 1;
    max-width: 440px;
}
.search-box input {
    border: 0;
    outline: 0;
    width: 100%;
    font:
        11px "DM Sans",
        sans-serif;
    color: var(--ink);
}
.filter-select {
    height: 39px;
    border: 1px solid #ecefec;
    border-radius: 8px;
    background: #fff;
    padding: 0 11px;
    color: #758179;
    font:
        10px "DM Sans",
        sans-serif;
}
.table-panel {
    padding: 0 19px;
}
.table-head {
    display: grid;
    grid-template-columns: minmax(130px, 1fr) minmax(72px, 0.5fr) minmax(
            70px,
            0.6fr
        ) minmax(100px, 0.7fr) 40px;
    gap: 12px;
    padding: 14px 1px 10px;
    border-bottom: 1px solid var(--line);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #a1aaa4;
}
.right {
    text-align: right;
}
.report-period {
    background: #edf1ed;
    padding: 3px;
    border-radius: 8px;
    display: flex;
    gap: 2px;
}
.period-tab {
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #8b978e;
    font:
        500 10px "DM Sans",
        sans-serif;
    padding: 8px 14px;
    cursor: pointer;
}
.period-tab.active {
    background: #fff;
    color: #426e52;
    box-shadow: 0 1px 4px #dfe5df;
}
.report-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 13px;
    margin-bottom: 16px;
}
.report-card {
    background: #fff;
    border: 1px solid #eef1ee;
    border-radius: 11px;
    padding: 17px;
    display: flex;
    gap: 12px;
    align-items: center;
}
.report-mark {
    height: 33px;
    width: 33px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 16px;
}
.income-mark {
    background: #edf6f0;
    color: #44825d;
}
.expense-mark {
    background: #faf1e9;
    color: #be8258;
}
.balance-mark {
    background: #eef1f9;
    color: #7388c0;
}
.report-card small {
    display: block;
    font-size: 8px;
    letter-spacing: 0.8px;
    color: #97a19a;
    font-weight: 700;
}
.report-card b {
    display: block;
    font:
        700 16px Manrope,
        sans-serif;
    margin-top: 5px;
}
.report-chart-panel {
    padding: 20px 21px 15px;
}
.chart-legend {
    font-size: 9px;
    color: #8e9991;
    display: flex;
    align-items: center;
    gap: 6px;
}
.chart-legend i {
    height: 7px;
    width: 7px;
    border-radius: 50%;
    display: inline-block;
    margin-left: 9px;
}
.legend-income {
    background: #75a986;
}
.legend-expense {
    background: #d5a27a;
}
.chart-area {
    height: 183px;
    display: flex;
    margin-top: 15px;
}
.chart-y {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 8px;
    color: #adb5af;
    padding: 0 12px 0 0;
}
.chart-bars {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    border-bottom: 1px solid #e9ede9;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0,
        transparent 44px,
        #f0f2f0 45px,
        #f0f2f0 46px
    );
    position: relative;
}
.chart-group {
    height: 100%;
    display: flex;
    align-items: flex-end;
    gap: 5px;
    position: relative;
    flex: 1;
    justify-content: center;
}
.bar {
    width: min(25px, 28%);
    min-height: 3px;
    border-radius: 5px 5px 0 0;
    background: #83b28f;
    transition: height 0.3s;
}
.bar.expense-bar {
    background: #dfb18c;
}
.chart-caption {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: #a0aaa3;
    padding: 9px 0 0 28px;
}
.chart-caption b {
    color: #66766b;
    font-weight: 500;
}
.no-chart-data {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #a0aaa3;
    font-size: 11px;
}
.report-note {
    margin-top: 14px;
    padding: 16px 18px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}
.report-note-icon {
    height: 28px;
    width: 28px;
    border-radius: 9px;
    background: #edf5ed;
    color: #698f6e;
    display: grid;
    place-items: center;
    flex: none;
}
.report-note b {
    font-size: 11px;
}
.report-note p {
    font-size: 10px;
    color: #8e9991;
    margin: 5px 0 0;
}
.bottom-nav,
.fab {
    display: none;
}
.modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(31, 46, 38, 0.35);
    backdrop-filter: blur(3px);
    z-index: 20;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.modal-backdrop.open {
    display: flex;
}
.modal {
    width: min(100%, 460px);
    max-height: calc(100vh - 40px);
    overflow: auto;
    border-radius: 16px;
    background: #fff;
    padding: 25px 27px;
    box-shadow: 0 18px 70px rgba(29, 49, 38, 0.2);
    animation: modal-in 0.18s ease-out;
}
@keyframes modal-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}
.modal-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 19px;
}
.modal-heading h2 {
    font:
        700 20px Manrope,
        sans-serif;
    margin: 6px 0 0;
    letter-spacing: -0.5px;
}
.close-button {
    border: 0;
    background: #f3f5f3;
    border-radius: 50%;
    height: 31px;
    width: 31px;
    font-size: 21px;
    color: #77847b;
    cursor: pointer;
}
.type-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    background: #f1f4f1;
    border-radius: 9px;
    padding: 4px;
    margin-bottom: 19px;
}
.type-option {
    border: 0;
    border-radius: 6px;
    padding: 9px;
    background: transparent;
    color: #88958b;
    font:
        600 11px "DM Sans",
        sans-serif;
    cursor: pointer;
}
.type-option.selected {
    background: white;
    color: #36704f;
    box-shadow: 0 1px 5px #e0e5e0;
}
.field-label {
    display: block;
    font-size: 10px;
    font-weight: 600;
    color: #66756b;
    margin-bottom: 14px;
}
.field-label input,
.field-label select,
.field-label textarea {
    display: block;
    width: 100%;
    margin-top: 6px;
    height: 39px;
    border: 1px solid #e6ebe6;
    border-radius: 7px;
    padding: 0 11px;
    background: #fff;
    color: #37463c;
    font:
        11px "DM Sans",
        sans-serif;
    outline: 0;
}
.field-label input:focus,
.field-label select:focus,
.field-label textarea:focus {
    border-color: #92b89d;
    box-shadow: 0 0 0 3px #eff6f0;
}
.field-label textarea {
    height: auto;
    padding: 9px 11px;
    resize: vertical;
}
.amount-input {
    display: flex;
    align-items: center;
    margin-top: 6px;
    border: 1px solid #e6ebe6;
    border-radius: 7px;
    padding-left: 12px;
    color: #94a098;
    font-size: 11px;
}
.amount-input input {
    border: 0;
    margin: 0;
    box-shadow: none !important;
}
.form-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 11px;
}
.optional {
    font-weight: 400;
    color: #9da7a0;
}
.submit-button {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3px;
}
.form-error {
    font-size: 10px;
    color: #b85040;
    min-height: 0;
    margin: -4px 0 8px;
}
.form-error:not(:empty) {
    min-height: 14px;
}
.toast {
    position: fixed;
    left: 50%;
    bottom: 26px;
    transform: translate(-50%, 12px);
    opacity: 0;
    pointer-events: none;
    background: #284c39;
    color: white;
    border-radius: 9px;
    padding: 11px 16px;
    font-size: 11px;
    box-shadow: 0 6px 20px #173b253d;
    transition: 0.2s;
    z-index: 40;
    white-space: nowrap;
}
.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}
@media (min-width: 1500px) {
    .main-content {
        padding-left: 64px;
        padding-right: 64px;
    }
    .summary-card {
        min-height: 165px;
        padding: 20px 21px;
    }
    .amount {
        font-size: 27px;
    }
    .content-grid {
        margin-top: 22px;
    }
}
@media (max-width: 1050px) {
    .main-content {
        padding: 30px 28px 50px;
    }
    .sidebar {
        width: 205px;
    }
    .main-content {
        margin-left: 205px;
    }
    .content-grid {
        grid-template-columns: minmax(0, 1.5fr) minmax(190px, 0.8fr);
    }
    .summary-card {
        padding: 15px;
    }
    .amount {
        font-size: 21px;
    }
    .movement-row,
    .table-head {
        grid-template-columns: minmax(120px, 1fr) 68px 63px minmax(
                83px,
                0.7fr
            ) 34px;
        gap: 8px;
    }
}
@media (max-width: 700px) {
    body {
        background: #f6f8f6;
    }
    .sidebar {
        display: none;
    }
    .main-content {
        margin: 0;
        padding: 22px 18px 100px;
        max-width: none;
    }
    .topbar {
        align-items: flex-start;
    }
    .topbar h1 {
        font-size: 22px;
    }
    .top-actions {
        gap: 12px;
    }
    .sync-status {
        font-size: 0;
    }
    .sync-status i {
        height: 7px;
        width: 7px;
    }
    .icon-button {
        font-size: 18px;
    }
    .avatar-top {
        height: 30px;
        width: 30px;
    }
    .welcome-row {
        margin: 7px 0 26px;
    }
    .welcome-row p {
        font-size: 10px;
        max-width: 210px;
        line-height: 1.5;
    }
    .desktop-add {
        display: none;
    }
    .section-heading {
        margin-bottom: 11px;
    }
    .section-heading h2 {
        font-size: 14px;
    }
    .summary-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px;
    }
    .summary-card {
        min-height: 129px;
        padding: 13px 13px 12px;
        border-radius: 11px;
    }
    .summary-card.balance-card {
        grid-column: span 2;
        min-height: 105px;
    }
    .card-icon {
        height: 23px;
        width: 23px;
    }
    .card-label {
        font-size: 7px;
        letter-spacing: 0.7px;
    }
    .amount {
        font-size: 20px;
        margin-top: 12px;
    }
    .balance-card .amount {
        font-size: 22px;
        margin-top: 10px;
    }
    .card-foot {
        font-size: 8px;
    }
    .sparkline {
        width: 38%;
        height: 30px;
    }
    .content-grid {
        grid-template-columns: 1fr;
        gap: 11px;
        margin-top: 13px;
    }
    .transactions-panel {
        padding: 16px 14px 6px;
    }
    .panel-heading h2 {
        font-size: 12px;
    }
    .panel-heading p {
        font-size: 9px;
    }
    .movement-list {
        min-height: 84px;
    }
    .movement-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px;
        padding: 10px 0;
    }
    .movement-row .row-date {
        grid-column: 2;
        grid-row: 1;
        font-size: 8px;
        text-align: right;
    }
    .movement-row .row-person {
        display: none;
    }
    .movement-row .row-amount {
        grid-column: 2;
        grid-row: 2;
        font-size: 10px;
    }
    .movement-row .row-actions {
        grid-column: 2;
        grid-row: 1/3;
        margin-left: 4px;
    }
    .movement-row .movement-detail {
        grid-column: 1;
        grid-row: 1/3;
    }
    .movement-detail b {
        font-size: 10px;
    }
    .movement-detail small {
        font-size: 8px;
    }
    .movement-icon {
        height: 29px;
        width: 29px;
    }
    .insight-panel {
        min-height: 165px;
        padding: 16px;
    }
    .insight-label {
        margin-top: 11px;
    }
    .insight-panel h3 {
        font-size: 14px;
    }
    .insight-panel p {
        font-size: 9px;
    }
    .page-intro {
        margin: 21px 0 16px;
        align-items: flex-start;
        gap: 12px;
    }
    .page-intro h2 {
        font-size: 19px;
    }
    .page-intro p {
        font-size: 10px;
    }
    .page-intro > .button {
        font-size: 9px;
        padding: 9px 10px;
        white-space: nowrap;
        min-height: 36px;
    }
    .filter-row {
        gap: 7px;
        flex-wrap: wrap;
    }
    .search-box {
        flex: 1 1 100%;
        max-width: none;
        height: 37px;
    }
    .filter-select {
        flex: 1;
        min-width: 0;
        height: 36px;
        font-size: 9px;
    }
    .table-panel {
        padding: 0 12px;
    }
    .table-head {
        display: none;
    }
    .table-panel .movement-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 5px;
        padding: 12px 0;
    }
    .table-panel .movement-row .row-date {
        display: block;
        grid-column: 2;
        grid-row: 1;
        font-size: 8px;
    }
    .table-panel .movement-row .row-person {
        display: block;
        grid-column: 1;
        grid-row: 2;
        padding-left: 38px;
        font-size: 8px;
    }
    .table-panel .movement-row .row-amount {
        grid-column: 2;
        grid-row: 2;
    }
    .table-panel .movement-row .row-actions {
        grid-column: 2;
        grid-row: 1/3;
    }
    .report-period {
        flex: none;
    }
    .period-tab {
        padding: 7px 10px;
        font-size: 9px;
    }
    .report-cards {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .report-card {
        padding: 12px 14px;
    }
    .report-mark {
        height: 29px;
        width: 29px;
    }
    .report-card b {
        font-size: 14px;
    }
    .report-chart-panel {
        padding: 16px 13px;
    }
    .chart-legend {
        font-size: 8px;
    }
    .chart-area {
        height: 165px;
    }
    .chart-group {
        gap: 3px;
    }
    .bar {
        width: min(17px, 31%);
    }
    .chart-caption {
        font-size: 8px;
        padding-left: 25px;
    }
    .report-note {
        padding: 13px;
    }
    .report-note p {
        line-height: 1.5;
    }
    .bottom-nav {
        display: flex;
        position: fixed;
        z-index: 10;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, 0.96);
        border-top: 1px solid #e9ede9;
        justify-content: space-around;
        backdrop-filter: blur(12px);
    }
    .bottom-item {
        border: 0;
        background: transparent;
        color: #9aa49d;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 3px;
        font:
            500 8px "DM Sans",
            sans-serif;
        min-width: 54px;
        cursor: pointer;
    }
    .bottom-item span {
        font-size: 19px;
        line-height: 21px;
    }
    .bottom-item.active {
        color: #33734f;
        font-weight: 700;
    }
    .fab {
        display: grid;
        place-items: center;
        position: fixed;
        z-index: 11;
        right: 19px;
        bottom: 76px;
        height: 49px;
        width: 49px;
        border: 0;
        border-radius: 16px;
        background: #276d50;
        color: #fff;
        font-size: 27px;
        font-weight: 300;
        box-shadow: 0 7px 18px #246b5040;
        cursor: pointer;
    }
    .modal-backdrop {
        align-items: flex-end;
        padding: 0;
    }
    .modal {
        width: 100%;
        max-height: 92vh;
        border-radius: 18px 18px 0 0;
        padding: 23px 21px calc(20px + env(safe-area-inset-bottom));
    }
    .modal-heading h2 {
        font-size: 19px;
    }
    .toast {
        bottom: 80px;
        max-width: calc(100% - 36px);
        white-space: normal;
        text-align: center;
    }
    .empty-state {
        padding: 30px 10px;
        font-size: 10px;
    }
}
