* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: #f4f5f7;
  color: #1b1f24;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 20px 48px;
}

.page-header h1 {
  margin: 0 0 8px;
  font-size: 28px;
}

.subtitle {
  margin: 0 0 24px;
  color: #4f5762;
}

.announcement {
  background: #fff8e1;
  border: 1px solid #ffeeba;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 8px;
}

.announcement h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #856404;
  display: flex;
  align-items: center;
  gap: 6px;
}

.anno-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.anno-list li {
  font-size: 14px;
  color: #533f03;
  line-height: 1.5;
}

.highlight {
  display: inline-block;
  font-weight: 700;
  color: #b91c1c;
  margin-left: 4px;
  font-size: 0.95em;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  margin-top: 20px;
  box-shadow: 0 10px 24px rgba(15, 20, 34, 0.08);
}

.card.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

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

.field {
  display: block;
  margin-bottom: 16px;
}

.label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

select,
input,
textarea,
button {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #d4d7dc;
  font-size: 14px;
}

textarea {
  resize: vertical;
}

.date-card {
  border: 1px solid #e0e3e8;
  border-radius: 12px;
  padding: 16px;
  background: #fff;
}

.date-header {
  font-size: 16px;
  font-weight: 700;
  color: #1b1f24;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f1f3f5;
}

.time-buttons {
  display: flex;
  gap: 8px;
}

.time-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  border: 1px solid #d4d7dc;
  border-radius: 8px;
  background: #fff;
  color: #4f5762;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.time-btn.active {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
}

.time-btn:hover:not(.active) {
  background: #f8f9fa;
  border-color: #c1c7d0;
}

.progress-section {
  margin-bottom: 24px;
}

.progress-bar-bg {
  height: 10px;
  background: #e0e3e8;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}

.progress-bar-fill {
  height: 100%;
  background: #22c55e;
  border-radius: 999px;
  width: 0%;
  transition: width 0.4s ease;
}

.progress-text {
  font-size: 14px;
  color: #4f5762;
  text-align: right;
  font-weight: 500;
}

.pending-badge {
  color: #e11d48;
  background: #ffe4e6;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button {
  cursor: pointer;
  background: #fff;
}

button.primary {
  background: #2563eb;
  color: #fff;
  border: none;
}

.pill-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-list li {
  background: #f1f5f9;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
}

.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-list li {
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 10px;
  background: #fbfcfe;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.summary-card {
  border: 1px solid #e6e9ee;
  border-radius: 12px;
  padding: 12px;
  background: #fcfcff;
}

.summary-card h3 {
  margin: 0 0 8px;
  font-size: 15px;
}

.summary-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.summary-card li {
  background: #eef2ff;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 12px;
}

@media (max-width: 640px) {
  .actions {
    flex-direction: column;
  }
}
