:root {
    --bg: #f5f7fb;
    --surface: #ffffff;
    --surface-2: #f8fafc;
    --text: #0f172a;
    --muted: #64748b;
    --line: #e2e8f0;
    --primary: #2563eb;
    --primary-2: #1d4ed8;
    --success: #16a34a;
    --warning: #d97706;
    --danger: #dc2626;
    --shadow: 0 18px 45px rgba(15, 23, 42, .08);
    --radius: 20px;
    --radius-sm: 14px;
    --max: 1240px;
}

* {
    box-sizing: border-box
}

html,
body {
    margin: 0;
    padding: 0
}

body {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #f8fbff 0%, #f5f7fb 35%, #eef2f7 100%);
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none
}

img {
    max-width: 100%;
    display: block
}

.container {
    width: min(var(--max), calc(100% - 40px));
    margin: 0 auto
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    backdrop-filter: saturate(180%) blur(16px);
    background: rgba(255, 255, 255, .72);
    border-bottom: 1px solid rgba(226, 232, 240, .85);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 18px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    letter-spacing: -.02em
}

.brand-badge {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #60a5fa);
    color: #fff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .28)
}

.nav {
    display: flex;
    align-items: center;
    gap: 28px;
    color: var(--muted);
    font-weight: 600
}

.nav a:hover {
    color: var(--text)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 46px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    cursor: pointer;
    transition: .2s ease;
}

.btn:hover {
    transform: translateY(-1px)
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .25)
}

.btn-primary:hover {
    background: var(--primary-2)
}

.btn-secondary {
    background: #fff;
    border-color: var(--line);
    color: var(--text)
}

.btn-ghost {
    background: transparent;
    color: var(--muted)
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid #dbeafe;
    background: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 14px
}

.hero {
    padding: 72px 0 32px
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 40px;
    align-items: center
}

.hero h1 {
    margin: 18px 0 16px;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: -.04em
}

.hero p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 18px;
    max-width: 680px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 24px
}

.stat {
    background: rgba(255, 255, 255, .72);
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: 18px;
    padding: 16px 18px;
    box-shadow: var(--shadow)
}

.stat strong {
    display: block;
    font-size: 22px;
    letter-spacing: -.03em
}

.stat span {
    color: var(--muted);
    font-size: 14px
}

.card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.preview {
    padding: 20px;
    background: linear-gradient(180deg, #ffffff, #f8fbff)
}

.preview-window {
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid #dbe4ee;
    background: #fff
}

.preview-top {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #f8fafc;
    border-bottom: 1px solid var(--line)
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1
}

.preview-body {
    padding: 18px
}

.mini-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 14px
}

.mini-panel,
.mini-side,
.mini-chart,
.mini-row {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

.mini-panel {
    padding: 16px
}

.mini-side {
    padding: 16px;
    display: grid;
    gap: 10px
}

.mini-row {
    height: 48px
}

.mini-chart {
    height: 180px;
    background:
        linear-gradient(180deg, rgba(37, 99, 235, .06), rgba(37, 99, 235, 0)),
        linear-gradient(90deg, transparent 0 14%, rgba(226, 232, 240, .55) 14% 15%, transparent 15% 29%, rgba(226, 232, 240, .55) 29% 30%, transparent 30% 44%, rgba(226, 232, 240, .55) 44% 45%, transparent 45% 59%, rgba(226, 232, 240, .55) 59% 60%, transparent 60% 74%, rgba(226, 232, 240, .55) 74% 75%, transparent 75% 89%, rgba(226, 232, 240, .55) 89% 90%, transparent 90%);
    position: relative;
    overflow: hidden
}

.mini-chart::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 24px;
    height: 82px;
    background: linear-gradient(180deg, rgba(37, 99, 235, .18), rgba(37, 99, 235, .04));
    clip-path: path("M 0 60 C 60 10, 100 80, 150 48 S 250 20, 320 44 L 320 82 L 0 82 Z");
}

.section {
    padding: 32px 0
}

.section h2 {
    margin: 0 0 10px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
    letter-spacing: -.03em
}

.section p.lead {
    margin: 0;
    color: var(--muted);
    max-width: 720px
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 28px
}

.feature {
    padding: 22px
}

.icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    font-weight: 800
}

.feature h3 {
    margin: 0 0 8px;
    font-size: 20px
}

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

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    align-items: stretch
}

.mock {
    padding: 24px;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center
}

.checklist {
    display: grid;
    gap: 14px
}

.check {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: var(--surface)
}

.check b {
    display: block;
    margin-bottom: 4px
}

.check span {
    color: var(--muted)
}

.cta {
    margin: 42px 0 64px;
    padding: 32px;
    border-radius: 28px;
    color: #fff;
    background: linear-gradient(135deg, #0f172a, #1d4ed8 60%, #60a5fa 100%);
    box-shadow: 0 24px 60px rgba(37, 99, 235, .22)
}

.cta-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: center
}

.cta h2 {
    margin: 0 0 10px;
    font-size: 42px;
    letter-spacing: -.04em
}

.cta p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 17px
}

.footer {
    padding: 22px 0 44px;
    color: var(--muted)
}

.footer-line {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    border-top: 1px solid var(--line);
    padding-top: 18px
}

.app-shell {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
    background: var(--bg)
}

.sidebar {
    background: #0f172a;
    color: #cbd5e1;
    padding: 24px 18px;
    border-right: 1px solid rgba(255, 255, 255, .04)
}

.side-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 24px
}

.side-brand .brand-badge {
    width: 38px;
    height: 38px
}

.side-nav {
    display: grid;
    gap: 8px;
    margin-top: 16px
}

.side-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 14px;
    border-radius: 14px;
    color: #cbd5e1;
    font-weight: 600
}

.side-link.active,
.side-link:hover {
    background: rgba(255, 255, 255, .08);
    color: #fff
}

.side-section-title {
    margin: 22px 12px 10px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #94a3b8
}

.main {
    display: flex;
    flex-direction: column;
    min-width: 0
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 20
}

.search {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    height: 48px;
    width: min(520px, 100%);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    color: var(--muted)
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #dbeafe;
    display: grid;
    place-items: center;
    color: #1d4ed8;
    font-weight: 800
}

.content {
    padding: 28px
}

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

.page-head h1 {
    margin: 0 0 6px;
    font-size: 34px;
    letter-spacing: -.03em
}

.page-head p {
    margin: 0;
    color: var(--muted)
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px
}

.metric {
    padding: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow)
}

.metric .label {
    color: var(--muted);
    font-size: 14px
}

.metric .value {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 8px 0 4px
}

.metric .delta {
    font-size: 13px;
    font-weight: 700
}

.delta.up {
    color: var(--success)
}

.delta.warn {
    color: var(--warning)
}

.dashboard-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 18px
}

.panel {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow)
}

.panel h3 {
    margin: 0 0 14px;
    font-size: 20px
}

.table {
    width: 100%;
    border-collapse: collapse
}

.table th,
.table td {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    text-align: left
}

.table th {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700
}

.table tr:last-child td {
    border-bottom: none
}

.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px
}

.badge.paid {
    background: #ecfdf3;
    color: #15803d
}

.badge.pending {
    background: #fff7ed;
    color: #c2410c
}

.badge.draft {
    background: #eff6ff;
    color: #1d4ed8
}

.list {
    display: grid;
    gap: 12px
}

.activity {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface-2)
}

.activity .bubble {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #eff6ff;
    color: #2563eb;
    display: grid;
    place-items: center;
    font-weight: 800
}

.kpi-chart {
    height: 280px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background:
        linear-gradient(180deg, rgba(37, 99, 235, .07), rgba(37, 99, 235, 0)),
        repeating-linear-gradient(to right, transparent 0 15%, rgba(226, 232, 240, .9) 15% 15.6%),
        repeating-linear-gradient(to top, transparent 0 24%, rgba(226, 232, 240, .9) 24% 24.8%);
    position: relative;
    overflow: hidden
}

.kpi-chart::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(37, 99, 235, .16), rgba(37, 99, 235, .04));
    clip-path: path("M 18 208 C 86 145, 154 178, 222 118 S 365 105, 446 72 S 586 84, 760 38 L 760 280 L 18 280 Z");
}

.kpi-chart::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    top: 0;
    bottom: 0;
    border-bottom: 3px solid #2563eb;
    clip-path: path("M 0 208 C 68 145, 136 178, 204 118 S 347 105, 428 72 S 568 84, 742 38");
}

.form-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px
}

.form-card,
.preview-card,
.settings-card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow)
}

.form-section-title {
    margin: 24px 0 14px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--muted)
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px
}

.field {
    display: grid;
    gap: 8px
}

.field label {
    font-weight: 700;
    font-size: 14px
}

.input,
.select,
.textarea {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text)
}

.textarea {
    height: 116px;
    padding-top: 14px;
    resize: vertical
}

.line-items {
    display: grid;
    gap: 12px;
    margin-top: 10px
}

.line-item {
    display: grid;
    grid-template-columns: 1.6fr .7fr .7fr .7fr auto;
    gap: 10px;
    align-items: center
}

.subtle {
    color: var(--muted)
}

.invoice-sheet {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 24px
}

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

.invoice-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 20px
}

.invoice-brand .brand-badge {
    width: 44px;
    height: 44px
}

.invoice-meta {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 8px 18px;
    color: var(--muted);
    font-size: 14px
}

.invoice-blocks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px
}

.invoice-block {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #f8fafc
}

.invoice-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px
}

.invoice-table th,
.invoice-table td {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    text-align: left
}

.invoice-total {
    margin-left: auto;
    margin-top: 16px;
    width: min(320px, 100%);
    padding-top: 8px
}

.invoice-total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--line)
}

.invoice-total-row.strong {
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
    border-bottom: none
}

.toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff
}

.switch {
    width: 54px;
    height: 32px;
    border-radius: 999px;
    background: #dbeafe;
    position: relative
}

.switch::after {
    content: "";
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #2563eb;
    top: 4px;
    right: 4px
}

.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px
}

.plan-card {
    padding: 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #eff6ff, #ffffff);
    border: 1px solid #bfdbfe
}

.note {
    margin-top: 14px;
    padding: 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid var(--line);
    color: var(--muted)
}

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

.center {
    display: flex;
    align-items: center
}

.gap-12 {
    gap: 12px
}

.mt-16 {
    margin-top: 16px
}

.mt-20 {
    margin-top: 20px
}

.mt-24 {
    margin-top: 24px
}

@media (max-width: 1100px) {

    .hero-grid,
    .split,
    .cta-grid,
    .dashboard-grid,
    .form-layout,
    .settings-grid {
        grid-template-columns: 1fr
    }

    .metric-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .features {
        grid-template-columns: 1fr 1fr
    }

    .app-shell {
        grid-template-columns: 92px 1fr
    }

    .sidebar .label-hide,
    .side-section-title {
        display: none
    }
}

@media (max-width: 760px) {
    .nav {
        display: none
    }

    .hero {
        padding-top: 34px
    }

    .hero-stats,
    .features,
    .metric-grid,
    .field-grid,
    .invoice-blocks {
        grid-template-columns: 1fr
    }

    .line-item {
        grid-template-columns: 1fr 1fr
    }

    .app-shell {
        grid-template-columns: 1fr
    }

    .sidebar {
        display: none
    }

    .content,
    .app-header {
        padding-inline: 18px
    }
}

div#loginModal {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#loginModal .main-cont {
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: #fff;
    max-width: 500px;
}

#loginModal .main-cont {
    padding: 24px;
    border-radius: 20px;
    box-shadow: var(--shadow);
    background: #fff;
}

#loginModal .main-cont h2 {
    margin: 0 0 12px;
    font-size: 22px;
    letter-spacing: -.02em
}

#loginModal .main-cont p {
    margin: 0 0 18px;
    color: var(--muted)
}

#loginModal .modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line)
}

#loginModal .close-btn {
    border: 0;
    background: transparent;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: var(--muted)
}

#loginForm {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 320px;
}

#loginForm label {
    font-weight: 700;
    font-size: 14px;
}

#loginForm input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text)
}

.btn .google-btn {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--text);
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    width: fit-content;
    margin: 0;
}

#loginSubmit {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(37, 99, 235, .25);
    grid-column: -1 / 1;
}

#loginSubmit:hover {
    background: var(--primary-2);
}

#loginModal input[type="checkbox"] {
    width: 16px;
    height: 16px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.flex.items-center.gap-3 {
    display: grid;
    grid-template-columns: 30px calc(100% - 50px);
    grid-column-gap: 20px;
}
.flex.items-center.gap-3.min-w-\[200px\] {
    grid-template-columns: 200px calc(100% - 220px);
}
a.text-sm.underline {
    grid-column: -1 / 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-text {
    font-weight: 800;
    letter-spacing: -0.02em;
}

/* Optional: nicer name styling */
.brand-text span:first-child {
    color: #2563eb;
    /* Simple */
}

.brand-text span:last-child {
    color: #16a34a;
    /* PDF */
}

.feature-grid-extended {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 28px;
}

.feature-extended {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 18px;
    align-items: flex-start;
    padding: 22px;
    min-height: 180px;
}

.feature-icon-wrap {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    flex-shrink: 0;
}

.feature-icon-image {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.feature-extended h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.feature-extended p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .feature-grid-extended {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .feature-extended {
        grid-template-columns: 1fr;
    }

    .feature-icon-wrap {
        width: 56px;
        height: 56px;
    }

    .feature-icon-image {
        width: 32px;
        height: 32px;
    }
}
.symbol-logo img,
.feature-icon-image{
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}
.brand-logo-inline{width:40px;height:40px;display:grid;place-items:center;flex-shrink:0}
    .brand-logo-inline svg{display:block;width:40px;height:40px}
    .toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:18px}
    .toolbar-left,.toolbar-right{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
    .filter-chip{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 14px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--muted);font-weight:700}
    .filter-chip.active{color:#1d4ed8;background:#eff6ff;border-color:#bfdbfe}
    .mini-search{width:280px;max-width:100%;height:42px;padding:0 14px;border-radius:14px;border:1px solid var(--line);background:#fff;color:var(--text)}
    .table-panel{overflow:hidden}
    .invoice-row-id{font-weight:800;color:var(--text)}
    .client-cell small,.invoice-row-meta{display:block;color:var(--muted);font-size:13px}
    .table-actions{display:flex;gap:8px;flex-wrap:wrap}
    .table-btn{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:#fff;color:var(--muted);font-weight:700}
    .table-btn:hover{color:var(--text);border-color:#cbd5e1}
    .status-overdue{background:#fef2f2;color:#b91c1c}
    .amount-strong{font-weight:800}
    .cards-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:18px}
    .summary-card{padding:18px 20px;background:#fff;border:1px solid var(--line);border-radius:18px;box-shadow:var(--shadow)}
    .summary-card .top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:10px}
    .summary-card .kpi{font-size:26px;font-weight:800;letter-spacing:-.03em}
    .summary-card .meta{color:var(--muted);font-size:14px}
    .pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;margin-top:18px}
    .pager{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
    .page-pill{min-width:40px;height:40px;padding:0 12px;border-radius:12px;border:1px solid var(--line);background:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:700;color:var(--muted)}
    .page-pill.active{background:var(--primary);border-color:var(--primary);color:#fff}
    .empty-note{margin-top:16px;padding:14px 16px;border-radius:16px;border:1px dashed #cbd5e1;color:var(--muted);background:#f8fafc}
    @media (max-width:980px){.cards-summary{grid-template-columns:1fr}}