/* 마라톤 접수 사이트 — 스타일 한 파일. :root 가 토큰 층이다.
   컨셉: 아스팔트 + 트랙 레인 + 결승선 체커 + 배번(bib) 카드. 글자는 크고 굵게. */
:root {
  --asphalt: #0c0d10;
  --asphalt-2: #15171c;
  --lane: rgba(255, 255, 255, 0.14);
  --surface: #ffffff;
  --surface-2: #f3f4f6;
  --ink: #111318;
  --ink-2: #4a5160;
  --ink-3: #8a90a0;
  --line: #e3e5ea;
  --race: #ff3d00;          /* 레이스 레드오렌지 */
  --race-dark: #d93300;
  --lime: #d8ff3a;          /* 형광 라임 — 배번·강조 */
  --accent-ink: #ffffff;
  --ok: #1f9d55;
  --warn: #d98a00;
  --danger: #d6323a;
  --radius: 16px;
  --radius-sm: 8px;
  --max: 1120px;
  --z-nav: 100;
  --z-modal: 200;
  --z-toast: 300;
  --font: "Noto Sans KR", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  --display: "Black Han Sans", "Noto Sans KR", sans-serif;
  --num: "Bebas Neue", "Black Han Sans", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--surface-2); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0 0 0.4em; line-height: 1.2; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.hidden { display: none !important; }
.muted { color: var(--ink-3); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.mt { margin-top: 24px; }
.mb { margin-bottom: 24px; }
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.01em; }
.num { font-family: var(--num); font-weight: 400; letter-spacing: 0.04em; }

/* 결승선 체커 띠 — 섹션 경계에 쓴다 */
.checker {
  height: 14px;
  background:
    repeating-conic-gradient(#111 0 25%, #fff 0 50%) 0 0 / 28px 28px;
}

/* ---------- 헤더 ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-nav); background: var(--asphalt); color: #fff; border-bottom: 3px solid var(--race); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.brand { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.03em; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.brand .dot { width: 14px; height: 14px; background: var(--race); display: inline-block; transform: skewX(-12deg); }
.nav { display: flex; gap: 4px; align-items: center; }
.nav a, .nav button { background: none; border: 0; cursor: pointer; color: rgba(255,255,255,0.8); padding: 8px 12px; font-weight: 700; font-size: 0.95rem; border-bottom: 2px solid transparent; }
.nav a:hover, .nav button:hover { color: #fff; }
.nav a.active { color: var(--lime); border-bottom-color: var(--lime); }
.nav .btn { padding: 8px 16px; border-bottom: 0; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.6rem; cursor: pointer; }
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; background: var(--asphalt); flex-direction: column; align-items: stretch; padding: 10px 20px 16px; border-bottom: 3px solid var(--race); }
  .nav.open { display: flex; }
  .nav a, .nav button { text-align: left; padding: 12px; }
}

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px; border: 2px solid var(--race); background: var(--race); color: var(--accent-ink);
  font-weight: 800; cursor: pointer; white-space: nowrap; letter-spacing: 0.02em;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
  transition: background 0.15s ease, transform 0.08s ease;
}
.btn:hover { background: var(--race-dark); border-color: var(--race-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn.ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--ink); }
.btn.light:hover { background: var(--lime); border-color: var(--lime); }
.btn.lime { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.btn.lime:hover { background: #c6f000; border-color: #c6f000; }
.btn.danger { background: var(--danger); border-color: var(--danger); }
.btn.sm { padding: 8px 14px; font-size: 0.875rem; }
.btn.block { width: 100%; }
.btn.link { background: none; color: var(--race); padding: 0; border: 0; font-weight: 700; clip-path: none; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 히어로 ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% 0%, rgba(255, 61, 0, 0.45), transparent 60%),
    linear-gradient(180deg, var(--asphalt) 0%, var(--asphalt-2) 100%);
  padding: 72px 0 0;
}
/* 트랙 레인: 비스듬한 흰 줄 */
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.9;
  background: repeating-linear-gradient(115deg, transparent 0 110px, var(--lane) 110px 113px);
  mask-image: linear-gradient(180deg, transparent 20%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 20%, #000 100%);
}
.hero .wrap { position: relative; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--lime); font-weight: 800; letter-spacing: 0.14em; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 18px; }
.hero .eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--lime); }
.hero h1 { font-family: var(--display); font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1.02; margin-bottom: 20px; letter-spacing: 0.005em; }
.hero h1 em { font-style: normal; color: var(--race); }
.hero p.lead { font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 540px; }
.hero .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; padding-bottom: 72px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; gap: 36px; } }
.hero .checker { position: relative; }
/* 숫자 띠: 다음 대회까지 D-day 와 거리 */
.ticker { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px; }
.ticker div { border-left: 3px solid var(--race); padding-left: 12px; }
.ticker .k { font-size: 0.75rem; letter-spacing: 0.12em; color: rgba(255,255,255,0.6); font-weight: 700; text-transform: uppercase; }
.ticker .v { font-family: var(--num); font-size: 2.6rem; line-height: 1; color: #fff; }
.ticker .v small { font-size: 1.1rem; color: rgba(255,255,255,0.6); margin-left: 4px; }

/* 배번(bib) 카드 — 다음 대회 */
.bib {
  background: #fff; color: var(--ink); border-radius: 14px; padding: 22px 24px 24px; position: relative;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45); transform: rotate(-1.5deg);
}
.bib::before, .bib::after { content: ""; position: absolute; top: 14px; width: 10px; height: 10px; border-radius: 50%; background: var(--asphalt); box-shadow: inset 0 1px 2px rgba(0,0,0,0.6); }
.bib::before { left: 16px; } .bib::after { right: 16px; }
.bib .top { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.12em; color: var(--ink-3); text-transform: uppercase; }
.bib .top .pill { letter-spacing: 0; }
.bib .number { font-family: var(--num); font-size: clamp(5rem, 12vw, 7.5rem); line-height: 0.95; color: var(--ink); margin: 6px 0 2px; letter-spacing: 0.02em; }
.bib .number span { color: var(--race); }
.bib h3 { font-family: var(--display); font-size: 1.6rem; margin: 0 0 2px; }
.bib .meta { color: var(--ink-2); margin-bottom: 14px; font-weight: 600; }
.bib .pill-row { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.bib .stripe { height: 10px; margin: 0 -24px 18px; background: repeating-linear-gradient(90deg, var(--race) 0 40px, var(--ink) 40px 80px); }
.bib .btn { clip-path: none; }

/* ---------- 섹션 ---------- */
.section { padding: 64px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.section-head h2 { font-family: var(--display); font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.1; }
.section-head h2 .tag { display: block; font-family: var(--font); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; color: var(--race); text-transform: uppercase; margin-bottom: 6px; }
.section-head p { color: var(--ink-2); margin: 0; }
.section.dark { background: var(--asphalt); color: #fff; position: relative; overflow: hidden; }
.section.dark .section-head p { color: rgba(255,255,255,0.7); }
.section.dark .section-head h2 .tag { color: var(--lime); }

/* 대회 카드 — 티켓 */
.grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.card {
  background: var(--surface); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 2px 0 var(--line), 0 14px 34px rgba(17, 19, 24, 0.08); transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 0 var(--line), 0 22px 44px rgba(17, 19, 24, 0.14); }
.card .thumb { aspect-ratio: 16/8; position: relative; overflow: hidden; color: #fff;
  background:
    repeating-linear-gradient(115deg, transparent 0 60px, var(--lane) 60px 62px),
    linear-gradient(135deg, #1a1d24, #2a2f3a); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.card .thumb .date-badge { position: absolute; left: 16px; top: 16px; background: var(--lime); color: var(--ink); padding: 6px 10px; font-weight: 800; line-height: 1; text-align: center; font-size: 0.75rem; }
.card .thumb .date-badge b { display: block; font-family: var(--num); font-size: 2rem; letter-spacing: 0.02em; }
.card .thumb .dist { position: absolute; right: 16px; bottom: 14px; display: flex; gap: 6px; }
.card .thumb .dist span { font-family: var(--num); font-size: 1.5rem; letter-spacing: 0.03em; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.35); padding: 2px 10px; backdrop-filter: blur(4px); }
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card h3 { font-family: var(--display); font-size: 1.45rem; margin: 4px 0 0; }
.card .meta { color: var(--ink-2); font-size: 0.925rem; font-weight: 600; }
.card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 2px dashed var(--line); }
.card .foot .price { font-family: var(--num); font-size: 1.5rem; color: var(--ink); }
.card .foot .price small { font-family: var(--font); font-size: 0.75rem; color: var(--ink-3); font-weight: 700; margin-right: 4px; }
.card.past .thumb { filter: grayscale(0.4); }
.card.past .thumb .date-badge { background: #fff; }

.pill { display: inline-flex; align-items: center; padding: 4px 10px; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.04em; background: var(--surface-2); color: var(--ink-2); text-transform: uppercase; }
.pill.open { background: var(--lime); color: var(--ink); }
.pill.soon { background: #fff1e6; color: var(--race-dark); }
.pill.closed, .pill.ended { background: #e9ebef; color: var(--ink-3); }
.pill.pending { background: #fff4e0; color: var(--warn); }
.pill.paid { background: #e5f7ec; color: var(--ok); }
.pill.cancelled, .pill.refunded { background: #fdeaea; color: var(--danger); }
.pill.draft { background: #e9ecf5; color: #4458a8; }
.pill.light { background: rgba(255,255,255,0.14); color: #fff; }

/* 접수 절차: 트랙 위 km 마커 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; margin-top: 10px; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 26px; height: 4px; background: repeating-linear-gradient(90deg, var(--lane) 0 18px, transparent 18px 30px); }
.step { position: relative; padding: 0 22px 0 0; }
.step .num { width: 54px; height: 54px; border-radius: 50%; background: var(--race); color: #fff; font-family: var(--num); font-size: 1.6rem; display: grid; place-items: center; margin-bottom: 16px; border: 4px solid var(--asphalt); box-shadow: 0 0 0 3px var(--race); }
.step h3 { font-family: var(--display); font-size: 1.25rem; }
.step p { color: rgba(255,255,255,0.72); margin: 0; font-size: 0.95rem; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; } .steps::before { display: none; } }
@media (max-width: 460px) { .steps { grid-template-columns: 1fr; } }

.faq details { background: var(--surface); border-left: 4px solid var(--race); padding: 14px 18px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 800; }
.faq details p { margin: 10px 0 0; color: var(--ink-2); }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; }
.stat { background: var(--surface); border-left: 4px solid var(--race); padding: 14px 18px; }
.stat .k { color: var(--ink-3); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.stat .v { font-family: var(--num); font-size: 2.2rem; line-height: 1; margin-top: 4px; }

/* ---------- 대회 상세 ---------- */
.event-hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--asphalt), var(--asphalt-2)); color: #fff; padding: 56px 0 44px; }
.event-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(115deg, transparent 0 110px, var(--lane) 110px 113px); mask-image: linear-gradient(180deg, transparent 30%, #000); -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000); }
.event-hero .wrap { position: relative; }
.event-hero h1 { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; }
.event-hero .sub { color: rgba(255,255,255,0.75); font-size: 1.1rem; }
.event-hero .dists { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 6px; }
.event-hero .dists span { font-family: var(--num); font-size: 1.6rem; letter-spacing: 0.04em; background: var(--lime); color: var(--ink); padding: 2px 12px; }
.event-hero .facts { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 18px; }
.event-hero .facts div b { display: block; color: var(--lime); font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.event-hero .facts div { font-family: var(--num); font-size: 1.5rem; letter-spacing: 0.03em; }
.event-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; padding: 36px 0 72px; }
@media (max-width: 900px) { .event-layout { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 0 var(--line); }
.panel h2 { font-family: var(--display); font-size: 1.5rem; margin-bottom: 14px; }
.panel + .panel { margin-top: 20px; }
.prose { white-space: pre-line; color: var(--ink-2); }
.sticky { position: sticky; top: 84px; }
.course-list { display: flex; flex-direction: column; gap: 10px; }
.course { display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 2px solid var(--line); padding: 12px 14px; cursor: pointer; }
.course:has(input:checked) { border-color: var(--race); background: #fff4ef; }
.course input { accent-color: var(--race); }
.course .badge { font-family: var(--num); font-size: 1.5rem; letter-spacing: 0.03em; background: var(--ink); color: var(--lime); padding: 0 10px; min-width: 62px; text-align: center; line-height: 1.8; }
.course .name { font-weight: 800; }
.course .cap { color: var(--ink-3); font-size: 0.8rem; }
.course .price { font-family: var(--num); font-size: 1.5rem; white-space: nowrap; }
.course.soldout { opacity: 0.5; cursor: not-allowed; }
.course.soldout .badge { background: var(--ink-3); color: #fff; }

/* ---------- 폼 ---------- */
.form { display: flex; flex-direction: column; gap: 16px; }
.field label { display: block; font-weight: 800; font-size: 0.875rem; margin-bottom: 6px; }
.field label .req { color: var(--race); }
.field .help { color: var(--ink-3); font-size: 0.8rem; margin-top: 4px; }
.field .err { color: var(--danger); font-size: 0.82rem; margin-top: 4px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.input, input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]), select, textarea {
  width: 100%; padding: 12px 14px; border: 2px solid var(--line); border-radius: 0; background: #fff; outline: none; transition: border-color 0.15s ease; min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--ink); }
textarea { min-height: 110px; resize: vertical; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row > *, .field { min-width: 0; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.925rem; cursor: pointer; }
.check input { margin-top: 4px; accent-color: var(--race); }
.seg { display: flex; gap: 8px; }
.seg label { flex: 1; border: 2px solid var(--line); padding: 10px; text-align: center; cursor: pointer; font-weight: 800; }
.seg label:has(input:checked) { border-color: var(--ink); background: var(--ink); color: var(--lime); }
.seg input { display: none; }
.alert { padding: 12px 14px; font-size: 0.925rem; border-left: 4px solid currentColor; }
.alert.info { background: #eef3ff; color: #2e4aa8; }
.alert.warn { background: #fff4e0; color: #8a5a00; }
.alert.error { background: #fdeaea; color: var(--danger); }
.alert.ok { background: #e5f7ec; color: #176b3b; }
.auth-box { max-width: 480px; margin: 48px auto; }
.auth-box .panel { padding: 34px; }
.auth-box h1 { font-family: var(--display); font-size: 2rem; margin-bottom: 6px; }

/* ---------- 표 ---------- */
.table-wrap { overflow-x: auto; background: var(--surface); box-shadow: 0 2px 0 var(--line); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; font-size: 0.9rem; }
th, td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; vertical-align: middle; }
th { background: var(--ink); color: #fff; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; position: sticky; top: 0; }
tr:last-child td { border-bottom: 0; }
td .mini { width: auto; padding: 6px 8px; font-size: 0.85rem; }
td input.mini { width: 90px; }
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.toolbar input, .toolbar select { width: auto; min-width: 160px; padding: 9px 12px; }
.tabs { display: flex; gap: 2px; border-bottom: 3px solid var(--ink); margin-bottom: 22px; overflow-x: auto; }
.tabs button { background: none; border: 0; padding: 12px 16px; cursor: pointer; font-weight: 800; color: var(--ink-3); white-space: nowrap; }
.tabs button.active { color: #fff; background: var(--ink); }

/* ---------- 마이페이지 ---------- */
.reg-item { background: var(--surface); padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 12px; box-shadow: 0 2px 0 var(--line); border-radius: var(--radius); border-left: 6px solid var(--race); }
.reg-item h3 { font-family: var(--display); font-size: 1.4rem; margin-bottom: 2px; }
.reg-item .kv { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: 0.9rem; color: var(--ink-2); margin-top: 8px; }
.reg-item .kv b { color: var(--ink-3); font-weight: 700; }
.reg-item .side { text-align: right; display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.reg-item .regno { font-family: var(--num); font-size: 2.4rem; line-height: 1; color: var(--ink); }
.reg-item .regno small { font-family: var(--font); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--ink-3); display: block; }
@media (max-width: 560px) { .reg-item { grid-template-columns: 1fr; } .reg-item .side { align-items: flex-start; } }

/* ---------- 모달 / 토스트 ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(12,13,16,0.7); display: none; align-items: center; justify-content: center; z-index: var(--z-modal); padding: 20px; }
.modal-bg.on { display: flex; }
.modal { background: #fff; border-radius: 18px; width: min(760px, 100%); max-height: 90vh; overflow: auto; padding: 28px; border-top: 8px solid var(--race); }
.modal h2 { font-family: var(--display); font-size: 1.6rem; }
.modal .actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--ink); color: var(--lime); padding: 12px 20px; z-index: var(--z-toast); font-weight: 800; opacity: 0; transition: opacity 0.2s ease; pointer-events: none; max-width: calc(100% - 40px); }
.toast.on { opacity: 1; }

/* ---------- 푸터 ---------- */
.site-footer { background: var(--asphalt); color: rgba(255,255,255,0.6); padding: 44px 0; font-size: 0.875rem; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.site-footer .brand { font-size: 1.2rem; color: #fff; margin-bottom: 6px; }
.site-footer a { color: rgba(255,255,255,0.85); margin-right: 16px; font-weight: 700; }
.empty { text-align: center; color: var(--ink-3); padding: 44px 20px; background: var(--surface); border: 2px dashed var(--line); }
.skeleton { background: linear-gradient(90deg, #e9ebef 25%, #f6f7f9 50%, #e9ebef 75%); background-size: 200% 100%; animation: sk 1.2s infinite; min-height: 180px; }
@keyframes sk { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.course-editor { border: 2px solid var(--line); padding: 12px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr auto; gap: 8px; align-items: end; margin-bottom: 8px; }
@media (max-width: 700px) { .course-editor { grid-template-columns: 1fr 1fr; } }
.course-editor label { font-size: 0.72rem; color: var(--ink-3); font-weight: 800; display: block; margin-bottom: 4px; letter-spacing: 0.06em; text-transform: uppercase; }
