:root {
  color-scheme: light;
  --color-bg: #eef3f6;
  --color-surface: #ffffff;
  --color-surface-soft: #fafbfc;
  --color-surface-tint: #f8fcfb;
  --color-border: #d7e0e7;
  --color-border-strong: #b8e9de;
  --color-text: #1f2937;
  --color-muted: #667085;
  --color-placeholder: #7a8a9a;
  --color-primary: #00a889;
  --color-primary-dark: #06735f;
  --color-sidebar: #0f766e;
  --color-sidebar-strong: #0b5f59;
  --color-sidebar-text: #d9f4ef;
  --color-active: #06735f;
  --color-active-soft: #ddfcf3;
  --color-chip-bg: #e7f7f3;
  --color-link: #0b63ce;
  --color-menu-reference-bg: #eaf3ff;
  --color-danger: #b42318;
  --shadow-surface: 0 10px 30px rgba(31, 41, 55, 0.06);
  --sidebar-width: 300px;
  --content-max-width: 1160px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: Inter, "Noto Sans KR", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

button,
input {
  font: inherit;
}

a {
  color: inherit;
}

.app-shell {
  display: grid;
  min-height: 100vh;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--color-sidebar);
  color: var(--color-sidebar-text);
}

.sidebar__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 24px 24px 18px;
}

.sidebar__brand {
  min-width: 0;
}

.sidebar__title {
  display: inline-flex;
  color: var(--color-surface);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.25;
}

.mobile-menu-toggle {
  display: none;
  width: 42px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-surface);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.sidebar__navigation {
  height: calc(100vh - 88px);
  overflow: auto;
  padding: 12px 12px 30px;
  scrollbar-color: rgba(255, 255, 255, 0.45) transparent;
}

.nav-list {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list .nav-list {
  margin-top: 2px;
  padding-left: 12px;
}

.nav-item {
  min-width: 0;
}

.nav-group__button,
.nav-document {
  display: flex;
  width: 100%;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-sidebar-text);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.nav-group__button {
  padding: 7px 10px;
  font-weight: 650;
  color: var(--color-surface);
}

.nav-document {
  min-height: 30px;
  padding: 6px 10px 6px 24px;
  font-size: 13px;
  font-weight: 500;
}

.nav-group__button:hover,
.nav-document:hover {
  background: rgba(255, 255, 255, 0.12);
}

.nav-document.is-active {
  background: var(--color-active-soft);
  color: var(--color-active);
  font-weight: 700;
}

.nav-caret {
  width: 16px;
  flex: 0 0 16px;
  color: inherit;
  text-align: center;
}

.nav-label {
  min-width: 0;
  overflow-wrap: anywhere;
}

.nav-group__children[hidden] {
  display: none;
}

.nav-prototype {
  margin: 0 0 12px;
  padding: 0 0 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.nav-prototype__link {
  display: flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-surface);
  padding: 10px 12px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 800;
}

.nav-prototype__link:hover,
.nav-prototype__link.is-active {
  background: rgba(255, 255, 255, 0.2);
}

.nav-prototype__icon {
  display: inline-flex;
  width: 34px;
  height: 28px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
  line-height: 1;
}

.content {
  min-width: 0;
  padding: 0 48px 56px 32px;
}

.content--member-page,
.content--admin-status,
.content:has(.document-view--member),
.content:has(.document-view--admin-status) {
  width: 100%;
  max-width: none;
  overflow-x: auto;
  padding: 0 clamp(12px, 1.6vw, 24px) 56px;
}

.admin-status-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 -48px 16px -32px;
  border-bottom: 1px solid #d8dee6;
  background: #fff;
  padding: 7px 16px;
  box-shadow: 0 1px 8px rgba(31, 41, 55, 0.06);
  overflow-x: auto;
}

.content--member-page .admin-status-topbar,
.content--admin-status .admin-status-topbar,
.content:has(.document-view--member) .admin-status-topbar,
.content:has(.document-view--admin-status) .admin-status-topbar {
  margin-right: calc(clamp(12px, 1.6vw, 24px) * -1);
  margin-left: calc(clamp(12px, 1.6vw, 24px) * -1);
}

.admin-status-topbar__menu {
  display: inline-flex;
  flex: 0 0 auto;
  width: 28px;
  min-height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  color: #111827;
  text-decoration: none;
  font-size: 23px;
  line-height: 1;
}

.admin-status-topbar__menu:hover {
  background: #eef2f7;
}

.admin-status-topbar__example {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 24px;
  align-items: center;
  border-radius: 999px;
  background: #e8eef5;
  padding: 2px 8px;
  color: #52606d;
  font-size: 11px;
  font-weight: 800;
}

.admin-status-topbar__chips {
  display: grid;
  flex: 1 0 auto;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, minmax(24px, auto));
  grid-auto-columns: max-content;
  gap: 4px 6px;
  align-items: start;
  min-width: max-content;
}

.search-panel {
  margin: 0 auto 16px;
  max-width: min(var(--content-max-width), 100%);
}

.content--member-page .search-panel,
.content--admin-status .search-panel,
.search-panel:has(+ .document-view--member),
.search-panel:has(+ .document-view--admin-status) {
  margin-right: 0;
  margin-left: 0;
  max-width: none;
}

.search-form {
  display: flex;
  position: relative;
  gap: 10px;
}

.search-input {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 0 16px;
  box-shadow: 0 1px 0 rgba(31, 41, 55, 0.02);
}

.search-input::placeholder {
  color: var(--color-placeholder);
}

.search-input:focus {
  border-color: var(--color-primary);
  outline: 3px solid var(--color-active-soft);
}

.search-button {
  min-width: 68px;
  align-self: center;
  min-height: 32px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-surface);
  cursor: pointer;
  font-weight: 650;
}

.search-button:hover {
  background: var(--color-primary-dark);
}

.search-notice {
  min-height: 22px;
  margin: 8px 0 0;
  color: var(--color-muted);
  font-size: 13px;
}

.document-view {
  max-width: min(var(--content-max-width), 100%);
  margin: 0 auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: 36px 40px 52px;
  box-shadow: var(--shadow-surface);
}

.document-view:focus {
  outline: 3px solid var(--color-active-soft);
}

.document-focus-target {
  border-radius: var(--radius-md);
  scroll-margin-top: 36px;
}

.document-focus-target.is-flashing {
  animation: documentFocusFlash 4200ms ease-out;
  outline: 2px solid #2f80ed;
  outline-offset: 4px;
}

.section-table tr.document-focus-target.is-flashing {
  outline: 0;
}

.section-table tr.document-focus-target.is-flashing > th,
.section-table tr.document-focus-target.is-flashing > td {
  animation: documentFocusTableFlash 4200ms ease-out;
  box-shadow: inset 0 0 0 2px #2f80ed;
}

@keyframes documentFocusFlash {
  0% {
    background: #e8f2ff;
    box-shadow: 0 0 0 0 rgba(47, 128, 237, 0.44), 0 0 0 10px rgba(47, 128, 237, 0.16);
  }

  36% {
    background: #eef6ff;
    box-shadow: 0 0 0 5px rgba(47, 128, 237, 0.22), 0 12px 28px rgba(47, 128, 237, 0.14);
  }

  100% {
    background: transparent;
    box-shadow: 0 0 0 0 rgba(47, 128, 237, 0);
  }
}

@keyframes documentFocusTableFlash {
  0%,
  36% {
    background: #e8f2ff;
  }

  100% {
    background: inherit;
  }
}

.home-view h1,
.document-title,
.state-view h1 {
  margin: 0;
  font-size: 34px;
  line-height: 1.25;
  letter-spacing: 0;
}

.home-view p,
.document-summary,
.state-view p {
  color: var(--color-muted);
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.home-category {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 14px;
  text-decoration: none;
}

.home-category:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-surface);
}

.home-category strong {
  display: block;
  font-size: 16px;
}

.home-category span {
  display: block;
  margin-top: 4px;
  color: var(--color-muted);
  font-size: 13px;
}

.sports-rules-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.sports-rule-card {
  display: grid;
  gap: 10px;
  min-height: 190px;
  align-content: start;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  color: var(--color-text);
  padding: 18px;
  text-decoration: none;
}

.sports-rule-card:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-surface);
}

.sports-rule-card.is-disabled {
  opacity: 0.65;
}

.sports-rule-card__provider {
  display: inline-flex;
  width: max-content;
  min-height: 26px;
  align-items: center;
  border-radius: 999px;
  background: var(--color-active-soft);
  color: var(--color-active);
  padding: 3px 9px;
  font-size: 12px;
  font-weight: 900;
}

.sports-rule-card__title {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: 0;
}

.sports-rule-card__summary {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}

.sports-rule-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.sports-rule-card__tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  background: var(--color-surface-soft);
  padding: 2px 8px;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.sports-rule-card__action {
  display: inline-flex;
  width: max-content;
  min-height: 32px;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: var(--color-surface);
  padding: 5px 10px;
  font-size: 13px;
  font-weight: 900;
}

.sports-rule-home-panel {
  margin-top: 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 18px;
}

.sports-rule-home-panel__title {
  margin: 0 0 14px;
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: 0;
}

.sports-rule-home-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

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

.sports-rule-home-list__link {
  display: flex;
  min-height: 42px;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-soft);
  color: var(--color-link);
  padding: 9px 11px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
}

.sports-rule-home-list__link:hover {
  border-color: var(--color-border-strong);
  background: #fff;
}

.sports-rule-home-list__link--feature {
  color: var(--color-text);
}

.sports-rules-note {
  margin-top: 18px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  color: var(--color-link);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.breadcrumb__item::after {
  content: ">";
  margin-left: 6px;
  color: var(--color-border-strong);
}

.breadcrumb__item:last-child::after {
  content: "";
  margin-left: 0;
}

.document-summary {
  margin: 10px 0 18px;
  font-size: 15px;
}

.document-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin: -4px 0 18px;
}

.document-header-action-button {
  min-height: 38px;
  border: 1px solid #8fc2ff;
  border-radius: 6px;
  background: #f4f9ff;
  color: #005fc4;
  cursor: pointer;
  padding: 0 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  box-shadow: 0 1px 0 rgb(0 95 196 / 0.08);
}

.document-header-action-button:hover,
.document-header-action-button:focus-visible {
  border-color: #006ee6;
  background: #e7f2ff;
  outline: 0;
}

.document-meta {
  display: grid;
  gap: 14px;
  margin: 20px 0 22px;
}

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

.document-article.is-section-nav-filter-active .document-main > .breadcrumb,
.document-article.is-section-nav-filter-active .document-main > .document-title,
.document-article.is-section-nav-filter-active .document-main > .document-summary,
.document-article.is-section-nav-filter-active .document-main > .document-meta,
.document-article.is-section-nav-filter-active > .document-aside .table-of-contents {
  display: none;
}

.document-article.is-section-nav-filter-active .document-main > .document-body {
  margin-top: 0;
}

.meta-label {
  margin: 0 0 6px;
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.keyword-block {
  min-width: 0;
}

.keyword-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
}

.keyword-header .meta-label {
  margin-bottom: 0;
}

.keyword-toggle-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: #ffffff;
  padding: 5px 10px;
  color: var(--color-active);
  font-size: 12px;
  font-weight: 800;
}

.keyword-toggle-button::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.keyword-toggle-button[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(225deg);
}

.keyword-toggle-button:hover,
.keyword-toggle-button:focus-visible {
  border-color: var(--color-active);
  background: var(--color-surface-tint);
}

.keyword-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.keyword-list--collapsed {
  max-height: 30px;
  overflow: hidden;
}

.keyword-list--collapsed.is-expanded {
  max-height: none;
  overflow: visible;
}

.keyword-chip {
  display: inline-flex;
  max-width: 100%;
  min-height: 28px;
  align-items: center;
  border: 1px solid var(--color-border-strong);
  border-radius: 999px;
  background: var(--color-chip-bg);
  padding: 4px 12px;
  color: var(--color-active);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.document-body {
  margin-top: 22px;
}

.pending-state {
  display: grid;
  min-height: 170px;
  align-content: center;
  position: relative;
  border: 1px solid #cfeae3;
  border-radius: var(--radius-lg);
  background: var(--color-surface-tint);
  padding: 34px 36px 34px 128px;
  color: var(--color-text);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
}

.pending-state::before {
  content: "...";
  display: inline-flex;
  position: absolute;
  left: 36px;
  top: 50%;
  width: 70px;
  height: 70px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border-radius: 50%;
  background: var(--color-active-soft);
  color: var(--color-active);
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 2px;
}

.state-view {
  display: grid;
  gap: 12px;
}

.table-of-contents {
  margin: 22px 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: 18px;
}

.document-aside {
  display: grid;
  gap: 14px;
  margin: 22px 0;
}

.document-aside .table-of-contents {
  margin: 0;
}

.toc-heading {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 1.35;
}

.toc-list {
  display: grid;
  gap: 4px;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.toc-list .toc-list {
  margin-top: 4px;
  padding-left: 18px;
}

.toc-link {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  padding: 6px 8px;
  text-align: left;
}

.toc-link:hover {
  background: var(--color-surface-soft);
}

.toc-link.is-active {
  background: var(--color-active-soft);
  color: var(--color-active);
  font-weight: 700;
}

.toc-number {
  flex: 0 0 auto;
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.toc-title {
  min-width: 0;
  overflow-wrap: anywhere;
}

.related-context-panel {
  border: 1px solid #c9d8e6;
  border-radius: var(--radius-lg);
  background: #f7fbff;
  padding: 16px;
}

.related-context-heading {
  margin: 0 0 12px;
  color: #1d4f91;
  font-size: 15px;
  line-height: 1.35;
}

.related-context-list {
  display: grid;
  gap: 10px;
}

.related-context-card {
  position: relative;
  display: grid;
  gap: 7px;
  border: 1px solid #d6e3ef;
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 12px 34px 12px 12px;
  color: var(--color-text);
  text-decoration: none;
}

.related-context-card.is-clickable {
  border-color: #b7d2f1;
  cursor: pointer;
}

.related-context-card.is-clickable:hover {
  border-color: var(--color-link);
  box-shadow: 0 8px 20px rgba(11, 99, 206, 0.08);
}

.related-context-card.is-disabled {
  background: #f8fafc;
  color: #475467;
}

.related-context-card__topline {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: space-between;
}

.related-context-badge,
.related-context-status {
  display: inline-flex;
  min-height: 23px;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
}

.related-context-badge {
  background: #e1f8f0;
  color: var(--color-primary-dark);
}

.related-context-status {
  background: #eef4ff;
  color: #2453a6;
}

.related-context-card.is-disabled .related-context-status {
  background: #eef2f6;
  color: #667085;
}

.related-context-title {
  color: #0b63ce;
  font-size: 14px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.manual-reference-number {
  display: inline-flex;
  min-width: 1.25em;
  height: 1.25em;
  align-items: center;
  justify-content: center;
  margin-left: 3px;
  border-radius: 999px;
  background: #e9f2ff;
  color: #0b63ce;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  vertical-align: super;
}

.related-context-number {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  min-width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e9f2ff;
  color: #0b63ce;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
}

.related-context-card.is-disabled .related-context-title {
  color: #344054;
}

.related-context-description {
  margin: 0;
  color: var(--color-muted);
  font-size: 12px;
  line-height: 1.55;
}

.section-block {
  padding-top: 22px;
  scroll-margin-top: 24px;
}

.section-block .section-block {
  padding-left: 18px;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 0 0 12px;
  line-height: 1.35;
}

h2.section-heading {
  font-size: 22px;
}

h3.section-heading {
  font-size: 19px;
}

h4.section-heading {
  font-size: 17px;
}

.section-number {
  color: var(--color-muted);
  font-variant-numeric: tabular-nums;
}

.section-title {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: keep-all;
}

.section-heading-actions {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: auto;
}

.section-heading-action-button {
  min-height: 32px;
  padding: 0 12px;
  font-size: 13px;
}

.section-paragraph {
  margin: 10px 0;
  overflow-wrap: break-word;
  word-break: keep-all;
  text-wrap: pretty;
}

.section-paragraph--subheading {
  margin: 18px 0 6px;
}

.section-paragraph.section-paragraph--subheading strong {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bbf7d0;
  border-left: 4px solid #16a34a;
  border-radius: 5px;
  background: #f0fdf4;
  color: #166534;
  padding: 4px 9px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 900;
}

.section-list {
  margin: 10px 0;
  padding-left: 22px;
  overflow-wrap: break-word;
  word-break: keep-all;
  text-wrap: pretty;
}

.section-callout {
  margin: 12px 0;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-active-soft);
  padding: 12px;
  overflow-wrap: break-word;
  word-break: keep-all;
  text-wrap: pretty;
}

.section-callout--danger {
  border-left-color: #dc2626;
  background: #fef2f2;
  color: #7f1d1d;
}

.section-callout--danger strong {
  background: #fee2e2;
  color: #b91c1c;
}

.section-nav-block {
  margin: 18px 0 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  padding: 12px;
}

.section-nav-block.is-fixed {
  position: fixed;
  top: 10px;
  z-index: 30;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.section-nav-block-placeholder {
  margin: 14px 0;
}

.section-nav-block__title {
  margin: 0 0 10px;
  color: var(--color-text);
  font-weight: 800;
}

.section-nav-block__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-nav-block__button {
  min-height: 34px;
  border: 1px solid #bfdbfe;
  border-radius: 6px;
  background: #eff6ff;
  color: var(--color-link);
  padding: 7px 10px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.section-nav-block__button:hover {
  border-color: #60a5fa;
  background: #dbeafe;
}

.section-nav-block__button.is-active {
  border-color: #0b63ce;
  background: #dbeafe;
  color: #084c9e;
}

.section-block.is-section-nav-filtered-out {
  display: none;
}

.section-block.is-section-nav-carrier-only > :not(.section-nav-block):not(.section-nav-block-placeholder) {
  display: none;
}

.manual-review-highlight {
  color: #dc2626;
  font-weight: 700;
}

.manual-review-highlight strong {
  background: #fee2e2;
  color: #b91c1c;
}

.manual-sensitive-highlight {
  background: #fef9c3;
  color: #1f2937;
  font-weight: 700;
  border-radius: 4px;
  padding: 0 0.18em;
}

.manual-sensitive-highlight strong {
  background: #fde68a;
  color: #111827;
}

.manual-candidate-highlight {
  color: #c2410c;
  font-weight: 700;
}

.manual-candidate-highlight strong {
  background: #ffedd5;
  color: #9a3412;
}

.section-paragraph strong,
.section-list strong,
.section-callout strong,
.section-table strong {
  border-radius: 4px;
  background: var(--color-menu-reference-bg);
  color: var(--color-link);
  font-weight: 800;
  padding: 0 3px;
}

.section-paragraph a,
.section-list a,
.section-callout a,
.section-table a {
  color: var(--color-link);
  font-weight: 800;
  text-underline-offset: 3px;
}

.section-paragraph a:hover,
.section-list a:hover,
.section-callout a:hover,
.section-table a:hover {
  text-decoration-thickness: 2px;
}

.section-code {
  overflow: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #101828;
  color: #f8fafc;
  padding: 14px;
}

.section-table-wrap {
  overflow: auto;
  margin: 12px 0;
}

.section-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: var(--color-surface);
}

.section-table th,
.section-table td {
  border: 1px solid var(--color-border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.section-table th {
  background: var(--color-surface-soft);
  font-weight: 700;
}

.section-table th:first-child,
.section-table td:first-child {
  width: 118px;
  min-width: 96px;
}

.section-table--custom-widths th:first-child,
.section-table--custom-widths td:first-child {
  width: auto;
  min-width: 0;
}

.document-view--sports-rules .section-table--two-column col:first-child {
  width: 38% !important;
}

.document-view--sports-rules .section-table--two-column col:nth-child(2) {
  width: 62% !important;
}

.document-view--sports-rules .section-table--two-column th:first-child,
.document-view--sports-rules .section-table--two-column td:first-child {
  min-width: 220px;
}

.manual-image {
  margin: 18px 0;
}

.manual-image__asset {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  cursor: zoom-in;
}

.manual-image__caption {
  margin-top: 8px;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.manual-image__fallback {
  display: grid;
  min-height: 160px;
  place-items: center;
  border: 1px dashed var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  color: var(--color-muted);
  font-weight: 700;
}

.manual-image__annotated-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.manual-image__annotated-frame .manual-image__asset {
  border-radius: var(--radius-md);
}

.manual-image__overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.manual-annotation {
  position: absolute;
  box-sizing: border-box;
}

.manual-annotation--box {
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: rgb(35 112 97 / 0.08);
}

.manual-annotation--mask {
  border-radius: var(--radius-sm);
  background: rgb(15 23 42 / 0.68);
  backdrop-filter: blur(5px);
}

.manual-annotation--label,
.manual-annotation__label {
  display: inline-flex;
  max-width: 220px;
  align-items: center;
  border-radius: var(--radius-sm);
  background: var(--color-active);
  padding: 4px 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.manual-annotation--box .manual-annotation__label,
.manual-annotation--mask .manual-annotation__label {
  position: absolute;
  left: 0;
  top: 0;
  transform: translateY(calc(-100% - 4px));
}

.manual-annotation--arrow {
  height: 2px;
  transform: rotate(var(--annotation-angle, 0deg));
  transform-origin: left center;
  background: var(--color-primary);
}

.manual-annotation--arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%) rotate(45deg);
  border-right: 2px solid var(--color-primary);
  border-top: 2px solid var(--color-primary);
  background: transparent;
}

.manual-annotation--arrow .manual-annotation__label {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, calc(-100% - 8px)) rotate(var(--annotation-label-angle, 0deg));
  white-space: nowrap;
}

.state-view--error h1 {
  color: var(--color-danger);
}

.search-results-view h1 {
  margin: 0;
  font-size: 32px;
  line-height: 1.25;
}

.search-results-summary {
  margin: 8px 0 20px;
  color: var(--color-muted);
}

.search-results {
  display: grid;
  gap: 20px;
}

.search-result {
  display: grid;
  gap: 8px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: var(--color-surface);
  padding: 18px 24px;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.search-result:hover {
  border-color: var(--color-border-strong);
  box-shadow: var(--shadow-surface);
  transform: translateY(-1px);
}

.search-result__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.35;
}

.search-result__breadcrumb,
.search-result__summary {
  margin: 0;
  color: var(--color-muted);
}

.search-result__breadcrumb {
  color: var(--color-link);
  font-size: 13px;
  font-weight: 600;
}

.search-result__highlight {
  border-radius: 4px;
  background: #fff1a8;
  color: var(--color-text);
  font-weight: 800;
  padding: 0 2px;
}

.member-prototype {
  display: grid;
  gap: 14px;
}

.member-prototype__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.member-prototype__title {
  margin: 0;
  font-size: 26px;
  line-height: 1.25;
}

.member-prototype__title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.member-prototype__example-badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border: 1px solid #f5b942;
  border-radius: 999px;
  background: #fff7d6;
  color: #7a4b00;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 900;
}

.member-prototype__description {
  margin: 6px 0 0;
  color: var(--color-muted);
}

.member-guide-button,
.member-small-button,
.member-related-doc,
.member-panel-close {
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-active);
  cursor: pointer;
  font-weight: 700;
}

.member-guide-button {
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 14px;
}

.member-tabs {
  display: flex;
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
}

.member-tab {
  min-height: 38px;
  flex: 0 0 auto;
  border: 0;
  border-right: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  cursor: pointer;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
}

.member-tab:last-child {
  border-right: 0;
}

.member-tab.is-active {
  background: var(--color-active);
  color: var(--color-surface);
}

.member-tab:disabled {
  color: var(--color-placeholder);
  cursor: default;
}

.member-screen {
  display: grid;
  gap: 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  padding: 18px;
}

.member-screen__title,
.member-section-heading h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.member-section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.member-section-heading p {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
}

.member-info-grid,
.member-audit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  overflow: hidden;
}

.member-field {
  display: grid;
  grid-template-columns: minmax(104px, 0.42fr) minmax(0, 1fr);
  min-height: 42px;
  align-items: center;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.member-field:nth-child(3n) {
  border-right: 0;
}

.member-field__label {
  height: 100%;
  align-content: center;
  background: var(--color-surface-soft);
  padding: 8px 12px;
  color: var(--color-text);
  font-size: 13px;
  font-weight: 800;
}

.member-field__value {
  margin: 6px 10px;
  border-radius: var(--radius-sm);
  background: #f0f3f6;
  padding: 4px 9px;
  color: var(--color-text);
  font-size: 13px;
  overflow-wrap: anywhere;
}

.member-summary-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.member-metric {
  display: grid;
  gap: 4px;
  border-right: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 12px;
}

.member-metric:last-child {
  border-right: 0;
}

.member-metric__label {
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 700;
}

.member-metric__value {
  font-size: 15px;
}

.member-game-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
  padding: 10px;
}

.member-game-chip {
  min-height: 28px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  color: var(--color-text);
  cursor: pointer;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 750;
}

.member-game-chip.is-active {
  background: var(--color-active);
  color: var(--color-surface);
}

.member-rate-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.member-rate-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  background: var(--color-surface);
}

.member-rate-table th,
.member-rate-table td {
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 10px;
  text-align: center;
  vertical-align: middle;
}

.member-rate-table th {
  background: var(--color-surface-soft);
  font-weight: 800;
}

.member-rate-control {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.member-rate-value {
  min-width: 58px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
  padding: 4px 8px;
  text-align: left;
}

.member-small-button {
  min-height: 28px;
  border-color: #98cfff;
  background: #0b7ee8;
  color: var(--color-surface);
  padding: 0 9px;
  font-size: 12px;
}

.member-rolling-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.55fr) minmax(360px, 1fr);
  gap: 18px;
}

.member-settings-list,
.member-explain-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  padding: 16px;
}

.member-settings-list__title {
  margin: 0 0 10px;
  font-size: 16px;
}

.member-setting-row {
  display: grid;
  width: 100%;
  min-height: 46px;
  grid-template-columns: minmax(0, 1fr) 92px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  color: var(--color-text);
  padding: 0 10px;
  text-align: left;
}

.member-setting-row:last-child {
  border-bottom: 0;
}

.member-setting-row.is-highlighted {
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  background: var(--color-surface-tint);
  cursor: pointer;
}

.member-setting-row:disabled {
  cursor: default;
}

.member-setting-row strong {
  justify-self: end;
  color: var(--color-muted);
}

.member-setting-row.is-highlighted strong {
  color: var(--color-active);
}

.member-explain-panel {
  position: relative;
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 330px;
  padding: 28px 30px;
}

.member-explain-panel h3,
.member-explain-panel h4,
.member-explain-panel p {
  margin: 0;
}

.member-explain-panel h3 {
  font-size: 22px;
}

.member-explain-panel p {
  color: var(--color-muted);
}

.member-explain-panel.is-empty {
  place-content: center;
  border-style: dashed;
  text-align: center;
}

.member-panel-close {
  position: absolute;
  right: 18px;
  top: 16px;
  min-height: 30px;
  padding: 0 10px;
}

.member-panel-result {
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

.member-related-screens {
  display: grid;
  gap: 8px;
  border-top: 1px solid var(--color-border);
  padding-top: 14px;
}

.member-related-screens p {
  font-size: 12px;
  line-height: 1.55;
}

.member-connection-chain {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.member-chain-node {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  border: 1px solid #7bb4ff;
  border-radius: var(--radius-sm);
  background: #eef6ff;
  padding: 4px 10px;
  color: #0f5fb8;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
  line-height: 1.2;
  text-align: center;
  appearance: none;
}

.member-chain-node:hover,
.member-chain-node:focus-visible {
  border-color: #0f5fb8;
  background: #dbeafe;
  outline: none;
}

.member-chain-node--search {
  border-color: #7bb4ff;
  background: #eef6ff;
  color: #0f5fb8;
}

.member-related-inline {
  display: block;
}

.member-chain-node.member-inline-related-button {
  min-height: 26px;
  margin: 0 4px;
  vertical-align: baseline;
}

.member-related-details {
  display: grid;
  gap: 8px;
}

.member-related-detail {
  position: relative;
  display: grid;
  gap: 5px;
  border: 1px solid #cfe0f4;
  border-radius: 8px;
  background: #fff;
  padding: 10px 38px 10px 10px;
}

.member-related-detail__number {
  position: absolute;
  top: 8px;
  right: 10px;
  display: inline-flex;
  min-width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #eaf4ff;
  color: #0f5fb8;
  font-size: 11px;
  font-weight: 900;
}

.member-related-detail-link {
  justify-self: start;
  min-height: 28px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.member-related-detail p {
  margin: 0;
}

.member-related-title {
  padding-top: 10px;
}

.member-related-docs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.member-related-doc {
  min-height: 34px;
  padding: 0 12px;
}

main.document-view--member,
.document-view--member {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border-color: #e2e6ea;
  border-radius: 6px;
  background: #f7f8fb;
  box-shadow: none;
  outline: 0;
  overflow: visible;
}

main.document-view--admin-status,
.document-view--admin-status {
  width: 100%;
  min-width: 0;
  max-width: none;
  margin: 0;
  padding: 0;
  border-color: #e2e6ea;
  border-radius: 6px;
  background: #f7f8fb;
  box-shadow: none;
  outline: 0;
  overflow: visible;
}

body.route-member-page .content,
body.route-member-page .document-view--member,
body.route-member-page .member-prototype,
body.route-member-page .member-prototype__header,
body.route-member-page .member-tabs,
body.route-member-page .member-screen,
body.route-member-page .member-detail-layout,
body.route-member-page .member-main-column,
body.route-member-page .member-setting-block {
  width: 100%;
  max-width: none;
}

body.route-admin-status .content,
body.route-admin-status .document-view--admin-status,
body.route-admin-status .admin-status-page,
body.route-admin-status .admin-status-guide {
  width: 100%;
  max-width: none;
}

.document-view--member:focus,
.document-view--admin-status:focus {
  outline: 0;
}

.admin-status-page {
  display: grid;
  gap: 16px;
  color: #151b22;
  font-size: 12px;
  line-height: 1.45;
}

.admin-status-page__header {
  border-bottom: 1px solid #e2e6ea;
  background: #fff;
  padding: 14px 16px;
}

.admin-status-page__title {
  font-size: 19px;
  font-weight: 900;
}

.admin-status-page__description {
  margin-top: 4px;
  color: #4b5563;
}

.admin-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  gap: 4px;
  border: 1px solid #d8dee6;
  border-radius: 3px;
  background: #fff;
  padding: 3px 8px;
  color: #111827;
  text-decoration: none;
  white-space: nowrap;
}

.admin-status-chip:hover {
  border-color: #8ab8ff;
  background: #f2f7ff;
}

.admin-status-chip--alert {
  border-color: #f4d48a;
  background: #fff8e6;
}

.admin-status-chip--spacer {
  visibility: hidden;
  pointer-events: none;
}

.admin-status-chip__label {
  font-weight: 700;
}

.admin-status-chip__value {
  color: #111827;
  font-weight: 900;
}

.admin-status-chip--alert .admin-status-chip__value {
  color: #dc2626;
}

.admin-status-guide {
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #fff;
  padding: 14px;
}

.admin-status-header-tools {
  margin: 0 14px;
  border-left: 4px solid #4f83cc;
  border-radius: 6px;
  background: #edf5ff;
  padding: 11px 13px;
  color: #27364a;
  font-weight: 700;
}

.admin-status-guide__title {
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 900;
}

.admin-status-guide__description {
  margin: -4px 0 14px;
  color: #4b5563;
  font-weight: 650;
}

.admin-status-section-list {
  display: grid;
  gap: 14px;
}

.admin-status-section {
  overflow: hidden;
  border: 1px solid #d8dee6;
  border-radius: 6px;
  background: #fff;
}

.admin-status-section__title {
  margin: 0;
  border-bottom: 1px solid #d8dee6;
  background: #eef6f4;
  padding: 9px 12px;
  color: #0f5f55;
  font-size: 14px;
  font-weight: 900;
}

.admin-status-section__summary {
  margin: 0;
  border-bottom: 1px solid #e5eaf0;
  padding: 9px 12px;
  color: #374151;
  font-weight: 650;
}

.admin-status-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
}

.admin-status-table th,
.admin-status-table td {
  border: 1px solid #d8dee6;
  padding: 9px 10px;
  text-align: left;
  vertical-align: top;
}

.admin-status-table thead th {
  background: #f6f8fb;
  font-weight: 900;
}

.admin-status-table th:first-child {
  width: 18%;
}

.admin-status-table th:nth-child(2),
.admin-status-table td:nth-child(2) {
  width: 22%;
}

.admin-status-table th:nth-child(4),
.admin-status-table td:nth-child(4) {
  width: 23%;
}

.admin-status-table tbody th {
  font-weight: 800;
}

.admin-status-table__link {
  color: #005fcc;
  font-weight: 800;
  text-decoration: none;
}

.admin-status-table__link:hover {
  text-decoration: underline;
}

.admin-status-callout {
  border-left: 4px solid #0fbc8c;
  border-radius: 6px;
  background: #d9f8ef;
  padding: 12px 14px;
  color: #1f2933;
  font-weight: 700;
}

.member-prototype {
  gap: 0;
  width: 100%;
  min-width: 0;
  color: #151b22;
  font-size: 12px;
  line-height: 1.35;
}

.member-prototype__header {
  align-items: center;
  box-sizing: border-box;
  border-bottom: 1px solid #e2e6ea;
  background: #fff;
  padding: 14px 16px;
}

.member-prototype__title {
  font-size: 19px;
  font-weight: 900;
}

.member-prototype__description {
  margin-top: 4px;
  font-size: 12px;
}

.member-guide-button {
  min-height: 30px;
  border-color: #d7dde4;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
}

.member-tabs {
  box-sizing: border-box;
  width: 100%;
  gap: 4px;
  overflow-x: auto;
  scrollbar-gutter: stable;
  border: 0;
  border-radius: 0;
  background: #f5f7fb;
  padding: 8px 10px;
}

.member-tab {
  min-height: 30px;
  border: 1px solid #d8dee6;
  background: #fff;
  padding: 0 13px;
  color: #2a3138;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.member-tab.is-active {
  border-color: #9aa4af;
  background: #eef1f4;
  color: #111827;
  box-shadow: inset 0 -2px 0 #555b63;
}

.member-screen {
  box-sizing: border-box;
  width: 100%;
  gap: 10px;
  border: 1px solid #e1e5eb;
  border-radius: 8px;
  background: #fff;
  padding: 10px;
  box-shadow: none;
}

.member-screen__title,
.member-section-heading h2 {
  font-size: 16px;
  font-style: italic;
  font-weight: 900;
}

.member-section-heading {
  align-items: center;
  border-bottom: 1px solid #e4e8ed;
  padding: 0 0 8px;
}

.member-admin-table--rounded {
  border: 1px solid #d8dee6;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
  border-collapse: separate;
  border-spacing: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 1px 2px rgba(15, 23, 42, 0.08),
    0 7px 18px rgba(15, 23, 42, 0.08);
}

.member-section-heading p {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.member-filter-row,
.member-search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  border-radius: 4px;
  background: #e9e9e9;
  padding: 6px;
}

.member-filter-button {
  min-height: 26px;
  border: 0;
  border-radius: 4px;
  background: #fff;
  color: #1f2933;
  cursor: pointer;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.member-filter-button.is-active {
  background: #4b535c;
  color: #fff;
}

.member-input-value {
  display: inline-flex;
  flex: 1 1 auto;
  min-width: 82px;
  max-width: 100%;
  min-height: 26px;
  align-items: center;
  border: 1px solid #d7dde3;
  border-radius: 4px;
  background: #f0f3f6;
  padding: 3px 9px;
  color: #344054;
  font-size: 12px;
  font-weight: 650;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  vertical-align: middle;
}

button.member-input-value--button {
  width: 100%;
  cursor: pointer;
  appearance: none;
  font-family: inherit;
  justify-content: flex-start;
}

button.member-input-value--button:hover,
button.member-input-value--button:focus-visible {
  border-color: #00a98f;
  outline: none;
}

.member-rate-group {
  display: grid;
  grid-template-columns: repeat(5, minmax(30px, 1fr));
  gap: 4px;
  width: 100%;
  min-width: 0;
  align-items: end;
}

.member-rate-field {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.member-rate-field__label {
  color: #475467;
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.member-rate-field .member-panel-anchor,
.member-rate-field .member-input-value {
  width: 100%;
  min-width: 0;
}

.member-rate-group--game-use {
  grid-template-columns: repeat(5, minmax(48px, 1fr));
}

.member-inline-action {
  display: inline-flex;
  width: 100%;
  min-width: 0;
  gap: 5px;
  align-items: center;
}

.member-inline-action .member-input-value {
  min-width: 0;
}

.member-admin-table--game-use th:nth-of-type(1) {
  width: 78px;
}

.member-admin-table--game-use td:nth-of-type(1) {
  width: clamp(340px, 28vw, 520px);
}

.member-admin-table--game-use th:nth-of-type(2) {
  width: clamp(96px, 7vw, 120px);
  background: #9bd020;
  color: #122112;
  text-align: center;
}

.member-admin-table--game-use td:nth-of-type(2) {
  width: auto;
  background: #f7fbef;
}

.member-game-use-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.member-game-use-chip {
  min-height: 26px;
  border: 0;
  border-radius: 4px;
  background: #e9edf2;
  color: #26313d;
  cursor: pointer;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.member-game-use-chip.is-active {
  background: #0d74e8;
  color: #fff;
}

.member-admin-table--betting-cut {
  table-layout: fixed;
}

.member-admin-table--betting-cut th {
  width: 6.5%;
  background: #9bd020;
  color: #122112;
  text-align: left;
}

.member-admin-table--betting-cut td {
  width: 26.8%;
  background: #fbfcfd;
}

.member-compact-control-set,
.member-compact-metric-group {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.member-compact-metric-fields {
  display: inline-grid;
  min-width: min(220px, 100%);
  grid-template-columns: repeat(2, minmax(74px, 1fr));
  gap: 5px;
  align-items: end;
}

.member-compact-metric-fields .member-input-value {
  width: 100%;
}

.member-sports-settings {
  display: grid;
  gap: 12px;
  border: 1px solid #d6e0ea;
  border-radius: 8px;
  background: linear-gradient(#fff, #fbfcfe);
  padding: 12px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.92) inset, 0 2px 9px rgba(15, 23, 42, 0.08);
}

.member-sports-settings h3,
.member-sports-settings h4 {
  margin: 0;
  color: #17202b;
  font-weight: 900;
}

.member-sports-settings h3 {
  font-size: 14px;
}

.member-sports-settings h4 {
  font-size: 12px;
}

.member-sports-settings__description {
  margin: 0;
  color: #5e6977;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.member-sports-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.member-sports-card {
  display: grid;
  gap: 7px;
  border: 1px solid #d5e3ef;
  border-radius: 6px;
  background: #fff;
  padding: 9px;
}

.member-sports-card__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: start;
}

.member-sports-card .member-live-select {
  width: min(190px, 100%);
}

.member-sports-card .member-select-description {
  display: none;
}

.member-prematch-settings {
  display: grid;
  gap: 7px;
}

.member-prematch-settings__header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.member-prematch-grid {
  display: grid;
  max-width: 440px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.member-prematch-group {
  display: grid;
  gap: 5px;
}

.member-prematch-field {
  display: grid;
  gap: 4px;
  color: #4b5563;
  font-size: 10px;
  font-weight: 800;
}

.member-native-input--compact {
  min-height: 26px;
  font-size: 11px;
}

.member-admin-table--memo {
  table-layout: fixed;
}

.member-admin-table--memo th {
  width: 5.5%;
  background: #9bd020;
  color: #122112;
  text-align: left;
}

.member-admin-table--memo td {
  width: 19.5%;
  background: #fbfcfd;
  vertical-align: top;
}

.member-memo-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  align-items: start;
}

.member-memo-control .member-panel-anchor {
  justify-self: start;
}

.member-memo-input,
.member-memo-textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  border: 1px solid #d7dde3;
  border-radius: 4px;
  background: #fff;
  color: #344054;
  font-family: inherit;
  font-size: 12px;
  font-weight: 650;
}

.member-memo-input {
  min-height: 26px;
  padding: 4px 8px;
}

.member-memo-textarea {
  min-height: 96px;
  resize: vertical;
  padding: 8px;
}

.member-toggle-switch {
  position: relative;
  display: inline-flex;
  width: 34px;
  height: 18px;
  border: 1px solid #cfd8df;
  border-radius: 999px;
  background: #eef2f5;
  cursor: pointer;
  vertical-align: middle;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.member-toggle-switch__knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #b8c1ca;
  transition: left 0.15s ease, background 0.15s ease;
}

.member-toggle-switch.is-on {
  border-color: #00a98f;
  background: #d7f7f0;
}

.member-toggle-switch.is-on .member-toggle-switch__knob {
  left: 18px;
  background: #00a98f;
}

.member-action-value {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
}

.member-editable-value {
  display: inline-flex;
  width: 100%;
  max-width: 100%;
  gap: 5px;
  align-items: center;
  min-width: 0;
}

.member-editable-value--password {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
}

.member-editable-value--password .member-input-value {
  flex: 0 1 110px;
  min-width: 92px;
}

.member-password-label {
  display: flex;
  width: 100%;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.member-password-label .member-password-reset-action {
  flex: 0 0 auto;
}

.member-editable-value .member-panel-anchor {
  flex: 0 0 auto;
}

.member-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.member-action-buttons {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
}

.member-compact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid #dce1e6;
  background: #f7f9fb;
}

.member-compact-strip span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  gap: 6px;
  border-right: 1px solid #dce1e6;
  padding: 0 10px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 750;
}

.member-compact-strip span:last-child {
  border-right: 0;
}

.member-compact-strip strong {
  color: #111827;
  font-weight: 900;
}

.member-admin-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  background: #fff;
  table-layout: auto;
}

.member-admin-table th,
.member-admin-table td {
  border: 1px solid #dce1e6;
  padding: 6px 7px;
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}

.member-admin-table thead th {
  border-top-color: #7d858f;
  background: #f8f8f8;
  color: #111827;
  font-weight: 900;
}

.member-admin-table tbody tr:nth-child(even) td {
  background: #edf3ff;
}

.member-history-screen {
  gap: 7px;
}

.member-history-screen .member-table-wrap {
  border: 1px solid #dce1e6;
  background: #fff;
}

.member-history-screen .member-admin-table {
  min-width: 1180px;
}

.member-history-screen .member-admin-table th,
.member-history-screen .member-admin-table td {
  padding: 5px 6px;
  font-size: 11px;
}

.member-history-screen .member-dense-box {
  max-width: 760px;
}

.member-admin-table--fields {
  min-width: 100%;
  table-layout: fixed;
}

.member-admin-table--fields th {
  width: 12%;
  min-width: 0;
  background: #fbfcfd;
  text-align: left;
  font-weight: 900;
}

.member-admin-table--fields td {
  width: 13%;
  min-width: 0;
  text-align: left;
}

.member-footer-rate {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  border: 1px solid #dce1e6;
  background: #fff;
  padding: 7px;
}

.member-green-label,
.member-setting-block__title {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  background: #a2ca3a;
  color: #132313;
  padding: 0 12px;
  font-weight: 900;
}

.member-setting-block {
  display: grid;
  gap: 0;
  border: 1px solid #d6e5a6;
  background: #fbfff0;
  border-radius: 8px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, 0 2px 7px rgba(55, 76, 23, 0.14);
  overflow: hidden;
}

.member-setting-block__title {
  background: #f4fae2;
  color: #283618;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.member-mini-button,
.member-small-button,
.member-panel-close,
.member-related-doc {
  min-height: 25px;
  border: 0;
  border-radius: 4px;
  background: #e9edf2;
  color: #26313d;
  cursor: pointer;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 900;
}

.member-mini-button--blue,
.member-small-button {
  background: #0d74e8;
  color: #fff;
}

.member-mini-button--red {
  background: #e83345;
  color: #fff;
}

.member-mini-button--cyan {
  background: #13bfd0;
  color: #092f35;
}

.member-mini-button--dark {
  background: #4b535c;
  color: #fff;
}

.member-mini-button--green {
  background: #22a447;
  color: #fff;
}

.member-auto-approval-trigger {
  min-height: 25px;
  border: 1px solid #00847c;
  border-radius: 4px;
  background: #eafffb;
  color: #006b64;
  cursor: pointer;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 900;
}

.member-rate-inline {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}

.member-rolling-action-control {
  display: grid;
  width: min(360px, 100%);
  grid-template-columns: minmax(150px, 1fr) auto auto;
  gap: 5px;
  align-items: center;
}

.member-rolling-action-control--rate {
  width: 100%;
  max-width: 100%;
  grid-template-columns: minmax(120px, 1fr) auto auto;
}

.member-rolling-action-control .member-native-select,
.member-rolling-action-control .member-native-input {
  min-width: 0;
}

.member-status,
.member-badge {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  padding: 0 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.member-badge {
  background: #21c91f;
}

.member-status--blue {
  background: #1e9bf0;
}

.member-status--red {
  background: #f04438;
}

.member-status--green {
  background: #2fb344;
  color: #111827;
}

.member-status--lime {
  background: #d8ef3b;
  color: #111827;
}

.member-status--purple {
  background: #9b5bd3;
}

.member-status--orange {
  background: #ffb13b;
  color: #111827;
}

.member-status--cyan {
  background: #19c5d8;
  color: #111827;
}

.member-notice {
  margin: 0;
  border: 1px solid #f4d675;
  border-radius: 4px;
  background: #fff5c4;
  padding: 8px 10px;
  color: #6b4f00;
  font-weight: 800;
}

.member-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(420px, 0.58fr);
  gap: 14px;
}

.member-communication-grid {
  align-items: start;
}

.member-editor-box {
  display: grid;
  gap: 8px;
  align-content: start;
  border: 1px solid #dce1e6;
  background: #fff;
  padding: 10px;
}

.member-editor-box h3 {
  margin: 0;
  font-size: 14px;
}

.member-editor-box label {
  font-weight: 900;
}

.member-editor-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  border: 1px solid #d7dde3;
  background: #f8fafc;
  padding: 4px;
}

.member-editor-toolbar span {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dde3ea;
  background: #fff;
  padding: 0 7px;
  color: #384150;
  font-size: 11px;
  font-weight: 800;
}

.member-editor {
  min-height: 250px;
  border: 1px solid #d7dde3;
  border-radius: 4px;
  background: #fff;
  padding: 12px;
  color: #9aa4af;
}

.member-dense-box {
  display: grid;
  gap: 8px;
  border: 1px solid #dce1e6;
  background: #fff;
  padding: 9px;
}

.member-dense-box h3 {
  margin: 0;
  color: #111827;
  font-size: 13px;
  font-weight: 900;
}

.member-dense-box__grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid #edf0f4;
  border-left: 1px solid #edf0f4;
}

.member-dense-box__grid dt,
.member-dense-box__grid dd {
  min-height: 28px;
  border-right: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
  padding: 5px 7px;
  font-size: 12px;
  line-height: 1.35;
}

.member-dense-box__grid dt {
  background: #f8fafc;
  color: #111827;
  font-weight: 900;
}

.member-dense-box__grid dd {
  margin: 0;
  color: #4b5563;
  font-weight: 750;
}

.member-dense-box__body {
  margin: 0;
  color: #4b5563;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.45;
}

.member-explain-panel {
  min-height: 260px;
  border: 1px solid #cfd8e3;
  background: #fff;
  padding: 28px 34px 24px;
}

.member-rolling-guide {
  display: grid;
  grid-template-columns: 430px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.member-rolling-guide__list {
  display: grid;
  align-content: start;
  border: 1px solid #dce1e6;
  background: #fff;
}

.member-setting-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  gap: 12px;
  align-items: center;
  min-height: 50px;
  border: 0;
  border-bottom: 1px solid #e1e5eb;
  background: #fff;
  color: #1f2933;
  cursor: pointer;
  padding: 0 22px;
  text-align: left;
  font: inherit;
  font-weight: 800;
}

.member-setting-row:last-child {
  border-bottom: 0;
}

.member-setting-row strong {
  color: #5f6b7a;
  font-weight: 800;
}

.member-setting-row.is-selected {
  border: 1px solid #00847c;
  background: #f0fffc;
  color: #006b64;
  box-shadow: inset 4px 0 0 #00847c;
}

.member-connection-chain {
  gap: 6px;
}

.member-chain-node {
  border-color: #7bb4ff;
  background: #eef6ff;
  color: #0f5fb8;
}

.member-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.member-main-column {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.member-panel-anchor {
  display: inline-flex;
  position: relative;
  align-items: center;
  vertical-align: middle;
}

.member-panel-anchor.member-focus-target.is-flashing {
  animation: documentFocusFlash 4200ms ease-out;
  border-radius: var(--radius-sm);
  outline: 2px solid #2f80ed;
  outline-offset: 4px;
}

.member-panel-anchor-cell.member-focus-target.is-flashing {
  animation: documentFocusTableFlash 4200ms ease-out;
  box-shadow: inset 0 0 0 2px #2f80ed;
}

.member-panel-trigger {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  justify-content: center;
  border: 1px solid #00847c;
  border-radius: 4px;
  background: #eafffb;
  color: #006b64;
  cursor: pointer;
  padding: 0 9px;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.member-select-value {
  display: inline-grid;
  gap: 4px;
  align-items: center;
}

.member-select-options {
  display: block;
  color: #687382;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  white-space: normal;
}

.member-live-select {
  display: inline-grid;
  width: min(240px, 100%);
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 4px 6px;
  align-items: center;
  min-width: 0;
}

.member-native-select {
  width: 100%;
  box-sizing: border-box;
  min-height: 25px;
  border: 1px solid #d4dce6;
  border-radius: 4px;
  background: #f7f9fb;
  color: #222a33;
  padding: 0 28px 0 9px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.member-native-input {
  width: 100%;
  box-sizing: border-box;
  min-height: 25px;
  border: 1px solid #d4dce6;
  border-radius: 4px;
  background: #f7f9fb;
  color: #222a33;
  padding: 0 9px;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.member-mini-button--pending {
  border-color: #00847c;
  background: #eafffb;
  color: #006b64;
}

.member-select-description {
  grid-column: 1 / -1;
  width: 100%;
  min-height: 15px;
  color: #687382;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.member-guide-list h4 {
  margin: 0;
  color: #18212c;
  font-size: 13px;
  font-weight: 900;
}

.member-guide-list ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
  color: #4d5968;
  line-height: 1.45;
}

.member-two-column--wide {
  grid-template-columns: minmax(760px, 1fr) minmax(420px, 0.42fr);
}

.member-detail-layout .member-explain-panel {
  min-height: 380px;
}

.member-detail-layout .member-explain-panel.is-empty {
  place-content: start;
  border-style: solid;
  text-align: left;
}

.member-help-panel {
  position: fixed;
  z-index: 30;
  top: 96px;
  right: clamp(16px, 2vw, 32px);
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 18px 46px rgb(15 23 42 / 0.18);
}

.member-help-panel.is-anchored-to-control {
  z-index: 60;
}

.member-modal-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgb(15 23 42 / 0.42);
  padding: 24px;
}

.member-freespin-modal {
  display: grid;
  width: min(640px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 60px rgb(15 23 42 / 0.28);
}

.member-freespin-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce3ea;
  padding: 14px 16px;
}

.member-freespin-modal__header h3 {
  margin: 0;
  color: #19202a;
  font-size: 16px;
  font-weight: 900;
}

.member-modal-close {
  border: 0;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.member-freespin-modal__member {
  margin: 12px 16px 8px;
  border-radius: 4px;
  background: #232631;
  color: #eef4ff;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 850;
}

.member-freespin-modal__status {
  margin: 0 16px 10px;
  color: #536170;
  font-size: 12px;
  font-weight: 750;
}

.member-freespin-form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px 14px;
  padding: 0 16px 12px;
}

.member-freespin-form-field {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #303946;
  font-size: 12px;
  font-weight: 850;
}

.member-freespin-form-field--wide {
  grid-column: 1 / -1;
}

.member-freespin-loading {
  min-height: 24px;
  color: #596674;
  font-size: 12px;
  font-weight: 700;
}

.member-freespin-modal__tools {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
}

.member-freespin-modal__footer {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid #dce3ea;
  padding: 12px 16px;
}

.member-freespin-preview {
  position: fixed;
  z-index: 70;
  top: 50%;
  left: 50%;
  display: grid;
  width: min(520px, calc(100vw - 40px));
  gap: 12px;
  transform: translate(-50%, -50%);
  border: 1px solid #cfd8e3;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 24px 72px rgb(15 23 42 / 0.4);
  padding: 18px;
}

.member-freespin-preview h3 {
  margin: 0;
  color: #19202a;
  font-size: 16px;
}

.member-freespin-preview .member-freespin-modal__status {
  margin: 0;
}

.member-wide-modal {
  display: grid;
  width: min(1720px, calc(100vw - 18px));
  max-height: calc(100vh - 28px);
  overflow: hidden;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 20px 60px rgb(15 23 42 / 0.28);
}

.member-wide-modal--game-detail {
  width: min(980px, calc(100vw - 48px));
}

.member-wide-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce3ea;
  padding: 12px 14px;
}

.member-wide-modal__header h3 {
  margin: 0;
  color: #19202a;
  font-size: 18px;
  font-weight: 900;
}

.member-wide-modal__body {
  display: grid;
  gap: 10px;
  overflow: auto;
  padding: 12px;
}

.member-wide-modal__filters {
  background: #fff;
  padding: 0;
}

.member-wide-modal__body .member-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.member-wide-modal__body .member-admin-table {
  min-width: 1280px;
}

.member-wide-modal--game-detail .member-wide-modal__body .member-admin-table {
  min-width: 0;
}

.member-wide-modal__note {
  margin: 0;
  color: #4b5563;
  font-size: 12px;
  font-weight: 750;
}

.member-wide-modal__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 6px 0 2px;
}

.document-bonus-modal {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1180px, calc(100vw - 32px));
  height: min(860px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 20px 60px rgb(15 23 42 / 0.28);
}

.document-bonus-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dce3ea;
  padding: 14px 16px;
}

.document-bonus-modal__header h3 {
  margin: 0;
  color: #19202a;
  font-size: 18px;
  font-weight: 900;
}

.document-bonus-modal__body {
  display: grid;
  gap: 16px;
  min-height: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 16px;
}

.document-bonus-modal__lead,
.document-bonus-modal__note {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.65;
}

.document-bonus-modal__note {
  border-left: 4px solid #00a885;
  border-radius: 6px;
  background: #dffbf3;
  padding: 12px 14px;
  color: #162c28;
}

.document-bonus-mode-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.document-bonus-mode-tab {
  appearance: none;
  border: 1px solid #c9d3df;
  border-radius: 5px;
  background: #fff;
  padding: 10px 12px;
  color: #334155;
  font: inherit;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  cursor: pointer;
}

.document-bonus-mode-tab:hover,
.document-bonus-mode-tab:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

.document-bonus-mode-tab.is-active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.document-image-modal {
  width: min(1180px, calc(100vw - 32px));
}

.document-image-modal__body {
  display: grid;
  gap: 10px;
}

.document-image-modal__asset {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface-soft);
}

.document-image-modal__caption {
  margin: 0;
  color: var(--color-muted);
  font-size: 13px;
  line-height: 1.5;
}

.document-image-carousel-modal {
  width: min(1040px, calc(100vw - 32px));
}

.document-carousel-modal__body {
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.document-carousel-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  min-height: 0;
  align-items: start;
}

.document-carousel-media {
  position: relative;
  display: grid;
  min-height: clamp(360px, calc(100vh - 310px), 650px);
  place-items: center;
  overflow: hidden;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #f8fafc;
  padding: 12px 76px;
}

.document-carousel-image {
  display: block;
  width: auto;
  max-width: min(100%, 720px);
  max-height: min(660px, calc(100vh - 320px));
  border: 1px solid var(--color-border);
  border-radius: 6px;
  background: #fff;
  object-fit: contain;
}

.document-carousel-side-button {
  position: absolute;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  border: 1px solid #d5e0ec;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
  color: transparent;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease,
    background 0.15s ease;
}

.document-carousel-side-button::before {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  border-top: 3px solid #111827;
  border-right: 3px solid #111827;
}

.document-carousel-side-button--previous {
  left: 18px;
}

.document-carousel-side-button--previous::before {
  transform: rotate(225deg);
  margin-left: 4px;
}

.document-carousel-side-button--next {
  right: 18px;
}

.document-carousel-side-button--next::before {
  transform: rotate(45deg);
  margin-right: 4px;
}

.document-carousel-side-button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.document-carousel-side-button:hover:not(:disabled),
.document-carousel-side-button:focus-visible {
  border-color: #2563eb;
  background: #fff;
  box-shadow: 0 12px 26px rgba(37, 99, 235, 0.18);
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

.document-carousel-side-button:hover:not(:disabled) {
  transform: translateY(-50%) scale(1.04);
}

.document-carousel-copy {
  display: grid;
  width: min(100%, 820px);
  align-content: start;
  justify-self: center;
  gap: 10px;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background: #fff;
  padding: 14px 16px;
}

.document-carousel-counter {
  margin: 0;
  color: #2563eb;
  font-size: 13px;
  font-weight: 950;
}

.document-carousel-title {
  margin: 0;
  color: #111827;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.3;
}

.document-carousel-description {
  margin: 0;
  color: #334155;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.65;
}

.document-carousel-highlights {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.document-carousel-highlights li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  border: 1px solid #fed7aa;
  border-radius: 6px;
  background: #fff7ed;
  padding: 8px 10px;
  color: #6b3104;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.document-carousel-highlights strong {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  border-radius: 999px;
  background: #f97316;
  padding: 2px 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
  line-height: 1.25;
}

.document-carousel-controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  width: min(100%, 820px);
  gap: 12px;
  align-items: center;
  justify-self: center;
}

.document-carousel-button,
.document-carousel-dot {
  appearance: none;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.document-carousel-button {
  min-width: 80px;
  padding: 10px 14px;
}

.document-carousel-button--primary {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

.document-carousel-button:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.document-carousel-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.document-carousel-dot {
  width: 30px;
  height: 30px;
  padding: 0;
}

.document-carousel-dot.is-active {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}

.document-carousel-button:hover:not(:disabled),
.document-carousel-button:focus-visible,
.document-carousel-dot:hover,
.document-carousel-dot:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

.document-bonus-replica {
  display: grid;
  grid-template-columns: minmax(420px, 0.95fr) minmax(360px, 1.05fr);
  gap: 20px;
  align-items: stretch;
  border: 1px solid #d8e0ea;
  border-radius: 8px;
  background-image: radial-gradient(#d8dee8 0.8px, transparent 0.8px);
  background-size: 18px 18px;
  padding: 16px;
}

.document-bonus-screen,
.document-bonus-explain {
  position: relative;
}

.document-bonus-screen {
  overflow: hidden;
  border: 1px solid #c9d3df;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 14px 30px rgb(15 23 42 / 0.16);
  color: #111827;
  font-size: 12px;
  font-weight: 800;
}

.document-bonus-screen__title {
  border-top: 1px solid #e7edf4;
  border-bottom: 1px solid #cbd5e1;
  background: #f8fafc;
  padding: 10px 12px;
  color: #0f172a;
  font-size: 14px;
  font-weight: 950;
  line-height: 1.35;
}

.document-bonus-screen__title:first-child {
  border-top: 0;
}

.document-bonus-guide-target {
  appearance: none;
  width: 100%;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.document-bonus-guide-target:hover,
.document-bonus-guide-target:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 2px;
}

.document-bonus-guide-target.is-active {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
  background: #f5fff9;
}

.document-bonus-box {
  display: grid;
  gap: 8px;
  margin: 10px;
  border: 1px solid #d5dde8;
  border-radius: 5px;
  padding: 10px;
}

.document-bonus-box.document-bonus-guide-target {
  width: calc(100% - 20px);
  background: #fff;
}

.document-bonus-form-row,
.document-bonus-time-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 7px 12px;
}

.document-bonus-form-row.document-bonus-guide-target {
  border: 0;
  background: transparent;
}

.document-bonus-form-row.document-bonus-guide-target.is-active {
  background: #f5fff9;
}

.document-bonus-form-row small {
  justify-self: end;
  color: #737373;
  font-size: 11px;
  font-weight: 800;
}

.document-bonus-form-row--action {
  grid-template-columns: minmax(150px, 1fr) auto auto;
  margin: 2px 10px 10px;
  border-radius: 5px;
}

.document-bonus-form-row--compound {
  grid-template-columns: minmax(150px, 1fr) 90px 10px 90px auto;
}

.document-bonus-time-row {
  grid-template-columns: minmax(120px, 1fr) 78px 10px 78px auto;
  padding: 0;
}

.document-bonus-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.document-bonus-two-col span {
  display: grid;
  gap: 4px;
}

.document-bonus-two-col b,
.document-input {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid #d3dbe7;
  border-radius: 4px;
  background: #f8fafc;
  padding: 2px 8px;
  color: #475569;
  font-size: 12px;
  font-weight: 800;
}

.document-input--unit {
  justify-content: flex-end;
  min-width: 112px;
}

.document-toggle {
  display: inline-block;
  width: 31px;
  height: 17px;
  border-radius: 999px;
  background: #d8dee6;
  box-shadow: inset 0 0 0 1px rgb(15 23 42 / 0.08);
}

.document-toggle::after {
  display: block;
  width: 13px;
  height: 13px;
  margin: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(15 23 42 / 0.22);
  content: "";
}

.document-toggle--on {
  background: #1d75ff;
}

.document-toggle--on::after {
  transform: translateX(14px);
}

.document-reset-button {
  border-radius: 4px;
  background: #ef4444;
  padding: 5px 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.document-green-button {
  display: inline-flex;
  justify-self: end;
  align-items: center;
  border-radius: 5px;
  background: #16a34a;
  padding: 6px 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.document-green-button--right {
  margin-top: 8px;
}

.document-check-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  color: #6b7280;
  font-size: 11px;
}

.document-check-row span::before {
  color: #94a3b8;
  content: "□ ";
}

.document-check-row--bonus span::before {
  content: "";
}

.document-mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: #3f4752;
  padding: 5px 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.document-bonus-explain {
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 100%;
  padding: var(--bonus-guide-offset, 4px) 0 4px;
  transition: padding-top 160ms ease;
}

.document-bonus-callout {
  border: 2px solid #ef4444;
  border-radius: 6px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 10px 24px rgb(15 23 42 / 0.12);
}

.document-bonus-callout strong {
  display: block;
  margin-bottom: 6px;
  color: #991b1b;
  font-size: 14px;
  font-weight: 950;
}

.document-bonus-callout p {
  margin: 0;
  color: #1f2937;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.document-bonus-mini-window {
  overflow: hidden;
  border: 1px solid #aeb8c6;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 16px 28px rgb(15 23 42 / 0.24);
}

.document-bonus-mini-window__bar {
  border-bottom: 1px solid #dbe3ec;
  padding: 10px 12px;
  color: #1f2937;
  font-size: 14px;
  font-weight: 950;
}

.document-bonus-mini-window__search,
.document-bonus-mini-window__list,
.document-bonus-mini-window__panel {
  margin: 10px;
  border: 1px solid #d3dce8;
  border-radius: 5px;
  background: #f8fafc;
  padding: 8px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.document-bonus-mini-window__panel {
  display: grid;
  gap: 8px;
}

.document-bonus-inline-pill,
.document-bonus-mini-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  background: #f3f7fb;
  padding: 3px 8px;
  color: #0f172a;
  font-size: 11px;
  font-weight: 950;
}

.document-bonus-mini-tag {
  border-radius: 5px;
  background: #1d75ff;
  color: #fff;
}

.document-bonus-mini-warning {
  border-left: 3px solid #ef4444;
  background: #fff5f5;
  padding: 6px 8px;
  color: #b42318;
}

.document-bonus-mini-critical {
  border: 1px solid #ef4444;
  border-radius: 6px;
  background: #fee2e2;
  padding: 8px 10px;
  color: #111827;
}

.document-bonus-mini-critical b {
  display: inline-flex;
  margin-right: 6px;
  border-radius: 999px;
  background: #dc2626;
  padding: 2px 7px;
  color: #fff;
  font-size: 11px;
  font-weight: 950;
}

.document-bonus-mini-tip {
  border: 1px solid #b7d8ff;
  border-left: 3px solid #1d75ff;
  border-radius: 5px;
  background: #f3f8ff;
  padding: 7px 8px;
  color: #0f4c9e;
}

.document-bonus-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.document-bonus-step {
  display: grid;
  gap: 6px;
  min-height: 138px;
  border: 1px solid #cdd9e6;
  border-radius: 6px;
  background: #f8fbff;
  padding: 12px;
}

.document-bonus-step__number {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #006ee6;
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.document-bonus-step strong {
  color: #152033;
  font-size: 14px;
  font-weight: 950;
}

.document-bonus-step p {
  margin: 0;
  color: #465668;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.55;
}

.document-bonus-table-wrap {
  overflow-x: auto;
  border: 1px solid #cdd9e6;
  border-radius: 6px;
}

.document-bonus-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  color: #1f2937;
  font-size: 13px;
}

.document-bonus-table th,
.document-bonus-table td {
  border-bottom: 1px solid #dce3ea;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.document-bonus-table tr:last-child td {
  border-bottom: 0;
}

.document-bonus-table th {
  background: #f3f6fa;
  color: #152033;
  font-weight: 950;
}

.document-bonus-table td {
  font-weight: 720;
  line-height: 1.55;
}

.member-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.member-check-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #26313d;
  font-size: 13px;
  font-weight: 800;
}

.member-check-chip input {
  width: 13px;
  height: 13px;
  accent-color: #0d74e8;
}

.loading-text {
  margin: 0;
  color: var(--color-muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media (min-width: 1400px) {
  .document-view {
    max-width: 1280px;
  }

  .document-article:has(.document-aside) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    column-gap: 44px;
  }

  .document-article:has(.document-aside) > .document-main {
    grid-column: 1;
  }

  .document-article:has(.document-aside) > .document-aside {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    position: sticky;
    top: 28px;
    margin: 0;
  }
}

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

  .sports-rules-grid {
    grid-template-columns: 1fr;
  }

  .sports-rule-card {
    min-height: auto;
  }

  .sports-rule-home-list,
  .sports-rule-home-list--dense {
    grid-template-columns: 1fr;
  }

  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: relative;
    height: auto;
    max-height: none;
    border-radius: 0;
  }

  .sidebar__header {
    align-items: center;
    min-height: 76px;
    padding: 20px;
  }

  .sidebar__title {
    font-size: 18px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .sidebar__navigation {
    display: none;
    height: auto;
    max-height: min(62vh, 520px);
    padding: 8px 14px 18px;
  }

  .sidebar.is-mobile-open .sidebar__navigation {
    display: block;
  }

  .content {
    padding: 0 20px 34px;
  }

  .document-header-actions {
    justify-content: flex-start;
    margin-top: 0;
  }

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

  .document-bonus-replica {
    grid-template-columns: 1fr;
  }

  .document-carousel-stage {
    grid-template-columns: 1fr;
  }

  .document-carousel-media {
    min-height: clamp(300px, calc(100vh - 350px), 540px);
    padding: 10px 58px;
  }

  .document-carousel-image {
    max-height: min(520px, calc(100vh - 360px));
  }

  .document-carousel-side-button {
    width: 40px;
    height: 40px;
  }

  .document-carousel-side-button::before {
    width: 10px;
    height: 10px;
    border-width: 3px 3px 0 0;
  }

  .document-carousel-side-button--previous {
    left: 10px;
  }

  .document-carousel-side-button--next {
    right: 10px;
  }

  .content--member-page,
  .content--admin-status,
  .content:has(.document-view--admin-status),
  .content:has(.document-view--member) {
    overflow-x: auto;
    padding: 0 12px 34px;
  }

  .admin-status-topbar {
    margin-right: -20px;
    margin-left: -20px;
    padding: 7px 10px;
  }

  .content--member-page .admin-status-topbar,
  .content--admin-status .admin-status-topbar,
  .content:has(.document-view--member) .admin-status-topbar,
  .content:has(.document-view--admin-status) .admin-status-topbar {
    margin-right: -12px;
    margin-left: -12px;
  }

  .admin-status-topbar__chips {
    min-width: max-content;
  }

  .admin-status-page {
    font-size: 13px;
  }

  .admin-status-guide {
    padding: 10px;
  }

  .admin-status-table,
  .admin-status-table tbody,
  .admin-status-table tr,
  .admin-status-table th,
  .admin-status-table td {
    display: block;
    width: 100%;
  }

  .admin-status-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .admin-status-table {
    table-layout: auto;
  }

  .admin-status-table tbody {
    display: grid;
    gap: 10px;
    padding: 10px;
  }

  .admin-status-table tbody tr {
    overflow: hidden;
    border: 1px solid #d8dee6;
    border-radius: 6px;
  }

  .admin-status-table tbody th,
  .admin-status-table tbody td,
  .admin-status-table th:first-child,
  .admin-status-table th:nth-child(2),
  .admin-status-table td:nth-child(2),
  .admin-status-table th:nth-child(4),
  .admin-status-table td:nth-child(4) {
    width: 100%;
  }

  .admin-status-table tbody th {
    border: 0;
    border-bottom: 1px solid #d8dee6;
    background: #f6f8fb;
  }

  .admin-status-table tbody td {
    border: 0;
    border-bottom: 1px solid #e5eaf0;
  }

  .admin-status-table tbody td:last-child {
    border-bottom: 0;
  }

  .admin-status-table tbody td::before {
    display: block;
    margin-bottom: 3px;
    color: #52606d;
    content: attr(data-label);
    font-size: 11px;
    font-weight: 900;
  }

  main.document-view--member,
  .document-view--member {
    width: 100%;
    max-width: 100%;
  }

  .search-panel {
    margin-bottom: 24px;
  }

  .search-input {
    min-height: 44px;
    border-radius: 10px;
  }

  .document-view {
    padding: 24px 20px 34px;
    border-radius: var(--radius-lg);
  }

  .home-view h1,
  .document-title,
  .state-view h1,
  .search-results-view h1 {
    font-size: 28px;
    line-height: 1.22;
  }

  .document-summary {
    font-size: 14px;
    line-height: 1.55;
  }

  .search-form {
    flex-direction: column;
  }

  .search-button {
    min-height: 40px;
  }

  .pending-state {
    min-height: 142px;
    padding: 28px 20px;
    font-size: 18px;
  }

  .pending-state::before {
    display: none;
  }

  .search-result {
    padding: 16px;
  }

  .member-prototype__header,
  .member-section-heading {
    display: grid;
  }

  .member-guide-button {
    width: fit-content;
  }

  .member-info-grid,
  .member-audit-grid,
  .member-summary-grid,
  .member-rolling-layout {
    grid-template-columns: 1fr;
  }

  .member-field,
  .member-field:nth-child(3n),
  .member-metric {
    border-right: 0;
  }

  .member-rate-control {
    justify-content: flex-start;
  }

  .member-explain-panel {
    min-height: 260px;
    padding: 22px 18px;
  }

  .member-help-panel {
    top: 88px;
    right: 12px;
    left: 12px;
    width: auto;
    max-height: calc(100vh - 104px);
  }
}

@media (max-width: 560px) {
  .document-bonus-flow {
    grid-template-columns: 1fr;
  }

  .document-bonus-modal {
    width: calc(100vw - 18px);
    height: calc(100vh - 18px);
    max-height: calc(100vh - 18px);
  }

  .document-bonus-modal__body {
    padding: 12px;
  }

  .document-bonus-replica {
    padding: 10px;
  }

  .document-carousel-media {
    min-height: clamp(260px, calc(100vh - 360px), 460px);
    padding: 8px 44px;
  }

  .document-carousel-side-button {
    width: 34px;
    height: 34px;
  }

  .document-carousel-side-button::before {
    width: 8px;
    height: 8px;
    border-width: 2.5px 2.5px 0 0;
  }

  .document-carousel-side-button--previous {
    left: 6px;
  }

  .document-carousel-side-button--next {
    right: 6px;
  }

  .document-bonus-form-row,
  .document-bonus-form-row--action,
  .document-bonus-time-row {
    grid-template-columns: 1fr;
  }

  .document-bonus-form-row small,
  .document-green-button {
    justify-self: start;
  }

  .document-bonus-two-col {
    grid-template-columns: 1fr;
  }

  .document-carousel-controls {
    grid-template-columns: 1fr;
  }

  .document-carousel-button {
    width: 100%;
  }

  .document-carousel-dots {
    order: -1;
  }
}
