.command-centre .command-back{display:block;margin-bottom:.6rem;color:#087b88;text-decoration:none;font-weight:600}
.command-event-grid,.command-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.command-event-card,.command-action-grid .panel{min-width:0;display:flex;flex-direction:column;align-items:flex-start;gap:.65rem}
.command-event-card h2,.command-action-grid h3{margin:0;overflow-wrap:anywhere}
.command-event-card .btn,.command-action-grid .btn{margin-top:auto}
.command-kpi-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0}
.command-kpi{display:flex;flex-direction:column;gap:.4rem;min-width:0}
.command-kpi span{font-size:.9rem;color:#536d79}
.command-kpi strong{font-size:clamp(1.5rem,3vw,2rem);color:#143a4b;font-variant-numeric:tabular-nums}
.command-disclaimer{border-left:3px solid #0a828a;margin:1rem 0}
.command-centre .section-head{gap:1rem;flex-wrap:wrap}
@media(max-width:700px){.command-event-grid,.command-action-grid{grid-template-columns:1fr}.command-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:350px){.command-kpi-grid{grid-template-columns:1fr}.command-centre .btn{max-width:100%;white-space:normal}}

/* Command centre is a complete vertically scrolling document, never a
   viewport-height dashboard with clipped metrics or action controls. */
body.wh-v4 .app-shell > main > .command-centre {
    height: auto;
    max-height: none;
    overflow: visible;
}
body.wh-v4 .command-centre .command-kpi-grid,
body.wh-v4 .command-centre .command-action-grid {
    grid-auto-rows: auto;
    align-items: stretch;
}
body.wh-v4 .command-centre .command-action-grid .panel {
    height: auto;
    max-height: none;
    overflow: visible;
}
body.wh-v4 .command-centre .command-action-grid .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    white-space: normal;
    text-align: center;
}
