.team-space {
  max-width: 790px;
  padding-block: 24px 48px;
}
.account-profile > h1 { margin: 0 0 1.15rem; font-size: clamp(2rem,7vw,3rem); line-height: 1.12; }
.account-profile-picture { display: grid; grid-template-columns: 3rem minmax(0,1fr); align-items: end; gap: .75rem; }
.account-profile-avatar {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%;
  overflow: hidden; color: var(--status-ok-text); background: var(--status-ok-bg);
  font-size: 1.1rem; font-weight: 750;
}
.account-profile-avatar svg { display: block; width: 1.5rem; height: 1.5rem; }
.account-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-profile-picture select { min-width: 0; }
.account-profile [data-preview-avatar][hidden] { display: none; }
.account-profile input[type=file] { min-width: 0; max-width: 100%; width: 100%; }
.account-profile [data-photo-status] { margin-top: .5rem; }
.account-profile [data-photo-status]:empty { display: none; }
.account-profile-feedback { padding: .7rem .9rem; border-radius: 8px; background: var(--status-ok-bg); }
.account-profile-feedback[role=alert] { background: var(--surface-soft); border: 1px solid var(--control-line); }
.account-profile-login { margin: 0; }
.account-profile-login dt { font-weight: 700; }
.account-profile-login dd { margin: .2rem 0 0; overflow-wrap: anywhere; }
.account-profile-contact > summary { min-height: 44px; padding-block: .55rem; color: var(--text-link); font-weight: 700; cursor: pointer; }
.account-profile .account-profile-contact p { margin: .4rem 0 .3rem; }
.account-profile .account-profile-actions { align-items: center; }
.account-profile-actions button { appearance: none; -webkit-appearance: none; }
.account-profile-links { display: flex; flex-direction: column; align-items: flex-start; }
.account-profile-links a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.team-space-heading {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-block: 12px 24px;
  padding: clamp(18px,4vw,30px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-soft);
}
.team-space-heading > span {
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  height: 48px;
  color: var(--status-ok-text);
  border-radius: 13px;
  background: var(--status-ok-bg);
}
.team-space-heading svg { width: 25px; height: 25px; }
.team-space-heading h1 {
  font-size: clamp(1.8rem,5vw,2.7rem);
  letter-spacing: -.035em;
  line-height: 1.15;
  margin: 0 0 6px;
}
.team-space :is(h1,h2,h3,strong,p,span) { overflow-wrap: anywhere; }
.team-space-heading p { max-width: 56ch; margin: 0; }
.team-space-panel {
  padding: clamp(16px,3vw,25px);
  margin-block: 0 16px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--status-ok-text);
  border-radius: 14px;
  background: var(--surface);
}
.team-space :is(h2,h3), .team-space-panel :is(h2,h3) { margin: 0 0 10px; }
.team-space-panel h3 { margin-block-start: 12px; font-size: 1.05rem; }
.team-space-disclosure { padding-block: 4px; }
.team-space-disclosure > summary { cursor: pointer; font-weight: 750; min-height: 44px; padding-block: 11px; }
.team-space-disclosure[open] { padding-block-end: 16px; }
.team-space-disclosure[open] > summary { margin-block-end: 10px; }
.team-space-panel p { margin: 0 0 14px; }
.team-space p, .team-space-panel p, .team-space-list span {
  color: var(--text-secondary);
  line-height: 1.6;
}
.team-space-form { display: grid; gap: 12px; }
.team-space-form > button { justify-self: start; }
.team-space-actions {
  display: flex;
  gap: 10px 16px;
  flex-wrap: wrap;
  align-items: end;
  margin-block: 6px 12px;
}
.team-space-actions:empty { display: none; }
.team-space-back a, .team-space-actions a, .team-space-tabs a { display: inline-flex; align-items: center; min-height: 44px; }
.team-space-search { grid-template-columns: minmax(0,1fr) auto; align-items: end; }
.team-space-fields { display: grid; gap: 12px; grid-template-columns: repeat(2,minmax(0,1fr)); }
.team-space-registration { display: grid; min-width: 0; gap: 12px; margin: 0; padding: 16px; border: 1px solid var(--line); border-radius: 12px; }
.team-space-registration legend { font-weight: 750; padding-inline: 6px; }
.team-space-form #team-space-affiliation { margin-top: 8px; }
.team-space-form label { display: grid; gap: 6px; min-width: 0; color: var(--ink); font-size: .95rem; font-weight: 700; }
.team-space-form :is(input:not([type=checkbox]),select,textarea) {
  width: 100%;
  min-height: 46px;
  padding: 9px 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  background-color: var(--surface-subtle);
  border: 1px solid var(--control-line);
  border-radius: 8px;
}
.team-space-form select {
  appearance: none;
  padding-inline-end: 34px;
  background-image: linear-gradient(45deg,transparent 48%,var(--ink) 50%,var(--ink) 64%,transparent 67%),linear-gradient(135deg,transparent 48%,var(--ink) 50%,var(--ink) 64%,transparent 67%);
  background-position: calc(100% - 17px) 50%,calc(100% - 12px) 50%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}
.team-space-form textarea { resize: vertical; }
.team-space-form p { margin: 0; }
.team-space-form label.team-space-check { display: flex; align-items: center; gap: 10px; min-height: 44px; }
.team-space-check input { flex: 0 0 19px; width: 19px; height: 19px; accent-color: var(--brand-solid); }
.team-space-selected { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 14px; }
.team-space-list, .team-space-requests { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 10px; }
.team-space-list > li > a, .team-space-requests li {
  display: grid;
  gap: 3px;
  padding: 12px 15px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
}
.team-space-list > li > a:hover { border-color: var(--brand-solid); }
.team-space-list > li > :is(.team-trainer-link,.team-identity-link) { grid-template-columns: auto minmax(0,1fr); column-gap: 10px; }
:is(.team-trainer-link,.team-identity-link) .team-space-mark { grid-row: span 2; align-self: center; width: 40px; height: 40px; }
.team-space-team-calls { margin: 4px 0 0; padding-inline: 15px; }
.team-space-team-calls a { display: inline-flex; align-items: center; min-height: 44px; }
.team-space-requests p, .team-space-requests .team-space-actions { margin: 0; }
.team-family-day h4 { margin: 0 0 8px; }
.team-family-page .team-space-heading {
  align-items: center;
  margin-block: 4px 12px;
  padding: 14px 16px;
}
.team-family-page .team-space-heading h1 { font-size: clamp(1.6rem,5vw,2.1rem); }
.team-family-page .team-space-heading .team-family-team-name { color: var(--ink); font-weight: 700; }
.team-family-page :is(#kallelser,#familj-spelare,#familj-narvaro,.team-call-card) { scroll-margin-block-start: 1rem; }
@supports selector(:has(*)) {
  .team-family-page :is(#familj-spelare,#familj-narvaro) { display: none; }
  .team-family-page:has(#familj-spelare:target,#familj-spelare :target) #familj-spelare,
  .team-family-page:has(#familj-narvaro:target,#familj-narvaro :target) #familj-narvaro { display: block; }
  .team-family-page:has(#familj-spelare:target,#familj-spelare :target,#familj-narvaro:target,#familj-narvaro :target)
    :is(#kallelser,.team-notice-summary,.team-family-welcome,.team-ride-notice-settings) { display: none; }
}
.team-family-filters { margin-block: 0 12px; }
.team-family-filters summary span { color: var(--text-secondary); font-weight: 500; }
.team-family-welcome summary h2 { display: inline; font-size: 1.1rem; }
.team-brand-line { display: flex; gap: 8px; align-items: center; }
.team-brand-line > :last-child { flex: 1 1 0; min-width: 0; }
.team-space-mark {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  overflow: hidden;
  border-radius: 7px;
  background: var(--status-ok-bg);
  color: var(--status-ok-text);
  font-size: .75rem;
  font-weight: 750;
}
.team-space-heading .team-space-mark { width: 48px; font-size: 1rem; }
.team-space-mark img { display: block; width: 100%; height: 100%; padding: 3px; object-fit: contain; }
.team-space-requests .team-call-card { gap: 6px; }
.team-cup-plan { scroll-margin-block-start: 1rem; }
.team-cup-plan :is(h2,h3,p) { margin: 0; overflow-wrap: anywhere; }
.team-cup-plan form { min-width: 0; }
.team-cup-interest { min-width: 0; margin: 6px 0 0; padding: 4px 0 0; border: 0; }
.team-cup-interest legend { padding: 0; font-weight: 700; }
.team-cup-interest .button { min-height: 44px; }
.team-space-requests .team-call-confirmed {
  background: var(--status-ok-bg);
  border-color: var(--status-ok-text);
  border-inline-start-width: 4px;
}
.team-space .team-call-confirmed .team-call-status { color: var(--status-ok-text); }
.team-space .team-call-declined .team-call-status { color: var(--status-warn-text); }
.team-call-status { font-weight: 700; }
.team-call-actions { display: flex; flex-wrap: wrap; align-items: start; gap: 8px; margin-block: 4px; }
.team-call-actions > :is(form,details) { min-inline-size: 0; max-inline-size: 100%; }
.team-call-actions .button {
  max-inline-size: 100%; font-size: .875rem; text-align: center; white-space: normal; overflow-wrap: anywhere;
}
.team-call-decline > summary { cursor: pointer; }
.team-call-decline:not(.team-call-decline-optional) > summary { list-style: none; }
.team-call-decline:not(.team-call-decline-optional) > summary::-webkit-details-marker { display: none; }
.team-call-decline[open] { flex: 1 0 100%; }
.team-call-decline-optional { flex: 1 0 100%; }
.team-call-decline-optional > summary {
  width: fit-content;
  min-height: 44px;
  padding-block: 10px;
  color: var(--text-link);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.team-call-decline-optional > summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
.team-call-decline[open] form { margin-block: 12px 4px; }
.team-invitation-sign-in .button { margin-block: 0 14px; white-space: normal; text-align: center; }
#laglogga > form + form { margin-block-start: 12px; }
.team-space-tabs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-block: 8px 14px; }
.team-space-tabs a { color: var(--text-link); text-underline-offset: 4px; padding-inline: 5px; }
.team-space-tabs [aria-current=page] { text-decoration-thickness: 2px; font-weight: 750; }
:root:has(.team-leader-nav) { --ck-dock-space: env(safe-area-inset-bottom, 0px); }
body:has(.team-leader-nav) :is(.header .main-nav, .header .organizer-button, .mobile-nav) { display: none; }
.team-space:has(.team-leader-nav) { padding-block-start: 12px; }
.team-leader-nav, .team-family-nav, .team-space-tabs--panels {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0,1fr);
  gap: 7px;
  margin-block: 0 16px;
}
.team-space-tabs--panels { margin-block: 8px 14px; }
.team-leader-nav > details { position: relative; min-width: 0; }
:is(.team-leader-nav > a,.team-leader-nav summary,.team-family-nav > a,.team-space-tabs--panels > a) {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 44px;
  padding: 7px 4px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 2px 3px rgb(15 46 34 / .08);
  color: var(--ink);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, border-color .15s, box-shadow .15s, transform .1s;
}
.team-leader-nav summary { height: 100%; cursor: pointer; list-style: none; }
.team-leader-nav summary::-webkit-details-marker { display: none; }
:is(.team-leader-nav,.team-family-nav) :is(a,summary) > span { overflow-wrap: normal; }
:is(.team-leader-nav,.team-family-nav) :is(a,summary) > svg {
  width: 28px;
  height: 28px;
  flex: none;
  padding: 4px;
  border-radius: 8px;
  background: var(--team-icon-bg,var(--status-ok-bg));
  color: var(--team-icon-ink,var(--status-ok-text));
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}
[data-team-icon="calendar"] { --team-icon-bg: var(--sport-handball-bg); --team-icon-ink: var(--sport-handball-line); }
[data-team-icon="users"] { --team-icon-bg: var(--sport-floorball-bg); --team-icon-ink: var(--sport-floorball-line); }
[data-team-icon="cup-notice"] { --team-icon-bg: var(--status-warn-bg); --team-icon-ink: var(--status-warn-text); }
.team-leader-nav details[open] > summary { border-color: var(--control-line); background: var(--surface-soft); }
.team-leader-nav details[open] > summary svg { transform: rotate(180deg); }
@media (hover: hover) and (pointer: fine) {
  :is(.team-leader-nav > a,.team-leader-nav summary,.team-family-nav > a,.team-space-tabs--panels > a):hover {
    border-color: var(--control-line);
    background: var(--surface-soft);
    box-shadow: 0 4px 10px rgb(15 46 34 / .13);
  }
}
.team-leader-nav > a[aria-current=page],
.team-leader-nav > details:has([aria-current=page]) > summary,
.team-space-tabs--panels > a[aria-current=page],
.team-family-page:not(:has(#familj-spelare:target,#familj-spelare :target,#familj-narvaro:target,#familj-narvaro :target)) .team-family-nav [href="#kallelser"],
.team-family-page:has(#familj-spelare:target,#familj-spelare :target) .team-family-nav [href="#familj-spelare"],
.team-family-page:has(#familj-narvaro:target,#familj-narvaro :target) .team-family-nav [href="#familj-narvaro"] {
  border-color: var(--status-ok-text);
  background: var(--status-ok-bg);
  box-shadow: inset 0 2px 4px rgb(15 46 34 / .24);
  color: var(--status-ok-text);
  font-weight: 800;
}
:is(.team-leader-nav > a,.team-leader-nav summary,.team-family-nav > a,.team-space-tabs--panels > a):active {
  transform: translateY(1px);
  box-shadow: inset 0 2px 4px rgb(15 46 34 / .24);
}
.team-leader-nav summary:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.team-leader-nav ul {
  position: absolute;
  z-index: 2;
  inset-inline-end: 0;
  inset-block-start: 100%;
  width: min(16rem, calc(100vw - 46px));
  list-style: none;
  padding: 6px;
  margin: 3px 0 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  box-shadow: 0 12px 28px rgba(0,0,0,.13);
}
.team-leader-nav li a { display: flex; align-items: center; min-height: 44px; padding: 6px 10px; border-radius: 6px; color: var(--text-link); }
.team-leader-nav li a:is(:hover,:focus-visible,[aria-current=page]) { background: var(--status-ok-bg); color: var(--status-ok-text); }
@media (max-width: 570px) {
  .team-leader-nav { grid-auto-flow: row; grid-template-columns: repeat(3,minmax(0,1fr)); }
  .team-space-tabs--panels { grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 460px) {
  .team-family-nav:has(> a:nth-child(4)) { grid-auto-flow: row; grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.team-leader-nav > a,.team-leader-nav summary,.team-family-nav > a,.team-space-tabs--panels > a) { transition: none; }
  :is(.team-leader-nav > a,.team-leader-nav summary,.team-family-nav > a,.team-space-tabs--panels > a):active { transform: none; }
}
.team-notice-summary {
  padding: clamp(14px,3vw,20px);
  margin-block: 0 16px;
  border: 1px solid var(--line);
  border-inline-start: 3px solid var(--status-warn-text);
  border-radius: 14px;
  background: color-mix(in srgb,var(--status-warn-bg) 48%,var(--surface));
}
.team-notice-summary h2 {
  display: flex; align-items: center; gap: 8px;
  margin: 0 0 8px; font-size: 1.25rem;
}
.team-notice-summary h2 svg { flex: none; width: 24px; height: 24px; fill: none; stroke: var(--status-warn-text); }
.team-notice-summary h3 { margin: 10px 0 4px; font-size: 1rem; }
.team-notice-summary ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.team-notice-link {
  min-height: 44px; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 4px 10px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface);
  color: var(--text-link); font-weight: 700; overflow-wrap: anywhere;
}
.team-notice-link > span { color: var(--text-secondary); font-weight: 600; }
.team-notice-link:is(:hover,:focus-visible) { border-color: var(--control-line); text-decoration: underline; text-underline-offset: .18em; }
.match-notices [hidden] { display: none; }
.match-notices { overflow-wrap: anywhere; }
.match-notices h2 { margin-block-end: 6px; }
.match-notices p { margin-block-end: 8px; }
.match-notices-scope { color: var(--text-secondary); font-size: .875rem; }
.match-notices ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.match-notice-link { display: grid; grid-template-columns: minmax(0,1fr) auto; min-height: 48px; }
.match-notice-link > span:not(.match-notice-read) { grid-column: 1 / -1; }
.match-notice-read { font-size: .875rem; }
.match-notices > .text-link { display: inline-flex; align-items: center; min-height: 48px; }
.match-notices > .text-link[hidden] { display: none; }
.team-notices-view .team-space-form + :is(p,ul) { margin-block-start: 14px; }
#lagbesked, #laglogga { scroll-margin-block-start: 1rem; }
.team-space .team-space-feedback { background: var(--status-ok-bg); color: var(--status-ok-text); padding: 10px 14px; border-radius: 8px; }
.team-space .team-space-feedback[role=alert], .team-space .team-ride-cancelled { background: var(--status-warn-bg); color: var(--status-warn-text); }
.team-space .team-space-note { white-space: pre-wrap; }
.team-family-detail { margin-block: 12px 0; }
.team-family-detail > summary { cursor: pointer; font-weight: 700; padding-block: 10px; }
.team-family-detail > ul { margin-block: 5px 0; }
.team-attendance-group { min-width: 0; margin: 0; border: 0; padding: 0; }
.team-attendance-group legend { padding: 0; font-weight: 750; }
.team-attendance-group ul { margin-block: 6px 0; }
.team-attendance-group li[data-attendance-name] { padding-block: 4px; }
.team-space-form .team-attendance-checkbox { display: flex; align-items: center; min-height: 48px; gap: 12px; cursor: pointer; }
.team-attendance-checkbox input { width: 1.25rem; height: 1.25rem; flex: none; margin: 0; accent-color: var(--status-ok-text); }
.team-attendance-checkbox[hidden], [data-attendance-select][hidden] { display: none !important; }
.team-attendance-add > label { margin-block: 8px; }
.team-attendance-help svg { width: 16px; height: 16px; vertical-align: -.16em; margin-inline-end: 4px; fill: none; stroke: currentColor; }
.team-space-form [data-attendance-mark-present] { max-width: 100%; white-space: normal; text-align: start; }
.team-family-pick { display: grid; gap: 6px; padding: 8px 12px 12px; margin: 0; border: 1px solid var(--line); border-radius: 8px; min-width: 0; }
.team-family-pick legend { padding-inline: 6px; font-weight: 700; }
.team-family-pick .team-space-check { min-height: 44px; }
.team-activity-series-preview { padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.team-activity-series-preview > ol { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,16rem),1fr)); gap: 4px 24px; margin: 0; padding-inline-start: 24px; }
.team-activity-series-preview > ol:not(:empty) { margin-top: 6px; }
.team-space-requests li:is([data-call-response],[data-attendance-name])[hidden],
.team-space-form [data-attendance-mark-present][hidden] { display: none; }
.team-print { background: #fff; color: #182823; font: 1rem/1.5 system-ui, sans-serif; margin: 0; }
.team-print main { max-width: 52rem; margin: 0 auto; padding: 1.25rem; }
.team-print h1 { font-size: clamp(1.7rem, 5vw, 2.4rem); line-height: 1.15; }
.team-print p { margin-block: .4rem; overflow-wrap: anywhere; }
.team-print-controls { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1rem; }
.team-print-controls button { min-height: 44px; padding: .5rem 1rem; color: #fff; background: #153e31; border: 0; border-radius: .4rem; font: inherit; }
.team-print-table { border-collapse: collapse; width: 100%; margin-block: 1rem; }
.team-print-table :is(th,td) { border: 1px solid #698078; padding: .45em; text-align: center; }
.team-print-table :is(th,td):first-child { text-align: left; overflow-wrap: anywhere; }
.team-print-box { display: inline-grid; place-items: center; width: 1.25em; height: 1.25em; border: 1px solid currentcolor; line-height: 1; }
.team-print footer { margin-block-start: 1rem; }
.team-print-brand { display: flex; align-items: center; gap: .65rem; }
.team-print-brand > :is(img,.team-space-mark) { flex-shrink: 0; }
.team-print-brand p { margin: 0; }
.team-print-match-header { margin-top: 1.25rem; border-top: 4px solid #153e31; padding-top: .75rem; break-inside: avoid; }
.team-print-match-heading { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; }
.team-print-match-heading :is(h1,.team-print-heading-repeat) { margin: 0 0 .75rem; font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 750; line-height: 1.15; }
.team-print-page-number { display: none; color: #37534a; font-size: .875rem; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.team-print-match-identity .team-space-mark { display: block; width: 48px; height: 48px; }
.team-print-match-identity .team-space-mark img { box-sizing: border-box; }
.team-print-match-identity > div { min-width: 0; }
.team-print-match .team-print-match-title { font-size: 1.3rem; font-weight: 700; }
.team-print-match-facts { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,12rem),1fr)); gap: .6rem 1.25rem; margin: 1rem 0 1.4rem; padding: .75rem 0; border-top: 1px solid #698078; border-bottom: 1px solid #698078; }
.team-print-match-facts dt { color: #37534a; font-size: .875rem; font-weight: 650; }
.team-print-match-facts dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; }
.team-print-match h2 { margin: 0; font-size: 1.15rem; }
.team-print-match .team-print-roster-range { margin: .12rem 0 .35rem; color: #37534a; font-size: .875rem; }
.team-print-match-roster { margin: .5rem 0 0; padding: 0; list-style: none; }
.team-print-match-roster li { border-bottom: 1px solid #d5ded9; padding: .25rem .1rem; overflow-wrap: anywhere; break-inside: avoid; }
.team-print-match-credit { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 1.25rem; break-inside: avoid; }
footer.team-print-match-credit { border-top: 1px solid #698078; padding-top: .75rem; margin-top: 1.5rem; }
.team-print-app { display: inline-flex; align-items: center; gap: .5rem; color: #153e31; font-weight: 650; }
.team-print-app svg { display: block; flex: none; width: 5.75rem; height: 5.75rem; }
@media screen {
  .team-print-match-page + .team-print-match-page > .team-print-match-header,
  .team-print-match-page:not(:last-child) > .team-print-match-credit { display: none; }
  .team-print-match-page + .team-print-match-page { margin-block-start: 1.2rem; }
}
@page team-match-sheet { size: A4; margin: 14mm; }
@media print {
  .team-print-match { page: team-match-sheet; }
  .team-print-controls { display: none; }
  .team-print main { max-width: none; padding: 0; }
  .team-print-match-page { display: flex; flex-direction: column; min-height: 265mm; }
  .team-print-match-page + .team-print-match-page { page-break-before: always; break-before: page; }
  .team-print-match-header { margin-top: 0; padding-top: 2.5mm; }
  .team-print-match-heading :is(h1,.team-print-heading-repeat) { font-size: 24pt; margin-bottom: 2mm; }
  .team-print-page-number { display: block; }
  .team-print-match-facts { grid-template-columns: repeat(3,minmax(0,1fr)); margin: 3mm 0 5mm; padding: 2.5mm 0; }
  .team-print-match { font-size: 11pt; line-height: 1.28; }
  .team-print-match-roster { margin-bottom: 4mm; }
  .team-print-match-roster-columns { columns: 2; column-gap: 9mm; }
  .team-print-match-roster li { font-size: 10.5pt; padding: .6mm .1rem; }
  footer.team-print-match-credit { margin-top: auto; padding-top: 2mm; }
  .team-print-brand { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .team-print-app { text-decoration: none; }
  .team-print-app svg { width: 25mm; height: 25mm; }
  .team-print-table tr { break-inside: avoid; }
  .team-print-table thead { display: table-header-group; }
}
.team-space :is(a,button,input,textarea,select):focus-visible, .team-space-panel :is(a,button):focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
@media (max-width: 460px) {
  .team-space { padding-block-start: 16px; }
  .team-space-fields, .team-space-search { grid-template-columns: minmax(0,1fr); }
  .team-space-search > button { justify-self: stretch; }
  .team-space-actions > label { flex: 1 0 100%; }
  .team-space-heading { gap: 12px; }
  .team-space-heading > span { flex-basis: 38px; height: 38px; }
  .team-space-heading .team-space-mark { width: 38px; }
  .team-space-heading svg { width: 21px; height: 21px; }
}

.team-ride-fields { display: grid; gap: 8px; border: 0; margin: 0; padding: 0; min-width: 0; }
.team-ride-fields[hidden] { display: none; }
.team-ride-route { display: flex; align-items: baseline; gap: 7px; }
.team-ride-route svg { width: 1rem; height: 1rem; flex: 0 0 1rem; align-self: flex-start; margin-top: .25em; color: var(--status-ok-text); }
.team-ride-card > .team-space-requests { margin-block: 12px; }
.team-ride-card [data-ride-manage] form + form { border-block-start: 1px solid var(--line); margin-block-start: 12px; padding-block-start: 12px; }
.team-ride-card [data-ride-manage] form:last-child button { color: var(--status-warn-text); border-color: var(--status-warn-text); }
.team-space-requests > li > .team-contact-parents { margin: 0; padding-inline-start: 16px; list-style: disc; }
.team-space-requests .team-contact-parents > li { display: list-item; padding: 3px 0; border: 0; background: none; }
.team-coming-players { padding-block-start: 8px; margin-block-start: 4px; border-block-start: 1px solid var(--line); }

.team-ride-new { width: fit-content; padding: 5px 10px; border-radius: 24px; font-size: .85rem; color: var(--status-ok-text); background: var(--status-ok-bg); }
.team-ride-notice-settings { margin-block: 16px; }
.team-ride-notice-settings p { margin: 6px 0 0; font-size: .875rem; }
