/* Shared sizing UI for Heretro's Flatsome child theme. */
.hrsg-hub,.hrsg-dialog{--sg-ink:#202329;--sg-muted:#646b74;--sg-line:#e4e7eb;--sg-red:#b8202d;--sg-wash:#f7f8fa;color:var(--sg-ink);font-family:inherit;line-height:1.5;box-sizing:border-box}
.hrsg-hub *,.hrsg-dialog *{box-sizing:border-box}
.hrsg-hub [hidden],.hrsg-dialog [hidden]{display:none!important}
.hrsg-eyebrow{display:block;font-size:10px;font-weight:750;letter-spacing:.13em;line-height:1.5;text-transform:uppercase;color:var(--sg-red);margin-bottom:9px}
.hrsg-guide-page{max-width:1024px;margin:0 auto;padding:24px 0 30px}
.hrsg-page-header{border-bottom:1px solid var(--sg-line);padding:0 0 26px;margin-bottom:24px}
.hrsg-page-header h1,.hrsg-page-header h2{font-family:inherit;font-size:clamp(29px,4vw,42px);font-weight:750;line-height:1.15;color:var(--sg-ink);letter-spacing:-.035em;margin:0 0 12px;text-transform:none}
.hrsg-page-header h1{font-family:inherit;font-size:clamp(29px,4vw,42px);font-weight:750;line-height:1.15}
.hrsg-page-header p{font-size:17px;color:var(--sg-muted);margin:0}
.hrsg-leagues{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 13px}
.hrsg-leagues a{display:flex;flex-direction:column;gap:8px;min-height:88px;padding:15px;border:1px solid var(--sg-line);border-radius:10px;background:#fff;color:var(--sg-ink);text-decoration:none;transition:background .15s,border-color .15s}
.hrsg-leagues a strong{font-size:14px;line-height:1.3;color:inherit}
.hrsg-leagues a>span{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--sg-muted)}
.hrsg-leagues a:hover{border-color:var(--sg-red)}
.hrsg-leagues a[aria-current=true]{background:#fbf3f4;border-color:var(--sg-red);box-shadow:inset 0 0 0 1px var(--sg-red);color:var(--sg-red)}
.hrsg-pairing-note{color:var(--sg-muted);font-size:12px;margin:0 0 24px}
.hrsg-sport-card{position:relative;margin:0 0 24px;padding:28px;border:1px solid var(--sg-line);border-top:3px solid var(--sg-red);border-radius:14px;background:#fff;scroll-margin-top:32px}
.hrsg-anchor{position:absolute;top:0;scroll-margin-top:32px}
.hrsg-sport-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 23px}
.hrsg-sport-heading h2{font-family:inherit;font-size:26px;font-weight:750;line-height:1.25;letter-spacing:-.025em;color:var(--sg-ink);margin:0;text-transform:none}
.hrsg-sport-heading .hrsg-eyebrow{margin-bottom:6px}
.hrsg-chart-badge{flex-shrink:0;border:1px solid var(--sg-line);border-radius:5px;padding:6px 9px;font-size:9px;font-weight:700;letter-spacing:.1em;color:var(--sg-muted)}
.hrsg-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.hrsg-fit-tabs{display:inline-flex;gap:3px;background:var(--sg-wash);border:1px solid var(--sg-line);padding:4px;border-radius:8px}
.hrsg-fit-tabs a{display:flex;align-items:center;justify-content:center;min-height:36px;padding:5px 18px;border-radius:5px;font-size:13px;font-weight:650;color:var(--sg-muted);text-decoration:none;white-space:nowrap}
.hrsg-fit-tabs a[aria-selected=true]{color:#fff;background:var(--sg-ink);box-shadow:0 1px 3px #20232916}
.hrsg-unit-toggle{display:inline-flex;align-items:center;gap:0;border:1px solid var(--sg-line);border-radius:7px;padding:3px;background:#fff;flex-shrink:0}
.hrsg-unit-toggle button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:36px;line-height:1.3;padding:5px 9px;margin:0;border:0;border-radius:4px;background:transparent;color:var(--sg-muted);font-family:inherit;font-size:11px;font-weight:750;letter-spacing:.03em;text-transform:none;box-shadow:none;cursor:pointer}
.hrsg-unit-toggle button[aria-pressed=true]{color:var(--sg-red);background:#fbf0f1}
.hrsg-measure-caption{font-size:12px;color:var(--sg-muted);margin:0 0 17px}
.hrsg-table-block{margin:0 0 21px}
.hrsg-table-block h3{font-family:inherit;font-size:14px;line-height:1.4;font-weight:750;letter-spacing:0;text-transform:none;color:var(--sg-ink);margin:0 0 10px}
.hrsg-table-scroll{overflow-x:auto;border:1px solid var(--sg-line);border-radius:8px;max-width:100%;-webkit-overflow-scrolling:touch;scrollbar-width:thin}
.hrsg-table{border:0;border-collapse:separate;border-spacing:0;width:100%;min-width:430px;margin:0;text-align:center;font-variant-numeric:tabular-nums}
.hrsg-table.hrsg-cols-3{min-width:300px}
.hrsg-table.hrsg-cols-5{min-width:550px}
.hrsg-table th,.hrsg-table td{font-family:inherit;font-size:13px;line-height:1.4;letter-spacing:0;text-transform:none;text-align:center;padding:11px 12px;border:0;border-bottom:1px solid var(--sg-line);white-space:nowrap;color:var(--sg-ink);vertical-align:middle}
.hrsg-table thead th{font-size:11px;font-weight:650;background:var(--sg-ink);color:#fff;padding:12px 10px}
.hrsg-unit-label{font-weight:400;opacity:.85;white-space:nowrap}
.hrsg-table tbody th{font-weight:750;color:var(--sg-red)}
.hrsg-table tbody tr:nth-child(odd){background:var(--sg-wash)}
.hrsg-table tbody tr:last-child>*{border-bottom:0}
.hrsg-table tbody tr.is-selected>*{background:#fbecee;box-shadow:inset 0 1px 0 #eecbd0,inset 0 -1px 0 #eecbd0}
.hrsg-table tbody tr.is-selected>th{box-shadow:inset 3px 0 0 var(--sg-red),inset 0 1px 0 #eecbd0,inset 0 -1px 0 #eecbd0}
.hrsg-tolerance,.hrsg-width-note,.hrsg-selection-note{font-size:12px;line-height:1.65;color:var(--sg-muted);margin:12px 0 0}
.hrsg-tolerance{padding:13px 15px;background:var(--sg-wash);border-radius:8px}
.hrsg-tolerance strong{color:var(--sg-ink)}
.hrsg-width-note{border-left:2px solid var(--sg-red);padding-left:11px;margin-bottom:16px}
.hrsg-selection-note{color:var(--sg-red)}
.hrsg-full-image{border-top:1px solid var(--sg-line);margin-top:20px;padding-top:15px}
.hrsg-full-image summary{display:flex;justify-content:space-between;gap:12px;cursor:pointer;list-style:none;color:var(--sg-red);font-size:12px;font-weight:650}
.hrsg-full-image summary::-webkit-details-marker{display:none}
.hrsg-full-image img{display:block;width:100%;height:auto;margin:20px auto 0;border:1px solid var(--sg-line);border-radius:8px}
.hrsg-fit-help{padding:27px;background:var(--sg-wash);border-radius:14px;margin-top:28px}
.hrsg-fit-help h2{font-family:inherit;font-size:23px;font-weight:750;line-height:1.3;letter-spacing:-.02em;color:var(--sg-ink);margin:0 0 20px;max-width:550px;text-transform:none}
.hrsg-fit-help ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0 0 20px;padding-left:20px}
.hrsg-fit-help li{padding-left:2px;color:var(--sg-red);font-size:13px;margin:0}
.hrsg-fit-help li strong{display:block;margin-bottom:6px;color:var(--sg-ink);font-size:13px}
.hrsg-fit-help li span{display:block;color:var(--sg-muted);font-size:12px;line-height:1.7}
.hrsg-help-link,.hrsg-apparel-link a{font-size:13px;color:var(--sg-red);text-decoration:underline;text-underline-offset:3px}
.hrsg-apparel-link{font-size:12px;color:var(--sg-muted);margin:22px 0 0}
.hrsg-trigger{display:inline-flex;align-items:center;gap:7px;color:#b8202d!important;font-family:inherit;font-size:12px;font-weight:650;line-height:1.4;text-decoration:none;white-space:nowrap;padding:7px 0;min-height:36px;cursor:pointer;vertical-align:middle}
.hrsg-trigger svg{display:block;flex:0 0 18px;width:18px;height:18px}
.hrsg-trigger:hover span{text-decoration:underline;text-underline-offset:3px}
.hrsg-primary-trigger{margin:0 0 12px}
.hrsg-size-label-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:0 0 8px;width:100%}
.hrsg-size-label-row>label{display:block!important;flex:0 1 auto;margin:0!important;padding:0!important;width:auto!important}
.hrsg-size-label-row .hrsg-trigger{margin:0 0 0 auto;padding:0;min-height:36px}
.hrsg-dialog:not([open]){display:none}
.hrsg-dialog{width:min(800px,calc(100% - 36px));max-width:none;max-height:90vh;max-height:90dvh;margin:auto;padding:0;border:0;border-radius:16px;box-shadow:0 24px 90px #11182745;overflow:hidden;background:#fff;overscroll-behavior:contain}
.hrsg-dialog::backdrop{background:rgb(16 21 28 / 56%);backdrop-filter:blur(2px)}
.hrsg-dialog-shell{display:flex;flex-direction:column;max-height:90vh;max-height:90dvh}
.hrsg-dialog-header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:27px 29px 23px;border-top:4px solid var(--sg-red);border-bottom:1px solid var(--sg-line);flex-shrink:0}
.hrsg-dialog-header .hrsg-eyebrow{font-size:9px;margin-bottom:7px}
.hrsg-dialog-header h2{font-family:inherit;font-size:27px;line-height:1.25;font-weight:750;letter-spacing:-.025em;color:var(--sg-ink);text-transform:none;margin:0 0 6px}
.hrsg-dialog-header p{font-size:12px;color:var(--sg-muted);margin:0}
.hrsg-close{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;min-height:38px;min-width:38px;padding:8px;margin:-3px -7px 0 0;border:1px solid var(--sg-line);border-radius:50%;background:#fff;color:var(--sg-muted);line-height:1;font-size:16px;box-shadow:none;cursor:pointer}
.hrsg-close svg{width:20px;height:20px}
.hrsg-close:hover{background:var(--sg-wash);color:var(--sg-ink)}
.hrsg-dialog-body{overflow-y:auto;overscroll-behavior:contain;min-height:0;padding:23px 29px 25px;scrollbar-width:thin}
.hrsg-dialog-footer{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;padding:16px 29px;border-top:1px solid var(--sg-line);background:var(--sg-wash);flex-shrink:0}
.hrsg-dialog-footer a{color:var(--sg-red);font-size:12px;font-weight:650;text-decoration:none}
.hrsg-dialog-footer a:hover{text-decoration:underline;text-underline-offset:3px}
.hrsg-hub a:focus-visible,.hrsg-dialog :focus-visible,.hrsg-trigger:focus-visible{outline:2px solid #b8202d;outline-offset:3px}
body.hrsg-modal-open{overflow:hidden}
@media(max-width:640px){
 .hrsg-guide-page{padding-top:8px}
 .hrsg-page-header{padding-bottom:20px;margin-bottom:20px}
 .hrsg-page-header p{font-size:14px}
 .hrsg-leagues{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .hrsg-leagues a{min-height:78px;padding:12px}
 .hrsg-leagues a strong{font-size:13px}
 .hrsg-sport-card{padding:20px 15px;border-radius:11px}
 .hrsg-sport-heading{margin-bottom:19px}
 .hrsg-sport-heading h2{font-size:22px}
 .hrsg-chart-badge{display:none}
 .hrsg-controls{gap:6px}
 .hrsg-fit-tabs a{font-size:12px;min-height:36px;padding:5px 12px}
 .hrsg-unit-toggle button{min-width:34px;padding:5px 7px}
 .hrsg-measure-caption{font-size:11px}
 .hrsg-table th,.hrsg-table td{font-size:12px;padding:10px 11px}
 .hrsg-table thead th{font-size:10px}
 .hrsg-fit-help{padding:22px 18px}
 .hrsg-fit-help ol{grid-template-columns:1fr;gap:17px}
 .hrsg-fit-help h2{font-size:21px}
 .hrsg-dialog{width:calc(100% - 16px);max-height:94vh;max-height:94dvh;border-radius:13px}
 .hrsg-dialog-shell{max-height:94vh;max-height:94dvh}
 .hrsg-dialog-header{padding:20px 18px 19px}
 .hrsg-dialog-header h2{font-size:23px}
 .hrsg-dialog-body{padding:18px 16px 20px}
 .hrsg-dialog-footer{padding:14px 18px}
 .hrsg-close{margin:-2px -2px 0 0}
 .hrsg-tolerance{padding:12px;font-size:11px}
}
@media(prefers-reduced-motion:reduce){.hrsg-hub *,.hrsg-dialog *{scroll-behavior:auto;transition:none}}
