:root {
  color-scheme: dark;
  --page: #050505;
  --surface: #101010;
  --surface-2: #161616;
  --surface-3: #24211d;
  --field: #1b1f22;
  --field-line: #3a4045;
  --text: #f7fafb;
  --muted: #9aa0a6;
  --soft: #d1d8dc;
  --line: #2a2a2a;
  --green: #43d39a;
  --green-soft: rgba(67, 211, 154, 0.16);
  --red: #ff6860;
  --orange: #ff8a00;
  --orange-soft: rgba(255, 138, 0, 0.16);
  --blue: #22a6dc;
  --violet: #8b5cf6;
  --teal: #2ba89c;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html,
body {
  overflow-x: hidden;
  background: var(--page);
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    linear-gradient(115deg, rgba(255, 138, 0, 0.12), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 260px),
    radial-gradient(circle at 12px 12px, rgba(255, 138, 0, 0.18) 1px, transparent 1.5px) 0 120px / 24px 24px,
    var(--page);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  border: 0;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--field-line);
  border-radius: 4px;
  outline: 0;
  background: var(--field);
  color: var(--text);
}

input,
select {
  height: 46px;
  padding: 0 12px;
}

textarea {
  min-height: 82px;
  resize: vertical;
  padding: 12px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.app {
  width: 100%;
  min-height: 100vh;
  padding: 0 14px 26px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 58px;
  margin: 0 -14px 10px;
  padding: 0 18px;
  background: rgba(3, 3, 3, 0.96);
  border-bottom: 1px solid rgba(255, 138, 0, 0.28);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 152px;
  padding: 0;
  background: transparent;
  text-align: left;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 2px solid var(--orange);
  border-radius: 6px;
  color: var(--orange);
  font-family: Oswald, Manrope, sans-serif;
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.05;
}

.brand strong {
  font-family: Oswald, Manrope, sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.brand small {
  margin-top: 3px;
  color: #c6c6c6;
  font-size: 10px;
  font-weight: 700;
}

.top-nav {
  display: flex;
  gap: 14px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
  display: none;
}

.nav-link {
  position: relative;
  flex: 0 0 auto;
  min-height: 58px;
  padding: 0 2px;
  background: transparent;
  color: #cacdd1;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 8px;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.nav-link.is-active {
  color: #fff;
}

.nav-link.is-active::after {
  background: var(--orange);
}

.toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px;
  background: rgba(16, 16, 16, 0.92);
}

.search {
  display: flex;
  align-items: center;
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #0c0c0c;
}

.search span {
  position: relative;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
}

.search span::before {
  position: absolute;
  top: 11px;
  left: 14px;
  width: 12px;
  height: 12px;
  border: 2px solid #fff;
  border-radius: 50%;
  content: "";
}

.search span::after {
  position: absolute;
  top: 25px;
  left: 26px;
  width: 9px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transform: rotate(45deg);
  content: "";
}

.search input {
  height: 40px;
  min-width: 0;
  border: 0;
  background: transparent;
  font-weight: 800;
}

.search input::placeholder {
  color: #7f878c;
}

.outline-button,
.solid-button,
.ghost-button {
  min-height: 40px;
  border-radius: 4px;
  padding: 0 14px;
  font-weight: 900;
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.link-button.wide {
  width: 100%;
  margin-top: 16px;
}

.outline-button {
  min-width: 146px;
  border: 1px solid rgba(255, 138, 0, 0.72);
  background: transparent;
  color: var(--orange);
}

.solid-button {
  width: 100%;
  background: var(--orange);
  color: #160d00;
}

.solid-button:disabled {
  background: #4b5a63;
  color: #9ca8ae;
  cursor: not-allowed;
}

.ghost-button {
  border: 1px solid var(--field-line);
  background: transparent;
  color: var(--soft);
}

.view {
  min-height: 520px;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 138, 0, 0.28);
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(105deg, rgba(255, 138, 0, 0.18), transparent 42%),
    #090909;
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 10px;
  background: var(--orange);
  color: #090909;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.home-hero h1 {
  margin: 0;
  font-family: Oswald, Manrope, sans-serif;
  font-size: 34px;
  line-height: 1;
  text-transform: uppercase;
}

.home-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(78px, 1fr));
  gap: 8px;
}

.mini-metric {
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.04);
}

.mini-metric strong,
.mini-metric span {
  display: block;
}

.mini-metric strong {
  font-family: Oswald, Manrope, sans-serif;
  font-size: 24px;
  line-height: 1;
}

.mini-metric span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  width: 100%;
}

.module-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  border: 1px solid rgba(255, 138, 0, 0.22);
  border-radius: 8px;
  padding: 14px;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(255, 138, 0, 0.18), transparent 56%),
    var(--surface-2);
  box-shadow: var(--shadow);
  text-align: left;
}

.module-tile::before {
  position: absolute;
  right: -38px;
  bottom: -70px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 138, 0, 0.16);
  content: "";
}

.module-tile strong {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--orange);
  color: #100900;
  font-family: Oswald, Manrope, sans-serif;
  font-size: 19px;
  line-height: 1;
}

.module-tile span {
  position: relative;
  display: block;
  color: var(--text);
  font-family: Oswald, Manrope, sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  min-width: 0;
  text-transform: uppercase;
}

.workspace {
  display: grid;
  grid-template-columns: 228px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(12, 12, 12, 0.96);
  overflow: hidden;
}

.side-panel {
  border-right: 1px solid var(--line);
  padding: 12px;
  background: #0c0c0c;
}

.side-title {
  margin: 0 0 10px;
  color: var(--orange);
  font-family: Oswald, Manrope, sans-serif;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.filter-list {
  display: grid;
  gap: 8px;
}

.filter-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 10px;
  background: var(--surface);
  text-align: left;
}

.filter-card.is-active {
  border-color: var(--orange);
  background: rgba(255, 138, 0, 0.13);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--dot);
}

.count {
  min-width: 28px;
  min-height: 24px;
  border-radius: 4px;
  padding: 3px 7px;
  background: #2b2b2b;
  text-align: center;
  font-size: 12px;
  font-weight: 900;
}

.content-panel {
  min-width: 0;
  padding: 14px;
  overflow-x: auto;
}

.section-title {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title h1,
.section-title h2 {
  margin: 0;
  font-family: Oswald, Manrope, sans-serif;
  font-size: 25px;
  line-height: 1.15;
  letter-spacing: 0;
  text-transform: uppercase;
}

.empty-state {
  display: grid;
  place-items: center;
  min-height: 300px;
  border: 1px dashed #3b454d;
  border-radius: 10px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.03);
  text-align: center;
}

.empty-state.compact {
  min-height: 180px;
  padding: 18px;
}

.empty-state strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.empty-state p {
  max-width: 460px;
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.5;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 10px;
}

.member-list {
  display: grid;
  gap: 6px;
}

.person-card,
.class-card,
.payment-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: var(--surface-2);
}

.person-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto minmax(90px, auto) auto;
  gap: 10px;
  align-items: center;
  text-align: left;
}

.clickable {
  width: 100%;
  color: var(--text);
  text-align: left;
}

.small {
  min-height: 32px;
  padding: 0 10px;
  font-size: 12px;
}

.avatar {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  overflow: hidden;
  background: #dfe5e7;
  color: #2a3034;
  font-weight: 900;
}

.avatar.mini {
  width: 38px;
  height: 38px;
  border-width: 2px;
  font-size: 13px;
}

.avatar img,
.photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.muted {
  color: var(--muted);
}

.role-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 4px;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.role-badge.athlete {
  background: var(--orange-soft);
  color: var(--orange);
}

.role-badge.trainer {
  background: rgba(139, 92, 246, 0.18);
  color: #b69aff;
}

.role-badge.admin {
  background: rgba(255, 104, 96, 0.18);
  color: var(--red);
}

.class-card {
  display: grid;
  gap: 7px;
  min-height: 124px;
  border-left: 5px solid var(--class-color);
}

.class-card strong {
  font-family: Oswald, Manrope, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
}

.person-main {
  min-width: 0;
}

.person-main strong,
.person-main span,
.person-extra {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.person-extra {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.count.wide {
  justify-self: start;
  min-width: auto;
}

.detail-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 20px;
}

.detail-card {
  display: grid;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: var(--surface-2);
}

.list-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.list-row p {
  margin: 3px 0 0;
  color: var(--muted);
}

.schedule-list {
  display: grid;
  gap: 8px;
}

.schedule-list span {
  border-radius: 6px;
  padding: 10px 12px;
  background: #111517;
  color: var(--soft);
}

.section-title.slim {
  margin-top: 8px;
}

.schedule-shell,
.attendance-shell {
  min-width: 760px;
}

.attendance-shell {
  display: inline-block;
  min-width: max-content;
}

.calendar-head,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(110px, 1fr));
}

.calendar-head {
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  background: var(--surface-3);
}

.day-head {
  min-height: 34px;
  padding: 8px 9px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.calendar-grid {
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.day-cell {
  min-height: 106px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #101010;
}

.lesson-chip {
  display: block;
  width: 100%;
  min-height: 50px;
  border-left: 5px solid var(--class-color);
  padding: 9px 10px;
  background: #171717;
  color: var(--text);
  text-align: left;
}

.lesson-chip strong,
.lesson-chip span {
  display: block;
}

.lesson-chip span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.attendance-head,
.attendance-row {
  display: grid;
  grid-template-columns: 174px repeat(var(--attendance-days, 7), 64px);
}

.student-head,
.date-head,
.student-name,
.attendance-cell {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.student-head,
.date-head {
  min-height: 38px;
  padding: 6px;
  background: var(--surface-3);
  color: var(--soft);
  font-size: 12px;
  font-weight: 900;
}

.date-head {
  text-align: center;
}

.student-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 8px;
  background: #171717;
  font-size: 12px;
  font-weight: 900;
}

.attendance-cell {
  display: grid;
  place-items: center;
  min-height: 34px;
  background: #101010;
  color: var(--red);
  font-size: 17px;
}

.attendance-cell.absent {
  color: var(--red);
}

.attendance-cell.present {
  color: var(--green);
}

.attendance-cell.sick {
  color: var(--orange);
}

.attendance-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.attendance-legend span {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 5px 10px;
  background: var(--surface-2);
  font-size: 13px;
  font-weight: 900;
}

.attendance-legend .present {
  color: var(--green);
}

.attendance-legend .absent {
  color: var(--red);
}

.attendance-legend .sick {
  color: var(--orange);
}

.form-shell {
  display: grid;
  place-items: start stretch;
}

.form-card {
  width: 100%;
  border: 1px solid rgba(255, 138, 0, 0.2);
  border-radius: 8px;
  padding: 18px;
  background: #151515;
  box-shadow: var(--shadow);
}

.photo-box {
  display: grid;
  place-items: center;
  width: 160px;
  height: 132px;
  margin: 0 auto 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background: #20262a;
  color: #687680;
  font-size: 58px;
  font-weight: 900;
}

.form-grid {
  display: grid;
  gap: 10px;
}

.form-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
}

.schedule-builder {
  display: grid;
  gap: 10px;
}

.schedule-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr auto;
  gap: 8px;
  align-items: end;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.12);
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.three-col {
  display: grid;
  grid-template-columns: 0.75fr 1.5fr 1fr;
  gap: 8px;
}

.radio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.access-list {
  display: grid;
  gap: 8px;
}

.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  border: 1px solid var(--field-line);
  border-radius: 4px;
  padding: 0 12px;
  background: var(--field);
}

.choice.compact {
  min-height: 38px;
  justify-content: flex-start;
}

.choice small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

.choice input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.toggle-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  min-height: 42px;
  color: var(--soft);
  font-weight: 800;
}

.toggle-row input {
  width: 44px;
  height: 24px;
  accent-color: var(--green);
}

.color-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.color-dot {
  width: 24px;
  height: 24px;
  border: 2px solid transparent;
  border-radius: 50%;
  background: var(--swatch);
}

.color-dot.is-active {
  border-color: #fff;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.28);
}

.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  gap: 10px;
}

.metric-card {
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--surface-2);
}

.metric-card span {
  display: block;
  color: #b9d9ee;
  font-size: 12px;
  font-weight: 800;
}

.metric-card strong {
  display: block;
  margin-top: 10px;
  font-family: Oswald, Manrope, sans-serif;
  font-size: 25px;
}

.payment-filters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.payment-list {
  display: grid;
  gap: 8px;
}

.payment-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.payment-card p {
  margin: 5px 0 0;
}

.payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.notice-list {
  display: grid;
  gap: 8px;
}

.notice-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  padding: 12px;
  background: var(--surface-2);
}

.notice-card p {
  margin: 5px 0 0;
  color: var(--muted);
}

.notice-card span,
.notice-card small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.notice-card small {
  grid-column: 1 / -1;
}

.guest-hero {
  margin-bottom: 12px;
  border: 1px solid rgba(255, 138, 0, 0.28);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(110deg, rgba(255, 138, 0, 0.2), transparent 52%),
    #090909;
}

.guest-hero h1 {
  margin: 0;
  font-family: Oswald, Manrope, sans-serif;
  font-size: 36px;
  line-height: 1;
  text-transform: uppercase;
}

.guest-hero p {
  max-width: 540px;
  margin: 10px 0 0;
  color: var(--soft);
  line-height: 1.45;
}

.lead-form {
  width: 100%;
}

.client-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.client-summary article {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px;
  background: var(--surface-2);
}

.client-summary p {
  margin: 6px 0 0;
  color: var(--muted);
}

@media (min-width: 901px) {
  .app {
    padding: 0 18px 30px;
  }

  .home-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .form-card,
  .lead-form {
    max-width: 1280px;
  }
}

@media (max-width: 900px) {
  .app {
    padding: 0 10px 24px;
  }

  .app-header {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0 -10px 12px;
    padding: 10px 10px 0;
  }

  .top-nav {
    margin-top: 8px;
  }

  .nav-link {
    min-height: 48px;
  }

  .nav-link::after {
    bottom: 4px;
  }

  .toolbar {
    grid-template-columns: 1fr;
    padding: 12px;
  }

  .outline-button {
    width: 100%;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .side-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .filter-list {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .filter-card {
    min-width: 184px;
  }

  .content-panel {
    padding: 10px;
  }

  .form-card {
    padding: 16px 12px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-layout,
  .payment-filters,
  .payment-card,
  .notice-card,
  .client-summary {
    grid-template-columns: 1fr;
  }

  .schedule-row {
    grid-template-columns: 1fr;
  }

  .home-hero {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .person-card {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }

  .person-card .role-badge,
  .person-card .person-extra {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 14px;
  }

  .brand strong {
    font-size: 22px;
  }

  .home-hero h1 {
    font-size: 28px;
  }

  .guest-hero {
    padding: 16px;
  }

  .guest-hero h1 {
    font-size: 28px;
  }

  .home-totals {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-grid {
    gap: 10px;
  }

  .module-tile {
    grid-template-columns: 36px minmax(0, 1fr);
    gap: 8px;
    min-height: 72px;
    padding: 10px;
  }

  .module-tile span {
    font-size: 14px;
  }

  .module-tile strong {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .two-col,
  .radio-grid,
  .form-actions,
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
