/* GoPlay workspace. Shares the match center's athletics typography and club palette. */
:root {
  --ink: #101923;
  --muted: #5d6976;
  --line: #dde2e8;
  --snow: #f3f5f7;
  --dark: #101923;
  --red: #be2032;
  --red-dark: #a8192a;
  --blue: #2b5eab;
  --blue-dark: #214c8b;
  --radius: 4px;
}
body { background: var(--snow); }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button:disabled { cursor: not-allowed; }
.btn, .btn-primary, .btn-secondary, .btn-text, .sc-btn,
.icon-button, .tag, .sc-badge, .tabs button, .photo-card,
.account-menu, .dialog, .sc-dialog, .inline-info, .inline-error,
.form-status, .fee-summary, #notice { border-radius: 3px; }
.btn, .btn-primary, .sc-btn-primary {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}
.btn:hover, .btn-primary:hover, .sc-btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}
.btn-secondary { background: #fff; color: var(--ink); border-color: #cbd2db; }
.btn-secondary:hover { background: #edf3fb; color: var(--blue-dark); border-color: #adc3df; }
.btn-text, .button-bare { background: none; border-color: transparent; color: var(--blue); }
.btn-text:hover { color: var(--blue-dark); background: none; border-color: transparent; }
.btn, .sc-btn { font-size: .875rem; min-height: 43px; }
.btn-text { min-height: 38px; }
.eyebrow { color: var(--blue); font-size: .8125rem; letter-spacing: .1em; }
.brand { display: inline-flex; gap: 0; }
.brand-words { gap: 6px; }
.brand-words .goplay-wordmark {
  font: 800 italic 2.35rem/.9 var(--display);
  letter-spacing: -.035em;
}
.goplay-wordmark span { color: var(--blue); }
.brand-words small { font-size: .75rem; font-weight: 650; letter-spacing: .15em; }
.signin-top { min-height: 92px; padding: 18px max(5%, calc((100vw - 1440px) / 2)); }
.auth-club-link { font-size: .875rem; gap: 12px; }
.auth-club-link img { width: 31px; height: 36px; object-fit: contain; }
.auth-main {
  max-width: 1550px;
  grid-template-columns: minmax(0, 1.18fr) minmax(365px, .9fr);
  gap: clamp(35px, 5.8vw, 90px);
  padding: 34px 5% 30px;
}
.auth-page { background: #fff; }
.auth-hero {
  min-height: 680px;
  border-radius: 3px;
  align-items: flex-end;
  background: var(--ink);
}
.auth-hero .cover-photo { object-position: 60% 35%; }
.auth-hero::before {
  background: linear-gradient(180deg, #0a17251a 0, #0a172536 28%, #0a1725da 60%, #0a1725fa 100%);
}
.auth-hero::after {
  content: '';
  position: absolute;
  left: 0;
  top: 42%;
  height: 116px;
  width: 5px;
  background: var(--red);
}
.hero-copy { padding: clamp(30px, 3.6vw, 52px); max-width: 100%; }
.hero-copy .hero-kicker { font-size: .75rem; line-height: 1.5; letter-spacing: .1em; color: #c4d8f2; }
.hero-kicker::before { width: 20px; background: var(--red); }
.hero-title {
  font: 800 clamp(4rem, 5.4vw, 6.2rem)/.92 var(--display);
  letter-spacing: -.025em;
  max-width: 10.3ch;
  margin: 20px 0;
}
.hero-title span { display: block; color: #9dc1f1; }
.hero-copy > p { max-width: 37ch; font-size: 1rem; color: #e4eaf2; }
.auth-hero-bottom {
  display: flex;
  align-items: center;
  gap: 15px;
  border-top: 1px solid #ffffff2c;
  padding-top: 24px;
  margin-top: 30px;
}
.auth-hero-bottom img { width: 42px; height: 47px; object-fit: contain; }
.auth-hero-bottom strong { display: block; font: 750 1.25rem/1.25 var(--display); letter-spacing: .055em; }
.auth-hero-bottom small { display: block; font-size: .8125rem; margin-top: 3px; color: #bdcbdd; }
.auth-panel { padding: 18px 0; }
.auth-panel-inner { width: min(100%, 448px); }
.auth-tabs {
  padding: 0;
  background: none;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  gap: 28px;
  margin-bottom: 28px;
}
.auth-tabs button {
  width: auto;
  padding: 13px 0 15px;
  min-height: 48px;
  background: none;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  color: var(--muted);
}
.auth-tabs button[aria-pressed='true'] { background: none; border-color: var(--red); box-shadow: none; color: var(--ink); }
.auth-panel h1 { font: 800 clamp(2.5rem, 3.5vw, 3.25rem)/1.02 var(--display); letter-spacing: -.02em; }
.auth-lead { margin-top: 12px; margin-bottom: 25px; font-size: 1rem; }
input:not([type='checkbox']):not([type='radio']):not([type='file']), textarea, select {
  border-radius: 3px;
  border-color: #c7cfd9;
  min-height: 46px;
}
select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4 3 3 3-3' fill='none' stroke='%23445466' stroke-width='1.5'/%3E%3C/svg%3E") right 13px center / 12px no-repeat;
  padding-right: 35px;
}
.form-field > span, .sc-input > span { font-size: .875rem; color: #344254; }
.form-field small, .form-hint, .sc-input small { font-size: .8125rem; line-height: 1.6; }
.form-stack { gap: 18px; }
.form-stack > .btn-primary { min-height: 49px; }
.account-type-picker { min-width: 0; margin: 0 0 3px; padding: 0; border: 0; }
.account-type-picker legend { font-size: .875rem; font-weight: 650; margin-bottom: 9px; color: #344254; }
.account-type-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.account-type-choice {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 14px 12px;
  border: 1px solid #cbd2dc;
  border-radius: 3px;
  cursor: pointer;
  background: #fff;
}
.account-type-choice:has(input:checked) { background: #edf3fb; border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.account-type-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.account-type-choice:has(input:focus-visible) { outline: 3px solid #3e82d5; outline-offset: 3px; }
.account-type-choice > .icon { width: 19px; height: 19px; margin-top: 1px; color: var(--blue); }
.account-type-choice strong { display: block; font-size: .875rem; line-height: 1.3; }
.account-type-choice small { display: block; font-size: .75rem; line-height: 1.45; margin-top: 5px; color: var(--muted); }
.auth-foot { font-size: .8125rem; line-height: 1.55; align-items: flex-start; margin-top: 20px; }
.auth-foot .icon { margin-top: 3px; color: var(--blue); }
.auth-page-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  max-width: 1550px;
  margin: 0 auto;
  padding: 0 5% 26px;
  font-size: .8125rem;
  color: var(--muted);
}
.auth-page-footer a { text-decoration: none; color: var(--ink); font-weight: 650; }
.auth-page-footer a:hover { text-decoration: underline; }

/* A club workspace with clear navigation and a compact, persistent header. */
.app-shell { grid-template-columns: 250px minmax(0, 1fr); }
.sidebar {
  padding: 29px 15px 18px;
  background: #101923;
  border-right: 1px solid #23303e;
  scrollbar-width: thin;
  scrollbar-color: #41556b transparent;
}
.sidebar .brand { margin: 0 15px 24px; }
.sidebar .brand-words .goplay-wordmark { font-size: 2.6rem; }
.sidebar .goplay-wordmark span { color: #87b1e9; }
.sidebar .brand-words small { color: #bdcce0; font-size: .75rem; letter-spacing: .16em; }
.sidebar-club {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px 10px;
  margin: 0 0 14px;
  text-decoration: none;
  border-top: 1px solid #ffffff1c;
  border-bottom: 1px solid #ffffff1c;
}
.sidebar-club img { width: 34px; height: 39px; object-fit: contain; }
.sidebar-club strong { display: block; font-size: .875rem; line-height: 1.4; color: #fff; }
.sidebar-club small { display: block; font-size: .75rem; line-height: 1.5; margin-top: 2px; color: #9eb0c5; }
.workspace-switch, .workspace-label {
  border: 1px solid #32465f;
  border-radius: 3px;
  background: #1b2b3e;
  min-height: 46px;
  padding: 11px 12px;
  font-size: .875rem;
  color: #e9f0f9;
}
.workspace-switch:hover { background: #243a53; }
.workspace-label > .icon, .workspace-switch > .icon:first-child { color: #91b8e9; width: 18px; height: 18px; }
.sidebar .section-label { color: #91a5bd; font-size: .75rem; margin: 24px 13px 9px; letter-spacing: .12em; }
.sidebar nav { gap: 4px; }
.side-link {
  border-radius: 3px;
  border: 1px solid transparent;
  color: #c7d3e2;
  min-height: 44px;
  padding: 10px 13px;
  gap: 12px;
  font-size: .875rem;
  font-weight: 550;
  position: relative;
}
.side-link .icon { color: #95a9c2; width: 18px; height: 18px; }
.side-link:hover { background: #1a293b; color: #fff; }
.side-link[aria-current='page'] { background: #244f88; border-color: #2c5e9f; color: #fff; }
.side-link[aria-current='page']::before { content: ''; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 3px; background: #8abafa; }
.side-link[aria-current='page'] .icon { color: #dceaff; }
.sidebar-footer { display: grid; gap: 2px; margin-top: 28px; border-top: 1px solid #ffffff1c; padding: 14px 0 0; }
.sidebar-footer .home-link { color: #b3c2d5; font-size: .8125rem; padding-left: 13px; min-height: 38px; }
.sidebar-footer .home-link:hover { color: #fff; }
.goplay-credit { color: #94a8bf; font-size: .75rem; padding: 13px 13px 0; }
.goplay-credit a { text-decoration: none; color: #becde0; font-weight: 650; }
.goplay-credit a:hover { text-decoration: underline; }
.appbar { min-height: 78px; height: auto; padding: 16px clamp(22px, 3vw, 48px); background: #fff; gap: 24px; }
.crumb { margin-right: auto; font-size: .8125rem; gap: 12px; }
.crumb > span:last-child { font-weight: 700; }
.appbar-match { display: inline-flex; gap: 8px; align-items: center; flex-shrink: 0; text-decoration: none; color: var(--blue); font-size: .8125rem; font-weight: 650; }
.appbar-match .icon { width: 17px; height: 17px; }
.appbar-match:hover { text-decoration: underline; }
.account-button { padding-left: 20px; border-left: 1px solid var(--line); gap: 10px; font-size: .8125rem; color: var(--ink); }
.avatar { background: #e8eff8; color: #2b548b; border-radius: 50%; width: 36px; height: 36px; font-size: .8125rem; }
.account-menu { border-top: 3px solid var(--blue); padding: 18px; box-shadow: 0 8px 35px #15203918; }
.view-root { padding: 32px clamp(22px, 3vw, 48px) 65px; max-width: 1600px; }
.page-heading { margin-bottom: 26px; }
.page-heading h1, .view-root > h1 { font: 800 clamp(2.75rem, 3.6vw, 3.7rem)/1.02 var(--display); letter-spacing: -.02em; }
.page-heading p { font-size: 1rem; max-width: 69ch; margin-top: 10px; }
.dash-hero { border-radius: 3px; min-height: 275px; margin-bottom: 24px; }
.dash-hero::before { background: linear-gradient(90deg, #0b1728f5 0%, #0d1a2be8 34%, #0d1a2b7c 72%, #0d1a2b24); }
.dash-hero::after { content: ''; position: absolute; top: 37px; bottom: 37px; left: 0; width: 4px; background: var(--red); }
.dash-hero .cover-photo { object-position: 60% 36%; }
.dash-copy { padding: 33px 36px; max-width: 77%; }
.dash-copy .hero-kicker { font-size: .75rem; letter-spacing: .13em; color: #bbd2f1; }
.dash-copy .hero-kicker::before { display: none; }
.dash-copy h1 { font: 800 clamp(2.9rem, 4vw, 4.6rem)/.96 var(--display); letter-spacing: -.025em; margin: 13px 0; text-wrap: balance; }
.dash-copy p { font-size: 1rem; line-height: 1.6; color: #e0e7ef; max-width: 49ch; }
.dash-copy .btn { margin-top: 23px; min-height: 43px; }
.kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-bottom: 24px; }
.kpi { border-radius: 3px; padding: 22px 23px; border-top: 3px solid #bacbe2; box-shadow: 0 2px 3px #10243b03; }
.kpi:hover { border-color: #9bb5d7; border-top-color: var(--blue); }
.kpi-top { color: #4a596c; font-size: .875rem; }
.kpi-top .icon { color: var(--blue); }
.kpi strong { font: 800 2.75rem/1 var(--display); margin-top: 14px; letter-spacing: -.015em; }
.family-grid { gap: 20px; align-items: stretch; }
.card { border-radius: 3px; padding: clamp(20px, 2.2vw, 29px); box-shadow: 0 2px 4px #10243b03; }
.card-head { margin-bottom: 20px; padding-bottom: 17px; border-bottom: 1px solid #e8ecf1; align-items: center; }
.card h2, .sub-heading { font: 750 1.85rem/1.1 var(--display); letter-spacing: -.01em; }
.card-head p { font-size: .875rem; margin-top: 7px; }
.card-head .btn-text { font-size: .8125rem; }
.card h3 { font-size: 1rem; line-height: 1.4; }
.empty-state { background: #f5f7fa; border: 1px solid #e3e8ef; border-left: 3px solid #b8c9e0; border-radius: 2px; padding: 23px 20px; gap: 8px; }
.empty-state > .icon { color: #5d7ca4; }
.empty-state p { font-size: .9375rem; }
.row-icon { background: #eef3fa; color: #45678f; border-radius: 3px; width: 37px; height: 39px; }
.data-row { padding: 17px 0; gap: 13px; }
.row-body p { font-size: .875rem; margin-top: 4px; line-height: 1.65; }
.tag, .sc-badge { font-size: .8125rem; padding: 5px 9px; border-radius: 2px; }
.profile-card { position: relative; border-top: 3px solid var(--blue); overflow: hidden; }
.profile-card .avatar { width: 61px; height: 66px; border-radius: 3px; background: #eaf0f8; color: var(--blue); font: 800 1.8rem/1 var(--display); }
.profile-card .profile-top { gap: 17px; }
.profile-card .profile-top h2 { font-size: 2rem; }
.profile-card .meta { font-size: .875rem; margin-top: 5px; }
.profile-card .actions { border-top: 1px solid var(--line); margin-top: 22px; padding-top: 18px; }
.profile-bio { font-size: 1rem; }
.program-card { border-top: 3px solid var(--blue); padding-top: 24px; gap: 16px; }
.program-card h2 { font-size: 2rem; }
.program-card .actions { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.program-card .body-text { font-size: 1rem; }
.toolbar { margin-bottom: 23px; }
.tabs { gap: 0; border-bottom: 1px solid var(--line); }
.tabs button { padding: 13px 17px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--muted); background: none; min-height: 47px; font-size: .875rem; }
.tabs button[aria-pressed='true'] { border-bottom-color: var(--red); background: none; color: var(--ink); }
.tabs button:hover { background: #eaf0f7; }
.dialog, .sc-dialog { border-top: 4px solid var(--blue); border-radius: 4px; }
.dialog h2, .sc-dialog-head h2 { font: 750 2.1rem/1.08 var(--display); letter-spacing: -.015em; }
.dialog .form-grid { gap: 16px; }
.preview-strip { background: #eaf1fa; color: #244e82; border-bottom-color: #ccdaee; padding: 10px clamp(22px, 3vw, 48px); font-size: .8125rem; }
.preview-strip .button-bare { color: #244e82; }

/* Staff uses the same visual system while preserving all permission-based tools. */
.sc-staff { gap: 24px; }
.sc-heading h1, .sc-overview-band h1 { letter-spacing: -.02em; }
.sc-heading h1 { font-size: clamp(2.75rem, 3.6vw, 3.7rem); }
.sc-overview-band {
  border-radius: 3px;
  border-left: 4px solid var(--red);
  min-height: 260px;
  padding: 32px 35px;
  background: linear-gradient(100deg, #0b1728f5, #0d1a2be8 40%, #0d1a2b8c), url('/assets/rrsc/hero/hero-club-action.webp') center 36% / cover;
}
.sc-overview-band h1 { font-size: clamp(3rem, 4vw, 4.6rem); line-height: .96; }
.sc-band-date { font-size: .8125rem; color: #c6d9f1; }
.sc-band-date::before { background: var(--red); }
.sc-overview-band p { font-size: 1rem; }
.sc-shift-status { padding-left: 27px; border-left-color: #ffffff35; }
.sc-tile, .sc-fin-metrics > div { border-radius: 3px; border-top: 3px solid #bacbe2; padding: 23px; gap: 15px; }
.sc-tile:hover { border-top-color: var(--blue); }
.sc-tile strong, .sc-fin-metrics strong { font-family: var(--display); font-size: 2.8rem; letter-spacing: -.015em; }
.sc-tile span, .sc-fin-metrics span { font-size: .875rem; }
.sc-panel, .sc-field-card, .sc-clock { border-radius: 3px; }
.sc-panel { padding: 25px; }
.sc-panel-head { padding-bottom: 17px; border-bottom: 1px solid #e8ecf1; margin-bottom: 17px; }
.sc-panel h2, .sc-clock h2, .sc-field-card h2 { font: 750 1.85rem/1.1 var(--display); letter-spacing: -.01em; }
.sc-panel-head h2 { padding-top: 2px; }
.sc-panel-head p { font-size: .875rem; margin-top: 7px; }
.sc-empty { background: #f5f7fa; border-left: 3px solid #b8c9e0; border-radius: 2px; padding: 23px 20px; }
.sc-btn-tool { min-height: 54px; border-color: #d5dde7; font-size: .875rem; }
.sc-two { gap: 20px; }
.sc-tabs button[aria-pressed='true'] { color: var(--ink); border-bottom-color: var(--red); }
.sc-note, .sc-error { border-radius: 3px; }

@media (min-width: 1650px) {
  .app-shell { grid-template-columns: 270px minmax(0, 1fr); }
  .sidebar { padding-inline: 19px; }
  .view-root { padding-top: 40px; }
}
@media (max-width: 1150px) {
  .app-shell { grid-template-columns: 228px minmax(0, 1fr); }
  .sidebar { padding-inline: 11px; }
  .sidebar .brand { margin-inline: 12px; }
  .appbar { gap: 16px; padding-inline: 25px; }
  .appbar-match { display: none; }
  .view-root { padding-inline: 25px; }
  .dash-copy { max-width: 83%; padding-inline: 30px; }
  .auth-hero { min-height: 670px; }
  .auth-main { gap: 35px; padding-inline: 4%; grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr); }
  .hero-title { font-size: clamp(3.5rem, 6vw, 5.5rem); }
}
@media (max-width: 810px) {
  .app-shell { display: block; }
  .sidebar { width: 267px; padding: 25px 15px 18px; z-index: 20; }
  .scrim { z-index: 19; }
  .mobile-nav-close { border-radius: 3px; background: #23354a; border-color: #3a4c61; margin-top: 1px; }
  .appbar { min-height: 70px; padding: 12px 22px; }
  .account-button { padding-left: 0; border: 0; }
  .view-root { padding: 25px 22px 50px; }
  .preview-strip { padding: 10px 22px; }
  .auth-main { grid-template-columns: minmax(0, 1fr) minmax(300px, 1.05fr); gap: 27px; padding-inline: 24px; }
  .auth-hero { min-height: 660px; }
  .hero-copy { padding: 30px 25px; }
  .hero-title { font-size: 3.7rem; max-width: 9.5ch; }
  .hero-copy > p { font-size: .9375rem; }
  .auth-hero-bottom { margin-top: 23px; padding-top: 21px; }
  .auth-hero-bottom strong { font-size: 1.125rem; }
  .signin-top { min-height: 82px; padding-inline: 24px; }
  .auth-page-footer { padding-inline: 24px; }
  .family-grid { gap: 16px; }
}
@media (max-width: 650px) {
  .signin-top { min-height: 78px; padding: 16px 20px; gap: 15px; }
  .brand-words .goplay-wordmark { font-size: 2.1rem; }
  .brand-words small { font-size: .75rem; }
  .auth-club-link { gap: 8px; font-size: .8125rem; }
  .auth-club-link img { width: 28px; height: 33px; }
  .auth-main { display: flex; flex-direction: column; gap: 0; padding: 20px 20px 25px; }
  .auth-hero { min-height: 240px; border-radius: 2px; align-items: center; }
  .auth-hero::before { background: linear-gradient(90deg,#0a1725f0,#0a1725b3 55%,#0a17254a); }
  .auth-hero::after { top: 34px; height: 122px; width: 4px; }
  .auth-hero .cover-photo { object-position: center 32%; }
  .hero-copy { padding: 28px 25px; }
  .hero-copy .hero-kicker { font-size: .75rem; }
  .hero-title { font-size: 3.35rem; line-height: .94; max-width: none; margin: 15px 0 12px; }
  .hero-copy > p { max-width: 34ch; font-size: .875rem; }
  .auth-hero-bottom { display: none; }
  .auth-panel { padding: 28px 0 0; }
  .auth-panel-inner { width: 100%; }
  .auth-panel h1 { font-size: 2.75rem; }
  .auth-tabs { margin-bottom: 23px; }
  .auth-page-footer { padding: 0 20px 25px; font-size: .75rem; }
  .appbar { padding: 12px 17px; gap: 12px; min-height: 65px; }
  .crumb { font-size: .8125rem; gap: 7px; }
  .account-button .account-name { display: none; }
  .account-button { gap: 4px; }
  .avatar { width: 34px; height: 34px; }
  .view-root { padding: 22px 17px 45px; }
  .preview-strip { padding: 9px 17px; font-size: .75rem; align-items: flex-start; }
  .preview-strip .button-bare { white-space: nowrap; font-size: .75rem; }
  .preview-strip span { gap: 6px; align-items: flex-start; }
  .page-heading { margin-bottom: 22px; gap: 16px; }
  .page-heading h1, .view-root > h1, .sc-heading h1 { font-size: 2.65rem; }
  .page-heading p { font-size: .9375rem; }
  .dash-hero { min-height: 275px; margin-bottom: 18px; }
  .dash-hero::before { background: linear-gradient(90deg,#0b1728f0,#0d1a2bd1 48%,#0d1a2b70); }
  .dash-copy { max-width: 100%; padding: 28px 25px; }
  .dash-copy h1 { font-size: 3.1rem; max-width: 12ch; }
  .dash-copy p { font-size: .9375rem; max-width: 34ch; }
  .dash-copy .hero-kicker { font-size: .75rem; }
  .dash-copy .btn { margin-top: 19px; }
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; margin-bottom: 18px; }
  .kpi { padding: 15px 12px; }
  .kpi-top { font-size: .8125rem; line-height: 1.4; align-items: flex-start; }
  .kpi-top .icon { width: 15px; height: 15px; }
  .kpi strong { font-size: 2.3rem; margin-top: 11px; }
  .family-grid { grid-template-columns: 1fr; gap: 17px; }
  .card { padding: 22px; }
  .card-head { padding-bottom: 15px; margin-bottom: 17px; }
  .card h2, .sc-panel h2, .sc-clock h2, .sc-field-card h2 { font-size: 1.8rem; }
  .card-head p { font-size: .875rem; }
  .profile-card .profile-top h2 { font-size: 2rem; }
  .empty-state { padding: 21px 18px; }
  .toolbar { gap: 18px; }
  .toolbar .form-field { flex: 1; }
  .tabs button { font-size: .875rem; padding-inline: 12px; }
  .sc-panel { padding: 22px; }
  .sc-overview-band { padding: 28px 24px; }
  .sc-overview-band h1 { font-size: 3.1rem; }
  .sc-tile, .sc-fin-metrics > div { padding: 18px; }
}
@media (max-width: 390px) {
  .auth-main { padding-inline: 15px; }
  .signin-top { padding-inline: 15px; }
  .hero-copy { padding: 26px 21px; }
  .hero-title { font-size: 2.95rem; }
  .account-type-choice { gap: 7px; padding: 12px 9px; }
  .account-type-choice > .icon { width: 16px; height: 16px; }
  .account-type-choice strong { font-size: .8125rem; }
  .account-type-choice small { font-size: .75rem; }
  .kpi-grid { grid-template-columns: 1fr; gap: 9px; }
  .kpi { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 17px; }
  .kpi-top { font-size: .875rem; flex-direction: row-reverse; justify-content: flex-end; gap: 10px; }
  .kpi strong { font-size: 2rem; margin-top: 0; }
  .dialog .form-grid { grid-template-columns: 1fr; }
}
@media print {
  .sidebar, .appbar, .preview-strip, .auth-page-footer { display: none !important; }
}

@media (min-width: 651px) and (max-width: 1120px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
