:root {
    --red: #c91d24;
    --red-dark: #98171c;
    --red-soft: #f7e9ea;
    --blue: #173f78;
    --blue-soft: #eaf0f8;
    --ink: #20242a;
    --muted: #69707a;
    --line: #dfe3e8;
    --surface: #ffffff;
    --surface-soft: #f5f6f8;
    --shadow: 0 10px 28px rgba(25, 34, 46, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: #fff; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.narrow { max-width: 760px; }
.top-stripe { height: 6px; background: var(--red); }
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; box-shadow: 0 2px 12px rgba(0,0,0,.04); }
.header-inner { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; gap: 18px; min-width: 0; }
.brand-logo { width: 88px; height: 88px; object-fit: cover; border-radius: 50%; border: 3px solid var(--red); background: #191512; }
.brand-text { display: flex; flex-direction: column; }
.brand-abra { color: var(--red); font-weight: 900; font-size: 34px; line-height: 1; letter-spacing: .06em; }
.brand-name { font-weight: 700; font-size: 18px; margin-top: 5px; }
.member-button { background: var(--red); color: #fff; font-weight: 800; padding: 12px 18px; border-radius: 6px; }
.member-button:hover { background: var(--red-dark); }
.main-nav { background: var(--red); color: #fff; }
.nav-inner { display: flex; align-items: stretch; overflow-x: auto; }
.nav-inner a { font-weight: 800; padding: 14px 20px; border-bottom: 4px solid transparent; white-space: nowrap; }
.nav-inner a:hover, .nav-inner a.active { background: var(--red-dark); border-bottom-color: #fff; }
.hero { background: linear-gradient(115deg, #fff 0%, #fff 58%, var(--red-soft) 100%); border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 48px; align-items: center; min-height: 510px; padding-top: 48px; padding-bottom: 48px; }
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.02; margin: 14px 0 22px; max-width: 860px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 760px; }
.eyebrow { display: inline-block; color: var(--red); font-size: 13px; font-weight: 900; letter-spacing: .16em; }
.eyebrow.blue { color: var(--blue); }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.button { display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 6px; padding: 12px 18px; font: inherit; font-weight: 800; cursor: pointer; }
.button.primary { color: #fff; background: var(--red); }
.button.primary:hover { background: var(--red-dark); }
.button.secondary { color: var(--blue); background: #fff; border: 2px solid var(--blue); }
.button.full { width: 100%; }
.hero-card { background: #fff; border-top: 6px solid var(--red); border-radius: 10px; padding: 30px; box-shadow: var(--shadow); }
.hero-card img { display: block; width: 132px; height: 132px; object-fit: cover; border-radius: 50%; margin-bottom: 20px; }
.hero-card h2 { margin: 8px 0 10px; font-size: 25px; line-height: 1.2; }
.hero-card p { font-size: 16px; }
.hero-card a { color: var(--blue); font-weight: 900; }
.small-label { color: var(--red); font-weight: 900; text-transform: uppercase; font-size: 12px; letter-spacing: .12em; }
.quick-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 44px; padding-bottom: 44px; }
.quick-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 24px; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.quick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #c8cdd4; }
.quick-number { color: var(--red); font-weight: 900; font-size: 13px; }
.quick-card h3 { margin: 10px 0 8px; font-size: 21px; }
.quick-card p { margin: 0; color: var(--muted); }
.content-section { padding: 62px 0; }
.light-section { background: var(--surface-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.two-column { display: grid; grid-template-columns: 1.1fr .9fr; gap: 42px; }
.section-heading h2 { font-size: 34px; margin: 6px 0 20px; }
.table-card { overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 3px 12px rgba(0,0,0,.04); }
table { width: 100%; border-collapse: collapse; }
th { background: #f0f2f5; color: #3b424c; font-size: 13px; text-align: left; text-transform: uppercase; letter-spacing: .04em; }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); }
tr:last-child td { border-bottom: 0; }
.empty-state { text-align: center; color: var(--muted); padding: 34px; }
.empty-panel { background: #fff; color: var(--muted); border: 1px dashed #c6cbd2; border-radius: 8px; padding: 36px; text-align: center; }
.result-list { margin-bottom: 14px; }
.text-link { color: var(--blue); font-weight: 900; display: inline-block; margin-top: 14px; }
.ranking-feature { display: flex; align-items: center; justify-content: space-between; gap: 30px; background: #fff; border-left: 7px solid var(--red); padding-top: 16px; padding-bottom: 16px; }
.ranking-feature h2 { font-size: 36px; margin: 8px 0 10px; }
.ranking-feature p { color: var(--muted); max-width: 760px; }
.page-banner { background: linear-gradient(100deg, var(--red-dark), var(--red)); color: #fff; padding: 52px 0; }
.page-banner .eyebrow { color: #fff; opacity: .82; }
.page-banner h1 { font-size: 48px; margin: 7px 0 8px; }
.page-banner p { margin: 0; font-size: 18px; color: rgba(255,255,255,.9); }
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; background: var(--surface-soft); border: 1px solid var(--line); padding: 16px; border-radius: 8px; margin-bottom: 22px; }
input, select { min-height: 44px; border: 1px solid #bcc2ca; border-radius: 5px; padding: 9px 12px; background: #fff; font: inherit; color: var(--ink); }
.filter-bar input, .filter-bar select { min-width: 190px; flex: 1; }
.search-card, .login-card { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--red); box-shadow: var(--shadow); border-radius: 8px; padding: 30px; }
.search-card label, .login-card label { font-weight: 800; display: block; margin-bottom: 7px; }
.search-row { display: flex; gap: 10px; }
.search-row input { flex: 1; }
.help-text { color: var(--muted); font-size: 14px; }
.login-card { max-width: 470px; margin: 0 auto; }
.login-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 18px; }
.login-card h2 { text-align: center; margin-top: 0; }
.login-card input { width: 100%; margin-bottom: 16px; }
.login-links { display: flex; justify-content: space-between; gap: 16px; margin-top: 16px; }
.login-links a { color: var(--blue); font-weight: 700; font-size: 14px; }
.site-footer { background: #17191d; color: #fff; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 40px; padding-top: 38px; padding-bottom: 34px; }
.footer-grid p { color: #bfc5cc; margin-bottom: 0; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; align-content: flex-start; }
.footer-links a { color: #fff; font-weight: 700; }
.footer-bottom { text-align: center; padding: 14px; border-top: 1px solid #30343a; color: #aab0b8; font-size: 13px; }


.state-club-section { margin: 34px 0 44px; }
.state-club-heading { display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding-bottom: 10px; border-bottom: 3px solid var(--red); }
.state-club-heading h2 { margin: 0; font-size: 28px; color: var(--blue); }
.state-club-heading span { color: var(--muted); font-weight: 700; }
.club-card-facts { margin: 16px 0 18px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 7px; }
.club-card-facts > div { display: grid; grid-template-columns: 120px 1fr; gap: 10px; align-items: baseline; }
.club-card-facts span { color: var(--muted); font-weight: 700; }
.club-card-facts strong { color: var(--text); font-weight: 700; }

@media (max-width: 860px) {
    .header-inner { min-height: 88px; }
    .brand-logo { width: 70px; height: 70px; }
    .brand-abra { font-size: 28px; }
    .brand-name { font-size: 15px; }
    .hero-grid, .two-column { grid-template-columns: 1fr; }
    .hero-grid { min-height: auto; gap: 28px; }
    .quick-links { grid-template-columns: repeat(2, 1fr); }
    .ranking-feature { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 560px) {
    .container { width: min(100% - 24px, 1180px); }
    .header-inner { align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
    .brand-logo { width: 62px; height: 62px; }
    .brand-name { display: none; }
    .member-button { padding: 10px 12px; font-size: 13px; }
    .nav-inner a { padding: 12px 14px; }
    .hero h1 { font-size: 40px; }
    .quick-links { grid-template-columns: 1fr; }
    .page-banner h1 { font-size: 38px; }
    .search-row { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Club / Range registry */
.club-summary-line { color: var(--muted); margin: -6px 0 18px; }
.club-summary-line strong { color: var(--red); font-size: 21px; }
.club-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.club-card { border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 9px; padding: 22px; background: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.045); }
.club-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.club-code { display: inline-flex; align-items: center; justify-content: center; background: var(--blue); color: #fff; font-weight: 900; letter-spacing: .06em; padding: 5px 10px; border-radius: 5px; font-size: 13px; }
.club-code.large { font-size: 15px; padding: 7px 12px; }
.status-pill { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-weight: 800; font-size: 12px; }
.status-pill.active { background: #e7f6ec; color: #24743b; }
.status-pill.inactive { background: #eee; color: #666; }
.club-card h2 { font-size: 21px; margin: 15px 0 5px; line-height: 1.2; }
.club-card h2 a:hover { color: var(--red); }
.club-location { margin: 0 0 14px; color: var(--muted); font-weight: 700; }
.environment-row { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 15px; }
.environment-badge { font-weight: 900; font-size: 12px; padding: 5px 9px; border-radius: 999px; }
.environment-badge.outdoor { color: #842026; background: var(--red-soft); border: 1px solid #ecc6c8; }
.environment-badge.indoor { color: var(--blue); background: var(--blue-soft); border: 1px solid #cbd9ed; }
.legacy-mini { border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.legacy-mini > span:first-child { display: block; text-transform: uppercase; letter-spacing: .05em; font-weight: 800; }
.legacy-mini strong { color: #444; }
.dot-sep { margin: 0 5px; }

.club-profile-section { padding: 28px 0 64px; background: #fff; }
.breadcrumbs { color: var(--blue); margin-bottom: 28px; font-size: 15px; }
.breadcrumbs a { text-decoration: underline; font-weight: 700; }
.breadcrumbs span { color: #8d949e; margin: 0 7px; }
.club-profile-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 34px; }
.club-title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; border-bottom: 1px solid var(--line); padding-bottom: 22px; }
.club-title-row h1 { color: var(--blue); font-size: clamp(34px, 4vw, 50px); line-height: 1.05; margin: 10px 0 0; }
.club-info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; padding: 30px 0; }
.club-info-grid h3 { color: var(--red-dark); margin: 0 0 9px; font-size: 20px; }
.profile-link { color: var(--blue); text-decoration: underline; }
.profile-muted { color: var(--muted); font-style: italic; }
.contact-block + .contact-block { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.club-detail-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--surface-soft); }
.club-detail-strip > div { padding: 16px 18px; border-right: 1px solid var(--line); }
.club-detail-strip > div:last-child { border-right: 0; }
.club-detail-strip span { display: block; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; font-weight: 800; margin-bottom: 3px; }
.club-detail-strip strong { font-size: 16px; }
.club-panel { padding: 30px 0; border-bottom: 1px solid var(--line); }
.club-panel h2 { margin: 0 0 16px; color: #4a4f56; font-size: 29px; }
.empty-announcement { background: var(--surface-soft); border-left: 5px solid var(--red); padding: 18px 20px; color: var(--muted); }
.club-sidebar { background: #f2f2f2; padding: 18px; align-self: start; border-radius: 6px; position: sticky; top: 155px; }
.club-logo-placeholder { height: 180px; border: 3px solid #d5d5d5; background: #e9e9e9; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #b5b5b5; text-align: center; font-size: 22px; font-style: italic; margin-bottom: 16px; }
.club-side-link { display: grid; grid-template-columns: 30px 1fr; column-gap: 8px; padding: 14px 3px; color: var(--blue); border-bottom: 1px solid #d6d6d6; font-weight: 800; }
.club-side-link span { grid-row: 1 / span 2; font-size: 20px; }
.club-side-link small { color: var(--muted); font-weight: 400; font-size: 11px; }
.disabled-link { cursor: default; }
.legacy-box { margin-top: 20px; padding-top: 16px; border-top: 3px solid #d1d1d1; }
.legacy-box h3 { margin: 0 0 7px; color: #555; }
.legacy-box p { color: var(--muted); font-size: 13px; }
.legacy-line { display: flex; justify-content: space-between; gap: 16px; background: #fff; border: 1px solid #ddd; padding: 9px 11px; margin-top: 6px; border-radius: 4px; }
.legacy-line strong { color: var(--red); }
.legacy-line span { color: var(--blue); font-weight: 800; }

@media (max-width: 980px) {
    .club-grid { grid-template-columns: repeat(2, 1fr); }
    .club-profile-grid { grid-template-columns: 1fr; }
    .club-sidebar { position: static; }
    .club-detail-strip { grid-template-columns: repeat(2, 1fr); }
    .club-detail-strip > div:nth-child(2) { border-right: 0; }
    .club-detail-strip > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
    .club-grid { grid-template-columns: 1fr; }
    .club-title-row { flex-direction: column; }
    .club-info-grid { grid-template-columns: 1fr; gap: 24px; }
    .club-detail-strip { grid-template-columns: 1fr; }
    .club-detail-strip > div { border-right: 0; border-bottom: 1px solid var(--line); }
    .club-detail-strip > div:last-child { border-bottom: 0; }
}

/* Competitor registry and account module */
.member-area { display: flex; align-items: center; gap: 8px; }
.member-area form { margin: 0; }
.member-button.secondary-member { background: var(--blue); }
.logout-button { border: 0; cursor: pointer; font: inherit; }

.competitor-directory-summary { margin: -4px 0 18px; color: var(--muted); }
.competitor-directory-summary strong { color: var(--red); font-size: 22px; }
.competitor-table-card { border: 1px solid var(--line); border-radius: 8px; overflow-x: auto; background: #fff; box-shadow: 0 4px 18px rgba(0,0,0,.04); }
.competitor-table { width: 100%; border-collapse: collapse; min-width: 760px; }
.competitor-table th { background: var(--blue); color: #fff; text-align: left; padding: 13px 14px; font-size: 13px; letter-spacing: .02em; }
.competitor-table td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.competitor-table tr:last-child td { border-bottom: 0; }
.competitor-table tbody tr:hover { background: #fafbfc; }
.competitor-id-badge { display: inline-flex; background: var(--red); color: #fff; font-weight: 900; letter-spacing: .045em; border-radius: 5px; padding: 5px 9px; white-space: nowrap; }
.competitor-id-badge.large { font-size: 15px; padding: 7px 11px; }
.text-link.compact { margin-top: 0; white-space: nowrap; }
.simple-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; margin-top: 22px; color: var(--muted); font-weight: 700; }
.simple-pagination > div:last-child { text-align: right; }
.page-button { display: inline-block; border: 1px solid var(--line); background: #fff; color: var(--blue); padding: 8px 13px; border-radius: 5px; font-weight: 800; }
.page-button.disabled { color: #aaa; background: #f6f6f6; }

.competitor-profile-section { padding: 30px 0 65px; }
.competitor-profile-header { display: flex; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding-bottom: 28px; }
.competitor-profile-header h1 { color: var(--blue); font-size: clamp(35px, 5vw, 52px); line-height: 1.05; margin: 9px 0 8px; }
.competitor-avatar { width: 92px; height: 92px; flex: 0 0 92px; border-radius: 50%; background: linear-gradient(140deg, var(--red-dark), var(--red)); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 30px; border: 5px solid #f4d9db; }
.competitor-meta { display: flex; gap: 9px; flex-wrap: wrap; align-items: center; color: var(--muted); font-weight: 700; }
.profile-tab-row { display: flex; gap: 7px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--line); }
.profile-tab-row a { padding: 8px 13px; color: var(--blue); font-weight: 800; border-radius: 5px; }
.profile-tab-row a:hover, .profile-tab-row a.active { color: #fff; background: var(--blue); }
.competitor-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-top: 24px; }
.profile-main-column { min-width: 0; }
.profile-panel { border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 24px; margin-bottom: 22px; box-shadow: 0 3px 14px rgba(0,0,0,.035); }
.profile-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 15px; }
.profile-panel-heading h2 { margin: 5px 0 0; color: #383d44; }
.season-chip { background: var(--blue-soft); color: var(--blue); font-weight: 900; padding: 6px 10px; border-radius: 5px; }
.competitor-profile-sidebar { border-top: 5px solid var(--red); background: var(--surface-soft); padding: 22px; border-radius: 7px; align-self: start; }
.competitor-profile-sidebar h3 { margin-top: 0; color: var(--blue); }
.profile-facts { margin: 0 0 20px; }
.profile-facts > div { padding: 10px 0; border-bottom: 1px solid #dfe2e6; }
.profile-facts dt { color: var(--muted); text-transform: uppercase; font-size: 10px; letter-spacing: .06em; font-weight: 900; }
.profile-facts dd { margin: 3px 0 0; font-weight: 800; }
.full-width { width: 100%; text-align: center; }
.qualification-preview { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.qualification-preview > div { border: 1px solid var(--line); background: var(--surface-soft); border-radius: 7px; padding: 16px; display: grid; grid-template-columns: 28px 1fr; column-gap: 8px; }
.qualification-preview small { grid-column: 2; color: var(--muted); }
.qualification-icon { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; }
.qualification-icon.pending { background: #e5e7ea; color: #747b84; }

.form-alert { padding: 12px 15px; border-radius: 6px; margin-bottom: 18px; font-weight: 700; }
.form-alert.error { background: #fae8e9; color: #8f181e; border: 1px solid #ecc5c8; }
.form-alert.success { background: #e7f6ec; color: #236d39; border: 1px solid #c0e5cc; }
.checkbox-line { display: flex !important; align-items: center; gap: 8px; margin: -5px 0 17px; font-weight: 600 !important; }
.checkbox-line input { width: auto !important; min-height: auto; margin: 0 !important; }
.compact-banner { padding: 35px 0; }

.account-profile-hero { display: flex; align-items: center; gap: 18px; border: 1px solid var(--line); border-left: 6px solid var(--red); padding: 20px; border-radius: 8px; margin-bottom: 24px; }
.account-profile-hero h2 { margin: 5px 0 3px; font-size: 30px; color: var(--blue); }
.account-profile-hero p { margin: 0; color: var(--muted); }
.account-profile-hero .button { margin-left: auto; }
.dashboard-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 24px; }
.dashboard-card { border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 8px; padding: 20px; background: #fff; }
.dashboard-card > span { color: var(--blue); font-weight: 900; }
.dashboard-card h3 { margin: 5px 0 8px; }
.dashboard-card p { color: var(--muted); }
.dashboard-card strong { color: var(--red-dark); font-size: 13px; }
.editable-profile-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.editable-profile-grid > div { background: var(--surface-soft); border: 1px solid var(--line); padding: 15px; border-radius: 6px; }
.editable-profile-grid span, .editable-profile-grid small { display: block; }
.editable-profile-grid span { color: var(--muted); font-size: 11px; text-transform: uppercase; font-weight: 900; letter-spacing: .05em; }
.editable-profile-grid strong { display: block; margin: 4px 0; }
.editable-profile-grid small { color: var(--muted); }

.claim-intro { max-width: 780px; margin-bottom: 24px; }
.claim-intro h2 { color: var(--blue); font-size: 31px; margin-bottom: 8px; }
.claim-intro p { color: var(--muted); }
.claim-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.claim-card { border: 1px solid var(--line); border-top: 5px solid var(--red); border-radius: 8px; padding: 24px; background: #fff; box-shadow: var(--shadow); }
.claim-card h2 { margin: 5px 0 8px; }
.claim-card > p { color: var(--muted); }
.claim-card label { display: block; font-weight: 800; margin: 13px 0 6px; }
.claim-card input, .claim-card select, .claim-card textarea { width: 100%; }
.claim-card textarea { border: 1px solid #bcc2ca; border-radius: 5px; padding: 9px 12px; font: inherit; resize: vertical; }
.claim-card .button { margin-top: 17px; }
.two-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pending-claim-card { max-width: 720px; border: 1px solid #e8d6a4; border-left: 6px solid #d7a31d; background: #fff9e8; border-radius: 7px; padding: 22px; }
.status-pill.pending { background: #fff0be; color: #7c5a00; }

@media (max-width: 900px) {
    .competitor-profile-grid { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .claim-grid { grid-template-columns: 1fr; }
    .account-profile-hero { align-items: flex-start; flex-wrap: wrap; }
    .account-profile-hero .button { margin-left: 0; }
}

@media (max-width: 620px) {
    .member-area { flex-direction: column; align-items: stretch; gap: 4px; }
    .member-button { text-align: center; }
    .competitor-profile-header { align-items: flex-start; flex-direction: column; }
    .qualification-preview { grid-template-columns: 1fr; }
    .editable-profile-grid, .two-field-row { grid-template-columns: 1fr; }
    .simple-pagination { grid-template-columns: 1fr 1fr; }
    .simple-pagination > span { grid-column: 1 / -1; grid-row: 1; text-align: center; }
}
.inline-profile-form { display: flex; gap: 8px; align-items: center; margin-top: 5px; }
.inline-profile-form input { width: 76px; min-height: 38px; text-transform: uppercase; }
.small-button { padding: 8px 12px; min-height: 38px; }

/* Competitor ranking eligibility */
.eligibility-panel { margin-top: 28px; }
.eligibility-heading { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; }
.eligibility-heading p { margin:6px 0 0; max-width:760px; color:#5d6470; }
.season-form { display:flex; align-items:center; gap:10px; font-weight:700; color:#b31b1b; }
.season-form select { min-width:100px; padding:8px 10px; border:1px solid #b8bdc5; background:#fff; }
.eligibility-rules-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:18px; margin-top:22px; }
.eligibility-rule-card { border:1px solid #dfe2e6; border-top:4px solid #c8102e; background:#fff; padding:20px; border-radius:8px; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.eligibility-rule-card.club-rule { grid-column:1 / -1; border-top-color:#173f8a; }
.eligibility-rule-title { display:flex; justify-content:space-between; gap:16px; align-items:flex-start; margin-bottom:14px; }
.eligibility-rule-title h3 { margin:0; color:#173f8a; font-size:1.08rem; }
.qualification-status { font-weight:800; white-space:nowrap; font-size:.88rem; }
.qualification-status.not-qualified { color:#c8102e; }
.status-pill.neutral { background:#eef1f5; color:#555; }
.eligibility-requirements { border-top:1px solid #eceef1; }
.eligibility-row { display:flex; justify-content:space-between; gap:20px; padding:11px 0; border-bottom:1px solid #eceef1; }
.eligibility-row small { display:block; margin-top:3px; color:#757b84; font-weight:400; }
.eligibility-value { display:flex; align-items:center; gap:10px; white-space:nowrap; }
.eligibility-count { font-weight:800; color:#343941; }
.eligibility-mark { font-size:1.2rem; font-weight:900; }
.eligibility-mark.no { color:#c8102e; }
.eligibility-or, .eligibility-basis { margin:13px 0 0; font-size:.92rem; color:#555c66; }
.eligibility-data-note { margin-top:18px; padding:14px 16px; background:#fff5f5; border-left:4px solid #c8102e; color:#4d5158; }
@media (max-width: 800px) {
  .eligibility-rules-grid { grid-template-columns:1fr; }
  .eligibility-rule-card.club-rule { grid-column:auto; }
  .eligibility-heading, .eligibility-rule-title { flex-direction:column; }
}

/* Competitor account v3 */
.stacked-login-links { display:flex; flex-direction:column; gap:8px; align-items:center; margin-top:18px; }
.registration-grid { align-items:start; }
.form-help { margin-top:14px; color:var(--muted); font-size:.92rem; }
.login-card textarea { width:100%; border:1px solid #bcc2ca; border-radius:5px; padding:10px 12px; font:inherit; }
.private-profile-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; margin-bottom:22px; }
.private-profile-summary > div { border:1px solid var(--line); background:var(--surface-soft); border-radius:6px; padding:14px; }
.private-profile-summary span, .private-profile-summary small { display:block; }
.private-profile-summary span { color:var(--muted); font-size:11px; text-transform:uppercase; font-weight:900; letter-spacing:.05em; }
.private-profile-summary strong { display:block; margin:5px 0; color:#2f343b; }
.private-profile-summary small { color:var(--muted); }
.profile-edit-form label, .password-form label { display:block; font-weight:800; margin:12px 0 6px; }
.profile-edit-form input, .password-form input { width:100%; }
.profile-edit-form .button, .password-form .button { margin-top:18px; }
.three-field-row { display:grid; grid-template-columns:2fr .7fr 1fr; gap:12px; }
.class-chip-row { display:flex; flex-wrap:wrap; gap:9px; margin-top:15px; }
.class-chip { background:var(--blue-soft); color:var(--blue); border:1px solid #c8d5ee; border-radius:999px; padding:7px 12px; font-weight:900; }
.season-class-form { display:flex; gap:12px; flex-wrap:wrap; }
.season-class-form > div { display:flex; align-items:center; gap:7px; }
.season-class-form label { font-weight:900; color:var(--red-dark); }
.season-class-form select { min-width:120px; padding:8px 10px; border:1px solid #b8bdc5; background:#fff; }
.selected-class-heading { background:var(--blue-soft); color:var(--blue); border-left:4px solid var(--blue); padding:11px 14px; margin-top:18px; border-radius:4px; }
.eligibility-mark.na { color:#777; }
.dashboard-tabs { scroll-margin-top:20px; }
.password-form { max-width:560px; }
.pending-claim-card code { background:#fff; padding:4px 6px; border-radius:4px; }
@media (max-width:800px) {
    .private-profile-summary { grid-template-columns:1fr 1fr; }
    .three-field-row { grid-template-columns:1fr; }
}
@media (max-width:560px) {
    .private-profile-summary { grid-template-columns:1fr; }
}

/* ABRA Rules page */
.rules-page { padding-top: 34px; padding-bottom: 50px; }
.rules-heading-row { display: flex; justify-content: space-between; gap: 28px; align-items: flex-end; margin-bottom: 24px; }
.rules-heading-row h1 { margin-bottom: 8px; }
.rules-intro { max-width: 760px; margin: 0; color: #5b6470; }
.rules-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.rules-shell { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: start; }
.rules-document-card { min-width: 0; background: #fff; border: 1px solid #dfe3e8; border-radius: 12px; overflow: hidden; box-shadow: 0 8px 24px rgba(16, 24, 40, .08); }
.rules-pdf { display: block; width: 100%; height: 78vh; min-height: 720px; border: 0; background: #f2f3f5; }
.pdf-fallback { padding: 12px 16px; margin: 0; font-size: .9rem; color: #5c6570; border-top: 1px solid #e5e7eb; }
.rules-toc { position: sticky; top: 18px; }
.rules-toc-inner { background: #fff; border: 1px solid #dfe3e8; border-top: 5px solid #b51f24; border-radius: 12px; padding: 18px 16px; box-shadow: 0 8px 24px rgba(16, 24, 40, .07); max-height: calc(100vh - 36px); overflow-y: auto; }
.rules-toc h2 { margin: 0 0 4px; font-size: 1.25rem; color: #1e3f82; }
.toc-help { margin: 0 0 12px; color: #69727d; font-size: .88rem; }
.rules-section-links { display: grid; gap: 3px; }
.rules-section-links a { display: grid; grid-template-columns: 28px 1fr; gap: 7px; align-items: start; padding: 7px 8px; border-radius: 6px; color: #252b33; text-decoration: none; font-size: .91rem; line-height: 1.2; }
.rules-section-links a:hover, .rules-section-links a:focus { background: #f8ecec; color: #a6191e; }
.rules-section-links a span { color: #b51f24; font-weight: 800; text-align: right; }
.rules-section-links a:first-child, .rules-section-links a:nth-child(2) { grid-template-columns: 1fr; color: #1e3f82; font-weight: 700; border-bottom: 1px solid #eceff3; margin-bottom: 2px; }
@media (max-width: 980px) {
    .rules-heading-row { align-items: flex-start; flex-direction: column; }
    .rules-actions { justify-content: flex-start; }
    .rules-shell { grid-template-columns: 1fr; }
    .rules-toc { position: static; }
    .rules-toc-inner { max-height: 360px; }
    .rules-pdf { height: 70vh; min-height: 560px; }
}
@media (max-width: 600px) {
    .rules-page { padding-top: 22px; }
    .rules-actions { width: 100%; }
    .rules-actions .button { flex: 1 1 140px; text-align: center; }
    .rules-pdf { min-height: 520px; }
}

/* ABRA v6 portals */
.portal-action-grid,.admin-summary-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px;margin-bottom:22px}.portal-action-card{display:flex;flex-direction:column;gap:5px;padding:20px;border:1px solid #dfe3e8;border-radius:12px;background:#fff;text-decoration:none;color:#111;box-shadow:0 4px 14px rgba(0,0,0,.05)}.portal-action-card strong{color:#b20d16;font-size:1.08rem}.portal-grid.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.portal-row,.admin-review-card,.admin-result-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid #e7e7e7}.portal-row small,.admin-review-card small,.admin-result-head small{display:block;color:#666;margin-top:4px}.portal-table{width:100%;border-collapse:collapse}.portal-table th,.portal-table td{padding:11px 10px;border-bottom:1px solid #e4e4e4;text-align:left;vertical-align:top}.portal-table th{background:#f4f6f8}.table-wrap{overflow-x:auto}.portal-form label,.admin-result-card label{display:block;font-weight:700;margin:12px 0 6px}.portal-form input,.portal-form select,.portal-form textarea,.admin-review-card input,.admin-result-card select,.admin-result-card textarea,.profile-panel input,.profile-panel select{width:100%;box-sizing:border-box}.checkbox-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:8px 0 16px}.check-card{display:flex!important;align-items:center;gap:8px;padding:10px;border:1px solid #ddd;border-radius:8px;margin:0!important}.check-card input{width:auto!important}.button-row,.inline-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.button.small{padding:8px 12px;font-size:.9rem}.admin-summary-grid>div{background:#fff;border:1px solid #ddd;border-top:4px solid #b20d16;border-radius:10px;padding:18px}.admin-summary-grid strong{display:block;font-size:1.8rem}.admin-summary-grid span{color:#555}.admin-review-card form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;max-width:620px}.admin-review-card form input{min-width:180px;flex:1}.admin-result-card{border:1px solid #ddd;border-radius:10px;padding:16px;margin:12px 0}.integration-note{margin:16px 0;padding:14px 16px;border-left:4px solid #245aa5;background:#f3f7fc;border-radius:6px}.status-pill.approved{background:#e9f7ed;color:#176b2d}.status-pill.pending{background:#fff3cd;color:#7a5a00}.status-pill.denied,.status-pill.rejected{background:#fdebec;color:#8c1e25}.admin-member{background:#244f92!important;color:#fff!important}.narrow-content{max-width:920px}
@media(max-width:820px){.portal-grid.two-col{grid-template-columns:1fr}.admin-review-card,.portal-row,.admin-result-head{align-items:flex-start;flex-direction:column}.checkbox-grid{grid-template-columns:1fr}}

/* v7 new-club request workflow */
.form-grid.two-col{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.profile-panel textarea{width:100%;box-sizing:border-box}.check-line{display:flex!important;align-items:flex-start;gap:9px;margin:14px 0!important;font-weight:700}.check-line input{width:auto!important;margin-top:3px}.club-request-details{padding:10px 0 4px;line-height:1.55;color:#444}.status-pill.returned{background:#eaf2fb;color:#244f92}@media(max-width:760px){.form-grid.two-col{grid-template-columns:1fr}}

/* v8 schedule spreadsheet / CSV import */
.schedule-import-panel { margin-bottom: 24px; }
.schedule-import-actions { display:flex; gap:12px; align-items:center; flex-wrap:wrap; margin:16px 0 10px; }
.inline-upload-form { display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.inline-upload-form input[type=file] { max-width:380px; }
.schedule-help { font-size:.92rem; line-height:1.55; background:#f6f8fb; border:1px solid #dce3eb; border-radius:8px; padding:12px 14px; }
.schedule-heading-row { display:flex; justify-content:space-between; gap:18px; align-items:flex-start; }
.muted-copy { color:#68717d; margin:.35rem 0 0; }
.schedule-grid-wrap { width:100%; overflow-x:auto; border:1px solid #d7dde5; border-radius:9px; }
.schedule-entry-table { border-collapse:collapse; width:max-content; min-width:100%; background:white; }
.schedule-entry-table th, .schedule-entry-table td { border-right:1px solid #e0e5eb; border-bottom:1px solid #e0e5eb; padding:6px; vertical-align:middle; white-space:nowrap; }
.schedule-entry-table th { background:#f3f5f8; color:#26313e; font-size:.78rem; text-transform:uppercase; letter-spacing:.02em; text-align:center; position:sticky; top:0; z-index:1; }
.schedule-entry-table td select, .schedule-entry-table td input[type=date], .schedule-entry-table td input[type=time], .schedule-entry-table td input[type=text] { margin:0; min-height:36px; padding:6px 8px; font-size:.9rem; }
.schedule-entry-table td select[data-field=club_id] { min-width:220px; }
.schedule-entry-table td select[data-field=event_type] { min-width:155px; }
.schedule-entry-table td input[data-field=notes] { min-width:180px; }
.schedule-entry-table .class-col { min-width:54px; max-width:72px; }
.class-check-cell { text-align:center; }
.class-check-cell input { width:18px; height:18px; }
.schedule-remove-row { border:0; background:transparent; color:#b00020; font-size:1.6rem; line-height:1; cursor:pointer; padding:2px 8px; }
.schedule-legend { display:flex; gap:8px 14px; flex-wrap:wrap; font-size:.84rem; margin:12px 0 0; color:#56606d; }
.schedule-submit-row { margin-top:18px; }
@media (max-width: 760px) {
  .schedule-heading-row { flex-direction:column; }
  .inline-upload-form { width:100%; }
}

/* v9: compact result-driven ranking / qualification display */
.eligibility-summary-list{border-top:1px solid #dfe5ec;margin-top:18px}
.eligibility-summary-line{border-bottom:1px solid #dfe5ec;background:#fff}
.eligibility-summary-line>summary{list-style:none;display:flex;align-items:center;gap:18px;padding:18px 4px;cursor:pointer}
.eligibility-summary-line>summary::-webkit-details-marker{display:none}
.eligibility-summary-main{flex:1;min-width:0}
.eligibility-summary-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:8px}
.eligibility-summary-title{font-weight:800;font-size:1.05rem;color:#143f78}
.eligibility-inline-metrics{display:flex;gap:0;flex-wrap:wrap;color:#25364b}
.eligibility-inline-metrics span{padding:0 14px;border-right:1px solid #cfd7e1}
.eligibility-inline-metrics span:first-child{padding-left:0}
.eligibility-inline-metrics span:last-child{border-right:0}
.eligibility-open-hint{font-size:.82rem;font-weight:700;color:#51657c;white-space:nowrap}
.eligibility-summary-details{padding:0 4px 18px 4px;color:#4b5d70}
.eligibility-summary-details p{margin:.45rem 0}
.profile-muted-note{color:#617286;margin-top:12px}
@media(max-width:760px){
  .eligibility-summary-line>summary{align-items:flex-start}
  .eligibility-summary-head{align-items:flex-start;flex-direction:column;gap:6px}
  .eligibility-inline-metrics{display:block}
  .eligibility-inline-metrics span{display:block;border:0;padding:2px 0}
  .eligibility-open-hint{display:none}
}

/* v9 schedule grid */
.schedule-rule-note{margin:0 0 18px;padding:12px 14px;border-left:4px solid #123f7a;background:#f4f7fb;color:#32465d}
.locked-target-count{background:#edf1f5;font-weight:800;color:#32465d}

/* v9 admin schedule approval */
.admin-schedule-table-wrap{overflow-x:auto}
.admin-schedule-table{width:100%;border-collapse:collapse;min-width:850px}
.admin-schedule-table th,.admin-schedule-table td{padding:10px 9px;border-bottom:1px solid #dfe5ec;text-align:left;vertical-align:middle}
.admin-schedule-table th{font-size:.8rem;text-transform:uppercase;letter-spacing:.04em;color:#53657a}
.state-tournament-row{background:#fff8e8}

/* v10 true competitor profile tabs */
.true-tabs{margin-bottom:22px;overflow-x:auto;white-space:nowrap;scrollbar-width:thin}
.true-tabs a{display:inline-flex;align-items:center;justify-content:center}
.tab-content-panel{margin-top:0}
.tab-heading-with-filter{display:flex;justify-content:space-between;align-items:flex-start;gap:20px}
.compact-season-form{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
.compact-season-form label{margin:0;font-weight:800;color:#9f1720}
.compact-season-form select{width:auto;min-width:105px;margin:0;padding:8px 34px 8px 10px}
@media(max-width:700px){.tab-heading-with-filter,.eligibility-heading{flex-direction:column}.compact-season-form{width:100%}.compact-season-form select{flex:1}}

/* v11 competitor profile picture */
.competitor-avatar.has-photo { overflow: hidden; background: #fff; }
.competitor-avatar.has-photo img { width: 100%; height: 100%; display: block; object-fit: cover; }
.competitor-avatar.large-preview { width: 112px; height: 112px; flex: 0 0 112px; font-size: 36px; }
.avatar-settings-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr); gap: 28px; align-items: start; }
.avatar-settings-preview { display: flex; gap: 18px; align-items: center; }
.avatar-settings-preview p { margin: 5px 0 0; color: var(--muted); }
.avatar-settings-actions { border-left: 1px solid var(--line); padding-left: 26px; }
.avatar-upload-form label { display: block; font-weight: 800; margin-bottom: 8px; }
.avatar-upload-form input[type="file"] { width: 100%; padding: 10px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.avatar-upload-form small { display: block; color: var(--muted); margin: 8px 0 14px; }
.avatar-settings-actions .button { margin-top: 8px; }
.button.subtle-danger { background: #fff; color: var(--red-dark); border: 1px solid #d6a2a5; }
.button.subtle-danger:hover { background: #fff2f2; }
.account-password-panel { margin-top: 20px; }
@media (max-width: 760px) {
    .avatar-settings-row { grid-template-columns: 1fr; }
    .avatar-settings-actions { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 20px; }
}


/* v12 public profile claim + reliable rules navigation */
.public-claim-box{margin-top:18px;padding:18px;border:1px solid #e1b6b8;border-top:4px solid var(--red);background:#fff7f7;text-align:center}
.public-claim-box strong{display:block;color:var(--red-dark);font-size:1.08rem}
.public-claim-box p{font-size:.9rem;line-height:1.45;color:#56606d;margin:8px 0 14px}
.public-claim-box p strong{display:inline;font-size:inherit}
.profile-claimed-note{margin-top:18px;padding:12px;background:#f4f6f8;color:#66717d;text-align:center;font-size:.9rem}
.profile-found-banner{padding:12px 14px;margin:0 0 12px;border-left:4px solid var(--red);background:#fff4f4;color:#343d48}
.rules-jump-link.selected{background:#fcebec;color:var(--red-dark);font-weight:800}

/* v13 Schedule & Results */
.schedule-filter-grid{display:grid;grid-template-columns:1.15fr 1.15fr .7fr 1fr auto auto;gap:14px;align-items:end;margin-bottom:12px}.schedule-filter-grid label{display:flex;gap:8px;align-items:center;font-weight:800;color:#263f87}.schedule-filter-grid select{min-width:0;width:100%;padding:10px 12px;border:1px solid #b9bec9;border-radius:3px;background:#fff}.schedule-count{margin:8px 0 12px;color:#667085;font-size:.92rem}.schedule-results-table th{white-space:nowrap;color:#263f87}.schedule-results-table td{vertical-align:top}.schedule-results-table td small{color:#667085}.schedule-results-table .results-link{font-weight:800;color:#b42318}.schedule-results-table .results-pending{color:#98a2b3}@media(max-width:900px){.schedule-filter-grid{grid-template-columns:1fr 1fr}.schedule-results-table{min-width:980px}}@media(max-width:560px){.schedule-filter-grid{grid-template-columns:1fr}.schedule-filter-grid label{display:block}.schedule-filter-grid label span{display:block;margin-bottom:5px}}

/* v13.2 Schedule designation columns */
.schedule-results-table .designation-cell {
    text-align: center;
    font-weight: 700;
    white-space: nowrap;
}

/* v14 Factory rifle eligibility wizard */
.factory-check-button { background: var(--red); color: #fff; border: 2px solid var(--red); white-space: nowrap; }
.factory-check-button:hover { background: var(--red-dark); border-color: var(--red-dark); }
.factory-wizard-page { padding-top: 28px; padding-bottom: 48px; }
.factory-wizard-heading { display:flex; justify-content:space-between; gap:24px; align-items:flex-end; margin-bottom:18px; }
.factory-wizard-heading h1 { margin-bottom:8px; }
.factory-wizard-intro { max-width:760px; margin:0; color:#555; }
.factory-wizard-notice { background:#fff6df; border:1px solid #e8ca73; border-left:5px solid #d39a00; padding:14px 16px; border-radius:7px; margin-bottom:20px; }
.factory-wizard-shell { max-width:900px; margin:0 auto 30px; }
.factory-progress-wrap { margin-bottom:12px; }
.factory-progress-bar { height:8px; border-radius:999px; overflow:hidden; background:#e8e8e8; }
.factory-progress-bar span { display:block; height:100%; width:12%; background:var(--red); transition:width .2s ease; }
.factory-step-label { margin-top:7px; text-align:right; font-size:13px; font-weight:800; color:#666; }
.factory-wizard-card { background:#fff; border:1px solid var(--line); border-radius:10px; box-shadow:0 7px 20px rgba(0,0,0,.07); padding:28px; min-height:310px; }
.factory-wizard-card h2 { margin:8px 0 10px; font-size:clamp(24px,3vw,34px); line-height:1.15; }
.factory-rule-pill { display:inline-block; background:#edf3f8; color:var(--blue); border-radius:999px; padding:6px 10px; font-size:12px; font-weight:900; }
.factory-question-help { color:#555; max-width:760px; line-height:1.55; }
.factory-answer-list { display:grid; gap:10px; margin-top:22px; }
.factory-answer { width:100%; text-align:left; padding:15px 17px; border:2px solid #ddd; background:#fff; color:#222; border-radius:7px; font:inherit; font-weight:800; cursor:pointer; transition:.15s ease; }
.factory-answer:hover, .factory-answer:focus { border-color:var(--red); background:#fff7f7; outline:none; }
.factory-back-link { margin-top:20px; border:0; background:transparent; color:var(--blue); font:inherit; font-weight:800; cursor:pointer; padding:4px 0; }
.factory-reference-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin-top:30px; }
.factory-reference-card { background:#fff; border:1px solid var(--line); border-top:5px solid var(--blue); border-radius:8px; padding:20px; }
.factory-reference-card h2 { margin-top:0; font-size:20px; }
.factory-reference-card p { line-height:1.5; }
.factory-reference-card.excluded-card { border-top-color:var(--red); }
.factory-reference-card.approved-card { border-top-color:#777; }
.rule-tag { white-space:nowrap; color:var(--blue); font-size:12px; font-weight:900; }
.factory-result { border-left:6px solid #777; padding-left:18px; }
.factory-result.eligible { border-left-color:#267a3b; }
.factory-result.review { border-left-color:#d39a00; }
.factory-result.not-eligible { border-left-color:var(--red); }
.factory-result-label { text-transform:uppercase; letter-spacing:.08em; font-size:13px; font-weight:900; color:#555; }
.factory-result-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:22px; }
@media (max-width: 900px) {
  .factory-wizard-heading { display:block; }
  .factory-wizard-heading .button { margin-top:15px; }
  .factory-reference-grid { grid-template-columns:1fr; }
  .factory-wizard-card { padding:20px; }
}

/* v15 canonical Master Comp results */
.result-match-summary{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin:0 0 18px}.result-match-summary>div{background:#fff;border:1px solid #d9dde3;border-radius:10px;padding:12px}.result-match-summary span{display:block;font-size:.72rem;text-transform:uppercase;letter-spacing:.06em;color:#68717c;margin-bottom:4px}.result-match-summary strong{display:block}.results-toolbar{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}.result-class-panel{margin-top:18px}.master-results-table th,.master-results-table td,.competitor-results-table th,.competitor-results-table td{white-space:nowrap}.master-results-table td:nth-child(2),.competitor-results-table td:nth-child(3){white-space:normal}.results-filter-grid{grid-template-columns:repeat(6,minmax(120px,1fr)) auto auto}.pagination-wrap{margin-top:18px}.source-class-note{font-size:.78rem;color:#68717c}
@media(max-width:1000px){.result-match-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.results-filter-grid{grid-template-columns:repeat(3,minmax(140px,1fr))}}
@media(max-width:640px){.result-match-summary{grid-template-columns:1fr 1fr}.results-filter-grid{grid-template-columns:1fr 1fr}}


/* v15.1.3 — Results filter bar: clean two-row desktop layout */
.results-filter-form {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 22px;
    align-items: end;
    width: 100%;
}
.results-filter-form > * {
    min-width: 0;
}
.results-filter-form label {
    display: block;
}
.results-filter-form select,
.results-filter-form input {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box;
}
.results-filter-form button,
.results-filter-form .btn {
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 1000px) {
    .results-filter-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .results-filter-form {
        grid-template-columns: 1fr;
    }
}


/* v15.1.4 — Results month selector; keep the filter area balanced */
@media (min-width: 1001px) {
    .results-filter-form {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    }
}


/* v15.1.5 — Combined Schedule & Results public page */
.combined-schedule-filter-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px 22px !important;
    align-items: end;
}
.combined-schedule-filter-grid label {
    display: block !important;
}
.combined-schedule-filter-grid label span {
    display: block;
    margin-bottom: 5px;
}
.combined-schedule-filter-grid select,
.combined-schedule-filter-grid .button {
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 900px) {
    .combined-schedule-filter-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}
@media (max-width: 560px) {
    .combined-schedule-filter-grid {
        grid-template-columns: 1fr !important;
    }
}



/* v15.1.9 — Professional responsive homepage */
.home-showcase {
    position: relative;
    overflow: hidden;
    min-height: 250px;
    color: #fff;
    background:
        linear-gradient(100deg, rgba(5,6,8,.98) 0%, rgba(12,13,16,.96) 50%, rgba(25,10,11,.88) 72%, rgba(133,9,17,.76) 100%),
        repeating-linear-gradient(135deg, transparent 0 34px, rgba(255,255,255,.025) 34px 36px);
    border-bottom: 5px solid var(--red);
}
.home-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(118deg, transparent 0 54%, rgba(201,29,36,.18) 54% 55%, transparent 55% 100%);
    pointer-events: none;
}
.home-showcase-inner {
    position: relative;
    z-index: 2;
    min-height: 250px;
    display: flex;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 32px;
}
.home-showcase-copy { max-width: 680px; }
.home-kicker {
    display: inline-block;
    margin-bottom: 10px;
    color: #e8e9ec;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .20em;
}
.home-showcase h1 {
    margin: 0;
    line-height: .98;
    text-transform: uppercase;
    font-style: italic;
    letter-spacing: -.035em;
}
.home-showcase h1 span,
.home-showcase h1 strong { display: block; }
.home-showcase h1 span { font-size: clamp(2rem, 5vw, 3.85rem); font-weight: 900; }
.home-showcase h1 strong { color: #ef2630; font-size: clamp(2.1rem, 5.4vw, 4.15rem); font-weight: 900; }
.home-showcase-points {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 19px;
    font-size: clamp(.88rem, 2vw, 1.13rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .09em;
}
.home-showcase-points i { width: 6px; height: 6px; background: var(--red); border-radius: 50%; flex: 0 0 6px; }
.home-showcase p { margin: 12px 0 0; color: #d8dbe0; font-weight: 700; font-style: italic; letter-spacing: .04em; }
.home-showcase-target {
    position: absolute;
    right: clamp(-120px, 4vw, 40px);
    top: 50%;
    width: 360px;
    height: 360px;
    transform: translateY(-50%) rotate(-7deg);
    border-radius: 50%;
    background: url('/images/homepage-target-hero-v15110d.png') center center / contain no-repeat;
    filter: drop-shadow(0 18px 34px rgba(0,0,0,.35));
    opacity: .95;
}
.home-showcase-target::after { content: none; }
.target-ring,
.target-center { display: none; }

.home-live-section { padding: 20px 0 0; background: #f3f4f6; }
.home-live-results { padding-bottom: 22px; }
.home-panel {
    overflow: hidden;
    border: 1px solid #d8dce2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 23px rgba(18,24,32,.10);
}
.home-panel-titlebar {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 11px 18px;
    color: #fff;
    background: linear-gradient(100deg, #ab0d15 0%, #d71922 55%, #bb111a 100%);
}
.home-panel-titlebar h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    line-height: 1;
}
.home-panel-titlebar > a { color:#fff; font-weight:900; text-decoration:underline; text-underline-offset:3px; white-space:nowrap; }
.home-panel-icon { display:inline-flex; align-items:center; justify-content:center; width:32px; height:32px; font-size:30px; line-height:1; color:#fff; }
.home-panel-icon.trophy { font-size:24px; }
.home-table-wrap { overflow-x: auto; }
.home-live-table { width:100%; border-collapse:collapse; }
.home-live-table thead th {
    background: linear-gradient(90deg,#17191c,#26282c);
    color:#fff;
    text-transform:none;
    letter-spacing:0;
    font-size:.84rem;
    padding:9px 16px;
    border:0;
}
.home-live-table td { padding:8px 16px; border-bottom:1px solid #e5e7eb; vertical-align:middle; }
.home-live-table tbody tr:nth-child(even) { background:#f6f7f8; }
.home-live-table tbody tr:hover { background:#fff1f2; }
.home-live-table tbody tr:last-child td { border-bottom:0; }
.home-club-link { font-weight:800; color:#20242a; }
.home-club-link:hover { color:var(--red); }
.home-row-button {
    display:inline-flex;
    min-width:118px;
    justify-content:center;
    align-items:center;
    padding:6px 12px;
    border-radius:4px;
    background:linear-gradient(#d51a24,#b70e17);
    color:#fff;
    font-weight:800;
    font-size:.86rem;
    white-space:nowrap;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.home-row-button:hover { background:#971017; }
.home-empty { text-align:center; color:var(--muted); padding:28px !important; }
.home-closing-banner {
    color:#fff;
    background: radial-gradient(circle at 88% 50%, rgba(201,29,36,.24), transparent 22%), linear-gradient(100deg,#0f1114,#1d2024);
    border-top:1px solid #2e3136;
}
.home-closing-banner .container {
    min-height:88px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:20px;
    text-transform:uppercase;
    font-size:clamp(.9rem,2vw,1.1rem);
    font-weight:900;
    font-style:italic;
    letter-spacing:.13em;
}
.home-closing-banner i { width:40px; height:2px; background:var(--red); }

@media (max-width: 900px) {
    .home-showcase-target { right:-150px; opacity:.58; }
    .home-showcase-copy { max-width:72%; }
}
@media (max-width: 700px) {
    .home-showcase { min-height:230px; }
    .home-showcase-inner { min-height:230px; padding-top:26px; padding-bottom:28px; }
    .home-showcase-copy { max-width:88%; }
    .home-showcase-target { width:285px; height:285px; right:-160px; opacity:.45; }
    .home-kicker { font-size:.65rem; letter-spacing:.13em; }
    .home-showcase-points { gap:9px; letter-spacing:.04em; }
    .home-panel-titlebar { align-items:flex-start; flex-direction:column; gap:8px; padding:14px 15px; }
    .home-panel-titlebar > a { font-size:.9rem; }
    .home-table-wrap { overflow:visible; }
    .home-live-table, .home-live-table tbody, .home-live-table tr, .home-live-table td { display:block; width:100%; }
    .home-live-table thead { display:none; }
    .home-live-table tbody tr { padding:11px 14px 13px; border-bottom:1px solid #d9dde2; background:#fff !important; }
    .home-live-table tbody tr:last-child { border-bottom:0; }
    .home-live-table td {
        display:grid;
        grid-template-columns:94px minmax(0,1fr);
        gap:10px;
        padding:4px 0;
        border:0;
        text-align:left;
    }
    .home-live-table td::before { content:attr(data-label); color:#68717c; font-size:.72rem; font-weight:900; text-transform:uppercase; letter-spacing:.04em; }
    .home-live-table td[data-label="Details"], .home-live-table td[data-label="Results"] { margin-top:7px; }
    .home-row-button { width:100%; min-height:38px; }
    .home-empty { display:block !important; }
    .home-empty::before { content:none !important; }
    .home-closing-banner .container { flex-wrap:wrap; gap:9px 12px; min-height:78px; padding-top:16px; padding-bottom:16px; text-align:center; }
    .home-closing-banner i { width:18px; }
}
@media (max-width: 430px) {
    .home-showcase-copy { max-width:100%; padding-right:56px; }
    .home-showcase-target { right:-205px; }
    .home-showcase-points { flex-wrap:wrap; }
    .home-live-section { padding-top:14px; }
    .home-panel { border-radius:9px; }
    .home-panel-titlebar h2 { font-size:1.35rem; }
    .home-panel-icon { width:25px; height:25px; font-size:23px; }
    .home-live-table td { grid-template-columns:82px minmax(0,1fr); font-size:.93rem; }
}

/* ABRA v15.1.11 — MD/Admin schedule workflow */
.schedule-club-picker{max-width:760px;margin:0 0 18px}.schedule-club-picker select{width:100%}.schedule-club-picker small{display:block;margin-top:6px;color:var(--muted);font-weight:700}
.schedule-status-strip{display:grid;grid-template-columns:repeat(4,minmax(120px,1fr));gap:10px;margin:4px 0 14px}.schedule-status-item{border:1px solid var(--line);border-left:4px solid var(--red);border-radius:8px;background:#fff;padding:10px 12px;display:flex;align-items:center;justify-content:space-between;gap:12px}.schedule-status-item span{font-size:.76rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:900}.schedule-status-item strong{font-size:1.02rem;color:#1d2530}
.schedule-rule-warnings{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 14px}.schedule-rule-warnings span{background:#fff3cd;border:1px solid #ead48b;color:#6d5311;border-radius:999px;padding:5px 10px;font-size:.78rem;font-weight:800}
.schedule-row-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.schedule-row-actions form{margin:0}.compact-import-panel{margin-top:18px}.inline-upload-form{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.inline-upload-form input[type=file]{max-width:420px}
.md-current-schedule td,.md-current-schedule th{white-space:nowrap}.narrow-container{max-width:950px}.schedule-edit-form .inline-actions{margin-top:20px}
.schedule-review-batch{border:1px solid var(--line);border-radius:10px;overflow:hidden;margin:0 0 18px;background:#fff}.schedule-review-batch-head{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 14px;background:#f5f6f8;border-bottom:1px solid var(--line)}.schedule-review-batch-head strong,.schedule-review-batch-head small{display:block}.schedule-review-batch-head small{margin-top:2px;color:var(--muted);font-weight:700}
.schedule-review-table input,.schedule-review-table select,.schedule-review-table textarea{min-width:0}.schedule-review-table input[type=date]{width:142px}.schedule-review-table input[type=time]{width:108px}.schedule-review-table input[type=number]{width:64px}.schedule-review-table select{width:auto;max-width:145px}.schedule-review-table textarea{width:145px;min-height:52px;margin:0 0 6px}.schedule-validation-cell{min-width:175px}.schedule-validation-cell span{display:block;font-size:.74rem;line-height:1.25;margin:0 0 4px;color:#8a4c00;font-weight:800}.schedule-validation-cell .schedule-valid{color:#28713f}.schedule-warning-row{background:#fffdf7}.schedule-admin-actions{min-width:170px}.schedule-deny-form{margin-top:6px}.schedule-admin-actions form{margin-bottom:0}.status-pill.rejected{background:#f8d7da;color:#842029}
@media(max-width:980px){.schedule-status-strip{grid-template-columns:repeat(2,1fr)}.schedule-review-batch-head{align-items:flex-start;flex-direction:column}.schedule-review-table{min-width:1120px}}
@media(max-width:620px){.schedule-status-strip{grid-template-columns:1fr 1fr}.schedule-status-item{padding:9px}.schedule-status-item span{font-size:.68rem}.schedule-status-item strong{font-size:.9rem}.inline-upload-form{display:block}.inline-upload-form input[type=file],.inline-upload-form .button{width:100%;max-width:none;margin-bottom:8px}.md-current-schedule{min-width:980px}}

/* v15.1.12 Admin Schedules & Results + compact MD schedule */
.admin-portal-tabs{display:flex;gap:8px;margin:0 0 20px;border-bottom:1px solid #d9dde3;overflow:auto}
.admin-portal-tabs a{display:flex;align-items:center;gap:8px;padding:11px 16px;text-decoration:none;font-weight:900;color:#495463;border-bottom:3px solid transparent;white-space:nowrap}
.admin-portal-tabs a.active{color:#b20f18;border-bottom-color:#d71922}
.admin-portal-tabs a span{display:inline-flex;min-width:21px;height:21px;padding:0 6px;align-items:center;justify-content:center;border-radius:12px;background:#e9edf2;font-size:.75rem;color:#29323d}
.admin-portal-tabs a.active span{background:#d71922;color:#fff}
.collapsible-panel-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;cursor:pointer;list-style:none;padding:18px 20px}
.collapsible-panel-summary::-webkit-details-marker{display:none}
.collapsible-panel-summary span:first-child{display:flex;flex-direction:column;gap:3px}
.collapsible-panel-summary strong{font-size:1.12rem;color:#202833}
.collapse-chevron{font-size:1.3rem;font-weight:900;transition:transform .18s ease}
details[open]>.collapsible-panel-summary .collapse-chevron{transform:rotate(180deg)}
.collapsible-panel-body{padding:0 20px 20px}
.md-current-schedule-panel{padding:0;overflow:hidden}
.admin-schedule-database .table-wrap{overflow:auto}
.admin-database-table{min-width:1160px}
.admin-database-table input,.admin-database-table select{min-width:95px;margin:0;padding:7px 8px;font-size:.84rem}
.admin-database-table td:nth-child(2) select{min-width:190px}
.admin-database-table small{display:block;margin-top:5px;color:#707b88;font-size:.72rem}
.muted-row{opacity:.56;background:#f2f3f5}
.admin-pagination{margin-top:16px}
.admin-page-toolbar{display:flex;align-items:center;gap:18px;margin-bottom:18px}
.admin-page-toolbar>div{display:flex;flex-direction:column;gap:3px}
.admin-page-toolbar small{color:#66717d}
.admin-result-add-panel{padding:0;overflow:hidden}
.admin-result-edit-grid{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:12px;align-items:end}
.admin-result-edit-grid label{font-size:.78rem;font-weight:900;color:#4c5662}
.admin-result-edit-grid input,.admin-result-edit-grid select{width:100%;margin-top:4px}
.admin-target-entry-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(110px,1fr));gap:9px}
.target-disabled{opacity:.4}
.admin-result-form-actions{grid-column:1/-1;display:flex;justify-content:flex-end}
.admin-result-row-list{display:grid;gap:9px}
.admin-result-row-details{border:1px solid #dce0e5;border-radius:9px;background:#fff;overflow:hidden}
.admin-result-row-details>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 15px;cursor:pointer;list-style:none;background:#fafbfc}
.admin-result-row-details>summary::-webkit-details-marker{display:none}
.admin-result-row-details>summary>div:first-child{display:flex;flex-direction:column;gap:3px}
.admin-result-row-details small{color:#6e7884}
.admin-result-summary-score{display:flex;align-items:center;gap:14px;color:#b20f18}
.admin-result-row-body{padding:15px;border-top:1px solid #e2e5e9}
.admin-result-remove-form{display:flex;justify-content:flex-end;margin-top:8px}
@media(max-width:900px){
 .admin-result-edit-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-target-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .admin-page-toolbar{align-items:flex-start;flex-direction:column}
}
@media(max-width:560px){
 .admin-result-edit-grid{grid-template-columns:1fr}
 .admin-target-entry-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .collapsible-panel-summary{padding:15px}
 .collapsible-panel-body{padding:0 15px 15px}
}

/* ABRA v15.1.13 — Admin schedule/result management cleanup */
.admin-collapsible-database{padding:0;overflow:hidden}
.admin-database-summary{padding:20px 24px;background:#fff}
.admin-database-summary strong{font-size:1.45rem}
.admin-database-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.admin-schedule-filter-grid{display:grid;grid-template-columns:1.4fr repeat(7,minmax(105px,1fr));gap:10px;align-items:end;flex:1}
.admin-schedule-filter-grid label,.admin-result-filter-grid label{font-size:.75rem;font-weight:900;color:#53657a;text-transform:uppercase;letter-spacing:.04em;margin:0}
.admin-schedule-filter-grid input,.admin-schedule-filter-grid select,.admin-result-filter-grid input,.admin-result-filter-grid select{margin-top:5px;min-height:40px}
.admin-filter-actions{display:flex;gap:8px;align-items:center;align-self:end}
.admin-add-schedule-button{white-space:nowrap}
.admin-database-table{min-width:1180px}
.admin-database-table th,.admin-database-table td{padding:9px 7px}
.admin-database-table td input,.admin-database-table td select{min-height:38px;font-size:.9rem}
.admin-database-table td:first-child{min-width:145px}.admin-database-table td:nth-child(2){min-width:230px}.admin-database-table td:nth-child(3){min-width:105px}.admin-database-table td:nth-child(4){min-width:135px}
.admin-database-table .sticky-results-col,.admin-database-table .sticky-actions-col{position:sticky;background:#fff;z-index:2;box-shadow:-1px 0 0 #e1e5ea}
.admin-database-table th.sticky-results-col,.admin-database-table th.sticky-actions-col{background:#eef1f4;z-index:3}
.admin-database-table .sticky-actions-col{right:0;min-width:136px}
.admin-database-table .sticky-results-col{right:136px;min-width:112px}
.compact-action-button{white-space:nowrap;padding:7px 9px!important}
.schedule-row-actions{display:flex;gap:6px;align-items:center}.schedule-row-actions form{margin:0}.schedule-row-actions .button{padding:7px 9px}
.admin-result-filter-grid{display:grid;grid-template-columns:minmax(240px,1.5fr) minmax(180px,.8fr) auto;gap:12px;align-items:end;margin-bottom:14px}
.calculated-field-note{padding:9px 12px;margin-bottom:12px;background:#f4f7fb;border-left:4px solid #24518f;color:#445267;font-size:.86rem;font-weight:700}
.admin-result-summary-metrics{display:flex!important;flex-direction:row!important;align-items:center;gap:14px!important;color:#253a55!important}
.admin-result-summary-metrics span{display:flex;flex-direction:column;align-items:flex-end;min-width:62px}
.admin-result-summary-metrics small{font-size:.64rem;text-transform:uppercase;letter-spacing:.04em;color:#7a8490!important}
.admin-result-summary-metrics strong{font-size:.92rem;color:#b20f18}
.admin-result-summary-metrics b{font-size:1rem;font-weight:900}
.admin-calculated-result-fields{grid-column:1/-1;display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:8px;padding:10px;background:#f5f7f9;border:1px solid #e0e5ea;border-radius:8px}
.admin-calculated-result-fields span{display:flex;flex-direction:column;gap:2px}.admin-calculated-result-fields small{font-size:.67rem;color:#657284;text-transform:uppercase;font-weight:900}.admin-calculated-result-fields strong{font-size:1rem;color:#1f3f70}
@media(max-width:1200px){.admin-schedule-filter-grid{grid-template-columns:repeat(4,minmax(120px,1fr))}.admin-database-toolbar{align-items:stretch;flex-direction:column}.admin-add-schedule-button{align-self:flex-start}}
@media(max-width:760px){.admin-schedule-filter-grid{grid-template-columns:1fr 1fr}.admin-result-filter-grid{grid-template-columns:1fr}.admin-result-summary-metrics span:nth-child(2),.admin-result-summary-metrics span:nth-child(3){display:none}.admin-calculated-result-fields{grid-template-columns:repeat(2,1fr)}.admin-database-summary{padding:16px}.admin-database-table .sticky-results-col{position:static}.admin-database-table .sticky-actions-col{right:0}}

/* v15.1.16 - cleaner Admin schedule actions */
.admin-database-table .sticky-results-col{min-width:150px}
.admin-database-table .sticky-actions-col{min-width:124px}
.schedule-row-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.schedule-row-actions .button{min-width:92px;text-align:center}
.schedule-row-actions .schedule-delete-disabled,
.schedule-row-actions .schedule-delete-disabled:hover,
.schedule-row-actions .schedule-delete-disabled:focus{
    background:#eef1f4!important;
    border-color:#c9cfd7!important;
    color:#8b95a3!important;
    opacity:1!important;
    cursor:not-allowed!important;
    box-shadow:none!important;
}


/* v15.1.17 - compact text actions and clean schedule columns */
.admin-database-table{
    min-width:1080px;
}
.admin-database-table .sticky-results-col,
.admin-database-table .sticky-actions-col,
.admin-database-table th.sticky-results-col,
.admin-database-table th.sticky-actions-col{
    position:static;
    right:auto;
    min-width:0;
    box-shadow:none;
}
.admin-database-table .admin-results-col{
    width:105px;
    min-width:105px;
    white-space:nowrap;
}
.admin-database-table .admin-actions-col{
    width:105px;
    min-width:105px;
    white-space:nowrap;
}
.admin-database-table th,
.admin-database-table td{
    padding-left:7px;
    padding-right:7px;
}
.schedule-row-actions{
    display:flex;
    flex-direction:row;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}
.schedule-row-actions form{
    margin:0;
}
.admin-text-action{
    appearance:none;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    padding:0!important;
    margin:0!important;
    min-width:0!important;
    width:auto!important;
    color:#17447d;
    font:inherit;
    font-weight:800;
    line-height:1.2;
    text-decoration:none;
    cursor:pointer;
    white-space:nowrap;
}
.admin-text-action:hover,
.admin-text-action:focus{
    color:#c91d25;
    text-decoration:underline;
    outline:none;
}
.admin-text-delete{
    color:#a91d24;
}
.admin-text-delete:disabled{
    color:#aab1bb!important;
    text-decoration:none!important;
    cursor:not-allowed!important;
    opacity:1!important;
}
@media(max-width:760px){
    .admin-database-table{
        min-width:980px;
    }
    .admin-database-table .admin-results-col,
    .admin-database-table .admin-actions-col{
        min-width:92px;
        width:92px;
    }
}


/* v15.1.18 - fit Admin schedule editor on screen */
.admin-database-table{
    width:100%;
    min-width:0!important;
    table-layout:fixed;
}
.admin-database-table th,
.admin-database-table td{
    min-width:0!important;
    padding-left:6px;
    padding-right:6px;
}
.admin-database-table th:nth-child(1),
.admin-database-table td:nth-child(1){width:13%}
.admin-database-table th:nth-child(2),
.admin-database-table td:nth-child(2){width:21%}
.admin-database-table th:nth-child(3),
.admin-database-table td:nth-child(3){width:10%}
.admin-database-table th:nth-child(4),
.admin-database-table td:nth-child(4){width:12%}
.admin-database-table th:nth-child(5),
.admin-database-table td:nth-child(5){width:7%}
.admin-database-table th:nth-child(6),
.admin-database-table td:nth-child(6){width:6%}
.admin-database-table th:nth-child(7),
.admin-database-table td:nth-child(7){width:6%}
.admin-database-table th:nth-child(8),
.admin-database-table td:nth-child(8){width:14%}
.admin-database-table th:nth-child(9),
.admin-database-table td:nth-child(9){width:11%}

.admin-database-table td input,
.admin-database-table td select{
    width:100%;
    min-width:0!important;
    box-sizing:border-box;
}
.admin-database-table .admin-targets-col,
.admin-database-table .admin-flag-col{
    text-align:center;
}
.admin-database-table .admin-actions-col{
    width:auto;
    min-width:0!important;
}
.schedule-row-actions{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:5px;
    flex-wrap:nowrap;
}
.schedule-row-actions .admin-text-action{
    font-size:.88rem;
    line-height:1.1;
}
.admin-database-scroll{
    overflow-x:visible;
}
@media(max-width:1100px){
    .admin-database-table{
        min-width:980px!important;
        table-layout:auto;
    }
    .admin-database-scroll{
        overflow-x:auto;
    }
}

/* v15.1.20 - ABRA Score 3.2 Admin result importer */
.admin-database-toolbar-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-left:auto}
.admin-score32-import-button{white-space:nowrap}
.abra-import-container{max-width:1500px}
.import-top-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-bottom:16px}
.import-upload-panel{max-width:820px;margin:0 auto 22px}
.import-upload-form{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:16px;align-items:end}
.import-upload-form label{margin:0}.import-upload-form input[type=file]{margin-top:6px;width:100%}
.import-mini-note{margin-top:12px;color:#667085;font-size:.91rem}
.import-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:12px;margin:0 0 18px}
.import-summary-grid>div{background:#fff;border:1px solid #dfe3e8;border-radius:9px;padding:14px 16px;box-shadow:0 3px 12px rgba(18,24,32,.06)}
.import-summary-grid strong{display:block;font-size:1.45rem;color:#b5121b}.import-summary-grid span{font-size:.86rem;color:#667085;font-weight:700}
.import-match-card{padding:0!important;overflow:hidden;margin-bottom:14px}
.import-match-summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 17px;cursor:pointer;list-style:none;background:#fff}
.import-match-summary::-webkit-details-marker{display:none}.import-match-summary>div{display:flex;flex-direction:column;gap:2px}.import-match-summary span:not(.import-status-pill){font-size:.86rem;color:#667085}
.import-match-body{border-top:1px solid #e1e5ea;padding:16px}
.import-status-pill{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:5px 10px;font-size:.74rem;font-weight:900;letter-spacing:.04em;white-space:nowrap}
.import-status-pill.verified{background:#e8f7ed;color:#19713a;border:1px solid #b8e1c5}.import-status-pill.review{background:#fff1df;color:#9a5900;border:1px solid #f2d29e}.import-status-pill.done{background:#eaf0f7;color:#315477;border:1px solid #c9d6e4}
.import-check-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:16px;margin-bottom:16px}
.import-check-block{border:1px solid #dfe3e8;border-radius:8px;padding:13px;background:#fafbfc}.import-check-block h3{margin:0 0 10px;font-size:1rem}.import-match-id{font-weight:900;color:#1d3557;margin-bottom:8px}
.import-compare-table{width:100%;border-collapse:collapse;margin-bottom:10px}.import-compare-table th,.import-compare-table td{padding:5px 7px;border-bottom:1px solid #e6e9ed;text-align:left;font-size:.84rem}.import-compare-table th{color:#526174;font-size:.76rem;text-transform:uppercase}
.import-green-check{color:#19713a;font-weight:900;margin-top:8px}.import-green-check.large{font-size:1.08rem}.import-warning{background:#fff1df;border:1px solid #f2d29e;color:#8a5100;padding:9px 10px;border-radius:6px;margin-bottom:9px}.import-issue-list{margin:0 0 10px;padding-left:19px;color:#94323a}.import-issue-list li{margin:3px 0}
.import-inline-form{display:flex;gap:8px;align-items:center}.import-inline-form select{min-width:280px;max-width:100%}
.import-results-wrap{overflow-x:auto}.import-results-table{width:100%;border-collapse:collapse;font-size:.82rem}.import-results-table th{background:#1f3146;color:#fff;padding:7px 6px;text-align:left;white-space:nowrap}.import-results-table td{padding:7px 6px;border-bottom:1px solid #e4e7eb;vertical-align:top}.import-results-table small{display:block;color:#657386;margin-top:2px}.import-target-cell{min-width:135px}.import-target-cell span{display:inline-block;margin:0 5px 2px 0;white-space:nowrap}.imported-row{background:#f1fbf4}
.import-row-fix summary{cursor:pointer;color:#17447d;font-weight:900}.import-row-fix-box{position:relative;min-width:420px;background:#fff;border:1px solid #ccd3dc;border-radius:8px;padding:10px;margin-top:7px;box-shadow:0 8px 24px rgba(0,0,0,.12);z-index:2}.import-fix-form{display:grid;grid-template-columns:repeat(2,minmax(120px,1fr));gap:8px;margin-bottom:12px}.import-fix-form label{font-size:.75rem;font-weight:800}.import-fix-form input,.import-fix-form select{width:100%;margin-top:3px}.import-fix-form .button{justify-self:start}.import-target-edit-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(72px,1fr));gap:6px}
.import-match-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;margin-top:14px;padding-top:13px;border-top:1px solid #e4e7eb}.import-match-actions form{display:flex;gap:8px;align-items:center}.import-match-actions input[name=notes]{min-width:230px}
.import-complete-panel{display:flex;align-items:center;gap:16px;flex-wrap:wrap;background:#f1fbf4;border-color:#b8e1c5}
@media(max-width:900px){.import-summary-grid{grid-template-columns:repeat(2,1fr)}.import-check-grid{grid-template-columns:1fr}.import-upload-form{grid-template-columns:1fr}.admin-database-toolbar-actions{margin-left:0}.import-row-fix-box{min-width:320px}.import-target-edit-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:600px){.import-summary-grid{grid-template-columns:1fr 1fr}.import-match-summary{align-items:flex-start}.import-match-actions{align-items:stretch;flex-direction:column}.import-match-actions form{width:100%;flex-direction:column;align-items:stretch}.import-match-actions input[name=notes]{min-width:0;width:100%}}

/* v15.1.21 Score 3.2 Admin/MD workflow */
.import-missing-match-actions{display:flex;flex-direction:column;gap:10px;margin-top:12px}.import-calculation-note{margin-top:12px;padding:10px 12px;border-radius:7px;background:#eef4fb;color:#24466f;font-size:.92rem}.form-alert.info{background:#eef4fb;border-color:#b8cce5;color:#21466f}.md-score32-button{white-space:nowrap}@media(max-width:760px){.import-missing-match-actions .import-inline-form{display:grid;grid-template-columns:1fr}.profile-panel-heading>.inline-actions{width:100%;justify-content:flex-start}}


/* v15.1.23 - actionable Admin dashboard cards */
.admin-summary-actions{grid-template-columns:repeat(4,minmax(0,1fr));}
.admin-summary-actions .admin-summary-link{
    display:flex;
    flex-direction:column;
    min-height:130px;
    padding:24px 26px;
    border:1px solid #d9dee5;
    border-top:5px solid var(--red);
    border-radius:10px;
    background:#fff;
    color:inherit;
    text-decoration:none;
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease;
}
.admin-summary-actions .admin-summary-link:hover,
.admin-summary-actions .admin-summary-link:focus{
    transform:translateY(-2px);
    border-color:#c6ccd5;
    box-shadow:0 8px 22px rgba(22,35,52,.11);
    outline:none;
}
.admin-summary-actions .admin-summary-link strong{font-size:2rem;line-height:1;color:#202a36;}
.admin-summary-actions .admin-summary-link span{margin-top:12px;font-size:1rem;color:#4e5968;}
.admin-summary-actions .admin-summary-link small{margin-top:auto;padding-top:10px;color:#17447d;font-weight:800;}
.admin-anchor-target{scroll-margin-top:24px;}
@media(max-width:900px){.admin-summary-actions{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:560px){.admin-summary-actions{grid-template-columns:1fr;}.admin-summary-actions .admin-summary-link{min-height:105px;}}

/* v15.1.24 - true public competitor profile tabs */
.profile-tab-navigation{
    gap:8px;
    padding:18px 0;
    margin-bottom:0;
}
.profile-tab-navigation a{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:9px 18px;
    border:1px solid transparent;
    text-decoration:none;
}
.competitor-tab-content{
    padding-top:24px;
    max-width:100%;
}
.competitor-tab-content .profile-panel{
    margin-bottom:0;
}
.competitor-overview-panel{
    max-width:920px;
}
.competitor-overview-facts{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 28px;
    margin:0;
}
.competitor-overview-facts>div{
    padding:14px 0;
    border-bottom:1px solid #dfe2e6;
}
.competitor-overview-facts dt{
    color:var(--muted);
    text-transform:uppercase;
    font-size:11px;
    letter-spacing:.07em;
    font-weight:900;
}
.competitor-overview-facts dd{
    margin:4px 0 0;
    color:#252a31;
    font-size:1.03rem;
    font-weight:800;
}
.competitor-overview-actions,
.competitor-overview-claim{
    margin-top:22px;
}
.profile-tab-intro{
    color:var(--muted);
    margin-top:0;
}
@media(max-width:760px){
    .profile-tab-navigation{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .profile-tab-navigation a{
        width:100%;
        box-sizing:border-box;
    }
    .competitor-overview-facts{
        grid-template-columns:1fr;
    }
    .tab-heading-with-filter{
        flex-direction:column;
        align-items:stretch;
    }
    .compact-season-form{
        width:100%;
    }
}


/* v15.1.25 - competitor results separated by class */
.competitor-class-results-stack{
    display:flex;
    flex-direction:column;
    gap:24px;
}
.competitor-class-results-block{
    border:1px solid #dce2e8;
    border-radius:10px;
    overflow:hidden;
    background:#fff;
}
.competitor-class-results-heading{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:13px 16px;
    background:#f3f5f7;
    border-bottom:1px solid #dce2e8;
}
.competitor-class-results-heading h3{
    margin:0;
    color:#17447d;
    font-size:1.2rem;
}
.competitor-class-results-heading span{
    color:#657184;
    font-weight:700;
    white-space:nowrap;
}
.competitor-class-results-block .table-card{
    border:0;
    border-radius:0;
    box-shadow:none;
}
.competitor-class-total-row th,
.competitor-class-total-row td{
    background:#edf2f7;
    border-top:2px solid #17447d;
    font-weight:900;
}
@media(max-width:760px){
    .competitor-class-results-heading{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }
}


/* v15.1.26 - collapsible competitor result classes */
.competitor-class-results-block{
    display:block;
}
.competitor-class-results-block > summary{
    list-style:none;
    cursor:pointer;
}
.competitor-class-results-block > summary::-webkit-details-marker{
    display:none;
}
.competitor-class-results-summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    flex:1;
}
.competitor-class-results-chevron{
    color:#17447d;
    font-size:1.25rem;
    font-weight:900;
    transition:transform .18s ease;
}
.competitor-class-results-block[open] .competitor-class-results-chevron{
    transform:rotate(180deg);
}
.competitor-class-results-block:not([open]) .table-card{
    display:none;
}

/* v15.1.27 - competitor claim and private contact framework */
.competitor-profile-claim-action{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;gap:6px;min-width:190px}
.competitor-profile-claim-action small{color:#667085;font-weight:700;text-align:right}
.private-field-note{display:block;color:#667085;font-size:.9rem;margin:8px 0 16px}
.private-contact-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.private-contact-summary>div{border:1px solid #dbe1e8;border-radius:8px;background:#f7f9fb;padding:13px}
.private-contact-summary span{display:block;color:#6b7280;font-size:.78rem;font-weight:900;text-transform:uppercase;letter-spacing:.06em;margin-bottom:5px}
.private-contact-summary strong{display:block;color:#202833;overflow-wrap:anywhere}
.admin-private-note{padding:12px 14px;background:#fff6db;border:1px solid #ead89a;border-radius:8px;color:#664d03;font-weight:700;margin-bottom:18px}
.admin-competitor-lookup .inline-actions{align-items:flex-end}
.admin-competitor-lookup .inline-actions input{max-width:240px}
@media(max-width:760px){.competitor-profile-header{flex-wrap:wrap}.competitor-profile-claim-action{margin-left:0;align-items:flex-start;width:100%}.competitor-profile-claim-action small{text-align:left}.private-contact-summary{grid-template-columns:1fr}}


/* v15.1.28 - separate Claim Profile and New Competitor */
.competitor-directory-banner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}
.competitor-directory-banner > div{min-width:0}
.competitor-new-button{
    flex:0 0 auto;
    white-space:nowrap;
}
.registration-single-card-wrap{
    max-width:920px;
    margin:0 auto;
}
.registration-single-card{width:100%}
.registration-single-card .profile-found-banner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    margin-bottom:22px;
}
.registration-single-card .profile-found-banner span{
    color:#17447d;
    font-weight:900;
    letter-spacing:.04em;
}
@media(max-width:760px){
    .competitor-directory-banner{
        align-items:flex-start;
        flex-direction:column;
    }
    .competitor-new-button{
        width:100%;
        text-align:center;
    }
    .registration-single-card .profile-found-banner{
        align-items:flex-start;
        flex-direction:column;
        gap:4px;
    }
}


/* v15.1.29 - X-Out-inspired ABRA club directory/profile layout */
.compact-club-banner{
    padding-bottom:26px;
}
.clubs-directory-section{
    background:#f7f8fa;
}
.club-search-panel{
    padding:22px;
    margin-bottom:30px;
    background:#fff;
    border:1px solid #dde2e8;
    border-radius:10px;
    box-shadow:0 4px 16px rgba(0,0,0,.035);
}
.club-search-panel h2{
    margin:0 0 16px;
    color:#222a34;
    font-size:1.35rem;
}
.club-search-form{
    display:grid;
    grid-template-columns:minmax(220px,1fr) 220px auto;
    gap:16px;
    align-items:end;
}
.club-search-form label{
    display:block;
    margin-bottom:6px;
    color:#334155;
    font-size:.8rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.club-search-form input,
.club-search-form select{
    width:100%;
    box-sizing:border-box;
}
.club-search-actions{
    display:flex;
    gap:8px;
    align-items:center;
}
.club-showing-count{
    margin-top:15px;
    color:#657184;
}
.xout-style-state-group{
    margin:0 0 34px;
}
.xout-style-state-group > h2{
    margin:0 0 14px;
    padding-bottom:9px;
    border-bottom:3px solid #c91d25;
    color:#17447d;
    font-size:1.65rem;
}
.xout-style-club-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:16px;
}
.xout-style-club-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:240px;
    padding:20px;
    background:#fff;
    border:1px solid #dde2e8;
    border-radius:9px;
    box-shadow:0 3px 14px rgba(0,0,0,.04);
}
.xout-style-club-card h3{
    margin:0 0 5px;
    font-size:1.25rem;
}
.xout-style-club-card h3 a{
    color:#202630;
}
.xout-style-club-card h3 a:hover{
    color:#c91d25;
}
.xout-club-location{
    color:#667085;
    font-weight:700;
}
.xout-environment-badges{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
    margin:13px 0 16px;
}
.xout-environment-badges span,
.club-detail-environments span{
    display:inline-flex;
    padding:5px 9px;
    border-radius:999px;
    background:#edf2f8;
    color:#17447d;
    font-size:.78rem;
    font-weight:900;
}
.xout-club-facts{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}
.xout-club-facts > div{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.xout-club-facts span{
    color:#6b7280;
    font-size:.74rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.xout-club-facts strong{
    color:#202630;
}
.xout-club-card-actions{
    display:flex;
    gap:18px;
    align-items:center;
    margin-top:19px;
    padding-top:14px;
    border-top:1px solid #e4e7eb;
}
.club-details-link,
.club-map-link{
    color:#17447d;
    font-weight:900;
}
.club-map-link{
    color:#c91d25;
}

/* Club detail */
.club-detail-hero{
    padding:34px 0 30px;
    background:#fff;
    border-bottom:1px solid #dde2e8;
}
.club-detail-state{
    color:#c91d25;
    font-size:.85rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.12em;
}
.club-detail-hero h1{
    margin:7px 0 4px;
    color:#202630;
    font-size:clamp(2rem,4vw,3rem);
}
.club-detail-id{
    color:#667085;
    font-weight:700;
}
.club-detail-environments{
    display:flex;
    flex-wrap:wrap;
    gap:7px;
    margin:16px 0 20px;
}
.club-detail-links{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}
.club-detail-content{
    background:#f7f8fa;
}
.xout-club-detail-grid{
    display:grid;
    grid-template-columns:minmax(0,1.45fr) minmax(300px,.75fr);
    gap:24px;
    align-items:start;
}
.club-detail-panel{
    padding:24px;
    background:#fff;
    border:1px solid #dde2e8;
    border-top:5px solid #c91d25;
    border-radius:9px;
    box-shadow:0 4px 16px rgba(0,0,0,.04);
}
.club-detail-panel h2{
    margin:0 0 22px;
    color:#17447d;
    font-size:1.55rem;
}
.club-detail-fact-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0;
    border-top:1px solid #e3e7ec;
}
.club-detail-fact{
    display:flex;
    flex-direction:column;
    gap:4px;
    padding:15px 0;
    border-bottom:1px solid #e3e7ec;
}
.club-detail-fact:nth-child(odd):not(.full){
    padding-right:18px;
}
.club-detail-fact:nth-child(even){
    padding-left:18px;
    border-left:1px solid #e3e7ec;
}
.club-detail-fact.full{
    grid-column:1/-1;
}
.club-detail-fact span,
.club-contact-list dt{
    color:#6b7280;
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.06em;
}
.club-detail-fact strong{
    color:#202630;
    font-size:1rem;
}
.club-location-map-button{
    display:inline-flex;
    margin-top:18px;
    color:#17447d;
    font-weight:900;
}
.club-contact-list{
    margin:0;
}
.club-contact-list > div{
    padding:14px 0;
    border-bottom:1px solid #e3e7ec;
}
.club-contact-list > div:last-child{
    border-bottom:0;
}
.club-contact-list dt{
    margin-bottom:5px;
}
.club-contact-list dd{
    margin:0;
    color:#202630;
    font-size:1.03rem;
    font-weight:800;
    word-break:break-word;
}
.club-contact-list a{
    color:#17447d;
}

@media(max-width:900px){
    .club-search-form{
        grid-template-columns:1fr 1fr;
    }
    .club-search-actions{
        grid-column:1/-1;
    }
    .xout-club-detail-grid{
        grid-template-columns:1fr;
    }
}
@media(max-width:700px){
    .club-search-form{
        grid-template-columns:1fr;
    }
    .club-search-actions{
        grid-column:auto;
        flex-wrap:wrap;
    }
    .xout-style-club-grid{
        grid-template-columns:1fr;
    }
    .xout-club-facts{
        grid-template-columns:1fr;
        gap:12px;
    }
    .club-detail-fact-grid{
        grid-template-columns:1fr;
    }
    .club-detail-fact.full{
        grid-column:auto;
    }
    .club-detail-fact:nth-child(odd):not(.full),
    .club-detail-fact:nth-child(even){
        padding-left:0;
        padding-right:0;
        border-left:0;
    }
    .club-detail-links .button{
        width:100%;
        text-align:center;
    }
}

/* v15.1.30 - environment-aware clubs and sanctioning */
.club-directory-title-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
.club-environment-selector{display:inline-flex;gap:6px;margin:18px 0 20px;padding:4px;border-radius:999px;background:#edf2f8}
.club-environment-selector a{display:inline-flex;padding:8px 15px;border-radius:999px;color:#17447d;font-weight:900}
.club-environment-selector a.active{background:#17447d;color:#fff}
.club-selected-environment-label{margin:0 0 12px;color:#c91d25;font-size:.8rem;font-weight:900;text-transform:uppercase;letter-spacing:.1em}
.club-admin-edit-link{display:inline-flex;align-items:center;color:#17447d;font-weight:900}
.sanction-request-section{background:#f7f8fa}.sanction-request-heading{margin:16px 0 24px}.sanction-request-heading h1{margin:6px 0}
.sanction-request-form{display:flex;flex-direction:column;gap:18px}
.sanction-form-card{padding:24px;background:#fff;border:1px solid #dde2e8;border-top:5px solid #c91d25;border-radius:9px;box-shadow:0 4px 16px rgba(0,0,0,.04)}
.sanction-form-card h2{margin:0 0 18px;color:#17447d}.sanction-form-card h3{margin:0 0 14px;color:#283444}
.sanction-choice-row{display:flex;gap:20px;flex-wrap:wrap;margin:6px 0 16px}.sanction-choice-row label,.check-line{display:flex!important;align-items:center;gap:8px;font-weight:800}.sanction-choice-row input,.check-line input{width:auto!important}
.environment-entry-card{margin:14px 0;padding:18px;border:1px solid #dce2e8;border-radius:8px;background:#fafbfc}.environment-entry-card.compact{margin-top:20px}.field-note{color:#667085;font-size:.9rem}
.environment-admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:22px 0}.environment-admin-card{padding:20px;border:1px solid #dde2e8;border-radius:8px;background:#fafbfc}
.club-request-review-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:14px 0 18px}.club-request-review-grid>div{padding:12px;background:#f7f8fa;border:1px solid #e1e5ea;border-radius:7px}.club-request-review-grid span{display:block;margin-bottom:4px;color:#667085;font-size:.7rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}.club-request-review-grid strong{color:#202630}
@media(max-width:850px){.club-directory-title-row{align-items:flex-start;flex-direction:column}.environment-admin-grid,.club-request-review-grid{grid-template-columns:1fr}}


/* v15.1.31 - X-Out-inspired Admin Portal structure */
.admin-workspace-section{
    background:#f5f6f8;
    min-height:70vh;
}
.admin-page-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:18px;
}
.admin-page-heading h1{
    margin:4px 0 0;
    font-size:2.15rem;
    color:#222a34;
}
.admin-page-heading p{
    margin:5px 0 0;
    color:#5f6b7a;
}
.admin-main-nav{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:0 0 22px;
}
.admin-main-nav a{
    padding:12px 18px;
    border:1px solid #d6dce3;
    border-radius:7px;
    background:#fff;
    color:#202630;
    font-weight:900;
}
.admin-main-nav a.active{
    background:#141414;
    border-color:#141414;
    color:#fff;
}
.admin-subtabs{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
    margin:0 0 18px;
}
.admin-subtabs a{
    padding:11px 17px;
    border:1px solid #d6dce3;
    border-radius:7px;
    background:#fff;
    color:#202630;
    font-weight:900;
}
.admin-subtabs a.active{
    background:#c91d25;
    border-color:#c91d25;
    color:#fff;
}
.admin-dashboard-cards{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:16px;
    margin:0 0 24px;
}
.admin-dashboard-cards a{
    display:flex;
    flex-direction:column;
    gap:5px;
    min-height:105px;
    padding:22px;
    border:1px solid #dce1e7;
    border-top:5px solid #c91d25;
    border-radius:8px;
    background:#fff;
    color:#202630;
}
.admin-dashboard-cards strong{
    font-size:2rem;
    line-height:1;
}
.admin-dashboard-cards span{
    color:#5f6b7a;
    font-size:.78rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.admin-toolbar-card,
.admin-section-card,
.admin-table-card{
    background:#fff;
    border:1px solid #dce1e7;
    border-radius:8px;
}
.admin-toolbar-card{
    padding:14px 16px;
    margin-bottom:16px;
}
.admin-search-toolbar{
    display:flex;
    align-items:end;
    gap:10px;
    flex-wrap:wrap;
}
.admin-search-toolbar .grow{
    flex:1 1 420px;
}
.admin-search-toolbar label{
    display:block;
    margin-bottom:5px;
    color:#647084;
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.admin-search-toolbar input{
    width:100%;
}
.button.dark{
    background:#141414!important;
    border-color:#141414!important;
    color:#fff!important;
}
.button.light{
    background:#e7ebf0!important;
    border-color:#e7ebf0!important;
    color:#253047!important;
}
.admin-table-card{
    overflow:auto;
}
.admin-clean-table{
    width:100%;
    border-collapse:collapse;
}
.admin-clean-table thead{
    background:#141414;
    color:#fff;
}
.admin-clean-table th{
    padding:13px 14px;
    text-align:left;
    font-size:.72rem;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.admin-clean-table td{
    padding:13px 14px;
    border-bottom:1px solid #e2e6eb;
    vertical-align:middle;
}
.admin-clean-table td small{
    display:block;
    color:#718096;
    margin-top:2px;
}
.admin-row-action{
    color:#c91d25;
    font-weight:900;
    white-space:nowrap;
}
.admin-env-pills{
    display:flex;
    gap:6px;
    flex-wrap:wrap;
}
.admin-env-pills span{
    display:inline-flex;
    padding:4px 8px;
    border-radius:999px;
    background:#eef2f6;
    color:#253047;
    font-size:.78rem;
    font-weight:800;
}
.admin-section-card{
    padding:20px;
    margin-top:22px;
}
.admin-section-title{
    margin-bottom:16px;
}
.admin-section-title h2{
    margin:4px 0 0;
}
.admin-pagination{
    margin:16px 0 0;
}
.admin-edit-form{
    max-width:920px;
}
@media(max-width:900px){
    .admin-dashboard-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:650px){
    .admin-dashboard-cards{grid-template-columns:1fr}
    .admin-main-nav a,.admin-subtabs a{flex:1 1 100%;text-align:center}
    .admin-search-toolbar .button,.admin-search-toolbar button{width:100%;text-align:center}
}

/* v15.1.32 - DOB first-entry / admin-only correction */
.profile-dob-first-entry,
.profile-dob-locked{
    margin:14px 0;
    padding:14px 16px;
    border:1px solid #dce2e8;
    border-radius:8px;
    background:#f8fafc;
}
.profile-dob-first-entry small,
.profile-dob-locked small,
.admin-dob-edit-row small{
    display:block;
    margin-top:5px;
    color:#667085;
}
.profile-dob-locked span{
    display:block;
    color:#667085;
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.05em;
}
.profile-dob-locked strong{
    display:block;
    margin-top:3px;
    color:#202630;
}


/* v15.1.33 - Admin Tools */
.admin-tools-stack{
    display:flex;
    flex-direction:column;
    gap:16px;
}
.admin-tool-collapsible{
    border:1px solid #dce1e7;
    border-radius:9px;
    background:#fff;
    overflow:hidden;
}
.admin-tool-collapsible > summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:20px 22px;
    cursor:pointer;
    list-style:none;
}
.admin-tool-collapsible > summary::-webkit-details-marker{
    display:none;
}
.admin-tool-collapsible > summary > div{
    display:flex;
    flex-direction:column;
    gap:4px;
}
.admin-tool-collapsible > summary strong{
    color:#222a34;
    font-size:1.35rem;
}
.admin-tool-collapsible > summary::after{
    content:'⌄';
    margin-left:auto;
    color:#17447d;
    font-size:1.2rem;
    font-weight:900;
    transition:transform .18s ease;
}
.admin-tool-collapsible[open] > summary::after{
    transform:rotate(180deg);
}
.admin-tool-summary-count{
    margin-left:auto;
    padding:5px 10px;
    border-radius:999px;
    background:#eef2f6;
    color:#17447d;
    font-size:.78rem;
    font-weight:900;
    white-space:nowrap;
}
.admin-tool-body{
    padding:0 22px 22px;
    border-top:1px solid #e5e9ee;
}
.admin-tool-inline-form{
    display:flex;
    align-items:end;
    gap:10px;
    margin:18px 0;
}
.admin-tool-inline-form .grow{
    flex:1 1 auto;
}
.admin-tool-list{
    border-top:1px solid #e5e9ee;
}
.admin-tool-list-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:14px 0;
    border-bottom:1px solid #e5e9ee;
}
.admin-tool-list-row small{
    display:block;
    margin-top:3px;
    color:#667085;
}
.admin-text-action{
    padding:0;
    border:0;
    background:transparent;
    font:inherit;
    font-weight:900;
    cursor:pointer;
}
.admin-text-action.danger{
    color:#c91d25;
}
.admin-id-resolve-form{
    display:flex;
    gap:8px;
    align-items:center;
    min-width:min(520px,55%);
}
.admin-id-resolve-form input{
    min-width:0;
    flex:1 1 auto;
}
.compact-empty{
    margin-top:18px;
}
@media(max-width:760px){
    .admin-tool-inline-form,
    .admin-tool-list-row,
    .admin-id-resolve-form{
        align-items:stretch;
        flex-direction:column;
    }
    .admin-id-resolve-form{
        min-width:0;
        width:100%;
    }
    .admin-tool-inline-form .button,
    .admin-id-resolve-form .button{
        width:100%;
        text-align:center;
    }
}


/* v15.1.34 - canonical club information parity across request/admin/MD/public */
.club-billing-admin-card{
    margin:18px 0;
}
.environment-management-form .environment-admin-card h2{
    margin-top:0;
}


/* v15.1.35 - active environment visibility */
.club-environment-status-card{
    margin:18px 0 22px;
    padding:18px;
    border:1px solid #dce2e8;
    border-radius:8px;
    background:#f8fafc;
}
.club-environment-status-card h2{
    margin:0 0 6px;
}
.club-environment-status-card p{
    margin:0 0 14px;
    color:#667085;
}
.md-environment-access-note{
    margin:0 0 18px;
    padding:12px 14px;
    border-left:4px solid #17447d;
    background:#f5f8fc;
    color:#202630;
}
.md-environment-access-note small{
    display:block;
    margin-top:4px;
    color:#667085;
}


/* v15.1.37 - account cleanup and password management */
.account-key-facts{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    margin-bottom:18px;
}
.account-key-facts > div,
.admin-account-status > div{
    padding:14px;
    border:1px solid #dce2e8;
    border-radius:7px;
    background:#f7f9fb;
}
.account-key-facts span,
.admin-account-status span{
    display:block;
    color:#667085;
    font-size:.72rem;
    font-weight:900;
    text-transform:uppercase;
    letter-spacing:.04em;
}
.account-key-facts strong,
.admin-account-status strong{
    display:block;
    margin-top:4px;
}
.account-key-facts small{
    display:block;
    margin-top:5px;
    color:#667085;
}
.locked-profile-note{
    margin:12px 0 16px;
    padding:10px 12px;
    border-left:4px solid #17447d;
    background:#f5f8fc;
}
.admin-account-security-panel{margin-top:18px}
.admin-account-status{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
    margin-bottom:18px;
}
.admin-password-actions{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.admin-password-actions form{
    padding:16px;
    border:1px solid #dce2e8;
    border-radius:8px;
    background:#f8fafc;
}
@media(max-width:760px){
    .account-key-facts,
    .admin-account-status,
    .admin-password-actions{grid-template-columns:1fr}
}

/* v15.1.39 - xout-style MD management */
.md-assignment-heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:20px;
}
.md-chip-wrap{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
}
.md-assignment-chip{
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:6px 10px;
    border-radius:999px;
    background:#eef2f6;
    color:#162033;
    font-size:.82rem;
    font-weight:800;
}
.md-assignment-chip small{
    color:#667085;
    font-weight:700;
}
.md-environment-assignment-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
}
.md-current-assignment-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:12px 0;
    border-bottom:1px solid #e5e9ee;
}
.md-current-assignment-row small{
    display:block;
    margin-top:2px;
    color:#667085;
}
.md-inline-add{
    display:flex;
    gap:8px;
}
.md-inline-add input{flex:1 1 auto}
.admin-md-access-panel{margin-top:18px}
.md-access-picker{
    margin:14px 0;
    border:1px solid #dce2e8;
    border-radius:8px;
    background:#fff;
    overflow:hidden;
}
.md-access-picker > summary{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:16px;
    padding:15px 16px;
    cursor:pointer;
    background:#f8fafc;
}
.md-access-options{
    max-height:420px;
    overflow:auto;
    padding:4px 16px 12px;
}
.md-access-club-row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:12px 0;
    border-bottom:1px solid #e5e9ee;
}
.md-access-club-name small{
    display:block;
    margin-top:2px;
    color:#667085;
}
.md-access-env-options{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.md-access-env-options label{
    display:flex;
    align-items:center;
    gap:6px;
    font-weight:800;
}
@media(max-width:760px){
    .md-assignment-heading,
    .md-current-assignment-row,
    .md-access-club-row,
    .md-inline-add{
        align-items:stretch;
        flex-direction:column;
    }
    .md-environment-assignment-grid{grid-template-columns:1fr}
    .md-assignment-heading .button{width:100%;text-align:center}
}