/* 홈 화면 전용 테마. style.css가 쓰는 CSS 변수만 다시 정의해서,
   같은 통계/진행률 표 컴포넌트가 자동으로 새 색으로 바뀌게 한다.
   input.html / admin.html은 이 파일을 불러오지 않으므로 원래 파란 테마 그대로 유지됨. */
:root {
  --ink: #241714;
  --quiet: #8a7b72;
  --line: #e3d9cc;
  --bg: #f7f2ec;
  --card: #fffdfa;
  --accent: #8c1133;
  --accent-soft: #f3dce1;
}

body { background: var(--bg); }

header.top { display: none; } /* 홈 화면은 아래 hero가 헤더 역할을 대신함 */

main { max-width: 760px; margin: 0 auto; padding: 48px 24px 64px; }

.hero { margin-bottom: 40px; }
.hero .mark { height: 28px; margin-bottom: 28px; }
.hero .title-ko { font-family: "Noto Serif KR", "Pretendard", serif; font-weight: 700; font-size: 32px; line-height: 1.3; margin: 0; }
.hero .title-sub { font-family: "Noto Serif KR", "Pretendard", serif; font-weight: 400; font-size: 17px; color: var(--quiet); margin: 10px 0 0; }
.hero .title-sub span { display: block; }
.hero .dday { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; align-items: baseline; gap: 14px; }
.hero .dday .n { font-family: "Noto Serif KR", serif; font-weight: 700; font-size: 44px; color: var(--accent); line-height: 1; }
.hero .dday .lab { font-size: 13px; color: var(--quiet); }

.intro { font-size: 13px; color: var(--quiet); margin: 0 0 18px; }

.ledger { border-top: 1px solid var(--line); margin-bottom: 36px; }
.ledger button.dept {
  all: unset;
  display: flex; justify-content: space-between; align-items: baseline;
  width: 100%; box-sizing: border-box;
  padding: 16px 2px; border-bottom: 1px solid var(--line);
  cursor: pointer; font: inherit; font-size: 16px; color: var(--ink);
}
.ledger button.dept:hover { background: var(--accent-soft); }
.ledger button.dept .ev { font-size: 13px; color: var(--quiet); }
.ledger button.dept.admin { color: var(--quiet); font-size: 14px; }

h3 { font-size: 14px; color: var(--quiet); font-weight: 600; margin: 0 0 10px; }

#home { overflow-x: auto; }
@media (max-width: 480px) {
  .hero .title-ko { font-size: 26px; }
  .hero .dday { flex-direction: column; align-items: flex-start; gap: 4px; }
}
