﻿:root {
    --green-950: #013d32;
    --green-900: #005c45;
    --green-850: #075a49;
    --green-800: #006b52;
    --green-700: #11805f;
    --green-600: #2e9f73;
    --mint: #dff3ec;
    --orange: #ffa55c;
    --page: #f4f7f6;
    --card: #ffffff;
    --text: #071711;
    --muted: #60706a;
    --line: rgba(10, 54, 44, .08);
    --font-sans: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", Aptos, Arial, sans-serif;
}

* { box-sizing: border-box; }

html, body {
    min-height: 100%;
    margin: 0;
    font-family: var(--font-sans);
    background: var(--page);
    color: var(--text);
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
}

button, a, input { font: inherit; }
button { cursor: pointer; }

.login-layout {
    min-height: 100vh;
    background: #f4f7f6;
}

.login-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(360px, 42vw) 1fr;
    overflow: hidden;
}

.login-hero {
    position: relative;
    min-height: 100vh;
    padding: 74px 58px;
    color: #ffffff;
    background:
        linear-gradient(180deg, rgba(0, 62, 48, .88), rgba(0, 92, 69, .72)),
        radial-gradient(circle at 16% 14%, rgba(46, 159, 115, .35), transparent 30%),
        linear-gradient(135deg, #013d32, #24443d);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-hero::after {
    content: "";
    position: absolute;
    inset: auto -12% -20% -12%;
    height: 42%;
    background: rgba(0, 92, 69, .48);
    border-radius: 50% 50% 0 0;
}

.login-hero-dots {
    position: absolute;
    top: 28px;
    left: 28px;
    width: 84px;
    height: 84px;
    background-image: radial-gradient(#7bc7aa 2px, transparent 2px);
    background-size: 16px 16px;
    opacity: .8;
}

.login-hero-logo {
    position: relative;
    width: 250px;
    max-width: 70%;
    object-fit: contain;
    margin-bottom: 42px;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .24));
    z-index: 1;
}

.login-brand-animation {
    position: relative;
    z-index: 1;
    width: min(360px, 78%);
    margin: 28px 0 18px;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .24));
}

.login-brand-svg {
    display: block;
    width: 100%;
    height: auto;
    overflow: visible;
    filter: drop-shadow(0 0 8px rgba(0, 255, 102, .28));
}

.login-brand-outline {
    fill: transparent;
    stroke: #ffffff;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: loginDrawBrand 2.3s cubic-bezier(.4, 0, .2, 1) forwards;
}

.login-brand-tie {
    fill: transparent;
    stroke: #35f08c;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    animation:
        loginDrawBrand 1.8s cubic-bezier(.4, 0, .2, 1) .2s forwards,
        loginCyberPulse 2s ease-in-out 1.6s infinite alternate;
}

.login-brand-fill {
    opacity: 0;
    fill: #ffffff;
    animation: loginSurfaceFadeIn 1s ease-in-out 1.25s forwards;
}

.login-brand-text {
    opacity: 0;
    fill: #ffffff;
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 12px;
    font-family: var(--font-sans);
    text-anchor: middle;
    animation: loginTextReveal 1s cubic-bezier(.4, 0, .2, 1) 1.45s forwards;
}

.login-brand-slogan {
    opacity: 0;
    fill: #35f08c;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 5px;
    font-family: var(--font-sans);
    text-anchor: middle;
    filter: drop-shadow(0 0 4px rgba(0, 255, 102, .28));
    animation: loginTextReveal 1.2s cubic-bezier(.4, 0, .2, 1) 1.75s forwards;
}

.login-spark {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #35f08c;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 0 6px #35f08c, 0 0 12px #35f08c;
}

.login-spark.s1 { left: 47%; top: 36%; animation: loginSpark1 2s ease-out 1.2s infinite; }
.login-spark.s2 { left: 54%; top: 38%; animation: loginSpark2 2.5s ease-out 1.5s infinite; }
.login-spark.s3 { left: 50%; top: 48%; animation: loginSpark3 1.8s ease-out 1s infinite; }
.login-spark.s4 { left: 43%; top: 43%; animation: loginSpark4 2.2s ease-out 1.7s infinite; }

.login-hero h1 {
    position: relative;
    z-index: 1;
    margin: 0;
    font-size: clamp(38px, 4.6vw, 62px);
    line-height: 1.05;
    font-weight: 900;
}

.login-hero h1 span { display: block; color: #35c88b; }
.login-hero > p { position: relative; z-index: 1; max-width: 390px; margin: 28px 0 36px; font-size: 20px; line-height: 1.45; color: rgba(255, 255, 255, .9); }

.login-feature-list {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 22px;
    max-width: 420px;
}

.login-feature-list div { display: grid; grid-template-columns: 58px 1fr; column-gap: 16px; align-items: center; }
.login-feature-list span { grid-row: span 2; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #006b52; background: #ffffff; box-shadow: 0 10px 24px rgba(0, 35, 26, .16); }
.login-feature-list .nav-icon { width: 30px; height: 30px; color: #007a5c; stroke-width: 2.25; }
.login-feature-list strong { font-size: 17px; font-weight: 900; }
.login-feature-list p { margin: 4px 0 0; color: rgba(255, 255, 255, .84); }

.login-main {
    position: relative;
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 56px;
    background:
        radial-gradient(circle at 90% 0%, rgba(223, 243, 236, .88), transparent 34%),
        radial-gradient(circle at 8% 100%, rgba(223, 243, 236, .82), transparent 28%),
        #f8fbfa;
}

.theme-chip {
    position: absolute;
    top: 26px;
    right: 36px;
    border: 0;
    border-radius: 12px;
    padding: 12px 22px;
    color: #314941;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(0, 67, 50, .1);
    font-weight: 850;
}

.login-card {
    width: min(100%, 560px);
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(0, 92, 69, .08);
    box-shadow: 0 28px 70px rgba(0, 67, 50, .14);
    padding: 52px 48px 44px;
    text-align: center;
}

.login-card-logo { width: 250px; max-width: 82%; margin-bottom: 22px; }
.login-card h2 { margin: 0; color: #1f2f38; font-size: 26px; font-weight: 900; }
.login-card > p { margin: 10px 0 28px; color: #66757b; font-weight: 700; }

.login-alert, .login-validation {
    margin: 0 0 16px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #c0392b;
    background: #fff0ec;
    text-align: left;
    font-weight: 750;
}

.login-form { display: grid; gap: 16px; text-align: left; }
.login-form label { display: grid; gap: 7px; color: #40564f; font-weight: 850; }
.login-form input[type="text"], .login-form input[type="password"], .login-form .login-text-field, .login-form input[autocomplete="username"] {
    width: 100% !important;
    height: 54px !important;
    border: 1px solid #d8e4e0 !important;
    border-radius: 12px !important;
    padding: 0 16px !important;
    color: #1f2f38 !important;
    background: #ffffff !important;
    outline: none !important;
    box-shadow: none;
    font-weight: 750 !important;
}

.login-form input:focus { border-color: #2e9f73; box-shadow: 0 0 0 4px rgba(46, 159, 115, .12); }
.password-field { display: grid; grid-template-columns: 1fr auto; align-items: center; border: 1px solid #d8e4e0; border-radius: 12px; background: #ffffff; }
.password-field input { border: 0 !important; box-shadow: none !important; }
.password-field button { height: 42px; margin-right: 6px; border: 0; border-radius: 10px; background: #eef8f4; color: #006b52; font-weight: 850; padding: 0 12px; }
.login-options { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin: 4px 0 10px; }
.remember-me { display: inline-flex !important; grid-template-columns: auto auto; align-items: center; gap: 8px !important; }
.remember-me input { width: 18px; height: 18px; }
.login-options a { color: #1a7cff; font-weight: 850; text-decoration: none; }
.login-submit { height: 58px; border: 0; border-radius: 12px; color: #ffffff; background: linear-gradient(135deg, #006b52, #11805f); font-size: 17px; font-weight: 950; text-transform: uppercase; box-shadow: 0 14px 28px rgba(0, 92, 69, .2); }
.login-submit:hover { background: linear-gradient(135deg, #005c45, #2e9f73); }

.login-mini-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 32px; padding-top: 26px; border-top: 1px solid #e7efec; }
.login-mini-features div { display: grid; justify-items: center; gap: 7px; color: #5f716c; font-size: 12px; font-weight: 700; }
.login-mini-features .nav-icon { width: 28px; height: 28px; color: #006b52; }
.login-mini-features strong { color: #314941; font-size: 14px; }
.login-footer { position: absolute; left: 56px; right: 56px; bottom: 28px; display: flex; justify-content: space-between; color: #64756f; font-weight: 750; }
.login-footer strong { color: #006b52; background: #ffffff; border: 1px solid #dff3ec; border-radius: 999px; padding: 8px 18px; }

@keyframes loginDrawBrand {
    to { stroke-dashoffset: 0; }
}

@keyframes loginSurfaceFadeIn {
    to { opacity: 1; }
}

@keyframes loginTextReveal {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes loginCyberPulse {
    0% {
        fill: transparent;
        filter: drop-shadow(0 0 2px rgba(0, 255, 102, .28));
    }
    100% {
        fill: rgba(53, 240, 140, .08);
        filter: drop-shadow(0 0 14px rgba(0, 255, 102, .62));
    }
}

@keyframes loginSpark1 {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(-60px, -40px) scale(0); opacity: 0; }
}

@keyframes loginSpark2 {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(70px, -20px) scale(0); opacity: 0; }
}

@keyframes loginSpark3 {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(10px, 60px) scale(0); opacity: 0; }
}

@keyframes loginSpark4 {
    0% { transform: translate(0, 0) scale(1); opacity: 0; }
    10% { opacity: 1; }
    100% { transform: translate(-50px, 30px) scale(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .login-brand-outline,
    .login-brand-tie,
    .login-brand-fill,
    .login-brand-text,
    .login-brand-slogan,
    .login-spark {
        animation: none !important;
    }

    .login-brand-outline,
    .login-brand-tie {
        stroke-dashoffset: 0;
    }

    .login-brand-fill,
    .login-brand-text,
    .login-brand-slogan {
        opacity: 1;
    }

    .login-spark {
        display: none;
    }
}

.page {
    display: flex;
    min-height: 100vh;
    background: var(--page);
}

.sidebar {
    width: 232px;
    flex: 0 0 232px;
    height: 100vh;
    position: sticky;
    top: 0;
    align-self: flex-start;
    color: #fff;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(123, 199, 170, .28) 0, rgba(123, 199, 170, 0) 32%),
        linear-gradient(180deg, #006b52 0%, #005c45 44%, #004d3a 100%);
    border-right: 1px solid rgba(255, 255, 255, .08);
    box-shadow: 12px 0 36px rgba(2, 41, 32, .08);
    z-index: 20;
}

.app-main {
    flex: 1;
    min-width: 0;
    position: relative;
}

.content {
    min-height: 100vh;
    transition: filter .22s ease, opacity .22s ease, transform .22s ease;
}

.user-topbar {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(0, 92, 69, .08);
    position: sticky;
    top: 0;
    z-index: 12;
    backdrop-filter: blur(12px);
}

.user-topbar-info { display: flex; align-items: center; gap: 14px; color: #23433b; font-weight: 800; }
.notification-button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid #dff3ec; color: #2e9f73; background: #ffffff; }
.current-user { display: grid; gap: 2px; min-width: 170px; }
.current-user strong { font-size: 14px; }
.current-user small { color: #60706a; font-size: 12px; }
.logout-button { min-height: 36px; display: inline-flex; align-items: center; border-radius: 999px; padding: 0 14px; color: #ffffff; background: #006b52; text-decoration: none; font-weight: 850; }
.logout-button:hover { background: #005c45; color: #ffffff; }

body.route-loading .content {
    filter: blur(7px);
    opacity: .58;
    transform: scale(.998);
    pointer-events: none;
    user-select: none;
}

.route-loading-overlay {
    position: fixed;
    inset: 24px 24px 24px 256px;
    z-index: 15;
    display: grid;
    place-items: center;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity .22s ease, visibility .22s ease;
}

body.route-loading .route-loading-overlay {
    opacity: 1;
    visibility: visible;
}

.route-loading-card {
    position: relative;
    width: min(920px, calc(100vw - 310px));
    min-height: 520px;
    overflow: hidden;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, .96) 0, rgba(255, 255, 255, .86) 42%, rgba(244, 250, 247, .96) 100%),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(238, 249, 244, .94));
    border: 1px solid rgba(0, 92, 69, .09);
    box-shadow: 0 28px 80px rgba(4, 47, 38, .22);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #005c45;
    isolation: isolate;
}

.route-loading-card::before,
.route-loading-card::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -26%;
    height: 52%;
    background:
        repeating-radial-gradient(ellipse at 50% 100%, rgba(46, 159, 115, .13) 0 1px, transparent 2px 12px);
    border-radius: 50% 50% 0 0;
    opacity: .62;
    transform: rotate(-2deg);
    z-index: -1;
}

.route-loading-card::after {
    bottom: -31%;
    opacity: .34;
    transform: rotate(3deg);
}

.route-loading-pattern {
    position: absolute;
    top: 20px;
    width: 96px;
    height: 128px;
    opacity: .28;
    background-image: radial-gradient(#7bc7aa 1.4px, transparent 1.4px);
    background-size: 14px 14px;
}

.route-loading-pattern.left { left: 22px; }
.route-loading-pattern.right { right: 22px; }

.route-loading-logo {
    width: 210px;
    height: 132px;
    object-fit: contain;
    margin-bottom: 6px;
    filter: drop-shadow(0 14px 28px rgba(0, 92, 69, .2));
}

.route-loading-card h2 {
    margin: 0 0 32px;
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 0;
}

.route-loader-ring {
    width: 126px;
    height: 126px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    position: relative;
    margin-bottom: 16px;
    color: #0b7a5c;
    background: rgba(255, 255, 255, .55);
}

.route-loader-ring::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 10px solid rgba(0, 92, 69, .09);
    border-top-color: #006b52;
    border-right-color: #2e9f73;
    animation: route-spin 1.05s linear infinite;
    box-shadow: 0 10px 28px rgba(0, 92, 69, .12);
}

.route-loader-ring .nav-icon {
    width: 48px;
    height: 48px;
    color: #0b7a5c;
    stroke-width: 1.8;
}

.route-loading-card strong {
    display: block;
    min-height: 30px;
    font-size: 21px;
    font-weight: 900;
}

.route-loading-card > span {
    display: block;
    margin-top: 4px;
    color: #60706a;
    font-size: 15px;
    font-weight: 650;
}

.route-loading-dots {
    display: flex;
    gap: 7px;
    margin-top: 24px;
}

.route-loading-dots i {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #d9ebe4;
    transition: background .2s ease, transform .2s ease;
}

.route-loading-dots i.active {
    background: #006b52;
    transform: scale(1.12);
}

@keyframes route-spin {
    to { transform: rotate(360deg); }
}

.brand-panel {
    height: 198px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    padding: 24px 18px 16px;
}

.brand-logo-link {
    display: block;
    width: 168px;
    height: 112px;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.brand-logo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}

.brand-version {
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .2px;
}

.navbar-toggler { display: none; }

.nav-scrollable {
    height: calc(100vh - 198px);
    overflow-y: auto;
    padding: 0 12px 18px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.45) transparent;
}

.nav-scrollable::-webkit-scrollbar { width: 8px; }
.nav-scrollable::-webkit-scrollbar-track { background: transparent; }
.nav-scrollable::-webkit-scrollbar-thumb { background: rgba(255,255,255,.38); border-radius: 999px; }

.sidebar-nav { display: grid; gap: 4px; }
.nav-item { min-width: 0; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 10px;
    color: rgba(255, 255, 255, .86);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .1px;
    line-height: 1.2;
    transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.nav-link:hover {
    color: #fff;
    background: #0b7a5c;
}

.nav-link.active {
    color: #fff;
    background: #1d8f6a;
    box-shadow: inset 3px 0 0 #dff3ec, 0 10px 24px rgba(0, 62, 47, .18);
}

.nav-icon {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #dff3ec;
    opacity: 1;
}

button.row-icon.danger .nav-icon,
button.row-icon.danger .nav-icon path {
    color: #d92d20 !important;
    stroke: #d92d20 !important;
}

.dashboard-shell { padding: 0 24px 20px; }

.dashboard-header {
    min-height: 72px;
    background: #fff;
    margin: 0 -24px 28px;
    padding: 14px 18px 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid var(--line);
}

.dashboard-title-block { display: grid; gap: 5px; min-width: 0; }

.dashboard-header h1 {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dashboard-title-block span {
    margin: 0;
    font-size: 13px;
    color: #3e5261;
    font-weight: 800;
}

.header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    white-space: nowrap;
    font-size: 13.5px;
    color: #10251f;
    font-weight: 600;
    margin-left: auto;
}

.dashboard-logout { margin-left: 4px; }

.soft-button {
    border: 0;
    height: 32px;
    min-width: 178px;
    border-radius: 10px;
    background: var(--mint);
    color: var(--green-900);
    padding: 0 18px;
    font-weight: 700;
}

.soft-button.small { min-width: 96px; height: 28px; border-radius: 7px; font-size: 12px; }

.status-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    min-width: 168px;
    padding: 0 20px;
    border-radius: 999px;
    background: #49a77c;
    color: #fff;
    font-weight: 800;
    font-size: 12px;
}

.status-pill.system { min-width: 148px; }

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(210px, 1fr));
    gap: 26px;
    margin-bottom: 24px;
}

.metric-card {
    min-height: 110px;
    background: var(--card);
    border-radius: 15px;
    padding: 26px 36px;
    display: flex;
    align-items: center;
    gap: 22px;
    position: relative;
    border: 1px solid rgba(5, 50, 39, .04);
    box-shadow: 0 14px 30px rgba(2, 41, 32, .035);
}

.metric-card strong { display: block; font-size: 25px; font-weight: 850; margin-bottom: 6px; letter-spacing: 0; }
.metric-card span:last-child { color: #41505f; font-size: 13px; font-weight: 500; }

.metric-icon {
    width: 58px;
    height: 58px;
    border-radius: 13px;
    display: inline-grid;
    place-items: center;
    color: var(--green-900);
    font-weight: 850;
    font-size: 18px;
    flex: 0 0 58px;
    box-shadow: inset 0 0 0 1px rgba(0, 92, 69, .08);
}

.metric-icon .nav-icon {
    width: 29px;
    height: 29px;
    flex: 0 0 29px;
    color: inherit;
    stroke: currentColor;
    stroke-width: 2.25;
    opacity: 1;
}

.metric-icon.warm {
    background: #f4e7c9;
    color: #006b52;
}

.metric-icon.blue {
    background: #d5edf8;
    color: #005c45;
}

.metric-icon.mint {
    background: var(--mint);
    color: #005c45;
}
.mini-menu { position: absolute; right: 12px; top: 10px; width: 28px; height: 28px; border: 0; border-radius: 6px; background: #428dab; color: #fff; }

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(520px, 1fr) minmax(420px, .9fr);
    gap: 28px;
}

.panel, .finance-card { border-radius: 16px; min-height: 286px; }
.panel { background: #fff; padding: 44px 54px; border: 1px solid rgba(5, 50, 39, .04); box-shadow: 0 14px 30px rgba(2, 41, 32, .035); }
.panel h2, .finance-card h2 { margin: 0; font-size: 23px; font-weight: 850; letter-spacing: 0; }

.finance-card {
    background: linear-gradient(135deg, #214f49, #123c36);
    color: #fff;
    padding: 44px 58px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 18px 38px rgba(6, 64, 51, .18);
}

.finance-card > span, .finance-bottom span { font-size: 12px; color: #e4fffa; font-weight: 700; }
.finance-card > strong { font-size: 32px; font-weight: 850; letter-spacing: 0; }
.finance-bottom { display: flex; justify-content: space-between; align-items: center; color: #fff7c9; font-size: 18px; }

.bank-list { margin: 28px 0 18px; display: grid; gap: 2px; }
.bank-list div, .bank-total { display: flex; justify-content: space-between; gap: 18px; }
.bank-list b, .bank-list strong { font-size: 12px; }
.bank-total { margin-top: 18px; align-items: baseline; }
.bank-total b { font-size: 20px; }
.bank-total strong { font-size: 24px; font-weight: 850; }
.integration-badge { display: inline-flex; margin-top: 34px; background: var(--orange); color: #fff; border-radius: 10px; padding: 8px 18px; font-weight: 800; font-size: 12px; }

.updates-panel { min-height: 420px; padding: 26px 34px 34px; }
.panel-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 36px; }
.updates-list { display: grid; gap: 24px; }
.updates-list div { display: grid; grid-template-columns: 70px 1fr; gap: 0; align-items: start; font-size: 13px; }
.updates-list b { color: #009640; font-weight: 850; }
.actions-panel { min-height: 420px; padding: 42px 48px; }
.quick-actions { margin-top: 28px; display: grid; gap: 6px; }
.quick-actions button {
    height: 38px;
    border: 0;
    border-radius: 7px;
    background: #489174;
    color: #fff;
    text-align: left;
    padding: 0 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}
.quick-actions span { display: inline-grid; place-items: center; width: 24px; opacity: .95; }
.quick-actions .nav-icon {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    color: #ffffff;
    stroke: currentColor;
    stroke-width: 2.15;
    opacity: 1;
}
.loading-panel { padding: 40px; color: var(--green-900); font-weight: 700; }

#blazor-error-ui { display: none; }

.kasa-page {
    padding: 24px;
    color: #10231f;
}

.kasa-titlebar {
    min-height: 86px;
    background: linear-gradient(135deg, #2f9b68, #005c45);
    color: #ffffff;
    border-radius: 14px 14px 8px 8px;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 16px 34px rgba(0, 92, 69, .18);
}

.kasa-titlebar span { display: block; font-size: 24px; font-weight: 700; letter-spacing: .08em; }
.kasa-titlebar strong { display: block; margin-top: 6px; font-size: 31px; font-weight: 600; font-style: normal; letter-spacing: 0; }

.kasa-alert { margin-top: 14px; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.kasa-alert.success { background: #dff3ec; color: #005c45; }
.kasa-alert.error { background: #ffe7df; color: #9b2e16; }

.kasa-toolbar { margin: 18px 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.kasa-action { min-height: 38px; border-radius: 8px; padding: 0 16px; font-weight: 650; border: 1px solid #1d8f6a; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.kasa-action.white { background: #ffffff; color: #005c45; }
.kasa-action.white:hover { background: #dff3ec; }
.kasa-action.solid { background: #006b52; color: #ffffff; border-color: #006b52; }
.kasa-action.solid:hover { background: #0b7a5c; }
.kasa-action.danger { background: #fff7f4; color: #a13d24; border-color: #efb6a3; }
.kasa-action:disabled { cursor: not-allowed; opacity: .5; }

.kasa-entry-panel, .kasa-grid-card, .kasa-side-card { background: #ffffff; border: 1px solid rgba(0, 92, 69, .08); border-radius: 14px; box-shadow: 0 14px 32px rgba(0, 67, 50, .06); }
.kasa-entry-panel { margin-bottom: 18px; padding: 22px; }
.kasa-entry-panel h2, .kasa-grid-header h2, .kasa-side-card h2 { margin: 0; font-size: 22px; font-weight: 650; }

.kasa-form-grid, .sayim-grid { margin-top: 18px; display: grid; grid-template-columns: 170px minmax(260px, 1fr) 170px 170px; gap: 14px; align-items: end; }
.movement-form-grid { grid-template-columns: 170px minmax(360px, 1fr) 190px; }
.kasa-form-grid label, .sayim-grid label { display: grid; gap: 6px; color: #24443d; font-size: 13px; font-weight: 600; }
.kasa-form-grid input, .kasa-form-grid select, .sayim-grid input { height: 40px; border: 1px solid #cfe6dd; border-radius: 8px; padding: 0 12px; color: #122821; font-weight: 500; outline: none; background: #fff; }
.kasa-form-grid input.money-input { text-align: right; font-variant-numeric: tabular-nums; }
.kasa-form-grid input:focus, .kasa-form-grid select:focus, .sayim-grid input:focus { border-color: #1d8f6a; box-shadow: 0 0 0 3px rgba(29, 143, 106, .12); }
.span-2 { grid-column: span 2; }
.kasa-filter-panel { margin-top: -4px; }
.kasa-filter-grid { grid-template-columns: repeat(4, minmax(150px, 1fr)); }
.kasa-form-actions { margin-top: 18px; display: flex; gap: 10px; }

.kasa-panel-header { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; }
.kasa-panel-header span { color: #005c45; font-weight: 600; }
.sayim-grid { grid-template-columns: 240px 1fr; align-items: stretch; gap: 18px; }
.sayim-date-field { align-self: start; }
.banknote-grid { display: grid; grid-column: 2; grid-template-columns: repeat(4, minmax(140px, 1fr)); gap: 12px; }
.banknote-input { min-height: 92px; border: 1px solid #d7ebe4; border-radius: 12px; padding: 12px; background: linear-gradient(180deg, #ffffff, #f8fcfa); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72); }
.banknote-input span { color: #005c45; font-size: 18px; font-weight: 650; }
.banknote-input small { color: #6b7f78; font-size: 12px; font-weight: 500; }
.banknote-input input { margin-top: 10px; text-align: right; font-variant-numeric: tabular-nums; }
.banknote-input input::-webkit-outer-spin-button,
.banknote-input input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.sayim-notes-field { grid-column: 1 / -1; }
.sayim-notes-field input { height: 54px; }
.sayim-summary { margin-top: 18px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sayim-summary div { background: #f4f7f6; border-radius: 10px; padding: 14px; }
.sayim-summary span { display: block; color: #4f6760; font-size: 12px; font-weight: 550; }
.sayim-summary strong { display: block; margin-top: 4px; font-size: 20px; font-weight: 600; }
.positive { color: #006b52; }
.negative { color: #b94124; }

.kasa-content-grid { display: grid; grid-template-columns: minmax(720px, 1fr) 340px; gap: 18px; }
.kasa-grid-card, .kasa-side-card { padding: 20px; }
.kasa-grid-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.kasa-grid-header span { color: #60746e; font-size: 13px; font-weight: 500; }
.kasa-table-wrap { overflow: auto; border: 1px solid #dff3ec; border-radius: 10px; }
.kasa-table { width: 100%; border-collapse: collapse; min-width: 920px; font-size: 13px; }
.kasa-table thead { background: #dff3ec; color: #005c45; }
.kasa-table th, .kasa-table td { padding: 12px 14px; border-bottom: 1px solid #edf4f1; vertical-align: middle; }
.kasa-table th { font-size: 12px; font-weight: 650; text-transform: uppercase; letter-spacing: .03em; }
.kasa-table th.type-column { font-weight: 500; }
.kasa-table tbody tr:nth-child(even) { background: #f8fbfa; }
.kasa-table tbody tr { cursor: pointer; }
.kasa-table tbody tr:hover { background: #eef8f4; }
.kasa-table tbody tr.selected { background: #bfe9d9; }
.kasa-table .money { text-align: right; white-space: nowrap; }
.kasa-table .strong { font-weight: 600; }
.kasa-table .zero-money { color: #a8b7b1; font-weight: 500; }
.kasa-table .description { max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.type-badge { display: inline-flex; align-items: center; min-width: 74px; justify-content: center; border-radius: 999px; padding: 5px 10px; background: #eef8f4; color: #005c45; font-weight: 400; }
.type-badge.tediye { background: #fff3e3; color: #b45309; border: 0; }
.receipt-link { min-height: 30px; border: 1px solid #9ed5bf; border-radius: 7px; background: #fff; color: #006b52; font-weight: 600; padding: 0 10px; cursor: pointer; }
.receipt-link:hover { background: #dff3ec; }
.kasa-pagination { border: 1px solid #dff3ec; border-top: 0; border-radius: 0 0 10px 10px; }
.empty-row { text-align: center; color: #61736e; padding: 34px !important; }

.kasa-side-card dl { margin: 18px 0 0; display: grid; gap: 12px; }
.kasa-side-card dl div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid #edf4f1; padding-bottom: 10px; }
.kasa-side-card dt { color: #60746e; font-size: 12px; font-weight: 550; }
.kasa-side-card dd { margin: 0; font-weight: 600; text-align: right; }
.kasa-side-card .muted { color: #60746e; font-weight: 500; }
.sayim-note { margin: 18px 0 0; color: #304d45; background: #f4f7f6; border-radius: 10px; padding: 12px; max-height: 96px; overflow: hidden; }

.admin-page { padding: 24px; }
.admin-page-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 18px; }
.admin-page-header h1 { margin: 0; font-size: 28px; font-weight: 950; color: #071711; }
.admin-page-header p { margin: 6px 0 0; color: #60706a; font-weight: 700; }
.admin-header-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.admin-table-card, .profile-card, .access-card { background: #ffffff; border: 1px solid rgba(0, 92, 69, .08); border-radius: 14px; box-shadow: 0 14px 32px rgba(0, 67, 50, .06); }
.admin-table-card { overflow: auto; }
.admin-table-card.table-card-spaced { padding: 12px; }
.admin-table-card.table-card-spaced > .settings-section-title { margin: 2px 0 14px; }
.admin-table { width: 100%; min-width: 940px; border-collapse: collapse; font-size: 14px; }
.admin-table th { padding: 14px 16px; text-align: left; color: #005c45; background: #dff3ec; font-size: 12px; text-transform: uppercase; }
.admin-table td { padding: 13px 16px; border-bottom: 1px solid #edf4f1; color: #203b34; font-weight: 700; }
.user-state { display: inline-flex; align-items: center; border-radius: 999px; padding: 5px 10px; font-size: 12px; font-weight: 900; }
.user-state.active { color: #005c45; background: #dff3ec; }
.user-state.passive { color: #8a3424; background: #fff0ec; }
.mini-action { min-height: 32px; border: 1px solid #1d8f6a; border-radius: 8px; background: #ffffff; color: #005c45; font-weight: 850; padding: 0 10px; }
.mini-action.muted { color: #7a8984; border-color: #d5e4df; }
.mini-action.danger { color: #b4232b; border-color: #f3c1c6; background: #fff7f8; }
.mini-action.danger:hover { border-color: #e58a94; background: #fff0f1; }
.version-note-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-card { padding: 22px; max-width: 620px; }
.profile-card dl { margin: 0; display: grid; gap: 14px; }
.profile-card dl div { display: flex; justify-content: space-between; gap: 24px; border-bottom: 1px solid #edf4f1; padding-bottom: 12px; }
.profile-card dt { color: #60706a; font-weight: 850; }
.profile-card dd { margin: 0; color: #071711; font-weight: 900; text-align: right; }
.access-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f4f7f6; }
.access-card { width: min(100%, 460px); padding: 36px; text-align: center; }
.access-card img { width: 220px; max-width: 90%; }
.access-card h1 { margin: 22px 0 8px; color: #005c45; }
.access-card p { color: #60706a; font-weight: 750; }
.access-card a { display: inline-flex; align-items: center; justify-content: center; min-height: 42px; margin-top: 14px; padding: 0 18px; border-radius: 10px; background: #006b52; color: #fff; text-decoration: none; font-weight: 850; }

.kooperatif-switch-link {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    max-width: 260px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 999px;
    padding: 0 12px;
    color: #005c45;
    background: #dff3ec;
    text-decoration: none;
    font-weight: 900;
}

.admin-form-panel {
    margin-bottom: 18px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid rgba(0, 92, 69, .08);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0, 67, 50, .06);
}

.admin-form-panel h2 {
    margin: 0 0 16px;
    font-size: 20px;
    font-weight: 950;
    color: #071711;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 14px;
}

.admin-form-grid.two {
    grid-template-columns: repeat(2, minmax(180px, 1fr));
}

.admin-form-grid.ai-settings-grid {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
}

.admin-form-grid label {
    display: grid;
    gap: 6px;
    color: #24443d;
    font-size: 13px;
    font-weight: 850;
}

.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea,
.version-notes-admin-table textarea,
.version-notes-admin-table input {
    min-height: 40px;
    width: 100%;
    border: 1px solid #cfe6dd;
    border-radius: 8px;
    padding: 0 12px;
    color: #122821;
    background: #ffffff;
    font-weight: 750;
    outline: none;
}

.admin-form-grid textarea,
.version-notes-admin-table textarea {
    min-height: 74px;
    padding: 10px 12px;
    resize: vertical;
    line-height: 1.35;
}

.admin-form-grid input:focus,
.admin-form-grid select:focus,
.admin-form-grid textarea:focus,
.version-notes-admin-table textarea:focus,
.version-notes-admin-table input:focus {
    border-color: #1d8f6a;
    box-shadow: 0 0 0 3px rgba(29, 143, 106, .12);
}

.version-notes-admin-table {
    margin-top: 16px;
    box-shadow: none;
}

.version-notes-admin-table .admin-table td {
    vertical-align: middle;
}

.settings-hint {
    margin-top: 10px;
    color: #60746e;
    font-size: 13px;
}

.check-field {
    display: flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 10px !important;
    min-height: 40px;
}

.check-field input {
    width: 18px;
    min-height: 18px;
}

.kooperatif-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.kooperatif-card {
    min-height: 180px;
    display: grid;
    align-content: space-between;
    gap: 14px;
    padding: 18px;
    background: #ffffff;
    border: 1px solid rgba(0, 92, 69, .08);
    border-radius: 14px;
    box-shadow: 0 14px 32px rgba(0, 67, 50, .06);
}

.kooperatif-card h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 950;
    color: #071711;
}

.kooperatif-card span {
    color: #60706a;
    font-weight: 750;
}

.empty-state {
    padding: 24px;
    border-radius: 12px;
    background: #ffffff;
    color: #60706a;
    font-weight: 800;
}

.yetki-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.yetki-list span {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 0 9px;
    background: #dff3ec;
    color: #005c45;
    font-size: 12px;
    font-weight: 900;
}

.yetki-list span.passive {
    background: #fff0ec;
    color: #8a3424;
}

.management-grid {
    display: grid;
    grid-template-columns: minmax(360px, 1.2fr) minmax(300px, .8fr);
    gap: 18px;
}

.management-actions {
    display: grid;
    gap: 10px;
}

.management-actions a {
    min-height: 42px;
    display: flex;
    align-items: center;
    border-radius: 10px;
    padding: 0 14px;
    color: #005c45;
    background: #eef8f4;
    border: 1px solid #dff3ec;
    text-decoration: none;
    font-weight: 900;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.hesap-table {
    margin-top: 18px;
}

.members-page {
    padding: 22px;
    color: #1f2937;
}

.members-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 16px;
}

.members-header span {
    display: block;
    color: #6b7280;
    font-size: 12px;
    font-weight: 800;
}

.members-header strong {
    display: block;
    font-size: 24px;
}

.members-search {
    display: flex;
    gap: 8px;
    min-width: min(460px, 100%);
    align-items: center;
}

.members-search input,
.member-form-grid input,
.member-form-grid textarea,
.member-form-grid select,
.movement-entry input,
.movement-entry select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 9px 10px;
    background: #ffffff;
}

.members-search button,
.member-form-actions button,
.movement-actions button {
    border: 0;
    border-radius: 6px;
    padding: 10px 16px;
    background: #2f8f5b;
    color: #ffffff;
    font-weight: 800;
}

.members-search input {
    height: 44px;
    min-height: 44px;
    font-size: 15px;
    padding: 0 12px;
}

.members-search button {
    min-width: auto;
    height: 44px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 7px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}

.members-search .new-member-button {
    background: #ffffff;
    color: #207a4c;
    border: 1px solid #2f8f5b;
}

.members-shell {
    display: block;
}

.members-list-accordion {
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.members-list-toggle {
    width: 100%;
    min-height: 46px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    border: 0;
    background: #ffffff;
    color: #1f2937;
    padding: 0 16px;
    text-align: left;
}

.members-list-toggle span {
    font-weight: 800;
}

.members-list-toggle strong,
.members-list-toggle small {
    color: #60706a;
    font-size: 13px;
    font-weight: 700;
}

.members-list,
.members-panel,
.member-profile {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.members-list {
    padding: 10px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
    max-height: 260px;
    overflow: auto;
    border-top: 1px solid #eef2f7;
}

.member-list-item {
    width: 100%;
    display: block;
    text-align: left;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 6px;
    padding: 11px 12px;
    color: #1f2937;
}

.member-list-item.active {
    background: #eaf7ef;
    border-color: #bfe4cc;
}

.member-list-item strong,
.member-list-item span {
    display: block;
}

.member-list-item span {
    color: #6b7280;
    font-size: 12px;
}

.member-profile {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    margin-bottom: 14px;
}

.member-profile h1 {
    margin: 8px 0 6px;
    font-size: 26px;
}

.member-profile p {
    margin: 0;
    color: #6b7280;
}

.member-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 800;
}

.member-status.active {
    background: #dcfce7;
    color: #166534;
}

.member-status.passive {
    background: #ffedd5;
    color: #9a3412;
}

.member-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 10px;
}

.member-summary div {
    background: #f8fafc;
    border-radius: 6px;
    padding: 12px;
}

.member-summary span {
    display: block;
    color: #6b7280;
    font-size: 12px;
}

.member-summary strong {
    display: block;
    margin-top: 4px;
}

.members-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.members-tabs button {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #ffffff;
    color: #374151;
    padding: 10px 14px;
    font-weight: 800;
}

.members-tabs button.active {
    border-color: #2f8f5b;
    background: #2f8f5b;
    color: #ffffff;
}

.members-panel {
    padding: 16px;
}

.movement-entry,
.member-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.movement-entry {
    grid-template-columns: 140px minmax(180px, 1fr) 160px minmax(240px, 2fr) auto;
    align-items: end;
}

.movement-entry label,
.member-form-grid label {
    display: grid;
    gap: 6px;
    color: #4b5563;
    font-weight: 700;
}

.member-form-grid label span {
    font-size: 13px;
}

.member-form-grid textarea {
    min-height: 74px;
    resize: vertical;
}

.members-table-wrap {
    overflow: auto;
}

.members-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.members-table th,
.members-table td {
    border-bottom: 1px solid #e5e7eb;
    padding: 10px;
    vertical-align: top;
}

.members-table th {
    text-align: left;
    background: #f8fafc;
    color: #4b5563;
}

.money {
    text-align: right;
    white-space: nowrap;
}

.strong {
    font-weight: 800;
}

.positive {
    color: #166534;
}

.negative {
    color: #b91c1c;
}

.member-form-actions {
    display: flex;
    justify-content: flex-end;
}

.quick-dues-page {
    padding: 22px 28px 28px;
    background: #f4f7f6;
    min-height: calc(100vh - 72px);
    color: #1f2937;
}

.quick-dues-page:focus {
    outline: none;
}

.amount-with-note {
    display: grid;
    grid-template-columns: minmax(160px, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.calculation-note {
    color: #006b52;
    font-size: 12px;
    font-weight: 850;
    white-space: nowrap;
}

.quick-dues-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    margin-bottom: 14px;
}

.quick-dues-header span {
    display: block;
    color: #006b52;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
}

.quick-dues-header h1 {
    margin: 4px 0 0;
    font-size: 26px;
    color: #1f2937;
    letter-spacing: 0;
}

.quick-dues-warning {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    border: 1px solid #f6c36d;
    background: #fff7e6;
    color: #8a4b00;
    border-radius: 8px;
    padding: 11px 14px;
}

.quick-dues-entry {
    display: grid;
    grid-template-columns: minmax(240px, 1.8fr) 150px minmax(220px, 1.5fr) minmax(180px, 1fr) 150px auto;
    gap: 10px;
    align-items: end;
    padding: 14px;
    margin-bottom: 14px;
    background: #ffffff;
    border: 1px solid #d9e2e0;
    border-radius: 8px;
}

.quick-dues-entry label {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #334155;
    font-size: 13px;
    font-weight: 800;
}

.quick-dues-entry input {
    width: 100%;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 0 10px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
}

.quick-dues-entry input:focus {
    border-color: #2f8f5b;
    box-shadow: 0 0 0 3px rgba(47, 143, 91, .16);
    outline: none;
}

.quick-dues-table-panel {
    background: #ffffff;
    border: 1px solid #d9e2e0;
    border-radius: 8px;
    overflow: hidden;
}

.quick-dues-table-header,
.quick-dues-footer {
    min-height: 58px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.quick-dues-table-header h2 {
    margin: 0;
    font-size: 18px;
}

.quick-dues-table-header div,
.quick-dues-footer div {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #475569;
}

.quick-dues-table-header strong,
.quick-dues-footer strong {
    color: #005c45;
}

.quick-dues-table {
    min-width: 1060px;
}

.quick-dues-table tbody tr.selected {
    background: #eaf7ef;
}

.quick-dues-table .description {
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.quick-dues-footer {
    justify-content: flex-end;
    border-top: 1px solid #e2e8f0;
    border-bottom: 0;
}

.danger-text {
    border-color: #fecaca !important;
    color: #b91c1c !important;
}

.bank-page {
    padding: 22px 28px 28px;
    background: #f4f7f6;
    min-height: calc(100vh - 72px);
    color: #1f2937;
}

.bank-page-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.bank-page-header span {
    display: block;
    color: #006b52;
    font-size: 12px;
    font-weight: 500;
}

.bank-page-header h1 {
    margin: 4px 0 6px;
    font-size: 26px;
    font-weight: 500;
    letter-spacing: 0;
}

.bank-page-header p {
    max-width: 820px;
    margin: 0;
    color: #64748b;
}

.bank-header-actions,
.bank-table-actions,
.bank-filter-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.bank-layout {
    display: grid;
    grid-template-columns: minmax(720px, 1fr) 330px;
    gap: 16px;
    align-items: start;
}

.bank-main,
.bank-side {
    display: grid;
    gap: 14px;
}

.bank-card {
    background: #ffffff;
    border: 1px solid #d9e2e0;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .04);
}

.bank-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bank-section-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.bank-record-nav {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #475569;
}

.bank-record-nav button {
    width: 32px;
    height: 30px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #005c45;
}

.bank-record-nav strong {
    min-width: 72px;
    text-align: center;
    font-weight: 400;
}

.bank-nav-loading {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 30px;
    border: 1px solid #bfe8d6;
    border-radius: 999px;
    background: #edf9f3;
    color: #006b52;
    padding: 0 10px;
    font-size: 12px;
}

.bank-nav-loading span {
    width: 13px;
    height: 13px;
    border: 2px solid #9ed5bf;
    border-top-color: #007a5c;
    border-radius: 999px;
    animation: bankSpin .7s linear infinite;
}

.bank-form-grid,
.bank-filter-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.bank-form-grid label,
.bank-filter-grid label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-size: 13px;
    font-weight: 500;
}

.bank-form-grid input,
.bank-form-grid select,
.bank-form-grid textarea,
.bank-filter-grid input,
.bank-filter-grid select,
.template-editor input,
.template-editor textarea,
.bank-search-row input,
.table-input {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
}

.bank-form-grid input,
.bank-form-grid select,
.bank-filter-grid input,
.bank-filter-grid select,
.template-editor input,
.bank-search-row input,
.table-input {
    height: 38px;
    padding: 0 10px;
}

.bank-form-grid textarea,
.template-editor textarea {
    min-height: 76px;
    padding: 9px 10px;
    resize: vertical;
}

.bank-check {
    display: inline-flex !important;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 8px !important;
}

.bank-check input {
    width: 18px;
    height: 18px;
}

.bank-summary-grid {
    display: grid;
    gap: 10px;
}

.bank-summary-grid div,
.bank-summary-preview div {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
}

.bank-summary-grid span,
.bank-summary-preview span {
    display: block;
    color: #64748b;
    font-size: 12px;
    margin-bottom: 4px;
}

.bank-summary-grid strong,
.bank-summary-preview strong {
    color: #005c45;
    font-size: 16px;
    font-weight: 400;
}

.bank-filter-toggle {
    width: 100%;
    min-height: 42px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 0;
    background: transparent;
    color: #334155;
    padding: 0;
}

.bank-filter-actions {
    margin-top: 12px;
}

.bank-table-card {
    padding: 0;
    overflow: hidden;
}

.bank-table-card > .bank-section-title {
    padding: 14px 16px 0;
}

.bank-table {
    min-width: 1180px;
}

.bank-table th,
.bank-table td {
    vertical-align: middle;
}

.bank-table .description {
    max-width: 340px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bank-table tbody tr.selected {
    background: #e0f4e8;
}

.bank-table tbody tr.expense-row {
    background: #fffaf2;
}

.bank-table tbody tr.decision-ready td:first-child {
    border-left: 4px solid #2f8f5b;
}

.bank-table .zero-money {
    color: #a8b3bd;
    background: #f8fafc;
}

.bank-table.compact {
    min-width: 760px;
}

.center {
    text-align: center;
}

.template-editor {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.template-order-field {
    display: grid;
    gap: 5px;
    color: #64748b;
    font-size: 12px;
    font-weight: 400;
}

.template-order-field input {
    height: 38px;
}

.template-list {
    display: grid;
    gap: 6px;
    max-height: 260px;
    overflow: auto;
}

.template-add-button {
    border-color: #007a5c;
    background: #007a5c;
    color: #ffffff;
}

.template-add-button:hover {
    border-color: #006348;
    background: #006348;
}

.template-list-row,
.bank-search-results button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #fff;
    color: #334155;
    padding: 9px 10px;
    text-align: left;
}

.template-list-row.active,
.bank-search-results button:hover {
    border-color: #9ed5bf;
    background: #eaf7ef;
}

.template-select-button {
    flex: 1;
    min-width: 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #334155;
    padding: 0;
    text-align: left;
}

.template-delete-button {
    min-width: 58px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #ffd8cd;
    border-radius: 7px;
    background: #b93821;
    color: #ffffff;
    padding: 0 8px;
    font-size: 12px;
}

.template-delete-button:hover {
    border-color: #9f2d18;
    background: #9f2d18;
}

.bank-search-panel {
    margin-bottom: 14px;
}

.bank-search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-bottom: 10px;
}

.bank-search-results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px;
}

.bank-search-results strong,
.bank-search-results span,
.template-list span,
.template-list small {
    display: block;
}

.bank-page strong,
.bank-page .strong {
    font-weight: 400;
}

.bank-page .nav-icon {
    stroke-width: 1.6;
}

@keyframes bankSpin {
    to {
        transform: rotate(360deg);
    }
}

.bank-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, .36);
}

.bank-modal-card {
    width: min(1120px, 100%);
    max-height: min(86vh, 820px);
    overflow: auto;
    background: #ffffff;
    border-radius: 8px;
    padding: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .24);
}

.bank-modal-card.small {
    width: min(780px, 100%);
}

.bank-summary-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 12px 0;
}

.bank-detail-list {
    display: grid;
    gap: 10px;
    margin: 0;
}

.bank-detail-list div {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 12px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 8px;
}

.bank-detail-list dt {
    color: #64748b;
}

.bank-detail-list dd {
    margin: 0;
}

@media (max-width: 1200px) {
    .metric-grid, .dashboard-grid { grid-template-columns: 1fr 1fr; }
    .header-actions { flex-wrap: wrap; justify-content: flex-end; gap: 10px; }
    .kasa-content-grid { grid-template-columns: 1fr; }
    .kasa-form-grid, .kasa-filter-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
    .sayim-grid { grid-template-columns: 1fr; }
    .banknote-grid { grid-column: 1; grid-template-columns: repeat(3, minmax(140px, 1fr)); }
    .quick-dues-entry { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
    .quick-dues-entry button { grid-column: span 2; }
    .bank-layout { grid-template-columns: 1fr; }
    .bank-form-grid, .bank-filter-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
    .login-page { grid-template-columns: 1fr; }
    .login-hero { display: none; }
    .login-main { padding: 32px 18px 82px; }
    .login-footer { left: 18px; right: 18px; }
    .admin-form-grid, .summary-grid, .management-grid { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
    .members-shell { grid-template-columns: 1fr; }
    .members-list { max-height: 280px; }
    .movement-entry { grid-template-columns: repeat(2, minmax(180px, 1fr)); }
    .movement-actions { grid-column: span 2; }
}

@media (max-width: 860px) {
    .page { display: block; }
    .sidebar { position: relative; width: 100%; height: auto; min-height: auto; }
    .route-loading-overlay { inset: 16px; }
    .route-loading-card { width: min(100%, 720px); min-height: 440px; }
    .route-loading-logo { width: 150px; height: 88px; }
    .route-loading-card h2 { font-size: 22px; }
    .brand-panel { height: auto; padding: 16px; }
    .brand-logo-link { width: 132px; height: 92px; }
    .nav-scrollable { height: auto; max-height: 320px; }
    .dashboard-header { min-height: 120px; align-items: flex-start; flex-direction: column; padding: 20px; }
    .metric-grid, .dashboard-grid { grid-template-columns: 1fr; }
    .panel, .finance-card { padding: 28px; }
    .kasa-page { padding: 14px; }
    .kasa-titlebar { align-items: flex-start; }
    .kasa-titlebar strong { font-size: 22px; }
    .kasa-form-grid, .kasa-filter-grid, .sayim-grid, .sayim-summary { grid-template-columns: 1fr; }
    .banknote-grid { grid-template-columns: 1fr 1fr; }
    .span-2 { grid-column: span 1; }
    .user-topbar { position: relative; grid-template-columns: 1fr; }
    .user-topbar-info { flex-wrap: wrap; justify-content: flex-start; }
    .login-card { padding: 34px 22px; }
    .login-mini-features { grid-template-columns: 1fr; }
    .admin-page { padding: 14px; }
    .admin-page-header { align-items: flex-start; flex-direction: column; }
    .admin-form-grid, .summary-grid, .management-grid { grid-template-columns: 1fr; }
    .members-page { padding: 14px; }
    .members-header, .member-profile { align-items: flex-start; flex-direction: column; }
    .members-search, .member-summary, .member-form-grid, .movement-entry { grid-template-columns: 1fr; width: 100%; }
    .movement-actions { grid-column: span 1; }
    .quick-dues-page { padding: 14px; }
    .quick-dues-header, .quick-dues-footer, .quick-dues-table-header { align-items: flex-start; flex-direction: column; }
    .quick-dues-entry { grid-template-columns: 1fr; }
    .quick-dues-entry button { grid-column: span 1; }
    .bank-page { padding: 14px; }
    .bank-page-header, .bank-section-title { align-items: flex-start; flex-direction: column; }
    .bank-header-actions, .bank-table-actions, .bank-filter-actions { justify-content: flex-start; }
    .bank-form-grid, .bank-filter-grid, .bank-search-row, .bank-summary-preview { grid-template-columns: 1fr; }
    .bank-detail-list div { grid-template-columns: 1fr; }
}

.member-list-page {
    padding: 22px 28px 28px;
    background: #f4f7f6;
    min-height: calc(100vh - 72px);
}

.member-list-hero {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    margin-bottom: 18px;
}

.member-list-title {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.member-list-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #dff3ec;
    color: #005c45;
    font-weight: 900;
    font-size: 20px;
}

.member-list-icon .nav-icon {
    width: 24px;
    height: 24px;
    color: #005c45;
    stroke-width: 2.2;
}

.member-list-title h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.1;
    color: #1f2937;
    letter-spacing: 0;
}

.member-list-title p {
    margin: 5px 0 0;
    color: #64748b;
    font-size: 14px;
}

.member-list-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.outline-action,
.primary-action,
.ghost-action,
.bulk-menu > summary {
    min-height: 38px;
    border-radius: 8px;
    padding: 0 16px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #1f2937;
    font-weight: 800;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 8px;
}

.primary-action,
.bulk-menu > summary {
    border-color: #005c45;
    background: #005c45;
    color: #fff;
}

.filter-card,
.list-card {
    background: #fff;
    border: 1px solid #d9e2e0;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, .04);
}

.filter-title {
    width: 100%;
    min-height: 48px;
    padding: 0 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: 0;
    color: #334155;
    font-weight: 900;
    font-size: 15px;
    cursor: pointer;
}

.filter-title strong {
    color: #005c45;
    font-size: 13px;
}

.filter-grid {
    border-top: 1px solid #e2e8f0;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 18px;
}

.filter-grid label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-weight: 800;
    font-size: 13px;
}

.filter-grid input,
.filter-grid select {
    width: 100%;
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 0 11px;
    background: #fff;
    color: #1f2937;
    font-size: 14px;
    font-weight: 500;
}

.filter-actions {
    display: flex;
    gap: 10px;
    padding: 0 18px 18px;
    align-items: center;
}

.push-right { margin-left: auto; }

.result-count {
    margin: 12px 0;
    border: 1px solid #bfe6d7;
    background: #dff3ec;
    color: #005c45;
    border-radius: 8px;
    padding: 12px 16px;
    font-weight: 800;
}

.member-list-table th,
.member-list-table td {
    padding: 10px 12px;
    font-size: 13px;
    vertical-align: middle;
}

.member-list-table tbody tr:hover {
    background: #f8fafc;
}

.member-list-loading-cell {
    height: 170px;
    background: linear-gradient(180deg, #ffffff, #f8fcfa);
}

.member-list-loading {
    min-height: 150px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 12px;
    color: #006b52;
}

.member-list-spinner {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 3px solid #dff3ec;
    border-top-color: #006b52;
    animation: member-list-spin .8s linear infinite;
}

@keyframes member-list-spin {
    to {
        transform: rotate(360deg);
    }
}

.bank-transfer-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin: 22px 0;
    width: 100%;
}

.bank-transfer-stats .stat-card {
    border: 1px solid #d8e8e2;
    border-radius: 14px;
    background: #fff;
    min-height: 88px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 22px rgba(0, 80, 50, .06);
}

.bank-transfer-stats .stat-card.income {
    border-color: #bfe8d8;
}

.bank-transfer-stats .stat-card.expense {
    border-color: #f1d5c7;
}

.bank-transfer-stats .stat-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dff8f1;
    color: #007a62;
    flex: 0 0 52px;
    border: 1px solid #b7e4d7;
    box-shadow: none;
}

.bank-transfer-stats .stat-icon .nav-icon,
.bank-transfer-stats .stat-icon svg {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    color: inherit;
    stroke-width: 2.1;
    opacity: 1;
}

.bank-transfer-stats .stat-icon.total {
    background: #e8f0f7;
    color: #315f78;
    border-color: #bdd3e4;
}

.bank-transfer-stats .stat-icon.matched {
    background: #dcf7ea;
    color: #16825a;
    border-color: #9fdcbe;
}

.bank-transfer-stats .stat-icon.warning {
    background: #fff0c9;
    color: #a76505;
    border-color: #f4cd75;
}

.bank-transfer-stats .stat-icon.ready {
    background: #dff8f1;
    color: #0d8068;
    border-color: #9bdcca;
}

.bank-transfer-stats .stat-icon.income {
    background: #d9f7e8;
    color: #0d7f4d;
    border-color: #93dbb4;
}

.bank-transfer-stats .stat-icon.expense {
    background: #ffe1d6;
    color: #a13c24;
    border-color: #f4ad99;
}

.bank-transfer-stats .stat-content {
    min-width: 0;
}

.bank-transfer-stats .stat-label {
    display: block;
    color: #60756d;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

.bank-transfer-stats .stat-value {
    display: block;
    color: #10251f;
    font-size: 21px;
    font-weight: 650;
    line-height: 1.1;
    margin-top: 4px;
    white-space: nowrap;
}

.bank-transfer-stats .stat-card.income .stat-value {
    color: #007a43;
}

.bank-transfer-stats .stat-card.expense .stat-value {
    color: #a92c12;
}

@media (max-width: 1200px) {
    .bank-transfer-stats {
        display: flex;
        overflow-x: auto;
        gap: 12px;
        padding-bottom: 6px;
    }

    .bank-transfer-stats .stat-card {
        min-width: 170px;
        flex: 0 0 170px;
    }
}

.admin-table tr.row-valid td {
    background: #edf8f2;
}

.admin-table tr.row-warning td {
    background: #fff8e6;
}

.admin-table tr.row-invalid td {
    background: #fff0ed;
}

.admin-table tr.row-muted td {
    background: #f5f7f8;
}

.admin-table .money-cell {
    text-align: right;
    white-space: nowrap;
}

.admin-table .text-cell {
    max-width: 420px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.admin-table .member-match-select {
    min-width: 260px;
    max-width: 360px;
}

.admin-table .muted-text {
    color: #7a8795;
    font-size: .92rem;
    white-space: nowrap;
}

.list-card .members-table-wrap {
    overflow: visible;
}

.member-list-table th button {
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 58px;
    height: 24px;
    border-radius: 999px;
    padding: 0 10px;
    font-weight: 800;
    font-size: 12px;
}

.status-badge.active { background: #dff3ec; color: #006b52; }
.status-badge.passive { background: #fff1e6; color: #b85c00; border: 1px solid #ffa55c; }
.status-badge.terk { background: #ffe4e4; color: #d32f2f; border: 1px solid #ffb4b4; }
.status-badge.devir { background: #e5edf4; color: #475569; }

.row-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.detail-button,
.icon-button,
.row-menu > summary,
.pager button {
    height: 30px;
    border-radius: 7px;
    padding: 0 10px;
    border: 1px solid #9ed5bf;
    background: #fff;
    color: #006b52;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 6px;
}

.icon-button {
    width: 34px;
    padding: 0;
}

.bulk-menu,
.row-menu {
    position: relative;
}

.bulk-menu > summary,
.row-menu > summary {
    list-style: none;
}

.bulk-menu > summary::-webkit-details-marker,
.row-menu > summary::-webkit-details-marker {
    display: none;
}

.bulk-menu div,
.row-menu div {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    z-index: 20;
    min-width: 210px;
    display: grid;
    gap: 4px;
    padding: 8px;
    border: 1px solid #d9e2e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, .16);
}

.row-menu div {
    top: auto;
    bottom: calc(100% + 6px);
}

.member-list-page .nav-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    color: currentColor;
    stroke: currentColor;
    stroke-width: 2.2;
}

.bulk-menu div button,
.row-menu div button {
    border: 0;
    background: transparent;
    text-align: left;
    padding: 9px 10px;
    border-radius: 6px;
    color: #334155;
    font-weight: 700;
    cursor: pointer;
}

.bulk-menu div button:hover,
.row-menu div button:hover {
    background: #f8fafc;
}

.pagination-bar {
    min-height: 60px;
    padding: 12px 16px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    border-top: 1px solid #e2e8f0;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
}

.pagination-bar label {
    display: inline-flex;
    gap: 8px;
    align-items: center;
}

.pagination-bar select {
    height: 34px;
    border: 1px solid #cbd5e1;
    border-radius: 7px;
    padding: 0 8px;
    background: #fff;
}

.member-list-page,
.member-list-page *,
.member-list-page .strong,
.member-list-page strong,
.member-list-page th,
.member-list-page td,
.member-list-page button,
.member-list-page label,
.member-list-page input,
.member-list-page select,
.member-list-page summary {
    font-weight: 400 !important;
    font-synthesis: none;
    text-shadow: none;
}

.member-list-page .nav-icon {
    stroke-width: 1.8;
}

.pager {
    display: flex;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.pager button {
    border-color: #d9e2e0;
    color: #334155;
}

.pager button.active {
    background: #005c45;
    border-color: #005c45;
    color: #fff;
}

.pager button:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.share-summary {
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 14px;
    background: #f8fafc;
    display: grid;
    gap: 10px;
}

.share-summary > div:first-child {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
}

.share-summary span {
    color: #475569;
    font-weight: 900;
}

.share-summary p {
    margin: 0;
    color: #64748b;
}

.share-summary ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.share-summary li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 7px;
    background: #fff;
    border: 1px solid #e2e8f0;
    padding: 9px 11px;
}

.share-summary button {
    justify-self: start;
    height: 36px;
    border: 1px solid #4aa369;
    border-radius: 8px;
    background: #fff;
    color: #006b52;
    font-weight: 900;
    padding: 0 14px;
}

.modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(15, 23, 42, .36);
}

.action-modal {
    width: min(780px, calc(100vw - 48px));
    max-height: min(760px, calc(100vh - 48px));
    overflow: auto;
    display: grid;
    gap: 0;
    background: #fff;
    border: 1px solid #d9e2e0;
    border-radius: 10px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .28);
    color: #0f172a;
}

.action-modal header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.action-modal h2 {
    margin: 2px 0 0;
    font-size: 22px;
    line-height: 1.2;
    color: #10233f;
}

.modal-eyebrow {
    display: block;
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.action-modal .icon-button {
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-color: #0f766e;
    background: #ecfdf5;
    color: #006b52;
}

.action-modal .modal-close-button {
    font-size: 28px;
    line-height: 1;
    font-weight: 700;
    font-family: Arial, Helvetica, sans-serif;
}

.action-modal .icon-button:hover {
    border-color: #006b52;
    background: #dff3ec;
}

.action-modal .icon-button .nav-icon {
    width: 18px;
    height: 18px;
    color: #006b52;
    stroke: #006b52;
    stroke-width: 2.4;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 18px 20px;
}

.action-grid label,
.check-list label {
    min-width: 0;
    display: grid;
    gap: 7px;
    color: #334155;
    font-weight: 800;
}

.action-grid label.wide,
.action-grid .wide-field {
    grid-column: 1 / -1;
}

.action-modal textarea,
.action-modal select,
.action-modal input {
    width: 100%;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0 20px 18px;
}

.check-list label {
    min-height: 42px;
    grid-template-columns: 20px 1fr;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid #d8e6e1;
    border-radius: 8px;
    background: #f8fbfa;
}

.check-list input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #006b52;
}

.action-modal footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 16px 20px 18px;
    border-top: 1px solid #e2e8f0;
}

.cek-ciro-modal header p {
    margin: 8px 0 0;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
}

.ciro-summary {
    display: grid;
    gap: 4px;
    min-height: 74px;
    padding: 14px 16px;
    border: 1px solid #d8e6e1;
    border-radius: 10px;
    background: #f8fbfa;
}

.ciro-summary span {
    color: #64748b;
    font-size: 13px;
    font-weight: 800;
}

.ciro-summary strong {
    color: #005c45;
    font-size: 22px;
    font-weight: 900;
}

@media (max-width: 720px) {
    .modal-backdrop {
        padding: 14px;
    }

    .action-modal {
        width: 100%;
        max-height: calc(100vh - 28px);
    }

    .action-grid,
    .check-list {
        grid-template-columns: 1fr;
    }
}

.settings-page {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px 24px 30px;
    color: #18243a;
}

.settings-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.settings-header h1 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0;
}

.settings-eyebrow {
    display: block;
    margin-bottom: 4px;
    color: #5d6d86;
    font-weight: 500;
}

.settings-header-actions,
.settings-toolbar {
    display: flex;
    align-items: end;
    gap: 12px;
    flex-wrap: wrap;
}

.settings-module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.settings-module-card,
.settings-card {
    border: 1px solid #d8e2ec;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(24, 36, 58, .06);
}

.settings-module-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 150px;
    padding: 22px;
    color: #18243a;
    text-decoration: none;
}

.settings-module-card:hover {
    border-color: #007a63;
    color: #005f4d;
}

.settings-module-card strong {
    font-size: 20px;
    font-weight: 600;
}

.settings-module-card span:last-child {
    color: #5d6d86;
}

.module-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 76px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    background: #e7f6f1;
    color: #006b56;
    font-weight: 800;
}

.module-icon .nav-icon {
    width: 18px;
    height: 18px;
    color: #007a63;
    stroke-width: 2.2;
    opacity: 1;
}

.settings-card {
    padding: 16px;
}

.settings-stack > .settings-card {
    box-shadow: none;
}

.settings-card.wide,
.settings-field.wide {
    grid-column: 1 / -1;
}

.settings-card.narrow-card {
    max-width: 760px;
}

.settings-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.settings-grid {
    display: grid;
    gap: 14px;
}

.settings-grid.two-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.settings-grid.four-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.settings-grid.compact-grid {
    gap: 12px;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 180px;
    color: #344258;
    font-weight: 500;
}

.settings-field.compact {
    max-width: 220px;
}

.settings-field.file-field {
    min-width: 320px;
}

.settings-field .form-control,
.settings-field .form-select {
    min-height: 42px;
    border-color: #cbd7e6;
    border-radius: 8px;
}

.settings-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.settings-section-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.settings-section-title h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.settings-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    border-bottom: 1px solid #d8e2ec;
}

.settings-tabs button {
    border: 1px solid #d8e2ec;
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: #f8fafc;
    color: #344258;
    padding: 11px 16px;
    font-weight: 500;
    cursor: pointer;
}

.settings-tabs button.active {
    background: #fff;
    color: #006b56;
    border-color: #95cdbc;
    box-shadow: inset 0 -2px 0 #007a63;
}

.settings-table-wrap {
    overflow: auto;
    border: 1px solid #d8e2ec;
    border-radius: 8px;
}

.settings-card .settings-table-wrap {
    background: #a8a8a8;
    min-height: 260px;
}

.settings-card .settings-table-wrap.small-table {
    min-height: 230px;
}

.settings-table {
    width: 100%;
    min-width: 900px;
    border-collapse: collapse;
}

.settings-table th,
.settings-table td {
    border-bottom: 1px solid #e6edf4;
    padding: 10px 12px;
    vertical-align: middle;
    white-space: nowrap;
}

.settings-table th {
    background: #f5f8fb;
    color: #344258;
    font-weight: 600;
    text-align: left;
}

.settings-table tr.row-invalid td {
    background: #fff1f1;
    color: #981b1b;
}

.settings-table .select-cell {
    width: 44px;
    text-align: center;
}

.table-input {
    width: 100%;
    min-width: 130px;
    min-height: 36px;
    border: 1px solid #cbd7e6;
    border-radius: 6px;
    padding: 6px 8px;
}

.wide-input {
    min-width: 260px;
}

.iban-input {
    min-width: 280px;
}

.money-input,
.number-input {
    min-width: 120px;
}

.settings-table .money-input {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.bank-iban-settings-table {
    min-width: 1280px;
}

.bank-iban-settings-table .date-time-cell {
    display: grid;
    grid-template-columns: minmax(210px, 1fr) 34px;
    align-items: center;
    gap: 6px;
    width: 260px;
}

.bank-iban-settings-table .date-time-input {
    min-width: 0;
}

.bank-iban-settings-table .clear-date-button {
    width: 34px;
    height: 34px;
    border: 1px solid #cbd7e6;
    border-radius: 6px;
    background: #fff;
    color: #536173;
    line-height: 1;
    font-size: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bank-iban-settings-table .clear-date-button:hover {
    border-color: #dc3545;
    color: #dc3545;
}

.template-actions {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.integration-general-grid {
    align-items: end;
}

.status-field strong {
    min-height: 42px;
    display: flex;
    align-items: center;
    color: #18243a;
    font-weight: 600;
}

.button-field .btn {
    min-height: 42px;
    width: fit-content;
}

.tahakkuk-toolbar {
    margin-bottom: 14px;
}

.warning-card {
    border-color: #f2c94c;
    background: #fff8df;
}

.board-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 118px;
    gap: 12px 16px;
}

.board-manager-check {
    align-self: end;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 12px;
    border: 1px solid #cfe0da;
    border-radius: 10px;
    color: #17362f;
    font-weight: 700;
    background: #f8fcfb;
}

.board-manager-check input {
    width: 18px;
    height: 18px;
    accent-color: #007a63;
}

.radio-field {
    gap: 10px;
}

.radio-field label,
.pretty-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #344258;
    font-weight: 500;
}

.pretty-check input,
.settings-table input[type="checkbox"],
.settings-table input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #007a63;
}

.settings-inline-link {
    align-self: end;
    color: #006b56;
    font-weight: 500;
}

.settings-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.settings-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid #e0e8f0;
    border-radius: 8px;
    padding: 10px 12px;
}

.status-line {
    margin: 12px 0 0;
    color: #52627a;
    font-weight: 500;
}

.settings-alert {
    white-space: pre-line;
}

.settings-empty-row,
.settings-empty-item {
    color: #7a8799;
    font-style: italic;
    text-align: center;
}

.settings-empty-item {
    justify-content: center;
}

@media (max-width: 1100px) {
    .settings-module-grid,
    .settings-grid.two-columns,
    .settings-grid.four-columns,
    .board-grid {
        grid-template-columns: 1fr;
    }

    .board-manager-check {
        justify-content: flex-start;
        width: 100%;
    }
}

.share-modal {
    width: min(760px, 100%);
    max-height: min(720px, calc(100vh - 48px));
    overflow: auto;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #d9e2e0;
    box-shadow: 0 26px 70px rgba(15, 23, 42, .28);
}

.share-modal header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.share-modal h2 {
    margin: 0;
    font-size: 20px;
    color: #1f2937;
}

.share-modal p {
    margin: 4px 0 0;
    color: #64748b;
}

.modal-close {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
    font-size: 22px;
    line-height: 1;
}

.share-current-list {
    padding: 16px 20px 0;
    display: grid;
    gap: 8px;
}

.share-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 10px 12px;
    background: #f8fafc;
}

.share-row span {
    font-weight: 900;
    color: #1f2937;
}

.share-row button {
    height: 30px;
    border: 1px solid #fecaca;
    border-radius: 7px;
    background: #fff;
    color: #b91c1c;
    font-weight: 900;
    padding: 0 10px;
}

.share-editor-grid {
    padding: 18px 20px 20px;
    display: grid;
    grid-template-columns: 1fr 160px auto;
    gap: 12px;
    align-items: end;
}

.share-editor-grid label {
    display: grid;
    gap: 6px;
    color: #334155;
    font-weight: 900;
}

.share-editor-grid input {
    height: 38px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0 10px;
}

.action-modal textarea,
.action-modal select,
.action-modal input {
    min-height: 42px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    color: #0f172a;
    background: #fff;
    font-weight: 400;
}

.action-modal textarea {
    resize: vertical;
}

.action-grid .wide-field {
    grid-column: 1 / -1;
}

.preview-grid {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) 1fr;
    gap: 10px 18px;
    margin-bottom: 18px;
}

.preview-grid span {
    color: #475569;
}

.preview-grid strong {
    color: #0f172a;
    font-weight: 400;
}

.devir-share-list {
    display: grid;
    gap: 8px;
    align-self: stretch;
}

.devir-share-list > span {
    color: #334155;
}

.devir-share-list label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-weight: 400;
}

.devir-share-list input {
    min-height: auto;
    width: 16px;
    height: 16px;
    padding: 0;
}

.danger-soft {
    background: #dc2626 !important;
    border: 1px solid #dc2626 !important;
    border-radius: 8px !important;
    color: #fff !important;
    min-height: 38px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
}

.danger-soft:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
}

@media (max-width: 1100px) {
    .filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pagination-bar { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .member-list-page { padding: 14px; }
    .member-list-hero { align-items: flex-start; flex-direction: column; }
    .member-list-actions { justify-content: flex-start; width: 100%; }
    .filter-grid { grid-template-columns: 1fr; }
    .filter-actions { flex-wrap: wrap; }
    .push-right { margin-left: 0; }
}

/* Auto-collapsing application sidebar */
.page {
    --sidebar-collapsed-width: 72px;
    --sidebar-expanded-width: 232px;
}

.sidebar {
    width: var(--sidebar-collapsed-width);
    flex: 0 0 var(--sidebar-collapsed-width);
    z-index: 30;
    transition: width .22s ease, flex-basis .22s ease, box-shadow .22s ease;
}

.sidebar:hover,
.sidebar:focus-within {
    width: var(--sidebar-expanded-width);
    flex-basis: var(--sidebar-expanded-width);
    box-shadow: 18px 0 48px rgba(2, 41, 32, .16);
}

.sidebar .brand-panel {
    height: 96px;
    gap: 6px;
    padding: 14px 10px 10px;
    transition: height .22s ease, padding .22s ease, gap .22s ease;
}

.sidebar .brand-logo-link {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(255, 255, 255, .12);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
    transition: width .22s ease, height .22s ease, border-radius .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.sidebar .brand-version {
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .16s ease, transform .16s ease;
}

.sidebar .nav-scrollable {
    height: calc(100vh - 96px);
    padding: 0 10px 18px;
    transition: height .22s ease, padding .22s ease;
}

.sidebar .nav-link {
    justify-content: center;
    gap: 0;
    padding: 0;
    white-space: nowrap;
    transition: background-color .15s ease, color .15s ease, transform .15s ease, gap .18s ease, padding .18s ease, justify-content .18s ease;
}

.sidebar .nav-link span {
    width: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateX(-8px);
    transition: width .18s ease, opacity .14s ease, transform .18s ease;
}

.sidebar:hover .brand-panel,
.sidebar:focus-within .brand-panel {
    height: 198px;
    gap: 10px;
    padding: 24px 18px 16px;
}

.sidebar:hover .brand-logo-link,
.sidebar:focus-within .brand-logo-link {
    width: 168px;
    height: 112px;
    border-radius: 0;
    overflow: visible;
    background: transparent;
    box-shadow: none;
}

.sidebar:hover .brand-version,
.sidebar:focus-within .brand-version {
    opacity: 1;
    transform: translateY(0);
}

.sidebar:hover .nav-scrollable,
.sidebar:focus-within .nav-scrollable {
    height: calc(100vh - 198px);
    padding: 0 12px 18px;
}

.sidebar:hover .nav-link,
.sidebar:focus-within .nav-link {
    justify-content: flex-start;
    gap: 12px;
    padding: 0 14px;
}

.sidebar:hover .nav-link span,
.sidebar:focus-within .nav-link span {
    width: auto;
    opacity: 1;
    transform: translateX(0);
}

#app-sidebar.sidebar:hover .nav-item .nav-link,
#app-sidebar.sidebar:focus-within .nav-item .nav-link {
    justify-content: flex-start !important;
    gap: 12px !important;
    padding: 0 14px !important;
}

#app-sidebar.sidebar:hover .nav-item .nav-link span,
#app-sidebar.sidebar:focus-within .nav-item .nav-link span {
    width: auto !important;
    opacity: 1 !important;
    overflow: visible !important;
    transform: translateX(0) !important;
}

body.sidebar-suppress-hover #app-sidebar.sidebar,
body.sidebar-suppress-hover #app-sidebar.sidebar:hover,
body.sidebar-suppress-hover #app-sidebar.sidebar:focus-within {
    width: var(--sidebar-collapsed-width) !important;
    flex-basis: var(--sidebar-collapsed-width) !important;
    box-shadow: 12px 0 36px rgba(2, 41, 32, .08) !important;
}

body.sidebar-suppress-hover #app-sidebar.sidebar .brand-panel,
body.sidebar-suppress-hover #app-sidebar.sidebar:hover .brand-panel,
body.sidebar-suppress-hover #app-sidebar.sidebar:focus-within .brand-panel {
    height: 96px !important;
    gap: 6px !important;
    padding: 14px 10px 10px !important;
}

body.sidebar-suppress-hover #app-sidebar.sidebar .brand-logo-link,
body.sidebar-suppress-hover #app-sidebar.sidebar:hover .brand-logo-link,
body.sidebar-suppress-hover #app-sidebar.sidebar:focus-within .brand-logo-link {
    width: 48px !important;
    height: 48px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: rgba(255, 255, 255, .12) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18) !important;
}

body.sidebar-suppress-hover #app-sidebar.sidebar .brand-version,
body.sidebar-suppress-hover #app-sidebar.sidebar:hover .brand-version,
body.sidebar-suppress-hover #app-sidebar.sidebar:focus-within .brand-version {
    opacity: 0 !important;
    transform: translateY(-4px) !important;
}

body.sidebar-suppress-hover #app-sidebar.sidebar .nav-scrollable,
body.sidebar-suppress-hover #app-sidebar.sidebar:hover .nav-scrollable,
body.sidebar-suppress-hover #app-sidebar.sidebar:focus-within .nav-scrollable {
    height: calc(100vh - 96px) !important;
    padding: 0 10px 18px !important;
}

body.sidebar-suppress-hover #app-sidebar.sidebar .nav-item .nav-link,
body.sidebar-suppress-hover #app-sidebar.sidebar:hover .nav-item .nav-link,
body.sidebar-suppress-hover #app-sidebar.sidebar:focus-within .nav-item .nav-link {
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
}

body.sidebar-suppress-hover #app-sidebar.sidebar .nav-item .nav-link span,
body.sidebar-suppress-hover #app-sidebar.sidebar:hover .nav-item .nav-link span,
body.sidebar-suppress-hover #app-sidebar.sidebar:focus-within .nav-item .nav-link span {
    width: 0 !important;
    opacity: 0 !important;
    overflow: hidden !important;
    transform: translateX(-8px) !important;
}

.route-loading-overlay {
    inset: 24px 24px 24px 96px;
}

.route-loading-card {
    width: min(920px, calc(100vw - 150px));
}

@media (max-width: 860px) {
    .sidebar,
    .sidebar:hover,
    .sidebar:focus-within {
        width: 100%;
        flex-basis: auto;
    }

    .sidebar .brand-panel,
    .sidebar:hover .brand-panel,
    .sidebar:focus-within .brand-panel {
        height: auto;
        padding: 16px;
    }

    .sidebar .brand-logo-link,
    .sidebar:hover .brand-logo-link,
    .sidebar:focus-within .brand-logo-link {
        width: 132px;
        height: 92px;
        border-radius: 0;
        overflow: visible;
        background: transparent;
        box-shadow: none;
    }

    .sidebar .brand-version,
    .sidebar:hover .brand-version,
    .sidebar:focus-within .brand-version {
        opacity: 1;
        transform: none;
    }

    .sidebar .nav-scrollable,
    .sidebar:hover .nav-scrollable,
    .sidebar:focus-within .nav-scrollable {
        height: auto;
        max-height: 320px;
    }

    .sidebar .nav-link,
    .sidebar:hover .nav-link,
    .sidebar:focus-within .nav-link {
        justify-content: flex-start;
        gap: 12px;
        padding: 0 14px;
    }

    .sidebar .nav-link span,
    .sidebar:hover .nav-link span,
    .sidebar:focus-within .nav-link span {
        width: auto;
        opacity: 1;
        transform: none;
    }
}

/* Kararlar modern page fallback styles */
.decisions-page {
    min-height: calc(100vh - 72px);
    padding: 22px 28px 30px;
    background: #f4f7f6;
    color: #10231d;
}

.decisions-page .decisions-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.decisions-page .decisions-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #007a63;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.decisions-page .decisions-hero h1 {
    margin: 0;
    color: #10231d;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0;
}

.decisions-page .decisions-hero p {
    max-width: 780px;
    margin: 7px 0 0;
    color: #52645d;
    line-height: 1.45;
}

.decisions-page .decisions-context {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 10px;
    min-width: min(100%, 480px);
}

.decisions-page .decisions-context div {
    min-height: 66px;
    padding: 12px 14px;
    border: 1px solid #d8e6e1;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(0, 65, 49, .05);
}

.decisions-page .decisions-context span,
.decisions-page .decision-card-header span,
.decisions-page .decision-pagination span,
.decisions-page .topic-add-card p {
    color: #64756f;
    font-size: 12.5px;
}

.decisions-page .decisions-context strong {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #10231d;
    font-size: 15px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.decisions-page .decision-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: 8px;
    font-weight: 700;
}

.decisions-page .decision-alert .nav-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.decisions-page .decision-alert.success {
    border: 1px solid #bfe8d8;
    background: #eaf8f1;
    color: #006b52;
}

.decisions-page .decision-alert.error {
    border: 1px solid #fed7aa;
    background: #fff7ed;
    color: #a33b13;
}

.decisions-page .decision-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
    overflow-x: auto;
}

.decisions-page .decision-tabs button {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid #d8e6e1;
    border-radius: 999px;
    background: #fff;
    color: #334155;
    padding: 0 16px;
    font-weight: 750;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(0, 65, 49, .04);
}

.decisions-page .decision-tabs button.active {
    border-color: #007a63;
    background: #e8f6f1;
    color: #005c45;
    box-shadow: inset 0 0 0 1px rgba(0, 122, 99, .1);
}

.decisions-page .decision-tabs .nav-icon,
.decisions-page .decision-action .nav-icon,
.decisions-page .icon-button .nav-icon,
.decisions-page .decision-stat-card .nav-icon,
.decisions-page .decision-info-box .nav-icon,
.decisions-page .topic-search .nav-icon {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    color: currentColor;
    stroke-width: 2.1;
}

.decisions-page .decision-filter-card,
.decisions-page .decision-card {
    border: 1px solid #d9e4e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 54, 44, .06);
}

.decisions-page .decision-filter-card {
    display: grid;
    grid-template-columns: 180px minmax(220px, 1fr) 190px 190px auto;
    gap: 12px;
    align-items: end;
    margin-bottom: 14px;
    padding: 14px;
}

.decisions-page .decision-filter-five {
    grid-template-columns: 150px 180px 210px minmax(220px, 1fr) auto;
}

.decisions-page .decision-filter-card label,
.decisions-page .topic-field {
    display: grid;
    gap: 6px;
    min-width: 0;
    color: #334155;
    font-weight: 700;
}

.decisions-page .decision-filter-card label span,
.decisions-page .topic-field span {
    font-size: 12.5px;
}

.decisions-page .decision-filter-card input,
.decisions-page .decision-filter-card select,
.decisions-page .decision-table select,
.decisions-page .topic-field input,
.decisions-page .topic-search input {
    width: 100%;
    height: 40px;
    border: 1px solid #cbd8d3;
    border-radius: 8px;
    background: #fff;
    color: #10231d;
    padding: 0 11px;
    outline: none;
}

.decisions-page .decision-filter-card input:focus,
.decisions-page .decision-filter-card select:focus,
.decisions-page .decision-table select:focus,
.decisions-page .topic-field input:focus,
.decisions-page .topic-search input:focus {
    border-color: #008060;
    box-shadow: 0 0 0 3px rgba(0, 128, 96, .12);
}

.decisions-page .filter-actions {
    display: flex;
    justify-content: flex-end;
}

.decisions-page .decision-action,
.decisions-page .icon-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid #bcd8cf;
    border-radius: 8px;
    background: #fff;
    color: #006b52;
    padding: 0 13px;
    font-weight: 800;
}

.decisions-page .decision-action.primary {
    border-color: #006b52;
    background: #006b52;
    color: #fff;
}

.decisions-page .decision-action.ghost {
    background: #f8fbfa;
}

.decisions-page .decision-action.danger,
.decisions-page .icon-button.danger {
    border-color: #fecaca;
    background: #fff;
    color: #dc2626;
}

.decisions-page .decision-action.full {
    width: 100%;
}

.decisions-page .decision-action:disabled,
.decisions-page .icon-button:disabled {
    opacity: .48;
    cursor: default;
}

.decisions-page .icon-button {
    width: 38px;
    min-width: 38px;
    padding: 0;
}

.decisions-page .icon-button.success {
    border-color: #006b52;
    background: #006b52;
    color: #fff;
}

.decisions-page .bank-decision-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 14px;
    align-items: start;
}

.decisions-page .decision-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid #e3ece8;
}

.decisions-page .decision-card-header.compact {
    align-items: flex-start;
}

.decisions-page .decision-card-header h2 {
    margin: 0;
    color: #10231d;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0;
}

.decisions-page .decision-toolbar {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.decisions-page .decision-table-wrap {
    overflow: auto;
}

.decisions-page .table-card .decision-table-wrap {
    max-height: calc(100vh - 360px);
    min-height: 360px;
}

.decisions-page .decision-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 14px;
}

.decisions-page .decision-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    height: 44px;
    border-bottom: 1px solid #dfe8e4;
    background: #f8fbfa;
    color: #40534d;
    padding: 0 12px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 800;
    white-space: nowrap;
}

.decisions-page .decision-table td {
    height: 48px;
    border-bottom: 1px solid #edf2f0;
    background: #fff;
    padding: 0 12px;
    vertical-align: middle;
}

.decisions-page .decision-table tbody tr:nth-child(even) td {
    background: #fbfdfc;
}

.decisions-page .decision-table tbody tr:hover td {
    background: #f2faf7;
}

.decisions-page .decision-table tr.is-selected td {
    background: #eaf8f1;
}

.decisions-page .decision-table tr.is-transferred td {
    color: #5f746d;
    background: #f5fbf8;
}

.decisions-page .decision-table tr.is-transferred td:first-child {
    box-shadow: inset 3px 0 0 #66c19a;
}

.decisions-page .decision-table input[type="checkbox"] {
    width: 17px;
    height: 17px;
    accent-color: #007a63;
}

.decisions-page .select-col {
    width: 48px;
    text-align: center;
}

.decisions-page .date-col {
    width: 116px;
}

.decisions-page .money-col {
    width: 138px;
    text-align: right !important;
    font-variant-numeric: tabular-nums;
}

.decisions-page .status-col {
    width: 132px;
}

.decisions-page .template-col {
    width: 240px;
}

.decisions-page .actions-col {
    width: 104px;
    text-align: center !important;
}

.decisions-page .clip {
    max-width: 1px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.decisions-page .empty-row {
    height: 76px !important;
    color: #70827b;
    text-align: center;
}

.decisions-page .decision-badge {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.decisions-page .decision-badge.success {
    background: #dff3ec;
    color: #007a63;
}

.decisions-page .decision-badge.warning {
    background: #fff4d6;
    color: #8a5b00;
}

.decisions-page .decision-badge.neutral {
    background: #eef2f1;
    color: #465a54;
}

.decisions-page .decision-pagination {
    min-height: 58px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-top: 1px solid #e3ece8;
}

.decisions-page .decision-pagination div {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.decisions-page .decision-pagination button {
    width: 32px;
    height: 32px;
    border: 1px solid #cbd8d3;
    border-radius: 8px;
    background: #fff;
    color: #006b52;
    font-size: 20px;
    line-height: 1;
}

.decisions-page .decision-pagination button:disabled {
    color: #a6b3ae;
    cursor: default;
}

.decisions-page .decision-pagination label {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #64756f;
}

.decisions-page .decision-pagination select {
    height: 34px;
    border: 1px solid #cbd8d3;
    border-radius: 8px;
    background: #fff;
    padding: 0 8px;
}

.decisions-page .template-panel {
    position: sticky;
    top: 86px;
}

.decisions-page .template-list {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.decisions-page .template-row {
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 8px;
    border: 1px solid #edf2f0;
    border-radius: 8px;
    background: #fbfdfc;
    padding: 0 5px 0 12px;
}

.decisions-page .template-row span {
    overflow: hidden;
    color: #263832;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.decisions-page .template-row button {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #dc2626;
}

.decisions-page .template-row .nav-icon {
    width: 16px;
    height: 16px;
}

.decisions-page .template-panel > .decision-action {
    width: calc(100% - 24px);
    margin: 0 12px 12px;
}

.decisions-page .empty-panel {
    padding: 18px;
    color: #70827b;
    text-align: center;
}

.decisions-page .decision-bottom-grid {
    display: grid;
    grid-template-columns: minmax(280px, 2fr) repeat(4, minmax(142px, 1fr)) minmax(190px, 1.2fr);
    gap: 14px;
    margin-top: 14px;
}

.decisions-page .decision-info-box,
.decisions-page .decision-stat-card {
    min-height: 104px;
    border: 1px solid #d9e4e0;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 54, 44, .05);
}

.decisions-page .decision-info-box {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: start;
    padding: 18px;
    background: linear-gradient(90deg, #effaf5, #fff);
}

.decisions-page .decision-info-box .nav-icon {
    width: 22px;
    height: 22px;
    color: #007a63;
}

.decisions-page .decision-info-box strong {
    display: block;
    margin-bottom: 7px;
    color: #006b52;
}

.decisions-page .decision-info-box p {
    margin: 0;
    color: #40534d;
    line-height: 1.45;
}

.decisions-page .decision-stat-card {
    display: grid;
    align-content: center;
    justify-items: start;
    gap: 4px;
    padding: 16px;
}

.decisions-page .decision-stat-card .nav-icon {
    width: 22px;
    height: 22px;
    color: #007a63;
}

.decisions-page .decision-stat-card strong {
    color: #10231d;
    font-size: 26px;
    font-weight: 850;
}

.decisions-page .decision-stat-card span {
    color: #64756f;
    font-size: 12.5px;
}

.decisions-page .decisions-table {
    max-height: calc(100vh - 330px);
}

.decisions-page .decisions-table tbody tr {
    cursor: pointer;
}

.topics-layout {
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.decisions-page .topic-add-card {
    display: grid;
    gap: 14px;
    padding-bottom: 16px;
}

.decisions-page .topic-add-card .topic-field,
.decisions-page .topic-add-card > .decision-action,
.decisions-page .topic-add-card p {
    margin-inline: 16px;
}

.decisions-page .topic-add-card p {
    margin-block: 0;
    line-height: 1.45;
}

.decisions-page .topic-list-card {
    min-width: 0;
}

.decisions-page .topic-search {
    width: min(100%, 320px);
    height: 40px;
    display: grid;
    grid-template-columns: 34px 1fr;
    align-items: center;
    border: 1px solid #cbd8d3;
    border-radius: 8px;
    background: #fff;
    color: #64756f;
}

.decisions-page .topic-search .nav-icon {
    justify-self: center;
}

.decisions-page .topic-search input {
    height: 38px;
    border: 0;
    padding-left: 0;
}

.decisions-page .topic-table-wrap {
    max-height: calc(100vh - 285px);
    min-height: 420px;
}

.decisions-page .topic-table {
    min-width: 620px;
}

.decision-drawer-backdrop,
.decision-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(15, 23, 42, .28);
}

.decision-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 90;
    width: min(520px, 100vw);
    height: 100vh;
    overflow: auto;
    background: #fff;
    box-shadow: -24px 0 60px rgba(15, 23, 42, .2);
}

.decision-drawer header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 20px;
    border-bottom: 1px solid #e3ece8;
}

.decision-drawer header span {
    color: #64756f;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
}

.decision-drawer h2 {
    margin: 4px 0 0;
    font-size: 22px;
}

.decision-drawer dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 0;
    padding: 18px 20px;
}

.decision-drawer dl div {
    border: 1px solid #e3ece8;
    border-radius: 8px;
    padding: 12px;
}

.decision-drawer dt {
    color: #64756f;
    font-size: 12.5px;
}

.decision-drawer dd {
    margin: 5px 0 0;
    color: #10231d;
    font-weight: 800;
}

.decision-drawer p {
    margin: 0;
    padding: 0 20px 24px;
    color: #263832;
    line-height: 1.65;
    white-space: pre-line;
}

.decision-modal-backdrop {
    display: grid;
    place-items: center;
    padding: 20px;
}

.decision-confirm-modal {
    width: min(430px, 100%);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .28);
}

.decision-confirm-modal header {
    display: grid;
    gap: 8px;
    justify-items: center;
    padding: 22px 22px 8px;
    text-align: center;
}

.decision-confirm-modal header .nav-icon {
    width: 30px;
    height: 30px;
    color: #dc2626;
}

.decision-confirm-modal h2 {
    margin: 0;
    font-size: 20px;
}

.decision-confirm-modal p {
    margin: 0;
    padding: 12px 22px 4px;
    color: #40534d;
    text-align: center;
}

.decision-confirm-modal footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 18px 22px 22px;
}

@media (max-width: 1280px) {
    .decisions-context {
        grid-template-columns: 1fr;
        min-width: 220px;
    }

    .decision-bottom-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .decision-info-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1100px) {
    .decisions-hero,
    .decision-card-header {
        flex-direction: column;
        align-items: stretch;
    }

    .decision-filter-card,
    .decision-filter-five {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .filter-actions {
        justify-content: flex-start;
    }

    .bank-decision-layout,
    .topics-layout {
        grid-template-columns: 1fr;
    }

    .template-panel {
        position: static;
    }
}

@media (max-width: 720px) {
    .decisions-page {
        padding: 14px;
    }

    .decisions-context,
    .decision-filter-card,
    .decision-filter-five,
    .decision-bottom-grid {
        grid-template-columns: 1fr;
    }

    .decision-toolbar,
    .decision-tabs {
        align-items: stretch;
    }

    .decision-action {
        width: 100%;
    }

    .decision-pagination {
        grid-template-columns: 1fr;
        justify-items: start;
    }

    .decision-pagination label {
        justify-content: flex-start;
    }

    .decision-drawer dl {
        grid-template-columns: 1fr;
    }
}

/* Kararlar modern page targeted fixes */
.decisions-page .decision-action.primary,
.decisions-page .decision-action.primary span,
.decisions-page .decision-action.primary .nav-icon {
    color: #fff !important;
    stroke: #fff !important;
}

.decisions-page .template-row button,
.decisions-page .template-row button .nav-icon,
.decisions-page .icon-button.danger,
.decisions-page .icon-button.danger .nav-icon {
    color: #dc2626 !important;
    stroke: #dc2626 !important;
}

.decisions-page .topic-add-card > .decision-action.full {
    width: auto !important;
    max-width: calc(100% - 32px);
}

.decisions-page .topic-actions {
    white-space: nowrap;
}

.decisions-page .topic-actions .icon-button {
    margin: 0 3px;
}

/* Mali Durum YÃ¶netici Raporu */
.financial-report-page {
    --financial-green: #007a63;
    --financial-green-soft: #e4f5ef;
    --financial-border: #dbe8e4;
    --financial-text: #10231f;
    --financial-muted: #64748b;
}

.financial-report-page .page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 18px;
}

.financial-report-page .page-head nav {
    color: #64748b;
    font-size: 13px;
    font-weight: 700;
}

.financial-report-page .page-head h1 {
    margin: 8px 0 6px;
    color: #071711;
    font-size: 30px;
    line-height: 1.15;
}

.financial-report-page .page-head p {
    margin: 0;
    color: #526b64;
    font-size: 14px;
}

.financial-report-page .page-actions,
.financial-report-page .filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

.financial-report-page .page-actions button,
.financial-report-page .filter-actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 8px;
    padding: 0 15px;
    border: 1px solid #0a7b64;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.financial-report-page .page-actions button.primary,
.financial-report-page .filter-actions button.primary {
    background: var(--financial-green);
    color: #fff;
}

.financial-report-page .page-actions button.outline,
.financial-report-page .filter-actions button.outline {
    background: #fff;
    color: #075143;
}

.financial-report-page .page-actions button:hover,
.financial-report-page .filter-actions button:hover {
    border-color: #005f4e;
    background: #e4f5ef;
    color: #06483c;
}

.financial-report-page .page-actions button.primary:hover,
.financial-report-page .filter-actions button.primary:hover {
    background: #005f4e;
    color: #fff;
}

.financial-report-page .page-actions button:disabled,
.financial-report-page .filter-actions button:disabled {
    opacity: .55;
    cursor: not-allowed;
}

.report-filter-card {
    display: grid;
    grid-template-columns: minmax(180px, 220px) minmax(180px, 220px) minmax(180px, 260px) auto;
    gap: 14px;
    align-items: end;
    padding: 18px;
    margin: 18px 0;
    border: 1px solid var(--financial-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 35, 31, 0.06);
}

.report-filter-card label,
.report-filter-card label span {
    display: grid;
    gap: 7px;
}

.report-filter-card label span {
    color: #233b36;
    font-size: 13px;
    font-weight: 700;
}

.report-filter-card input,
.report-filter-card select {
    height: 42px;
    border: 1px solid #cfe0dc;
    border-radius: 8px;
    padding: 0 12px;
    color: var(--financial-text);
    background: #fff;
}

.financial-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.financial-kpi-card {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    min-height: 126px;
    padding: 20px 22px;
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(15, 35, 31, 0.07);
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.financial-kpi-card:hover {
    transform: translateY(-2px);
    border-color: #cfe0dc;
    box-shadow: 0 18px 38px rgba(15, 35, 31, 0.10);
}

.financial-kpi-card .kpi-icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 14px;
    background: #e6f6ef;
    color: #047857;
}

.financial-kpi-card .kpi-icon::before {
    content: none !important;
    display: none !important;
}

.financial-kpi-card.bank .kpi-icon::before {
    content: "â–¥";
    color: #007a63;
}

.financial-kpi-card.cash .kpi-icon::before {
    content: "â‚º";
    color: #059669;
    font-size: 24px;
}

.financial-kpi-card.check .kpi-icon::before {
    content: "Ã‡";
    color: #2563eb;
}

.financial-kpi-card.alert .kpi-icon::before {
    content: "!";
    color: #dc2626;
    font-size: 26px;
}

.financial-kpi-card.debt .kpi-icon::before {
    content: "â†“";
    color: #dc2626;
    font-size: 26px;
}

.financial-kpi-card.member .kpi-icon::before {
    content: "Ãœ";
    color: #00856b;
}

.financial-kpi-card.position .kpi-icon::before {
    content: "âˆ‘";
    color: #7c3aed;
    font-size: 24px;
}

.financial-kpi-card.risk .kpi-icon::before {
    content: "%";
    color: #b45309;
    font-size: 23px;
}

.financial-kpi-card span {
    display: block;
    color: #36534c;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0;
}

.financial-kpi-card strong {
    display: block;
    margin: 8px 0 6px;
    color: var(--financial-text);
    font-size: 21px;
    line-height: 1.15;
    font-weight: 950;
}

.financial-kpi-card strong.negative {
    color: #b91c1c;
}

.financial-kpi-card small {
    color: var(--financial-muted);
    font-size: 12px;
}

.financial-kpi-card.blue .kpi-icon {
    background: #dbeafe;
}

.financial-kpi-card.yellow .kpi-icon {
    background: #fef3c7;
}

.financial-kpi-card.red .kpi-icon {
    background: #fee2e2;
}

.financial-kpi-card.purple .kpi-icon {
    background: #ede9fe;
}

.financial-kpi-card .kpi-icon svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke-width: 2.15;
}

.financial-kpi-card.bank .kpi-icon {
    background: #e6f6ef;
    color: #047857;
}

.financial-kpi-card.cash .kpi-icon {
    background: #e0f2fe;
    color: #0284c7;
}

.financial-kpi-card.check .kpi-icon {
    background: #eff6ff;
    color: #2563eb;
}

.financial-kpi-card.alert .kpi-icon {
    background: #fee2e2;
    color: #dc2626;
}

.financial-kpi-card.debt .kpi-icon {
    background: #ffe4e6;
    color: #e11d48;
}

.financial-kpi-card.member .kpi-icon {
    background: #dcfce7;
    color: #16a34a;
}

.financial-kpi-card.position .kpi-icon {
    background: #f3e8ff;
    color: #7c3aed;
}

.financial-kpi-card.risk .kpi-icon {
    background: #fef3c7;
    color: #d97706;
}

.financial-chart-grid,
.financial-detail-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.financial-insight-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
    gap: 16px;
    margin-bottom: 18px;
}

.financial-insight-grid .financial-card {
    min-height: 170px;
}

.warning-list.compact {
    gap: 8px;
}

.warning-list.compact .warning-item {
    padding: 10px 11px;
}

.financial-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid var(--financial-border);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(15, 35, 31, 0.06);
}

.financial-chart-grid .financial-card {
    grid-column: span 2;
}

.financial-chart-grid .financial-card.wide,
.financial-detail-grid .financial-card.wide {
    grid-column: span 2;
}

.financial-detail-grid .financial-card {
    grid-column: span 2;
}

.card-title {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.card-title h2 {
    margin: 0;
    color: var(--financial-text);
    font-size: 17px;
}

.card-title span {
    color: var(--financial-muted);
    font-size: 12px;
}

.donut-layout {
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 18px;
    align-items: center;
}

.donut-chart,
.coverage-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    position: relative;
}

.donut-chart::after {
    content: "";
    position: absolute;
    inset: 34px;
    border-radius: 50%;
    background: #fff;
}

.legend-list {
    display: grid;
    gap: 10px;
}

.legend-list div {
    display: grid;
    grid-template-columns: 12px minmax(0, 1fr) auto;
    gap: 8px;
    align-items: center;
    color: #304942;
    font-size: 13px;
}

.legend-list i {
    width: 10px;
    height: 10px;
    border-radius: 3px;
}

.legend-list b {
    color: var(--financial-text);
    font-size: 12px;
}

.bar-chart {
    display: grid;
    gap: 10px;
}

.bar-row {
    display: grid;
    grid-template-columns: minmax(92px, 150px) minmax(0, 1fr) minmax(92px, auto);
    gap: 10px;
    align-items: center;
    color: #304942;
    font-size: 12px;
}

.bar-row > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-track {
    height: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf2f0;
}

.bar-track i {
    display: block;
    height: 100%;
    border-radius: inherit;
}

.bar-row b {
    color: var(--financial-text);
    font-size: 12px;
    text-align: right;
}

.cash-flow-chart {
    display: flex;
    min-height: 230px;
    gap: 14px;
    align-items: end;
    padding: 12px 6px 0;
    border-bottom: 1px solid var(--financial-border);
}

.cash-month {
    display: grid;
    flex: 1;
    gap: 8px;
    justify-items: center;
    min-width: 46px;
}

.cash-bars {
    display: flex;
    align-items: end;
    gap: 5px;
    height: 190px;
}

.cash-bars span {
    width: 10px;
    min-height: 5px;
    border-radius: 8px 8px 0 0;
}

.cash-bars .in {
    background: #10b981;
}

.cash-bars .out,
.cash-bars .net.negative {
    background: #ef4444;
}

.cash-bars .net {
    background: #0f2d4a;
}

.cash-month b {
    color: #415d56;
    font-size: 11px;
    font-weight: 700;
}

.chart-legend {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    color: var(--financial-muted);
    font-size: 12px;
}

.chart-legend i {
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 6px;
    border-radius: 3px;
}

.chart-legend .green {
    background: #10b981;
}

.chart-legend .red {
    background: #ef4444;
}

.chart-legend .dark {
    background: #0f2d4a;
}

.coverage-card {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.coverage-circle {
    display: grid;
    place-items: center;
    background: conic-gradient(var(--financial-green) var(--coverage), #e5e7eb 0);
}

.coverage-circle::before {
    content: "";
    position: absolute;
    inset: 24px;
    border-radius: 50%;
    background: #fff;
}

.coverage-circle strong {
    position: relative;
    color: var(--financial-text);
    font-size: 26px;
}

.coverage-card p,
.manager-summary {
    color: #304942;
    font-size: 14px;
    line-height: 1.65;
}

.table-scroll {
    overflow-x: auto;
}

.modern-table {
    width: 100%;
    min-width: 620px;
    border-collapse: separate;
    border-spacing: 0;
}

.modern-table th,
.modern-table td {
    padding: 11px 12px;
    border-bottom: 1px solid #edf2f0;
    color: #1f342f;
    font-size: 13px;
    text-align: left;
    vertical-align: middle;
}

.modern-table th {
    background: #e7f5f0;
    color: #073f34;
    font-weight: 800;
}

.modern-table .money {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.empty-cell,
.no-data {
    color: var(--financial-muted);
    text-align: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 3px 9px;
    border-radius: 999px;
    color: #075143;
    background: #dcfce7;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.status-badge.warning {
    color: #854d0e;
    background: #fef3c7;
}

.status-badge.danger {
    color: #991b1b;
    background: #fee2e2;
}

.status-badge.info {
    color: #1d4ed8;
    background: #dbeafe;
}

.warning-list {
    display: grid;
    gap: 10px;
}

.warning-item {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid #e2ece8;
    border-left: 4px solid #2563eb;
    border-radius: 8px;
    background: #fff;
}

.warning-item b {
    color: var(--financial-text);
    font-size: 13px;
}

.warning-item span {
    color: #425d57;
    font-size: 13px;
    line-height: 1.45;
}

.warning-item.caution {
    border-left-color: #f59e0b;
}

.warning-item.critical {
    border-left-color: #dc2626;
}

@media (max-width: 1280px) {
    .financial-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .financial-chart-grid,
    .financial-detail-grid,
    .financial-insight-grid {
        grid-template-columns: 1fr;
    }

    .financial-chart-grid .financial-card,
    .financial-chart-grid .financial-card.wide,
    .financial-detail-grid .financial-card,
    .financial-detail-grid .financial-card.wide {
        grid-column: auto;
    }
}

@media (max-width: 900px) {
    .report-filter-card {
        grid-template-columns: 1fr;
    }

    .filter-actions,
    .page-actions {
        flex-wrap: wrap;
    }

    .donut-layout {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .financial-kpi-grid {
        grid-template-columns: 1fr;
    }

    .financial-kpi-card {
        min-height: auto;
    }

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

    .bar-row b {
        text-align: left;
    }
}

.edefter-page {
    padding: 28px;
    color: #0b1f18;
}

.edefter-page .page-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 18px;
}

.edefter-page .page-head nav {
    margin-bottom: 8px;
    color: #667970;
    font-size: 13px;
    font-weight: 700;
}

.edefter-page .page-head h1 {
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    letter-spacing: 0;
}

.edefter-page .page-head p {
    margin: 6px 0 0;
    color: #52655c;
    font-weight: 700;
}

.edefter-period-badge {
    min-width: 160px;
    padding: 12px 16px;
    border: 1px solid #cfe4dc;
    border-radius: 16px;
    background: #f5fbf8;
    text-align: right;
}

.edefter-period-badge span {
    display: block;
    color: #667970;
    font-size: 12px;
    font-weight: 800;
}

.edefter-period-badge b {
    display: block;
    margin-top: 4px;
    color: #00765f;
    font-size: 19px;
}

.edefter-alert {
    margin-bottom: 16px;
    padding: 14px 16px;
    border-radius: 14px;
    font-weight: 800;
}

.edefter-alert.success {
    color: #006b54;
    background: #dff7ee;
}

.edefter-alert.error {
    color: #9f1d1d;
    background: #fde2e2;
}

.edefter-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(360px, .75fr);
    gap: 18px;
    margin-bottom: 18px;
}

.edefter-grid.lower {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
}

.edefter-card {
    border: 1px solid #d7e5df;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 26px rgba(11, 31, 24, .06);
    overflow: hidden;
}

.edefter-card .card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid #e7f0ec;
}

.edefter-card .card-title h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 900;
}

.edefter-card .card-title span {
    display: block;
    margin-top: 4px;
    color: #667970;
    font-size: 13px;
    font-weight: 700;
}

.period-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(180px, 1fr)) auto;
    align-items: end;
    gap: 14px;
    padding: 20px;
}

.period-form label {
    display: grid;
    gap: 8px;
    color: #19332a;
    font-size: 13px;
    font-weight: 900;
}

.period-form select {
    width: 100%;
    height: 44px;
    border: 1px solid #bfd8ce;
    border-radius: 10px;
    background: #fff;
    color: #0b1f18;
    font: inherit;
    font-weight: 700;
    padding: 0 12px;
}

.edefter-page button.primary,
.edefter-page button.outline {
    height: 44px;
    border-radius: 10px;
    padding: 0 18px;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.edefter-page button.primary {
    border: 1px solid #00765f;
    background: #00765f;
    color: #fff;
    box-shadow: 0 10px 20px rgba(0, 118, 95, .16);
}

.edefter-page button.outline {
    border: 1px solid #00765f;
    background: #fff;
    color: #006b54;
}

.edefter-page button.small {
    height: 36px;
    padding-inline: 14px;
}

.edefter-page button:disabled {
    cursor: not-allowed;
    opacity: .58;
    box-shadow: none;
}

.edefter-page button:not(:disabled):hover {
    transform: translateY(-1px);
}

.action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px;
}

.log-box,
.file-list,
.edefter-page .empty-state {
    padding: 20px;
}

.log-box {
    min-height: 220px;
    background: linear-gradient(180deg, #fbfefd 0%, #fff 100%);
}

.log-line {
    display: flex;
    align-items: center;
    min-height: 32px;
    border-bottom: 1px solid #eef5f2;
    color: #19332a;
    font-weight: 750;
}

.log-line::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 999px;
    background: #00a47c;
}

.log-line.muted {
    color: #667970;
}

.log-line.muted::before {
    background: #b7c8c1;
}

.file-list {
    display: grid;
    gap: 10px;
}

.file-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #e0ece7;
    border-radius: 12px;
    background: #fbfefd;
}

.file-row b,
.file-row span {
    display: block;
}

.file-row b {
    font-weight: 900;
}

.file-row span {
    margin-top: 4px;
    color: #667970;
    font-size: 13px;
    font-weight: 700;
}

.edefter-page .empty-state {
    color: #667970;
    font-weight: 800;
}

@media (max-width: 1100px) {
    .edefter-grid,
    .edefter-grid.lower {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .edefter-page {
        padding: 16px;
    }

    .edefter-page .page-head,
    .file-row {
        align-items: stretch;
        flex-direction: column;
    }

    .edefter-period-badge {
        text-align: left;
    }
}



/* General assembly agenda wizard */
.agenda-wizard-page { min-height: 100vh; padding: 28px; background: #f3f7f5; color: #1f2d2a; }
.agenda-hero { display: flex; justify-content: space-between; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.agenda-hero span { color: #159957; font-weight: 800; text-transform: uppercase; }
.agenda-hero h1 { margin: 6px 0; font-size: 30px; }
.agenda-hero p { margin: 0; color: #60756c; }
.agenda-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.agenda-actions button, .agenda-wizard-page button { border: 1px solid #dce8e2; border-radius: 8px; background: #fff; color: #07543d; min-height: 38px; padding: 0 14px; font-weight: 800; cursor: pointer; }
.agenda-actions button.primary, .agenda-wizard-page button.primary { background: #087650; border-color: #087650; color: #fff; }
.agenda-wizard-page button.danger { color: #dc2626; border-color: #f3c4c4; }
.agenda-alert { margin-bottom: 14px; padding: 12px 14px; border-radius: 10px; background: #e8f7ef; color: #087650; font-weight: 800; }
.agenda-alert.error { background: #fff1f1; color: #dc2626; }
.agenda-steps { display: grid; grid-template-columns: repeat(6, minmax(120px, 1fr)); gap: 8px; margin-bottom: 18px; padding: 12px; border: 1px solid #e3eae6; border-radius: 12px; background: #fff; box-shadow: 0 12px 28px rgba(15, 61, 42, .06); }
.agenda-steps button { display: grid; grid-template-columns: 38px 1fr; gap: 8px; align-items: center; text-align: left; background: transparent; border-color: transparent; }
.agenda-steps strong { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: #eef6f2; color: #0b3b2a; }
.agenda-steps .active strong, .agenda-steps .done strong { background: #087650; color: #fff; }
.agenda-steps span { font-size: 13px; font-weight: 900; }
.agenda-steps small { grid-column: 2; color: #6b7a73; }
.agenda-shell { display: grid; grid-template-columns: 310px minmax(520px, 1fr) 330px; gap: 16px; align-items: start; }
.agenda-left section, .agenda-center, .agenda-right section { border: 1px solid #e3eae6; border-radius: 12px; background: #fff; box-shadow: 0 12px 28px rgba(15, 61, 42, .06); }
.agenda-left { display: grid; gap: 14px; }
.agenda-left section, .agenda-right section { padding: 16px; }
.panel-title, .agenda-list-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel-title h2, .agenda-list-header h2 { margin: 0; font-size: 17px; }
.agenda-filter-select { min-width: 130px; height: 40px; border: 1px solid #d2ded9; border-radius: 8px; padding: 0 38px 0 12px; background-color: #fff; color: #20342e; font: inherit; font-weight: 800; outline: none; cursor: pointer; }
.agenda-filter-select:focus { border-color: #087650; box-shadow: 0 0 0 3px rgba(8, 118, 80, .12); }
.agenda-left dl { display: grid; gap: 10px; margin: 0; }
.agenda-left dt { color: #6b7a73; font-weight: 800; }
.agenda-left dd { margin: 0; font-weight: 800; color: #0b3b2a; }
.agenda-left textarea { width: 100%; resize: vertical; border: 1px solid #d5e2dc; border-radius: 10px; padding: 10px; }
.agenda-note, .agenda-validation p { color: #667970; font-size: 13px; }
.agenda-validation .ok { color: #087650; font-weight: 900; }
.agenda-center { padding: 16px; }
.agenda-form-grid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 12px; margin-bottom: 16px; }
.agenda-form-grid label { display: grid; gap: 6px; font-weight: 850; color: #34453f; }
.agenda-form-grid .span-2 { grid-column: span 2; }
.agenda-form-grid input, .agenda-form-grid select, .agenda-form-grid textarea { min-height: 40px; border: 1px solid #d2ded9; border-radius: 8px; padding: 8px 10px; font: inherit; }
.agenda-list-header { padding-top: 10px; border-top: 1px solid #edf2ef; }
.agenda-list-header span { display: inline-block; margin-top: 4px; padding: 4px 8px; border-radius: 999px; background: #eef6f2; color: #087650; font-weight: 900; }
.agenda-list { display: grid; gap: 8px; }
.agenda-item { display: grid; grid-template-columns: 28px 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px; border: 1px solid #dfe8e4; border-left: 4px solid #087650; border-radius: 10px; background: #fff; }
.agenda-item.special { border-left-color: #7c3aed; }
.agenda-item .drag-handle { color: #8aa098; cursor: grab; font-weight: 900; }
.agenda-item strong { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #087650; color: #fff; }
.agenda-item textarea { width: 100%; resize: vertical; border: 0; outline: 0; font: inherit; color: #1f2d2a; }
.item-actions { display: flex; gap: 5px; }
.item-actions button { min-height: 30px; padding: 0 9px; }
.template-cards { display: grid; gap: 10px; max-height: 760px; overflow: auto; }
.template-cards article { border: 1px solid #e5eadf; border-radius: 10px; padding: 12px; background: linear-gradient(135deg, #fff, #f8fbfa); }
.template-cards span { color: #d97706; font-weight: 900; font-size: 12px; }
.template-cards h3 { margin: 6px 0; font-size: 16px; }
.template-cards p { margin: 0 0 10px; color: #667970; font-size: 13px; line-height: 1.45; }
.agenda-preview { margin-top: 18px; }
.agenda-preview .paper { max-width: 760px; margin: 0 auto; padding: 34px; border: 1px solid #e2e8e4; border-radius: 6px; background: #fff; box-shadow: 0 18px 36px rgba(15, 23, 42, .08); font-family: 'Times New Roman', serif; }
.agenda-preview h3, .agenda-preview h4 { text-align: center; }
.agenda-preview li { margin-bottom: 8px; line-height: 1.45; }
.agenda-modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 24px; background: rgba(17, 31, 26, .45); }
.agenda-modal > div { width: min(820px, 96vw); max-height: 90vh; overflow: auto; border-radius: 14px; background: #fff; padding: 18px; box-shadow: 0 24px 70px rgba(0,0,0,.22); }
.agenda-modal > div.small { width: min(520px, 96vw); }
.agenda-modal header, .agenda-modal footer { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.agenda-modal .previous-row { display: flex; justify-content: space-between; width: 100%; margin: 6px 0; padding: 12px; text-align: left; }
.agenda-wizard-page, .agenda-wizard-page * { font-weight: 400; }
.agenda-wizard-page :is(h1, h2, h3, h4, p, span, strong, small, button, label, dt, dd, input, select, textarea) { font-weight: 400; }
.agenda-wizard-page button,
.agenda-wizard-page input,
.agenda-wizard-page select,
.agenda-wizard-page textarea,
.agenda-left section,
.agenda-center,
.agenda-right section,
.agenda-steps,
.agenda-item,
.template-cards article,
.agenda-preview .paper,
.agenda-modal > div { border: 0; }
.agenda-wizard-page button,
.agenda-wizard-page input,
.agenda-wizard-page select,
.agenda-wizard-page textarea { background-color: #fff; box-shadow: 0 1px 0 rgba(15, 61, 42, .06), 0 8px 18px rgba(15, 61, 42, .04); }
.agenda-wizard-page button.primary { box-shadow: 0 10px 20px rgba(8, 118, 80, .14); }
.agenda-wizard-page button:focus,
.agenda-wizard-page input:focus,
.agenda-wizard-page select:focus,
.agenda-wizard-page textarea:focus,
.agenda-filter-select:focus { box-shadow: 0 0 0 3px rgba(8, 118, 80, .10), 0 8px 18px rgba(15, 61, 42, .04); }
@media (max-width: 1280px) { .agenda-shell { grid-template-columns: 1fr; } .agenda-steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .agenda-wizard-page { padding: 14px; } .agenda-hero, .agenda-actions, .panel-title, .agenda-list-header { align-items: stretch; flex-direction: column; } .agenda-steps, .agenda-form-grid { grid-template-columns: 1fr; } .agenda-form-grid .span-2 { grid-column: auto; } .agenda-item { grid-template-columns: 24px 30px 1fr; } .item-actions { grid-column: 1 / -1; justify-content: flex-end; } }
/* Dashboard redesign styles start */
.dashboard-page {
    --dash-green: #075b43;
    --dash-green-2: #0f8a5f;
    --dash-mint: #e8f6ef;
    --dash-soft: #f5f8f6;
    --dash-ink: #172622;
    --dash-muted: #687b74;
    --dash-border: #dfe9e4;
    --dash-red: #dc4c4c;
    --dash-orange: #f59e0b;
    display: grid;
    gap: 18px;
    padding: 22px 26px 28px;
    max-width: 100%;
    overflow-x: hidden;
    color: var(--dash-ink);
}

.dashboard-topbar {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 10px 0;
}

.dashboard-title-block {
    min-width: 0;
}

.dashboard-title-block h1 {
    margin: 0;
    color: var(--dash-ink);
    font-size: clamp(19px, 2vw, 25px);
    font-weight: 760;
    line-height: 1.2;
}

.dashboard-title-block span,
.dashboard-topbar-actions {
    color: var(--dash-muted);
    font-size: 13px;
    font-weight: 650;
}

.dashboard-topbar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-status-pill,
.dashboard-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    border: 1px solid #cfe1d9;
    border-radius: 999px;
    padding: 0 11px;
    background: #fff;
    color: var(--dash-green);
    font-size: 12px;
    font-weight: 760;
}

.dashboard-status-pill.success,
.dashboard-badge {
    background: var(--dash-mint);
}

.dashboard-badge.warning,
.dashboard-soft-warning {
    border-color: #fed7aa;
    background: #fff7ed;
    color: #b45309;
}

.dashboard-badge.danger {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

.dashboard-soft-warning {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 680;
}

.dashboard-soft-warning .nav-icon {
    width: 18px;
    height: 18px;
}

.dashboard-kpi-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(160px, 1fr));
    gap: 16px;
}

.dashboard-kpi-card {
    min-width: 0;
    min-height: 118px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    border: 1px solid rgba(7, 91, 67, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(21, 45, 38, .08);
    padding: 18px;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.dashboard-kpi-card:hover,
.quick-action-tile:hover,
.recent-transaction-row:hover,
.dashboard-alert-row:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 38px rgba(21, 45, 38, .12);
}

.dashboard-kpi-icon,
.quick-action-tile span,
.recent-icon {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 8px;
    background: var(--dash-mint);
    color: var(--dash-green-2);
}

.dashboard-kpi-icon .nav-icon,
.quick-action-tile .nav-icon,
.recent-icon .nav-icon {
    width: 25px;
    height: 25px;
}

.dashboard-kpi-body {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.dashboard-kpi-body strong {
    font-size: clamp(21px, 2vw, 27px);
    line-height: 1.05;
    white-space: nowrap;
}

.dashboard-kpi-body span {
    color: var(--dash-ink);
    font-size: 14px;
    font-weight: 760;
}

.dashboard-kpi-body small,
.dashboard-kpi-body em {
    color: var(--dash-muted);
    font-size: 12px;
    font-style: normal;
}

.dashboard-kpi-body em.positive { color: var(--dash-green-2); }
.dashboard-kpi-body em.negative { color: var(--dash-red); }

.kpi-detail-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(6, 31, 23, .36);
    backdrop-filter: blur(4px);
}

.kpi-detail-modal {
    width: min(520px, 100%);
    max-height: min(720px, calc(100vh - 48px));
    overflow: auto;
    border: 1px solid #d7e9e1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 24px 70px rgba(5, 41, 30, .22);
}

.kpi-detail-modal header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 24px 18px;
    border-bottom: 1px solid #edf3f0;
}

.kpi-detail-modal header span {
    display: block;
    margin-bottom: 5px;
    color: #07835f;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.kpi-detail-modal h2 {
    margin: 0;
    color: #0a2119;
    font-size: 24px;
    font-weight: 800;
}

.kpi-detail-modal p {
    margin: 7px 0 0;
    color: #657870;
    font-size: 14px;
}

.kpi-detail-close {
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border: 1px solid #cfe1d9;
    border-radius: 10px;
    background: #f8fcfa;
    color: #075f45;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.kpi-detail-close:hover {
    border-color: #9bcfbc;
    background: #e9f7f1;
}

.kpi-detail-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 24px;
    padding: 14px 16px;
    border: 1px solid #d8efe5;
    border-radius: 12px;
    background: #f2fbf7;
}

.kpi-detail-summary span {
    color: #587169;
    font-size: 13px;
    font-weight: 700;
}

.kpi-detail-summary strong {
    color: #06251b;
    font-size: 20px;
    font-weight: 800;
}

.kpi-detail-table {
    display: grid;
    padding: 0 24px 24px;
}

.kpi-detail-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    min-height: 46px;
    border-bottom: 1px solid #edf3f0;
}

.kpi-detail-row.heading {
    min-height: 36px;
    color: #6b7e77;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.kpi-detail-row:not(.heading) span {
    min-width: 0;
    overflow: hidden;
    color: #17352c;
    font-size: 14px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.kpi-detail-row strong {
    color: #00684b;
    font-size: 14px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: minmax(320px, 1.2fr) minmax(320px, 1fr) minmax(300px, .95fr);
    gap: 16px;
    align-items: stretch;
}

.dashboard-card {
    min-width: 0;
    border: 1px solid rgba(7, 91, 67, .08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(21, 45, 38, .07);
    padding: 22px;
}

.financial-summary-card {
    min-height: 330px;
    display: grid;
    grid-template-rows: auto auto minmax(110px, 1fr) auto;
    background: radial-gradient(circle at 78% 18%, rgba(88, 190, 126, .2), transparent 28%), linear-gradient(135deg, #064735, #063f32 58%, #075b43);
    color: #fff;
}

.dashboard-card-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.dashboard-card-title h2 {
    margin: 0;
    color: inherit;
    font-size: 18px;
    font-weight: 780;
    letter-spacing: 0;
}

.dashboard-outline-button,
.dashboard-soft-button,
.dashboard-primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    border-radius: 8px;
    padding: 0 13px;
    font-size: 12px;
    font-weight: 760;
    cursor: pointer;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
}

.dashboard-outline-button {
    border: 1px solid rgba(255, 255, 255, .72);
    background: transparent;
    color: #fff;
}

a.dashboard-outline-button,
a.dashboard-outline-button:visited,
a.dashboard-outline-button:hover,
a.dashboard-outline-button:focus,
a.dashboard-outline-button:active {
    color: #fff;
    text-decoration: none;
}

.dashboard-outline-button:hover,
.dashboard-outline-button:focus {
    border-color: rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .12);
    color: #fff;
}

.dashboard-outline-button:focus-visible {
    outline: 3px solid rgba(255, 255, 255, .28);
    outline-offset: 2px;
}

.dashboard-soft-button {
    border: 1px solid #cfe1d9;
    background: #fff;
    color: var(--dash-green);
}

.dashboard-soft-button.small {
    min-height: 30px;
}

.dashboard-primary-button {
    border: 1px solid var(--dash-green-2);
    background: var(--dash-green-2);
    color: #fff;
}

.financial-summary-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 8px;
}

.financial-summary-values div:last-child {
    grid-column: 1 / -1;
    border-top: 1px solid rgba(255, 255, 255, .2);
    padding-top: 12px;
}

.financial-summary-values span,
.financial-summary-card footer {
    color: rgba(255, 255, 255, .76);
    font-size: 12px;
    font-weight: 760;
    text-transform: uppercase;
}

.financial-summary-values strong {
    display: block;
    margin-top: 5px;
    font-size: clamp(22px, 2.2vw, 29px);
    line-height: 1.1;
}

.cash-count-warning {
    color: #fde68a;
}

.bank-status-layout {
    display: grid;
    grid-template-columns: 210px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
}

.dashboard-donut-wrap {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 220px;
}

.dashboard-donut-wrap > div {
    position: absolute;
    inset: 0;
    display: grid;
    place-content: center;
    text-align: center;
}

.dashboard-donut-wrap span {
    color: var(--dash-muted);
    font-size: 12px;
}

.dashboard-donut-wrap strong {
    font-size: 16px;
}

.dashboard-donut-canvas,
.dashboard-chart-canvas,
.dashboard-mini-line-canvas {
    display: block;
    width: 100%;
    max-width: 100%;
}

.bank-account-list,
.recent-transaction-list,
.dashboard-alert-list,
.version-list {
    display: grid;
    gap: 10px;
}

.bank-account-row,
.bank-account-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid #eef3f0;
    padding-bottom: 10px;
}

.bank-account-row span {
    display: grid;
    grid-template-columns: 10px minmax(0, 1fr);
    column-gap: 8px;
    align-items: center;
    min-width: 0;
}

.bank-account-row small {
    grid-column: 2;
    color: var(--dash-muted);
    font-size: 12px;
}

.positive-dot,
.negative-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--dash-green-2);
}

.negative-dot { background: var(--dash-red); }
.negative-money,
.expense-text { color: var(--dash-red); }
.income-text { color: var(--dash-green-2); }

.bank-status-footer {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

.bank-status-footer div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.recent-transactions-card {
    grid-row: span 2;
}

.recent-transaction-row,
.dashboard-alert-row,
.quick-action-tile {
    border: 1px solid #e2ece7;
    border-radius: 8px;
    background: #fff;
    color: inherit;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.recent-transaction-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 9px;
    text-align: left;
}

.recent-icon {
    width: 40px;
    height: 40px;
}

.recent-icon.expense {
    background: #fff1f2;
    color: var(--dash-red);
}

.recent-copy,
.recent-amount {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.recent-copy b,
.recent-amount {
    font-size: 13px;
    font-weight: 780;
}

.recent-copy small,
.recent-copy em,
.recent-amount small {
    color: var(--dash-muted);
    font-size: 11px;
    font-style: normal;
}

.income-expense-card {
    grid-column: span 2;
}

.dashboard-period-select {
    min-height: 36px;
    border: 1px solid #d6e3de;
    border-radius: 8px;
    background: #fff;
    color: var(--dash-ink);
    padding: 0 10px;
    font-weight: 700;
}

.income-summary-grid,
.collection-grid,
.quick-action-grid {
    display: grid;
    gap: 10px;
}

.income-summary-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 14px;
}

.income-summary-grid article,
.collection-grid div {
    border: 1px solid #d9eee4;
    border-radius: 8px;
    background: #f3fbf7;
    padding: 13px;
}

.income-summary-grid article.expense {
    border-color: #f5d3d3;
    background: #fff6f6;
}

.income-summary-grid article.net {
    border-color: #d7e8f5;
    background: #f2f8fd;
}

.income-summary-grid span,
.collection-grid span {
    color: var(--dash-muted);
    font-size: 12px;
    font-weight: 720;
}

.income-summary-grid strong,
.collection-grid strong {
    display: block;
    margin-top: 4px;
    font-size: 17px;
}

.income-summary-grid small {
    color: var(--dash-muted);
    font-size: 11px;
}

.collection-progress {
    height: 14px;
    border-radius: 999px;
    background: #e7efeb;
    overflow: hidden;
    margin-bottom: 14px;
}

.collection-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--dash-green), #4bbf79);
}

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

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

.quick-action-tile {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 70px;
    padding: 12px;
    text-align: left;
}

.quick-action-tile span {
    grid-row: span 2;
    width: 42px;
    height: 42px;
}

.quick-action-tile b {
    align-self: end;
    font-size: 13px;
}

.quick-action-tile small {
    align-self: start;
    color: var(--dash-muted);
    font-size: 11px;
}

.dashboard-alert-row {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 9px;
    align-items: center;
    padding: 10px;
    text-align: left;
}

.dashboard-alert-row span {
    grid-row: span 2;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eef4f1;
    color: var(--dash-green);
}

.dashboard-alert-row.warning span {
    background: #fff7ed;
    color: #b45309;
}

.dashboard-alert-row.critical span {
    background: #fff1f2;
    color: #b91c1c;
}

.dashboard-alert-row b {
    font-size: 13px;
}

.dashboard-alert-row small {
    color: var(--dash-muted);
    font-size: 12px;
}

.version-list div {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    border-bottom: 1px solid #eef3f0;
    padding-bottom: 9px;
}

.version-list b {
    color: var(--dash-green);
}

.version-list span,
.version-list small {
    color: var(--dash-muted);
    font-size: 12px;
}

.dashboard-empty-inline {
    display: grid;
    place-items: center;
    min-height: 120px;
    border: 1px dashed #d6e3de;
    border-radius: 8px;
    color: var(--dash-muted);
    background: #fbfdfc;
    text-align: center;
    padding: 16px;
}

.dashboard-empty-state {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 360px;
    border-radius: 8px;
    background: #fff;
    text-align: center;
    padding: 30px;
}

.dashboard-empty-state .nav-icon {
    width: 42px;
    height: 42px;
    color: var(--dash-orange);
}

.skeleton-block {
    position: relative;
    overflow: hidden;
    min-height: 110px;
    background: #e9f0ed;
}

.skeleton-block::after {
    content: "";
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent);
    animation: dashboard-shimmer 1.3s infinite;
}

@keyframes dashboard-shimmer {
    100% { transform: translateX(100%); }
}

.version-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(7, 37, 28, .42);
}

.version-modal {
    width: min(620px, 100%);
    max-height: min(680px, calc(100vh - 36px));
    overflow: auto;
    border-radius: 8px;
    background: #fff;
    padding: 22px;
}

@media (max-width: 1320px) {
    .dashboard-kpi-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

    .recent-transactions-card {
        grid-row: auto;
    }
}

@media (max-width: 860px) {
    .dashboard-page {
        padding: 16px;
    }

    .dashboard-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-topbar-actions {
        justify-content: flex-start;
    }

    .dashboard-kpi-grid,
    .dashboard-main-grid,
    .income-summary-grid,
    .collection-grid,
    .quick-action-grid,
    .financial-summary-values,
    .bank-status-layout {
        grid-template-columns: 1fr;
    }

    .income-expense-card {
        grid-column: auto;
    }

    .recent-transaction-row {
        grid-template-columns: 40px minmax(0, 1fr);
    }

    .recent-amount {
        grid-column: 2;
    }

    .version-list div {
        grid-template-columns: 1fr;
    }
}
/* Dashboard redesign styles end */

.reconnect-modal{display:none;position:fixed;inset:0;z-index:99999;place-items:center;background:rgba(3,25,19,.5);backdrop-filter:blur(4px)}.reconnect-modal.components-reconnect-show,.reconnect-modal.components-reconnect-failed,.reconnect-modal.components-reconnect-rejected{display:grid}.reconnect-card{display:grid;justify-items:center;gap:10px;width:min(420px,calc(100% - 32px));padding:30px;border-radius:20px;background:#fff;text-align:center;box-shadow:0 25px 80px rgba(0,0,0,.22)}.reconnect-spinner{width:38px;height:38px;border:4px solid #dcece6;border-top-color:#078763;border-radius:50%;animation:reconnect-spin .8s linear infinite}.reconnect-card strong{font-size:21px;color:#073b2d}.reconnect-card p{margin:0;color:#61756e}.reconnect-card button{margin-top:8px;padding:10px 16px;border:0;border-radius:10px;background:#087d5d;color:#fff;font-weight:750}@keyframes reconnect-spin{to{transform:rotate(360deg)}}
.mdb-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.mdb-steps span{padding:12px 16px;border:1px solid #cfe0db;border-radius:10px;background:#fff;color:#65766f;font-weight:700}.mdb-steps span.active{background:#e5f5ef;color:#006b50;border-color:#9ed5c3}.mdb-dropzone{display:flex;flex-direction:column;gap:8px;padding:24px;border:2px dashed #9ecbbb;border-radius:14px;background:#f4fbf8;margin-top:16px}.mdb-dropzone input{margin-top:8px}.mdb-progress{display:flex;align-items:center;gap:12px;margin-top:16px;padding:14px;border-radius:10px;background:#eef8f4;overflow:hidden;position:relative}.mdb-progress-bar{position:absolute;inset:0 auto 0 0;width:35%;background:rgba(22,150,105,.12);animation:mdb-loading 1.2s ease-in-out infinite alternate}.mdb-mapping-grid{margin-top:18px}.mdb-mapping-grid select{width:100%;padding:12px;border:1px solid #cbdad5;border-radius:8px}.mdb-report-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:16px 0}.mdb-report-grid div{padding:14px;border:1px solid #d9e6e1;border-radius:10px}.mdb-report-grid span,.mdb-report-grid strong{display:block}.mdb-report-grid span{color:#64766f;font-size:.85rem;margin-bottom:5px}@keyframes mdb-loading{from{transform:translateX(-100%)}to{transform:translateX(290%)}}@media(max-width:800px){.mdb-steps,.mdb-report-grid{grid-template-columns:1fr 1fr}}
.mdb-progress.validation{margin-bottom:16px}.mdb-validation-summary{display:flex;justify-content:space-between;gap:16px;padding:16px;margin:16px 0;border:1px solid #a9d8c7;border-radius:10px;background:#edf9f4;color:#006b50}.mdb-validation-summary.has-error{border-color:#efb6b6;background:#fff1f1;color:#a52323}.validation-severity{display:inline-block;padding:4px 9px;border-radius:999px;font-size:.78rem;font-weight:800}.validation-severity.error{background:#ffe4e4;color:#b42318}.validation-severity.warning{background:#fff2ce;color:#8a5a00}
.mdb-correction-panel{border-left:5px solid #d69b00}.mdb-correction-panel p{max-width:980px;color:#5c6d67;line-height:1.6}
.mdb-skip-approval{margin-top:18px;padding:18px;border:1px solid #efc36a;border-radius:12px;background:#fff9eb}.mdb-skip-approval label{display:block;font-weight:800;margin-bottom:8px}.mdb-skip-approval input{width:100%;max-width:520px;padding:12px;border:1px solid #d9b45d;border-radius:8px;text-transform:uppercase}.mdb-skip-approved{margin-top:12px;color:#006b50;font-weight:800}
.mdb-target-check{margin-top:18px}.mdb-target-check .settings-section-title{align-items:center}
.mdb-import-plan{margin-top:18px;border-left:5px solid #168b67}.mdb-import-plan .settings-section-title{align-items:center}
.mdb-final-execution{margin-top:18px;border:2px solid #d86464}.mdb-final-execution h2{color:#9f2020}.mdb-quarantine-check{display:flex;gap:10px;align-items:center;margin:16px 0;padding:14px;border-radius:10px;background:#fff5df}.mdb-final-import-button{font-weight:900}
