/* Phase 3/4 review surfaces: supplied H2 tokens and measured responsive layouts. */
.history-ui{font-size:14px;line-height:1.45;display:flex;flex-direction:column;gap:12px;min-width:0}
.history-ui h1{font-size:24px;line-height:1.2;margin:0;font-weight:600}.history-ui h2{font-size:16px;margin:0;font-weight:600}.history-ui h3{font-size:15px;margin:0}.history-ui p{margin:8px 0}.history-ui .spacer{flex:1}
.h-heading{display:flex;align-items:center;gap:12px;min-height:40px;flex-wrap:wrap}.h-heading>.btn{flex:none}
.h-box{border:1px solid var(--alka-line);border-radius:6px;background:var(--alka-surface);overflow:hidden;min-width:0}.h-box-head{padding:8px 12px;border-bottom:1px solid var(--alka-line);display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:38px}.h-box-head>.muted{font-size:12px}.h-padding{padding:12px}.h-foot{padding:9px 12px!important;font-size:12px;color:var(--alka-muted);border-top:1px solid var(--alka-line);margin:0!important}.h-empty{padding:28px;text-align:center;color:var(--alka-muted)}
.h-link,.h-plain{border:0;background:none;padding:0;min-height:24px;text-align:left;white-space:normal}.h-link{color:var(--alka-mint);font-weight:600}.h-plain{font-size:14px}.h-link:hover,.h-plain:hover{text-decoration:underline}.h-danger{color:var(--alka-err)}
.h-info{display:flex;gap:10px;padding:10px 12px;border:1px solid var(--alka-line);border-radius:5px;background:var(--alka-surface-2);font-size:13px}.h-info.mint{background:var(--alka-mint-tint);border-color:var(--alka-mint-edge)}.h-info.warn{background:var(--alka-warn-tint);border-color:var(--alka-warn-edge)}.h-warn{color:var(--alka-warn)}
.h-filter-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:12px}.h-filter-hint{flex:1}.h-filter-row label{white-space:nowrap}.h-filter-row select{font-size:13px}.h-select-shortcut{text-align:right;margin-top:-4px}
.h-table-wrap{overflow:auto;min-width:0}.h-table{border-collapse:collapse;width:100%;font-size:13px;line-height:1.45}.h-table th,.h-table td{padding:9px 12px;text-align:left;border-bottom:1px solid var(--alka-line);font-weight:400;vertical-align:middle}.h-table tbody th{font-weight:600}.h-table thead th{font:500 10px var(--alka-font-data);letter-spacing:.08em;text-transform:uppercase;color:var(--alka-muted);padding-top:8px;padding-bottom:8px}.h-table tr:last-child>td,.h-table tr:last-child>th{border-bottom:0}.h-table td small{font-size:10px}.h-table tbody td:not(:first-child){font-variant-numeric:tabular-nums}.h-match-table input[type=checkbox]{width:18px;height:18px;min-height:0;accent-color:var(--alka-mint)}.h-match-table th:first-child:empty{width:42px}.h-highlight{background:var(--alka-mint-tint)}
.h-selection{display:flex;align-items:center;gap:16px;flex-wrap:wrap;position:sticky;bottom:12px;padding:12px 16px;background:var(--alka-surface-2);border:1px solid #3a4450;border-radius:6px;z-index:5}.h-selection strong{font-size:16px}
.h-scope{padding:10px 12px;font-size:16px}.h-scope>div:first-child{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.h-scope>div:first-child>.btn{margin-left:auto}.h-scope p{font-size:12px}.h-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.h-chips>span{padding:6px 10px;background:var(--alka-surface-2);border:1px solid var(--alka-line);border-radius:4px;font-size:12px;white-space:nowrap}
.h-tabs{display:flex;align-items:stretch;flex-wrap:wrap;gap:0;border:1px solid var(--alka-line);border-radius:5px;background:var(--alka-surface-2);width:fit-content}.h-tabs>button{padding:8px 14px;min-height:36px;border:0;background:none;font-size:13px;color:var(--alka-muted);cursor:pointer;white-space:nowrap}.h-tabs>button[aria-selected=true]{color:var(--alka-text);background:var(--alka-mint-tint);box-shadow:inset 0 -2px var(--alka-mint)}.h-group{display:flex;align-items:center;gap:12px}.h-group>.muted{margin-left:auto;font-size:12px}.h-group .h-tabs{padding:3px;gap:3px}.h-group .h-tabs>button{padding:4px 12px;min-height:28px;border-radius:3px}.h-group .h-tabs>button[aria-selected=true]{box-shadow:inset 0 0 0 1px var(--alka-mint);background:var(--alka-surface)}
.h-compare-grid{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:12px;align-items:start}.h-compare-grid>div{display:grid;gap:10px}.h-compare-grid>.h-box{border-top:3px solid var(--alka-mint)}
.h-side{border:1px solid var(--alka-line);border-radius:6px;overflow:hidden;min-width:0}.h-side.atk{background:var(--alka-atk-tint);border-color:var(--alka-atk-edge)}.h-side.def{background:var(--alka-def-tint);border-color:var(--alka-def-edge)}.h-band{display:flex;align-items:center;gap:12px;padding:6px 12px;min-height:34px}.h-band h2{font:700 18px var(--alka-font-display);letter-spacing:.1em}.h-band>span{font:600 12px var(--alka-font-data)}.h-side.atk .h-band{background:var(--alka-atk);color:var(--alka-atk-ink)}.h-side.def .h-band{background:var(--alka-def);color:var(--alka-def-ink)}.h-side .h-table th,.h-side .h-table td{padding:8px 11px}.h-side .h-table .h-link{font:500 12px var(--alka-font-data)}.h-side .h-table td{font:400 12px var(--alka-font-data)}.h-side .h-table tbody tr:last-child{border-top:1px solid var(--alka-line)}.h-thin{opacity:.55}.h-side-cards{display:none}
.h-observation{padding:12px;border-bottom:1px solid var(--alka-line)}.h-observation>b{float:right;font-size:22px;line-height:1.1}.h-observation p{margin:10px 0 4px}.h-review-note{font-size:12px;color:var(--alka-muted);margin:2px 0!important}
.h-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr))}.h-stat{padding:12px 14px;display:flex;flex-direction:column;gap:4px;border-right:1px solid var(--alka-line);min-width:0}.h-stat:last-child{border-right:0}.h-stat>strong{font-size:24px;line-height:1.1}.h-stat>strong small{font-size:11px;font-weight:400;white-space:nowrap}.h-stat>small{font-size:12px;line-height:1.6}.h-team-total{grid-template-columns:1.5fr repeat(4,1fr);border-top:3px solid var(--alka-mint)}.h-metric-strip{grid-template-columns:repeat(5,1fr);border-top:3px solid var(--alka-mint)}.h-secondary{background:rgba(61,220,151,.04)}.h-secondary .h-stat{padding:0 12px}.h-secondary .h-stats{margin:8px 0}.h-secondary .h-stat:first-child{padding-left:0}.h-secondary .h-stat>strong{font-size:16px}
.h-avatar{width:24px;height:24px;border-radius:3px;display:inline-flex;align-items:center;justify-content:center;background:var(--alka-surface-2);border:1px solid var(--alka-line);font:600 10px var(--alka-font-data);flex:none}.h-person-button{display:inline-flex;align-items:center;gap:8px;border:0;background:none;padding:0;min-height:28px;font-size:14px;font-weight:600}.h-active{border:1px solid var(--alka-mint-edge);color:var(--alka-mint);background:transparent!important;font-size:10px!important;padding:1px 5px!important}.h-profile-heading>.h-avatar{width:44px;height:44px;font-size:14px;background:var(--alka-mint);color:var(--alka-mint-ink)}.h-profile-heading h1{display:flex;align-items:center;gap:8px}.h-profile-tabs{display:flex;align-items:center;border-bottom:1px solid var(--alka-line);gap:4px}.h-profile-tabs .h-tabs{background:none;border:0;border-radius:0}.h-profile-tabs .h-tabs button{font-size:14px;padding:12px 14px}.h-profile-tabs .h-tabs button[aria-selected=true]{background:none}.h-disabled{border:0;background:none;color:var(--alka-muted);opacity:.6;font-size:13px;padding:12px;cursor:not-allowed}.h-period{text-align:right;margin-top:-50px;margin-bottom:4px;height:36px}.h-period select{font-size:13px}.h-profile-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(300px,1fr);gap:12px;align-items:start}.h-profile-grid aside{display:grid;gap:12px}.h-period-row{display:grid;grid-template-columns:1fr 50px 110px;gap:12px;border-bottom:1px solid var(--alka-line);padding:10px 12px;font-size:13px}.h-trend{height:112px;display:flex;align-items:end;gap:6px;padding:12px 18px 0}.h-trend>div{height:90px;flex:1;position:relative;min-width:8px}.h-trend span{display:block;position:absolute;bottom:0;left:0;right:0;height:var(--value);background:var(--alka-mint);border-radius:2px 2px 0 0}.h-trend .missing{border:1px dashed #3a4450}.h-trend .partial span{background:var(--alka-warn)}.h-mobile-matches{display:none}
.h-dialog{width:680px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 64px);padding:0;margin:auto;background:var(--alka-surface);color:var(--alka-text);border:1px solid #3a4450;border-radius:8px;box-shadow:0 24px 80px #0009;font:400 14px/1.5 var(--alka-font-ui)}.h-dialog[open]{display:flex;flex-direction:column}.h-dialog::backdrop{background:var(--alka-scrim)}.h-dialog>header{padding:14px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--alka-line);flex:none}.h-dialog>header h2{font-size:18px;margin:0}.h-close{width:36px;min-height:36px;border:0;background:none;display:flex;align-items:center;justify-content:center}.h-dialog-body{overflow:auto;padding:16px 18px;min-height:0;flex:1}.h-dialog>footer{padding:12px 18px;border-top:1px solid var(--alka-line);display:flex;justify-content:flex-end;gap:8px;flex:none}.h-drawer{position:fixed;inset:52px 0 0 auto;width:600px;max-width:100vw;height:calc(100dvh - 52px);max-height:none;margin:0;border-radius:0;border-width:0 0 0 1px}.h-drawer::backdrop{background:linear-gradient(transparent 52px,rgba(5,6,8,.6) 52px)}.h-drawer .h-dialog-body{padding:0}.h-pattern-heading{padding:18px;border-bottom:1px solid var(--alka-line)}.h-pattern-heading h2{font-size:18px;margin:14px 0 4px}.h-pattern-heading>strong{font-size:30px;margin-right:8px}.h-evidence-list button{display:grid;grid-template-columns:65px minmax(100px,1fr) 32px 1.2fr 65px;align-items:center;gap:12px;padding:15px 12px;background:none;border:0;border-top:1px solid var(--alka-line);width:100%;text-align:left;font-size:12px;cursor:pointer}.h-evidence-list button:hover{background:var(--alka-surface-2)}
.h-destination{display:flex;gap:4px;padding:3px;background:var(--alka-surface-2);border:1px solid var(--alka-line);border-radius:5px;margin:6px 0 14px}.h-destination button{flex:1;border-color:transparent}.h-dialog .h-info{margin-bottom:14px}.h-dialog .h-tabs{width:100%;margin-top:6px}.h-dialog .h-tabs>button{flex:1}.h-source-cards{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0}.h-source-cards label{display:flex;gap:10px;align-items:center;border:1px solid var(--alka-line);padding:10px 12px;border-radius:5px;cursor:pointer;background:var(--alka-surface-2)}.h-source-cards label:has(input:checked){border-color:var(--alka-mint);box-shadow:inset 0 0 0 1px var(--alka-mint)}.h-source-cards small{display:block;color:var(--alka-muted)}.h-sample-file{padding:12px;border:1px dashed var(--alka-line);font-size:13px}.h-dialog input[type=radio]{accent-color:var(--alka-mint)}#h-personal-fields{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:16px}#h-personal-fields label{display:flex;flex-direction:column;gap:6px}#h-personal-fields label:nth-child(-n+2){grid-column:span 3}
.h-round-top{font-size:14px}.h-round-chips{display:flex;gap:5px;align-items:center}.h-round-chips .rc{font-size:10px;min-width:26px}.h-round-chips .selected{outline:2px solid var(--alka-mint);outline-offset:3px}.h-round-context{display:flex;align-items:center;gap:24px;border:1px solid var(--alka-def-edge);background:var(--alka-def-tint);border-radius:6px;overflow:hidden;min-height:70px}.h-round-context.atk{border-color:var(--alka-atk-edge);background:var(--alka-atk-tint)}.h-round-context>div:not(.h-round-number){padding:10px 0}.h-round-context .lbl{display:block;margin-bottom:3px}.h-round-number{align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:8px 18px;background:var(--alka-def);color:var(--alka-def-ink)}.atk .h-round-number{background:var(--alka-atk);color:var(--alka-atk-ink)}.h-round-number .lbl{color:inherit;font-weight:700}.h-round-number strong{font:700 32px var(--alka-font-data);line-height:1}.h-round-context b{font-size:15px}.h-round-tabs{display:none}.h-round-grid{display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:12px;align-items:start}.h-round-stats{display:grid;gap:12px}.h-events>div{display:flex;align-items:center;gap:14px;padding:8px 12px;min-height:36px;border-top:1px solid var(--alka-line);font-size:14px}.h-events time{font:13px var(--alka-font-data);color:var(--alka-muted);width:52px;flex:none}.h-event-dot{color:var(--alka-muted)}.h-event-dot.friendly{color:var(--alka-mint)}.h-events .tag{margin-left:8px;font-size:10px}.h-mobile-round-players{display:none}
.h-composer{padding:12px;border-bottom:1px solid var(--alka-line)}textarea{display:block;width:100%;resize:vertical;background:var(--alka-surface-2);color:var(--alka-text);border:1px solid #2d3641;border-radius:4px;font:400 14px/1.5 var(--alka-font-ui);padding:10px 12px;min-height:76px}textarea::placeholder{color:#687685}.h-tag-choices{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin:8px 0}.h-tag-choices label{cursor:pointer}.h-tag-choices input{position:absolute;opacity:0;width:1px;height:1px;min-height:0}.h-tag-choices label span{display:inline-block;border:1px solid var(--alka-line);border-radius:20px;padding:4px 10px;background:var(--alka-surface-2);font-size:12px;color:var(--alka-muted)}.h-tag-choices label:has(input:checked) span{border-color:var(--alka-mint);box-shadow:inset 0 0 0 1px var(--alka-mint);color:var(--alka-text)}.h-tag-choices label:has(input:focus-visible) span{outline:2px solid var(--alka-mint);outline-offset:2px}.h-composer-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px}.h-composer-bottom small{font-size:12px}.h-composer button:disabled{opacity:.45;cursor:not-allowed}.h-note{padding:12px;display:flex;gap:10px;border-bottom:1px solid var(--alka-line);font-size:14px}.h-note>div{flex:1;min-width:0}.h-note .muted{font-size:13px}.h-note.own{box-shadow:inset 2px 0 var(--alka-mint);background:linear-gradient(100deg,rgba(61,220,151,.06),transparent)}.h-note.own>.h-avatar{background:var(--alka-mint);color:var(--alka-mint-ink)}.h-note p{margin:6px 0}.h-note-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.h-note-actions small{font-size:12px!important}.h-note .tag{font-size:10px}.h-note textarea{margin:6px 0}.h-match-notes{display:grid;grid-template-columns:1fr 1fr;gap:12px}.h-match-notes .h-tabs{margin:10px 12px}.h-round-note-group+.h-round-note-group{border-top:1px solid var(--alka-line)}.h-round-note-group .h-note{border:0;padding-top:4px}.h-round-note-group .h-padding>.h-link{float:right}
.h-strategy-grid{display:grid;grid-template-columns:minmax(0,2fr) minmax(340px,1fr);gap:12px;align-items:start}.h-strategy-grid.no-analysis{grid-template-columns:1fr}.h-board-placeholder{height:360px;display:grid;place-items:center;border:1px dashed #3a4450;border-radius:5px;background-image:linear-gradient(var(--alka-line) 1px,transparent 1px),linear-gradient(90deg,var(--alka-line) 1px,transparent 1px);background-size:32px 32px;margin-bottom:20px}.h-board-placeholder>div{text-align:center;border:1px solid var(--alka-line);border-radius:6px;background:var(--alka-surface);padding:14px 18px}.h-assignment{display:grid;grid-template-columns:100px 1fr;padding:6px 12px;border:1px solid var(--alka-line);border-bottom:0}.h-assignment:last-of-type{border-bottom:1px solid var(--alka-line);margin-bottom:14px}.h-strategy-choice{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;border:1px solid var(--alka-line);border-radius:6px;background:var(--alka-surface-2);margin:8px 0;gap:12px}.h-strategy-choice>span{display:flex;gap:6px}.h-strategy-choice>span .btn{border-radius:20px;min-height:28px}
@media(max-width:1199px){.h-compare-grid{grid-template-columns:1fr}.h-compare-grid>.h-box{order:-1}.h-compare-grid .h-observation{display:inline-block;width:33.333%;vertical-align:top}.h-compare-grid .h-observation>b{float:none;display:block;margin-top:8px}.h-profile-grid{grid-template-columns:1fr}.h-profile-grid aside{grid-template-columns:1fr 1fr}.h-team-total{grid-template-columns:repeat(4,1fr)}.h-team-total>.h-stat:first-child{grid-column:1/-1;border-bottom:1px solid var(--alka-line)}.h-round-grid{grid-template-columns:1fr}.h-round-tabs{display:block;border-bottom:1px solid var(--alka-line)}.h-round-tabs .h-tabs{border:0;background:none}.h-round-grid:not(.notes-selected) .h-round-notes{display:none}.h-round-grid.notes-selected .h-round-stats{display:none}.h-round-context{gap:18px}.h-round-opening{display:none}.h-round-top .h-round-chips{order:2;flex-basis:100%;justify-content:center;padding:8px}.h-round-context .h-round-strategy{flex:1}.h-round-context .lbl{font-size:10px}.h-strategy-grid{grid-template-columns:1fr}.h-metric-strip{grid-template-columns:repeat(3,1fr)}.h-table th,.h-table td{padding:8px}.h-period{margin-top:0}.h-filter-hint{flex-basis:100%}}
@media(max-width:767px){
 .history-ui{gap:12px;font-size:14px}.history-ui h1{font-size:20px}.h-heading{gap:8px}.h-heading>.muted{font-size:12px}.h-filter-row{gap:8px}.h-filter-row label{flex:1}.h-filter-row select{max-width:150px;width:100%}.h-filter-hint{display:none}.h-select-shortcut{margin:0}.h-table-wrap .h-table{min-width:650px}.h-match-table{min-width:570px!important}.h-table th,.h-table td{padding:10px 8px}.h-selection{bottom:68px;gap:8px;font-size:12px;padding:10px}.h-selection strong{font-size:14px}.h-selection .spacer{display:none}.h-selection>.btn{flex:1}.h-selection>span{font-size:11px}.h-box-head{padding:8px 12px}.h-box-head>.muted{font-size:11px}.h-tabs{width:100%;flex-wrap:nowrap}.h-tabs>button{padding:7px 8px;flex:1;min-height:44px;font-size:12px;white-space:normal}.h-group{flex-wrap:wrap;gap:8px}.h-group>.lbl{display:none}.h-group>.muted{font-size:11px}.h-group .h-tabs>button{padding:7px 6px;min-height:36px}.h-scope{font-size:13px}.h-scope .h-chips{max-height:110px;overflow:auto}.h-scope .h-chips>span{font-size:11px}.h-scope>div:first-child{gap:6px}.h-scope .btn{min-height:36px}.h-scope p{font-size:12px}.h-side>.h-table{display:none}.h-side-cards{display:block}.h-side-cards>article{padding:12px;border-bottom:1px solid var(--alka-line)}.h-side-cards>article:last-child{border-bottom:0}.h-side-cards h3{display:flex;gap:6px;align-items:center;font-size:14px}.h-side-cards h3>span:last-child{font-size:12px;margin-left:auto;font-weight:400;white-space:nowrap}.h-side-cards h3 small{font-size:10px;color:var(--alka-muted)}.h-side-cards dl{display:grid;grid-template-columns:1fr 1fr;gap:2px;font-size:12px;margin:8px 0 0}.h-side-cards dt{color:var(--alka-muted)}.h-side-cards dd{margin:0;font-family:var(--alka-font-data)}.h-side-cards .h-link{font-size:12px;min-height:24px}.h-side-cards .tag{font-size:9px}.h-band{justify-content:space-between;padding:6px 12px;gap:6px}.h-band h2{font-size:17px}.h-band span{font-size:11px}.h-compare-grid .h-observation{display:block;width:100%}.h-compare-grid .h-observation:not(:first-of-type){display:none}.h-compare-grid .h-observation>b{float:right;margin:0}.h-compare-grid>.h-box>.h-box-head,.h-compare-grid>.h-box>.h-foot{display:none}.h-team-total,.h-metric-strip,.h-stats{grid-template-columns:1fr 1fr}.h-stat{padding:10px 12px;border-bottom:1px solid var(--alka-line)}.h-stat>strong{font-size:22px}.h-stat>strong small{font-size:10px}.h-stat:last-child{grid-column:auto}.h-team-total>.h-stat:first-child{grid-column:1/-1}.h-profile-tabs{gap:0;overflow:auto}.h-profile-tabs .h-tabs{width:auto;flex:1}.h-profile-tabs .h-tabs button{font-size:12px;padding:10px 8px;white-space:nowrap}.h-disabled{font-size:11px;padding:8px}.h-disabled .tag{font-size:8px}.h-profile-heading>.h-avatar{width:32px;height:32px;font-size:11px}.h-profile-heading h1{font-size:18px}.h-profile-heading small{font-size:11px}.h-profile-heading>.btn:first-child{min-height:40px;padding:0 8px}.h-profile-heading>.btn:last-child:not(:first-child){width:100%}.h-profile-grid aside{display:none}.h-profile-grid .h-table-wrap{display:none}.h-mobile-matches{display:block}.h-mobile-matches>button{display:block;width:100%;background:none;border:0;border-bottom:1px solid var(--alka-line);text-align:left;padding:12px;font-size:14px;min-height:72px}.h-mobile-matches>button>span{float:right;font-size:13px}.h-mobile-matches small{display:block;font-size:12px;color:var(--alka-muted);margin-top:6px}.h-mobile-matches small>span{float:right;font:11px var(--alka-font-data);color:var(--alka-text)}
 .h-dialog{position:fixed;inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;margin:0}.h-dialog>header{padding:12px 14px;min-height:64px}.h-dialog>header h2{font-size:17px}.h-close{width:44px;min-height:44px}.h-dialog-body{padding:14px}.h-dialog>footer{padding:12px 14px calc(12px + env(safe-area-inset-bottom));gap:8px}.h-dialog>footer .btn{flex:1;white-space:normal}.h-drawer::backdrop{background:var(--alka-scrim)}.h-evidence-list button{grid-template-columns:54px 1fr 32px;gap:8px;min-height:72px}.h-evidence-list button>span:nth-child(4){grid-column:2/3}.h-evidence-list button>small{grid-column:2/4}.h-pattern-heading>strong{font-size:28px}.h-source-cards{grid-template-columns:1fr}.h-source-cards label{min-height:64px}#h-personal-fields{grid-template-columns:1fr 1fr}#h-personal-fields label:nth-child(-n+2){grid-column:span 2}.h-round-top>span{font-size:12px;flex:1}.h-round-top>.btn{min-height:40px;padding:0 10px}.h-round-top>.btn:first-child{font-size:11px}.h-round-top>.spacer{display:none}.h-round-top .h-round-chips{gap:5px;padding:6px 0}.h-round-chips .rc{min-width:23px;width:23px;padding:0;height:24px;font-size:10px}.h-round-context{position:relative;gap:8px;flex-wrap:wrap;padding-right:8px;min-height:56px}.h-round-context>div:not(.h-round-number){padding:6px 0}.h-round-context .lbl{display:none}.h-round-number{padding:8px 12px}.h-round-number strong{font-size:24px}.h-round-context b{font-size:13px}.h-round-context .tag{font-size:10px}.h-round-context .h-round-score{font-size:12px}.h-round-context .h-round-strategy{flex-basis:100%;padding:8px 12px!important;border-top:1px solid var(--alka-line)}.h-round-strategy .h-link{font-size:13px}.h-round-context>div:nth-child(4){font-size:12px}.h-round-context>div:nth-child(4)>.muted{display:none}.h-round-tabs .h-tabs{width:100%}.h-events>div{gap:10px;padding:10px 12px;align-items:baseline;min-height:40px}.h-events time{width:40px;font-size:11px}.h-events .tag{font-size:9px;margin-left:3px}.h-events>div>span:last-child{flex:1}.h-round-stats .h-table-wrap{display:none}.h-mobile-round-players{display:block}.h-mobile-round-players>div{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;border-top:1px solid var(--alka-line)}.h-composer{padding:12px}.h-composer-bottom{align-items:start}.h-composer-bottom small{font-size:12px}.h-tag-choices{gap:6px}.h-tag-choices label span{padding:6px 10px}.h-note{padding:12px;gap:10px}.h-note .muted{font-size:12px}.h-note .btn-sm{min-height:32px}.h-match-notes{grid-template-columns:1fr}.h-match-notes .h-tabs{width:calc(100% - 24px)}.h-board-placeholder{height:260px}.h-strategy-grid .h-box-head{flex-wrap:wrap}.h-strategy-choice{flex-wrap:wrap}.h-review-note{font-size:11px}
}

.h-mobile-header,.h-mobile-warning{display:none}
@media(max-width:767px){
 body:has(.history-ui[data-view="round"]),body:has(.history-ui[data-view="compare"]),body:has(.history-ui[data-view="profile"]){padding-bottom:0}
 body:has(.history-ui:is([data-view="round"],[data-view="compare"],[data-view="profile"])) #app>.top,body:has(.history-ui:is([data-view="round"],[data-view="compare"],[data-view="profile"])) #app>.tabs{display:none}
 body:has(.history-ui:is([data-view="round"],[data-view="compare"],[data-view="profile"])) main{padding:0 12px 20px}
 .h-mobile-header{display:flex;align-items:center;gap:8px;height:56px;margin:0 -12px;padding:8px 8px;background:var(--alka-surface);border-bottom:1px solid var(--alka-line)}
 .h-mobile-header>div{flex:1;min-width:0;line-height:1.2}.h-mobile-header b{font-size:16px;font-weight:600}.h-mobile-header small{display:block;color:var(--alka-muted);font-size:12px;margin-top:2px}.h-mobile-header>.btn{width:40px;height:40px;min-height:40px;padding:0;flex:none}.h-mobile-header>.btn:first-child{width:28px;border:0;background:none}.h-mobile-header .h-avatar{background:var(--alka-mint);color:var(--alka-mint-ink);width:32px;height:32px}
 .history-ui[data-view="compare"]>.h-heading,.history-ui[data-view="compare"]>.h-scope,.history-ui[data-view="profile"]>.h-profile-heading{display:none}
 .h-mobile-warning{display:block}.history-ui[data-view="compare"] .h-group>.muted{display:none}
 .h-round-top{min-height:0}.h-round-top>span,.h-round-top>.btn,.h-round-top>.spacer{display:none}.h-round-top .h-round-chips{padding:3px 0;gap:4px;justify-content:space-between}.h-round-chips .rc{min-width:24px;width:24px;height:24px}
 .h-round-context{display:grid;grid-template-columns:40px auto 1fr;gap:0 10px;padding:0;overflow:visible;border-bottom:0}
 .h-round-number{grid-column:1;grid-row:1/3;border-radius:5px 0 0 5px;padding:8px 12px}.h-round-context>div:nth-child(2){grid-column:2;grid-row:1;padding-top:6px}.h-round-context>div:nth-child(3){grid-column:3;grid-row:1;padding-top:6px}.h-round-context>div:nth-child(4){grid-column:3;grid-row:2;padding:0 8px 6px 0;font-size:12px}.h-round-context .h-round-score{grid-column:2;grid-row:2;padding:0 0 6px}.h-round-context b{font-size:13px}.h-round-context .h-round-strategy{grid-column:1/-1;grid-row:3;display:block;margin-top:12px;border:1px solid var(--alka-line);border-radius:5px;background:var(--alka-surface);padding:8px 12px!important}.h-round-strategy .lbl{display:inline;font-size:10px;margin-right:8px}
 .h-round-tabs .h-tabs>button[aria-selected=true]{background:none}.h-round-tabs .h-tabs>button{font-size:14px;min-height:40px}
 .history-ui[data-view="profile"] .h-profile-tabs button{padding:8px 6px;font-size:12px}.history-ui[data-view="profile"] .h-metric-strip>.h-stat:nth-child(2){order:3}.history-ui[data-view="profile"] .h-metric-strip>.h-stat:nth-child(4){order:4}.history-ui[data-view="profile"] .h-metric-strip>.h-stat:nth-child(5){display:none}.history-ui[data-view="profile"] .h-period{display:none}
 .h-side-cards dl{margin-top:4px}.h-side-cards .h-link{min-height:18px}.h-side-cards article{padding:12px}
}

.h-note>div>div:first-child{position:relative;padding-right:24px}.h-note-menu-button{position:absolute;right:0;top:-4px;border:0;background:none;padding:0 4px;min-height:28px}.h-note-menu{position:absolute;right:0;top:26px;z-index:6;width:248px;display:grid;background:var(--alka-surface-2);border:1px solid #3a4450;border-radius:5px;padding:6px;box-shadow:0 8px 24px #0008}.h-note-menu button{text-align:left;border:0;background:none;font-size:12px}.h-note-menu button:disabled{opacity:.5;cursor:not-allowed}.h-plan-actual{border-top:1px solid var(--alka-line);border-bottom:1px solid var(--alka-line);font-size:13px}.h-plan-actual b{display:inline-block;width:68px}

@media(max-width:767px){.h-side-cards dt:last-of-type,.h-side-cards dd:last-of-type{display:none}}

@media(min-width:768px){.h-popover{position:fixed;inset:var(--menu-top) auto auto var(--menu-left);margin:0;width:210px;max-width:210px;border-radius:5px;box-shadow:0 8px 24px #0008}.h-popover::backdrop{background:transparent}.h-popover>header,.h-popover>footer{display:none}.h-popover .h-dialog-body{display:grid;padding:6px}.h-popover .h-dialog-body>.btn{border:0;background:none;text-align:left;font-size:13px}.h-popover .h-dialog-body>.btn:hover{background:var(--alka-surface)}}

.h-floating-note{display:none}@media(min-width:768px) and (max-width:1199px){.h-floating-note{display:block;position:fixed;bottom:20px;right:16px;z-index:4;min-height:48px}}@media(max-width:767px){.history-ui:has(.notes-selected) .h-round-top,.history-ui:has(.notes-selected) .h-round-strategy{display:none}}

.h-partial-mobile:empty,.h-partial-desktop:empty{display:none}.h-partial-mobile{display:none}@media(max-width:1199px){.h-partial-mobile{display:block}.h-partial-desktop{display:none}}

.h-strategy-grid>.h-box:last-child{border-top:3px solid var(--alka-mint)}.h-strategy-grid>.h-box:last-child .h-stats{grid-template-columns:1fr 1fr}.h-strategy-grid>.h-box:last-child .h-stat{min-height:64px;border-bottom:1px solid var(--alka-line)}.h-strategy-grid>.h-box:last-child .h-stat>strong{font-family:var(--alka-font-ui);font-size:16px}.h-strategy-grid>.h-box:last-child .h-stat:nth-child(2)>strong{font-family:var(--alka-font-data);font-size:22px}

.h-note-tabs>.h-plain,.h-note-tabs>b{padding:10px 14px;font-size:14px;font-weight:400}.h-note-tabs>b{border-bottom:2px solid var(--alka-mint)}.h-match-notes .h-tabs{background:none;border:0;gap:6px}.h-match-notes .h-tabs>button{padding:4px 12px;min-height:28px;border:1px solid var(--alka-line);border-radius:20px;background:var(--alka-surface-2);font-size:12px}.h-match-notes .h-tabs>button[aria-selected=true]{border-color:var(--alka-mint);box-shadow:inset 0 0 0 1px var(--alka-mint)}.h-round-note-group .h-note-actions,.h-round-note-group .h-note-menu-button{display:none}.h-round-note-group .h-note.own{box-shadow:none;background:none}.h-round-note-group .h-note{padding-top:4px;padding-bottom:8px;font-size:13px}.h-round-note-group>.h-padding{font-size:13px}

.h-tablet-header{display:none}@media(min-width:768px) and (max-width:1199px){body:has(.history-ui[data-view="round"]) #app>.top{display:none}body:has(.history-ui[data-view="round"]) main{padding-top:0}.h-tablet-header{display:flex;align-items:center;gap:12px;height:36px;background:var(--alka-surface);border-bottom:1px solid var(--alka-line);margin:0 -16px;padding:0 16px}.h-tablet-header .btn{min-height:32px;padding:0 12px}.h-tablet-header .h-avatar{background:var(--alka-mint);color:var(--alka-mint-ink)}.h-round-top{display:grid;grid-template-columns:40px 1fr 40px;gap:8px}.h-round-top>span,.h-round-top>.spacer,.h-round-top>.btn:first-child{display:none}.h-round-top .h-round-chips{grid-row:1;grid-column:2;padding:0;order:0}.h-round-top>[data-h="prev-round"]{grid-row:1;grid-column:1;padding:0}.h-round-top>[data-h="next-round"]{grid-row:1;grid-column:3;padding:0}.h-round-tabs .h-tabs>button[aria-selected=true]{background:none}}

.h-personal-lock{display:none}@media(max-width:767px){.h-personal-lock{display:block}}

.h-mobile-label{display:none}@media(max-width:767px){.h-mobile-label{display:inline}.h-desktop-label{display:none}.history-ui[data-view=profile][data-profile-tab=Overview] .h-mobile-matches>button:nth-child(n+5){display:none}.history-ui[data-view=profile] .h-box-head>.muted{display:none}}
