html, body {
    margin: 0;
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #f4f6f8;
    color: #18212f;
}

a { color: #1769d1; text-decoration: none; }

.page { display: flex; min-height: 100vh; }
.sidebar { width: 270px; flex: 0 0 270px; background: #101827; color: #d9e3f0; }
main { flex: 1; min-width: 0; }
.top-row {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    background: #ffffff;
    border-bottom: 1px solid #e3e8ef;
}
.org-context { margin-right: auto; font-weight: 700; color: #1f3148; }
.top-actions { color: #6b7685; }
.content { padding: 28px; }

.brand-panel {
    height: 82px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .10);
    background: #0d1421;
}
.brand-link {
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 12px;
    align-items: center;
    width: 100%;
    color: #fff;
}
.brand-link:hover { color: #fff; }
.brand-mark {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #1769d1;
    color: #fff;
    font-weight: 900;
    font-size: 14px;
}
.brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.12;
    min-width: 0;
}
.brand-copy strong {
    font-size: 15px;
    color: #fff;
}
.brand-copy span {
    font-size: 15px;
    color: #8fc0ff;
    font-weight: 800;
}
.navbar-toggler { display: none; }
.nav-scrollable { padding-top: 12px; }
.nav-link {
    color: #b8c7d9;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 16px;
    border-radius: 6px;
    margin: 3px 10px;
    font-weight: 600;
}
.nav-link:hover, .nav-link.active { color: #fff; background: #1e2d44; }
button.nav-link { width: calc(100% - 20px); border: 0; background: transparent; text-align: left; }

.hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}
h1 { font-size: 30px; margin: 0 0 8px; color: #111827; }
h2 { font-size: 22px; margin: 0 0 16px; }
h3 { font-size: 17px; margin: 0 0 12px; }
.muted { color: #677587; }
.eyebrow { color: #1b70d6; font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }

.grid { display: grid; gap: 16px; }
.grid.cards { grid-template-columns: repeat(6, minmax(140px, 1fr)); }
.grid.two { grid-template-columns: 1.2fr .8fr; }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card, .panel {
    background: #fff;
    border: 1px solid #e1e7ef;
    border-radius: 8px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, .04);
    padding: 18px;
}
.metric-value { font-size: 28px; font-weight: 800; color: #17253a; }
.metric-label { color: #697789; font-size: 13px; }
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 14px 0; }
.button, button {
    border: 0;
    border-radius: 6px;
    background: #1769d1;
    color: #fff;
    font-weight: 700;
    padding: 10px 14px;
    cursor: pointer;
}
.button.secondary, button.secondary { background: #e9eef5; color: #26364a; }
.button.danger { background: #c83c3c; }
input, select, textarea {
    width: 100%;
    border: 1px solid #cad4e0;
    border-radius: 6px;
    padding: 9px 10px;
    background: #fff;
}
label { font-size: 13px; font-weight: 700; color: #35465c; display: block; margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .wide { grid-column: 1 / -1; }

table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid #e6ebf2; text-align: left; vertical-align: top; }
th { font-size: 12px; color: #687789; text-transform: uppercase; letter-spacing: .05em; }
.badge { display: inline-flex; border-radius: 999px; padding: 4px 9px; font-size: 12px; font-weight: 800; }
.red { background: #fde7e7; color: #a12626; }
.amber { background: #fff1d4; color: #8a5c00; }
.green { background: #dff6e8; color: #187342; }
.blue { background: #e2f0ff; color: #145ea8; }

.bar { height: 11px; background: #e7edf4; border-radius: 999px; overflow: hidden; }
.bar span { display: block; height: 100%; background: #1769d1; }
.heatmap { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.heat { min-height: 84px; border-radius: 6px; padding: 10px; font-weight: 700; color: #152235; }
.chart-bars { display: grid; gap: 10px; }
.chart-row { display: grid; grid-template-columns: 220px 1fr 50px; gap: 12px; align-items: center; }
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.roadmap-column { border-left: 4px solid #1769d1; padding-left: 14px; }
.question { border: 1px solid #e1e7ef; border-radius: 8px; padding: 16px; margin-bottom: 14px; background: #fff; }
.maturity-options { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.maturity-options button { background: #eef3f8; color: #25354b; padding: 8px; }
.maturity-options button.selected { background: #1769d1; color: #fff; }

@media (max-width: 1000px) {
    .sidebar { width: 230px; flex-basis: 230px; }
    .grid.cards, .grid.three { grid-template-columns: repeat(2, 1fr); }
    .grid.two, .roadmap, .form-grid { grid-template-columns: 1fr; }
}
