:root {
    --ink: #1f2937;
    --muted: #667085;
    --line: #d9e1e8;
    --panel: #ffffff;
    --wash: #f4f7fb;
    --accent: #0f766e;
    --accent-strong: #115e59;
    --warn: #b45309;
    --danger: #b42318;
}

body {
    background: var(--wash);
    color: var(--ink);
}

.navbar-brand {
    color: var(--accent-strong);
}

.btn-primary {
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-bg: var(--accent-strong);
    --bs-btn-hover-border-color: var(--accent-strong);
}

.summary-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.summary-tile,
.toolbar,
.table-wrap {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.summary-tile {
    min-height: 98px;
    padding: 18px;
}

.summary-tile span {
    color: var(--muted);
    display: block;
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.summary-tile strong {
    font-size: 1.8rem;
    line-height: 1;
}

.toolbar {
    padding: 16px;
}

.table-wrap {
    overflow: hidden;
}

.table thead th {
    background: #eef4f8;
    color: #475467;
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.client-cell {
    min-width: 220px;
}

.client-cell small {
    color: var(--muted);
    display: block;
}

.progress {
    background: #e9eef3;
    height: 9px;
    min-width: 120px;
}

.progress-bar {
    background: var(--accent);
}

.status-pill {
    border: 1px solid var(--line);
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.76rem;
    gap: 5px;
    margin: 2px;
    padding: 4px 8px;
    white-space: nowrap;
}

.status-yes {
    background: #e8f5ef;
    border-color: #b7decf;
    color: #067647;
}

.status-no {
    background: #fff4ed;
    border-color: #f7c9a7;
    color: var(--warn);
}

.status-na {
    background: #eef2f6;
    color: #475467;
}

.gap-text {
    color: var(--danger);
    font-size: 0.88rem;
    min-width: 150px;
}


.section-title {
    color: #344054;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.milestone-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.milestone-control {
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}

.milestone-control .form-label {
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.notes-row td {
    background: #fbfdff;
    border-top: 0;
    color: #475467;
    padding-top: 0;
}

@media (max-width: 992px) {
    .summary-grid,
    
.section-title {
    color: #344054;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.milestone-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .summary-grid,
    
.section-title {
    color: #344054;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 14px;
}
.milestone-grid {
        grid-template-columns: 1fr;
    }
}


