/* South Claw crest palette */
:root {
  --ink: #171717;
  --deep: #090909;
  --teal: #27351d;
  --aqua: #9eb267;
  --cream: #f4f1e9;
  --coral: #a92d25;
  --yellow: #d3a258;
  --line: #d7d0c3;
}

.site-header { background: var(--deep); border-bottom: 3px solid var(--coral); }
.brand > span, .mark { width: 50px; height: 50px; overflow: hidden; border: 2px solid var(--aqua); background: white; }
.brand > span img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mark img { width:100%; height:100%; object-fit:cover; object-position:center; }
.brand b { text-transform: uppercase; letter-spacing: .04em; }
.brand small { letter-spacing: .02em; text-transform: none; }
.nav-button, .button { box-shadow: 0 8px 22px rgba(0,0,0,.2); }
.nav-button:hover, .button:hover { background: #c33a30; }

.hero {
  min-height: 650px;
  padding-block: 80px;
  grid-template-columns: 1.35fr .75fr;
  gap: 72px;
  background: radial-gradient(circle at 80% 20%, #354626 0, transparent 34%), linear-gradient(135deg, #111 0, #1d2616 100%);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 65%, rgba(169,45,37,.16)); pointer-events: none; }
.hero::after { background: linear-gradient(90deg, var(--coral) 0 45%, var(--white) 45% 55%, var(--aqua) 55%); }
.hero-copy, .meet-card { position: relative; z-index: 1; }
h1 em, h2 em { color: #d85045; }
.meet-card { border-color: rgba(158,178,103,.5); padding: 24px; background: rgba(0,0,0,.42); border-radius: 7px; box-shadow: 18px 18px 0 rgba(169,45,37,.22); }
.logo-frame { height: auto; aspect-ratio: 1.12; margin: -10px -10px 23px; overflow: hidden; border-radius: 4px; background: transparent; border: 0; }
.logo-frame img { display: block; width: 100%; height: 100%; object-fit: contain; transform: none; }
.date-lockup span { color: var(--aqua); }
dd { color: #e35b50; }
.late-note { background: rgba(169,45,37,.26); border-left: 3px solid #d85045; }

.level-cloud span { border-bottom: 3px solid var(--aqua); }
.how { border-top: 4px solid var(--aqua); }
.how h2 em { color: #d85045; }
.how ol { box-shadow: 16px 16px 0 var(--aqua); }
footer { background: #050505; border-top: 3px solid var(--coral); }

.auth-shell { background: radial-gradient(circle at 20% 10%, #354626, transparent 38%), linear-gradient(135deg, #111, #1d2616); }
.form-card, .panel { box-shadow: 0 15px 45px rgba(0,0,0,.14); border-top: 4px solid var(--coral); }
.team-toggle { background: #eef0e6; border-color: #ced6b6; }
.team-toggle input { accent-color: var(--coral); }
.fee-grid .total { border-bottom: 4px solid var(--aqua); }
.fee-grid .total strong { color: #d85045; }
.file-drop { border-color: #9eb267 !important; background: #f1f3e9; }

/* Readable form typography */
.form-card h2, .panel h2 { font-size: 38px; }
.form-card label, .athlete-form label {
  font-size: 11px;
  line-height: 1.35;
  letter-spacing: .08em;
}
.form-card input:not([type=checkbox]),
.form-card select,
.athlete-form input,
.athlete-form select {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.form-card label > small { font-size: 11px; line-height: 1.4; }
.team-toggle span { font-size: 12px; }
.team-toggle span small { font-size: 11px; }
.team-toggle > b { font-size: 11px; }
.form-foot, .download-link, .back-link, .panel-title > a { font-size: 12px; }
.button, .nav-button { font-size: 13px; }
.file-drop span { font-size: 15px; }
.athlete-form { grid-template-columns: repeat(5, minmax(110px, 1fr)) auto; }
.roster td > select { height: 34px; padding: 0 8px; border: 1px solid #d8d1c2; border-radius: 3px; background: white; color: var(--ink); font-size: 13px; }
.row-actions { display: flex; align-items: center; gap: 8px; }
.row-actions > button { height: 34px; border: 0; border-radius: 3px; padding: 0 10px; background: #eef0e6; color: var(--teal); font-size: 11px; font-weight: 700; cursor: pointer; }
.row-actions form { margin: 0; }
.sort-button { appearance: none; border: 0; padding: 0; background: transparent; color: inherit; font: inherit; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.sort-button:hover, .sort-button:focus-visible { color: var(--coral); outline: none; }
.sort-button span { display: inline-block; margin-left: 3px; color: var(--coral); font-size: 12px; }
.roster-tools { display: flex; align-items: center; justify-content: flex-end; gap: 14px; }
.compact-button { padding: 11px 15px; }
.roster-footer { display: flex; justify-content: flex-end; padding-top: 20px; }

/* Meet director portal */
.admin-tabs { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:22px; }
.admin-tabs a { padding:10px 13px; border:1px solid var(--line); border-radius:4px; background:white; color:var(--teal); font-size:12px; font-weight:700; }
.admin-tabs a.active { background:var(--deep); border-color:var(--deep); color:white; }
.admin-kpis { grid-template-columns:repeat(4,1fr); }
.admin-note { color:#678080; font-size:12px; line-height:1.55; }
.admin-table input, .admin-table select { width:100%; min-width:105px; height:36px; padding:0 8px; border:1px solid #d8d1c2; border-radius:3px; background:white; color:var(--ink); font-size:13px; }
.admin-table .date-input { min-width:122px; }
.admin-table th { white-space:nowrap; }
.admin-actions { display:flex; justify-content:flex-end; margin-top:18px; }
.admin-financials td:last-child, .admin-financials th:last-child { text-align:right; }
.admin-toolbar { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:center; gap:12px; margin-bottom:18px; }
.admin-search { width:min(320px, 100%); height:40px; padding:0 12px; border:1px solid #d8d1c2; border-radius:3px; background:white; color:var(--ink); }
.admin-table .sort-button { white-space:nowrap; }
.admin-table td { vertical-align:top; }
.admin-table small { color:#678080; }
.table-action { color:var(--coral); font-size:12px; font-weight:700; white-space:nowrap; }
.editor-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.editor-grid label { display:block; text-transform:uppercase; letter-spacing:.07em; color:#526e6e; font-size:12px; font-weight:800; }
.editor-grid label[hidden] { display:none; }
.editor-grid input, .editor-grid select { width:100%; height:52px; margin-top:8px; padding:0 14px; border:1px solid #d8d1c2; border-radius:3px; color:var(--ink); background:white; font-size:16px; font-weight:600; }
.editor-grid .wide { grid-column:1/-1; }
.editor-actions { display:flex; justify-content:flex-end; gap:12px; margin-top:22px; }
@media (max-width:520px) { .editor-grid { grid-template-columns:1fr; } .editor-grid .wide { grid-column:auto; } }
@media (max-width:850px) { .admin-kpis { grid-template-columns:1fr 1fr; } }
@media (max-width:520px) { .admin-kpis { grid-template-columns:1fr; } .admin-tabs { display:grid; grid-template-columns:1fr 1fr; } }

@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr; }
  .logo-frame { height: auto; }
  .athlete-form { grid-template-columns: 1fr 1fr; }
  .roster-tools { align-items: flex-end; flex-direction: column; }
}

@media (max-width: 520px) {
  .brand > span { width: 44px; height: 44px; }
  .hero { padding-block: 55px 70px; }
  .meet-card { box-shadow: 8px 8px 0 rgba(169,45,37,.28); }
  .logo-frame { height: auto; }
  .how ol { box-shadow: 8px 8px 0 var(--aqua); }
  .athlete-form { grid-template-columns: 1fr; }
  .site-header nav > a.resource-link, .site-header nav > a.signin-link { display:inline; font-size:9px; line-height:1.2; text-align:center; max-width:74px; }
}
