/* GoPlay club workspace: one accessible visual language across every role. */
:root {
  --ink: #17263c;
  --muted: #617087;
  --line: #e1e7ef;
  --snow: #f4f7fb;
  --paper: #fff;
  --dark: #112138;
  --blue: #285bd5;
  --blue-dark: #214ab0;
  --red: #c62d44;
  --red-dark: #a61e34;
  --radius: 14px;
  --display: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 3px 15px #1c365308;
}
body { background: var(--snow); font-size: 1rem; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { text-wrap: pretty; }
button, input, select, textarea { font-family: var(--sans); }
button:disabled { opacity: .55; cursor: not-allowed; }
:focus-visible { outline: 3px solid #90b5ff; outline-offset: 3px; }
.btn, .btn-primary, .btn-secondary, .btn-text, .sc-btn, .icon-button { border-radius: 8px; font-size: .875rem; font-weight: 650; }
.btn, .btn-primary, .btn-secondary, .sc-btn { min-height: 42px; padding: 10px 15px; }
.btn-primary, .sc-btn-primary { background: var(--blue); border-color: var(--blue); box-shadow: 0 2px 3px #285bd512; }
.btn-primary:hover, .sc-btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-secondary, .sc-btn-quiet { background: white; border: 1px solid #d5deea; color: #334660; box-shadow: 0 1px 2px #17263c04; }
.btn-secondary:hover, .sc-btn-quiet:hover { background: #f4f7fd; border-color: #aabbda; }
.btn-text { padding: 6px 0; color: var(--blue); }
.btn-small { min-height: 34px; padding: 7px 11px; }
.icon-button { width: 40px; height: 40px; background: white; color: #53647e; border-color: var(--line); }
.tag, .sc-badge { border-radius: 6px; padding: 5px 9px; font-size: .8125rem; font-weight: 600; line-height: 1.3; background: #edf1f7; color: #4b5c75; }
.tag.green, .sc-badge.sc-green { color: #176747; background: #e8f6ef; }
.tag.red, .sc-badge.sc-red { color: #a02c3f; background: #fcecef; }
.tag.blue { color: #2855b0; background: #eaf0ff; }
.gp-warning { background: #fff7e7; color: #8b5a0f; border: 1px solid #f0ddb5; }
input:not([type='checkbox']):not([type='radio']):not([type='file']), select, textarea {
  border: 1px solid #cfdae8; border-radius: 8px; min-height: 44px; background-color: white; color: var(--ink); box-shadow: 0 1px 2px #17263c03;
}
input::placeholder, textarea::placeholder { color: #7d899b; }
input:focus, select:focus, textarea:focus { border-color: #7a9ce8; }
textarea { height: auto; min-height: 112px; line-height: 1.65; }
select:not([multiple]):not([size]) {
  appearance: none; padding-right: 38px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23617087' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center;
}
input[type='checkbox'], input[type='radio'] { accent-color: var(--blue); }
.form-field > span, .sc-input > span { font-weight: 650; font-size: .875rem; }
.form-field small, .sc-input small, .form-hint { font-size: .8125rem; color: var(--muted); line-height: 1.55; }
.form-stack { gap: 18px; }
.form-grid, .sc-form-grid { gap: 18px; }
.inline-info, .inline-error, .completion-notice, .fund-readiness, .sc-note, .sc-error, .fee-summary { border-radius: 10px; }
.inline-info, .fund-readiness { background: #edf3ff; border-color: #d3e0fa; color: #365c95; }
.inline-error, .sc-error { background: #fff0f2; border-color: #f0ced6; color: #9b263d; }
.form-status:empty { display: none; }

/* Compact, persistent navigation and a useful command bar. */
.app-shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100dvh; }
.sidebar { background: #13243b; border: 0; padding: 25px 14px 16px; scrollbar-color: #49617f transparent; }
.sidebar .brand { margin: 0 15px 23px; }
.brand-words .goplay-wordmark, .sidebar .brand-words .goplay-wordmark { font: 850 italic 1.8rem/1 var(--sans); letter-spacing: -.08em; }
.goplay-wordmark span, .sidebar .goplay-wordmark span { color: #80adff; }
.brand-words small, .sidebar .brand-words small { font-size: .625rem; letter-spacing: .19em; font-weight: 650; margin-top: 4px; }
.sidebar-club { border: 1px solid #ffffff14; border-radius: 10px; padding: 13px 12px; gap: 11px; background: #ffffff05; margin-bottom: 13px; }
.sidebar-club strong { font-size: .875rem; }
.sidebar-club small { font-size: .75rem; color: #9eb2cc; }
.sidebar-club img { width: 30px; height: 35px; }
.workspace-switch, .workspace-label { background: #203753; border: 1px solid #ffffff12; border-radius: 8px; padding: 10px 11px; }
.switch-copy strong { font-size: .8125rem; font-weight: 650; }
.switch-copy small { color: #b4c7df; font-size: .75rem; }
.workspace-label { font-size: .8125rem; color: #d5e2f5; }
.sidebar nav { gap: 3px; }
.sidebar .section-label { font-size: .625rem; color: #8ca5c4; letter-spacing: .13em; font-weight: 650; margin: 24px 12px 9px; }
.side-link { min-height: 41px; padding: 10px 12px; border: 0; border-radius: 8px; font-size: .875rem; font-weight: 500; gap: 11px; color: #bccce1; }
.side-link .icon { width: 18px; height: 18px; color: #8fa9c8; }
.side-link:hover { background: #203751; color: white; }
.side-link[aria-current='page'] { background: #2c5bba; color: white; font-weight: 650; box-shadow: 0 3px 12px #00000012; }
.side-link[aria-current='page'] .icon { color: white; }
.side-link[aria-current='page']::before { display: none; }
.sidebar-footer { margin-top: 26px; padding-top: 14px; border-color: #ffffff14; }
.sidebar-footer .home-link { padding: 9px 12px; font-size: .8125rem; min-height: 35px; }
.gp-help-link { appearance: none; border: 0; background: none; text-align: left; cursor: pointer; }
.goplay-credit { font-size: .6875rem; color: #91a7c4; padding: 12px 12px 0; }
.workspace-body { min-width: 0; background: var(--snow); }
.appbar { height: 72px; min-height: 72px; padding: 12px 30px; gap: 18px; border-bottom: 1px solid var(--line); background: #ffffffed; position: sticky; top: 0; z-index: 9; backdrop-filter: blur(12px); }
.crumb { gap: 9px; font-size: .8125rem; flex: 1; min-width: 0; }
.crumb > .icon { width: 13px; height: 13px; color: #9aabc1; }
.crumb-first { color: #6d7e95; }
.gp-command { display: flex; gap: 10px; align-items: center; background: #f6f8fc; border: 1px solid #e4eaf3; color: #6b7c94; border-radius: 8px; min-height: 39px; padding: 8px 12px; font-size: .8125rem; width: 230px; text-align: left; }
.gp-command .icon { width: 17px; height: 17px; }
.gp-command kbd { margin-left: auto; font: 500 .6875rem var(--sans); padding: 2px 4px; border: 1px solid #dce4f0; border-radius: 4px; color: #8b9ab0; background: white; }
.gp-command:hover { border-color: #b8c9e9; background: #f1f5fc; }
.gp-activity-button { position: relative; border: 0; background: none; }
.gp-activity-count { position: absolute; right: 0; top: 0; min-width: 17px; height: 17px; display: grid; place-items: center; border-radius: 10px; background: #c62d44; color: white; font-size: .625rem; padding: 0 4px; border: 2px solid white; }
.account-button { gap: 9px; padding-left: 16px; font-size: .8125rem; }
.account-name { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.avatar { border-radius: 50%; width: 35px; height: 35px; background: #eaf0ff; color: #3860b7; font-size: .75rem; }
.account-menu { width: 260px; border: 1px solid var(--line); border-radius: 12px; padding: 16px; box-shadow: 0 15px 50px #17263c1c; }
.account-menu > p { font-size: .8125rem; word-break: break-word; margin-bottom: 12px; }
.account-menu .btn-text { width: 100%; justify-content: flex-start; }
.gp-account-role { font-size: .75rem; color: var(--muted); padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.view-root { width: 100%; max-width: 1700px; margin-inline: auto; padding: 30px 30px 64px; }
.preview-strip { background: #e9f1ff; font-size: .8125rem; padding: 10px 30px; }
.page-heading, .sc-heading { margin-bottom: 23px; gap: 20px; align-items: center; }
.page-heading h1, .view-root > h1, .sc-heading h1 { font: 720 clamp(1.65rem, 2.1vw, 2rem)/1.22 var(--sans); letter-spacing: -.045em; }
.page-heading p, .sc-heading p { font-size: .9375rem; line-height: 1.6; margin-top: 7px; max-width: 75ch; }
.page-eyebrow, .program-season, .eyebrow { font-size: .6875rem; letter-spacing: .1em; color: #6381ad; font-weight: 700; }
.page-heading .page-eyebrow { margin-bottom: 8px; }
.page-heading .page-eyebrow + h1 { margin-top: 0; }
.sc-staff { gap: 22px; }

/* Consistent, readable cards with less empty space. */
.card, .sc-panel, .sc-field-card, .sc-clock, .fundraiser-card, .sc-fund-card, .following-card { border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.card, .sc-panel { padding: 22px; }
.card, .sc-panel, .form-stack, .dialog-inner { min-width: 0; }
.view-root > .card + .card { margin-top: 20px; }
.card-head, .sc-panel-head { margin-bottom: 15px; padding-bottom: 16px; border-color: #edf0f5; gap: 15px; }
.card h2, .sc-panel h2, .sc-clock h2, .sc-field-card h2, .sub-heading { font: 700 1.0625rem/1.4 var(--sans); letter-spacing: -.025em; }
.card-head p, .sc-panel-head p { font-size: .8125rem; line-height: 1.6; margin-top: 5px; }
.card h3 { font-size: .9375rem; }
.data-row, .sc-line { padding: 14px 0; gap: 14px; }
.sc-line-copy strong, .row-body strong { font-size: .9375rem; font-weight: 650; }
.row-body p, .sc-line-copy p { font-size: .8125rem; line-height: 1.55; margin-top: 4px; }
.row-icon { background: #f0f4fd; border-radius: 9px; width: 36px; height: 36px; }
.empty-state, .sc-empty { background: #f8fafd; border: 1px dashed #d9e2ef; border-radius: 10px; padding: 25px 20px; color: #546780; }
.empty-state h3, .sc-empty strong { font-size: .9375rem; color: #334863; }
.empty-state p, .sc-empty p { font-size: .875rem; max-width: 60ch; line-height: 1.65; }
.family-grid, .sc-two { gap: 20px; }
.kpi-grid, .sc-tiles, .sc-fin-metrics, .fund-metrics { gap: 16px; }
.kpi, .sc-tile, .sc-fin-metrics > div, .fund-metric { border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow); gap: 12px; }
.kpi:hover, .sc-tile:hover { border-color: #b5c9ec; background: white; box-shadow: 0 4px 16px #285bd509; }
.kpi strong, .sc-tile strong, .sc-fin-metrics strong, .fund-metric > strong { font: 700 clamp(1.5rem, 2.1vw, 2rem)/1.1 var(--sans); letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin-top: 0; }
.kpi-top, .sc-tile span, .sc-fin-metrics span, .fund-metric > span { font-size: .8125rem; color: #687b95; font-weight: 550; }
.kpi-top .icon { width: 17px; height: 17px; color: #7a9bce; }
.dash-hero, .sc-overview-band { border: 1px solid #dce5f1; border-radius: 14px; background: white; color: var(--ink); min-height: 0; padding: 24px 26px; margin: 0 0 22px; box-shadow: var(--shadow); }
.dash-hero::before, .dash-hero::after, .sc-overview-band::before { display: none; }
.dash-hero > .cover-photo { display: none; }
.dash-copy { padding: 0; max-width: 100%; }
.dash-copy .hero-kicker, .sc-band-date { font-size: .75rem; color: #6a81a1; letter-spacing: .02em; text-transform: none; font-weight: 500; }
.sc-band-date::before { display: none; }
.dash-copy h1, .sc-overview-band h1 { font: 720 clamp(1.65rem, 2.2vw, 2.1rem)/1.25 var(--sans); letter-spacing: -.04em; color: var(--ink); margin: 8px 0; }
.dash-copy p, .sc-overview-band p { font-size: .9375rem; color: var(--muted); line-height: 1.6; max-width: 65ch; }
.dash-copy .btn { margin-top: 16px; }
.sc-shift-status { color: var(--ink); border-left: 1px solid var(--line); padding-left: 24px; }
.sc-shift-status > span { color: var(--muted); font-size: .75rem; }
.sc-shift-status > strong { font-size: .9375rem; }
.sc-shift-status .sc-btn-light { background: #f3f6fc; color: var(--blue); border: 1px solid #dbe5f5; }
.sc-btn-tool { min-height: 46px; background: #f8fafd; border-color: #e5ebf4; border-radius: 9px; font-size: .875rem; }
.tabs, .sc-tabs { gap: 5px; border-bottom: 1px solid var(--line); margin-bottom: 20px; overflow-x: auto; flex-wrap: nowrap; scrollbar-width: thin; scrollbar-color: #b8c7dd transparent; }
.tabs button, .sc-tabs button { flex-shrink: 0; min-height: 43px; padding: 11px 15px; font-size: .875rem; font-weight: 550; color: #718199; border: 0; border-bottom: 2px solid transparent; background: none; border-radius: 6px 6px 0 0; }
.tabs button[aria-pressed='true'], .sc-tabs button[aria-pressed='true'] { color: var(--blue); border-bottom-color: var(--blue); background: #ebf1ff; font-weight: 650; }
.tabs button:hover, .sc-tabs button:hover { background: #edf2fb; }
.toolbar { gap: 14px; margin-bottom: 20px; }
.sc-entry h3 { font-size: 1rem; font-weight: 650; letter-spacing: -.015em; }
.sc-entry-body { font-size: .9375rem; color: #53647d; }
.sc-entry-meta { font-size: .8125rem; }
.sc-field-card { gap: 12px; padding: 22px; }
.sc-field-card h2 { margin-top: 0; }
.sc-field-card p { font-size: .875rem; }
.sc-defs { font-size: .875rem; }
.profile-card { border-top: 1px solid var(--line); }
.profile-card .avatar { width: 52px; height: 52px; border-radius: 12px; font: 700 1.125rem var(--sans); }
.profile-card .profile-top h2 { font-size: 1.125rem; }
.profile-card .meta { font-size: .8125rem; }
.profile-bio { font-size: .9375rem; }
.profile-card .actions { margin-top: 17px; padding-top: 15px; }
.program-card { border-top: 1px solid var(--line); }
.program-card > h2 { font: 700 1.125rem/1.4 var(--sans); }
.photo-card { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.photo-meta strong { font-size: .9375rem; }
.completion-notice { padding: 16px 20px; background: #fff9ed; border: 1px solid #f1e0b9; gap: 14px; }
.completion-notice strong { font-size: .9375rem; }
.completion-notice p { font-size: .875rem; }

/* Community, finance and player records use the same quiet hierarchy. */
.fund-intro { border: 1px solid #d7e3f7; border-radius: 14px; padding: 26px; background: #edf3ff; color: var(--ink); }
.fund-intro h2 { font: 700 1.5rem/1.25 var(--sans); letter-spacing: -.03em; text-transform: none; margin: 9px 0; }
.fund-intro p { color: #5e7494; font-size: .9375rem; line-height: 1.65; }
.fund-intro .hero-kicker { color: #4569a1; }
.fund-intro-icon .icon { width: 64px; height: 64px; color: #89a8df; }
.fundraiser-grid { gap: 20px; }
.fundraiser-cover { border: 0; border-bottom: 1px solid var(--line); border-radius: 13px 13px 0 0; padding: 21px; background: #f9fbff; color: var(--ink); }
.fundraiser-cover h2 { font: 700 1.125rem/1.3 var(--sans); margin-top: 5px; }
.fundraiser-cover .program-season { color: #7386a1; font-size: .6875rem; }
.fundraiser-cover .tag { color: #5b6f8d; background: #e9eef7; border: 0; }
.fundraiser-cover .tag.green { color: #176747; background: #e4f4eb; border: 0; }
.fund-avatar { width: 45px; height: 45px; clip-path: none; border-radius: 12px; background: #e6edff; color: #4068bd; font: 650 1rem var(--sans); }
.fundraiser-body { padding: 22px; }
.fund-progress-copy strong { font: 700 1.75rem/1.2 var(--sans); letter-spacing: -.04em; }
.fundraiser-body progress, .fund-preview progress { height: 7px; border-radius: 8px; }
.fund-progress-detail, .fund-visibility, .fund-metric > small { font-size: .8125rem; }
.fund-budget-note { border-radius: 8px; }
.fund-how h2 { font: 700 1.25rem/1.4 var(--sans); text-transform: none; }
.fund-how-grid h3 { font-size: .9375rem; }
.sc-fund-card { padding: 22px; }
.sc-fund-card h3, .following-card h2 { font: 700 1.125rem/1.35 var(--sans); margin: 7px 0 12px; }
.following-avatar { width: 48px; height: 48px; border-radius: 12px; font: 700 1rem var(--sans); }
.fund-preview-banner { border-radius: 10px; }
.fund-preview-banner h3 { font: 700 1.5rem/1.3 var(--sans); }
.fund-preview { display: grid; gap: 18px; }
.fund-preview > .fund-preview-banner, .fund-preview > .inline-info, .fund-preview > progress, .fund-preview > .btn { margin: 0; }
.fund-preview > .body-text { line-height: 1.7; overflow-wrap: anywhere; }
.fund-preview > .meta { color: var(--muted); font-size: .875rem; line-height: 1.6; }
.fund-preview > .meta + .meta { margin-top: -10px; }
.fund-preview > .btn { justify-self: start; }

/* Dialogs, search and contextual help. */
.dialog, .sc-dialog { border: 1px solid #d4deec; border-radius: 16px; box-shadow: 0 24px 100px #10213d30; max-height: min(90dvh, 1000px); overscroll-behavior: contain; }
.dialog { width: min(640px, calc(100% - 40px)); }
.dialog:has(.gp-family-packages) { width: min(800px, calc(100% - 40px)); }
.dialog::backdrop, .sc-dialog::backdrop { background: #12213b70; backdrop-filter: blur(3px); }
.dialog-inner, .sc-form { padding: 28px; }
.dialog h2, .sc-dialog-head h2 { font: 700 1.35rem/1.35 var(--sans); letter-spacing: -.03em; }
.dialog-head { gap: 20px; align-items: flex-start; padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid var(--line); }
.dialog-head h2 { align-self: center; overflow-wrap: anywhere; }
.dialog .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.dialog .form-stack > .actions { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--line); }
.sc-dialog-head p { font-size: .875rem; color: var(--muted); }
.sc-dialog-foot { border-top-color: var(--line); }
.gp-search-form { display: grid; gap: 14px; }
.gp-search-input { width: 100%; }
.gp-search-results { display: grid; gap: 4px; max-height: 52dvh; overflow: auto; }
.gp-search-result { display: flex; gap: 12px; align-items: center; padding: 12px; width: 100%; border: 0; border-radius: 8px; background: white; text-align: left; color: var(--ink); }
.gp-search-result:hover { background: #f0f5ff; }
.gp-search-result > .icon { color: #7291bd; width: 19px; height: 19px; }
.gp-search-result > div { min-width: 0; display: grid; gap: 5px; }
.gp-search-result strong { font-size: .875rem; font-weight: 650; overflow-wrap: anywhere; }
.gp-search-result small { font-size: .75rem; color: var(--muted); }
.gp-search-empty { padding: 24px 12px; color: var(--muted); font-size: .875rem; }
.gp-help-grid { display: grid; gap: 18px; }
.gp-help-block { padding: 17px; background: #f5f8fd; border: 1px solid var(--line); border-radius: 10px; }
.gp-help-block h3 { font-size: .9375rem; margin-bottom: 6px; }
.gp-help-block p { color: var(--muted); font-size: .875rem; line-height: 1.7; }
.gp-record-meta { display: grid; gap: 10px; margin: 16px 0; }
.gp-record-meta > div { display: flex; justify-content: space-between; gap: 24px; font-size: .875rem; padding: 9px 0; border-bottom: 1px solid var(--line); }
.gp-record-meta dt { color: var(--muted); }
.gp-record-meta dd { margin: 0; text-align: right; font-weight: 550; }
.gp-record-meta dt, .gp-record-meta dd { min-width: 0; overflow-wrap: anywhere; }
.gp-activity-list { display: grid; gap: 8px; }
.gp-activity-item { width: 100%; display: flex; gap: 12px; text-align: left; padding: 15px; border: 1px solid var(--line); background: white; border-radius: 10px; color: var(--ink); }
.gp-activity-item:hover { background: #f6f9ff; border-color: #bfcfeb; }
.gp-activity-item > .icon { color: #7191bd; margin-top: 2px; }
.gp-activity-item > div { display: grid; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.gp-activity-item strong { font-size: .875rem; }
.gp-activity-item small { font-size: .8125rem; line-height: 1.5; color: var(--muted); }
#notice { border-radius: 10px; font-size: .875rem; padding: 14px 20px; box-shadow: 0 8px 35px #10213d26; background: #18314f; }

/* A fresh, quieter account entrance. */
.auth-page { background: #f8faff; min-height: 100dvh; }
.signin-top { border-bottom: 1px solid #e8edf5; background: white; min-height: 78px; padding-block: 17px; }
.signin-top .goplay-wordmark { color: #183454; }
.auth-main { max-width: 1300px; grid-template-columns: minmax(0, 1.1fr) minmax(360px, .9fr); gap: 65px; padding: 42px 4.5% 35px; align-items: center; }
.auth-hero { min-height: 600px; border-radius: 18px; box-shadow: 0 18px 40px #1b3d6120; }
.auth-hero::after { display: none; }
.auth-hero::before { background: linear-gradient(180deg, #13243b05, #13243b60 35%, #10213df5); }
.hero-copy { padding: 35px; }
.hero-title { font: 730 clamp(2rem, 3vw, 3rem)/1.12 var(--sans); letter-spacing: -.05em; max-width: 12ch; margin: 18px 0; text-transform: none; }
.hero-title span { color: #a5c4ff; }
.hero-copy > p { font-size: .9375rem; line-height: 1.75; color: #d4e1f3; }
.hero-copy .hero-kicker { font-size: .6875rem; font-weight: 600; letter-spacing: .11em; }
.auth-hero-bottom { padding-top: 23px; margin-top: 28px; }
.auth-hero-bottom strong { font: 650 .9375rem/1.4 var(--sans); letter-spacing: -.015em; }
.auth-panel { padding: 20px 0; }
.auth-panel-inner { max-width: 430px; }
.auth-panel h1 { font: 730 2rem/1.2 var(--sans); letter-spacing: -.05em; }
.auth-tabs { background: #eaf0f8; border: 0; border-radius: 9px; padding: 4px; gap: 3px; display: flex; margin-bottom: 28px; }
.auth-tabs button { border: 0; min-height: 40px; padding: 10px; width: 50%; border-radius: 6px; font-size: .875rem; font-weight: 600; }
.auth-tabs button[aria-pressed='true'] { background: white; box-shadow: 0 2px 5px #1834540c; color: var(--ink); border: 0; }
.auth-lead { color: #6a7c94; font-size: .9375rem; margin-bottom: 26px; }
.account-type-choice { border-radius: 9px; padding: 14px; }
.account-type-choice:has(input:checked) { background: #f0f5ff; border-color: #94b0ef; box-shadow: inset 0 0 0 1px #94b0ef; }
.account-type-choice small { font-size: .75rem; line-height: 1.55; }
.auth-page-footer { max-width: 1300px; font-size: .75rem; color: #8290a4; }

@media (min-width: 1800px) { .app-shell { grid-template-columns: 252px minmax(0, 1fr); } .view-root { padding-inline: 40px; } }
@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .sidebar { padding-inline: 11px; }
  .appbar, .view-root { padding-inline: 24px; }
  .gp-command { width: 180px; }
  .gp-command kbd { display: none; }
  .account-name { display: none; }
  .auth-main { gap: 38px; }
}
@media (max-width: 950px) {
  .gp-command { width: 40px; padding: 10px; justify-content: center; }
  .gp-command > span { display: none; }
  .appbar { gap: 10px; }
  .sc-two { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 810px) {
  .app-shell { display: block; }
  .sidebar { width: 262px; z-index: 30; padding: 24px 14px 16px; }
  .scrim { z-index: 29; }
  .mobile-nav-close { border-radius: 8px; background: #203753; border-color: #456080; }
  .appbar { height: 64px; min-height: 64px; padding: 10px 18px; }
  .view-root { padding: 24px 18px 45px; }
  .preview-strip { padding-inline: 18px; }
  .account-button { padding-left: 3px; border: 0; }
  .gp-activity-button { width: 34px; }
  .gp-command { background: none; border: 0; width: 34px; }
  .auth-main { grid-template-columns: minmax(0, 1fr) minmax(290px, 1fr); gap: 28px; padding-inline: 24px; }
  .auth-hero { min-height: 600px; }
  .hero-copy { padding: 25px; }
}
@media (max-width: 650px) {
  .crumb-first { display: none; }
  .crumb > .icon { display: none; }
  .crumb { font-size: .875rem; }
  .account-button > .icon { display: none; }
  .account-button .avatar { width: 31px; height: 31px; }
  .page-heading, .sc-heading { align-items: flex-start; gap: 13px; }
  .page-heading h1, .sc-heading h1 { font-size: 1.6rem; }
  .page-heading p, .sc-heading p { font-size: .875rem; }
  .kpi-grid, .sc-tiles, .sc-fin-metrics, .fund-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .kpi, .sc-tile, .sc-fin-metrics > div, .fund-metric { padding: 16px; }
  .kpi strong, .sc-tile strong, .sc-fin-metrics strong { font-size: 1.5rem; }
  .card, .sc-panel { padding: 18px; }
  .dash-hero, .sc-overview-band { padding: 21px; }
  .dash-copy { max-width: 100%; }
  .dash-copy h1, .sc-overview-band h1 { font-size: 1.65rem; }
  .sc-shift-status { border-left: 0; padding-left: 0; padding-top: 13px; border-top: 1px solid var(--line); width: 100%; }
  .sc-line { align-items: flex-start; flex-wrap: wrap; }
  .sc-line-end { flex-wrap: wrap; }
  .tabs button, .sc-tabs button { padding-inline: 12px; font-size: .8125rem; }
  .dialog-inner, .sc-form { padding: 21px; }
  .dialog, .sc-dialog, .dialog:has(.gp-family-packages) { max-height: calc(100dvh - 24px); border-radius: 14px; width: calc(100% - 24px); }
  .fund-intro { padding: 23px; }
  .fund-intro h2 { font-size: 1.3rem; }
  .fundraiser-cover h2 { font-size: 1.125rem; }
  .auth-main { display: block; padding: 25px 23px 35px; }
  .auth-hero { display: none; }
  .auth-panel { padding: 6px 0; }
  .auth-panel-inner { margin: auto; }
  .auth-panel h1 { font-size: 1.8rem; }
  .signin-top { min-height: 72px; padding-inline: 23px; }
  .auth-page-footer { padding-inline: 23px; gap: 8px; }
  .auth-club-link { font-size: .75rem; }
  .auth-club-link img { width: 24px; height: 28px; }
}
@media (max-width: 560px) {
  .dialog .form-grid { grid-template-columns: minmax(0, 1fr); }
  .dialog-inner { padding: 20px; }
  .dialog-head { gap: 14px; margin-bottom: 20px; }
  .dialog-head h2 { font-size: 1.2rem; }
  .dialog .actions { gap: 10px; }
  .dialog .actions > .btn, .dialog .actions > .btn-primary, .dialog .actions > .btn-secondary { flex: 1 1 120px; }
  .gp-record-meta > div { display: grid; gap: 5px; }
  .gp-record-meta dd { text-align: left; }
  .btn, .btn-primary, .btn-secondary, .sc-btn { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }
@media print { .sidebar, .appbar, .preview-strip, .gp-command, .gp-activity-button { display: none !important; } .app-shell { display: block; } .view-root { padding: 0; } .card, .sc-panel { box-shadow: none; break-inside: avoid; } }
.gp-ops-form { display: grid; gap: 17px; }
.gp-ops-form .sc-form-grid { margin-top: 0; }
.gp-task-board { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; align-items: start; }
.gp-task-column { min-width: 0; background: #edf2f8; border: 1px solid #e1e7f0; padding: 14px; border-radius: 12px; display: grid; gap: 12px; }
.gp-task-column > header { display: flex; align-items: center; justify-content: space-between; padding: 1px 2px 5px; }
.gp-task-column > header h2 { font-size: .875rem; font-weight: 650; }
.gp-task-card { background: white; padding: 17px; border: 1px solid #dce4ef; border-radius: 10px; box-shadow: 0 2px 5px #142a4504; min-width: 0; }
.gp-task-title { display: flex; gap: 10px; align-items: flex-start; }
.gp-task-title input { width: 17px; height: 17px; margin: 2px 0 0; flex: none; }
.gp-task-title h3 { font-size: .9375rem; font-weight: 650; line-height: 1.45; letter-spacing: -.02em; overflow-wrap: anywhere; }
.gp-task-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: .8125rem; line-height: 1.65; margin: 11px 0; white-space: pre-line; }
.gp-task-program { display: block; font-size: .75rem; color: #456da8; margin: 12px 0; }
.gp-task-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.gp-task-tags .sc-badge { font-size: .8125rem; }
.gp-task-assignee { font-size: .75rem; color: #7a89a0; margin-top: 12px; overflow-wrap: anywhere; }
.gp-task-actions { padding-top: 14px; margin-top: 12px; border-top: 1px solid #eef1f6; }
.gp-task-actions .sc-btn { font-size: .875rem; min-height: 38px; padding: 8px 12px; }
.gp-task-empty { font-size: .8125rem; color: #7a8ba4; text-align: center; padding: 25px 5px; }
.gp-task-details { white-space: pre-line; line-height: 1.7; }
.gp-ops-session { display: flex; gap: 15px; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.gp-ops-session p { font-size: .875rem; color: var(--muted); }
.gp-ops-footer { margin-top: 18px; justify-content: flex-end; }
.gp-attendance-table td:first-child { min-width: 160px; }
.gp-attendance-table td:nth-child(2) { min-width: 150px; }
.gp-attendance-table td:nth-child(3) { min-width: 200px; }
.gp-attendance-table select, .gp-attendance-table input { font-size: .875rem; min-height: 38px; }
@media(max-width:1150px) { .gp-task-board { grid-template-columns: 1fr; } .gp-task-column { grid-template-columns: repeat(2,minmax(0,1fr)); } .gp-task-column > header { grid-column: 1/-1; } }
@media(max-width:650px) { .gp-task-column { grid-template-columns: 1fr; } .gp-ops-session { align-items: flex-start; flex-direction: column; } .gp-ops-footer { justify-content: flex-start; } }

/* Notification center: shared between family and club workspaces. */
.gp-notification-header {display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.gp-notification-header h1 {margin:5px 0 8px;font-size:clamp(1.6rem,3vw,2.25rem);letter-spacing:-.03em}
.gp-notification-header p {color:var(--muted);margin:0}
.gp-notification-filters {display:flex;gap:10px;flex-wrap:wrap;margin:16px 0}
.gp-notification-filters input {flex:1 1 260px;min-width:0;width:auto}
.gp-notification-filters select {flex:0 1 240px;width:auto;max-width:100%}
.gp-notification-row {display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px;border:1px solid var(--line);border-radius:12px;background:var(--paper)}
.gp-notification-row.is-unread {border-left:3px solid var(--blue);background:#f6f9ff}
.gp-notification-icon {width:44px;height:44px;display:grid;place-items:center;background:#eaf0fa;border-radius:10px;color:var(--blue)}
.gp-notification-copy {min-width:0;overflow-wrap:anywhere}
.gp-notification-title {display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.gp-notification-title strong {font-size:.95rem}
.gp-notification-copy p {margin:5px 0;color:var(--muted);font-size:.875rem}
.gp-notification-copy small {color:var(--muted);font-size:.75rem}
.gp-notification-dot {width:8px;height:8px;background:var(--blue);border-radius:50%;flex-shrink:0}
.gp-notification-actions {display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.gp-notification-row .btn-text {white-space:nowrap}
.gp-activity-count {min-width:20px;width:auto;height:20px;top:-3px;right:-3px;box-sizing:border-box}
.view-root .inline-error:empty {display:none}
@media(max-width:640px){.gp-notification-header{flex-direction:column}.gp-notification-row{grid-template-columns:36px minmax(0,1fr);gap:10px;padding:14px}.gp-notification-icon{width:36px;height:36px}.gp-notification-actions{grid-column:2;gap:12px}.gp-notification-filters input,.gp-notification-filters select{width:100%;flex-basis:100%}}

