@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@200;300;400;500;600;700&family=Lato&family=Montserrat:wght@300;400;500;600;700&family=Poppins&family=Roboto&family=Merriweather+Sans:wght@300;400;500;600&family=Raleway&family=Kaushan+Script&family=Baloo+Tamma+2:wght@400..600&display=swap");
html, body {
  background-color: rgb(240, 242, 245);
  color: #555559;
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  font-size: 16px;
  height: 100%;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #2680c2;
  cursor: pointer;
  text-decoration: none;
}
a:hover {
  color: #62B0E8;
  text-decoration: none;
}

.btn-primary {
  --bs-btn-bg: #0c6288;
  --bs-btn-border-color: #0c6288;
  --bs-btn-hover-bg: #0a5271;
  --bs-btn-hover-border-color: #08445e;
  --bs-btn-active-bg: #0c6288;
  --bs-btn-active-border-color: #08445e;
  --bs-btn-disabled-bg: #7fb3fc;
  --bs-btn-disabled-border-color: #7fb3fc;
  --bs-btn-disabled-color: rgba(255,255,255,0.7);
}

.btn-outline-primary {
  --bs-btn-color: #0c6288;
  --bs-btn-border-color: #0c6288;
  --bs-btn-hover-bg: #0c6288;
  --bs-btn-hover-border-color: #0c6288;
  --bs-btn-active-bg: #0c6288;
  --bs-btn-active-border-color: #0c6288;
  --bs-btn-disabled-color: #0c6288;
  --bs-btn-disabled-border-color: #0c6288;
}

.btn-link {
  --bs-btn-color: #0c6288;
  --bs-btn-active-color: #0a5271;
  --bs-btn-disabled-color: #0c6288;
  --bs-btn-hover-color: #f47920;
}

.btn-secondary {
  --bs-btn-bg: #2CB1BC;
  --bs-btn-border-color: #2CB1BC;
  --bs-btn-hover-bg: #14919B;
  --bs-btn-hover-border-color: #14919B;
  --bs-btn-active-bg: #2CB1BC;
  --bs-btn-active-border-color: #14919B;
  --bs-btn-disabled-bg: #5fb9c1;
  --bs-btn-disabled-border-color: rgba(255,255,255,0.8);
  --bs-btn-disabled-color: rgba(255,255,255,0.7);
}

.btn-info {
  --bs-btn-bg: #2196f3;
  --bs-btn-border-color: #2196f3;
  --bs-btn-hover-bg: #2188db;
  --bs-btn-hover-border-color: #2182cf;
  --bs-btn-active-bg: #2182cf;
  --bs-btn-active-border-color: #217bc2;
  --bs-btn-disabled-bg: #4daaf3;
  --bs-btn-disabled-border-color: #4daaf3;
  --bs-btn-color: #ffffff;
  --bs-btn-hover-color: #ffffff;
  --bs-btn-active-color: #ffffff;
  --bs-btn-disabled-color: rgba(255,255,255,0.7);
}

.tab-content {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.tab-content .tab-row {
  display: flex;
  margin: 4px 15px;
}
.tab-content .tab-row.row-label {
  margin: 0 0 -2px 25px;
}
.tab-content .tab-row.row-label .label {
  align-items: center;
  color: rgba(0, 0, 0, 0.4);
  display: flex;
  font-size: 14px;
  font-style: italic;
  margin-left: -2px;
  white-space: nowrap;
}
.tab-content .tab-row.options {
  display: flex;
}
.tab-content .tab-row.options .form-select {
  margin-right: 10px;
  width: fit-content;
}
.tab-content .tab-row.options .form-control.school-name {
  max-width: 400px;
}
.tab-content .tab-row.options .sample-count {
  width: 55px;
}
.tab-content .tab-row.options .sample-count-info {
  align-items: center;
  color: #bebebe;
  cursor: pointer;
  display: flex;
  margin: 0 10px 0 4px;
}
.tab-content .tab-row.options .limit-results {
  display: flex;
  margin: 0;
  padding: 0;
}
.tab-content .tab-row.options .show-limit-results {
  align-items: center;
  color: #2196f3;
  cursor: pointer;
  display: flex;
  font-size: 13px;
}
.tab-content .tab-row.options .show-limit-results:hover {
  color: #216daa;
}
.tab-content .tab-row.options .school-search-container {
  display: flex;
  position: relative;
  width: 100%;
}
.tab-content .tab-row.options .school-search-container .suggestions-container {
  position: absolute;
  width: fit-content;
  min-width: 400px;
  max-height: 200px;
  overflow-y: auto;
  border: 1px solid #ccc;
  border-top: none;
  border-radius: 4px;
  background-color: white;
  z-index: 10;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  top: 40px;
}
.tab-content .tab-row.options .school-search-container .suggestions-container .suggestion-item {
  padding: 8px 12px;
  cursor: pointer;
}
.tab-content .tab-row.options .school-search-container .suggestions-container .suggestion-item ::deep .bold {
  font-weight: 600;
}
.tab-content .tab-row.options .school-search-container .suggestions-container .suggestion-item:hover, .tab-content .tab-row.options .school-search-container .suggestions-container .suggestion-item.active {
  background-color: #d4ecff;
  border: none;
}
.tab-content .tab-row.action {
  align-items: center;
  justify-content: flex-end;
  width: 870px;
}
.tab-content .tab-row.action .summary {
  display: inline;
  color: #949494;
  font-size: 14px;
  margin-right: 10px;
  text-transform: lowercase;
}
.tab-content .tab-row.action .summary .summary-item {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 16px;
  color: #0C6288;
}
.tab-content .tab-row.action .summary .summary-item.division {
  margin-left: 5px;
}
.tab-content .tab-row.action .summary .school-count.sample {
  color: #8D2B0B;
  font-size: 16px;
  font-weight: 600;
}
.tab-content .tab-row.action .summary .school-text {
  margin-left: 3px;
}
.tab-content .tab-row.test {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 870px;
}
.tab-content .tab-row.test .tab-cell {
  display: flex;
  flex-direction: row;
}
.tab-content .tab-row.test .tab-cell .title-sports {
  margin-right: 15px;
  height: fit-content;
}
.tab-content .tab-row.test .tab-cell button {
  height: fit-content;
  white-space: nowrap;
}
.tab-content .tab-row.test .tab-cell.title-sports-content {
  display: flex;
  flex-direction: column;
}
.tab-content .tab-row.test .tab-cell.title-sports-content .title-search {
  display: flex;
}
.tab-content .tab-row.test .tab-cell.title-sports-content .title-search-results {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.tab-content .tab-row.test .tab-cell.title-sports-content .title-search-results .title-summary {
  color: #acacac;
  font-size: 12px;
}
.tab-content .tab-row.test .tab-cell.title-sports-content .title-search-results .title-summary .count {
  color: #6d6d6d;
  font-weight: 700;
}
.tab-content .tab-row.test .tab-cell.title-sports-content .title-search-results .titles {
  align-items: flex-end;
  display: flex;
  flex-direction: column;
  font-size: 14px;
}
.tab-content .tab-row.test .tab-cell.title-sports-content .title-search-results .titles .title {
  display: flex;
  justify-content: flex-end;
  padding: 3px 10px;
  text-align: right;
  width: 100%;
}
.tab-content .tab-row.test .tab-cell.title-sports-content .title-search-results .titles .title:hover {
  background-color: rgba(126, 155, 179, 0.2);
}

.mphone {
  color: #1f2a33;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 560px;
}
.mphone h1 {
  font-family: "Baloo Tamma 2", Montserrat;
  font-size: 28px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}
.mphone h2 {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  padding: 12px 14px 4px;
}
.mphone .back {
  align-items: center;
  align-self: flex-start;
  color: #0c6288;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 6px;
  margin: -10px 0 -6px;
  min-height: 44px;
  text-decoration: none;
}
.mphone .title-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mphone .title-block h1 {
  font-size: 26px;
}
.mphone .sub {
  color: #5b6570;
  font-size: 12.5px;
}
.mphone .muted {
  color: #5b6570;
  margin: 0;
}
.mphone .error {
  background: #fcebeb;
  border-radius: 8px;
  color: #8a2d2d;
  font-size: 13.5px;
  margin: 0;
  padding: 10px 12px;
}
.mphone .note,
.mphone .hint {
  color: #5b6570;
  font-size: 12.5px;
  line-height: 1.5;
  margin: 0;
}
.mphone .blurb {
  color: #3d4852;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
}
.mphone .actions {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.mphone .action {
  align-items: flex-start;
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 12px;
  color: #1f2a33;
  display: flex;
  flex-direction: column;
  font: inherit;
  gap: 6px;
  padding: 14px;
  text-align: left;
  text-decoration: none;
}
.mphone .action .icon {
  color: #0c6288;
  font-size: 20px;
}
.mphone .action .label {
  font-size: 15px;
  font-weight: 700;
}
.mphone .action.primary {
  background: #0c6288;
  border-color: #0c6288;
  color: #fff;
}
.mphone .action.primary .icon,
.mphone .action.primary .sub {
  color: rgba(255, 255, 255, 0.85);
}
.mphone .action:disabled {
  background: #e6eaee;
  border-color: #e6eaee;
  color: #8a96a3;
  cursor: not-allowed;
}
.mphone .action:disabled .icon,
.mphone .action:disabled .sub {
  color: #8a96a3;
}
.mphone .card {
  background: #fff;
  border: 1px solid #e3e7ec;
  border-radius: 12px;
  color: #1f2a33;
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.mphone .card.flush {
  overflow: hidden;
}
.mphone .review-card {
  gap: 10px;
  padding: 14px;
}
.mphone .review-card .card-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.mphone .review-card .card-title {
  font-size: 15px;
  font-weight: 700;
}
.mphone .review-card .more {
  color: #0c6288;
  font-size: 13px;
  font-weight: 600;
}
.mphone .tiles {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.mphone .tile {
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  font-size: 11.5px;
  font-weight: 600;
  padding: 10px;
}
.mphone .tile b {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.mphone .tile.warn {
  background: #fef3c7;
  color: #7c2d12;
}
.mphone .tile.bad {
  background: #fcebeb;
  color: #8a2d2d;
}
.mphone .tile.info {
  background: #dbeaf2;
  color: #0a5271;
}
.mphone .tile.plain {
  background: #fff;
  border: 1px solid #e3e7ec;
  color: #5b6570;
}
.mphone .tile.plain b {
  color: #1f2a33;
}
.mphone .row {
  align-items: center;
  border-top: 1px solid #eef1f4;
  color: #1f2a33;
  display: flex;
  gap: 10px;
  min-height: 60px;
  padding: 8px 14px;
  text-decoration: none;
}
.mphone .main {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}
.mphone .name {
  font-size: 14.5px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.mphone .pill {
  background: #f0f2f5;
  border-radius: 999px;
  color: #5b6570;
  flex: none;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  white-space: nowrap;
}
.mphone .pill.warn {
  background: #fef3c7;
  color: #7c2d12;
}
.mphone .pill.bad {
  background: #fcebeb;
  color: #8a2d2d;
}
.mphone .chips {
  display: flex;
  gap: 6px;
  margin: 0 -16px;
  overflow-x: auto;
  padding: 0 16px 2px;
  scrollbar-width: none;
}
.mphone .chip {
  background: #fff;
  border: 1px solid #dfe4ea;
  border-radius: 999px;
  color: #3d4852;
  flex: none;
  font-size: 13px;
  font-weight: 600;
  min-height: 36px;
  padding: 0 14px;
}
.mphone .chip .count {
  margin-left: 4px;
  opacity: 0.7;
}
.mphone .chip[aria-selected=true] {
  background: #0c6288;
  border-color: #0c6288;
  color: #fff;
}
.mphone .school {
  border-top: 1px solid #eef1f4;
}
.mphone .school:first-child {
  border-top: 0;
}
.mphone .school summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 10px;
  list-style: none;
  min-height: 58px;
  padding: 8px 14px;
}
.mphone .school summary::-webkit-details-marker {
  display: none;
}
.mphone .school .school-body {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 8px;
  padding: 0 14px 14px;
}
.mphone .school .link {
  color: #0c6288;
  font-weight: 600;
}
.mphone .change {
  align-items: baseline;
  display: flex;
  gap: 8px;
}
.mphone .tag {
  background: #f0f2f5;
  border-radius: 4px;
  color: #5b6570;
  flex: none;
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
}
.mphone .tag.new {
  background: #dbeaf2;
  color: #0a5271;
}
.mphone .tag.gone {
  background: #fcebeb;
  color: #8a2d2d;
}
.mphone .tag.upd {
  background: #fef3c7;
  color: #7c2d12;
}
.mphone .segments {
  background: #e2e7ec;
  border-radius: 10px;
  display: grid;
  gap: 4px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 4px;
}
.mphone .segments button {
  background: none;
  border: 0;
  border-radius: 7px;
  color: #5b6570;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.2;
  min-height: 44px;
}
.mphone .segments button .count {
  display: block;
  font-size: 11px;
  opacity: 0.8;
}
.mphone .segments button[aria-selected=true] {
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  color: #0c6288;
}
.mphone .item {
  gap: 4px;
  padding: 14px;
}
.mphone .item .buttons {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}
.mphone .btn-sm {
  align-items: center;
  border: 1px solid #c9d0d8;
  border-radius: 8px;
  color: #1f2a33;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  min-height: 40px;
  padding: 0 14px;
  text-decoration: none;
}
.mphone .btn-sm.primary {
  background: #0c6288;
  border-color: #0c6288;
  color: #fff;
}
.mphone .form {
  gap: 8px;
  padding: 12px;
}
.mphone .form select,
.mphone .form input {
  background: #fff;
  border: 1px solid #c9d0d8;
  border-radius: 8px;
  color: #1f2a33;
  font-size: 16px;
  height: 46px;
  padding: 0 10px;
  width: 100%;
}
.mphone .form .search {
  position: relative;
}
.mphone .form .search input {
  padding-left: 34px;
}
.mphone .form .search .glass {
  color: #5b6570;
  left: 12px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.mphone .form .suggestions {
  border: 1px solid #dfe4ea;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mphone .form .suggestions button {
  background: #fff;
  border: 0;
  border-top: 1px solid #eef1f4;
  font-size: 14.5px;
  min-height: 44px;
  padding: 0 12px;
  text-align: left;
}
.mphone .form .suggestions button:first-child {
  border-top: 0;
}
.mphone .btn-main {
  align-items: center;
  background: #0c6288;
  border: 0;
  border-radius: 10px;
  color: #fff;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 8px;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}
.mphone .btn-main:hover {
  color: #fff;
}
.mphone .btn-main:disabled {
  background: #c9d0d8;
  color: #5b6570;
}
.mphone .status-line {
  align-items: center;
  display: flex;
  font-size: 12.5px;
  gap: 8px;
}
.mphone .status-line.good {
  color: #166534;
}
.mphone .status-line.bad {
  color: #8a2d2d;
}
.mphone .school-head {
  align-items: center;
  border-bottom: 1px solid #eef1f4;
  display: flex;
  gap: 10px;
  padding: 12px 14px;
}
.mphone .school-head .name {
  font-size: 15px;
  font-weight: 700;
}
.mphone .coach {
  align-items: center;
  border-top: 1px solid #eef1f4;
  display: flex;
  gap: 10px;
  min-height: 54px;
  padding: 6px 14px;
}
.mphone .coach:first-of-type {
  border-top: 0;
}
.mphone .coach.gone .name {
  color: #8a96a3;
  text-decoration: line-through;
}
.mphone .pad {
  padding: 12px 14px;
}
.mphone .confirm-departure {
  align-items: flex-start;
  flex-direction: row;
  font-size: 14px;
  gap: 12px;
  padding: 14px;
}
.mphone .confirm-departure input {
  accent-color: #0c6288;
  flex: none;
  height: 22px;
  margin-top: 2px;
  width: 22px;
}
.mphone .confirm-departure .sub {
  display: block;
  margin-top: 2px;
}
.mphone .btn-sm.plain {
  border-color: transparent;
  color: #3d4852;
  padding: 0 8px;
}
.mphone button.btn-sm {
  background: #fff;
}
.mphone button.btn-sm.primary {
  background: #0c6288;
}
.mphone .sheet-backdrop {
  background: rgba(15, 25, 35, 0.45);
  inset: 0;
  position: fixed;
  z-index: 50;
}
.mphone .sheet {
  background: #fff;
  border-radius: 16px 16px 0 0;
  bottom: 0;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  left: 0;
  max-height: calc(100dvh - 48px);
  position: fixed;
  right: 0;
  z-index: 51;
}
@media (min-width: 641px) {
  .mphone .sheet {
    border-radius: 16px;
    bottom: auto;
    left: 50%;
    max-height: calc(100dvh - 96px);
    top: 48px;
    transform: translateX(-50%);
    width: 520px;
  }
}
.mphone .sheet h2 {
  font-family: "Baloo Tamma 2", Montserrat;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.1;
  padding: 0;
}
.mphone .sheet fieldset {
  border: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  min-width: 0;
  padding: 0;
}
.mphone .sheet legend {
  color: #3d4852;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0 0 8px;
  text-transform: uppercase;
}
.mphone .sheet-head {
  align-items: flex-start;
  border-bottom: 1px solid #eef1f4;
  display: flex;
  gap: 8px;
  padding: 14px 16px 10px;
}
.mphone .sheet-head .main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mphone .sheet-head .close {
  background: none;
  border: 0;
  color: #5b6570;
  font-size: 20px;
  height: 40px;
  width: 40px;
}
.mphone .sheet-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
  padding: 14px 16px 16px;
}
.mphone .open-page {
  align-items: center;
  color: #0c6288;
  display: flex;
  font-size: 14px;
  font-weight: 600;
  gap: 8px;
  min-height: 32px;
  text-decoration: none;
}
.mphone .choice {
  align-items: center;
  border: 1px solid #d5dbe1;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  min-height: 54px;
  padding: 8px 12px;
}
.mphone .choice.on {
  background: #f5fafc;
  border: 2px solid #0c6288;
  padding: 7px 11px;
}
.mphone .choice input {
  accent-color: #0c6288;
  flex: none;
  height: 18px;
  margin: 0;
  width: 18px;
}
.mphone .choice .main {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mphone .choice .label {
  font-size: 14.5px;
  font-weight: 600;
}
.mphone .url {
  color: #3d4852;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  gap: 6px;
}
.mphone .url input {
  border: 1px solid #c9d0d8;
  border-radius: 8px;
  font-size: 16px;
  height: 46px;
  padding: 0 12px;
  width: 100%;
}
.mphone .effects {
  background: #eef5f9;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
}
.mphone .effects .effects-title {
  color: #0a5271;
  font-size: 13px;
  font-weight: 700;
}
.mphone .effects ul {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 6px;
  line-height: 1.45;
  margin: 0;
  padding-left: 18px;
}
.mphone .sheet-foot {
  border-top: 1px solid #eef1f4;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
}
.mphone .sheet-foot .hint {
  text-align: center;
}
.mphone .sheet-done {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px 24px calc(32px + env(safe-area-inset-bottom));
  text-align: center;
}
.mphone .sheet-done .tick {
  align-items: center;
  background: #e3f3ea;
  border-radius: 50%;
  color: #166534;
  display: flex;
  font-size: 24px;
  height: 56px;
  justify-content: center;
  width: 56px;
}
.mphone .sheet-done .done-title {
  font-family: "Baloo Tamma 2", Montserrat;
  font-size: 22px;
  font-weight: 500;
}
.mphone .sheet-done .done-text {
  color: #3d4852;
  font-size: 14px;
  line-height: 1.5;
}
.mphone .dock {
  background: #fff;
  border-top: 1px solid #dfe4ea;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 16px;
}
.mphone .dock .hint,
.mphone .dock .confirm-text {
  text-align: center;
}
.mphone .dock .confirm-text {
  font-size: 14px;
}
.mphone .dock .confirm-buttons {
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr 1fr;
}
.mphone .dock .done {
  color: #166534;
  font-weight: 600;
  text-align: center;
}
.mphone .btn-dock {
  background: #0c6288;
  border: 0;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  min-height: 48px;
}
.mphone .btn-dock:disabled {
  background: #c9d0d8;
  color: #3d4852;
}
.mphone .btn-dock.secondary {
  background: #fff;
  border: 1px solid #c9d0d8;
  color: #1f2a33;
}

@media (max-width: 640.98px) {
  .mphone.has-dock {
    padding-bottom: 130px;
  }
  .mphone .dock {
    bottom: calc(56px + env(safe-area-inset-bottom));
    box-shadow: 0 -2px 10px rgba(20, 40, 60, 0.06);
    left: 0;
    position: fixed;
    right: 0;
    z-index: 35;
  }
}
@media (min-width: 641px) {
  .mphone .dock {
    border: 1px solid #dfe4ea;
    border-radius: 12px;
  }
}
.mphone .pill.info {
  background: #dbeaf2;
  color: #0a5271;
}
.mphone .pill.good {
  background: #dcfce7;
  color: #166534;
}
.mphone .form .field {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  font-weight: 600;
  gap: 4px;
}
.mphone .form .check {
  align-items: center;
  display: flex;
  font-size: 14px;
  gap: 10px;
  min-height: 44px;
}
.mphone .form .check input {
  height: 20px;
  width: 20px;
}
.mphone .link-line {
  color: #0c6288;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mphone .job {
  gap: 10px;
  padding: 14px;
}
.mphone .job .job-head {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mphone .job .bar {
  background: #eef1f4;
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}
.mphone .job .bar span {
  background: #0c6288;
  display: block;
  height: 100%;
}
.mphone .job .hint,
.mphone .job .error {
  margin: 0;
}
.mphone .job .job-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mphone .job-lines {
  color: #5b6570;
  font-family: Consolas, Menlo, monospace;
  font-size: 12px;
  list-style: none;
  margin: 0;
  padding: 0 14px 12px;
}
.mphone .job-lines li {
  border-top: 1px solid #eef1f4;
  overflow-wrap: anywhere;
  padding: 4px 0;
}

.mining-phone-note {
  display: none;
}

@media (max-width: 640.98px) {
  .coach-miner-desktop {
    display: none;
  }
  .mining-phone-note {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mining-phone-note h1 {
    font-family: "Baloo Tamma 2", Montserrat;
    font-size: 28px;
    font-weight: 500;
    margin: 0;
  }
  .mining-phone-note p {
    color: #5b6570;
    margin: 0;
  }
  .mining-phone-note .btn-main {
    align-items: center;
    background: #0c6288;
    border: 0;
    border-radius: 10px;
    color: #fff;
    display: flex;
    font-size: 15px;
    font-weight: 600;
    gap: 8px;
    justify-content: center;
    min-height: 48px;
    text-decoration: none;
  }
  .mining-phone-note .btn-main:hover {
    color: #fff;
  }
  .mining-phone-note .btn-main:disabled {
    background: #c9d0d8;
    color: #5b6570;
  }
}
.mining-rules {
  color: #1f2a33;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mining-rules .head {
  align-items: flex-end;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: space-between;
}
.mining-rules .title {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mining-rules .title h1 {
  font-family: "Baloo Tamma 2", Montserrat;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}
.mining-rules .sub,
.mining-rules .muted {
  color: #5b6570;
  font-size: 13.5px;
}
.mining-rules .stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.mining-rules .stat {
  background: #fff;
  border: 1px solid #e6eaee;
  border-radius: 10px;
  color: #5b6570;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  min-width: 120px;
  padding: 10px 14px;
}
.mining-rules .stat b {
  font-size: 22px;
}
.mining-rules .stat b.info {
  color: #08445e;
}
.mining-rules .stat b.warn {
  color: #8a5a00;
}
.mining-rules .stat b.good {
  color: #1d7a46;
}
.mining-rules .stat.chart {
  gap: 4px;
  min-width: 200px;
}
.mining-rules .stat .bars {
  align-items: flex-end;
  display: flex;
  gap: 6px;
  height: 34px;
}
.mining-rules .stat .bar {
  background: #a9c6d6;
  border-radius: 3px 3px 0 0;
  flex: 1;
}
.mining-rules .stat .bar:last-child {
  background: #0c6288;
}
.mining-rules .stat .months {
  display: flex;
  font-size: 10.5px;
  justify-content: space-between;
  word-spacing: 6px;
}
.mining-rules .tabs {
  border-bottom: 1px solid #d5dbe1;
  display: flex;
  gap: 4px;
}
.mining-rules .tabs button {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  color: #5b6570;
  font-size: 14px;
  font-weight: 600;
  min-height: 40px;
  padding: 0 14px;
}
.mining-rules .tabs button.on {
  border-bottom-color: #0c6288;
  color: #0c6288;
}
.mining-rules .tabs .count {
  background: #e2e7ec;
  border-radius: 10px;
  color: #3d4852;
  font-size: 12px;
  margin-left: 4px;
  padding: 1px 7px;
}
.mining-rules .blurb {
  color: #3d4852;
  font-size: 13.5px;
  margin: 0;
}
.mining-rules table {
  background: #fff;
  border-collapse: collapse;
  border-radius: 10px;
  display: block;
  font-size: 13.5px;
  overflow-x: auto;
  width: 100%;
}
.mining-rules table thead tr {
  color: #5b6570;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-align: left;
  text-transform: uppercase;
}
.mining-rules table th,
.mining-rules table td {
  border-bottom: 1px solid #eef1f4;
  padding: 11px 14px;
  vertical-align: top;
}
.mining-rules table th {
  font-weight: 700;
}
.mining-rules table .strong {
  font-weight: 600;
}
.mining-rules table .detail {
  max-width: 320px;
  overflow-wrap: anywhere;
}
.mining-rules table .act {
  text-align: right;
  white-space: nowrap;
}
.mining-rules table .schools {
  margin: 6px 0 0;
  padding-left: 18px;
}
.mining-rules .pill {
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  white-space: nowrap;
}
.mining-rules .pill.warn {
  background: #fff4dc;
  color: #8a5a00;
}
.mining-rules .pill.good {
  background: #e3f3ea;
  color: #1d7a46;
}
.mining-rules .pill.info {
  background: #e6f0f6;
  color: #08445e;
}
.mining-rules .pill.muted-pill {
  background: #eceff2;
  color: #5b6570;
}
.mining-rules button.link {
  background: none;
  border: 0;
  color: #0c6288;
  font-weight: 600;
  margin-left: 12px;
  padding: 0;
}
.mining-rules .footer {
  align-items: center;
  background: #eef5f9;
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  font-size: 13.5px;
  gap: 12px;
  padding: 12px 16px;
}
.mining-rules .footer .text {
  flex: 1;
  min-width: 240px;
}
.mining-rules button.outline {
  background: #fff;
  border: 1px solid #0c6288;
  border-radius: 8px;
  color: #0c6288;
  font-size: 13.5px;
  font-weight: 600;
  min-height: 36px;
  padding: 0 14px;
}
.mining-rules button.outline:disabled {
  border-color: #c9d0d8;
  color: #8a96a3;
}
.mining-rules .error {
  background: #fcebeb;
  border-radius: 8px;
  color: #8a2d2d;
  margin: 0;
  padding: 10px 12px;
}

/* ---------- sign-in gate + account bar (Phase 9) ---------- */
.gate {
  background: #fff;
  color: #1f2a33;
  display: flex;
  flex-wrap: wrap;
  min-height: 100vh;
}
.gate .brand {
  background: #0c6288;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  flex: 1 1 440px;
  flex-direction: column;
  gap: 40px;
  justify-content: space-between;
  padding: 56px 56px 48px;
}
.gate .logo-mark {
  align-items: flex-end;
  display: flex;
  gap: 10px;
}
.gate .logo-mark img {
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.3));
  transform: rotate(4deg);
  width: 48px;
}
.gate .logo-mark .text {
  display: flex;
  flex-direction: column;
}
.gate .logo-mark .brand-title {
  font-family: "Cheorcy", "Baloo Tamma 2", "Open Sans";
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 24px;
}
.gate .logo-mark .subtitle {
  font-family: "Baloo Tamma 2", Montserrat;
  font-size: 16px;
  letter-spacing: 1px;
  line-height: 18px;
  opacity: 0.85;
}
.gate .pitch {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 420px;
}
.gate .pitch p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}
.gate .pitch .headline {
  color: #fff;
  font-family: "Baloo Tamma 2", Montserrat;
  font-size: 44px;
  font-weight: 500;
  line-height: 1.05;
}
.gate .sports {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.gate .sports li {
  align-items: center;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  padding: 7px 14px 7px 10px;
}
.gate .sports .more {
  background: none;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  color: rgba(255, 255, 255, 0.85);
  padding: 6px 14px;
}
.gate .panel {
  align-items: center;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 420px;
  justify-content: center;
  padding: 48px 24px;
}
.gate .inner {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 360px;
  width: 100%;
}
.gate .heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.gate .heading h1 {
  font-family: "Baloo Tamma 2", Montserrat;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.1;
  margin: 0;
}
.gate .heading h1:focus {
  outline: none;
}
.gate .heading p {
  color: #5b6570;
  font-size: 14px;
  margin: 0;
}
.gate .gbtn {
  align-items: center;
  background: #fff;
  border: 1px solid #c9d0d8;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06);
  color: #1f2a33;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  gap: 12px;
  justify-content: center;
  min-height: 48px;
  text-decoration: none;
}
.gate .gbtn:hover {
  background: #f7f8fa;
  color: #1f2a33;
}
.gate .foot {
  border-top: 1px solid #e3e7ec;
  color: #5b6570;
  font-size: 13px;
  margin: 0;
  padding-top: 18px;
}
.gate .denied {
  background: #fcebeb;
  border: 1px solid #f1c2c2;
  border-radius: 6px;
  color: #8a2d2d;
  display: flex;
  font-size: 13.5px;
  gap: 10px;
  padding: 10px 14px;
}
.gate .denied p {
  margin: 0;
}
@media (max-width: 640.98px) {
  .gate {
    background: #f0f2f5;
    flex-direction: column;
    flex-wrap: nowrap;
    padding-bottom: 32px;
    position: relative;
  }
  .gate::before {
    background: #0c6288;
    border-radius: 0 0 50% 50%/0 0 56px 56px;
    content: "";
    height: 300px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }
  .gate .brand {
    display: contents;
  }
  .gate .logo-mark,
  .gate .panel,
  .gate .pitch,
  .gate .sports {
    position: relative;
  }
  .gate .logo-mark {
    align-items: center;
    color: #fff;
    flex-direction: column;
    order: 1;
    padding: 44px 20px 0;
  }
  .gate .logo-mark img {
    width: 64px;
  }
  .gate .logo-mark .text {
    align-items: center;
  }
  .gate .logo-mark .brand-title {
    font-size: 28px;
    line-height: 28px;
  }
  .gate .panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(16, 24, 40, 0.12);
    flex: none;
    margin: 30px 16px 0;
    order: 2;
    padding: 26px 22px 22px;
  }
  .gate .inner {
    gap: 16px;
  }
  .gate .heading {
    text-align: center;
  }
  .gate .heading h1 {
    font-size: 28px;
  }
  .gate .gbtn {
    border-radius: 10px;
    font-size: 16px;
    min-height: 52px;
  }
  .gate .foot {
    border-top: 0;
    font-size: 12.5px;
    padding-top: 0;
    text-align: center;
  }
  .gate .pitch {
    align-items: center;
    gap: 0;
    max-width: none;
    order: 3;
    padding: 28px 20px 0;
    text-align: center;
  }
  .gate .pitch .headline {
    color: #3d4852;
    font-size: 20px;
  }
  .gate .pitch p:not(.headline) {
    display: none;
  }
  .gate .sports {
    gap: 6px;
    justify-content: center;
    order: 4;
    padding: 12px 20px 0;
  }
  .gate .sports li {
    background: #dbeaf2;
    color: #0a5271;
    font-size: 12.5px;
    padding: 5px 12px 5px 9px;
  }
  .gate .sports .more {
    background: none;
    border-color: #9fb6c4;
    color: #5b6570;
    padding: 4px 12px;
  }
}

.account {
  align-items: center;
  display: flex;
  font-size: 13px;
  gap: 12px;
}

.account .admins-link {
  align-items: center;
  color: #0c6288;
  display: flex;
  font-weight: 600;
  gap: 6px;
}

.account .avatar {
  align-items: center;
  background: #2CB1BC;
  border-radius: 50%;
  color: #fff;
  display: flex;
  font-size: 12px;
  font-weight: 700;
  height: 30px;
  justify-content: center;
  width: 30px;
}

/* The values below are heygaffer.com's own header, from Gaffer.Shared.UI/Components/Shared/AppHeader.razor.scss. */
.account .who {
  display: grid;
  line-height: 1.15;
  text-align: right;
}

.account .who .name {
  color: #0c6288;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
}

.account .who .email {
  color: rgba(0, 0, 0, 0.45);
  font-size: 11.5px;
}

/* .account wins over the layout's blanket "margin-left: 1.5rem" on every top-row link. */
.top-row .account .signout {
  margin-left: 0.2rem;
}

.top-row .signout {
  align-items: center;
  color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-wrap: nowrap;
  font-size: 13px;
  text-decoration: none;
  white-space: nowrap;
}

.top-row .signout .fa-solid {
  align-items: center;
  display: flex;
  margin-left: 5px;
}

.top-row .signout:hover {
  color: #62B0E8;
  text-decoration: none;
}

.top-row .signout:hover .fa-solid {
  color: #F47920;
}

/* Phone: the account bar sits on the blue sidebar strip (MainLayout), so it goes white and drops to
   the avatar and Sign out. Admins is a desktop page. */
@media (max-width: 640.98px) {
  .account .admins-link,
  .account .who {
    display: none;
  }
  .top-row .signout {
    color: rgba(255, 255, 255, 0.85);
  }
  .top-row .signout:hover {
    color: #fff;
  }
}
/* Placeholders were nearly as dark as real input; keep them clearly secondary. */
.form-control::placeholder,
input::placeholder,
textarea::placeholder {
  color: #aab3bd;
  opacity: 1;
}