:root {
  --bg: #f4f6f9;
  --card: #ffffff;
  --line: #e6e9ee;
  --txt: #1f2430;
  --muted: #6b7480;
  --accent: #2563eb;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 4px 16px rgba(16, 24, 40, 0.06);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Malgun Gothic", sans-serif;
  line-height: 1.6;
}

.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 44px 24px 90px;
}

header.hero {
  padding-bottom: 26px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

header.hero h1 {
  font-size: 24px;
  margin: 0 0 8px;
  font-weight: 750;
  letter-spacing: -0.01em;
}

header.hero .sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}

/* 비밀번호 게이트 */
#gate {
  max-width: 360px;
  margin: 120px auto;
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

#gate h2 {
  font-size: 16px;
  margin: 0 0 16px;
}

#gate input[type="password"],
#gate input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
}

#gate button {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

#gate .error {
  color: #dc2626;
  font-size: 12.5px;
  margin-top: 10px;
  display: none;
}

/* 리포트 카드 그리드 */
#reports {
  display: none;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.report-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  transition: transform 0.1s ease;
}

.report-card:hover {
  transform: translateY(-2px);
}

.report-card .title {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 8px;
  color: #141925;
}

.report-card .date {
  color: var(--muted);
  font-size: 12.5px;
  margin: 0 0 10px;
}

.report-card .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.report-card .tag {
  font-size: 11.5px;
  background: #eef2ff;
  color: var(--accent);
  border-radius: 6px;
  padding: 2px 8px;
}
