@font-face {
  font-family: "Pretendard";
  src: url("../../assets/fonts/pretendard/PretendardVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #f8f8f8;
  --line: #e5e5e5;
  --line-strong: #d0d0d0;
  --text-1: #0f0f0f;
  --text-2: #606060;
  --accent: #065fd4;
  --focus: #1967d2;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  color: var(--text-1);
  font-family: "Pretendard", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

.page-glow {
  display: none;
}

.layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 216px minmax(0, 1fr) 320px;
}

.side-nav {
  border-right: 1px solid var(--line);
  background: var(--surface);
  padding: 18px 12px;
}

.brand-block {
  display: block;
  text-decoration: none;
  padding: 8px 6px;
}

.brand-eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #909090;
}

.brand-title {
  margin: 6px 0 0;
  font-size: 20px;
  font-weight: 780;
}

.side-nav-links {
  margin-top: 18px;
  display: grid;
  gap: 4px;
}

.side-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  text-decoration: none;
  color: var(--text-2);
  font-weight: 600;
  padding: 0 8px;
}

.side-nav-link:hover {
  background: var(--surface-alt);
  color: var(--text-1);
}

.side-nav-link.is-active {
  background: #f1f1f1;
  color: var(--text-1);
}

.shell {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  padding: 18px 20px 28px;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
  padding: 6px 2px 16px;
  border-bottom: 1px solid var(--line);
}

.top-kicker {
  margin: 0;
  color: #6d6d6d;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

h1 {
  margin: 8px 0 0;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.top-subtitle {
  margin: 10px 0 0;
  color: var(--text-2);
  line-height: 1.55;
  max-width: 760px;
}

.home-link {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--accent);
  font-weight: 700;
  font-size: 13px;
  border-bottom: 1px solid transparent;
}

.home-link:hover {
  border-color: currentColor;
}

.apply-main {
  margin-top: 16px;
  display: grid;
  gap: 14px;
}

.panel {
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 14px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
}

.section-head p {
  margin: 8px 0 0;
  color: var(--text-2);
  line-height: 1.5;
}

.track-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.track-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  text-align: left;
  color: #4a4a4a;
  padding: 12px;
  cursor: pointer;
}

.track-card strong {
  font-size: 17px;
  color: var(--text-1);
}

.track-card span {
  line-height: 1.45;
  font-size: 14px;
}

.track-card.is-selected {
  border-color: #0f0f0f;
  background: #0f0f0f;
  color: #f1f1f1;
}

.track-card.is-selected strong {
  color: #ffffff;
}

.inline-note {
  margin: 12px 0 0;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: #484848;
  padding: 4px 10px;
  font-size: 13px;
  font-weight: 700;
}

.preview-form {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.preview-form label,
.schedule-grid label {
  display: grid;
  gap: 8px;
  color: #4b4b4b;
  font-size: 13px;
  font-weight: 600;
}

.preview-form textarea,
.preview-form label:last-of-type {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text-1);
  padding: 9px 10px;
}

textarea {
  resize: vertical;
  min-height: 90px;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(25, 103, 210, 0.22);
  outline-offset: 1px;
}

.preview-submit {
  grid-column: 1 / -1;
  min-height: 42px;
  border: 1px solid #0f0f0f;
  background: #0f0f0f;
  color: #ffffff;
  font-weight: 760;
  cursor: pointer;
}

.preview-submit:hover {
  background: #252525;
}

.schedule-grid {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 8px;
  color: #4b4b4b;
  font-size: 13px;
  font-weight: 600;
}

.day-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.day-chip {
  min-height: 34px;
  min-width: 40px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: #444;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
}

.day-chip.is-on {
  border-color: #0f0f0f;
  background: #0f0f0f;
  color: #ffffff;
}

.slot-head {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.slot-head h3 {
  margin: 0;
  font-size: 18px;
}

.ghost-btn {
  min-height: 34px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: #474747;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
}

.ghost-btn:hover {
  border-color: #a4a4a4;
}

.slot-list {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.slot-btn {
  text-align: left;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: #4f4f4f;
  padding: 10px;
  cursor: pointer;
}

.slot-btn strong {
  display: block;
  color: var(--text-1);
  font-size: 15px;
}

.slot-btn span {
  font-size: 12px;
}

.slot-btn.is-selected {
  border-color: #0f0f0f;
  background: #0f0f0f;
  color: #f1f1f1;
}

.slot-btn.is-selected strong {
  color: #ffffff;
}

.contact-panel {
  border-left: 1px solid var(--line);
  padding: 18px 14px;
  background: #ffffff;
}

.contact-card {
  position: sticky;
  top: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  padding: 14px;
}

.contact-kicker {
  margin: 0;
  color: #6d6d6d;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}

.contact-card h2 {
  margin: 8px 0 0;
  font-size: 24px;
  line-height: 1.25;
}

.contact-card p {
  margin: 10px 0 0;
  color: var(--text-2);
  line-height: 1.55;
}

.contact-link {
  margin-top: 12px;
  display: block;
  border: 1px solid var(--line);
  text-decoration: none;
  color: var(--accent);
  font-size: 18px;
  font-weight: 760;
  padding: 10px;
}

.contact-link:hover {
  background: var(--surface-alt);
}

.status-note {
  margin-top: 14px;
  border: 1px solid var(--line);
  background: var(--surface-alt);
  color: #4a4a4a;
  padding: 10px;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1280px) {
  .layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .contact-panel {
    grid-column: 1 / -1;
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 0 18px 18px;
  }

  .contact-card {
    position: static;
  }
}

@media (max-width: 920px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .side-nav {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 10px 12px;
    display: grid;
    gap: 8px;
  }

  .side-nav-links {
    margin-top: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .side-nav-link {
    justify-content: center;
  }

  .top-bar {
    flex-direction: column;
  }

  .preview-form,
  .slot-list,
  .track-grid {
    grid-template-columns: 1fr;
  }

  .shell {
    padding: 14px;
  }

  .contact-panel {
    padding: 0 14px 14px;
  }

  .contact-card h2 {
    font-size: 22px;
  }
}
