﻿:root {
    --bremm-orange: #f36f12;
    --bremm-charcoal: #17212b;
    --bremm-dark: #0f1821;
    --bremm-light: #f5f7fa;
    --bremm-border: #d9dee7;
    --bremm-text: #1d2530;
}

html, body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bremm-light);
    color: var(--bremm-text);
}

.bremm-shell {
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.bremm-header {
    height: 72px;
    background: white;
    border-bottom: 1px solid var(--bremm-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
}

.bremm-brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.bremm-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: var(--bremm-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.bremm-topbar {
    min-height: 132px;
    background: #f3f6fa;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--bremm-border);
}

.header-brand {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 1 360px;
    min-width: 220px;
}

    .header-brand img {
        width: min(330px, 100%);
        height: auto;
        object-fit: contain;
        display: block;
    }

.header-main-layout {
    width: 220px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
    display: block;
}

.bremm-title {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: 1px;
}

.bremm-subtitle {
    font-size: 12px;
    color: #647080;
}

.bremm-user-panel {
    text-align: right;
    font-size: 13px;
    flex: 1 1 auto;
    align-self: center;
    min-width: 240px;
}

.bremm-company {
    font-weight: 800;
    color: #111827;
    text-transform: uppercase;
}

.bremm-user {
    color: #647080;
}

.bremm-ribbon {
    height: 58px;
    background: #ffffff;
    border-bottom: 1px solid var(--bremm-border);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
}

@media (max-width: 760px) {
    .bremm-topbar {
        min-height: auto;
        align-items: flex-start;
        flex-direction: column;
    }

    .bremm-user-panel {
        text-align: left;
        min-width: 0;
        width: 100%;
    }

    .bremm-header-actions {
        justify-content: flex-start;
    }
}

    .bremm-ribbon a {
        padding: 12px 16px;
        border-radius: 8px;
        color: #1d2530;
        text-decoration: none;
        font-weight: 600;
    }

        .bremm-ribbon a.active,
        .bremm-ribbon a:hover {
            background: var(--bremm-orange);
            color: white;
        }

.bremm-main {
    flex: 1;
    display: flex;
    min-height: 0;
}

.bremm-sidebar {
    width: 290px;
    background: linear-gradient(180deg, var(--bremm-charcoal), var(--bremm-dark));
    color: white;
    overflow-y: auto;
}

.bremm-menu-title {
    font-size: 12px;
    font-weight: 700;
    padding: 18px 20px 10px;
    color: #b8c2cc;
}

.bremm-workspace {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: #f5f7fa;
}

.bremm-statusbar {
    height: 30px;
    background: #ffffff;
    border-top: 1px solid var(--bremm-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    font-size: 12px;
    color: #4c5968;
}
.bremm-nav {
    padding: 8px 0 24px;
}

.bremm-nav-section {
    padding: 0 20px 12px;
    font-size: 12px;
    font-weight: 800;
    color: #b8c2cc;
}

.bremm-nav-heading {
    margin-top: 18px;
    padding: 10px 20px 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .5px;
    color: #7f8d9c;
    text-transform: uppercase;
}

.bremm-nav-item,
.bremm-nav-subitem {
    display: block;
    text-decoration: none;
    color: #e8edf3;
    border-left: 4px solid transparent;
}

.bremm-nav-item {
    padding: 12px 18px;
    font-size: 14px;
    font-weight: 600;
}

    .bremm-nav-item span {
        display: inline-block;
        width: 24px;
    }

.bremm-nav-subitem {
    padding: 8px 18px 8px 48px;
    font-size: 13px;
    color: #c8d0da;
}

    .bremm-nav-item:hover,
    .bremm-nav-subitem:hover {
        background: rgba(255,255,255,.08);
        color: white;
    }

    .bremm-nav-item.active,
    .bremm-nav-subitem.active {
        background: var(--bremm-orange);
        color: white;
        border-left-color: white;
    }
.dashboard-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.welcome-card {
    background: white;
    border: 1px solid var(--bremm-border);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .welcome-card h1 {
        margin: 0;
        font-size: 32px;
    }

    .welcome-card p {
        margin: 8px 0;
        color: #647080;
    }

    .welcome-card span {
        font-size: 13px;
        color: var(--bremm-orange);
        font-weight: 700;
    }

.welcome-actions {
    display: flex;
    gap: 10px;
}

    .welcome-actions button,
    .quick-actions button {
        border: none;
        background: var(--bremm-orange);
        color: white;
        padding: 12px 18px;
        border-radius: 8px;
        font-weight: 700;
        cursor: pointer;
    }

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.kpi-card {
    background: white;
    border: 1px solid var(--bremm-border);
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

    .kpi-card h2 {
        margin: 0;
        font-size: 30px;
    }

    .kpi-card p {
        margin: 4px 0 0;
        color: #647080;
        font-size: 13px;
    }

.kpi-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
}

.green {
    background: #24a148;
}

.orange {
    background: #f36f12;
}

.red {
    background: #da1e28;
}

.blue {
    background: #0f62fe;
}

.purple {
    background: #8a3ffc;
}

.teal {
    background: #009d9a;
}

.dashboard-panels {
    display: grid;
    grid-template-columns: 2fr 2fr 1.4fr;
    gap: 16px;
}

.panel {
    background: white;
    border: 1px solid var(--bremm-border);
    border-radius: 14px;
    padding: 20px;
}

    .panel h3 {
        margin-top: 0;
    }

.work-list,
.alert-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .work-list li {
        display: flex;
        justify-content: space-between;
        padding: 12px 0;
        border-bottom: 1px solid #edf0f4;
    }

    .work-list strong {
        color: var(--bremm-orange);
    }

    .alert-list li {
        padding: 12px 0;
        border-bottom: 1px solid #edf0f4;
        font-weight: 700;
    }

.alert-red {
    color: #da1e28;
}

.alert-orange {
    color: #f36f12;
}

.alert-blue {
    color: #0f62fe;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.login-page {
    min-height: 100vh;
    display: flex;
    background: linear-gradient(135deg, #202832, #f36f12);
    align-items: center;
    justify-content: center;
    gap: 80px;
}

.login-left {
    color: white;
}

.login-brand {
    text-align: center;
}

.login-logo {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: #f36f12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 900;
    margin: 0 auto 18px;
    box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.login-brand h1 {
    font-size: 56px;
    margin: 0;
    letter-spacing: 2px;
}

.login-brand p {
    font-size: 18px;
    margin-top: 8px;
}

.login-card {
    width: 430px;
    background: white;
    border-radius: 16px;
    padding: 34px;
    box-shadow: 0 20px 50px rgba(0,0,0,.30);
}

    .login-card h2 {
        margin-top: 0;
        margin-bottom: 24px;
        text-align: center;
    }

    .login-card label {
        display: block;
        font-weight: 700;
        margin: 14px 0 6px;
    }

    .login-card input,
    .login-card select {
        width: 100%;
        padding: 12px;
        border: 1px solid var(--bremm-border);
        border-radius: 8px;
        font-size: 15px;
    }

.login-actions {
    display: flex;
    gap: 14px;
    margin-top: 26px;
}

    .login-actions button {
        flex: 1;
        border: none;
        padding: 14px;
        border-radius: 8px;
        font-weight: 800;
        cursor: pointer;
    }

.cancel-btn {
    background: #e5e8ed;
    color: #1d2530;
}

.login-btn {
    background: var(--bremm-orange);
    color: white;
}

.login-error {
    margin-top: 14px;
    background: #ffe5e5;
    color: #b00020;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
}

.login-version {
    margin-top: 18px;
    text-align: center;
    color: #647080;
    font-size: 12px;
}
.bremm-login-screen {
    height: 100vh;
    display: grid;
    grid-template-columns: 52% 48%;
    background: #050505;
    overflow: hidden;
    color: white;
}

.bremm-login-brand-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 20px 40px 55px;
    background: linear-gradient(135deg, #050505, #151515 65%, #f36f12 180%);
}

.genesis-login-logo {
    width: 300px;
    max-width: 75%;
}

.powered-by {
    font-size: 14px;
    color: #ddd;
    margin-top: 4px;
}

.mrj-login-logo {
    width: 70px;
    background: white;
    border-radius: 12px;
    padding: 6px;
}

.buildrite-login-logo {
    width: 330px;
    max-width: 80%;
    margin-top: 4px;
}

.bremm-login-card {
    width: 430px;
    align-self: center;
    justify-self: center;
    background: rgba(18, 18, 18, .94);
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 22px;
    padding: 28px;
    box-shadow: 0 25px 80px rgba(0,0,0,.45);
}

    .bremm-login-card h1 {
        text-align: center;
        font-size: 28px;
        margin: 0;
    }

        .bremm-login-card h1 span {
            color: var(--bremm-orange);
        }

    .bremm-login-card p {
        text-align: center;
        color: #aaa;
        margin: 6px 0 20px;
        font-size: 14px;
    }

    .bremm-login-card label {
        display: block;
        margin: 11px 0 5px;
        font-weight: 700;
    }

    .bremm-login-card input,
    .bremm-login-card select {
        width: 100%;
        background: #151515;
        color: white;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 10px;
        padding: 10px;
        font-size: 14px;
    }

.bremm-signin-btn {
    width: 100%;
    margin-top: 18px;
    padding: 12px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(90deg, #f36f12, #ff8a00);
    color: white;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.login-tagline {
    text-align: center;
    margin-top: 16px;
    color: #ddd;
    font-size: 14px;
}

.bremm-login-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 38px;
    background: rgba(0,0,0,.55);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 55px;
    color: #bbb;
    font-size: 12px;
}

@media (max-height: 850px) {
    .bremm-login-brand-panel {
        gap: 12px;
        padding: 25px 40px 55px;
    }

    .genesis-login-logo {
        width: 300px;
    }

    .mrj-login-logo {
        width: 70px;
        padding: 6px;
    }

    .buildrite-login-logo {
        width: 330px;
        margin-top: 4px;
    }

    .bremm-login-card {
        width: 430px;
        padding: 26px;
    }

        .bremm-login-card h1 {
            font-size: 26px;
        }

        .bremm-login-card p {
            font-size: 14px;
            margin-bottom: 18px;
        }

        .bremm-login-card label {
            margin: 10px 0 5px;
        }

        .bremm-login-card input,
        .bremm-login-card select {
            padding: 10px;
        }

    .bremm-signin-btn {
        margin-top: 18px;
        padding: 11px;
    }

    .login-tagline {
        margin-top: 16px;
        font-size: 14px;
    }
}


.login-error {
    margin-top: 14px;
    background: #451313;
    color: #ffb3b3;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
}
.module-page {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-header {
    background: white;
    border: 1px solid var(--bremm-border);
    border-radius: 14px;
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .page-header h1 {
        margin: 0;
        font-size: 30px;
    }

    .page-header p {
        margin: 6px 0 0;
        color: #647080;
    }

.primary-btn,
.small-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #ff7a18, #f36f12);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 9px 14px;
    min-width: 92px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(243, 111, 18, 0.28);
    transition: all 0.18s ease;
}

    .small-btn:hover {
        background: linear-gradient(135deg, #ff8a2b, #e96500);
        color: white;
        text-decoration: none;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(243, 111, 18, 0.35);
    }

    .small-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 10px rgba(243, 111, 18, 0.25);
    }
.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bremm-orange);
    color: #ffffff;
    padding: 12px 22px;
    min-height: 44px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}

.primary-btn:hover {
    background: #e66c00;
    color: #ffffff;
    text-decoration: none;
}

.small-btn {
    padding: 7px 12px;
}

.filter-bar {
    background: white;
    border: 1px solid var(--bremm-border);
    border-radius: 14px;
    padding: 18px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

    .filter-bar label {
        display: block;
        font-weight: 700;
        margin-bottom: 6px;
    }

    .filter-bar select {
        width: 100%;
        padding: 11px;
        border: 1px solid var(--bremm-border);
        border-radius: 8px;
    }

.reports-kpis {
    grid-template-columns: repeat(4, 1fr);
}

.report-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.report-category-card {
    background: white;
    border: 1px solid var(--bremm-border);
    border-radius: 14px;
    padding: 20px;
}

    .report-category-card h3 {
        margin: 0;
    }

    .report-category-card p {
        color: #647080;
    }

.progress-bar {
    height: 10px;
    background: #edf0f4;
    border-radius: 20px;
    overflow: hidden;
}

    .progress-bar span {
        display: block;
        height: 100%;
        background: var(--bremm-orange);
    }

.bremm-table {
    width: 100%;
    border-collapse: collapse;
}

    .bremm-table th,
    .bremm-table td {
        padding: 13px;
        border-bottom: 1px solid #edf0f4;
        text-align: left;
    }

    .bremm-table th {
        font-size: 13px;
        color: #647080;
    }

.status-badge {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.status-green {
    background: #e8f7ee;
    color: #15803d;
}

.status-orange {
    background: #fff3e8;
    color: #c45a00;
}

.status-red {
    background: #ffe8e8;
    color: #b00020;
}
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bremm-orange);
    color: #ffffff;
    padding: 12px 22px;
    min-height: 44px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all .2s ease;
}

    .secondary-btn:hover {
        background: #e66c00;
        color: #ffffff;
        text-decoration: none;
    }

.upload-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

    .form-grid label,
    .panel label {
        display: block;
        font-weight: 700;
        margin: 14px 0 6px;
    }

    .form-grid select,
    .panel textarea {
        width: 100%;
        padding: 11px;
        border: 1px solid var(--bremm-border);
        border-radius: 8px;
    }

.panel textarea {
    min-height: 110px;
    resize: vertical;
}

.upload-box {
    border: 2px dashed var(--bremm-border);
    border-radius: 14px;
    padding: 34px;
    text-align: center;
    background: #fafbfc;
}

.upload-icon {
    font-size: 42px;
}

.upload-box h3 {
    margin-bottom: 4px;
}

.upload-box p {
    color: #647080;
}

.upload-submit {
    margin-top: 18px;
}

.rules-list {
    padding-left: 20px;
    color: #4c5968;
}

    .rules-list li {
        margin-bottom: 12px;
    }
.danger-btn {
    background: #b00020 !important;
}

.report-viewer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
}

.pdf-placeholder {
    min-height: 520px;
    border: 2px dashed var(--bremm-border);
    border-radius: 14px;
    background: #fafbfc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pdf-icon {
    font-size: 64px;
}

.details-list div {
    margin-bottom: 12px;
}

.activity-list li {
    margin-bottom: 10px;
}
.analytics-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
}

.analytics-row {
    display: flex;
    justify-content: space-between;
    margin: 18px 0 8px;
    font-weight: 700;
}

.trend-bars {
    height: 280px;
    display: flex;
    align-items: end;
    gap: 24px;
    padding-top: 20px;
}

    .trend-bars div {
        flex: 1;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: end;
        align-items: center;
    }

    .trend-bars span {
        width: 60px;
        background: var(--bremm-orange);
        border-radius: 10px 10px 0 0;
        display: block;
    }

    .trend-bars p {
        font-weight: 700;
        color: #647080;
    }
.page-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

    .page-actions a,
    .page-actions button {
        white-space: nowrap;
        text-decoration: none;
    }

.page-header {
    gap: 20px;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.comment-box {
    display: flex;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid #edf0f4;
}

.comment-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bremm-orange);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.comment-box p {
    margin: 6px 0;
    color: #4c5968;
}

.comment-box small {
    color: #647080;
}
.comparison-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.upload-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-weight: 600;
}

    .upload-message.success {
        background: #e8f7ee;
        color: #15803d;
    }

    .upload-message.error {
        background: #ffe8e8;
        color: #b00020;
    }

.upload-success-card {
    background: #f8fafc;
    border: 1px solid var(--bremm-border);
    border-radius: 12px;
    padding: 16px;
}
.module-with-nav {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
}

.module-nav-card {
    background: white;
    border: 1px solid var(--bremm-border);
    border-radius: 14px;
    padding: 18px;
    height: fit-content;
    position: sticky;
    top: 20px;
}

    .module-nav-card h3 {
        margin: 0 0 16px;
    }

    .module-nav-card a {
        display: block;
        padding: 11px 12px;
        margin-bottom: 6px;
        border-radius: 10px;
        color: #1d2530;
        text-decoration: none;
        font-weight: 500;
    }

        .module-nav-card a:hover {
            background: #fff3e8;
            color: var(--bremm-orange);
        }

.module-nav-heading {
    margin: 18px 0 8px;
    padding-top: 12px;
    border-top: 1px solid #edf0f4;
    font-size: 12px;
    font-weight: 800;
    color: #647080;
    text-transform: uppercase;
}
.activity-list {
    margin: 0;
    padding-left: 18px;
}

    .activity-list li {
        padding: 10px 0;
        border-bottom: 1px solid #edf0f4;
    }
.form-control {
    width: 100%;
    padding: 11px;
    border: 1px solid var(--bremm-border);
    border-radius: 8px;
}
.details-table {
    width: 100%;
    border-collapse: collapse;
}

    .details-table td {
        padding: 12px;
        border-bottom: 1px solid #edf0f4;
    }

.timeline {
    margin-top: 20px;
}

.timeline-item {
    display: flex;
    gap: 18px;
    margin-bottom: 22px;
}

.timeline-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--bremm-orange);
    margin-top: 5px;
}

    .timeline-dot.orange {
        background: #ff9800;
    }
.task-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.task-column {
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 16px;
    min-height: 420px;
}

    .task-column h3 {
        margin-top: 0;  
    }

.task-column-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

    .task-column-header h3 {
        margin: 0;
    }

    .task-column-header span {
        min-width: 30px;
        height: 30px;
        border-radius: 999px;
        background: #e5e7eb;
        color: #111827;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 13px;
    }

.task-card {
    background: white;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.task-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

    .task-card-link:hover {
        border-color: var(--bremm-orange);
        box-shadow: 0 8px 18px rgba(249, 115, 22, 0.15);
        transform: translateY(-1px);
    }

.task-card-topline {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

    .task-card-topline strong {
        line-height: 1.25;
    }

    .task-card p {
        margin: 8px 0;
        color: #64748b;
    }

.task-card-meta {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #475569;
    font-size: 12px;
}

.task-card small {
    display: block;
    margin-top: 8px;
    color: #64748b;
}

@media (max-width: 1180px) {
    .task-board {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .task-board {
        grid-template-columns: 1fr;
    }
}
/* Sprint 13-16 dashboard and reporting additions */
.traffic-light-card {
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 18px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.traffic-light-card strong { font-size: 34px; }
.traffic-light-card.green { background: #12833b; }
.traffic-light-card.amber { background: #c97900; }
.traffic-light-card.red { background: #b32121; }
.traffic-dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}
.traffic-dot.green { background: #12833b; }
.traffic-dot.amber { background: #c97900; }
.traffic-dot.red { background: #b32121; }
.bar {
    width: 100%;
    height: 14px;
    border-radius: 20px;
    background: #e4e8ef;
    overflow: hidden;
}
.bar span {
    display: block;
    height: 100%;
    background: var(--bremm-orange);
    min-width: 2px;
}
.graph-row {
    display: grid;
    grid-template-columns: 160px 1fr 80px;
    gap: 12px;
    align-items: center;
    margin: 12px 0;
}

/* RC6 reporting week, user security and closure-control polish */
.selected-row {
    background: #fff7ed;
}
.status-blue {
    background: #e8f1ff;
    color: #1d4ed8;
}
.upload-message.warning {
    background: #fff7ed;
    color: #9a3412;
    border: 1px solid #fed7aa;
}
.metric-grid.compact {
    display: grid;
    grid-template-columns: repeat(5, minmax(80px, 1fr));
    gap: 10px;
    margin-top: 12px;
}
.metric-grid.compact div {
    background: #f8fafc;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    padding: 12px;
}
.metric-grid.compact strong {
    display: block;
    font-size: 24px;
    color: #0f172a;
}
.metric-grid.compact span {
    font-size: 12px;
    color: #64748b;
}
.inline-check {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-right: 16px;
    font-weight: 700;
}

/* RC8 stability and UX polish */
.uppercase-login { text-transform: uppercase; }
.bremm-component-error { border: 1px solid #f3b3b3; background: #fff5f5; color: #7a1f1f; border-radius: 12px; padding: 18px; margin: 12px 0; }
.bremm-component-error strong { display: block; margin-bottom: 6px; }
.dashboard-three-column { display: grid; grid-template-columns: 1.2fr 1.2fr 0.8fr; gap: 18px; align-items: start; }
.task-section-heading { margin: 16px 0 8px; font-size: 14px; color: #555; text-transform: uppercase; letter-spacing: .04em; }
.task-section-list { display: grid; gap: 8px; }
.task-mini-card { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border: 1px solid #e8edf3; border-radius: 12px; background: #fff; text-decoration: none; color: inherit; }
.task-mini-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.task-mini-card .muted { color: #667085; font-size: 12px; }
.status-badge.status-grey { background: #eef2f6; color: #344054; }
.week-group-card { border: 1px solid #e6ebf1; border-radius: 14px; background: #fff; margin-bottom: 14px; overflow: hidden; }
.week-group-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; background: #f8fafc; border-bottom: 1px solid #e6ebf1; }
.week-group-header h3 { margin: 0; }
@media (max-width: 1100px) { .dashboard-three-column { grid-template-columns: 1fr; } }
