@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700&family=DM+Sans:wght@400;500;600;700&display=swap');
:root {
  font-family:'DM Sans',sans-serif;
  color:#19342f;
  background:#f4f5ef;
  font-synthesis:none;
  --green:#143d35;
  --muted:#66766e;
  --line:#dce2d8;
  --lime:#d7ef8b
}
* {
  box-sizing:border-box
}
body {
  margin:0
}
button,input {
  font:inherit
}
button {
  cursor:pointer
}
button:disabled {
  cursor:wait;
  opacity:.6
}
button:focus-visible,a:focus-visible,input:focus-visible {
  outline:3px solid #91ac40;
  outline-offset:3px
}
[hidden] {
  display:none!important
}
.masthead {
  min-height:92px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:20px max(5vw,calc((100vw - 1240px)/2));
  gap:15px;
  background:#fafbf7
}
.brand {
  font-size:26px;
  font-weight:700;
  letter-spacing:-1px;
  text-decoration:none;
  color:var(--green);
  display:flex;
  align-items:center;
  gap:7px;
  white-space:nowrap
}
.brand>span:last-child {
  font-weight:400
}
.brand-icon {
  background:var(--green);
  color:var(--lime);
  width:38px;
  height:38px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:27px;
  margin-right:4px
}
.header-actions,.toolbar-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap
}
.button {
  border:1px solid #cbd5c8;
  border-radius:9px;
  background:#fafbf7;
  color:var(--green);
  padding:12px 18px;
  font-size:14px;
  font-weight:600;
  min-height:44px
}
.button:hover {
  background:#e8eedf
}
.button.primary {
  background:var(--green);
  border-color:var(--green);
  color:white
}
.button.primary:hover {
  background:#245648
}
.button.subtle {
  border-color:transparent;
  background:transparent
}
.connection {
  background:#f8e5bd;
  padding:10px;
  text-align:center;
  font-size:14px
}
main {
  max-width:1240px;
  margin:auto;
  padding:48px 0 70px;
  width:90%
}
.eyebrow {
  font-size:12px;
  font-weight:700;
  letter-spacing:2px;
  color:#6c806c;
  margin:0 0 16px
}
h1,h2,h3,p {
  margin-top:0
}
h1 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:66px;
  letter-spacing:-1px;
  line-height:1.03;
  font-weight:600;
  margin-bottom:18px
}
h2 {
  font-size:23px;
  letter-spacing:-.6px
}
h3 {
  font-size:20px
}
.login-view {
  display:grid;
  grid-template-columns:1fr 440px;
  align-items:center;
  gap:10%;
  padding:40px 0 70px;
  min-height:620px
}
.intro h1 {
  font-size:96px;
  line-height:.98;
  margin-bottom:28px
}
.intro em {
  font-style:normal;
  color:#6e8c37
}
.intro-copy {
  font-size:18px;
  line-height:1.65;
  max-width:410px;
  color:var(--muted)
}
.login-panel {
  padding:38px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 15px 50px #173d3507
}
.login-panel>p {
  color:var(--muted);
  font-size:14px;
  line-height:1.6
}
label {
  display:block;
  font-size:14px;
  font-weight:500;
  margin-bottom:8px
}
input {
  width:100%;
  border:1px solid #cbd5c8;
  padding:13px 14px;
  border-radius:8px;
  background:#fcfdf9;
  color:var(--green);
  margin-bottom:23px
}
.login-panel .primary {
  width:100%;
  display:flex;
  justify-content:space-between
}
.form-status {
  margin:16px 0 0!important;
  min-height:20px
}
.form-status.error {
  color:#a03929!important
}
.page-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
  margin:10px 0 35px
}
.page-heading h1 {
  font-size:58px;
  margin:0
}
.account {
  color:var(--muted);
  font-size:13px;
  margin:0 0 6px;
  overflow-wrap:anywhere
}
.toolbar {
  display:flex;
  justify-content:space-between;
  gap:20px;
  border-bottom:1px solid var(--line);
  padding-bottom:22px
}
.day-tabs {
  display:flex;
  gap:8px
}
.day-tab {
  border:1px solid transparent;
  background:transparent;
  border-radius:10px;
  color:var(--muted);
  padding:12px 22px;
  min-width:104px;
  text-align:left;
  font-weight:600
}
.day-tab small {
  display:block;
  font-size:11px;
  font-weight:400;
  margin-top:5px
}
.day-tab[aria-pressed=true] {
  background:var(--green);
  color:#fff
}
.agenda-summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  padding:28px 0 20px
}
.agenda-summary h2 {
  margin:0 0 6px;
  font-size:20px
}
.agenda-summary p {
  font-size:13px;
  color:var(--muted);
  margin:0
}
.matches {
  display:grid;
  gap:12px
}
.match {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  display:grid;
  grid-template-columns:110px 1fr 250px;
  align-items:center;
  min-height:124px;
  overflow:hidden;
  scroll-margin-top:25px
}
.match-time {
  text-align:center;
  border-right:1px solid var(--line);
  padding:12px 6px
}
.match-time strong {
  display:block;
  font-family:'Barlow Condensed',sans-serif;
  font-size:31px;
  font-weight:600
}
.match-time small {
  font-size:10px;
  display:inline-block;
  text-transform:uppercase;
  letter-spacing:.6px;
  color:var(--muted);
  margin-top:5px
}
.match.past {
  background:#fbfcf8
}
.match-main {
  padding:22px 26px;
  min-width:0
}
.competition {
  font-size:11px;
  color:var(--muted);
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:10px
}
.sport {
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.7px;
  color:#617d39
}
.team-line {
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0
}
.team-line h3 {
  font-size:18px;
  line-height:1.35;
  font-weight:600;
  margin:0;
  overflow-wrap:anywhere
}
.team-logo {
  width:28px;
  height:28px;
  object-fit:contain;
  flex:0 0 auto
}
.channels {
  padding:18px 24px 18px 0;
  display:flex;
  justify-content:flex-end;
  gap:7px;
  flex-wrap:wrap
}
.channel {
  display:flex;
  align-items:center;
  gap:6px;
  background:#eef3e8;
  color:#2e5037;
  padding:7px 9px;
  border-radius:6px;
  font-size:11px;
  font-weight:600;
  line-height:1.3
}
.channel img {
  width:25px;
  height:20px;
  object-fit:contain
}
.channel.unknown {
  background:#f2f1eb;
  color:#7b8175;
  font-weight:400
}
.empty {
  padding:75px 20px;
  text-align:center;
  color:var(--muted);
  border:1px dashed #ced6c5;
  border-radius:12px;
  line-height:1.6
}
.empty h3 {
  color:var(--green)
}
.error-banner {
  padding:16px;
  background:#fff0e9;
  color:#954632;
  border-radius:8px;
  line-height:1.5
}
#filter-count {
  display:inline-grid;
  place-items:center;
  background:var(--green);
  color:#fff;
  border-radius:20px;
  min-width:20px;
  height:20px;
  margin-left:5px;
  font-size:11px
}
dialog {
  border:0;
  border-radius:16px;
  max-width:540px;
  width:calc(100% - 24px);
  padding:28px;
  color:var(--green);
  box-shadow:0 20px 100px #0003;
  max-height:90dvh
}
dialog::backdrop {
  background:#143d3570;
  backdrop-filter:blur(3px)
}
.dialog-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:25px
}
.dialog-heading h2 {
  margin:0
}
fieldset {
  border:0;
  border-top:1px solid var(--line);
  margin:0 0 20px;
  padding:16px 0 0
}
legend {
  padding:0 12px 0 0;
  font-size:14px;
  font-weight:700
}
.choices {
  display:flex;
  flex-wrap:wrap;
  gap:8px
}
.choice {
  display:flex;
  align-items:center;
  gap:8px;
  background:#f3f6ee;
  border-radius:7px;
  padding:9px 11px;
  margin:0;
  font-size:13px;
  cursor:pointer
}
.choice input {
  width:16px;
  height:16px;
  margin:0;
  accent-color:var(--green)
}
.dialog-actions {
  position:sticky;
  bottom:-28px;
  display:flex;
  gap:12px;
  justify-content:space-between;
  background:white;
  padding:18px 0 0
}
footer {
  width:90%;
  max-width:1240px;
  margin:auto;
  padding:22px 0 30px;
  border-top:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
  display:flex;
  justify-content:space-between
}
@media(max-width:850px) {
  .login-view {
    grid-template-columns:1fr;
    gap:25px;
    padding:10px 0;
    min-height:0
  }
  .intro h1 {
    font-size:62px
  }
  .intro h1 br {
    display:none
  }
  .intro-copy {
    max-width:600px;
    font-size:16px
  }
  .login-panel {
    max-width:500px;
    width:100%;
    padding:28px
  }
  .match {
    grid-template-columns:85px 1fr 190px
  }
  .match-main {
    padding:18px
  }
  .channels {
    padding-right:14px
  }
  .page-heading h1 {
    font-size:48px
  }
  .account {
    display:none
  }
}
@media(max-width:600px) {
  .masthead {
    padding:16px 5%;
    min-height:75px
  }
  .brand {
    font-size:23px
  }
  .header-actions {
    gap:0
  }
  .header-actions .button {
    font-size:12px;
    padding:8px
  }
  main {
    padding-top:28px
  }
  .page-heading {
    margin-bottom:24px
  }
  .page-heading h1 {
    font-size:44px
  }
  .toolbar {
    flex-direction:column;
    gap:14px
  }
  .day-tabs {
    width:100%
  }
  .day-tab {
    flex:1;
    padding:12px;
    min-width:0
  }
  .toolbar-actions {
    justify-content:flex-end
  }
  .toolbar-actions .button {
    padding:9px 13px
  }
  .agenda-summary {
    align-items:flex-start
  }
  .agenda-summary>#updated {
    font-size:11px;
    text-align:right;
    max-width:100px
  }
  .match {
    grid-template-columns:69px 1fr;
    min-height:120px
  }
  .match-time {
    grid-row:1/3;
    align-self:stretch;
    display:flex;
    flex-direction:column;
    justify-content:center
  }
  .match-time strong {
    font-size:27px
  }
  .match-main {
    padding:16px 15px 8px
  }
  .team-line h3 {
    font-size:16px
  }
  .team-logo {
    width:23px;
    height:23px
  }
  .competition {
    font-size:10px;
    margin-bottom:8px
  }
  .channels {
    grid-column:2;
    justify-content:flex-start;
    padding:0 15px 15px
  }
  .channel {
    font-size:10px;
    padding:6px 8px
  }
  .intro h1 {
    font-size:58px
  }
  .intro h1 br {
    display:block
  }
  .intro {
    margin-bottom:0
  }
  .intro-copy {
    margin-bottom:8px
  }
  footer {
    gap:10px
  }
  .login-panel {
    padding:24px
  }
}

.filter-help {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
  margin: 8px 0 22px;
}
.filter-rows {
  display: grid;
  gap: 9px;
}
.filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  margin: 0;
  border-bottom: 1px solid #eef1e9;
}
.filter-row > span {
  font-size: 13px;
  line-height: 1.4;
}
.filter-row select {
  flex: 0 0 118px;
  max-width: 118px;
  min-height: 44px;
  padding: 9px;
  border: 1px solid #cbd5c8;
  border-radius: 8px;
  color: var(--green);
  background: #fcfdf9;
  font: inherit;
  font-size: 13px;
}
.filter-row select:focus-visible {
  outline: 3px solid #91ac40;
  outline-offset: 2px;
}
.unassigned-choice {
  margin-top: 20px;
}
