/* Sales Board admin. Values copied from the approved reference pages in the
   handover pack (screens/admin-*.html). Do not round them. */
@import url('/assets/fonts.css');
body { margin: 0; }
a { color: #A30F28; }
a:hover { color: #7A0B1E; }
[hidden] { display: none !important; }

.page { position: relative; min-height: 100vh; background: #F3F3F4; color: #151517; font-family: Barlow, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.5; }

/* top bar */
.topbar { background: #000000; color: #FFFFFF; }
.topbar-in { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 14px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.topbar-left, .topbar-right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.topbar-right { font-size: 15px; }
.logo-sm { display: block; width: 176px; height: 34px; }
.product { font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; color: #C8C8CD; }
.topbar a { color: #FFFFFF; }
.btn-live { box-sizing: border-box; height: 44px; padding: 0 18px; display: flex; align-items: center; border-radius: 4px; background: #C41230; color: #FFFFFF; border: 0; font: inherit; font-weight: 700; cursor: pointer; }

/* tabs */
.tabs { background: #FFFFFF; border-bottom: 1px solid #DEDEE2; }
.tabs-in { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 0 32px; display: flex; flex-wrap: wrap; gap: 0 32px; }
.tab { box-sizing: border-box; height: 56px; display: flex; align-items: center; gap: 8px; border-bottom: 3px solid transparent; color: #5C5C63; font-weight: 600; text-decoration: none; }
.tab[aria-current="page"] { border-bottom-color: #C41230; color: #151517; font-weight: 700; }
.tab:hover { color: #151517; }
.badge { box-sizing: border-box; min-width: 22px; height: 22px; padding: 0 6px; display: inline-flex; align-items: center; justify-content: center; background: #C41230; font-weight: 700; font-size: 13px; color: #FFFFFF; }

/* page body */
main.wrap { box-sizing: border-box; max-width: 1280px; margin: 0 auto; padding: 36px 32px 56px; display: flex; flex-direction: column; gap: 28px; }
.head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.head-text { display: flex; flex-direction: column; gap: 8px; }
h1.title { margin: 0; font-family: Rokkitt, Rockwell, serif; font-weight: 800; font-size: 46px; line-height: 44px; letter-spacing: 1px; text-transform: uppercase; }
.lede { margin: 0; max-width: 700px; color: #5C5C63; }
.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label, .lbl { font-weight: 600; font-size: 14px; }
.field label.muted { color: #5C5C63; }
.hint { font-size: 14px; color: #5C5C63; }
.err { font-size: 14px; font-weight: 600; color: #A30F28; }
input.in, select.in { box-sizing: border-box; height: 44px; padding: 0 12px; border: 1px solid #B9B9C0; border-radius: 4px; background: #FFFFFF; font: inherit; color: #151517; }
input.in.w100, select.in.w100 { width: 100%; }
input.num { width: 110px; font-weight: 700; }
input.in:focus, select.in:focus, button:focus-visible, a:focus-visible { outline: 2px solid #C41230; outline-offset: 2px; }

/* buttons */
.btn { height: 44px; padding: 0 14px; border: 1px solid #B9B9C0; border-radius: 4px; background: #FFFFFF; font: inherit; font-weight: 600; color: #151517; cursor: pointer; }
.btn-red { height: 44px; padding: 0 20px; border: 0; border-radius: 4px; background: #C41230; font: inherit; font-weight: 700; color: #FFFFFF; cursor: pointer; }
.btn-dark { height: 44px; padding: 0 12px; border: 1px solid #151517; border-radius: 4px; background: #151517; font: inherit; font-weight: 600; color: #FFFFFF; cursor: pointer; }
.btn:disabled, .btn-red:disabled { opacity: .6; cursor: default; }

/* stat cards */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.stat { background: #FFFFFF; border: 1px solid #DEDEE2; padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.cap { font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #5C5C63; }
.big { font-family: Rokkitt, Rockwell, serif; font-weight: 800; font-size: 46px; line-height: 40px; }

/* tables */
.table { background: #FFFFFF; border: 1px solid #DEDEE2; overflow-x: auto; }
.trow { display: grid; column-gap: 20px; align-items: center; min-height: 64px; padding: 0 24px; border-bottom: 1px solid #EDEDF0; color: #151517; }
.thead { min-height: 0; padding: 12px 24px; border-bottom: 1px solid #DEDEE2; font-weight: 700; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: #5C5C63; }
.trow.grey { color: #6E6E76; }
.clubs-grid { min-width: 1040px; }
.clubs-grid .trow { grid-template-columns: 130px minmax(170px, 1.3fr) 150px 100px minmax(180px, 1.6fr) 120px 90px; }
.people-grid { min-width: 1160px; }
.people-grid .trow { grid-template-columns: 116px minmax(150px, 1.1fr) 105px 125px minmax(150px, 1.1fr) 70px 130px 196px; column-gap: 16px; }
.cell-name { font-weight: 700; font-size: 18px; }
.cell-bold { font-weight: 700; }
.cell-semi { font-weight: 600; }
.cell-right { text-align: right; }
.cell-actions { display: flex; justify-content: flex-end; gap: 8px; }
.names { display: flex; flex-direction: column; color: #5C5C63; }
.names .second { font-size: 14px; }
.bar-cell { display: flex; align-items: center; gap: 14px; }
.bar { flex: 1; height: 8px; background: #E6E6EA; }
.bar > div { height: 8px; background: #C41230; }
.bar-pct { width: 52px; text-align: right; font-weight: 700; white-space: nowrap; }
.bar-pct.none { width: auto; font-weight: 600; color: #5C5C63; }
.foot { padding: 14px 24px; font-size: 14px; color: #5C5C63; display: flex; flex-direction: column; gap: 4px; }
.saved { margin-left: 8px; font-size: 13px; font-weight: 700; color: #5C5C63; }

/* switch */
.switch { height: 44px; padding: 0; border: 0; background: transparent; display: flex; align-items: center; gap: 10px; font: inherit; font-weight: 700; color: #151517; cursor: pointer; }
.switch .track { display: block; box-sizing: border-box; width: 52px; height: 28px; padding: 3px; border-radius: 14px; background: #8E8E93; }
.switch .knob { display: block; width: 22px; height: 22px; border-radius: 11px; background: #FFFFFF; transition: transform .15s; transform: translateX(0px); }
.switch[aria-checked="true"] .track { background: #C41230; }
.switch[aria-checked="true"] .knob { transform: translateX(24px); }

/* panels */
.row2 { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.panel { box-sizing: border-box; background: #FFFFFF; border: 1px solid #DEDEE2; padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.panel-main { flex: 999 1 520px; min-width: 0; }
h2.sub { margin: 0; font-family: Rokkitt, Rockwell, serif; font-weight: 800; font-size: 28px; line-height: 28px; letter-spacing: 1px; text-transform: uppercase; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; align-items: end; }
.form-grid.people { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); align-items: start; }
.form-grid.people .btn-red { margin-top: 27px; }
.alert { background: #FDECEF; color: #7A0B1E; padding: 12px 16px; font-weight: 600; }
.note { margin: 0; font-size: 14px; color: #5C5C63; }

.live { flex: 1 1 320px; min-width: 0; box-sizing: border-box; background: #151517; color: #FFFFFF; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.live p { margin: 0; color: #C8C8CD; }
.live .cap { color: #C8C8CD; }
.btn-white { box-sizing: border-box; height: 44px; padding: 0 16px; display: flex; align-items: center; border-radius: 4px; background: #FFFFFF; color: #151517; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.live select.in { border-color: #8E8E93; font-weight: 600; }
.live .small { font-size: 14px; color: #C8C8CD; }
.pb8 { padding-bottom: 8px; }
.tv-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; border-top: 1px solid #3A3A40; }

/* dialogs */
.overlay { color: #151517; font-family: Barlow, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.5; position: fixed; inset: 0; z-index: 20; background: rgba(11, 11, 12, 0.62); display: flex; justify-content: center; align-items: flex-start; padding: 110px 24px 24px; overflow-y: auto; }
.dialog { box-sizing: border-box; width: 100%; max-width: 560px; background: #FFFFFF; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.dialog.narrow { max-width: 520px; }
.dialog h2 { margin: 0; font-family: Rokkitt, Rockwell, serif; font-weight: 800; font-size: 30px; line-height: 30px; letter-spacing: 1px; text-transform: uppercase; }
.dialog p { margin: 0; color: #5C5C63; }
.dialog .note { font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-row .btn { padding: 0 16px; }

/* sign in */
.signin { box-sizing: border-box; min-height: 100vh; background: #000000; color: #151517; font-family: Barlow, 'Helvetica Neue', Arial, sans-serif; font-size: 16px; line-height: 1.5; padding: 48px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px; }
.logo-lg { display: block; width: 290px; height: 56px; max-width: 100%; }
.signin-card { box-sizing: border-box; width: 100%; max-width: 440px; background: #FFFFFF; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.signin-card .center { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.signin-card h1 { margin: 0; font-family: Rokkitt, Rockwell, serif; font-weight: 800; font-size: 38px; line-height: 36px; letter-spacing: 1px; text-transform: uppercase; }
.signin-card p { margin: 0; color: #5C5C63; }
.signin-card input.in { height: 48px; }
.signin-card .btn-red { height: 48px; width: 100%; }
.signin-card .small { font-size: 14px; text-align: center; }
.stack { display: flex; flex-direction: column; gap: 20px; }

.placeholder { background: #FFFFFF; border: 1px solid #DEDEE2; padding: 24px; color: #5C5C63; }
