.commandant { min-width: 0; }
.commandant-tabs { display:flex; flex-wrap:wrap; gap:8px; margin:16px 0 24px; }
.commandant>label { display:block; max-width:540px; }
.commandant-metrics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:16px; }
.commandant-metrics strong { display:block; font-size:clamp(20px,2.4vw,32px); margin-top:8px; overflow-wrap:anywhere; }
.commandant-alert { border:2px solid var(--ui-warning); border-radius:var(--ui-radius); padding:16px; margin:16px 0; color:var(--ui-warning); background:var(--ui-warning-bg); }
.commandant-alert h2 { margin-top:0; }
.commandant-overdue { font-weight:700; text-decoration:underline; }
.commandant summary { cursor:pointer; min-height:44px; padding:8px 0; }
.commandant td { vertical-align:top; overflow-wrap:anywhere; }
.commandant input,.commandant select,.commandant textarea { max-width:100%; min-width:0; }
.commandant .field-grid { margin-top:16px; }
.commandant .field-grid>label { min-width:0; }
.commandant .button { min-height:44px; }
@media(max-width:640px){.commandant-metrics { grid-template-columns:1fr; gap:0; }.commandant .field-grid{grid-template-columns:minmax(0,1fr);}.commandant .field-grid .wide{grid-column:1;}.commandant-tabs .button{flex:1 1 100%;}.commandant .table-wrap{max-width:100%;overflow-x:auto;}.commandant td details{min-width:220px;}}
