/* BAGELJAM : CAMPUS application screen, existing brand; no submission endpoint. */
:root {
  --bg: #142840;
  --surface: #1c3450;
  --field: #10223a;
  --white: #ffffff;
  --text: #e4ecf5;
  --muted: #b8c8da;
  --line: #60758f;
  --rule: #3b506c;
  --orange: #f74b03;
  --orange-light: #ff9564;
  --button-ink: #251006;
  --focus: #ffc299;
  --sans: "IBM Plex Sans KR", "Apple SD Gothic Neo", sans-serif;
  --brand: "Bagel Fat One", sans-serif;
  --gap: 40px;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
html,
body {
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.7 var(--sans);
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}
::selection {
  background: var(--orange);
  color: var(--button-ink);
}
input,
textarea {
  caret-color: var(--orange-light);
}
[hidden] {
  display: none !important;
}
.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 40px;
}
.skip {
  position: absolute;
  left: 16px;
  top: 0;
  transform: translateY(-150%);
  z-index: 5;
  background: var(--orange);
  color: var(--button-ink);
  padding: 12px;
}
.skip:focus {
  transform: none;
}
header {
  border-bottom: 1px solid var(--rule);
}
.nav {
  min-height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.brand {
  font: 400 25px/1.15 var(--brand);
  color: var(--white);
  text-decoration: none;
}
.nav-link {
  font-size: 14px;
  white-space: nowrap;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 72px;
  align-items: start;
  padding-block: 64px 96px;
}
.identity {
  position: sticky;
  top: 40px;
  min-width: 0;
}
.identity-logo {
  font: 400 clamp(44px, 5.5vw, 68px)/1.04 var(--brand);
  color: var(--white);
  -webkit-text-stroke: 2px var(--orange);
  paint-order: stroke fill;
  margin: 0;
  letter-spacing: 0;
  overflow-wrap: break-word;
  min-width: 0;
}
.identity-logo span {
  display: block;
}
.tagline {
  font-size: 21px;
  line-height: 1.5;
  color: var(--white);
  margin: 20px 0 0;
}
.oven {
  display: block;
  width: 100%;
  height: auto;
  max-width: 350px;
  margin: 28px 0;
}
.facts {
  margin: 28px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
}
.facts div {
  margin: 0 0 20px;
}
.facts dt {
  font-size: 14px;
  color: var(--muted);
}
.facts dd {
  margin: 4px 0 0;
  color: var(--white);
  font-size: 17px;
}
.facts small {
  font-size: 14px;
  color: var(--muted);
}
h1 {
  font-size: 38px;
  line-height: 1.3;
  letter-spacing: -0.03em;
  color: var(--white);
  margin: 0;
}
h2,
legend {
  font-size: 23px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--white);
}
.intro {
  margin: 14px 0 24px;
  color: var(--muted);
}
.draft-note {
  background: var(--surface);
  padding: 18px 20px;
  font-size: 14px;
  line-height: 1.8;
}
.draft-note strong {
  display: block;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
}
form {
  margin-top: 40px;
  min-width: 0;
}
.form-section {
  border: 0;
  margin: 0;
  padding: 0 0 36px;
  min-width: 0;
}
.form-section + .form-section {
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}
legend {
  padding: 0;
  margin-bottom: 24px;
}
.section-heading {
  margin: 0 0 24px;
}
.optional {
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
}
.required {
  color: var(--orange-light);
  margin-left: 3px;
}
.required-guide {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 20px;
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.field {
  min-width: 0;
}
.full {
  grid-column: 1/-1;
}
label {
  display: block;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 9px;
}
.input {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  color: var(--white);
  font: 400 16px/1.5 var(--sans);
  padding: 12px 14px;
}
.input::placeholder {
  color: var(--muted);
  opacity: 1;
}
.input:hover {
  border-color: var(--muted);
}
textarea.input {
  min-height: 150px;
  resize: vertical;
  line-height: 1.8;
}
.helper {
  font-size: 13px;
  color: var(--muted);
  margin: 9px 0 0;
}
.choices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.choice {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  cursor: pointer;
}
.choice input {
  position: absolute;
  width: 20px;
  height: 20px;
  left: 16px;
  top: 19px;
  margin: 0;
  accent-color: var(--orange);
}
.choice span {
  display: block;
  padding: 16px 16px 16px 47px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--field);
  min-height: 58px;
  font-weight: 700;
}
.choice input:checked + span {
  border-color: var(--orange);
  background: var(--surface);
}
.choice input:focus-visible {
  outline: none;
}
.choice:has(input:focus-visible) {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
  border-radius: 6px;
}
.team-name {
  margin-top: 24px;
}
.team-member {
  margin-top: 28px;
}
.team-member h3 {
  font-size: 17px;
  color: var(--white);
  margin: 0 0 16px;
}
.count {
  display: block;
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
  font-variant-numeric: tabular-nums;
}
.submit-area {
  border-top: 1px solid var(--rule);
  padding-top: 28px;
}
.submit {
  display: block;
  width: 100%;
  min-height: 54px;
  padding: 14px 24px;
  font: 700 16px/1.5 var(--sans);
  border: 1px solid var(--orange);
  border-radius: 6px;
  background: var(--orange);
  color: var(--button-ink);
}
.submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.submit-note {
  font-size: 14px;
  color: var(--muted);
  margin: 12px 0 0;
}
.back {
  display: inline-block;
  margin-top: 24px;
  font-size: 14px;
}
footer {
  border-top: 1px solid var(--rule);
  padding-block: 24px;
  color: var(--muted);
  font-size: 13px;
}
footer p {
  margin: 0;
}
noscript p {
  padding: 16px;
  background: var(--surface);
}
@media (max-width: 900px) {
  .layout {
    gap: 40px;
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  }
  .identity-logo {
    font-size: 45px;
  }
  .tagline {
    font-size: 18px;
  }
  .field-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 700px) {
  .wrap {
    padding-inline: 20px;
  }
  .nav {
    min-height: 68px;
  }
  .brand {
    font-size: 21px;
  }
  .nav-link {
    font-size: 13px;
  }
  .layout {
    grid-template-columns: minmax(0, 1fr);
    padding-top: 32px;
    gap: 36px;
  }
  .identity {
    position: static;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--rule);
  }
  .identity-logo {
    font-size: 38px;
    line-height: 1.1;
    -webkit-text-stroke: 1.5px var(--orange);
  }
  .identity-logo span {
    display: inline;
  }
  .identity-logo span + span::before {
    content: " ";
  }
  .tagline {
    font-size: 18px;
    margin-top: 12px;
  }
  .oven {
    display: none;
  }
  .facts {
    border: 0;
    padding: 0;
    margin: 24px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
  }
  .facts div {
    margin: 0;
  }
  .facts dd {
    font-size: 15px;
  }
  .facts dt,
  .facts small {
    font-size: 13px;
  }
  h1 {
    font-size: 31px;
  }
  .intro {
    font-size: 15px;
  }
  .draft-note {
    padding: 16px;
  }
  form {
    margin-top: 32px;
  }
  .choices {
    gap: 8px;
  }
  .choice span {
    padding: 16px 8px 16px 34px;
    font-size: 15px;
  }
  .choice input {
    left: 10px;
    width: 17px;
    height: 17px;
    top: 21px;
  }
  .form-section + .form-section {
    padding-top: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
/* Team-building invitation and intake planning fields. */
.team-search {
  margin-top: 24px;
}
.check-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  cursor: pointer;
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}
.check-label input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  accent-color: var(--orange);
  margin: 4px 0 0;
}
.team-search .helper {
  margin-left: 29px;
}
.teamday-intro,
.idea-purpose {
  font-size: 15px;
  line-height: 1.8;
  color: var(--muted);
  margin: 0 0 20px;
}
.teamday-date {
  background: var(--surface);
  padding: 18px 20px;
  display: flex;
  gap: 6px 12px;
  flex-wrap: wrap;
  align-items: center;
}
.teamday-date > span:first-child {
  font-size: 14px;
  color: var(--muted);
  flex-basis: 100%;
}
.teamday-date strong {
  font-size: 20px;
  line-height: 1.5;
  color: var(--white);
}
.tentative {
  font-size: 13px;
  color: var(--orange-light);
}
.attendance {
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.attendance legend {
  font-size: 15px;
  font-weight: 400;
  margin-bottom: 10px;
}
@media (max-width: 700px) {
  .teamday-date {
    padding: 16px;
  }
  .teamday-date strong {
    font-size: 18px;
  }
}
.applicant-help {
  margin: -8px 0 24px;
}
.primary-applicant {
  font-size: 17px;
  color: var(--white);
  margin: 0 0 18px;
}
.member-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.member-heading h3 {
  margin: 0;
}
.team-member {
  padding-top: 28px;
  border-top: 1px solid var(--rule);
}
.add-member {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  margin-top: 28px;
  padding: 12px 20px;
  font: 700 15px/1.5 var(--sans);
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--orange-light);
  cursor: pointer;
}
.add-member:hover {
  background: var(--surface);
  border-color: var(--orange-light);
}
.remove-member {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  padding: 8px;
  font: 400 14px/1.5 var(--sans);
  color: var(--muted);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.remove-member:hover {
  color: var(--white);
}
/* Reserved space for the approved privacy notice; consent stays disabled until finalized. */
.privacy-document {
  min-height: 160px;
  max-height: 280px;
  overflow-y: auto;
  padding: 24px;
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
  scrollbar-color: var(--line) var(--field);
  scrollbar-width: thin;
}
.privacy-document p {
  margin: 0;
}
.privacy-document p + p {
  margin-top: 8px;
}
.privacy-document .privacy-pending {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.privacy-consent {
  margin-top: 20px;
  cursor: not-allowed;
}
.privacy-consent input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.privacy-consent span {
  color: var(--muted);
}
.privacy-consent .required {
  color: var(--orange-light);
}
@media (max-width: 700px) {
  .privacy-document {
    padding: 20px;
    min-height: 150px;
  }
}
.privacy-consent {
  cursor: pointer;
}
.privacy-consent > span {
  color: var(--text);
}
.identity-logo {
  font-size: clamp(32px, 4vw, 50px);
}
@media (max-width: 900px) {
  .identity-logo {
    font-size: 34px;
  }
}
@media (max-width: 700px) {
  .brand {
    font-size: 18px;
  }
  .identity-logo {
    font-size: clamp(32px, 9vw, 48px);
  }
  .identity-logo span {
    display: block;
  }
  .identity-logo span + span::before {
    content: none;
  }
}
.notice-text {
  white-space: pre-wrap;
}
.submit-note a {
  text-decoration: underline;
}
