/* Team relay — setup, FIE protocol board, referee console */

.team-body.ref-body {
  overflow: auto;
  height: auto;
  min-height: 100dvh;
}

.team-body.team-body--console {
  overflow: hidden;
  height: 100dvh;
}

.team-body.team-body--console .site-nav {
  display: none;
}

.team-body.team-body--console .team-page-footer {
  display: none;
}

.team-setup {
  max-width: 720px;
  margin: 0 auto;
  padding: 1rem 1rem 2.5rem;
}

.team-setup__header h1 {
  margin: 0 0 0.35rem;
  font-size: 1.45rem;
}

.team-setup__header .hint {
  margin: 0 0 1rem;
  color: var(--ref-muted, #64748b);
  line-height: 1.4;
}

.team-setup__lang {
  margin-bottom: 1rem;
}

.team-setup__grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .team-setup__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.team-roster {
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 12px;
  background: var(--ref-surface, #fff);
}

.team-roster--a {
  border-top: 3px solid var(--ref-left, #dc2626);
}

.team-roster--b {
  border-top: 3px solid var(--ref-right, #16a34a);
}

.team-roster legend {
  font-weight: 800;
  padding: 0 0.35rem;
}

.team-field {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.55rem;
  font-size: 0.9rem;
}

.team-field span {
  font-weight: 700;
  color: var(--ref-muted, #64748b);
}

.team-field input {
  min-height: 2.4rem;
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 8px;
  padding: 0.35rem 0.6rem;
  font-size: 1rem;
  width: 100%;
}

.team-setup__error {
  color: #b91c1c;
  margin: 0.75rem 0 0;
}

.team-start-btn {
  display: block;
  width: 100%;
  margin-top: 1.25rem;
  min-height: 3rem;
  font-size: 1.05rem;
  font-weight: 800;
}

/* —— Protocol board —— */
.team-board {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.75rem 0.75rem 2rem;
}

.team-board__header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.team-board__back {
  border: 0;
  background: transparent;
  color: var(--ref-brand, #1f4eea);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0.35rem 0;
}

.team-board__heading {
  flex: 1;
  min-width: 0;
}

.team-board__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ref-muted, #64748b);
}

.team-board__title {
  margin: 0.1rem 0 0;
  font-size: 1.15rem;
}

.team-board__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.85rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 10px;
  background: var(--ref-surface, #fff);
}

@media (min-width: 720px) {
  .team-board__meta {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .team-board__meta--wide {
    grid-column: span 2;
  }
}

.team-board__meta label {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ref-muted, #64748b);
}

.team-board__meta input {
  min-height: 2rem;
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 6px;
  padding: 0.25rem 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ref-text, #0f172a);
}

.team-board__club-label {
  margin: 0 0 0.15rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ref-muted, #64748b);
  text-transform: uppercase;
}

.team-board__result-box {
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  background: var(--ref-surface, #fff);
  margin-bottom: 0.75rem;
}

.team-sheet--ftl {
  min-width: 780px;
}

.team-sheet--ftl th:nth-child(2),
.team-sheet--ftl td.team-sheet__name:nth-child(2),
.team-sheet--ftl th:nth-child(7),
.team-sheet--ftl td.team-sheet__name:nth-child(7) {
  min-width: 7rem;
  text-align: center;
}

.team-sheet__hits {
  text-align: center;
}

.team-score-btn--ghost {
  min-width: 2rem;
  border-style: dashed;
  opacity: 0.7;
}

.team-sheet__result-row td {
  border-bottom: none;
  padding-top: 0.55rem;
  padding-bottom: 0.55rem;
  background: #1e3a8a !important;
  color: #fff;
  font-weight: 800;
}

.team-sheet__result {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.team-sheet__result--v {
  color: #bbf7d0;
}

.team-sheet__result--d {
  color: #fecaca;
}

.team-score-btn {
  appearance: none;
  -webkit-appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 2rem;
  margin: 0;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--ref-brand, #1f4eea);
  background: rgba(31, 78, 234, 0.08);
  color: var(--ref-brand, #1f4eea);
  font-size: 0.8rem;
  font-weight: 800;
  cursor: pointer;
}

.team-score-btn:hover,
.team-score-btn:focus-visible {
  outline: 2px solid var(--ref-brand, #1f4eea);
  outline-offset: 1px;
}

.team-score-cell {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--ref-muted, #64748b);
}

.team-score-cell--done {
  color: var(--ref-text, #0f172a);
}

.team-score-cell--live {
  color: var(--ref-brand, #1f4eea);
}

/* Substitution panel */
.team-sub {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 10px;
  background: var(--ref-surface, #fff);
}

.team-sub__title {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--ref-text, #0f172a);
}

.team-sub__grid {
  display: grid;
  gap: 0.65rem;
}

@media (min-width: 640px) {
  .team-sub__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.team-sub__label {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ref-muted, #64748b);
}

.team-sub__status {
  margin: 0;
  font-size: 0.8rem;
}

.team-sub__btns {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.team-sub__btn {
  appearance: none;
  -webkit-appearance: none;
  text-align: left;
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 8px;
  background: #fff;
  padding: 0.4rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--ref-text, #0f172a);
}

.team-sub__side--a .team-sub__btn:not(:disabled):hover {
  border-color: var(--ref-left, #dc2626);
}

.team-sub__side--b .team-sub__btn:not(:disabled):hover {
  border-color: var(--ref-right, #16a34a);
}

.team-sub__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Score modal */
.team-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.team-modal.hidden,
.team-modal[hidden] {
  display: none !important;
}

.team-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.team-modal__panel {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  max-height: min(92dvh, 640px);
  overflow: auto;
  padding: 1rem 1rem 1.15rem;
  border-radius: 14px;
  background: var(--ref-surface, #fff);
  border: 1px solid var(--ref-border, #e2e8f0);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.team-modal__panel h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

.team-modal__names {
  margin: 0.35rem 0 0.85rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.team-modal__scores {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 1rem;
}

.team-modal__colon {
  align-self: center;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--ref-muted, #64748b);
  padding-top: 0.35rem;
}

.team-modal__side--left .team-modal__val {
  color: var(--ref-left, #dc2626);
}

.team-modal__side--right .team-modal__val {
  color: var(--ref-right, #16a34a);
}

.team-modal__stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  margin-bottom: 0.45rem;
}

.team-modal__step {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  border: 1px solid var(--ref-border, #e2e8f0);
  background: #f8fafc;
  font-size: 1.25rem;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
}

.team-modal__val {
  min-width: 2.5rem;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.team-modal__drum-label {
  display: block;
}

.team-modal__drum {
  display: block;
  width: 100%;
  height: 7.5rem;
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 10px;
  padding: 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  background: #fff;
}

.team-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.team-modal__actions .btn {
  min-height: 2.6rem;
  font-weight: 800;
}

.team-modal__actions #team-modal-ref.poule-picker-btn--referee {
  width: 100%;
  color: #fff;
  border-color: #15803d;
  background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
}

.team-modal__actions #team-modal-ref.poule-picker-btn--referee:hover,
.team-modal__actions #team-modal-ref.poule-picker-btn--referee:focus-visible {
  background: linear-gradient(180deg, #22c55e 0%, #16a34a 100%);
}

.team-score-btn--edit {
  min-width: 4.75rem;
  border-style: dashed;
  font-variant-numeric: tabular-nums;
}

.team-modal__error {
  color: #b91c1c;
  margin: 0.55rem 0 0;
  min-height: 1.1em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.team-board__meta select.select {
  width: 100%;
  min-height: 2.25rem;
}

.team-board__vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.5rem;
  align-items: start;
  margin-bottom: 0.65rem;
}

.team-board__side {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: var(--ref-surface, #fff);
  border: 1px solid var(--ref-border, #e2e8f0);
}

.team-board__side--a {
  border-top: 3px solid var(--ref-left, #dc2626);
}

.team-board__side--b {
  border-top: 3px solid var(--ref-right, #16a34a);
}

.team-board__club {
  margin: 0 0 0.35rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.team-board__roster {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--ref-muted, #64748b);
}

.team-board__roster li {
  margin: 0.15rem 0;
}

.team-board__roster strong {
  color: var(--ref-text, #0f172a);
  margin-right: 0.25rem;
}

.team-board__vs-mark {
  align-self: center;
  font-weight: 800;
  color: var(--ref-muted, #64748b);
  font-size: 0.85rem;
}

.team-board__scoreline {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 900;
  margin: 0.25rem 0 0.35rem;
  letter-spacing: 0.04em;
}

.team-board__winner {
  text-align: center;
  font-weight: 700;
  color: var(--ref-ok, #16a34a);
  margin: 0 0 0.65rem;
}

.team-sheet-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 12px;
  background: var(--ref-surface, #fff);
  margin-bottom: 1rem;
  overscroll-behavior-x: contain;
}

.team-sheet-scroll-hint {
  display: none;
  margin: 0;
  padding: 0.45rem 0.65rem 0;
  font-size: 0.75rem;
  text-align: center;
}

.team-sheet-mobile {
  display: none;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.team-bout-card {
  border: 1px solid var(--ref-border, #e2e8f0);
  border-radius: 12px;
  background: var(--ref-surface, #fff);
  padding: 0.7rem 0.8rem 0.8rem;
}

.team-bout-card.is-current {
  border-color: rgba(31, 78, 234, 0.45);
  box-shadow: 0 0 0 2px rgba(31, 78, 234, 0.12);
  background: rgba(31, 78, 234, 0.05);
}

.team-bout-card.is-done {
  opacity: 0.96;
}

.team-bout-card.is-locked {
  opacity: 0.55;
}

.team-bout-card__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}

.team-bout-card__n {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ref-muted, #64748b);
}

.team-bout-card.is-current .team-bout-card__n {
  color: var(--ref-brand, #1f4eea);
}

.team-bout-card__pair {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ref-muted, #64748b);
  font-variant-numeric: tabular-nums;
}

.team-bout-card__names {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.35rem 0.45rem;
  align-items: center;
  margin-bottom: 0.45rem;
}

.team-bout-card__fencer {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
  word-break: break-word;
}

.team-bout-card__fencer--a {
  text-align: right;
}

.team-bout-card__fencer--b {
  text-align: left;
}

.team-bout-card__vs {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--ref-muted, #64748b);
  text-transform: uppercase;
}

.team-bout-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  color: var(--ref-muted, #64748b);
}

.team-bout-card__pred {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.team-bout-card__hits {
  display: flex;
  justify-content: center;
  margin-bottom: 0.15rem;
}

.team-bout-card__hits .team-score-btn {
  min-width: 7rem;
  min-height: 2.4rem;
  font-size: 0.9rem;
}

.team-bout-card__hits .team-score-cell {
  font-size: 1.25rem;
}

.team-bout-card__cards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  margin-top: 0.45rem;
}

.team-bout-card__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.12rem 0.4rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
}

.team-bout-card__chip--y {
  background: #fef3c7;
  color: #a16207;
}

.team-bout-card__chip--r {
  background: #fee2e2;
  color: #b91c1c;
}

.team-bout-card__chip-sep {
  opacity: 0.4;
  font-weight: 800;
}

@media (max-width: 720px) {
  .team-sheet-wrap {
    display: none;
  }

  .team-sheet-mobile {
    display: flex;
  }

  .team-board__order {
    font-size: 0.72rem;
    letter-spacing: 0;
    line-height: 1.35;
    padding: 0 0.25rem;
  }

  .team-board__score-hint {
    font-size: 0.78rem;
    line-height: 1.35;
  }

  .team-board__actions .btn {
    flex: 1 1 calc(50% - 0.55rem);
    min-width: 9rem;
  }
}

@media (min-width: 721px) and (max-width: 900px) {
  .team-sheet-scroll-hint {
    display: block;
  }

  .team-sheet {
    min-width: 640px;
    font-size: 0.75rem;
  }

  .team-sheet--ftl {
    min-width: 700px;
  }

  .team-sheet td.team-sheet__name {
    max-width: 6.5rem;
  }
}

.team-board__order {
  text-align: center;
  margin: 0 0 0.35rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.team-board__hits-label {
  margin: 0.35rem 0 0.35rem;
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
}

.team-board__score-hint {
  margin: 0 0 0.65rem;
  font-size: 0.82rem;
  text-align: center;
}

.team-board__final {
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  margin: 0.5rem 0 0.75rem;
}

.team-sheet {
  width: 100%;
  border-collapse: collapse;
  min-width: 780px;
  font-size: 0.8rem;
}

.team-sheet th,
.team-sheet td {
  padding: 0.45rem 0.35rem;
  border-bottom: 1px solid var(--ref-border, #e2e8f0);
  text-align: center;
  vertical-align: middle;
}

.team-sheet th {
  background: #1e3a8a;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #fff;
  font-weight: 800;
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom-color: #1e3a8a;
}

.team-sheet td.team-sheet__name {
  text-align: center;
  max-width: 9rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-sheet__pos-cell {
  width: 2rem;
  font-weight: 800;
  color: var(--ref-muted, #64748b);
  font-variant-numeric: tabular-nums;
}

.team-sheet tbody tr:nth-child(even):not(.is-current):not(.team-sheet__result-row) td {
  background: #f8fafc;
}

.team-sheet__pos {
  display: inline-block;
  min-width: 1rem;
  font-weight: 800;
  color: var(--ref-muted, #64748b);
}

.team-sheet__pred {
  font-weight: 800;
  color: var(--ref-brand, #1f4eea);
  font-variant-numeric: tabular-nums;
}

.team-sheet__card-h {
  width: 1.75rem;
  min-width: 1.75rem;
  max-width: 2.1rem;
  padding-left: 0.15rem;
  padding-right: 0.15rem;
  font-size: 0.65rem;
}

.team-sheet__card-h--y {
  color: #a16207;
  background: #fffbeb;
}

.team-sheet__card-h--r {
  color: #b91c1c;
  background: #fef2f2;
}

.team-sheet__card--y {
  color: #a16207;
  font-weight: 800;
  width: 1.75rem;
  min-width: 1.75rem;
}

.team-sheet__card--r {
  color: #b91c1c;
  font-weight: 800;
  width: 1.75rem;
  min-width: 1.75rem;
}

.team-sheet td.team-sheet__name {
  font-size: 0.78rem;
}

.team-sheet__hits .team-score-btn,
.team-sheet__hits {
  font-variant-numeric: tabular-nums;
}

.team-sheet tbody tr {
  cursor: pointer;
}

.team-sheet tbody tr:hover td {
  background: rgba(31, 78, 234, 0.04);
}

.team-sheet tr.is-current td {
  background: rgba(31, 78, 234, 0.1);
  font-weight: 800;
}

.team-sheet tr.is-done td {
  color: #334155;
}

.team-sheet tr.is-locked {
  cursor: default;
  opacity: 0.55;
}

.team-sheet tr.is-locked:hover td {
  background: transparent;
}

.team-sheet .team-sheet__time-mark {
  color: var(--ref-warn, #d97706);
  font-weight: 800;
  margin-left: 0.2rem;
}

.team-board__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.team-board__actions .btn {
  min-height: 2.75rem;
  font-weight: 800;
}

/* —— Console —— */
.team-match {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  height: 100dvh;
}

.team-body--console .ref-main {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.team-match.hidden,
.team-setup.hidden,
.team-board.hidden,
.hidden {
  display: none !important;
}

.team-club-label {
  font-weight: 800 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  font-size: 0.72rem !important;
}

.team-limit-line {
  text-align: center;
  font-weight: 800;
  font-size: 0.95rem;
  margin: 0.15rem 0 0.35rem;
  color: var(--ref-brand, #1f4eea);
}

.team-body .ref-card-row {
  grid-template-columns: 1fr 1fr;
}

.team-body .ref-apply-bar {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.team-body .ref-apply-bar .ref-btn--apply:disabled,
.team-body .ref-apply-bar .ref-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 520px) {
  .team-board__vs {
    grid-template-columns: 1fr;
  }

  .team-board__vs-mark {
    display: none;
  }
}

.team-print-root {
  display: none;
}

.team-print-doc {
  color: #0f172a;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.team-print-doc__title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  text-align: center;
}

.team-print-doc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
}

.team-print-doc__vs {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: start;
  margin-bottom: 0.75rem;
}

.team-print-doc__club {
  margin: 0;
  font-weight: 700;
  font-size: 1.05rem;
}

.team-print-doc__roster {
  margin: 0.25rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.88rem;
}

.team-print-doc__score {
  margin: 0 0 0.65rem;
  text-align: center;
  font-size: 1.45rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.team-print-doc .team-sheet {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.team-print-doc .team-sheet th,
.team-print-doc .team-sheet td {
  border: 1px solid #334155;
  padding: 0.28rem 0.35rem;
}

.team-print-doc .team-sheet th {
  background: #f1f5f9;
}

.team-print-doc__result {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 1rem;
}

.team-print-doc__brand {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  body.printing > :not(.team-print-root) {
    display: none !important;
  }

  body.printing .team-print-root {
    display: block !important;
  }

  body.printing .team-print-doc {
    display: block;
  }
}
