:root {
    --erp-bg-a: #eaf3f0;
    --erp-bg-b: #f6eadf;
    --erp-bg-c: #e7edf7;
    --erp-glass: rgba(255, 255, 255, 0.62);
    --erp-glass-strong: rgba(255, 255, 255, 0.78);
    --erp-glass-soft: rgba(255, 255, 255, 0.38);
    --erp-stroke: rgba(255, 255, 255, 0.72);
    --erp-line: rgba(31, 41, 55, 0.13);
    --erp-line-strong: rgba(31, 41, 55, 0.22);
    --erp-text: #17202a;
    --erp-muted: #637083;
    --erp-primary: #0f766e;
    --erp-primary-dark: #0b4f49;
    --erp-ink: #182235;
    --erp-copper: #b45309;
    --erp-danger: #b42318;
    --erp-success: #166534;
    --erp-radius: 18px;
    --erp-radius-sm: 12px;
    --erp-blur: 22px;
    --erp-shadow: 0 24px 70px rgba(24, 34, 53, 0.16);
    --erp-shadow-soft: 0 14px 34px rgba(24, 34, 53, 0.1);
}

* {
    letter-spacing: 0;
}

body.erp-shell {
    min-height: 100vh;
    font-family: "Public Sans", "Segoe UI", sans-serif;
    color: var(--erp-text);
    background:
        linear-gradient(120deg, rgba(234, 243, 240, 0.94), rgba(246, 234, 223, 0.88) 48%, rgba(231, 237, 247, 0.96)),
        repeating-linear-gradient(90deg, rgba(24, 34, 53, 0.045) 0, rgba(24, 34, 53, 0.045) 1px, transparent 1px, transparent 78px),
        repeating-linear-gradient(0deg, rgba(24, 34, 53, 0.035) 0, rgba(24, 34, 53, 0.035) 1px, transparent 1px, transparent 78px);
    background-attachment: fixed;
}

body.erp-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 18% 12%, rgba(15, 118, 110, 0.16), transparent 34%),
        radial-gradient(circle at 82% 18%, rgba(180, 83, 9, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0));
    z-index: -1;
}

.navbar.bg-primary {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(17, 24, 39, 0.74) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(var(--erp-blur));
    -webkit-backdrop-filter: blur(var(--erp-blur));
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.18);
}

.navbar .container,
main.container {
    max-width: 1360px;
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 900;
}

.navbar-dark .navbar-nav .nav-link {
    margin-inline: 0.08rem;
    padding: 0.55rem 0.7rem;
    color: rgba(255, 255, 255, 0.76);
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.16);
}

.erp-eyebrow,
.erp-section-kicker {
    color: var(--erp-primary-dark);
    font-size: 0.74rem;
    font-weight: 900;
    text-transform: uppercase;
}

.erp-module-hero,
.erp-page-head,
.erp-workspace-main,
.erp-workspace-side,
.erp-data-panel,
.erp-form-panel,
.erp-side-panel,
.erp-surface,
.erp-voucher-header {
    background: var(--erp-glass);
    border: 1px solid var(--erp-stroke);
    border-radius: var(--erp-radius);
    box-shadow: var(--erp-shadow);
    backdrop-filter: blur(var(--erp-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--erp-blur)) saturate(1.2);
}

.erp-module-hero,
.erp-page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 1rem;
    padding: clamp(1rem, 2.6vw, 1.6rem);
}

.erp-module-hero {
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, 0.82), rgba(24, 34, 53, 0.76) 58%, rgba(180, 83, 9, 0.66)),
        rgba(255, 255, 255, 0.18);
}

.erp-module-hero .erp-eyebrow {
    color: rgba(255, 255, 255, 0.78);
}

.erp-module-hero h1,
.erp-page-head h1 {
    margin: 0.25rem 0 0.38rem;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 900;
    line-height: 1.08;
}

.erp-module-hero p,
.erp-page-head p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
}

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

.erp-hero-actions,
.erp-page-actions,
.erp-operation-actions,
.erp-row-actions,
.erp-action-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.erp-hero-actions,
.erp-page-actions,
.erp-row-actions {
    justify-content: flex-end;
}

.erp-metric-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.erp-metric {
    min-width: 0;
    padding: 1rem 1.1rem;
    background: var(--erp-glass-soft);
    border: 1px solid var(--erp-stroke);
    border-radius: var(--erp-radius-sm);
    box-shadow: var(--erp-shadow-soft);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.erp-metric span {
    display: block;
    margin-bottom: 0.32rem;
    color: var(--erp-muted);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
}

.erp-metric strong {
    display: block;
    overflow: hidden;
    font-size: 1.12rem;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.erp-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 1rem;
    align-items: start;
}

.erp-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
    gap: 1rem;
    align-items: start;
}

.erp-workspace-main,
.erp-data-panel,
.erp-form-panel,
.erp-surface,
.erp-chart-panel,
.erp-reminder-panel {
    padding: clamp(0.9rem, 2vw, 1.15rem);
}

.erp-chart-panel,
.erp-reminder-panel {
    background: var(--erp-glass);
    border: 1px solid var(--erp-stroke);
    border-radius: var(--erp-radius);
    box-shadow: var(--erp-shadow);
    backdrop-filter: blur(var(--erp-blur)) saturate(1.2);
    -webkit-backdrop-filter: blur(var(--erp-blur)) saturate(1.2);
}

.erp-chart-canvas {
    display: block;
    max-width: 100%;
}

.erp-reminder-list {
    display: grid;
    gap: 0.7rem;
    max-height: 420px;
    overflow: auto;
    padding-right: 0.25rem;
}

.erp-reminder-totals {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-bottom: 0.85rem;
}

.erp-reminder-totals article {
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: var(--erp-radius-sm);
}

.erp-reminder-totals span {
    display: block;
    color: var(--erp-muted);
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.erp-reminder-totals strong {
    display: block;
    margin-top: 0.28rem;
    font-size: 1rem;
    font-weight: 950;
}

.erp-reminder-item {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.72rem;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-left: 4px solid rgba(15, 118, 110, 0.58);
    border-radius: var(--erp-radius-sm);
}

.erp-reminder-item.priority-alta {
    border-left-color: #b42318;
}

.erp-reminder-item.priority-media {
    border-left-color: #b45309;
}

.erp-reminder-date {
    display: grid;
    place-items: center;
    min-height: 54px;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 14px;
}

.erp-reminder-date strong {
    font-size: 1.15rem;
    font-weight: 900;
    line-height: 1;
}

.erp-reminder-date span,
.erp-reminder-copy p {
    color: var(--erp-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.erp-reminder-copy h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 900;
}

.erp-reminder-copy p {
    margin: 0.18rem 0 0;
}

.erp-reminder-amount {
    font-size: 0.82rem;
    font-weight: 900;
    white-space: nowrap;
}

.erp-empty-state {
    padding: 1rem;
    color: var(--erp-muted);
    background: rgba(255, 255, 255, 0.36);
    border: 1px dashed rgba(31, 41, 55, 0.2);
    border-radius: var(--erp-radius-sm);
    font-weight: 800;
}

.erp-workspace-side,
.erp-side-panel {
    padding: 1.15rem;
}

.erp-panel-heading,
.erp-toolbar,
.erp-form-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.erp-panel-heading h2,
.erp-workspace-side h2,
.erp-side-panel h2 {
    margin: 0.18rem 0 0;
    font-size: 1.08rem;
    font-weight: 900;
}

.erp-workspace-side p,
.erp-side-panel p {
    color: var(--erp-muted);
}

.erp-chip,
.erp-count-pill {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 0.38rem 0.72rem;
    color: var(--erp-primary-dark);
    background: rgba(255, 255, 255, 0.38);
    border: 1px solid rgba(15, 118, 110, 0.22);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 900;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.erp-operation-list {
    display: grid;
    gap: 0.7rem;
}

.erp-operation-row {
    display: grid;
    grid-template-columns: 48px minmax(180px, 1fr) minmax(190px, 0.55fr) auto;
    gap: 0.85rem;
    align-items: center;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: var(--erp-radius-sm);
    box-shadow: 0 10px 24px rgba(24, 34, 53, 0.07);
}

.erp-operation-row.is-active {
    background: rgba(15, 118, 110, 0.1);
    border-color: rgba(15, 118, 110, 0.34);
    box-shadow: 0 16px 34px rgba(15, 118, 110, 0.12);
}

.erp-operation-mark,
.erp-module-badge {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(15, 118, 110, 0.95), rgba(24, 34, 53, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 14px;
    font-size: 0.84rem;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.erp-operation-copy h3 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 900;
}

.erp-operation-copy p {
    margin: 0.18rem 0 0;
    color: var(--erp-muted);
    font-size: 0.82rem;
}

.erp-operation-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.erp-operation-meta span {
    padding: 0.28rem 0.55rem;
    color: #344256;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 999px;
    font-size: 0.73rem;
    font-weight: 800;
}

.erp-module-badge {
    width: 58px;
    height: 58px;
    margin-bottom: 0.9rem;
    font-size: 1rem;
}

.erp-process-list {
    display: grid;
    gap: 0.55rem;
    margin-top: 1rem;
}

.erp-process-step {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.68rem;
    background: rgba(255, 255, 255, 0.36);
    border: 1px solid rgba(255, 255, 255, 0.66);
    border-radius: var(--erp-radius-sm);
}

.erp-process-step span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--erp-primary-dark);
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(15, 118, 110, 0.18);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 900;
}

.erp-search {
    display: grid;
    grid-template-columns: auto minmax(220px, 370px);
    gap: 0.6rem;
    align-items: center;
}

.erp-search span {
    color: var(--erp-muted);
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

.erp-table-wrap,
.erp-voucher-table-wrap {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--erp-radius-sm);
    background: rgba(255, 255, 255, 0.36);
}

.erp-voucher-table-wrap {
    overflow-x: auto;
}

.erp-table thead th {
    padding: 0.78rem 0.9rem;
    color: #314054;
    background: rgba(255, 255, 255, 0.54);
    border-bottom-color: var(--erp-line-strong);
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    white-space: nowrap;
}

.erp-table tbody td {
    padding: 0.8rem 0.9rem;
    border-color: rgba(31, 41, 55, 0.1);
    font-size: 0.9rem;
}

.erp-table tbody tr:hover td {
    background: rgba(255, 255, 255, 0.48);
}

.erp-form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 1rem;
    align-items: start;
}

.erp-form-main,
.erp-form-aside {
    min-width: 0;
}

.erp-form-section-head {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--erp-line);
}

.erp-form-section-head span {
    display: block;
    color: var(--erp-muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.erp-form-section-head strong {
    display: block;
    margin-top: 0.18rem;
    font-size: 1.06rem;
    font-weight: 900;
}

.erp-form-divider {
    margin-top: 0.15rem;
    padding-top: 0.85rem;
    color: var(--erp-primary-dark);
    border-top: 1px solid var(--erp-line);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.erp-label {
    color: #253246;
    font-size: 0.86rem;
    font-weight: 900;
}

.erp-label span {
    color: var(--erp-danger);
}

.erp-input,
.form-select.erp-input,
.erp-search .form-control {
    min-height: 44px;
    color: var(--erp-text);
    background: rgba(255, 255, 255, 0.56);
    border: 1px solid rgba(255, 255, 255, 0.74);
    border-radius: 12px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.erp-input:focus,
.form-select.erp-input:focus,
.erp-search .form-control:focus {
    background: rgba(255, 255, 255, 0.76);
    border-color: rgba(15, 118, 110, 0.56);
    box-shadow: 0 0 0 0.22rem rgba(15, 118, 110, 0.13);
}

.erp-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 44px;
    color: var(--erp-muted);
    font-weight: 800;
}

.erp-switch input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.erp-switch span {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 25px;
    background: rgba(24, 34, 53, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 999px;
}

.erp-switch span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 17px;
    height: 17px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(24, 34, 53, 0.22);
    transition: transform 0.16s ease;
}

.erp-switch input:checked + span {
    background: rgba(15, 118, 110, 0.82);
}

.erp-switch input:checked + span::after {
    transform: translateX(19px);
}

.erp-action-bar {
    position: sticky;
    bottom: 0;
    align-items: center;
    margin-top: 1.25rem;
    padding-top: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(241, 246, 245, 0.92) 48%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.erp-side-stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.78rem 0;
    border-top: 1px solid var(--erp-line);
}

.erp-side-stat span {
    color: var(--erp-muted);
    font-weight: 800;
}

.erp-side-stat strong {
    font-weight: 900;
}

.erp-voucher {
    display: block;
}

.erp-voucher-header {
    display: flex;
    gap: 1rem;
    align-items: stretch;
    padding: 1rem;
}

.erp-voucher-number {
    display: flex;
    flex: 0 0 245px;
    flex-direction: column;
    justify-content: center;
    min-height: 154px;
    padding: 1rem;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(24, 34, 53, 0.94), rgba(15, 118, 110, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 16px;
    box-shadow: 0 18px 38px rgba(24, 34, 53, 0.18);
}

.erp-voucher-number span,
.erp-voucher-number small {
    color: rgba(255, 255, 255, 0.72);
    font-weight: 900;
    text-transform: uppercase;
}

.erp-voucher-number strong {
    margin: 0.25rem 0;
    font-size: clamp(1.25rem, 2.6vw, 1.7rem);
    font-weight: 900;
}

.erp-voucher-table {
    min-width: 1320px;
}

.erp-voucher-table .erp-input {
    min-height: 38px;
    font-size: 0.84rem;
}

.erp-voucher-account {
    min-width: 260px;
}

.erp-voucher-table tfoot th {
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.58);
    border-top: 1px solid var(--erp-line-strong);
    font-weight: 900;
}

.erp-voucher-balance {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.9rem;
    padding: 0.85rem 1rem;
    color: #9a3412;
    background: rgba(255, 247, 237, 0.68);
    border: 1px solid rgba(253, 186, 116, 0.72);
    border-radius: var(--erp-radius-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.erp-voucher-balance span,
.erp-voucher-balance strong {
    font-weight: 900;
}

.erp-voucher-balance span {
    text-transform: uppercase;
}

.erp-voucher-balance.is-balanced {
    color: var(--erp-success);
    background: rgba(240, 253, 244, 0.72);
    border-color: rgba(187, 247, 208, 0.86);
}

.erp-exchange-summary {
    min-height: 74px;
    padding: 0.72rem 0.85rem;
    background: rgba(255, 255, 255, 0.46);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--erp-radius-sm);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.erp-exchange-summary span {
    display: block;
    color: var(--erp-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.erp-exchange-summary strong {
    display: block;
    margin-top: 0.28rem;
    font-size: 0.98rem;
    font-weight: 900;
}

.erp-exchange-summary.is-ready {
    color: var(--erp-success);
    background: rgba(240, 253, 244, 0.66);
    border-color: rgba(187, 247, 208, 0.86);
}

.erp-exchange-summary.is-missing {
    color: #9a3412;
    background: rgba(255, 247, 237, 0.74);
    border-color: rgba(253, 186, 116, 0.82);
}

.erp-modal-glass {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--erp-radius);
    box-shadow: var(--erp-shadow);
    backdrop-filter: blur(var(--erp-blur)) saturate(1.18);
    -webkit-backdrop-filter: blur(var(--erp-blur)) saturate(1.18);
}

.erp-row-invalid td {
    background: rgba(255, 228, 230, 0.62) !important;
}

.erp-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
    gap: clamp(1rem, 4vw, 2rem);
    align-items: center;
    min-height: calc(100vh - 170px);
}

.erp-login-brand,
.erp-login-card {
    background: var(--erp-glass);
    border: 1px solid var(--erp-stroke);
    border-radius: var(--erp-radius);
    box-shadow: var(--erp-shadow);
    backdrop-filter: blur(var(--erp-blur)) saturate(1.18);
    -webkit-backdrop-filter: blur(var(--erp-blur)) saturate(1.18);
}

.erp-login-brand {
    min-height: 430px;
    padding: clamp(1.2rem, 4vw, 2.2rem);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(24, 34, 53, 0.82), rgba(15, 118, 110, 0.74), rgba(180, 83, 9, 0.56)),
        rgba(255, 255, 255, 0.18);
}

.erp-login-brand .erp-eyebrow {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.76);
}

.erp-login-brand h1 {
    max-width: 680px;
    margin: 0.4rem 0 0.7rem;
    font-size: clamp(2rem, 5vw, 3.6rem);
    font-weight: 900;
    line-height: 1;
}

.erp-login-brand p {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
}

.erp-login-card {
    padding: clamp(1rem, 3vw, 1.4rem);
}

.btn {
    border-radius: 999px;
    font-weight: 900;
}

.btn-primary,
.btn-outline-secondary,
.btn-outline-primary,
.btn-outline-light,
.btn-light,
.btn-outline-success,
.btn-outline-warning,
.btn-outline-danger {
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.62);
    color: var(--erp-ink);
    box-shadow: 0 10px 26px rgba(24, 34, 53, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.btn-primary {
    color: #ffffff;
    background: rgba(15, 118, 110, 0.68);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-light {
    color: #ffffff;
}

.btn-outline-light {
    color: #ffffff;
}

.btn-outline-success {
    color: var(--erp-success);
}

.btn-outline-warning {
    color: var(--erp-copper);
}

.btn-outline-danger {
    color: var(--erp-danger);
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.36);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 34px rgba(24, 34, 53, 0.14);
}

.btn-primary:hover,
.btn-primary:focus {
    color: #ffffff;
    background: rgba(15, 118, 110, 0.86);
}

.alert {
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: var(--erp-radius-sm);
    box-shadow: var(--erp-shadow-soft);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.erp-report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.erp-report-meta span,
.erp-report-summary > div {
    border: 1px solid rgba(255, 255, 255, 0.56);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.48);
    padding: 0.7rem 0.9rem;
}

.erp-report-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.85rem;
}

.erp-report-summary span {
    color: var(--erp-muted);
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.erp-report-summary strong {
    color: var(--erp-ink);
    display: block;
    font-size: 1rem;
    margin-top: 0.2rem;
}

.erp-report-link {
    color: var(--erp-text);
    text-decoration: none;
}

.erp-report-link:hover,
.erp-report-link:focus {
    color: var(--erp-primary-dark);
    border-color: rgba(15, 118, 110, 0.34);
    transform: translateY(-1px);
}

.erp-report-link.is-active {
    background: rgba(15, 118, 110, 0.12);
    border-color: rgba(15, 118, 110, 0.35);
}

.erp-print-sheet {
    max-width: 1040px;
    margin-inline: auto;
}

.erp-print-header,
.erp-print-meta,
.erp-print-signatures {
    display: grid;
    gap: 1rem;
}

.erp-print-header {
    grid-template-columns: minmax(0, 1fr) 230px;
    align-items: start;
    margin-bottom: 1rem;
}

.erp-print-header h1 {
    margin: 0.25rem 0;
    font-size: 1.55rem;
    font-weight: 900;
}

.erp-print-header p,
.erp-print-concept span,
.erp-print-meta span {
    color: var(--erp-muted);
    font-size: 0.82rem;
    font-weight: 800;
}

.erp-print-number {
    padding: 1rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.48);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: var(--erp-radius-sm);
}

.erp-print-number span,
.erp-print-number small {
    display: block;
    color: var(--erp-muted);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.erp-print-number strong {
    display: block;
    margin: 0.22rem 0;
    font-size: 1.25rem;
    font-weight: 900;
}

.erp-print-meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.erp-print-meta div,
.erp-print-concept {
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: var(--erp-radius-sm);
}

.erp-print-meta strong,
.erp-print-concept strong {
    display: block;
    font-weight: 900;
}

.erp-print-concept {
    margin-bottom: 1rem;
}

.erp-print-signatures {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 3.5rem;
}

.erp-print-signatures div {
    border-top: 1px solid rgba(31, 41, 55, 0.5);
    padding-top: 0.55rem;
    text-align: center;
    font-weight: 900;
}

@media print {
    body.erp-shell {
        background: #ffffff !important;
    }

    body.erp-shell::before,
    .navbar,
    .print-hidden {
        display: none !important;
    }

    main.container {
        max-width: none;
        padding: 0 !important;
    }

    .erp-data-panel,
    .erp-table-wrap,
    .erp-print-number,
    .erp-print-meta div,
    .erp-print-concept {
        background: #ffffff !important;
        border-color: #222222 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .erp-print-sheet {
        border: 0;
        padding: 0;
        max-width: none;
    }

    .erp-table thead th,
    .erp-table tbody td {
        background: #ffffff !important;
        border-color: #222222 !important;
        color: #111111 !important;
    }
}

@media (max-width: 1199.98px) {
    .erp-operation-row {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    .erp-operation-meta,
    .erp-operation-actions {
        grid-column: 2;
        justify-content: flex-start;
    }
}

@media (max-width: 991.98px) {
    .erp-module-hero,
    .erp-page-head,
    .erp-toolbar,
    .erp-form-section-head,
    .erp-voucher-header {
        align-items: stretch;
        flex-direction: column;
    }

    .erp-hero-actions,
    .erp-page-actions,
    .erp-row-actions {
        justify-content: flex-start;
    }

    .erp-metric-strip,
    .erp-dashboard-grid,
    .erp-workspace,
    .erp-form-layout {
        grid-template-columns: 1fr;
    }

    .erp-voucher-number {
        flex-basis: auto;
        min-height: auto;
    }

    .erp-form-aside {
        order: -1;
    }

    .erp-login-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .erp-login-brand {
        min-height: auto;
    }
}

@media (max-width: 575.98px) {
    main.container {
        padding-inline: 0.78rem;
    }

    .erp-module-hero,
    .erp-page-head,
    .erp-workspace-main,
    .erp-data-panel,
    .erp-form-panel,
    .erp-voucher-header {
        padding: 0.88rem;
    }

    .erp-search {
        grid-template-columns: 1fr;
    }

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

    .erp-operation-actions,
    .erp-operation-meta {
        grid-column: auto;
    }

    .erp-chart-panel {
        overflow-x: auto;
    }

    .erp-reminder-item {
        grid-template-columns: 54px minmax(0, 1fr);
    }

    .erp-reminder-amount {
        grid-column: 2;
    }

    .erp-metric strong {
        white-space: normal;
    }
}
