/* Qom Hockey 4.20 — scoped, accessible member portal */
.mh-page,.mh-auth-wrap{--mh-ink:#0e2445;--mh-border:#dce5f1;--mh-bg:#fff;--mh-muted:#61728c;color:var(--mh-ink);direction:rtl;line-height:1.8}
.mh-page{padding:clamp(22px,4vw,50px) 0 68px;background:linear-gradient(160deg,#f5f8fd,#fff 65%)}
.mh-head{padding-bottom:16px}.mh-eyebrow{display:inline-flex;color:#0a7e4a;font-weight:800;font-size:13px;letter-spacing:0}.mh-head h1{font-size:clamp(26px,3.5vw,42px);margin:8px 0 6px;color:#0c2b58;line-height:1.4}.mh-head p{font-size:15px;color:#506782;margin:0}.mh-nav{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0 25px}.mh-nav a{display:inline-flex;align-items:center;gap:8px;border:1px solid #cfdded;background:#fff;color:#1b355b;border-radius:14px;padding:11px 16px;text-decoration:none;font-weight:750;font-size:14px;transition:background .2s,border-color .2s,color .2s,transform .2s}.mh-nav a:is(:hover,:focus-visible){background:#eaf2fc;border-color:#b6cced;color:#06458c;transform:translateY(-1px)}.mh-nav a.is-active{background:#103f87;border-color:#103f87;color:#fff}
.mh-form-card{background:#fff;border:1px solid var(--mh-border,#dce5f1);border-radius:23px;box-shadow:0 10px 30px rgba(6,33,77,.045);padding:clamp(18px,2.6vw,30px);min-width:0}.mh-form-card h2{color:#0f2d57;font-size:20px;margin:0 0 15px;line-height:1.5}.mh-form-card.mh-large{max-width:1000px;margin-inline:auto}.mh-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 20px;margin:20px 0}.mh-fields label{display:flex;flex-direction:column;gap:7px;font-size:14px;font-weight:700;color:#1a3152;min-width:0}.mh-fields input,.mh-fields textarea,.mh-fields select{box-sizing:border-box;display:block;width:100%;min-width:0;min-height:48px;border:1px solid #cbd8e9;border-radius:13px;padding:10px 14px;background:#f9fbfe;color:#183452;font:inherit;font-weight:450;outline:none;transition:border-color .17s,box-shadow .17s,background .17s}.mh-fields textarea{resize:vertical}.mh-fields input:focus,.mh-fields select:focus,.mh-fields textarea:focus{border-color:#3475c9;box-shadow:0 0 0 3px rgba(24,94,189,.13);background:white}.mh-fields input:disabled{opacity:.75;background:#edf1f6}.mh-fields .mh-full{grid-column:1/-1}.mh-card-title{display:flex;gap:14px;justify-content:space-between;align-items:center;margin:24px 0 12px;border-bottom:1px solid #ebeff6;padding-bottom:12px;flex-wrap:wrap}.mh-card-title:first-child{margin-top:0}.mh-card-title h2{margin:0}.mh-card-title p,.mh-muted{margin:4px 0 0;color:#61728c;font-size:14px}.mh-status{padding:7px 12px;border-radius:100px;background:#e9f4ed;color:#19643d;font-size:13px;font-weight:750;white-space:nowrap}.mh-alert{background:#fff0ef;border:1px solid #ffc8c4;border-radius:13px;padding:13px 15px;color:#a82022;margin-bottom:15px;font-weight:700}.mh-actions,.mh-row-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.mh-wide{width:100%;justify-content:center}.mh-auth-wrap{padding:clamp(32px,6vw,90px) 0;background:#f4f7fc}.mh-auth-layout{display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(22px,4vw,55px);align-items:center}.mh-intro-panel{padding:clamp(8px,2vw,25px)}.mh-intro-panel h1{font-size:clamp(30px,4vw,53px);line-height:1.36;color:#0c3167;max-width:620px;margin:14px 0}.mh-intro-panel p{color:#58708a;font-size:16px;line-height:2}.mh-role-chips{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.mh-role-chips span{border-radius:12px;border:1px solid #d3e0ef;background:white;padding:8px 14px;font-weight:700;color:#10407e}.mh-privacy-note{color:#627b94;font-size:13px!important;margin:17px 0 0}.mh-consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;margin:15px 0 18px;color:#344a65}.mh-consent input{width:20px;height:20px;accent-color:#0d468e;margin-top:3px}.mh-auth-link{text-align:center;margin:18px 0 0;color:#63748b;font-size:14px}.mh-auth-link a{color:#0a478f;font-weight:800}.mh-panel-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}.mh-record-list{display:grid;gap:10px;margin-top:12px}.mh-record{border:1px solid #e2e9f2;border-radius:14px;padding:15px;display:flex;align-items:center;justify-content:space-between;gap:16px;min-width:0;background:#fcfdff}.mh-record>div:first-child{min-width:0;overflow-wrap:anywhere}.mh-record strong{display:block;font-size:15px;color:#15335d}.mh-record p{font-size:14px;color:#60728a;margin:4px 0}.mh-record small{font-size:13px;color:#637994}.mh-record form{flex-shrink:0}.mh-counter{background:#eaf1fa;color:#11447d;border-radius:12px;padding:5px 14px}.mh-small-stats,.mh-dash-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:18px}.mh-small-stats>div,.mh-dash-stats>div{border:1px solid #dbe6f4;background:white;border-radius:16px;padding:18px;display:flex;flex-direction:column;gap:5px}.mh-small-stats strong,.mh-dash-stats strong{font-size:27px;color:#063982}.mh-small-stats span,.mh-dash-stats span{font-size:13px;color:#5e718b}.mh-file-chooser{padding:14px;border:1px dashed #b5c9e4;border-radius:15px;background:#f7faff;cursor:pointer}.mh-file-chooser input{border:0!important;padding:5px!important;min-height:35px!important;background:transparent!important}.mh-file-chooser small{display:block;color:#52708c;font-size:12px;margin-top:4px}.mh-upload-line{display:flex;align-items:center;gap:15px;flex-wrap:wrap}.mh-avatar{width:80px;height:80px;object-fit:cover;border-radius:18px}.mh-overview{display:grid;grid-template-columns:1.15fr 1fr;gap:18px;margin-bottom:22px}.mh-welcome{background:linear-gradient(135deg,#0a346f,#06214b);color:white;border-radius:22px;padding:clamp(23px,3vw,35px)}.mh-welcome .mh-eyebrow{color:#91d9b0}.mh-welcome h2{color:white;font-size:27px;margin:10px 0 4px}.mh-welcome p{color:#d0dff2}.mh-progress-head{display:flex;justify-content:space-between;gap:12px;margin-top:35px;font-size:14px}.mh-progress{height:8px;background:rgba(255,255,255,.2);border-radius:20px;overflow:hidden;margin-top:12px}.mh-progress span{display:block;background:#26b76d;height:100%;border-radius:20px}.mh-dash-stats{margin:0}.mh-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mh-feature{display:flex;flex-direction:column;align-items:flex-start;padding:23px;background:white;border:1px solid #dbe5f2;border-radius:20px;min-width:0;gap:7px;text-decoration:none;color:#1b365a;transition:transform .18s,border-color .18s,box-shadow .18s}.mh-feature:is(:hover,:focus-visible){transform:translateY(-3px);border-color:#adc9e8;box-shadow:0 13px 27px rgba(7,44,90,.08)}.mh-feature>span{display:grid;place-items:center;width:45px;height:45px;border-radius:14px;background:#eef4fc;color:#0c458c;margin-bottom:8px}.mh-feature strong{font-size:17px}.mh-feature small{font-size:13px;color:#667c93}.mh-feature b{font-size:13px;margin-top:14px;color:#0b5586}.mh-admin-card{margin:14px 0}.mh-admin-head{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;background:#eaf2fb;padding:17px 20px;border-radius:17px}.mh-admin-head strong{font-size:18px;display:block}.mh-admin-head small{display:block}.mh-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0}.mh-details>div{border-bottom:1px solid #e6edf6;padding:12px 2px;overflow-wrap:anywhere}.mh-details dt{font-size:13px;color:#647891}.mh-details dd{margin:4px 0 0;font-size:15px;color:#142e4e;font-weight:650}.mh-admin-card hr{border:0;border-top:1px solid #e4eaf3;margin:20px 0}.mh-pager{display:flex;justify-content:center;align-items:center;gap:15px;padding:18px}.mh-pager a{color:#114b90;font-weight:700}.mh-flashes{margin-bottom:12px}
@media(max-width:990px){.mh-auth-layout,.mh-overview{grid-template-columns:1fr}.mh-intro-panel{padding:0}.mh-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mh-details{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.mh-panel-grid{grid-template-columns:1fr}.mh-fields{grid-template-columns:1fr;gap:13px}.mh-feature-grid{grid-template-columns:1fr}.mh-card-title h2,.mh-form-card h2{font-size:18px}.mh-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding-bottom:8px;margin-inline:-5px;padding-inline:5px}.mh-nav a{white-space:nowrap;flex-shrink:0;font-size:13px;padding:9px 12px}.mh-page{padding-top:20px}.mh-record{align-items:flex-start}.mh-details{grid-template-columns:1fr}.mh-auth-wrap{padding:25px 0}.mh-intro-panel h1{font-size:29px}.mh-record .mh-row-actions{flex-direction:column;align-items:stretch}}
@media(max-width:390px){.mh-small-stats,.mh-dash-stats{grid-template-columns:1fr}.mh-record{flex-wrap:wrap}.mh-record>form{margin-inline-start:auto}}
@media(prefers-reduced-motion:reduce){.mh-nav a,.mh-feature{transition:none!important;transform:none!important}}

.mh-header-signup{color:#10437c;text-decoration:none;font-size:13px;font-weight:800;padding:8px 12px;border:1px solid #c5d5e9;border-radius:12px;white-space:nowrap;transition:background .2s,color .2s}.mh-header-signup:is(:hover,:focus-visible){color:#fff;background:#0c4489}.vf-mobile-menu-foot{flex-wrap:wrap;gap:8px}.vf-mobile-menu-foot>a{flex:1 1 140px;text-align:center;justify-content:center}
[data-theme="dark"] .mh-page,[data-theme="dark"] .mh-auth-wrap{background:#0c1930;color:#edf4ff}[data-theme="dark"] .mh-form-card,[data-theme="dark"] .mh-feature,[data-theme="dark"] .mh-record,[data-theme="dark"] .mh-dash-stats>div,[data-theme="dark"] .mh-small-stats>div,[data-theme="dark"] .mh-nav a:not(.is-active){background:#132540;color:#e6f0ff;border-color:#2e4464}[data-theme="dark"] .mh-fields input,[data-theme="dark"] .mh-fields select,[data-theme="dark"] .mh-fields textarea{background:#0d1f39;color:#fff;border-color:#3c5071}[data-theme="dark"] .mh-head h1,[data-theme="dark"] .mh-form-card h2,[data-theme="dark"] .mh-record strong,[data-theme="dark"] .mh-details dd,[data-theme="dark"] .mh-intro-panel h1{color:#f2f7ff}[data-theme="dark"] .mh-card-title,[data-theme="dark"] .mh-record{border-color:#2d4566}[data-theme="dark"] .mh-welcome{background:#133d7f}[data-theme="dark"] .mh-auth-layout .mh-role-chips span{background:#1e3353;color:#f0f7ff;border-color:#3c5776}
@media(max-width:450px){.mh-header-signup{font-size:12px;padding:7px 9px}}
.mh-image-preview{width:90px;height:90px;object-fit:cover;border-radius:16px;margin-top:10px;border:1px solid #d1e0ed;display:block}
.mh-fields select{cursor:pointer;accent-color:#0f5298}.mh-fields input[type=file]{cursor:pointer}.mh-fields button,.mh-nav a{touch-action:manipulation}
.mh-inline-editor{margin-top:10px}.mh-inline-editor>summary{cursor:pointer;color:#1755a0;font-size:13px;font-weight:750;list-style:revert;padding:4px 0}.mh-inline-editor[open]{padding:12px;background:#f5f9fe;border-radius:13px}.mh-inline-editor .mh-fields{grid-template-columns:1fr;gap:8px;margin:10px 0}.mh-inline-editor .mh-fields input,.mh-inline-editor .mh-fields select,.mh-inline-editor .mh-fields textarea{min-height:42px}.mh-inline-editor form{width:100%}.mh-record:has(.mh-inline-editor[open]){align-items:flex-start}.mh-record:has(.mh-inline-editor[open])>div:first-child{flex:1}.mh-record:has(.mh-inline-editor[open])>form{align-self:flex-start}
[data-theme="dark"] .mh-inline-editor[open]{background:#182e4e}
