:root {
    --bg: #081725;
    --panel: #17283a;
    --panel-2: #1d3045;
    --line: rgba(148, 163, 184, 0.18);
    --text: #f8fafc;
    --muted: #9fb0c3;
    --cyan: #38bdf8;
    --purple: #a78bfa;
    --green: #34d399;
    --orange: #fbbf24;
    --red: #fb7185;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-color: rgba(36, 215, 213, .62) #0b1b2b; scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #0b1b2b; }
::-webkit-scrollbar-thumb { background: #334a63; border: 2px solid #0b1b2b; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--cyan); }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}
button, input, select, textarea { font: inherit; }
button, .btn, a { transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
a { color: inherit; text-decoration: none; }
.sidebar {
    width: 270px;
    height: 100dvh;
    position: fixed;
    inset: 0 auto 0 0;
    overflow-y: auto;
    background: #102235;
    border-right: 1px solid var(--line);
    padding: 22px 18px 14px;
    z-index: 1040;
    scrollbar-gutter: stable;
}
.brand { display: flex; align-items: center; gap: 12px; padding: 0 4px 24px; border-bottom: 1px solid var(--line); }
.brand-mark, .avatar {
    width: 40px; height: 40px; display: grid; place-items: center; border-radius: 8px;
    background: linear-gradient(135deg, #0ea5e9, #6366f1); color: white;
}
.brand small { display: block; color: var(--muted); font-size: 12px; }
.side-nav { display: grid; gap: 6px; padding-top: 18px; padding-bottom: 72px; }
.nav-group { margin: 16px 0 6px; color: #7e90a7; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.side-nav a, .logout-link {
    display: flex; align-items: center; gap: 12px; min-height: 42px; width: 100%;
    padding: 10px 12px; border: 0; border-radius: 8px; background: transparent; color: #d6deea; text-align: left;
}
.side-nav a:hover, .side-nav a.active, .logout-link:hover { background: rgba(56, 189, 248, 0.1); color: #fff; }
.side-nav i { width: 18px; color: var(--cyan); }
.danger-link, .danger-link i { color: var(--red) !important; }
.sidebar-scroll-top {
    position: sticky; bottom: 0; width: 100%; min-height: 42px; display: grid; place-items: center;
    border: 1px solid rgba(36, 215, 213, .28); border-radius: 8px; background: #1d2d40; color: var(--cyan);
    box-shadow: 0 -12px 26px rgba(23, 37, 54, 0.94);
}
.app-shell { min-height: 100vh; margin-left: 270px; padding: 28px; }
.topbar { display: grid; grid-template-columns: minmax(240px, 1fr) minmax(220px, 320px) auto; gap: 18px; align-items: center; margin-bottom: 18px; }
.eyebrow { margin: 0 0 4px; color: var(--cyan); font-weight: 800; text-transform: uppercase; font-size: 11px; }
h1 { margin: 0; font-size: 30px; font-weight: 800; }
.searchbar {
    display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 11px;
    border: 1px solid transparent; border-bottom-color: var(--line); background: rgba(23, 37, 54, 0.46); border-radius: 6px;
}
.searchbar i { color: #7f92aa; font-size: 13px; }
.searchbar-reset {
    width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto;
    border-radius: 6px; color: #8194aa;
}
.searchbar-reset:hover { background: rgba(251, 113, 133, .1); color: var(--red); }
.searchbar input, .page-search-form input {
    width: 100%; min-width: 0; border: 0; outline: 0; color: var(--text); background: transparent; font-size: 14px;
}
.searchbar:focus-within, .page-search-form:focus-within {
    border-color: rgba(36, 215, 213, 0.62); background: rgba(23, 37, 54, 0.82); box-shadow: 0 0 0 3px rgba(36, 215, 213, 0.07);
}
.date-pill, .quick-actions a { min-height: 44px; border: 1px solid var(--line); background: var(--panel); border-radius: 8px; }
.date-pill { display: inline-flex; align-items: center; gap: 9px; padding: 0 14px; color: var(--muted); }
.quick-actions { display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 10px; margin-bottom: 20px; }
.quick-actions a {
    display: inline-flex; align-items: center; gap: 9px; padding: 0 14px; color: #dbe7f3;
    transition: border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.quick-actions a i { color: #7dd3fc; }
.quick-actions a:hover { border-color: rgba(56, 189, 248, .45); background: #1b3045; transform: translateY(-1px); }
.page-search-card { margin: 0 0 16px; }
.page-search-form {
    display: grid; grid-template-columns: auto minmax(180px, 1fr) 36px 36px; align-items: center; gap: 8px;
    min-height: 42px; padding: 3px 5px 3px 12px; border: 1px solid var(--line); border-radius: 6px; background: rgba(23, 37, 54, 0.58);
}
.page-search-form > i { color: var(--cyan); }
.search-icon-button {
    width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid transparent; border-radius: 6px;
    background: rgba(36, 215, 213, 0.14); color: var(--cyan);
}
.search-reset-button { background: rgba(255, 107, 122, 0.1); color: var(--red); }
.search-helper { display: flex; justify-content: space-between; gap: 10px; margin-top: 10px; color: var(--muted); font-size: 13px; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-bottom: 18px; align-items: stretch; }
.hero-card, .panel, .stat-card, .table-card {
    background: var(--panel); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 30px rgba(0,0,0,.14);
}
.hero-card, .stat-card {
    --accent: var(--cyan);
    --accent-soft: rgba(56, 189, 248, .12);
    position: relative;
    overflow: hidden;
}
.hero-card::before, .stat-card::before {
    position: absolute;
    inset: 0 auto 0 0;
    width: 3px;
    background: var(--accent);
    content: "";
}
.hero-card { min-height: 128px; padding: 20px 20px 20px 22px; background: linear-gradient(145deg, #1d3045, #17283a); }
.hero-meta { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 13px; }
.hero-meta > span, .stat-head > span:first-child { color: #b8c7d8; background: transparent; }
.hero-meta strong { color: #dbe7f3; font-weight: 600; }
.hero-value { display: flex; align-items: center; gap: 10px; margin: 15px 0 18px; font-size: 24px; font-weight: 800; }
.hero-value i { color: var(--accent); font-size: 21px; }
.metric-accent-line { width: 100%; height: 3px; border-radius: 999px; background: linear-gradient(90deg, var(--accent), transparent 82%); opacity: .75; }
.accent-cyan { --accent: #38bdf8; --accent-soft: rgba(56, 189, 248, .12); }
.accent-purple { --accent: #a78bfa; --accent-soft: rgba(167, 139, 250, .12); }
.accent-green { --accent: #34d399; --accent-soft: rgba(52, 211, 153, .12); }
.accent-orange { --accent: #fbbf24; --accent-soft: rgba(251, 191, 36, .12); }
.accent-red { --accent: #fb7185; --accent-soft: rgba(251, 113, 133, .12); }
.stat-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.stat-card { min-height: 138px; padding: 18px 18px 18px 20px; background: linear-gradient(145deg, #1b2d41, #17283a); }
.stat-head, .panel-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stat-head { color: var(--muted); font-size: 13px; }
.stat-icon {
    width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
    border-radius: 10px; background: var(--accent-soft); color: var(--accent);
}
.stat-value { margin: 14px 0 12px; font-size: 22px; font-weight: 800; overflow-wrap: anywhere; }
.stat-description { margin: -4px 0 12px; color: var(--muted); font-size: 11px; line-height: 1.45; }
.report-formula-note { color: var(--muted); font-size: 12px; line-height: 1.6; }
.report-formula-note strong { color: var(--text); }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 330px); gap: 18px; margin-top: 18px; }
.content-grid > *, .dashboard-main-column, .dashboard-side-column { min-width: 0; }
.panel { padding: 22px; margin-bottom: 18px; overflow-x: auto; scrollbar-gutter: stable; }
.dashboard-main-column, .dashboard-side-column { max-width: 100%; }
.dashboard-compact-panel { overflow: hidden; scrollbar-gutter: auto; }
.content-grid > div > .panel:last-child, .content-grid > aside > .panel:last-child { margin-bottom: 0; }
.panel-title { margin-bottom: 18px; }
.panel-title h2 { margin: 0; font-size: 18px; font-weight: 800; }
.dark-table { width: 100%; min-width: 720px; border-collapse: separate; border-spacing: 0; color: var(--text); }
.compact-table { min-width: 0; table-layout: fixed; }
.compact-table td { padding: 13px 8px; overflow-wrap: anywhere; }
.compact-table td:first-child { width: 58%; }
.compact-table td:last-child { width: 42%; }
.dashboard-compact-table { width: 100%; min-width: 0; table-layout: fixed; }
.dashboard-compact-table td { padding: 13px 8px; overflow-wrap: anywhere; word-break: break-word; }
.dashboard-compact-table td:first-child { width: 58%; }
.dashboard-compact-table td:last-child { width: 42%; }
.dashboard-compact-table a { color: var(--text); }
.dashboard-compact-table a:hover { color: #7dd3fc; }
.table-scroll { max-width: 100%; overflow-x: auto; scrollbar-gutter: stable; }
.dashboard-sales-table { min-width: 600px; }
.dark-table th { color: #91a5bb; font-size: 11px; font-weight: 750; letter-spacing: .35px; text-transform: uppercase; }
.dark-table td, .dark-table th { padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.dark-table thead th { position: sticky; top: 0; z-index: 1; background: var(--panel); }
.dark-table tbody tr { transition: background-color .18s ease; }
.dark-table tbody tr:hover { background: rgba(56, 189, 248, .035); }
.dark-table tbody tr:last-child td { border-bottom: 0; }
.dark-table td:first-child, .dark-table th:first-child { padding-left: 8px; }
.dark-table td:last-child, .dark-table th:last-child { padding-right: 8px; }
.table-primary-text { color: #eaf4ff; font-weight: 700; }
.table-money { white-space: nowrap; font-variant-numeric: tabular-nums; }
.badge-soft { border: 1px solid rgba(56, 189, 248, .2); border-radius: 999px; padding: 5px 9px; background: rgba(56, 189, 248, .1); color: #7dd3fc; font-size: 12px; }
.status-badge {
    display: inline-flex; align-items: center; gap: 6px; min-width: 82px; justify-content: center;
    padding: 6px 10px; border: 1px solid; border-radius: 999px; font-size: 11px; font-weight: 800;
    letter-spacing: .2px; white-space: nowrap;
}
.status-badge i { font-size: 10px; }
.status-badge-warning { border-color: rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .1); color: #fde68a; }
.status-badge-success { border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); color: #a7f3d0; }
.status-badge-danger { border-color: rgba(251, 113, 133, .35); background: rgba(251, 113, 133, .1); color: #fecdd3; }
.status-empty { display: inline-block; min-width: 82px; color: #667b91; text-align: center; }
.table-actions { display: flex; align-items: center; justify-content: flex-end; gap: 7px; white-space: nowrap; }
.table-actions form { margin: 0; }
.table-action {
    min-height: 32px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 6px 10px; border: 1px solid rgba(56, 189, 248, .25); border-radius: 7px;
    background: rgba(56, 189, 248, .08); color: #7dd3fc; font-size: 12px; line-height: 1;
}
.table-action:hover { border-color: rgba(125, 211, 252, .58); background: rgba(56, 189, 248, .15); color: #e0f2fe; }
.table-action-delete { width: 34px; padding: 6px; border-color: rgba(251, 113, 133, .42); background: rgba(251, 113, 133, .08); color: var(--red); }
.table-action-delete:hover { border-color: var(--red); background: rgba(251, 113, 133, .17); color: #fecdd3; }
.table-action-force-delete {
    width: auto;
    padding: 6px 9px;
    border-color: rgba(251, 191, 36, .45);
    background: rgba(251, 191, 36, .1);
    color: #fbbf24;
}
.table-action-force-delete:hover {
    border-color: #fbbf24;
    background: rgba(251, 191, 36, .2);
    color: #fef3c7;
}
.action-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.action-row .btn { display: inline-flex; align-items: center; gap: 7px; min-height: 34px; }
.dashboard-panel-subtitle { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.dashboard-search-results { overflow: visible; }
.dashboard-search-grid {
    display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px;
}
.dashboard-search-group {
    min-width: 0; padding: 13px; border: 1px solid var(--line); border-radius: 9px;
    background: rgba(8, 23, 37, .28);
}
.dashboard-search-group h3 {
    display: flex; align-items: center; gap: 7px; margin: 0 0 9px; color: #dce9f5; font-size: 13px;
}
.dashboard-search-group h3 i { color: var(--cyan); }
.dashboard-search-group a {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-width: 0; padding: 8px 0; border-bottom: 1px solid var(--line);
}
.dashboard-search-group a:last-child { border-bottom: 0; }
.dashboard-search-group a:hover strong { color: #bae6fd; }
.dashboard-search-group a > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-search-group strong { margin-right: 6px; color: #7dd3fc; }
.dashboard-search-group small { flex: 0 0 auto; color: var(--muted); font-size: 10px; white-space: nowrap; }
.dashboard-search-group p { margin: 0; padding: 8px 0; color: var(--muted); font-size: 11px; }
.dashboard-search-empty {
    display: flex; align-items: center; justify-content: center; gap: 9px; min-height: 90px;
    color: var(--muted);
}
.dashboard-search-empty i { color: var(--cyan); }
.form-grid { display: grid; grid-template-columns: minmax(180px, 280px) minmax(260px, 1fr); gap: 16px; align-items: end; }
.import-layout { grid-template-columns: minmax(0, 1fr) 360px; margin-top: 0; }
.template-list { display: grid; gap: 10px; }
.template-list a { display: grid; gap: 4px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; background: rgba(23, 37, 54, .48); }
.template-list a:hover { border-color: rgba(36, 215, 213, .52); background: rgba(36, 215, 213, .08); }
.template-list span { color: var(--muted); font-size: 12px; line-height: 1.45; }
.form-control, .form-select {
    min-height: 44px; color: var(--text); background-color: #122437; border-color: var(--line); border-radius: 8px;
}
.form-control:focus, .form-select:focus { color: var(--text); background-color: #172536; border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(36,215,213,.12); }
.form-control::placeholder { color: #667b91; }
textarea.form-control { min-height: 96px; resize: vertical; }
.form-select { cursor: pointer; }
.form-label, label { color: var(--muted); }
.btn { border-radius: 8px; }
.btn-primary { border-color: var(--cyan); background: var(--cyan); color: #07222f; font-weight: 800; }
.btn-primary:hover, .btn-primary:focus { border-color: #7dd3fc; background: #7dd3fc; color: #062234; box-shadow: 0 8px 20px rgba(56, 189, 248, .16); transform: translateY(-1px); }
.btn-outline-light { border-color: rgba(203, 213, 225, .38); color: #dce7f2; }
.btn-outline-light:hover { border-color: rgba(125, 211, 252, .55); background: rgba(56, 189, 248, .08); color: #fff; }
.required-mark { color: var(--red); }
.standard-form-panel { padding: 0; overflow: hidden; }
.standard-form { display: grid; }
.form-section { padding: 26px 28px; border-bottom: 1px solid var(--line); }
.form-section-heading { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.form-section-heading h2 { margin: 0; font-size: 17px; font-weight: 800; }
.form-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-section-icon {
    --section-accent: var(--cyan);
    width: 40px; height: 40px; display: grid; place-items: center; flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--section-accent) 30%, transparent); border-radius: 10px;
    background: color-mix(in srgb, var(--section-accent) 11%, transparent); color: var(--section-accent);
}
.form-section-icon.accent-green { --section-accent: var(--green); }
.form-section-icon.accent-purple { --section-accent: var(--purple); }
.form-section-icon.accent-orange { --section-accent: var(--orange); }
.standard-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.standard-form-grid.three-columns { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opening-stock-fields { margin-top: 20px; padding-top: 20px; border-top: 1px dashed var(--line); }
.field-group { min-width: 0; display: grid; align-content: start; gap: 7px; }
.field-group.full-width { grid-column: 1 / -1; }
.field-group > label { color: #bdcad8; font-size: 12px; font-weight: 700; }
.field-label-spacer { color: #bdcad8; font-size: 12px; font-weight: 700; }
.field-group > small { color: #788ca2; font-size: 11px; line-height: 1.45; }
.input-with-affix {
    min-height: 44px; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center;
    border: 1px solid var(--line); border-radius: 8px; background: #122437; overflow: hidden;
}
.input-with-affix.prefix { grid-template-columns: auto minmax(0, 1fr); }
.input-with-affix:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(36,215,213,.12); }
.input-with-affix .form-control { min-width: 0; border: 0; border-radius: 0; box-shadow: none; }
.input-with-affix > span { padding: 0 13px; color: #8296aa; font-size: 12px; font-weight: 650; white-space: nowrap; }
.input-with-affix.prefix > span { border-right: 1px solid var(--line); }
.input-with-affix:not(.prefix) > span { border-left: 1px solid var(--line); }
.tax-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.tax-setting-card { padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: rgba(8, 23, 37, .28); }
.tax-toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; cursor: pointer; }
.tax-toggle-copy { display: grid; gap: 3px; }
.tax-toggle-copy strong { color: #e6eef7; font-size: 13px; }
.tax-toggle-copy small { color: var(--muted); font-size: 11px; }
.tax-toggle .form-check-input { width: 20px; height: 20px; flex: 0 0 auto; margin: 0; cursor: pointer; }
.tax-percentage-field { transition: opacity .18s ease; }
.tax-percentage-field.is-disabled { opacity: .42; }
.tax-percentage-field.is-disabled input { cursor: not-allowed; }
.standard-form-actions {
    display: flex; justify-content: flex-end; align-items: center; gap: 10px; padding: 20px 28px;
    background: rgba(8, 23, 37, .18);
}
.standard-form-actions .btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding-inline: 17px; }
.pagination-shell { display: flex; justify-content: flex-end; margin-top: 20px; }
.pagination { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; padding: 0; list-style: none; }
.page-link {
    min-width: 36px;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 7px !important;
    background: #122437;
    color: #b9c8d8;
    text-decoration: none;
}
.page-link:hover, .page-item.active .page-link { border-color: rgba(56, 189, 248, .45); background: rgba(56, 189, 248, .12); color: #7dd3fc; }
.page-item.disabled .page-link { border-color: var(--line); background: rgba(18, 36, 55, .45); color: #5f7286; }
.transaction-form-panel {
    position: relative;
    padding: 0;
    overflow: visible;
}
.transaction-form { display: grid; }
.transaction-section { padding: 24px; border-bottom: 1px solid var(--line); }
.transaction-section-heading {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px;
}
.transaction-section-heading h2 { margin: 0; color: var(--text); font-size: 17px; font-weight: 750; }
.transaction-section-heading p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.transaction-main-grid {
    display: grid; grid-template-columns: minmax(280px, 2fr) minmax(180px, .9fr) minmax(200px, 1fr);
    gap: 16px; align-items: start;
}
.transaction-note { grid-column: span 2; }
.transaction-field { min-width: 0; }
.transaction-field .form-label {
    display: block; margin: 0 0 7px; color: #b9c8d8; font-size: 12px; font-weight: 650;
}
.transaction-field .form-control, .transaction-field .form-select,
.transaction-item .form-control, .transaction-item .form-select {
    height: 48px; min-height: 48px; border-radius: 8px; background-color: #122437;
}
.transaction-options-grid {
    display: grid; grid-template-columns: minmax(230px, 1.25fr) minmax(150px, .75fr) minmax(230px, 1.25fr) minmax(150px, .75fr);
    gap: 14px; align-items: stretch;
}
.transaction-option {
    display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 72px;
    padding: 13px 14px; border: 1px solid var(--line); border-radius: 9px; background: rgba(8, 23, 37, .32);
    cursor: pointer; transition: border-color .2s ease, background-color .2s ease;
}
.transaction-option:hover { border-color: rgba(56, 189, 248, .4); background: rgba(56, 189, 248, .05); }
.transaction-option-static { cursor: default; }
.transaction-option-static > i { color: #7dd3fc; font-size: 18px; }
.transaction-option .form-check-input { width: 20px; height: 20px; flex: 0 0 auto; margin: 0; cursor: pointer; }
.option-copy { display: grid; gap: 3px; }
.option-copy strong { color: #e7eef7; font-size: 13px; }
.option-copy small { color: var(--muted); font-size: 11px; line-height: 1.4; }
.input-suffix { position: relative; }
.input-suffix .form-control { padding-right: 38px; }
.input-suffix > span {
    position: absolute; top: 50%; right: 14px; color: var(--muted); font-size: 13px; transform: translateY(-50%);
}
.transaction-field.is-disabled { opacity: .55; }
.transaction-field.is-disabled .form-control {
    border-color: rgba(148, 163, 184, .12);
    background: #0d1d2c;
    color: #708196;
    cursor: not-allowed;
}
.transaction-total-preview {
    min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    margin-top: 25px; padding: 8px 14px; border: 1px solid rgba(52, 211, 153, .25); border-radius: 8px;
    background: rgba(52, 211, 153, .07);
}
.transaction-total-preview span { color: var(--muted); font-size: 11px; }
.transaction-total-preview strong { color: #a7f3d0; font-size: 16px; white-space: nowrap; }
.input-prefix { grid-template-columns: auto minmax(0, 1fr); }
.input-prefix > span { right: auto; left: 14px; }
.input-prefix .form-control { padding-right: 12px; padding-left: 42px; }
.transaction-items-section { background: rgba(8, 23, 37, .14); }
.transaction-item-controls { display: flex; justify-content: flex-start; margin-top: 12px; }
.transaction-add-button {
    display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 7px 12px;
    border: 1px solid rgba(56, 189, 248, .35); background: rgba(56, 189, 248, .09); color: #7dd3fc;
}
.transaction-add-button:hover { border-color: var(--cyan); background: rgba(56, 189, 248, .16); color: #bae6fd; }
.transaction-item-head, .transaction-item {
    display: grid; grid-template-columns: minmax(300px, 1.65fr) minmax(105px, .5fr) minmax(190px, .9fr) 74px 52px;
    gap: 12px; align-items: start;
}
.transaction-item-head { padding: 0 12px 9px; color: #91a5bb; font-size: 10px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; }
.transaction-item {
    margin-bottom: 12px; padding: 12px; border: 1px solid rgba(148, 163, 184, .22); border-radius: 10px;
    background: linear-gradient(145deg, rgba(20, 39, 58, .98), rgba(16, 34, 52, .98));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .08);
}
.transaction-item-field label, .transaction-item-action label { display: none; margin-bottom: 6px; color: var(--muted); font-size: 11px; }
.product-combobox { position: relative; z-index: 1; min-width: 0; }
.product-combobox.is-open { z-index: 1080; }
.product-search-control {
    height: 48px; min-height: 48px; display: grid; grid-template-columns: 18px minmax(0, 1fr) 30px; align-items: center; gap: 8px;
    padding: 0 7px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #122437;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.product-combobox.is-open .product-search-control {
    border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(56, 189, 248, .1);
}
.product-search-control > i { color: #6f849a; font-size: 12px; }
.product-search-input {
    width: 100%; min-width: 0; height: 46px; padding: 0; border: 0; outline: 0;
    background: transparent; color: var(--text); font: inherit;
}
.product-search-input::-webkit-search-cancel-button { display: none; }
.product-search-input::placeholder { color: #71849a; }
.product-search-clear {
    width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px;
    background: transparent; color: #71849a; cursor: pointer; visibility: hidden;
}
.product-combobox.has-value .product-search-clear { visibility: visible; }
.product-search-clear:hover { background: rgba(251, 113, 133, .1); color: var(--red); }
.product-search-menu {
    position: absolute; z-index: 1060; top: calc(100% + 6px); right: 0; left: 0; display: none;
    max-height: 280px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    touch-action: pan-y; scrollbar-gutter: stable; padding: 6px; border: 1px solid rgba(56, 189, 248, .3);
    border-radius: 9px; background: #0d2032; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.product-combobox.opens-upward .product-search-menu {
    top: auto;
    bottom: calc(100% + 6px);
    box-shadow: 0 -18px 40px rgba(0, 0, 0, .35);
}
.product-combobox.is-open .product-search-menu { display: block; }
.product-search-option {
    width: 100%; display: grid; gap: 3px; padding: 10px 11px; border: 0; border-radius: 7px;
    background: transparent; color: #e8f0f8; text-align: left; cursor: pointer;
}
.product-search-option:hover, .product-search-option.is-active { background: rgba(56, 189, 248, .12); }
.product-search-option strong { margin-right: 5px; color: #7dd3fc; }
.product-search-option small { color: #8fa2b6; font-size: 11px; }
.product-search-empty { padding: 14px 10px; color: var(--muted); text-align: center; font-size: 12px; }
.party-combobox { position: relative; z-index: 2; min-width: 0; }
.party-combobox.is-open { z-index: 1080; }
.party-search-control {
    height: 48px; min-height: 48px; display: grid; grid-template-columns: 18px minmax(0, 1fr) 30px; align-items: center; gap: 8px;
    padding: 0 7px 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #122437;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.party-combobox.is-open .party-search-control {
    border-color: var(--cyan); box-shadow: 0 0 0 .2rem rgba(56, 189, 248, .1);
}
.party-search-control > i { color: #6f849a; font-size: 12px; }
.party-search-input {
    width: 100%; min-width: 0; height: 46px; padding: 0; border: 0; outline: 0;
    background: transparent; color: var(--text); font: inherit;
}
.party-search-input::-webkit-search-cancel-button { display: none; }
.party-search-input::placeholder { color: #71849a; }
.party-search-clear {
    width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 6px;
    background: transparent; color: #71849a; cursor: pointer; visibility: hidden;
}
.party-combobox.has-value .party-search-clear { visibility: visible; }
.party-search-clear:hover { background: rgba(251, 113, 133, .1); color: var(--red); }
.party-search-menu {
    position: absolute; z-index: 1060; top: calc(100% + 6px); right: 0; left: 0; display: none;
    max-height: 280px; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
    scrollbar-gutter: stable; padding: 6px; border: 1px solid rgba(56, 189, 248, .3);
    border-radius: 9px; background: #0d2032; box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.party-combobox.is-open .party-search-menu { display: block; }
.party-search-option {
    width: 100%; display: grid; gap: 3px; padding: 10px 11px; border: 0; border-radius: 7px;
    background: transparent; color: #e8f0f8; text-align: left; cursor: pointer;
}
.party-search-option:hover, .party-search-option.is-active { background: rgba(56, 189, 248, .12); }
.party-search-option strong { color: #7dd3fc; font-weight: 700; }
.party-search-option small { color: #8fa2b6; font-size: 11px; }
.party-search-empty { padding: 14px 10px; color: var(--muted); text-align: center; font-size: 12px; line-height: 1.5; }
.party-search-help { display: block; margin-top: 6px; color: var(--muted); font-size: 11px; }
.party-quick-history {
    display: flex; align-items: center; gap: 8px; min-width: 0; margin-top: 9px;
}
.party-quick-history > span {
    flex: 0 0 auto; color: #8498ad; font-size: 10px; font-weight: 700; text-transform: uppercase;
}
.party-quick-list {
    display: flex; flex-wrap: wrap; gap: 6px; min-width: 0;
}
.party-quick-option {
    max-width: 170px; overflow: hidden; padding: 4px 9px; border: 1px solid rgba(56, 189, 248, .25);
    border-radius: 999px; background: rgba(56, 189, 248, .07); color: #b9e8fb; font-size: 11px;
    line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; cursor: pointer;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.party-quick-option:hover, .party-quick-option:focus-visible {
    border-color: var(--cyan); outline: 0; background: rgba(56, 189, 248, .16); color: #fff;
}
.transaction-item-pph {
    height: 48px; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: 7px;
    margin: 0; border: 1px solid var(--line); border-radius: 8px; background: #122437; cursor: pointer;
}
.transaction-item-pph > span { display: none; color: var(--muted); font-size: 11px; }
.transaction-item-pph .form-check-input {
    width: 20px; height: 20px; margin: 0; border-color: #7890a7; background-color: #0d1d2c;
    accent-color: var(--cyan); cursor: pointer;
}
.transaction-item-pph .form-check-input:checked { border-color: var(--cyan); background-color: var(--cyan); }
.transaction-item-pph:has(.form-check-input:checked) {
    border-color: rgba(56, 189, 248, .55); background: rgba(56, 189, 248, .1);
}
.transaction-item-action { display: grid; }
.transaction-item .remove-item {
    width: 48px; height: 48px; display: grid; place-items: center; padding: 0;
    border: 1px solid rgba(251, 113, 133, .5); border-radius: 8px; background: rgba(251, 113, 133, .08); color: var(--red);
}
.transaction-item .remove-item:hover { border-color: var(--red); background: rgba(251, 113, 133, .16); color: #fecdd3; }
.transaction-help { display: flex; align-items: center; gap: 7px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.transaction-help i { color: #7dd3fc; }
.transaction-stock-info { display: block; min-height: 16px; margin-top: 6px; color: #7dd3fc; font-size: 10.5px; line-height: 1.4; }
.transaction-calculation {
    display: grid; grid-template-columns: minmax(220px, 1fr) minmax(320px, 460px); gap: 24px;
    margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 10px;
    background: rgba(8, 23, 37, .34);
}
.calculation-copy h3 { margin: 0 0 5px; font-size: 15px; }
.calculation-copy p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.calculation-values { display: grid; gap: 0; margin: 0; }
.calculation-values > div { display: flex; justify-content: space-between; gap: 18px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.calculation-values > div:last-child { border-bottom: 0; }
.calculation-values dt { color: var(--muted); font-size: 12px; font-weight: 500; }
.calculation-values dd { margin: 0; color: #e8f0f8; font-size: 12px; font-weight: 700; }
.calculation-values .calculation-grand { margin-top: 3px; border-bottom-color: rgba(56, 189, 248, .32); }
.calculation-values .calculation-grand dt, .calculation-values .calculation-grand dd { color: #7dd3fc; font-size: 14px; font-weight: 800; }
.transaction-form-actions { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 24px 22px; }
.transaction-form-actions .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 16px; }
.auth-screen {
    min-height: 100vh; display: grid; place-items: center; padding: 28px;
    background:
        radial-gradient(circle at 18% 18%, rgba(56, 189, 248, .12), transparent 28%),
        radial-gradient(circle at 82% 78%, rgba(99, 102, 241, .1), transparent 30%),
        #081725;
}
.auth-card {
    width: min(460px, 100%); padding: 30px; border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 14px; background: linear-gradient(145deg, rgba(29, 48, 69, .98), rgba(18, 36, 55, .98));
    box-shadow: 0 28px 70px rgba(0, 0, 0, .34);
}
.auth-header { display: flex; align-items: center; gap: 15px; margin-bottom: 24px; }
.auth-logo {
    width: 52px; height: 52px; display: grid; place-items: center; flex: 0 0 auto;
    border-radius: 12px; background: linear-gradient(135deg, #0ea5e9, #6366f1); color: #fff; font-size: 20px;
    box-shadow: 0 12px 26px rgba(14, 165, 233, .2);
}
.auth-eyebrow { margin: 0 0 3px; color: #7dd3fc !important; font-size: 10px !important; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.auth-header h1 { margin: 0; font-size: 22px; }
.auth-header p { margin: 4px 0 0; color: var(--muted); font-size: 13px; line-height: 1.45; }
.auth-form { display: grid; gap: 17px; }
.auth-field { display: grid; gap: 7px; }
.auth-field label { color: #d5e0eb; font-size: 13px; font-weight: 650; }
.auth-field small, .form-text { color: #8194aa !important; font-size: 11px; line-height: 1.45; }
.auth-label-row { display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.auth-label-row a, .auth-back { color: #7dd3fc; font-size: 12px; }
.auth-label-row a:hover, .auth-back:hover { color: #bae6fd; }
.auth-input {
    min-height: 46px; display: grid; grid-template-columns: 20px minmax(0, 1fr) auto; align-items: center; gap: 8px;
    padding: 0 8px 0 13px; border: 1px solid var(--line); border-radius: 9px; background: #102337;
}
.auth-input:focus-within { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(56, 189, 248, .1); }
.auth-input > i { color: #7890a7; font-size: 13px; }
.auth-input input { width: 100%; height: 44px; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); }
.auth-input input::placeholder { color: #63778d; }
.password-toggle, .password-field button {
    width: 34px; height: 34px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 7px;
    background: transparent; color: #8194aa;
}
.password-toggle:hover, .password-field button:hover { background: rgba(56, 189, 248, .1); color: #7dd3fc; }
.auth-remember { display: flex; align-items: center; gap: 9px; width: fit-content; color: #b8c7d8 !important; font-size: 12px !important; cursor: pointer; }
.auth-remember input { width: 16px; height: 16px; accent-color: var(--cyan); }
.auth-submit {
    min-height: 46px; display: inline-flex; justify-content: center; align-items: center; gap: 9px;
    border: 1px solid #38bdf8; border-radius: 9px; background: linear-gradient(135deg, #38bdf8, #22a9e4);
    color: #062234; font-weight: 800;
}
.auth-submit:hover { filter: brightness(1.07); transform: translateY(-1px); }
.auth-alert { display: flex; align-items: flex-start; gap: 9px; margin-bottom: 18px; padding: 11px 12px; border: 1px solid; border-radius: 8px; font-size: 12px; line-height: 1.5; }
.auth-alert-danger { border-color: rgba(251, 113, 133, .35); background: rgba(251, 113, 133, .1); color: #fecdd3; }
.auth-alert-success { border-color: rgba(52, 211, 153, .35); background: rgba(52, 211, 153, .1); color: #a7f3d0; }
.auth-back { display: inline-flex; justify-content: center; align-items: center; gap: 7px; }
.auth-footer { display: grid; gap: 8px; margin-top: 23px; padding-top: 18px; border-top: 1px solid var(--line); color: #7890a7; text-align: center; }
.auth-footer span { font-size: 11px; }
.auth-footer small { font-size: 10px; }
.auth-code-input input { font-size: 22px; font-weight: 800; letter-spacing: 8px; text-align: center; }
.auth-secondary-form { margin-top: 14px; text-align: center; }
.auth-secondary-form button { border: 0; background: transparent; color: #7dd3fc; font-size: 12px; }
.security-divider { margin: 22px 0; border-color: var(--line); opacity: 1; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 45px; }
.password-field button { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); }
.profile-security-grid { grid-template-columns: minmax(0, 1fr) 360px; margin-top: 0; }
.security-panel h2 { margin: 12px 0 8px; font-size: 18px; }
.security-panel p { margin-bottom: 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.security-icon {
    width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(56, 189, 248, .25);
    border-radius: 10px; background: rgba(56, 189, 248, .1); color: #7dd3fc;
}
.login-device { max-width: 440px; overflow: hidden; color: var(--muted); text-overflow: ellipsis; white-space: nowrap; }
.mobile-menu, .sidebar-backdrop { display: none; }
.dashboard-period-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    margin-bottom: 18px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-left: 4px solid var(--cyan);
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(23, 40, 58, .98), rgba(15, 34, 51, .96));
}
.dashboard-period-panel h2 { margin: 2px 0 4px; font-size: 20px; }
.dashboard-period-panel p { margin: 0; color: var(--muted); font-size: 12px; }
.dashboard-period-eyebrow {
    color: #7dd3fc;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}
.dashboard-period-form { min-width: 430px; }
.dashboard-period-form > label {
    display: block;
    margin-bottom: 7px;
    color: #9fb0c3;
    font-size: 11px;
    font-weight: 750;
}
.dashboard-period-form > div { display: flex; gap: 8px; }
.dashboard-period-form .form-control { min-width: 170px; }
.history-filter {
    display: grid;
    grid-template-columns: minmax(260px, 1.5fr) minmax(180px, .7fr) minmax(170px, .65fr) auto;
    gap: 14px;
    align-items: end;
    margin: 18px 0 22px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: rgba(8, 23, 37, .28);
}
.history-filter label {
    display: block;
    margin-bottom: 7px;
    color: #9fb0c3;
    font-size: 11px;
    font-weight: 750;
}
.history-filter-actions { display: flex; gap: 8px; }
.history-type {
    display: inline-flex;
    padding: 5px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
}
.history-type-sale { border-color: rgba(52, 211, 153, .35); color: #6ee7b7; background: rgba(52, 211, 153, .1); }
.history-type-purchase { border-color: rgba(167, 139, 250, .35); color: #c4b5fd; background: rgba(167, 139, 250, .1); }
.history-type-expense { border-color: rgba(251, 191, 36, .35); color: #fde68a; background: rgba(251, 191, 36, .1); }
@media (max-width: 1280px) { .quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } .stat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1180px) {
    .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-grid, .import-layout, .profile-security-grid { grid-template-columns: 1fr; }
    .standard-form-grid.three-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dashboard-search-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .history-filter { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .history-filter-actions { align-self: end; }
}
@media (max-width: 1200px) {
    .transaction-main-grid { grid-template-columns: minmax(240px, 1.5fr) repeat(2, minmax(170px, 1fr)); }
    .transaction-options-grid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
    .transaction-item-head, .transaction-item {
        grid-template-columns: minmax(240px, 1.4fr) minmax(95px, .5fr) minmax(160px, .85fr) 68px 50px;
        gap: 9px;
    }
}
@media (max-width: 991px) {
    body.sidebar-open { overflow: hidden; }
    .mobile-menu {
        position: fixed; z-index: 1060; top: 14px; left: 14px; width: 42px; height: 42px;
        display: grid; place-items: center; border: 1px solid rgba(56, 189, 248, .32); border-radius: 9px;
        background: #17283a; color: #7dd3fc; box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
    }
    .sidebar-backdrop {
        position: fixed; z-index: 1035; inset: 0; border: 0; background: rgba(2, 12, 22, .7); backdrop-filter: blur(2px);
    }
    .sidebar-backdrop.is-open { display: block; }
    .sidebar {
        position: fixed; z-index: 1040; width: min(286px, 86vw); height: 100dvh; max-height: none;
        transform: translateX(-105%); transition: transform .24s ease;
    }
    .sidebar.is-open { transform: translateX(0); }
    .side-nav { display: grid; grid-template-columns: 1fr; padding-bottom: 72px; }
    .nav-group { grid-column: auto; }
    .sidebar-scroll-top { display: grid; }
    .app-shell { margin-left: 0; padding: 72px 16px 18px; }
    .topbar { grid-template-columns: 1fr; }
    .transaction-main-grid { grid-template-columns: 1fr 1fr; }
    .transaction-party, .transaction-note { grid-column: 1 / -1; }
    .transaction-item-head { display: none; }
    .transaction-item { grid-template-columns: minmax(220px, 1.4fr) minmax(100px, .55fr) minmax(150px, .9fr) 74px 52px; }
    .transaction-item-field label, .transaction-item-action label { display: block; min-height: 17px; }
    .transaction-item-pph { align-self: start; margin-top: 23px; }
    .dashboard-period-panel { align-items: stretch; flex-direction: column; }
    .dashboard-period-form { min-width: 0; }
}
@media (max-width: 640px) {
    .auth-screen { padding: 16px; }
    .auth-card { padding: 22px 18px; }
    .auth-header { align-items: flex-start; }
    .hero-metrics, .stat-grid { grid-template-columns: 1fr; }
    .quick-actions { display: grid; }
    .quick-actions, .form-grid { grid-template-columns: 1fr; }
    .side-nav, .standard-form-grid, .standard-form-grid.three-columns, .tax-settings-grid { grid-template-columns: 1fr; }
    .form-section { padding: 20px 16px; }
    .form-section-heading { align-items: flex-start; }
    .standard-form-actions { align-items: stretch; flex-direction: column-reverse; padding: 16px; }
    .standard-form-actions .btn { width: 100%; }
    .panel-title { align-items: flex-start; flex-direction: column; }
    .panel { padding: 16px; }
    .dark-table { min-width: 680px; }
    .compact-table { min-width: 0; }
    .dashboard-compact-table { min-width: 0; }
    .dashboard-table-panel, .dashboard-table-panel .table-scroll { overflow: visible; scrollbar-gutter: auto; }
    .dashboard-sales-table { min-width: 0; }
    .dashboard-sales-table thead { display: none; }
    .dashboard-sales-table tbody, .dashboard-sales-table tr, .dashboard-sales-table td { display: block; width: 100%; }
    .dashboard-sales-table tr {
        display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px;
        margin-bottom: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 9px;
        background: rgba(8, 23, 37, .3);
    }
    .dashboard-sales-table tr:last-child { margin-bottom: 0; }
    .dashboard-sales-table td {
        min-width: 0; padding: 0; border: 0; overflow-wrap: anywhere;
    }
    .dashboard-sales-table td::before {
        content: attr(data-label); display: block; margin-bottom: 3px;
        color: #91a5bb; font-size: 10px; font-weight: 750; letter-spacing: .35px; text-transform: uppercase;
    }
    .dashboard-sales-table td:nth-child(even) { text-align: right; }
    .dashboard-sales-table .dashboard-table-empty { display: block; }
    .dashboard-sales-table .dashboard-table-empty td::before { content: none; }
    .dashboard-search-grid { grid-template-columns: 1fr; }
    .action-row { justify-content: flex-start; width: 100%; }
    h1 { font-size: 24px; }
    .page-search-form { grid-template-columns: auto minmax(0, 1fr) 34px 34px; }
    .transaction-section { padding: 18px 16px; }
    .transaction-section-heading { align-items: flex-start; flex-direction: column; }
    .transaction-main-grid, .transaction-options-grid, .transaction-item { grid-template-columns: 1fr; }
    .transaction-total-preview { margin-top: 0; }
    .transaction-calculation { grid-template-columns: 1fr; }
    .transaction-party, .transaction-note { grid-column: auto; }
    .transaction-add-button { width: 100%; justify-content: center; }
    .transaction-item-action { justify-items: end; }
    .transaction-item-pph { justify-content: space-between; margin-top: 0; padding: 0 14px; }
    .transaction-item-pph > span { display: block; }
    .transaction-item .remove-item { width: 100%; }
    .transaction-form-actions { padding: 16px; }
    .transaction-form-actions .btn { flex: 1; justify-content: center; }
    .history-filter { grid-template-columns: 1fr; }
    .history-filter-actions .btn { flex: 1; }
    .history-table { min-width: 900px; }
    .dashboard-period-form > div { flex-wrap: wrap; }
    .dashboard-period-form .form-control { width: 100%; }
    .dashboard-period-form .btn { flex: 1; }
}
