/* EAIM 체육교과 플랫폼 공통 스타일 */
:root { color-scheme: dark only; --bg:#020617; --card:#0f172a; --line:#1e293b; --text:#f8fafc; --muted:#94a3b8; --accent:#f97316; --good:#22c55e; --mid:#eab308; --bad:#ef4444; --blue:#3b82f6; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: 'Noto Sans KR', sans-serif; }
.title, h2 { font-family: 'Black Han Sans', sans-serif; font-weight: 400; }
header.bar { padding: 14px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background: rgba(2,6,23,.94); z-index: 30; gap: 12px; }
header.bar h1 { margin: 0; font-size: 18px; color: var(--accent); font-family: 'Black Han Sans', sans-serif; font-weight: 400; }
header.bar a { color: var(--muted); font-size: 13px; text-decoration: none; white-space: nowrap; }
.wrap { max-width: 760px; margin: 0 auto; padding: 20px 18px 80px; }
.wrap.wide { max-width: 1240px; }
button { font-family: inherit; cursor: pointer; border: 0; border-radius: 12px; padding: 11px 16px; font-weight: 700; font-size: 15px; color: var(--text); background: #1e293b; }
button.primary { background: var(--accent); color: #fff; }
button.ghost { background: transparent; color: var(--muted); text-decoration: underline; font-weight: 400; padding: 6px; }
button.sel { background: var(--accent); color: #fff; }
button.small { padding: 7px 11px; font-size: 13px; border-radius: 10px; }
button:disabled { opacity: .4; cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
input, select, textarea { font-family: inherit; font-size: 15px; background: var(--card); color: var(--text); border: 1px solid #334155; border-radius: 10px; padding: 10px; max-width: 100%; }
textarea { width: 100%; line-height: 1.6; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; }
.muted { color: var(--muted); }
.small-text { font-size: 13px; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.row > .grow { flex: 1; min-width: 0; }
.stack > * + * { margin-top: 12px; }
.big-num { font-family: 'Black Han Sans', sans-serif; font-variant-numeric: tabular-nums; line-height: 1; }
.hidden { display: none !important; }
.chip { display: inline-block; padding: 6px 12px; border-radius: 999px; background: #1e293b; font-size: 14px; border: 1px solid transparent; }
h2 { font-size: 24px; margin: 0 0 10px; }
h3 { font-size: 16px; margin: 0 0 8px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; }
th { color: var(--muted); font-weight: 400; }
.label { font-size: 13px; color: var(--muted); display: block; margin-bottom: 4px; }
.tabs { display: flex; gap: 6px; overflow-x: auto; }
.tabs button { flex: none; background: #1e293b; }
.tabs button.sel { background: var(--accent); }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
