*,
*::before,
*::after {
    box-sizing: border-box;
}
html {
    -webkit-text-size-adjust: 100%;
}
body,
button,
input,
select,
textarea {
    font-family: Inter, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img,
svg {
    max-width: 100%;
    height: auto;
    display: block;
}
body {
    background: #f5f7fb;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: #1f2937;
}
.sidebar {
    min-height: 100vh;
    background: linear-gradient(180deg, #0f766e 0%, #115e59 100%);
}
.sidebar a {
    color: rgba(255,255,255,0.88);
    text-decoration: none;
    display: block;
    padding: 0.8rem 1rem;
    border-radius: 0.75rem;
}
.sidebar a.active, .sidebar a:hover {
    background: rgba(255,255,255,0.16);
    color: #fff;
}
.brand {
    font-weight: 700;
    color: #fff;
}
.card-soft {
    border: 0;
    border-radius: 1rem;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
.table thead th {
    background: #f8fafc;
    color: #475569;
}
.badge-soft {
    background: #ecfeff;
    color: #155e75;
}


.login-shell {
    min-height: 100vh;
    background:
        radial-gradient(circle at top right, rgba(20, 184, 166, 0.30) 0%, rgba(20, 184, 166, 0.08) 26%, transparent 52%),
        linear-gradient(135deg, #eef2f7 0%, #f8fafc 45%, #effcfb 100%);
}
.login-screen {
    max-width: 1260px;
    margin: 0 auto;
}
.login-hero,
.login-card {
    background: rgba(255,255,255,0.94);
    border-radius: 1.5rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
}
.login-hero {
    padding: 2.25rem;
    position: relative;
    overflow: hidden;
}
.login-hero::after {
    content: '';
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    right: -80px;
    bottom: -100px;
    background: radial-gradient(circle, rgba(15,118,110,0.16) 0%, rgba(15,118,110,0.04) 56%, transparent 72%);
    pointer-events: none;
}
.login-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}
.login-title {
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.08;
    margin: 0 0 1rem;
    color: #0f172a;
    max-width: 12ch;
}
.login-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    max-width: 68ch;
    margin-bottom: 1.6rem;
}
.login-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.login-feature-card {
    border: 1px solid #dbe4ee;
    background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(248,250,252,0.90) 100%);
    border-radius: 1.15rem;
    padding: 1.1rem 1.05rem;
}
.login-feature-card h2 {
    font-size: 1.03rem;
    margin: 0 0 0.45rem;
    color: #0f172a;
}
.login-feature-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.94rem;
}
.login-feature-icon {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.9rem;
    background: #ecfeff;
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}
.login-trust-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.login-trust-item {
    padding: 1rem 1.05rem;
    border-radius: 1rem;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(148, 163, 184, 0.28);
}
.login-trust-item strong {
    display: block;
    color: #0f172a;
    margin-bottom: 0.35rem;
}
.login-trust-item span {
    display: block;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.55;
}
.login-card {
    min-height: 100%;
}
.login-form-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.login-form .form-control {
    border-radius: 0.9rem;
    border-color: #d6dee8;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}
.login-form .form-control:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 0.25rem rgba(15, 118, 110, 0.15);
}
.login-form .btn {
    border-radius: 0.9rem;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}
.login-helper {
    text-align: center;
}
.login-helper a {
    color: #0f766e;
    font-weight: 600;
}
@media (max-width: 1199px) {
    .login-hero,
    .login-card {
        height: auto !important;
    }
}
@media (max-width: 991px) {
    .login-hero {
        padding: 1.6rem;
    }
    .login-feature-grid,
    .login-trust-band {
        grid-template-columns: 1fr;
    }
    .login-title {
        max-width: none;
    }
}
@media (max-width: 575px) {
    .login-screen {
        max-width: 100%;
    }
    .login-hero,
    .login-card {
        border-radius: 1.2rem;
    }
    .login-title {
        font-size: 1.8rem;
    }
}
.form-label { font-weight: 600; }
.required::after { content: ' *'; color: #dc2626; }
.receipt-box {
    border: 1px dashed #94a3b8;
    border-radius: 1rem;
    background: #fff;
}
.small-muted { color: #64748b; font-size: 0.9rem; }

.metric-box {
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1rem;
    background: #fff;
}
.reconciliation-sheet {
    background: #fff;
}
.signature-line {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid #0f172a;
    text-align: center;
    color: #475569;
}

.container,
.container-fluid {
    width: 100%;
}
.card {
    overflow-wrap: break-word;
}
.table {
    vertical-align: middle;
}
.sidebar summary {
    list-style: none;
}
.sidebar summary::-webkit-details-marker {
    display: none;
}
.login-shell .container {
    width: 100%;
}

@media print {
    body {
        background: #fff !important;
    }
    .sidebar,
    .btn,
    .alert-dismissible .btn-close,
    .d-print-none,
    .container-fluid > .row > main > .d-flex.justify-content-between.align-items-center.mb-4 {
        display: none !important;
    }
    .container-fluid,
    .container-fluid > .row,
    .container-fluid > .row > main {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .card-soft,
    .reconciliation-sheet {
        box-shadow: none !important;
        border: none !important;
    }
    @page {
        size: A4;
        margin: 14mm;
    }
}
.trend-grid {
    display: grid;
    gap: 1rem;
}
.trend-row {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 1rem;
    align-items: start;
}
.trend-label {
    font-weight: 700;
    color: #0f172a;
    padding-top: 0.35rem;
}
.trend-bars {
    display: grid;
    gap: 0.6rem;
}
.trend-line {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 0.75rem;
    align-items: center;
}
.trend-name {
    color: #475569;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .trend-row, .trend-line {
        grid-template-columns: 1fr;
    }
}

.install-hint { font-size: 0.85rem; color: #64748b; }

.sidebar-caption {
    color: rgba(255,255,255,0.72);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.sidebar-groups {
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    padding-right: 0.25rem;
}
.sidebar-group {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 1rem;
    overflow: hidden;
}
.sidebar-group summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: #fff;
    font-weight: 600;
}
.sidebar-group summary::-webkit-details-marker { display: none; }
.sidebar-group summary::after {
    content: '▾';
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}
.sidebar-group:not([open]) summary::after { content: '▸'; }
.sidebar-group-icon {
    width: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.45rem;
}
.sidebar-group-links {
    display: grid;
    gap: 0.2rem;
    padding: 0 0.6rem 0.6rem;
}
.sidebar .sidebar-group-links a {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.7rem 0.85rem;
    border-radius: 0.8rem;
}
.nav-icon {
    width: 1.35rem;
    text-align: center;
    flex: 0 0 1.35rem;
}
@media (max-width: 991px) {
    .sidebar {
        min-height: auto;
    }
    .sidebar-groups {
        max-height: none;
        overflow: visible;
    }
}

.login-shell {
    background:
        radial-gradient(circle at 12% 18%, rgba(15, 118, 110, 0.10) 0%, rgba(15, 118, 110, 0.03) 24%, transparent 42%),
        radial-gradient(circle at 88% 12%, rgba(14, 165, 233, 0.14) 0%, rgba(14, 165, 233, 0.05) 24%, transparent 40%),
        linear-gradient(135deg, #eef2f7 0%, #f8fafc 46%, #edf7f7 100%);
}
.login-screen-modern {
    max-width: 1240px;
}
.login-hero-pro,
.login-card-pro {
    background: rgba(255,255,255,0.94);
    border-radius: 1.75rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
    border: 1px solid rgba(226, 232, 240, 0.95);
}
.login-hero-pro {
    padding: 2rem;
    position: relative;
    overflow: hidden;
}
.login-hero-pro::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.10) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.15), rgba(0,0,0,0));
    pointer-events: none;
}
.login-hero-head {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.4rem;
}
.login-kicker {
    padding: 0.5rem 0.9rem;
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.login-hero-pill {
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 0.82rem;
    font-weight: 600;
}
.login-copy-wrap,
.login-metric-row,
.login-visual-card {
    position: relative;
    z-index: 1;
}
.login-title-pro {
    font-size: clamp(2.2rem, 4vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin: 0 0 0.9rem;
    color: #0f172a;
    max-width: 11ch;
}
.login-lead-pro {
    margin: 0;
    font-size: 1.05rem;
    color: #475569;
    line-height: 1.75;
    max-width: 40rem;
}
.login-metric-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.75rem 0;
}
.login-metric-card {
    padding: 1rem 1.05rem;
    border: 1px solid #dbe4ee;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(248,250,252,0.88) 100%);
}
.login-metric-card span {
    display: block;
    color: #64748b;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}
.login-metric-card strong {
    display: block;
    color: #0f172a;
    font-size: 1.05rem;
}
.login-visual-card {
    padding: 1.25rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, rgba(15,23,42,0.96) 0%, rgba(15,23,42,0.90) 100%);
    color: #fff;
    overflow: hidden;
}
.login-visual-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.login-visual-header h2 {
    margin: 0;
    font-size: 1.05rem;
    color: #f8fafc;
}
.login-visual-header p {
    margin: 0.22rem 0 0;
    color: rgba(226, 232, 240, 0.75);
    font-size: 0.92rem;
}
.login-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.08);
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
}
.login-live-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 rgba(45, 212, 191, 0.55);
    animation: loginPulse 1.8s infinite;
}
.login-chart-shell {
    position: relative;
    min-height: 250px;
    border-radius: 1.15rem;
    background:
        linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15,118,110,0.14) 0%, rgba(15,23,42,0.10) 100%);
    background-size: 100% 25%, 10% 100%, 100% 100%;
    overflow: hidden;
}
.login-bars {
    position: absolute;
    inset: 1.1rem 1rem 1rem 1rem;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.8rem;
    align-items: end;
}
.login-bars span {
    display: block;
    height: var(--bar-height);
    min-height: 24%;
    border-radius: 0.95rem 0.95rem 0.35rem 0.35rem;
    background: linear-gradient(180deg, rgba(45,212,191,0.92) 0%, rgba(20,184,166,0.32) 100%);
    transform-origin: bottom center;
    animation: loginBarGrow 1.4s ease-out both, loginBarFloat 3.8s ease-in-out infinite;
    animation-delay: var(--bar-delay), calc(var(--bar-delay) + 1.3s);
}
.login-line-chart {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
.login-area {
    fill: url(#loginChartFill);
}
.login-line {
    fill: none;
    stroke: #93f5e6;
    stroke-width: 4;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 900;
    stroke-dashoffset: 900;
    animation: loginDrawLine 2.5s ease forwards 0.45s;
}
.login-point {
    fill: #ffffff;
    stroke: #2dd4bf;
    stroke-width: 4;
    opacity: 0;
    animation: loginPointAppear 0.45s ease forwards;
}
.login-point-1 { animation-delay: 1.1s; }
.login-point-2 { animation-delay: 1.55s; }
.login-point-3 { animation-delay: 1.95s; }
.login-insight-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}
.login-insight-item {
    padding: 0.85rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
}
.login-insight-item .label {
    display: block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(226, 232, 240, 0.72);
    margin-bottom: 0.28rem;
}
.login-insight-item strong {
    color: #f8fafc;
    font-size: 0.98rem;
}
.login-card-pro .card-body {
    padding-top: 2.3rem !important;
    padding-bottom: 2.3rem !important;
}
.login-form-title {
    margin: 0;
    color: #0f172a;
    font-size: 2rem;
}
.login-form-lead {
    margin: 0.45rem 0 0;
    color: #64748b;
    font-size: 1rem;
}
.login-form-badge {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}
.login-helper {
    text-align: center;
    color: #64748b;
}
.login-helper a {
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
}
.login-helper a:hover {
    text-decoration: underline;
}
@keyframes loginBarGrow {
    from { transform: scaleY(0.18); opacity: 0.2; }
    to { transform: scaleY(1); opacity: 1; }
}
@keyframes loginBarFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}
@keyframes loginDrawLine {
    to { stroke-dashoffset: 0; }
}
@keyframes loginPointAppear {
    from { opacity: 0; transform: scale(0.1); }
    to { opacity: 1; transform: scale(1); }
}
@keyframes loginPulse {
    0% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0.58); }
    70% { box-shadow: 0 0 0 11px rgba(45, 212, 191, 0); }
    100% { box-shadow: 0 0 0 0 rgba(45, 212, 191, 0); }
}
@media (max-width: 1199px) {
    .login-hero-pro,
    .login-card-pro {
        height: auto !important;
    }
}
@media (max-width: 991px) {
    .login-shell {
        align-items: flex-start !important;
    }
    .login-hero-pro {
        padding: 1.5rem;
    }
    .login-title-pro {
        max-width: none;
        font-size: 2.35rem;
    }
    .login-metric-row,
    .login-insight-row {
        grid-template-columns: 1fr;
    }
    .login-chart-shell {
        min-height: 220px;
    }
}
@media (max-width: 575px) {
    .login-hero-head {
        flex-direction: column;
        align-items: flex-start;
    }
    .login-title-pro {
        font-size: 2rem;
    }
    .login-hero-pro,
    .login-card-pro {
        border-radius: 1.25rem;
    }
    .login-visual-card {
        padding: 1rem;
    }
    .login-metric-card,
    .login-insight-item {
        padding: 0.9rem;
    }
}

/* Executive login refresh - CSS-only graphics for better live-server compatibility */
.login-screen-executive {
    max-width: 1240px;
}
.login-hero-exec,
.login-card-exec {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 1.6rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.10);
}
.login-hero-exec {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    background:
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.14), transparent 28%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.10), transparent 26%),
        rgba(255, 255, 255, 0.97);
}
.login-hero-exec::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0));
    pointer-events: none;
}
.login-hero-top,
.login-copy-wrap-exec,
.login-chip-row,
.login-dashboard-card {
    position: relative;
    z-index: 1;
}
.login-hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.login-brand-badge,
.login-trust-pill,
.login-form-badge-exec {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.login-brand-badge {
    padding: 0.5rem 0.9rem;
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    font-size: 0.84rem;
}
.login-trust-pill {
    padding: 0.45rem 0.85rem;
    background: rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 0.84rem;
}
.login-exec-title {
    margin: 0;
    max-width: 11ch;
    color: #0f172a;
    font-size: clamp(2.45rem, 4.2vw, 4.4rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
}
.login-exec-lead {
    margin: 0.95rem 0 0;
    max-width: 38rem;
    color: #475569;
    font-size: 1.05rem;
    line-height: 1.7;
}
.login-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0 1.6rem;
}
.login-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.7rem 0.95rem;
    border-radius: 999px;
    background: rgba(248, 250, 252, 0.96);
    border: 1px solid #dbe4ee;
    color: #0f172a;
    font-size: 0.92rem;
    font-weight: 600;
}
.login-dashboard-card {
    padding: 1.25rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #ffffff;
}
.login-dashboard-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.login-dashboard-head h2 {
    margin: 0;
    font-size: 1.08rem;
    color: #f8fafc;
}
.login-dashboard-head p {
    margin: 0.2rem 0 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.9rem;
}
.login-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-size: 0.8rem;
    font-weight: 700;
}
.login-status-dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 rgba(45, 212, 191, 0.55);
    animation: loginPulse 1.9s infinite;
}
.login-dashboard-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
    margin-bottom: 1rem;
}
.login-dashboard-metric {
    padding: 0.85rem 0.95rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.login-dashboard-metric strong {
    display: block;
    color: #f8fafc;
    font-size: 0.98rem;
}
.login-dashboard-metric span {
    display: block;
    margin-top: 0.25rem;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.82rem;
}
.login-chart-card {
    position: relative;
    height: 270px;
    border-radius: 1.15rem;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 118, 110, 0.18) 0%, rgba(15, 23, 42, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.login-chart-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 100% 25%, 12.5% 100%;
}
.login-chart-bars {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    top: 1rem;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.75rem;
    align-items: end;
}
.login-chart-bars span {
    display: block;
    height: var(--bar-height);
    min-height: 22%;
    border-radius: 0.95rem 0.95rem 0.3rem 0.3rem;
    background: linear-gradient(180deg, rgba(45, 212, 191, 0.95) 0%, rgba(20, 184, 166, 0.30) 100%);
    box-shadow: 0 18px 34px rgba(45, 212, 191, 0.08);
    animation: loginBarGrow 1.15s ease-out both, loginBarFloat 4.2s ease-in-out infinite;
    animation-delay: var(--bar-delay), calc(var(--bar-delay) + 1.2s);
}
.login-chart-line {
    position: absolute;
    inset: 0;
}
.login-chart-line .seg,
.login-chart-line .dot {
    position: absolute;
    opacity: 0;
    animation: loginFadeInUp 0.45s ease forwards;
}
.login-chart-line .seg {
    height: 3px;
    border-radius: 999px;
    background: #d1fae5;
    box-shadow: 0 0 18px rgba(209, 250, 229, 0.18);
    transform-origin: left center;
}
.login-chart-line .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #2dd4bf;
    box-shadow: 0 0 0 6px rgba(45, 212, 191, 0.10);
}
.login-chart-line .seg-1 { left: 7%;  top: 66%; width: 13%; transform: rotate(-13deg); animation-delay: .75s; }
.login-chart-line .seg-2 { left: 18.5%; top: 61.5%; width: 12%; transform: rotate(4deg); animation-delay: .88s; }
.login-chart-line .seg-3 { left: 30%; top: 62%; width: 12%; transform: rotate(-18deg); animation-delay: 1.01s; }
.login-chart-line .seg-4 { left: 41.5%; top: 55%; width: 12%; transform: rotate(8deg); animation-delay: 1.14s; }
.login-chart-line .seg-5 { left: 53%; top: 56.5%; width: 12%; transform: rotate(-18deg); animation-delay: 1.27s; }
.login-chart-line .seg-6 { left: 64.5%; top: 48.5%; width: 12%; transform: rotate(11deg); animation-delay: 1.40s; }
.login-chart-line .seg-7 { left: 76%; top: 50.5%; width: 11%; transform: rotate(-18deg); animation-delay: 1.53s; }
.login-chart-line .dot-1 { left: 6%;  top: 65%; animation-delay: .72s; }
.login-chart-line .dot-2 { left: 18%; top: 60.5%; animation-delay: .84s; }
.login-chart-line .dot-3 { left: 29.5%; top: 61%; animation-delay: .97s; }
.login-chart-line .dot-4 { left: 41%; top: 54%; animation-delay: 1.10s; }
.login-chart-line .dot-5 { left: 52.5%; top: 56%; animation-delay: 1.23s; }
.login-chart-line .dot-6 { left: 64%; top: 47.5%; animation-delay: 1.36s; }
.login-chart-line .dot-7 { left: 75.5%; top: 49.5%; animation-delay: 1.49s; }
.login-chart-line .dot-8 { left: 86.5%; top: 41%; animation-delay: 1.62s; }
.login-chart-labels {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.75rem;
    margin-top: 0.8rem;
    color: rgba(226, 232, 240, 0.70);
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}
.login-chart-labels span {
    text-align: center;
}
.login-card-exec .card-body {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
}
.login-form-badge-exec {
    align-self: flex-start;
    padding: 0.45rem 0.82rem;
    background: rgba(15, 118, 110, 0.10);
    color: #0f766e;
    font-size: 0.78rem;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}
.login-form-title-exec {
    margin: 0;
    color: #0f172a;
    font-size: 2.1rem;
}
.login-form-lead-exec {
    margin: 0.45rem 0 0;
    color: #64748b;
    font-size: 1rem;
}
.login-helper-exec {
    text-align: center;
    color: #64748b;
}
.login-helper-exec a {
    color: #0f766e;
    font-weight: 700;
    text-decoration: none;
}
.login-helper-exec a:hover {
    text-decoration: underline;
}
@keyframes loginFadeInUp {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1199px) {
    .login-hero-exec,
    .login-card-exec {
        height: auto !important;
    }
}
@media (max-width: 991px) {
    .login-shell {
        align-items: flex-start !important;
    }
    .login-hero-exec {
        padding: 1.5rem;
    }
    .login-exec-title {
        max-width: none;
        font-size: 2.35rem;
    }
    .login-dashboard-metrics {
        grid-template-columns: 1fr;
    }
    .login-chart-card {
        height: 240px;
    }
}
@media (max-width: 575px) {
    .login-hero-top {
        flex-direction: column;
        align-items: flex-start;
    }
    .login-exec-title {
        font-size: 2rem;
    }
    .login-hero-exec,
    .login-card-exec {
        border-radius: 1.25rem;
    }
    .login-chip-row {
        gap: 0.6rem;
    }
    .login-chip {
        font-size: 0.86rem;
    }
    .login-chart-card {
        height: 210px;
    }
    .login-chart-bars,
    .login-chart-labels {
        gap: 0.45rem;
    }
}

/* Login refresh v9 - static live-server-safe layout */
.login-screen-static {
    max-width: 1240px;
}
.login-hero-static {
    background:
        radial-gradient(circle at top right, rgba(45, 212, 191, 0.10), transparent 26%),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.08), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
}
.login-hero-static::after {
    display: none;
}
.login-hero-static .login-exec-title {
    max-width: 13ch;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.02;
}
.login-hero-static .login-exec-lead {
    max-width: 40rem;
}
.login-dashboard-head-static {
    margin-bottom: 1.15rem;
}
.login-status-pill-static {
    background: rgba(15, 118, 110, 0.10);
    color: #ccfbf1;
    border: 1px solid rgba(45, 212, 191, 0.18);
}
.login-status-dot-static {
    background: #2dd4bf;
    box-shadow: none;
    animation: none;
}
.login-overview-panel {
    position: relative;
    z-index: 1;
    padding: 1.3rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
}
.login-kpi-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin-bottom: 1rem;
}
.login-kpi-card {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.login-kpi-label {
    display: inline-block;
    margin-bottom: 0.35rem;
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.login-kpi-card strong {
    display: block;
    color: #f8fafc;
    font-size: 1.05rem;
}
.login-kpi-card small {
    display: block;
    margin-top: 0.22rem;
    color: rgba(226, 232, 240, 0.74);
    font-size: 0.82rem;
}
.login-overview-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.95fr;
    gap: 1rem;
}
.login-summary-card,
.login-bars-static {
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem;
}
.login-summary-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.78rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.login-summary-item:first-child {
    padding-top: 0;
}
.login-summary-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}
.login-summary-item span {
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.9rem;
}
.login-summary-item strong {
    color: #f8fafc;
    font-size: 0.94rem;
}
.login-bars-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.85rem;
}
.login-bars-head span {
    color: rgba(226, 232, 240, 0.68);
    font-size: 0.82rem;
}
.login-bars-head strong {
    color: #f8fafc;
    font-size: 0.9rem;
}
.login-bar-row {
    display: grid;
    grid-template-columns: 6.2rem 1fr;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.8rem;
}
.login-bar-row:last-child {
    margin-bottom: 0;
}
.login-bar-row label {
    color: rgba(226, 232, 240, 0.78);
    font-size: 0.84rem;
    margin: 0;
}
.login-bar-track {
    position: relative;
    height: 0.68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}
.login-bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #14b8a6 0%, #2dd4bf 100%);
}
@media (max-width: 991px) {
    .login-kpi-grid,
    .login-overview-grid {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 575px) {
    .login-hero-static .login-exec-title {
        max-width: none;
        font-size: 2rem;
    }
    .login-bar-row {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
}

/* Login refresh v10 - inline SVG visual for reliable hosting display */
.login-copy-wrap-clean {
    max-width: 44rem;
}
.login-exec-title-clean {
    max-width: 13ch;
}
.login-exec-lead-clean {
    max-width: 41rem;
}
.login-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
    margin: 1.4rem 0 1.5rem;
    position: relative;
    z-index: 1;
}
.login-mini-stat {
    padding: 0.95rem 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #dbe4ee;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}
.login-mini-stat span {
    display: block;
    margin-bottom: 0.3rem;
    color: #64748b;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.login-mini-stat strong {
    color: #0f172a;
    font-size: 1rem;
}
.login-visual-static-card {
    position: relative;
    z-index: 1;
    padding: 1.2rem;
    border-radius: 1.35rem;
    background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
    color: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.10);
}
.login-visual-static-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.login-visual-static-head h2 {
    margin: 0;
    color: #f8fafc;
    font-size: 1.06rem;
}
.login-visual-static-head p {
    margin: 0.25rem 0 0;
    color: rgba(226, 232, 240, 0.72);
    font-size: 0.9rem;
}
.login-visual-static-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.78rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.15);
    border: 1px solid rgba(45, 212, 191, 0.18);
    color: #ccfbf1;
    font-size: 0.78rem;
    font-weight: 700;
}
.login-inline-visual {
    border-radius: 1.1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.55rem;
}
.login-hero-svg {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}
@media (max-width: 991px) {
    .login-mini-stats {
        grid-template-columns: 1fr;
    }
    .login-visual-static-head {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 575px) {
    .login-exec-title-clean {
        max-width: none;
    }
    .login-visual-static-card,
    .login-inline-visual {
        padding: 0.8rem;
    }
}
