.match-history{max-width:1440px;margin:auto;padding:12px 0 24px;color:var(--text,var(--ink));font-family:var(--font-ui,sans-serif)}.mh-heading{display:block!important;position:static!important;min-height:0!important;height:auto!important;padding:8px 0 12px!important;margin:0!important;border:0!important;background:none!important;text-align:left!important}.mh-heading h1{font:600 clamp(24px,3vw,34px)/1.15 'Syndicate Cinzel',Georgia,serif;margin:2px 0 7px}.mh-heading p{margin:3px 0;color:var(--ink-muted);font-size:14px}.mh-heading .eyebrow{font-size:10px}.mh-tabs{display:flex;gap:6px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding-bottom:7px;margin-bottom:15px}.mh-tabs a{display:flex;align-items:center;min-height:38px;padding:5px 12px;color:var(--ink-muted);text-decoration:none;font-size:13px}.mh-tabs a[aria-current=page]{color:var(--checked);border-bottom:2px solid var(--accent)}.mh-controls{display:flex;align-items:end;gap:12px;flex-wrap:wrap}.mh-controls label{display:grid;gap:5px;min-width:190px;flex:1;font-size:12px;color:var(--ink-muted)}.mh-controls .mh-match-select{flex:2}.mh-controls select{width:100%;min-width:0;min-height:42px;padding:7px 9px;background:var(--surface-2);color:var(--ink);border:1px solid var(--line-strong);border-radius:4px;font-size:13px}.mh-summary{font-size:14px;margin:15px 0 3px;color:var(--ink-muted)}.mh-note{font-size:12px;line-height:1.5;color:var(--ink-muted);margin:6px 0 12px}.mh-content{border-top:1px solid var(--line);margin-top:15px;padding-top:12px}.mh-match-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}.mh-match-heading h2{font:600 22px/1.2 'Syndicate Cinzel',Georgia,serif;margin:5px 0}.mh-match-heading p{font-size:12px;color:var(--ink-muted);margin:7px 0}.mh-score{font-size:27px;white-space:nowrap;color:var(--checked)}.mh-score small{display:block;font-size:10px;font-weight:400;color:var(--ink-muted)}.mh-side-legend{display:flex;justify-content:space-between;gap:15px;margin:12px 0 6px;font-size:13px}.mh-side-legend>span:first-child{color:var(--ink-muted)}.mh-side-legend>span:last-child{color:var(--action-hover)}.mh-rooms{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.mh-room{display:grid;grid-template-columns:1fr auto;gap:7px;padding:11px 13px;min-height:90px;background:var(--surface-2);border:1px solid var(--line);border-radius:6px;color:var(--ink);text-align:left;font-size:12px}.mh-room>strong{font-size:13px}.mh-counts{display:flex;gap:25px;font-size:21px;line-height:1.1}.mh-counts>span:first-child{color:var(--ink-muted)}.mh-counts>span:last-child{color:var(--action-hover)}.mh-counts small{font-size:10px;color:var(--ink-muted)}.mh-room-result{grid-column:1/-1;font-size:11px;color:var(--ink-muted)}.mh-footer{display:flex;justify-content:space-between;gap:15px;margin-top:17px;font-size:12px;color:var(--ink-muted)}.mh-empty{padding:15px 0 30px}.mh-empty h2{font-size:22px}.mh-empty p{font-size:15px}.mh-dialog{position:fixed;inset:0 0 0 auto;margin:0;width:min(660px,100vw);max-width:100vw;height:100dvh;max-height:100dvh;box-sizing:border-box;padding:18px;background:var(--surface-2);color:var(--ink);border:0;border-left:1px solid var(--line-strong);overflow:auto}.mh-dialog::backdrop{background:color-mix(in srgb,var(--ground) 67%,transparent)}.mh-dialog h3{font:600 23px 'Syndicate Cinzel',Georgia,serif}.mh-dialog p{font-size:13px;line-height:1.5}.mh-dialog button{min-height:40px;padding:7px 10px;background:var(--surface-3);color:var(--checked);border:1px solid var(--line-strong);border-radius:4px}.mh-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}.mh-facts dt{font-size:11px;color:var(--ink-muted)}.mh-facts dd{margin:2px 0 0;font-size:19px}.mh-images>div{margin:12px 0}.mh-images img{display:block;width:100%;height:auto;margin-top:9px}.mh-digest{overflow-wrap:anywhere;font-size:10px!important}.mh-provenance{margin-top:18px}.mh-row-scroll{overflow-x:auto}.mh-row-scroll table{border-collapse:collapse;font-size:12px;min-width:600px}.mh-row-scroll :is(th,td){padding:8px;text-align:left;border-bottom:1px solid var(--line)}.mh-pin{display:flex!important;align-items:start;gap:9px;font-size:12px}.mh-pin input{width:20px!important;min-width:20px;min-height:20px!important}.wc-drawer .mh-rooms{grid-template-columns:repeat(2,minmax(0,1fr))}.wc-drawer .mh-room{padding:8px;min-height:90px}.wc-drawer .mh-counts{font-size:18px;gap:13px}.wc-drawer .mh-match-heading{display:block}.wc-drawer .mh-match-heading h2{font-size:19px}.wc-drawer .mh-score{display:block;font-size:21px}.wc-drawer .mh-score small{display:inline;margin-left:8px}.officer-insights .nav a,.officer-insights #mobileMenu a{min-height:40px;display:flex;align-items:center;padding:9px 12px;color:inherit;text-decoration:none;font:inherit}
@media(max-width:760px){.mh-tabs{flex-wrap:nowrap;overflow-x:auto}.mh-tabs a{flex:0 0 auto;font-size:12px;padding:4px 9px}.mh-controls{gap:8px}.mh-controls label{min-width:0;flex-basis:calc(50% - 8px)}.mh-controls .mh-match-select{flex-basis:100%}.mh-rooms{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.mh-room{padding:9px;min-height:87px}.mh-counts{font-size:19px;gap:12px}.mh-match-heading h2{font-size:19px}.mh-match-heading{align-items:start}.mh-score{font-size:23px}.mh-side-legend{font-size:12px}.mh-summary{font-size:13px}.mh-footer{display:block}.mh-footer span{display:block;margin-top:9px}}

@media(max-width:700px){.officer-insights .nav .mh-insights-link{display:none}}
.mh-analysis{padding:.7rem 0;color:var(--muted,var(--ink-muted));font-size:.9rem}
.mh-analysis strong{color:var(--text,var(--ink));font-weight:600}
.mh-import{margin-block:1rem;border-top:1px solid color-mix(in srgb,var(--action-hover) 15%,transparent);padding-top:.8rem;font-size:.85rem}
.mh-import summary{cursor:pointer;min-height:36px;align-content:center}
.mh-import label{display:grid;gap:.4rem;margin-block:.8rem;max-width:100%;overflow-wrap:anywhere}
.mh-import input[type=file]{width:100%;max-width:100%;box-sizing:border-box}
.mh-import button{min-height:44px;max-width:100%;white-space:normal;margin:.25rem .5rem .25rem 0}
.mh-import-summary{padding:.75rem 0}.mh-import-summary p{font-size:.85rem;line-height:1.5}
.mh-import td small{display:block;color:var(--muted,var(--ink-muted));font-size:.75rem}
.mh-room-stats{border-top:1px solid color-mix(in srgb,var(--action-hover) 15%,transparent);padding-top:.4rem;font-size:.8rem;display:grid;gap:.15rem}
.mh-room-stats small{font-size:.7rem;opacity:.75}
.mh-link-review{margin-block:1rem;border-top:1px solid color-mix(in srgb,var(--action-hover) 15%,transparent);padding-top:.8rem}
.mh-link-review label{display:grid;gap:.3rem;margin-block:.6rem}
.mh-link-review select,.mh-link-review input,.mh-link-review textarea{max-width:100%;min-width:0}
.mh-link-review input[type=checkbox]{width:auto;justify-self:start}
.mh-transcription-row{display:grid;grid-template-columns:5rem minmax(9rem,1fr) minmax(8rem,1fr);gap:.6rem}
.mh-link-review td select{width:100%;min-width:10rem}
@media(max-width:600px){.mh-transcription-row{grid-template-columns:1fr}.mh-analysis{font-size:.8rem}.mh-room-stats{font-size:.72rem}}
.mh-player-rows table{width:100%;min-width:0;table-layout:fixed}.mh-player-rows th:first-child{width:3rem}.mh-player-rows th:nth-child(2){width:30%}.mh-player-rows th:last-child{width:6rem}.mh-player-rows td{vertical-align:top;overflow-wrap:anywhere}.mh-player-rows td strong{display:block}.mh-player-rows [data-mh-match]{display:block;margin-top:.5rem;min-height:44px}.mh-player-rows .mh-match-choice select{min-width:0;width:100%;min-height:44px;font-size:16px}.mh-match-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.6rem}.mh-match-actions button{min-height:44px}.mh-player-rows [data-mh-match-editor][hidden]{display:none}.mh-player-rows [data-mh-match-status]{font-size:.85rem;line-height:1.5}.mh-player-rows [data-mh-match-editor]{padding:.6rem 0}.mh-player-rows .mh-facts{gap:.5rem}.mh-player-rows .mh-facts dd{font-size:16px}
@media(max-width:600px){.mh-player-rows table,.mh-player-rows tbody{display:block}.mh-player-rows thead{display:none}.mh-player-rows tr{display:grid;grid-template-columns:2rem minmax(0,1fr);padding:.75rem 0;border-bottom:1px solid var(--line)}.mh-player-rows td{display:block;border:0;padding:.25rem}.mh-player-rows td:nth-child(3){grid-column:1/-1}.mh-player-rows td:last-child{grid-column:2}.mh-match-actions button{flex:1;min-width:7rem}}
/* Room performance: gold numbers were checked by an officer, plain ones were read automatically; tags say which a table holds. */
.mh-row-scroll .mh-perf{width:100%;min-width:0;font-variant-numeric:tabular-nums}
.mh-perf td:not(:first-child),.mh-perf th:not(:first-child){white-space:nowrap}
.mh-perf td:first-child{overflow-wrap:anywhere}
.mh-num-checked{color:var(--action-hover)}
.mh-tags{display:flex;flex-wrap:wrap;gap:6px;margin:.4rem 0 .5rem}
.mh-tag{display:inline-flex;align-items:center;gap:4px;padding:2px 8px;border:1px solid var(--line);border-radius:999px;font-size:11px;line-height:1.5;color:var(--ink-muted)}
.mh-tag-checked{color:var(--action-hover);border-color:var(--line-strong)}
.mh-check{flex:0 0 auto;width:12px;height:12px}
.mh-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Matches: one title, one picker; rooms read as results, not pipeline counters. */
.mh-page-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;flex-wrap:wrap;border-bottom:1px solid color-mix(in srgb,var(--action-hover) 15%,transparent);padding:8px 0 18px;margin-bottom:8px}
.mh-page-head h1{margin:0}
.mh-page-head .mh-match-select select{min-height:44px;min-width:min(340px,100%);font-size:15px}
.mh-missing{margin:12px 0}
.mh-room .mh-counts{font-size:1.15rem;font-weight:600;font-variant-numeric:tabular-nums}
@media(max-width:760px){.mh-page-head{flex-direction:column;align-items:stretch}.mh-page-head .mh-match-select select{width:100%}}

/* History is a browsable record; scores always carry their unit. */
.match-history{max-width:1280px;font:400 17px/1.5 var(--font-ui);padding:8px 0 32px}
.match-history .mh-page-head{display:block;padding:0 0 20px;margin:0 0 20px;border-color:var(--line)}
.mh-page-head p{margin:6px 0 0;color:var(--ink-muted);font-size:16px}
.mh-search{display:flex;gap:12px;align-items:end;margin-bottom:16px}
.mh-search label{flex:1;display:grid;gap:5px}
.mh-search input{width:100%}
.match-history :is(input,select){box-sizing:border-box;max-width:100%;min-height:44px;border:1px solid var(--line-control,var(--ink-muted));border-radius:var(--radius-control);background:var(--surface-2);color:var(--ink);font:400 16px var(--font-ui);padding:9px 12px;color-scheme:dark}
.match-history input::placeholder{color:var(--ink-muted)}
.match-history button{min-height:44px;font-family:var(--font-ui)}
.mh-history-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap;margin-bottom:18px}
.mh-history-filters label{display:grid;gap:5px;flex:1;min-width:150px}
.mh-history-filters select{width:100%}
.mh-history-filters>button{background:none;color:var(--accent)}
.mh-window{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;border:0;min-width:0;flex:2 1 320px}
.mh-window legend{font-size:15px;color:var(--ink-muted);padding:0;margin-bottom:5px}
.mh-window button{min-width:44px;padding:8px 14px;background:var(--surface-2);color:var(--ink-muted);border:1px solid var(--line-control,var(--ink-muted));border-radius:var(--radius-control);font-size:15px}
.mh-window button:hover{color:var(--ink);border-color:var(--accent)}
.mh-window button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--surface-3)}
.mh-empty button{margin-top:8px;padding:9px 16px;background:var(--surface-2);color:var(--accent);border:1px solid var(--accent);border-radius:var(--radius-control);font-size:16px}
.mh-search label,.mh-history-filters label{font-size:15px;color:var(--ink-muted)}
.mh-history-month{font:600 16px var(--font-ui);color:var(--ink-muted);padding:22px 10px 10px;margin:0;border-bottom:1px solid var(--line-strong)}
.mh-date-review{padding:20px 0;border-bottom:1px solid var(--line);max-width:72ch;overflow-wrap:anywhere}
.mh-date-review h3{margin:0 0 12px;font:600 20px var(--font-title)}
.mh-date-review p{margin:8px 0}
.mh-date-review a{display:inline-block;min-height:44px;align-content:center}
.mh-history-row{display:grid;grid-template-columns:80px minmax(180px,1fr) minmax(240px,1fr) 160px 24px;gap:18px;align-items:center;min-height:76px;padding:14px 10px;border-bottom:1px solid var(--line);text-decoration:none;color:var(--ink)}
.mh-history-row:hover{background:var(--surface-1)}
.mh-history-row strong{font-size:18px;line-height:1.3}
.mh-history-row small{display:block;color:var(--ink-muted);font-size:15px;margin-top:3px}
.mh-history-day,.mh-history-names{font-size:15px;color:var(--ink-muted)}
.mh-history-open{color:var(--accent)}
[data-result=WON]{color:var(--good)}
[data-result=LOST]{color:var(--bad)}
[data-result=UNKNOWN]{color:var(--ink-muted)}
.mh-history-more{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:24px 0;color:var(--ink-muted)}
.mh-history-back{display:inline-flex;min-height:44px;align-items:center;margin-bottom:16px;color:var(--accent)}
.mh-verdict{padding:4px 0 24px;border-bottom:1px solid var(--line)}
.mh-verdict h2{font:600 clamp(24px,3vw,34px)/1.25 var(--font-title);margin:8px 0}
.mh-verdict p{margin:8px 0;color:var(--ink-muted)}
.mh-verdict .mh-result-word{font-size:24px;line-height:1.3;font-weight:600}
.mh-verdict .mh-result-word[data-result=WON]{color:var(--good)}
.mh-verdict .mh-result-word[data-result=LOST]{color:var(--bad)}
.mh-verdict .mh-match-points{font-size:22px;color:var(--ink);font-variant-numeric:tabular-nums}
.mh-match-points span{font-size:16px;color:var(--ink-muted)}
.mh-room-heading{margin:28px 0 12px;font:600 23px var(--font-title)}
.mh-tier{margin-bottom:22px}
.mh-tier h4{font:600 16px var(--font-ui);margin:14px 0 8px;color:var(--ink-muted)}
.mh-rooms{gap:12px}
.mh-room{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px;min-height:140px;background:var(--surface-1);border:1px solid var(--line-strong);border-radius:var(--radius-surface);color:var(--ink);text-align:left;font-size:16px;white-space:normal}
.mh-room:hover{border-color:var(--accent);background:var(--surface-2)}
.mh-room>strong{font-size:18px}
.mh-room .mh-room-result{font-size:17px;font-weight:600;line-height:1.35}
.mh-room-note,.mh-players-seen{font-size:14px;color:var(--ink-muted);line-height:1.4}
.mh-players-seen{margin-top:auto}
.mh-fix{margin:24px 0 12px;border-top:1px solid var(--line);padding-top:8px}
.mh-fix>summary{min-height:44px;align-content:center;cursor:pointer;color:var(--accent);font-size:16px}
.mh-fix>summary:hover{text-decoration:underline}
.mh-winner-review{margin:12px 0 24px}
.mh-winner-review h4{font:600 18px var(--font-ui);margin-bottom:6px}
.mh-winner-review [data-winner-actions]{display:flex;flex-wrap:wrap;gap:10px}
.mh-dialog{width:min(820px,100vw);padding:24px;scrollbar-color:var(--line-control,var(--ink-muted)) var(--surface-2);font-family:var(--font-ui)}
.mh-dialog h3{margin:20px 0 8px}
.mh-dialog .mh-room-verdict{font-size:22px;font-weight:600;line-height:1.3}
.mh-dialog :is(button,summary){min-height:44px}
.mh-dialog :is(p,li){font-size:15px}
.mh-room-profiles{border-top:1px solid var(--line);margin-top:24px;padding-top:12px}
.match-history :is(a,button,input,select,summary):focus-visible,.mh-dialog :is(a,button,input,select,summary):focus-visible{outline:2px solid var(--accent);outline-offset:3px}
@media(max-width:1050px){.mh-history-row{grid-template-columns:74px minmax(150px,1fr) minmax(210px,1fr) 24px}.mh-history-names{grid-column:2/4}.mh-history-open{grid-column:4;grid-row:1/3}.mh-history-day{grid-row:1/3}}
@media(max-width:700px){
 .mh-search{gap:8px}.mh-search button{padding-inline:12px}
 .mh-history-filters{gap:12px 8px}.mh-history-filters label{flex-basis:calc(50% - 8px);min-width:0}.mh-history-filters>button{margin-left:auto}
 .mh-history-filters label:first-child{flex-basis:100%}.mh-window{flex-basis:100%}.mh-window button{flex:1 1 calc(50% - 6px);padding-inline:8px}
 .mh-history-row{grid-template-columns:60px minmax(0,1fr) 20px;gap:4px 10px;padding:14px 2px}
 .mh-history-row>span{min-width:0;overflow-wrap:anywhere}
 .mh-history-day{grid-column:1;grid-row:1/4;font-size:14px}
 .mh-history-opponent{grid-column:2;grid-row:1}.mh-history-result{grid-column:2;grid-row:2}
 .mh-history-names{grid-column:2;grid-row:3;font-size:14px}.mh-history-open{grid-column:3;grid-row:1/4}
 .mh-history-row strong{font-size:17px}.mh-history-row small{font-size:14px}
 .mh-history-more{font-size:15px}.mh-history-month{padding-left:2px}
 .mh-rooms{grid-template-columns:1fr;gap:8px}.mh-room{min-height:128px;padding:14px}
 .mh-dialog{padding:18px 16px}.mh-verdict .mh-result-word{font-size:22px}
}

/* Results lead; occasional filters stay one tap away. */
.mh-filter-toolbar{display:flex;gap:12px;align-items:center;margin:0 0 12px}
.mh-filter-toolbar button{background:none;color:var(--accent)}
.mh-history-filters[hidden]{display:none}
.mh-winner-decision{padding-block:4px 12px;border-bottom:1px solid var(--line);margin-bottom:16px}
.mh-winner-decision .mh-winner-review{margin:0}
.mh-winner-decision [data-winner-actions]{display:flex;gap:12px;flex-wrap:wrap}
.mh-winner-decision [data-winner-actions] button{flex:1;min-height:44px}
.mh-winner-handoff{display:inline-flex;align-items:center;min-height:44px}

/* Selected matches keep their own context, without the list introduction. */
.match-history .mh-selected-header{padding:0 0 16px;border-bottom:1px solid var(--line)}
.mh-selected-header .mh-history-back{margin:0 0 8px}
.match-history .mh-selected-header h1{font:600 var(--text-headline)/1.25 var(--font-title);margin:0 0 8px;overflow-wrap:anywhere}
.mh-selected-header p{margin:6px 0;color:var(--ink-muted)}
.mh-selected-header .mh-result-word{font-size:var(--text-title);font-weight:600;line-height:1.3}
.mh-selected-header .mh-result-word[data-result=WON]{color:var(--good)}
.mh-selected-header .mh-result-word[data-result=LOST]{color:var(--bad)}
.mh-selected-header .mh-match-points{color:var(--ink);font-size:var(--text-title);font-variant-numeric:tabular-nums}
.mh-selected-result>.mh-room-heading{margin:16px 0 8px;font-size:var(--text-title)}
.mh-selected-result>.mh-tier h4{margin:8px 0}

/* Keep each room status intact on its own line, without a stranded separator. */
.mh-result-part{display:block}
.mh-result-part+.mh-result-part{font-size:var(--text-label);font-weight:400;line-height:1.5}
@media(max-width:700px){.mh-selected-header .mh-result-word[data-result=UNKNOWN]{flex-basis:100%}}
.mh-selected-header .mh-date-choice{flex-basis:100%;margin:4px 0 8px}
.mh-date-choice-actions{display:flex;flex-wrap:wrap;gap:8px}
.mh-date-choice-actions button{min-height:44px;padding:8px 12px;background:var(--surface-3);color:var(--checked);border:1px solid var(--line-strong);border-radius:4px;font:inherit;font-size:13px}

/* ===== Goal 19 step 4 (job #2168): Matches tell the story in the clans' colours (Kevin K39, K44-K48).
   Faction a is SYNDICATE when it played (else the first clan): gold. Faction b is the other clan: ember.
   Our matchups carry the crest and "vs SYNDICATE". The match page leads with one room-results card. ===== */
html body .match-history .mh-history-opponent.mh-ours{display:grid;grid-template-columns:36px minmax(0,1fr);column-gap:var(--space-3);align-items:center}
html body .match-history .mh-history-opponent.mh-ours>.mh-crest{grid-row:1/3;width:36px;height:36px;object-fit:contain}
html body .match-history .mh-history-opponent .mh-vs{font-weight:600;color:var(--accent);letter-spacing:.04em}
html body .match-history .mh-history-row:has(.mh-ours){border-left:3px solid var(--accent)}
html body .match-history [data-result=WON]{color:var(--accent)}
html body .match-history [data-result=LOST]{color:var(--bad)}
html body .match-history [data-result=TIED],html body .match-history [data-result=RECORDED]{color:var(--ink)}
html body .match-history [data-result=UNKNOWN]{color:var(--ink-muted)}
html body .match-history .mh-results-card{margin:var(--space-4) 0}
html body .match-history .mh-results-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2) var(--space-4)}
html body .match-history .mh-results-card .mh-room-heading{margin:0}
html body .match-history .mh-legend{display:flex;flex-wrap:wrap;gap:var(--space-2) var(--space-4);font:600 var(--text-small)/1.2 var(--font-ui);color:var(--ink-muted)}
html body .match-history .mh-legend>span{display:inline-flex;align-items:center;gap:6px}
html body .match-history .mh-legend>span::before{content:'';width:10px;height:10px;border-radius:2px;background:var(--line-strong)}
html body .match-history .mh-legend>span>img{order:-1;width:20px;height:20px}
html body .match-history .mh-legend>span>b{color:var(--ink)}
html body .match-history [data-faction=a]{--faction:var(--accent)}
html body .match-history [data-faction=b]{--faction:var(--bad)}
html body .match-history .mh-legend>span[data-faction=a]::before,html body .match-history .mh-legend>span[data-faction=b]::before{background:var(--faction)}
html body .match-history .mh-room-strip{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:3px;margin:var(--space-3) 0 var(--space-2)}
html body .match-history .mh-room-strip>span{height:10px;border-radius:2px;background:var(--surface-3)}
html body .match-history .mh-room-strip>span[data-faction=a],html body .match-history .mh-room-strip>span[data-faction=b]{background:var(--faction)}
html body .match-history .mh-results-card .mh-tier>h4{margin:var(--space-4) 0 var(--space-2);font:600 var(--text-small)/1.2 var(--font-ui);letter-spacing:.12em;text-transform:uppercase;color:var(--ink-muted)}
html body .match-history .mh-results-card .mh-room{min-height:112px;border-left:3px solid var(--faction,var(--line-strong))}
html body .match-history .mh-results-card .mh-room[data-faction=a],html body .match-history .mh-results-card .mh-room[data-faction=b]{background:color-mix(in srgb,var(--faction) 7%,var(--surface-1))}
html body .match-history .mh-results-card .mh-room[data-faction=a] .mh-room-result,html body .match-history .mh-results-card .mh-room[data-faction=b] .mh-room-result{color:var(--faction)}
html body .match-history .mh-corrections-open{margin-top:var(--space-2)}
html body .match-history .mh-filter-toolbar{display:flex;gap:var(--space-2)}
html body .match-history .mh-history-result .mh-mini-strip{display:flex;gap:2px;width:min(180px,100%);height:6px;margin:0 0 6px;border-radius:2px;overflow:hidden}
html body .match-history .mh-mini-strip>i{display:block;min-width:4px;background:var(--surface-3)}
html body .match-history .mh-mini-strip>i[data-faction=a],html body .match-history .mh-mini-strip>i[data-faction=b]{background:var(--faction)}
html body .match-history .mh-history-names .sy-chip{height:26px}
html body .match-history .mh-names-quiet{color:var(--ink-muted)}
/* Review 1 (job #2178): twelve rooms, tier by tier, on each row. */
html body .match-history .mh-history-result .mh-mini-strip.mh-strip-rooms{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:2px;width:min(216px,100%);height:10px;border-radius:0;overflow:visible}
html body .match-history .mh-strip-rooms>i{min-width:0;border-radius:2px}
html body .match-history .mh-strip-rooms>i:nth-child(3n):not(:last-child){margin-right:4px}
html body .match-history .mh-strip-rooms>i[data-room=open]{background:transparent;box-shadow:inset 0 0 0 1px var(--warn)}
html body .match-history .mh-strip-rooms>i[data-room=missing]{background:var(--line-strong);opacity:.55}
.mh-date-choice-actions .mh-date-choice-suggested{display:grid;gap:2px;text-align:left}
.mh-date-choice-suggested small{font-size:12px;font-weight:400;color:inherit}
.mh-date-choice>p:first-child{color:var(--ink)}
.mh-date-choice .mh-date-suggestion{margin:0 0 8px;font-size:13px;line-height:1.5;color:var(--ink-muted)}
@media(max-width:700px){.mh-date-choice-actions .mh-date-choice-suggested{flex-basis:100%}}
