:root {
  --ink:#172e30;
  --muted:#75817d;
  --green:#123c3a;
  --accent:#c4e489;
  --paper:#f6f7f2;
  --line:#e4e8de;
  --white:#fff;
  --radius:18px;
  font-family:Tahoma,"Segoe UI",Arial,sans-serif;
  color:var(--ink);
  background:var(--paper);
  font-synthesis:none
}

* {
  box-sizing:border-box
}

body {
  margin:0
}

button,input,select {
  font:inherit
}

button,a,input,select {
  -webkit-tap-highlight-color:transparent
}

button,a {
  touch-action:manipulation
}

button {
  cursor:pointer
}

button:disabled {
  opacity:.55;
  cursor:wait
}

a {
  color:inherit;
  text-decoration:none
}

svg {
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0
}

.svg-defs {
  position:absolute;
  width:0;
  height:0
}

h1,h2,p {
  margin:0
}

h1 {
  font-size:30px;
  line-height:1.5;
  font-weight:700;
  letter-spacing:-.8px
}

h2 {
  font-size:18px;
  line-height:1.6
}

p {
  line-height:1.9
}

button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible {
  outline:3px solid #82a94d;
  outline-offset:3px
}

[hidden] {
  display:none!important
}

.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  overflow:hidden;
  clip-path:inset(50%)
}

.skip-link {
  position:fixed;
  top:-100px;
  right:20px;
  background:white;
  padding:12px;
  z-index:10
}

.skip-link:focus {
  top:10px
}

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

.sidebar {
  background:white;
  border-inline-end:1px solid var(--line);
  padding:34px 22px 22px;
  display:flex;
  flex-direction:column;
  position:sticky;
  top:0;
  height:100vh
}

.brand {
  display:flex;
  gap:12px;
  align-items:center;
  padding:0 8px 42px
}

.brand-mark {
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--green);
  color:white;
  border-radius:14px;
  font-size:29px;
  font-family:Arial;
  font-weight:800
}

.brand-mark span {
  color:var(--accent);
  font-size:28px;
  align-self:flex-end
}

.brand b {
  font-size:21px;
  letter-spacing:2px;
  display:block
}

.brand small {
  display:block;
  color:var(--muted);
  font-size:10px;
  margin-top:7px
}

.nav-caption {
  color:#8b9389;
  font-size:10px;
  padding:0 14px;
  margin-bottom:14px
}

.sidebar nav {
  display:grid;
  gap:7px
}

.sidebar nav a {
  display:flex;
  gap:12px;
  align-items:center;
  padding:14px;
  border-radius:10px;
  font-size:13px;
  color:#64716b;
  min-height:49px
}

.sidebar nav a.active {
  background:#edf3e5;
  color:var(--green);
  font-weight:bold
}

.sidebar nav a:hover {
  background:#f2f5ed
}

.sidebar nav a span {
  margin-inline-start:auto;
  font-family:Arial;
  font-size:12px;
  border-radius:6px;
  background:white;
  padding:3px 7px
}

.sidebar-bottom {
  margin-top:auto;
  padding:24px 12px 22px;
  border-bottom:1px solid var(--line)
}

.local-dot {
  display:inline-block;
  width:7px;
  height:7px;
  border-radius:50%;
  background:#6c9875;
  margin-inline-end:8px
}

.sidebar-bottom b {
  font-size:12px
}

.sidebar-bottom p {
  font-size:10px;
  color:var(--muted);
  margin-top:10px
}

.sidebar-button {
  margin-top:16px;
  background:none;
  border:0;
  padding:0;
  display:flex;
  align-items:center;
  gap:8px;
  color:var(--green);
  font-size:11px
}

.sidebar-button svg {
  width:16px;
  height:16px
}

.sidebar-footer {
  padding:22px 12px 0;
  display:flex;
  flex-direction:column;
  gap:8px;
  color:var(--muted)
}

.sidebar-footer span {
  font-size:9px;
  letter-spacing:1.5px;
  text-align:right
}

.sidebar-footer small {
  font-size:9px
}

.workspace {
  min-width:0
}

.topbar {
  height:80px;
  border-bottom:1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 40px;
  background:#fbfcf8
}

.breadcrumb {
  display:flex;
  align-items:center;
  gap:16px;
  font-size:11px;
  color:var(--muted)
}

.breadcrumb b {
  color:var(--ink);
  font-weight:normal
}

main {
  padding:34px 40px 20px;
  max-width:1510px;
  margin:auto
}

.page-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:28px
}

.eyebrow {
  font-size:10px;
  letter-spacing:.5px;
  color:#7b8c72;
  margin-bottom:6px
}

.page-heading p:not(.eyebrow) {
  font-size:12px;
  color:var(--muted);
  margin-top:6px
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  min-height:44px;
  border-radius:9px;
  padding:11px 18px;
  border:1px solid transparent;
  font-size:12px;
  font-weight:bold;
  white-space:nowrap
}

.button svg {
  width:18px;
  height:18px
}

.primary {
  background:var(--green);
  color:white
}

.primary:hover {
  background:#23514d
}

.secondary {
  background:white;
  border-color:var(--line);
  color:var(--ink)
}

.secondary:hover {
  background:#f3f6ef
}

.event-hero {
  position:relative;
  overflow:hidden;
  min-height:242px;
  background:var(--green);
  border-radius:var(--radius);
  color:white;
  display:flex;
  justify-content:space-between;
  padding:30px 32px
}

.hero-copy {
  position:relative;
  z-index:1;
  min-width:0
}

.hero-label {
  color:#b9d6b4;
  font-family:Arial;
  font-size:9px;
  letter-spacing:2.5px
}

.hero-title-row {
  display:flex;
  gap:14px;
  align-items:center;
  margin-top:20px;
  flex-wrap:wrap
}

.hero-title-row h2 {
  font-size:29px;
  word-break:break-word
}

.status-pill {
  font-size:9px;
  padding:5px 10px;
  border:1px solid #6a8980;
  border-radius:20px;
  color:#d7eac3;
  white-space:nowrap
}

.hero-copy>p {
  font-size:11px;
  color:#c1d2c9;
  margin-top:3px
}

.event-meta {
  display:flex;
  flex-wrap:wrap;
  gap:24px;
  margin-top:23px;
  font-size:11px;
  color:#d0dfd5
}

.event-meta>span {
  display:flex;
  gap:7px;
  align-items:center
}

.event-meta svg {
  width:16px;
  height:16px;
  color:#a9c198
}

.hero-link {
  display:flex;
  align-items:center;
  gap:12px;
  margin-top:24px;
  font-size:10px;
  color:var(--accent)
}

.hero-link svg {
  width:16px;
  height:16px
}

.hero-art {
  width:230px;
  position:relative;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center
}

.hero-art>svg {
  width:120px;
  height:120px;
  stroke-width:2;
  stroke:#c4e489;
  transform:rotate(-12deg);
  opacity:.85
}

.art-ring {
  position:absolute;
  border:1px solid #ffffff12;
  border-radius:50%
}

.ring-one {
  width:235px;
  height:235px
}

.ring-two {
  width:340px;
  height:340px
}

.hero-art>span {
  position:absolute;
  bottom:0;
  left:0;
  font:8px/1.6 Arial;
  letter-spacing:1.5px;
  color:#8baba1;
  direction:ltr
}

.stats-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:22px 0
}

.stat-card {
  background:white;
  border:1px solid var(--line);
  border-radius:14px;
  padding:23px;
  display:flex;
  justify-content:space-between;
  gap:12px
}

.stat-card span {
  font-size:11px;
  color:#6f7a70
}

.stat-card strong {
  display:block;
  font-size:36px;
  font-family:Arial;
  font-weight:500;
  line-height:1.3;
  margin-top:14px
}

.stat-card small {
  display:block;
  font-size:9px;
  color:#889185;
  margin-top:7px
}

.stat-icon {
  display:flex;
  width:38px;
  height:38px;
  border-radius:11px;
  align-items:center;
  justify-content:center;
  background:#f0f4e9;
  color:#537050!important
}

.stat-icon svg {
  width:19px;
  height:19px
}

.panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden
}

.panel-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:21px 24px;
  border-bottom:1px solid #edf0e8;
  gap:10px
}

.panel-heading h2 {
  font-size:14px
}

.panel-heading a {
  display:flex;
  gap:8px;
  align-items:center;
  font-size:10px;
  color:#758665
}

.panel-heading svg {
  width:15px;
  height:15px
}

.empty-state {
  padding:34px 20px;
  text-align:center
}

.empty-icon {
  width:47px;
  height:47px;
  background:#f0f4e9;
  color:#7d9671;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin:0 auto 15px
}

.empty-state h3 {
  font-size:13px;
  font-weight:normal;
  margin:0 0 7px
}

.empty-state p {
  font-size:10px;
  color:var(--muted)
}

.empty-state button {
  margin-top:18px;
  font-size:10px;
  min-height:36px
}

.footer-note {
  font-size:9px;
  color:#9aA18f;
  margin:23px 0
}

.avatar {
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  width:36px;
  height:36px;
  border-radius:11px;
  background:#edf2e5;
  color:#647c4c;
  font-size:13px
}

.attendance {
  font-size:9px;
  border-radius:20px;
  padding:5px 9px;
  display:inline-block;
  background:#f2f3ed;
  color:#7b8176;
  white-space:nowrap
}

.attendance.yes {
  background:#eaf4e5;
  color:#507c45
}

.list-toolbar {
  padding:21px 24px;
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap
}

.search-field {
  position:relative;
  flex:1;
  min-width:220px;
  margin:0
}

.search-field svg {
  position:absolute;
  right:13px;
  top:14px;
  width:17px;
  height:17px;
  color:#8c9686
}

.search-field input {
  padding-inline-start:40px
}

.filter-field {
  margin:0;
  min-width:170px
}

.muted {
  color:var(--muted);
  font-size:11px;
  line-height:1.9
}

.table-scroll {
  overflow-x:auto
}

.fips-detail-trigger {
  display:inline-grid;
  place-items:center;
  width:22px;
  height:22px;
  margin-inline-start:7px;
  border:1px solid var(--line);
  border-radius:50%;
  background:#eef3ff;
  color:#163a9d;
  font-family:inherit;
  font-size:12px;
  font-weight:700;
  line-height:1;
  cursor:pointer;
  vertical-align:middle
}

.fips-detail-trigger:hover,.fips-detail-trigger:focus-visible {
  background:#dce7ff;
  outline:2px solid #163a9d;
  outline-offset:2px
}

.fips-comparison {display:grid;gap:8px;margin-top:12px}
.fips-comparison-row {display:grid;gap:5px;padding:12px;border:1px solid var(--line);border-radius:10px}
.fips-comparison-row.selected {background:#eef3ff;border-color:#8fa9df}
.fips-comparison-row strong {font-size:13px}
.fips-comparison-scores {font-size:12px;color:#163a9d;white-space:normal}
.fips-comparison-row small {color:var(--muted)}

table {
  border-collapse:collapse;
  width:100%;
  text-align:right;
  white-space:nowrap;
  font-size:11px
}

th {
  background:#f8faf4;
  font-weight:normal;
  color:#7f8b76;
  font-size:10px;
  padding:15px 22px;
  border-block:1px solid var(--line)
}

td {
  padding:17px 22px;
  border-bottom:1px solid #eff2e8
}

td.name-cell {
  white-space:normal;
  min-width:150px;
  max-width:300px;
  word-break:break-word
}

.table-button {
  background:none;
  border:0;
  padding:7px;
  color:#50704c;
  font-size:10px;
  min-height:32px
}

.table-button.delete {
  color:#a16f67
}

.form-panel {
  padding:26px
}

.form-panel h2 {
  margin-bottom:23px;
  font-size:16px
}

label {
  display:block;
  font-size:11px;
  margin-bottom:20px;
  color:#56664f
}

input:not([type=checkbox]),select {
  display:block;
  width:100%;
  background:#fcfdf9;
  border:1px solid #dfe5d7;
  border-radius:8px;
  min-height:44px;
  padding:11px 12px;
  color:var(--ink);
  margin-top:9px;
  font-size:12px
}

input::placeholder {
  color:#99a28f;
  font-size:11px
}

.form-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px
}

.form-panel .button {
  margin-top:15px;
  margin-inline-end:7px
}

.form-error {
  color:#a24032;
  font-size:11px;
  margin-bottom:12px
}

.form-error:empty {
  display:none
}

.toast {
  position:fixed;
  bottom:25px;
  left:25px;
  max-width:calc(100% - 50px);
  padding:15px 22px;
  z-index:20;
  background:var(--green);
  color:white;
  box-shadow:0 7px 30px #172e3022;
  border-radius:10px;
  font-size:12px;
  line-height:1.7
}

.toast.error {
  background:#813e35
}

dialog {
  border:1px solid var(--line);
  border-radius:20px;
  padding:0;
  width:min(470px,calc(100% - 32px));
  max-height:calc(100dvh - 40px);
  color:var(--ink);
  box-shadow:0 20px 100px #123c3a33
}

dialog::backdrop {
  background:#092e2c66;
  backdrop-filter:blur(4px)
}

dialog form {
  padding:28px
}

.dialog-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:28px
}

.dialog-heading h2 {
  font-size:20px
}

.close-button {
  font-size:26px;
  line-height:1;
  background:#f4f6ef;
  border:0;
  border-radius:9px;
  width:36px;
  height:36px;
  color:#7b8871
}

.required {
  color:#aa6754
}

.checkbox-field {
  display:flex;
  gap:10px;
  align-items:center;
  font-size:12px
}

.checkbox-field input {
  width:17px;
  height:17px;
  accent-color:var(--green)
}

.dialog-actions {
  display:flex;
  gap:10px;
  margin-top:24px
}

.member-notification-options {
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 16px;
  margin:14px 0;
  display:grid;
  gap:8px
}

.member-notification-options legend {font-weight:700;padding:0 5px}
.member-notification-options p {margin:0 0 3px;font-size:12px;line-height:1.5}
.push-dialog-body {padding:24px}
.push-dialog-body h2 {margin:0 0 12px;font-size:20px}
.push-dialog-body p {line-height:1.5}

.confirm-body {
  padding:28px
}

.confirm-body p {
  font-size:12px;
  color:var(--muted);
  margin-top:15px
}

@media(min-width:1500px) {
  main {
    padding-top:44px
  }
  .event-hero {
    min-height:260px
  }
}

@media(max-width:1100px) {
  .app-shell {
    grid-template-columns:205px minmax(0,1fr)
  }
  .sidebar {
    padding-inline:14px
  }
  .topbar {
    padding-inline:26px
  }
  main {
    padding-inline:26px
  }
  .hero-art {
    width:145px
  }
  .stat-card {
    padding:18px
  }
  .stat-card span {
    font-size:10px
  }
  .panel-heading {
    padding:18px
  }
  .hero-title-row h2 {
    font-size:25px
  }
  .hero-art>span {
    display:none
  }
}

@media(max-width:760px) {
  .app-shell {
    display:block
  }
  .sidebar {
    position:static;
    height:auto;
    padding:18px 20px 0;
    border-inline-end:0;
    border-bottom:1px solid var(--line)
  }
  .brand {
    padding:0 0 17px
  }
  .brand-mark {
    width:36px;
    height:36px;
    font-size:24px
  }
  .brand b {
    font-size:18px
  }
  .brand small {
    font-size:9px
  }
  .nav-caption,.sidebar-bottom,.sidebar-footer {
    display:none
  }
  .sidebar nav {
    display:flex;
    gap:5px
  }
  .sidebar nav a {
    font-size:11px;
    flex:1;
    justify-content:center;
    padding:12px 7px;
    border-radius:8px 8px 0 0;
    gap:7px
  }
  .sidebar nav a svg {
    width:16px;
    height:16px
  }
  .sidebar nav a span {
    display:none
  }
  .topbar {
    height:54px;
    padding-inline:20px
  }
  .breadcrumb {
    font-size:9px;
    gap:9px
  }
  main {
    padding:24px 20px 10px
  }
  h1 {
    font-size:24px
  }
  .page-heading {
    align-items:flex-start;
    margin-bottom:23px;
    flex-wrap:wrap;
    gap:16px
  }
  .page-heading p:not(.eyebrow) {
    font-size:11px
  }
  .button {
    font-size:11px;
    min-height:42px;
    padding:11px 15px
  }
  .event-hero {
    padding:25px;
    min-height:250px
  }
  .hero-art {
    position:absolute;
    left:-35px;
    bottom:10px;
    opacity:.35;
    width:170px;
    height:170px
  }
  .hero-title-row h2 {
    font-size:25px
  }
  .hero-copy {
    width:100%
  }
  .hero-copy>p {
    font-size:10px
  }
  .event-meta {
    gap:15px
  }
  .stats-grid {
    gap:9px;
    margin:16px 0
  }
  .stat-card {
    padding:15px 12px;
    position:relative
  }
  .stat-card span {
    font-size:9px
  }
  .stat-card strong {
    font-size:29px;
    margin-top:15px
  }
  .stat-card small {
    font-size:8px;
    line-height:1.7
  }
  .stat-icon {
    display:none!important
  }
  .panel-heading {
    padding:19px
  }
  .panel-heading h2 {
    font-size:13px
  }
  .empty-state {
    padding:30px 18px
  }
  .list-toolbar {
    padding:16px
  }
  .search-field {
    flex-basis:100%
  }
  .filter-field {
    min-width:160px
  }
  th,td {
    padding:14px
  }
  .form-panel {
    padding:22px
  }
  .form-row {
    grid-template-columns:1fr;
    gap:0
  }
  .toast {
    left:16px;
    bottom:16px;
    max-width:calc(100% - 32px)
  }
  .footer-note {
    line-height:1.8
  }
}

@media(prefers-reduced-motion:no-preference) {
  .button,.sidebar nav a {
    transition:background .15s
  }
  .toast {
    animation:appear .18s ease-out
  }
  @keyframes appear {
    from {
      opacity:0;
      transform:translateY(10px)
    }
    to {
      opacity:1;
      transform:translateY(0)
    }
  }
}

.auth-screen {
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:100vh
}

.auth-intro {
  background:var(--green);
  color:white;
  padding:55px 65px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  position:relative;
  overflow:hidden
}

.auth-intro:after {
  content:'';
  width:480px;
  height:480px;
  border:1px solid #ffffff15;
  border-radius:50%;
  position:absolute;
  bottom:-240px;
  left:-170px;
  pointer-events:none
}

.auth-wordmark {
  font:700 30px Arial;
  letter-spacing:5px;
  text-align:right
}

.auth-intro h1 {
  font-size:47px;
  line-height:1.7;
  margin:22px 0;
  color:#eff5e8
}

.auth-intro>div>p:not(.hero-label) {
  font-size:14px;
  color:#bed0c6
}

.auth-pills {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px
}

.auth-pills span {
  border:1px solid #58766b;
  color:#cde3bd;
  font-size:10px;
  padding:8px 15px;
  border-radius:30px
}

.auth-intro>small {
  font-size:9px;
  color:#8fab9c;
  letter-spacing:1px
}

.auth-content {
  display:flex;
  align-items:center;
  justify-content:center;
  padding:55px
}

.auth-content form {
  width:100%;
  max-width:350px
}

.auth-content h2 {
  font-size:27px;
  margin-bottom:12px
}

.auth-content .muted {
  margin-bottom:28px
}

.auth-content .button {
  width:100%;
  margin-top:8px
}

.auth-footnote {
  font-size:10px;
  color:#94a087;
  text-align:center;
  margin-top:26px
}

.topbar-actions {
  display:flex;
  align-items:center;
  gap:20px
}

.season-picker {
  margin:0;
  max-width:240px
}

.season-picker select {
  margin:0;
  font-size:11px;
  background:none;
  border-color:var(--line);
  min-height:36px;
  padding:7px 12px
}

.logout-button {
  border:0;
  background:none;
  font-size:10px;
  color:#7e896f;
  padding:10px
}

.logout-button span {
  color:#375947;
  margin-inline-start:5px
}

.intro-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-top:25px
}

.intro-grid article {
  padding:28px 24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:#f9fbf5
}

.intro-grid b {
  color:#9caf89;
  font:26px Arial
}

.intro-grid h2 {
  font-size:15px;
  margin-top:20px
}

.intro-grid p {
  font-size:11px;
  color:var(--muted);
  margin-top:8px
}

.welcome-panel .empty-state {
  padding-block:65px
}

.welcome-panel .button {
  margin-inline:5px
}

.section-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
  margin:28px 0 18px
}

.section-heading h2 {
  font-size:17px
}

.rounds-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px
}

.round-card {
  display:block;
  border:1px solid var(--line);
  background:white;
  border-radius:15px;
  padding:21px 22px;
  transition:border-color .15s,box-shadow .15s
}

.round-card:hover {
  border-color:#a7ba8e;
  box-shadow:0 5px 15px #123c3a07
}

.round-card-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px
}

.round-number {
  font:15px Arial;
  color:#476d4b;
  background:#eef3e7;
  border-radius:8px;
  padding:8px 10px
}

.round-card h2 {
  font-size:18px;
  margin-top:19px
}

.round-card>p {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:10px;
  color:#89937e;
  margin-top:10px
}

.round-card>p svg {
  width:14px;
  height:14px
}

.round-card-footer {
  border-top:1px solid #eef1e6;
  margin-top:20px;
  padding-top:15px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:9px;
  font-size:9px;
  color:#879077
}

.round-card-footer>span:last-child {
  color:#51704d;
  display:flex;
  gap:7px;
  align-items:center
}

.round-card-footer svg {
  width:14px;
  height:14px
}

.round-tabs {
  display:flex;
  gap:4px;
  border-bottom:1px solid var(--line);
  overflow-x:auto;
  margin-bottom:22px;
  padding-bottom:1px
}

.round-tabs a {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:14px 12px;
  white-space:nowrap;
  font-size:11px;
  color:#7c8870;
  flex:1;
  border-bottom:2px solid transparent;
  min-height:50px
}

.round-tabs a.active {
  color:var(--green);
  border-bottom-color:var(--green);
  font-weight:bold
}

.round-tabs a span {
  font:10px Arial;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #dce3d2;
  width:19px;
  height:19px;
  border-radius:50%
}

.round-tabs a.active span {
  background:var(--green);
  border-color:var(--green);
  color:white
}

.notice {
  padding:15px 20px;
  background:#edf2e5;
  border:1px solid #e1e8d5;
  border-radius:11px;
  color:#667b57;
  font-size:11px;
  line-height:1.9;
  margin-bottom:20px
}

.notice.warning {
  background:#fbf5e7;
  color:#987b3a;
  border-color:#ede2c8
}

.notice.success {
  background:#e9f3e6;
  color:#57824d
}

.round-details {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:22px;
  padding:24px
}

.round-details label {
  margin:0
}

.attendance-select {
  margin:0;
  min-width:220px;
  max-width:340px
}

.attendance-select select {
  margin:0;
  font-size:11px;
  min-height:39px;
  padding:8px 10px
}

.panel-actions {
  padding:22px;
  display:flex;
  align-items:center;
  gap:14px;
  flex-wrap:wrap
}

.member-cell {
  display:flex;
  align-items:center;
  gap:12px
}

.sector-suggestion {
  display:flex;
  align-items:flex-end;
  gap:20px;
  margin-bottom:25px
}

.sector-suggestion label {
  max-width:130px;
  margin:0
}

.sector-suggestion .button {
  margin:0
}

.sector-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px
}

.sector-edit {
  display:grid;
  grid-template-columns:24px 1fr 1fr;
  gap:12px;
  align-items:center;
  padding:18px;
  background:#f8faf3;
  border:1px solid #e6ecdc;
  border-radius:13px
}

.sector-edit label {
  margin:0;
  font-size:10px
}

.sector-edit input {
  margin-top:8px
}

.sector-number {
  font:18px Arial;
  color:#a4b18e
}

.sector-chip {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:28px;
  height:28px;
  padding:0 7px;
  border-radius:8px;
  background:#eef3e6;
  color:#5d7949;
  font:14px Arial;
  margin-inline-end:5px
}

.place-number {
  font:17px Arial;
  color:#3c6554
}

.sector-results {
  margin-top:20px
}

.tie-actions {
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  padding:0 22px 18px
}

.tie-actions:empty {
  padding:0
}

.tie-button {
  margin-top:18px;
  color:#8f763e;
  background:#fcf7ea;
  border-color:#ece2c9;
  font-size:10px;
  white-space:normal
}

.tie-row {
  background:#fffaf0
}

.rank-note {
  font-size:9px;
  color:#918668;
  white-space:normal;
  max-width:170px;
  display:block;
  line-height:1.7
}

.podium-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  margin:22px 0
}

.podium-card {
  background:white;
  border:1px solid var(--line);
  border-radius:17px;
  text-align:center;
  padding:29px 22px
}

.podium-card.place-1 {
  background:#edf3e1;
  border-color:#d8e4c5
}

.podium-medal {
  display:flex;
  align-items:center;
  justify-content:center;
  width:45px;
  height:45px;
  background:#f2f5ed;
  border-radius:50%;
  font:24px Arial;
  margin:0 auto 17px;
  color:#658252
}

.place-1 .podium-medal {
  background:#c9dfa5;
  color:#3c6138
}

.podium-card>p {
  font-size:11px;
  color:#879074
}

.podium-card h2 {
  font-size:19px;
  margin:9px 0;
  overflow-wrap:anywhere
}

.podium-card strong {
  display:block;
  font:27px Arial;
  color:#416441;
  margin:16px 0
}

.podium-card strong small {
  font:10px Tahoma
}

.audit-admin {
  display:block;
  font-size:9px;
  color:#879277;
  margin-top:8px
}

.audit-detail {
  min-width:250px;
  max-width:450px;
  white-space:normal
}

.audit-detail summary {
  cursor:pointer;
  font-size:10px;
  color:#6a7d57;
  line-height:1.8
}

.audit-detail b {
  display:block;
  font-size:10px;
  margin-top:15px
}

.audit-detail pre {
  white-space:pre-wrap;
  overflow-wrap:anywhere;
  font:10px/1.9 Tahoma;
  background:#f6f8f0;
  padding:12px;
  border-radius:9px;
  max-height:220px;
  overflow:auto;
  direction:rtl
}

.result-rule {
  font-size:11px;
  color:#6c8257;
  background:#f3f7eb;
  border-radius:9px;
  padding:12px 15px;
  margin-bottom:22px
}

.loading-state {
  text-align:center;
  padding:60px;
  color:var(--muted)
}

.is-busy {
  cursor:progress
}

.page-heading>.attendance {
  align-self:center
}

#dialog-fields>p {
  margin-bottom:15px
}

@media(max-width:1100px) {
  .rounds-grid {
    grid-template-columns:repeat(2,minmax(0,1fr))
  }
  .auth-intro {
    padding:40px
  }
  .auth-intro h1 {
    font-size:38px
  }
  .auth-content {
    padding:35px
  }
  .round-tabs a {
    padding-inline:9px;
    font-size:10px
  }
  .topbar-actions {
    gap:8px
  }
  .intro-grid {
    gap:15px
  }
  .sector-grid {
    grid-template-columns:1fr
  }
  .season-picker {
    max-width:170px
  }
}

@media(max-width:760px) {
  .auth-screen {
    display:block
  }
  .auth-intro {
    padding:28px;
    min-height:255px
  }
  .auth-wordmark {
    font-size:23px
  }
  .auth-intro h1 {
    font-size:27px;
    margin:15px 0 8px;
    line-height:1.6
  }
  .auth-intro h1 br {
    display:none
  }
  .auth-intro>div>p:not(.hero-label) {
    font-size:11px
  }
  .auth-intro .hero-label,.auth-intro>small {
    display:none
  }
  .auth-pills {
    margin-top:18px;
    gap:8px
  }
  .auth-pills span {
    font-size:8px;
    padding:6px 10px
  }
  .auth-content {
    padding:32px 25px
  }
  .auth-content h2 {
    font-size:23px
  }
  .auth-content .muted {
    font-size:10px;
    margin-bottom:22px
  }
  .sidebar nav a {
    font-size:10px;
    gap:5px
  }
  .sidebar nav a svg {
    width:14px;
    height:14px
  }
  .topbar {
    height:auto;
    min-height:60px;
    gap:12px;
    flex-wrap:wrap;
    padding-block:12px
  }
  .topbar-actions {
    gap:6px
  }
  .season-picker {
    max-width:150px
  }
  .season-picker select {
    font-size:10px;
    min-height:32px
  }
  .logout-button {
    font-size:9px;
    padding-inline:3px
  }
  .logout-button span {
    display:none
  }
  .rounds-grid {
    gap:12px
  }
  .round-card {
    padding:17px 15px
  }
  .round-card h2 {
    font-size:16px
  }
  .round-card-top .attendance {
    font-size:8px;
    padding:5px 7px
  }
  .round-number {
    font-size:12px;
    padding:6px 8px
  }
  .round-card-footer {
    flex-wrap:wrap;
    font-size:9px
  }
  .round-card>p {
    font-size:9px
  }
  .section-heading {
    align-items:flex-start;
    flex-direction:column;
    gap:5px
  }
  .section-heading .muted {
    font-size:10px
  }
  .round-tabs a {
    padding:12px;
    font-size:10px;
    gap:6px
  }
  .round-details {
    grid-template-columns:1fr;
    padding:20px
  }
  .notice {
    padding:13px 16px;
    font-size:10px
  }
  .sector-suggestion {
    gap:12px
  }
  .sector-edit {
    gap:10px;
    padding:15px
  }
  .sector-suggestion label {
    max-width:95px
  }
  .podium-grid {
    grid-template-columns:1fr;
    gap:12px
  }
  .podium-card {
    display:grid;
    grid-template-columns:42px 1fr;
    column-gap:15px;
    text-align:right;
    padding:20px
  }
  .podium-medal {
    grid-column:1;
    grid-row:1/4;
    margin:0;
    width:40px;
    height:40px
  }
  .podium-card>p,.podium-card h2,.podium-card strong,.podium-card>.muted {
    grid-column:2
  }
  .podium-card h2 {
    font-size:17px;
    margin:5px 0
  }
  .podium-card strong {
    font-size:23px;
    margin:8px 0
  }
  .intro-grid {
    grid-template-columns:1fr;
    gap:12px
  }
  .intro-grid article {
    padding:20px;
    display:grid;
    grid-template-columns:32px 1fr;
    column-gap:16px
  }
  .intro-grid b {
    grid-row:1/3;
    font-size:23px
  }
  .intro-grid h2 {
    margin:0;
    font-size:13px
  }
  .intro-grid p {
    margin-top:6px;
    font-size:10px
  }
  .welcome-panel .empty-state {
    padding:40px 20px
  }
  .panel-actions {
    padding:18px;
    gap:10px
  }
  .tie-actions {
    padding-inline:18px
  }
}

@media(max-width:390px) {
  .rounds-grid {
    grid-template-columns:1fr
  }
  .sidebar {
    padding-inline:12px
  }
  .sidebar nav a {
    font-size:9px
  }
  main {
    padding-inline:16px
  }
  .topbar {
    padding-inline:16px
  }
}

@media(max-width:760px) {
  .entry-table {
    white-space:normal
  }
  .entry-table thead {
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip-path:inset(50%)
  }
  .entry-table tbody {
    display:block
  }
  .entry-table tbody tr {
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:18px 20px;
    gap:14px;
    border-bottom:1px solid var(--line)
  }
  .entry-table td {
    border:0;
    padding:0;
    font-size:13px;
    min-width:0;
    max-width:none
  }
  .entry-table td:before {
    display:block;
    font-size:10px;
    color:#8a957c;
    line-height:1.7;
    margin-bottom:5px
  }
  .entry-table td:nth-child(1):before {
    content:'رقم المكان'
  }
  .entry-table td:nth-child(2) {
    grid-column:1/-1;
    order:-2;
    font-size:15px;
    color:var(--green);
    font-weight:bold;
    padding-bottom:8px
  }
  .entry-table td:nth-child(3):before {
    content:'الحيز'
  }
  .entry-table td:nth-child(4):before {
    content:'الوزن الإجمالي / غ'
  }
  .entry-table td:nth-child(5):before {
    content:'عدد الأسماك'
  }
  .entry-table td:nth-child(6):before {
    content:'أكبر سمكة / غ'
  }
  .entry-table td:nth-child(7):before {
    content:'الثانية / غ'
  }
  .entry-table td:nth-child(8):before {
    content:'نقاط الجولة'
  }
  .entry-table td:nth-child(9) {
    display:flex;
    align-items:flex-end
  }
  .entry-table .table-button {
    min-height:42px;
    width:100%;
    background:var(--green);
    color:white;
    border-radius:9px;
    font-size:12px
  }
  .entry-table .sector-chip {
    height:24px;
    font-size:12px
  }
  .entry-table td:nth-child(8) b {
    font-size:18px;
    color:#40603b
  }
  .round-tabs {
    scrollbar-width:thin
  }
  .rank-note {
    font-size:10px
  }
}

