/* 0.5.0 Athletics: shared by My Account (host), the no-login links and the public meet page. */
.stm-ath{--ath-line:#dde3ea;--ath-ink:#0e2238;--ath-muted:#4a5a6e;--ath-accent:var(--stm-accent,#c2410c);--ath-ok:#0f5132;--ath-ok-bg:#e7f5ee;--ath-warn-bg:#fff7e6}
.stm-ath .ath-card{background:#fff;border:1px solid var(--ath-line);border-radius:12px;padding:12px 14px;margin:0 0 12px}
.stm-ath .ath-card h3,.stm-ath .ath-h3{margin:4px 0 8px;font-size:16px}
.stm-ath .ath-muted{color:var(--ath-muted);font-size:13px;margin:6px 0}
.stm-ath .ath-center{text-align:center}
.stm-ath .ath-note{border-radius:10px;padding:8px 10px;font-size:13px;background:var(--ath-warn-bg)}
.stm-ath .ath-note.is-ok{background:var(--ath-ok-bg);color:var(--ath-ok)}
.stm-ath .ath-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:0 0 12px}
.stm-ath .ath-tiles>div{background:#fff;border:1px solid var(--ath-line);border-radius:10px;padding:8px 10px;display:flex;flex-direction:column}
.stm-ath .ath-tiles b{font-size:18px}.stm-ath .ath-tiles span{font-size:12px;color:var(--ath-muted)}
.stm-ath .ath-athletes{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}
.stm-ath .ath-athletes li{display:flex;gap:8px;align-items:center;justify-content:space-between;border-bottom:1px solid #eef1f4;padding:4px 0;font-size:14px}
.stm-ath .ath-athletes small{color:var(--ath-muted);margin-left:auto}
.stm-ath .ath-x{font-size:12px;color:#8a2424;white-space:nowrap}
.stm-ath .ath-add summary,.stm-ath .ath-group summary{cursor:pointer;font-weight:700;min-height:36px;display:flex;align-items:center;gap:8px}
.stm-ath .ath-group summary small{font-weight:400;color:var(--ath-muted)}
.stm-ath .ath-f{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;margin:6px 0}
.stm-ath textarea,.stm-ath input[type=text],.stm-ath input[type=search],.stm-ath select{min-height:40px;border:1px solid #c9d2dc;border-radius:8px;padding:0 8px;font-size:15px;background:#fff;max-width:100%;box-sizing:border-box}
.stm-ath textarea{padding:8px;min-height:90px;font-family:inherit}
.stm-ath .ath-pool{display:flex;flex-direction:column;gap:2px;max-height:280px;overflow:auto;border:1px solid var(--ath-line);border-radius:8px;padding:6px;margin-top:6px}
.stm-ath .ath-pool label{font-size:14px;min-height:30px;display:flex;align-items:center;gap:6px}
.stm-ath .ath-erow{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px;align-items:center;padding:8px 0;border-top:1px solid #eef1f4}
.stm-ath .ath-slots{display:flex;flex-direction:column;gap:6px}
.stm-ath .ath-slot{display:grid;grid-template-columns:18px minmax(0,1fr) 76px;gap:6px;align-items:center}
.stm-ath .ath-slot small{font-weight:800;color:var(--ath-muted)}
.stm-ath .ath-relay{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
.stm-ath .ath-check{display:flex;gap:8px;align-items:flex-start;font-size:13px;margin:10px 0}
.stm-ath .ath-check input{width:20px;height:20px;flex:none}
.stm-ath .ath-actions{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}
.stm-ath .ath-btn{min-height:46px;padding:0 18px;border-radius:10px;border:1px solid #c9d2dc;background:#fff;font-weight:800;font-size:15px;cursor:pointer}
.stm-ath .ath-btn.is-main{background:var(--ath-accent);border-color:var(--ath-accent);color:#fff;flex:1}
.stm-ath .ath-item-head{margin:0 0 10px}.stm-ath .ath-item-head span{font-size:12px;color:var(--ath-muted)}
.stm-ath .ath-item-head h2{margin:2px 0;font-size:20px}.stm-ath .ath-item-head small{color:var(--ath-muted)}
.stm-ath .ath-race{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;font-size:14px}
.stm-ath .ath-wind{width:70px}
.stm-ath .ath-grid{display:grid;gap:6px;align-items:center;font-size:14px}
.stm-ath .ath-grid>span:not(.ath-who){font-size:11px;font-weight:800;color:var(--ath-muted)}
.stm-ath .ath-track{grid-template-columns:30px minmax(0,1fr) 54px 84px 62px}
.stm-ath .ath-height{grid-template-columns:minmax(0,1fr) 70px 54px 54px 62px}
.stm-ath .ath-field{grid-template-columns:24px minmax(0,1fr) repeat(var(--att,3),56px) 50px 62px}
.stm-ath .ath-who{display:flex;flex-direction:column;min-width:0;font-weight:700}.stm-ath .ath-who small{font-weight:400;color:var(--ath-muted);font-size:11px}
.stm-ath .ath-place,.stm-ath .ath-mark,.stm-ath .ath-att{width:100%;text-align:center;font-size:16px;min-height:44px}
.stm-ath .ath-place{font-weight:800}
.stm-ath .ath-calc{text-align:center;font-size:16px}
.stm-ath .ath-status{padding:0 2px;font-size:13px}
.stm-ath .ath-chip{font-size:11px;font-weight:800;padding:3px 8px;border-radius:999px;background:#f0f2f5;color:var(--ath-muted);white-space:nowrap}
.stm-ath .ath-chip.is-done{background:var(--ath-ok-bg);color:var(--ath-ok)}
.stm-ath .ath-chip.is-live{background:var(--ath-accent);color:#fff}
.stm-ath .ath-chip.is-next{background:#eef6ff;color:#15294d}
.stm-ath .ath-filters{display:flex;gap:6px;flex-wrap:wrap;margin:0 0 10px}
.stm-ath .ath-filters button{min-height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--ath-line);background:#fff;font-size:12px;cursor:pointer}
.stm-ath .ath-filters button.is-on{background:#15294d;color:#fff;border-color:#15294d;font-weight:700}
.stm-ath .ath-prog{background:#fff;border:1px solid var(--ath-line);border-radius:12px;overflow:hidden}
.stm-ath .ath-prow{display:grid;grid-template-columns:50px minmax(0,1fr) auto;gap:10px;align-items:center;padding:10px 12px;border-bottom:1px solid #eef1f4;color:inherit;text-decoration:none}
.stm-ath .ath-prow[hidden]{display:none}
.stm-ath .ath-prow span{display:flex;flex-direction:column;min-width:0}.stm-ath .ath-prow small{color:var(--ath-muted);font-size:12px}
.stm-ath .ath-prow.is-on{background:#fff7f0}
.stm-ath .ath-now{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:8px;margin:0 0 12px}
.stm-ath .ath-now a{background:#fff;border:1px solid var(--ath-line);border-radius:12px;padding:10px 12px;display:flex;flex-direction:column;gap:3px;color:inherit;text-decoration:none}
.stm-ath .ath-now small{font-size:11px;font-weight:800;color:var(--ath-ok)}.stm-ath .ath-now .ath-chip{align-self:flex-start}
.stm-ath .ath-res,.stm-ath .ath-table{border:1px solid var(--ath-line);border-radius:12px;overflow:hidden;background:#fff}
.stm-ath .ath-res>div{display:grid;grid-template-columns:30px minmax(0,1fr) auto 34px;gap:8px;align-items:center;padding:8px 12px;border-bottom:1px solid #eef1f4;font-size:14px}
.stm-ath .ath-res span{display:flex;flex-direction:column;min-width:0}.stm-ath .ath-res small{color:var(--ath-muted);font-size:12px}.stm-ath .ath-res em{font-style:normal;font-weight:800;color:var(--ath-ok)}
.stm-ath .ath-table>div{display:grid;grid-template-columns:minmax(40px,auto) minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 12px;border-bottom:1px solid #eef1f4;font-size:14px}
.stm-ath .ath-schools{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:8px}
.stm-ath .ath-schools>div{background:#fff;border:1px solid var(--ath-line);border-radius:12px;padding:10px;display:flex;gap:8px;align-items:center;font-size:13px}
.stm-ath .ath-schools img,.stm-ath .ath-ini{width:36px;height:36px;object-fit:contain;flex:none}
.stm-ath .ath-ini{border-radius:50%;background:#6b7c8f;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:12px}
.stm-ath .ath-school{display:flex;gap:14px;align-items:center}.stm-ath .ath-school img{width:56px;height:56px;object-fit:contain;background:#fff;border-radius:10px;padding:4px}
@media (max-width:600px){
	.stm-ath .ath-erow{grid-template-columns:1fr}
	.stm-ath .ath-field{grid-template-columns:20px minmax(0,1fr) repeat(var(--att,3),46px);}
	.stm-ath .ath-field>b:nth-last-child(2){display:none}
	.stm-ath .ath-field>span:nth-last-child(-n+2):not(.ath-who){display:none}
	.stm-ath .ath-field .ath-status{grid-column:1 / -1}
	.stm-ath .ath-track{grid-template-columns:24px minmax(0,1fr) 46px 74px 54px}
}
/* Host screens (My Account) */
.stm-ath-grid-wrap{overflow-x:auto}
.stm-ath-grid td,.stm-ath-grid th{text-align:center;white-space:nowrap}.stm-ath-grid tbody th{text-align:left}
.stm-ath-grid input[type=text]{min-width:150px}
.stm-option.is-off{opacity:.55}
.stm-ath-list{margin:0;padding:0;list-style:none}.stm-ath-list li{padding:6px 0;border-bottom:1px solid #eef1f4}
.stm-clash{border-color:#f1b38a !important}
.stm-checklist{list-style:none;padding:0;margin:0 0 10px}.stm-checklist li{padding:4px 0}.stm-checklist .is-ok{color:#0f5132}.stm-checklist .is-bad{color:#8a2424;font-weight:700}
.stm-copy{width:100%;min-width:220px;font-size:12px}

/* 0.10.3 Public meet page on a PC: the listing tab lays sections out as a card grid; athletics
   lists need the full width instead of one narrow cell. */
.stm-ath .ath-pgrp{min-width:0}.stm-ath .ath-pgrp .ath-h3{margin-top:0}
@media (min-width:768px){
	.stm-embed .stm-ath #ath-prog>*,.stm-embed .stm-ath #ath-rec>*,.stm-embed .stm-ath #ath-sch>*,.stm-embed .stm-ath #ath-pts>.ath-pgrp-wide{grid-column:1 / -1}
	.stm-ath .ath-prog{display:grid;grid-template-columns:repeat(auto-fill,minmax(380px,1fr));column-gap:0}
	.stm-ath .ath-prog .ath-prow{border-right:1px solid #eef1f4}
	.stm-ath .ath-records{display:grid;grid-template-columns:repeat(auto-fill,minmax(420px,1fr))}
	.stm-ath .ath-records>div{border-right:1px solid #eef1f4}
	.stm-ath .ath-pgrp-wide .ath-table{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
	.stm-ath .ath-pgrp-wide .ath-table>div{border-right:1px solid #eef1f4}
	.stm-ath .ath-schools{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}
	.stm-embed .stm-ath #ath-res>.stm-card{margin:0}
}
