/* Focused, compact workspace for HHL Office. All rules stay inside Office pages. */
body.hhlm-office-page{overflow-x:clip;overflow-y:visible;background:#eef3f9}
body.hhlm-office-page .ihl-banner-slot-home_top,
body.hhlm-office-page .scoreboard-carousel,
body.hhlm-office-page .sponsor-section,
body.hhlm-office-page .site-footer{display:none!important}
body.hhlm-office-page .content-shell.hhlm-office{width:min(100% - 28px,1480px);margin:0 auto 24px;padding:16px 0 0}
body.hhlm-office-page .hhlm-office .page-content{padding:0;border:1px solid #dbe4ef;border-radius:12px;background:#f6f8fc;box-shadow:none;overflow:visible}
.hhlm-office-shell-head{position:sticky;top:80px;z-index:5;display:flex;align-items:center;gap:22px;min-height:64px;padding:10px 20px;border-radius:11px 11px 0 0;background:#102b56;color:#fff}
.hhlm-office-brand{flex:none;line-height:1}
.hhlm-office-brand span{display:block;margin-bottom:4px;color:#a9c6ed;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.hhlm-office .page-content .hhlm-office-brand h1{margin:0;color:#fff;font-size:22px;line-height:1.1;letter-spacing:-.02em}
.hhlm-office-nav{display:flex;align-items:center;gap:4px;flex-wrap:nowrap;min-width:0;margin:0;overflow-x:auto;scrollbar-width:thin}
.hhlm-office-nav a,.hhlm-office .page-content .hhlm-office-nav a{flex:none;min-height:34px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;padding:7px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:#d6e6f9;text-decoration:none;font-size:13px;font-weight:700;line-height:1.1;white-space:nowrap}
.hhlm-office-nav a:hover,.hhlm-office .page-content .hhlm-office-nav a:hover{background:#254672;color:#fff}
.hhlm-office-nav a.is-active,.hhlm-office .page-content .hhlm-office-nav a.is-active{border-color:#fff;background:#fff;color:#12356a}
.hhlm-office-workspace{padding:18px 20px 28px}
.hhlm-office-page-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 14px}
.hhlm-office-page-head h2,.hhlm-office .page-content .hhlm-office-page-head h2{margin:0;color:#102b56;font-size:22px;line-height:1.15}
.hhlm-office-page-head p{margin:3px 0 0;color:#657790;font-size:13px}
.hhlm-office-page-head>a{font-size:13px;white-space:nowrap}
.hhlm-office .page-content :is(input,select,textarea,button,a):focus-visible,.hhlm-office summary:focus-visible{outline:2px solid #1c67be;outline-offset:2px}
.hhlm-office .hhlm-empty-state{margin:10px 0;padding:12px;border-color:#dce5f0;background:#fff;color:#667990}
.hhlm-office .hhlm-notice{margin:8px 0;padding:8px 11px;border-radius:4px;font-size:13px}

/* Schedule: concise controls, expandable groups and circles, dense rows. */
.hhlm-office .hhlm-office-season-board{margin:0;color:#172c4d}
.hhlm-office .hhlm-office-board-heading{display:flex;align-items:center;margin:0 0 10px;padding:0;border:0;border-radius:0;background:transparent;color:#102b56}
.hhlm-office .hhlm-office-board-heading h2{margin:0;color:#102b56;font-size:22px;line-height:1.15}
.hhlm-office .hhlm-office-board-heading p{margin:3px 0 0;color:#687a91;font-size:13px}
.hhlm-office .hhlm-office-board-filter{align-items:center;gap:8px;margin:0;padding:8px 10px;border-color:#dce5f0;border-radius:8px;background:#fff}
.hhlm-office .hhlm-office-board-filter label{display:flex;align-items:center;gap:8px;color:#51647e;font-size:12px;font-weight:800}
.hhlm-office .hhlm-office-board-filter select{min-width:170px;min-height:34px;padding:4px 8px;border-color:#cfdbea;font-size:13px}
.hhlm-office .hhlm-office-board-filter .hhlm-office-game-search{margin-left:8px}
.hhlm-office .hhlm-office-game-search input{box-sizing:border-box;width:185px;min-height:34px;padding:5px 8px;border:1px solid #cfdbea;border-radius:6px;background:#fff;color:#17345a;font:inherit;font-size:12px}
.hhlm-office-game-search-count{color:#60758f;font-size:11px;font-weight:700;white-space:nowrap}
.hhlm-office [hidden]{display:none!important}
.hhlm-office .hhlm-office-board-filter button{min-height:34px;padding:5px 10px;border-color:#b7cce3;font-size:12px}
.hhlm-office .hhlm-office-board-filter [data-hhlm-refresh-games]{background:#e8f2ff;border-color:#bed5ef;color:#145898}
.hhlm-office .hhlm-office-board-filter a{font-size:12px}
.hhlm-office .hhlm-office-board-transfer{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:8px 0;padding:10px 12px;border:1px solid #dce5f0;border-radius:8px;background:#fff}
.hhlm-office .hhlm-office-board-transfer>div{flex:1 1 330px}
.hhlm-office .hhlm-office-board-transfer strong{color:#163a68;font-size:13px}
.hhlm-office .hhlm-office-board-transfer p{margin:3px 0 0;color:#60758f;font-size:11px;line-height:1.45}
.hhlm-office .hhlm-office-board-transfer form{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin:0}
.hhlm-office .hhlm-office-board-transfer input[type=file]{max-width:230px;font-size:11px}
.hhlm-office .hhlm-office-board-transfer :is(button,.hhlm-office-board-export){display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 10px;border:1px solid #b7cce3;border-radius:5px;background:#e8f2ff;color:#145898;font:inherit;font-size:12px;font-weight:800;text-decoration:none;cursor:pointer}
.hhlm-office .hhlm-office-board-arenas{flex-basis:100%;font-size:11px;color:#51647e}
.hhlm-office .hhlm-office-board-arenas summary{cursor:pointer;font-weight:800}
.hhlm-office .hhlm-office-board-arenas>div{display:flex;gap:5px 12px;flex-wrap:wrap;margin-top:6px}
.hhlm-office .hhlm-office-board-feedback{margin:5px 0;font-size:12px}
.hhlm-office .hhlm-office-game-group{margin:8px 0;border-color:#dbe5f0;border-radius:8px;box-shadow:none}
.hhlm-office .hhlm-office-game-group-head{min-height:54px;box-sizing:border-box;gap:10px;justify-content:flex-start;padding:8px 14px;background:#eaf1fa;cursor:pointer;list-style:none}
.hhlm-office .hhlm-office-game-group-head::-webkit-details-marker,.hhlm-office .hhlm-office-game-round-head::-webkit-details-marker{display:none}
.hhlm-office .hhlm-office-game-group-head::before,.hhlm-office .hhlm-office-game-round-head::before{content:"";flex:none;width:7px;height:7px;border-right:2px solid #55718f;border-bottom:2px solid #55718f;transform:rotate(-45deg);transition:transform .15s}
.hhlm-office .hhlm-office-game-group[open]>.hhlm-office-game-group-head::before,.hhlm-office .hhlm-office-game-round[open]>.hhlm-office-game-round-head::before{transform:rotate(45deg)}
.hhlm-office .hhlm-office-game-group-head>div{display:flex;align-items:baseline;gap:8px;min-width:0}
.hhlm-office .hhlm-office-game-group-head .hhlm-office-eyebrow{color:#6d8099;font-size:9px;letter-spacing:.06em}
.hhlm-office .hhlm-office-game-group-head h3{margin:0;color:#123e76;font-size:17px;line-height:1.15}
.hhlm-office .hhlm-office-game-count{margin-left:auto;padding:4px 8px;font-size:11px}
.hhlm-office .hhlm-office-group-empty{padding:11px 16px;font-size:12px}
.hhlm-office .hhlm-office-game-round{padding:0;border-top:1px solid #e7edf5}
.hhlm-office .hhlm-office-game-round-head{display:flex;align-items:center;gap:9px;margin:0;padding:9px 14px;background:#fbfcff;cursor:pointer;list-style:none}
.hhlm-office .hhlm-office-game-round-head h4{margin:0;color:#244d7f;font-size:14px}
.hhlm-office .hhlm-office-game-round-head span{margin-left:auto;font-size:11px}
.hhlm-office .hhlm-office-game-columns{align-items:start;gap:10px;padding:0 12px 12px}
.hhlm-office .hhlm-office-game-column{border-color:#dfe7f0;border-radius:7px}
.hhlm-office .hhlm-office-game-column-head{padding:7px 10px}
.hhlm-office .hhlm-office-game-column-head h5{font-size:12px}
.hhlm-office .hhlm-office-game-column-head span{min-width:20px;height:20px;font-size:10px}
.hhlm-office .hhlm-office-game-empty{padding:10px;font-size:12px}
.hhlm-office .hhlm-office-game-table{min-width:440px;font-size:11px}
.hhlm-office .hhlm-office-game-table th{padding:6px 7px;font-size:10px}
.hhlm-office .hhlm-office-game-table th:first-child{width:30px}
.hhlm-office .hhlm-office-game-table th:nth-child(2){width:39%}
.hhlm-office .hhlm-office-game-table th:nth-child(3){width:auto}
.hhlm-office .hhlm-office-game-table td{padding:7px;border-color:#ebeff5;vertical-align:middle}
.hhlm-office .hhlm-office-game-pair-cell strong{font-size:11px;line-height:1.25}
.hhlm-office-game-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap;margin-top:4px}
.hhlm-office .hhlm-office-game-pair-cell a{margin:0;font-size:10px;font-weight:700}
.hhlm-office .hhlm-office-game-status{padding:3px 5px;border-radius:3px;font-size:9px}
.hhlm-office .hhlm-office-game-schedule-form{display:flex;align-items:stretch;gap:3px}
.hhlm-office .hhlm-office-schedule-fields{display:grid;flex:1;min-width:0;gap:3px}
.hhlm-office .hhlm-office-game-schedule-form label{display:block;min-width:0}
.hhlm-office .hhlm-office-hall-field[hidden]{display:none}
.hhlm-office .hhlm-office-game-schedule-form input,.hhlm-office .hhlm-office-game-schedule-form select{height:28px;padding:2px 5px;font-size:11px}
.hhlm-office .hhlm-office-game-schedule-form button{align-self:stretch;min-height:0;padding:3px 7px;font-size:10px}
.hhlm-office .hhlm-office-game-manage{margin-top:5px;font-size:10px}
.hhlm-office .hhlm-office-game-manage summary{width:max-content;color:#155eaa;font-weight:700;cursor:pointer}
.hhlm-office .hhlm-office-pair-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;margin-top:6px}
.hhlm-office .hhlm-office-pair-form label{display:grid;gap:2px;min-width:0;color:#617590;font-size:10px}
.hhlm-office .hhlm-office-pair-form select{min-width:0;width:100%;height:28px;padding:2px 4px;font-size:11px}
.hhlm-office .hhlm-office-pair-form button{grid-column:1/-1}
.hhlm-office .hhlm-office-delete-form{margin-top:5px}
.hhlm-office .hhlm-office-delete-form button{border-color:#e1b8bd;color:#9e2632;background:#fff}
.hhlm-office .hhlm-office-game-locked{display:block;margin-top:5px;color:#77869a;font-size:10px}

/* Season setup and roster management. */
.hhlm-office-season-topbar{display:flex;gap:8px;flex-wrap:wrap;align-items:end;margin-bottom:12px}
.hhlm-office-season-topbar form,.hhlm-office-filter-form{display:inline-flex;align-items:end;gap:6px;margin:0!important;padding:8px 10px;border:1px solid #dce5f0;border-radius:8px;background:#fff;vertical-align:bottom}
.hhlm-office-season-topbar form p{display:flex;align-items:end;gap:6px;margin:0}
.hhlm-office-season-topbar label,.hhlm-office-filter-form label{display:grid;gap:3px;color:#5a6f89;font-size:11px;font-weight:800}
.hhlm-office-season-topbar :is(input,select),.hhlm-office-filter-form select{box-sizing:border-box;min-height:32px;min-width:160px;max-width:220px;padding:4px 7px;border:1px solid #cedbea;border-radius:5px;background:#fff;color:#183858;font:inherit;font-size:12px}
.hhlm-office-season-topbar button,.hhlm-office-filter-form button,.hhlm-office-season-panel button,.hhlm-office-form button{min-height:32px;padding:5px 10px;border:1px solid #b9cde4;border-radius:5px;background:#fff;color:#155394;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.hhlm-office-season-topbar button:hover,.hhlm-office-filter-form button:hover,.hhlm-office-season-panel button:hover,.hhlm-office-form button:hover{background:#e8f2ff}
.hhlm-office-season-panel{margin:0;padding:0;border:0;background:transparent}
.hhlm-office-season-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;padding:12px 14px;border:1px solid #dce5f0;border-radius:8px;background:#fff}
.hhlm-office-season-panel-head>div{display:flex;align-items:baseline;gap:9px;flex-wrap:wrap}
.hhlm-office-season-panel-head .hhlm-office-eyebrow{color:#6e8299;font-size:9px}
.hhlm-office-season-panel-head h3{margin:0;color:#163a68;font-size:17px}
.hhlm-office-season-status{padding:3px 7px;border-radius:4px;background:#fff2d3;color:#8b6000;font-size:10px;font-weight:800}
.hhlm-office-season-status.is-published{background:#e1f2e9;color:#176c44}
.hhlm-office-season-links{display:flex;gap:6px;flex-wrap:wrap}
.hhlm-office-season-links a{display:inline-flex;padding:6px 9px;border:1px solid #d4e1ef;border-radius:5px;background:#f8fbff;font-size:11px;text-decoration:none}
.hhlm-office-section-head{display:flex;align-items:center;justify-content:space-between;margin:8px 0}
.hhlm-office-section-head h4{margin:0;color:#24456e;font-size:14px}
.hhlm-office-section-head span{color:#657b94;font-size:11px}
.hhlm-office-season-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px}
.hhlm-office .hhlm-office-season-group{min-width:0;margin:0;padding:12px;border:1px solid #dce5f0;border-radius:8px;background:#fff}
.hhlm-office-season-group-head{display:flex;align-items:start;justify-content:space-between;gap:8px}
.hhlm-office-season-group-head strong{color:#173d70;font-size:15px}
.hhlm-office-season-group-head span{color:#6e8095;font-size:10px;text-align:right}
.hhlm-office .hhlm-office-season-teams{min-height:28px;margin:7px 0 8px;font-size:11px}
.hhlm-office .hhlm-office-season-team{margin:2px 3px 2px 0;padding:3px 6px;border:1px solid #e2e9f2;border-radius:4px;background:#f7faff;font-size:10px}
.hhlm-office-season-group-controls{display:flex;align-items:start;gap:6px;flex-wrap:wrap;padding-top:8px;border-top:1px solid #edf1f6}
.hhlm-office-season-group-controls .hhlm-office-season-form{margin:0}
.hhlm-office-season-group-controls p{display:flex;align-items:end;gap:5px;flex-wrap:wrap;margin:0}
.hhlm-office-season-group-controls label{display:grid;gap:3px;color:#60748d;font-size:10px;font-weight:800}
.hhlm-office-season-group-controls input[type=number]{box-sizing:border-box;width:56px;height:32px;padding:3px 6px;border:1px solid #cddaea;border-radius:5px}
.hhlm-office-season-group-controls form:nth-child(2) button{border-color:#155eaa;background:#155eaa;color:#fff}
.hhlm-office-season-group-controls form:nth-child(2) button:hover{background:#0f4d8e;color:#fff}
.hhlm-office-season-group-controls button:disabled{opacity:.5;cursor:not-allowed}
.hhlm-office-season-group-controls small{display:none}
.hhlm-office-season-group>small{display:block;margin-top:7px;color:#71839a;font-size:10px}
.hhlm-office-season-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}
.hhlm-office-season-actions .hhlm-office-season-form{margin:0;padding:11px;border:1px solid #dce5f0;border-radius:8px;background:#fff}
.hhlm-office-season-actions p{display:flex;align-items:end;gap:6px;flex-wrap:wrap;margin:0}
.hhlm-office-season-actions label{display:grid;gap:3px;color:#60748d;font-size:11px;font-weight:800}
.hhlm-office-season-actions select{box-sizing:border-box;min-width:150px;max-width:220px;height:32px;padding:3px 7px;border:1px solid #cddaea;border-radius:5px;background:#fff;font-size:12px}
.hhlm-office-season-panel>.hhlm-office-season-form{margin:12px 0 0;padding:10px 12px;border:1px solid #cfe5d9;border-radius:8px;background:#f2faf5}
.hhlm-office-season-panel>.hhlm-office-season-form p{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0}
.hhlm-office-season-panel>.hhlm-office-season-form button{border-color:#147347;background:#147347;color:#fff}
.hhlm-office-season-panel>.hhlm-office-season-form small{color:#40644f;font-size:11px}
.hhlm-office-filter-form{margin:0 8px 10px 0!important}
.hhlm-office-roster-title{margin:5px 0 0;color:#1e426e;font-size:16px}
.hhlm-office .hhlm-office-table-wrap{margin:10px 0;border-color:#dce5f0;border-radius:7px}
.hhlm-office .hhlm-office-table{font-size:12px}
.hhlm-office .hhlm-office-table th,.hhlm-office .hhlm-office-table td{padding:7px 9px;border-color:#e7edf4}
.hhlm-office .hhlm-office-match strong{font-size:13px}
.hhlm-office .hhlm-office-place{font-size:11px}
.hhlm-office .hhlm-office-status{gap:3px}
.hhlm-office .hhlm-office-status span,.hhlm-office .hhlm-status-pill{padding:3px 6px;font-size:10px}
.hhlm-office .hhlm-office-actions{gap:4px}
.hhlm-office .hhlm-button{min-height:28px;padding:5px 8px;font-size:11px}
.hhlm-office .hhlm-office-tabs{margin:0 0 10px}
.hhlm-office .hhlm-office-tabs a{padding:5px 9px;font-size:12px}
.hhlm-office .hhlm-office-form{gap:10px 12px;max-width:none;margin:10px 0;padding:14px;border-color:#dce5f0;box-shadow:none}
.hhlm-office .hhlm-office-form label{gap:4px;font-size:12px}
.hhlm-office .hhlm-office-form strong{font-size:10px}
.hhlm-office .hhlm-office-form :is(select,input[type=text],input[type=datetime-local],textarea){min-height:34px;padding:6px 8px;border-color:#ccd9e8;font-size:12px}
.hhlm-office .hhlm-office-form .hhlm-actions button,.hhlm-office .hhlm-office-form button.button-primary{min-height:34px;padding:6px 11px;border-color:#155eaa;background:#155eaa;color:#fff;font-size:12px}
.hhlm-office .hhlm-office-form .hhlm-actions button:hover,.hhlm-office .hhlm-office-form button.button-primary:hover{background:#0f4d8e;color:#fff}
.hhlm-office-roster-form>p:nth-of-type(3){display:grid;grid-template-columns:minmax(0,1fr) 130px;gap:10px;grid-column:1/-1}
.hhlm-office-roster-form>p:nth-of-type(4){grid-column:1/-1}
.hhlm-office-roster-form>p:nth-of-type(4) button{border-color:#155eaa;background:#155eaa;color:#fff}
.hhlm-office-roster-form>p:nth-of-type(4) button:hover{background:#0f4d8e;color:#fff}
.hhlm-office .hhlm-news-intro{margin:10px 0;padding:11px 13px}
.hhlm-office .hhlm-news-lang{padding:13px;box-shadow:none}
.hhlm-office .hhlm-news-thumbnail{padding:12px;box-shadow:none}
.hhlm-office .hhlm-activity-log{margin:12px 0;border:1px solid #dce5f0;border-radius:8px;background:#fff}
.hhlm-office .hhlm-activity-log summary{padding:10px 12px;color:#1e426e;font-size:12px;font-weight:700;cursor:pointer}
.hhlm-office .hhlm-activity-log[open] summary{border-bottom:1px solid #e7edf4}
.hhlm-office .hhlm-activity-log .hhlm-office-table-wrap{margin:8px}
.hhlm-office .hhlm-activity-log>p{margin:10px 12px;font-size:12px}

@media(max-width:1100px){
  .hhlm-office-shell-head{align-items:flex-start;flex-direction:column;gap:8px}
  .hhlm-office-nav{width:100%}
  .hhlm-office .hhlm-office-game-columns{grid-template-columns:1fr}
}
@media(max-width:700px){
  body.hhlm-office-page .content-shell.hhlm-office{width:100%;padding:0;margin:0}
  body.hhlm-office-page .hhlm-office .page-content{border-radius:0;border-left:0;border-right:0}
  .hhlm-office-shell-head{position:static;padding:9px 12px;border-radius:0}
  .hhlm-office .page-content .hhlm-office-brand h1{font-size:19px}
  .hhlm-office-nav{flex-wrap:wrap;overflow:visible;gap:2px}
  .hhlm-office-nav a,.hhlm-office .page-content .hhlm-office-nav a{min-height:31px;padding:5px 8px;font-size:11px}
  .hhlm-office-workspace{padding:12px 10px 22px}
  .hhlm-office-page-head h2,.hhlm-office .page-content .hhlm-office-page-head h2,.hhlm-office .hhlm-office-board-heading h2{font-size:19px}
  .hhlm-office .hhlm-office-board-filter a{width:100%;margin:0}
  .hhlm-office .hhlm-office-board-filter .hhlm-office-game-search{width:100%;margin-left:0}
  .hhlm-office .hhlm-office-game-search input{flex:1;width:auto;min-width:0}
  .hhlm-office .hhlm-office-game-columns{padding:0 8px 8px}
  .hhlm-office .hhlm-office-game-table-wrap{overflow:visible}
  .hhlm-office .hhlm-office-game-table{display:block;width:100%;min-width:0;table-layout:auto}
  .hhlm-office .hhlm-office-game-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
  .hhlm-office .hhlm-office-game-table tbody{display:block}
  .hhlm-office .hhlm-office-game-table tr{display:grid;grid-template-columns:24px minmax(0,1fr);gap:5px 7px;padding:8px;border-bottom:1px solid #edf1f6}
  .hhlm-office .hhlm-office-game-table tr:last-child{border-bottom:0}
  .hhlm-office .hhlm-office-game-table td{display:block;min-width:0;padding:0;border:0}
  .hhlm-office .hhlm-office-game-round-cell{grid-row:1/3;align-self:start;padding-top:2px!important}
  .hhlm-office .hhlm-office-game-pair-cell,.hhlm-office .hhlm-office-game-edit-cell{grid-column:2}
  .hhlm-office .hhlm-office-game-schedule-form{grid-template-columns:minmax(0,1fr) 65px}
  .hhlm-office-season-actions{grid-template-columns:1fr}
  .hhlm-office-season-panel-head{align-items:flex-start;flex-direction:column}
  .hhlm-office-season-topbar form{width:100%}
  .hhlm-office-season-topbar form p{width:100%}
  .hhlm-office-season-topbar label{flex:1}
  .hhlm-office-season-topbar :is(input,select){width:100%;max-width:none}
  .hhlm-office .hhlm-office-table{min-width:600px}
  .hhlm-office-roster-form>p:nth-of-type(3){grid-template-columns:1fr 100px}
}
