.view.active#view-updates, .view.active#view-history { grid-template-columns:minmax(0,1fr); }
#view-updates > *, #view-history > *, .v11-heading > *, .v11-preview-band { min-width:0; max-width:100%; }
#view-updates .notice, #view-history .notice { white-space:normal; overflow-wrap:anywhere; margin:0; }
.v11-toolbar { display:flex; flex-wrap:wrap; align-items:end; gap:12px; padding:12px 0; border-bottom:1px solid #dde5df; }
.v11-toolbar label { display:flex; flex-direction:column; gap:5px; font-size:12px; color:#46574c; max-width:100%; }
.v11-toolbar label:has(input[type="checkbox"]), .v11-target-checks label { flex-direction:row; align-items:center; gap:6px; }
.v11-toolbar input:not([type="checkbox"]), .v11-toolbar select { min-height:34px; width:200px; max-width:100%; }
.v11-toolbar input[type="checkbox"], .v11-target-checks input, .drawer-form input[type="checkbox"] { width:16px; height:16px; flex:0 0 16px; }
.v11-heading { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:12px; margin:20px 0 10px; }
.v11-heading h3 { margin:0; font-size:16px; }
.v11-metrics { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); border-block:1px solid #dbe5de; padding:12px 0; gap:16px; }
.v11-metrics>div { min-width:0; display:flex; flex-direction:column; gap:6px; }
.v11-metrics span { font-size:12px; color:#65756a; }
.v11-metrics strong { font-size:20px; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
.v11-preview-band { padding:12px 0; border-bottom:1px solid #dbe5de; }
.v11-preview-band h4 { margin:0 0 8px; font-size:14px; }
.v11-wrap, #drawer-source-chain dd, #legacy-rules-review td, #history-detail p { overflow-wrap:anywhere; white-space:normal; }
.v11-target-checks { display:flex; flex-wrap:wrap; gap:12px; }
.v11-target-checks label { display:flex; font-size:13px; }
#restore-form { margin:18px 0; border:0; border-top:1px solid #dbe5de; padding:12px 0; min-width:0; }
#restore-form legend { font-size:14px; font-weight:600; }
.v11-candidate { padding:4px 0; border-bottom:1px solid #e6ebe7; }
.v11-candidate small { display:block; overflow-wrap:anywhere; }
#update-status[data-tone="error"], #restore-status[data-tone="error"] { color:#9f2929; background:#fff4f4; }
#update-previews:empty { min-height:40px; }
#inventory-source-note { display:block; }
#inventory-source-note details { margin-top:6px; }
#inventory-source-note p { padding:6px 0; margin:0; border-bottom:1px solid #e6ebe7; }
#drawer-source-chain { border-top:1px solid #dbe5de; padding-top:12px; }
#view-updates .table-wrap, #view-history .table-wrap { max-width:100%; }
@media(max-width:800px) { .v11-metrics { grid-template-columns:repeat(2,minmax(0,1fr)); } .v11-toolbar { align-items:stretch; } .v11-toolbar label { flex:1 1 160px; } .v11-toolbar input:not([type="checkbox"]), .v11-toolbar select { width:100%; } .v11-heading .pager { flex-wrap:wrap; } }
