@font-face {
  font-family: "Pretendard Variable";
  font-weight: 45 920;
  font-style: normal;
  font-display: swap;
  src: url("/assets/test-platform/fonts/PretendardVariable.woff2") format("woff2-variations");
}

.partnership-shell {
  --ink: #172033;
  --muted: #687287;
  --line: #dbe3eb;
  --paper: #f6f9fb;
  --white: #fff;
  --blue: #1479ca;
  --deep-blue: #0b4c82;
  --mint: #12a797;
  --danger: #bd2f3b;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(255,255,255,.7), rgba(246,249,251,.92)),
    repeating-linear-gradient(90deg, transparent 0, transparent 79px, rgba(20,121,202,.035) 80px);
  font-family: "Pretendard Variable", "Noto Sans KR", "Malgun Gothic", sans-serif;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

.partnership-shell, .partnership-shell * { box-sizing: border-box; }
.partnership-shell button, .partnership-shell input, .partnership-shell textarea { font: inherit; letter-spacing: 0; }
.partnership-shell button, .partnership-shell a { -webkit-tap-highlight-color: transparent; }
.partnership-shell a { color: inherit; text-decoration: none; }
body.modal-open { overflow: hidden; }

.partnership-topbar {
  width: min(1240px, calc(100% - 48px));
  height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23,32,51,.12);
}
.partnership-brand { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 760; }
.partnership-brand-mark {
  width: 28px;
  height: 28px;
  display: block;
  background: linear-gradient(135deg, var(--blue) 0 48%, var(--mint) 49% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 68%, 68% 68%, 68% 100%, 0 100%);
}
.partnership-top-actions { display: flex; align-items: center; gap: 20px; }
.admin-state {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid #9bd3ca;
  border-radius: 4px;
  color: #08786c;
  background: #effbf8;
  font-size: 12px;
  font-weight: 750;
}
.home-link, .back-link { color: #4f5b70; font-size: 14px; font-weight: 650; }
.home-link:hover, .back-link:hover { color: var(--blue); }

.partnership-page { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 76px 0 110px; }
.partnership-intro {
  position: relative;
  min-height: 290px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding: 52px 60px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(102deg, rgba(8,55,94,.98) 0%, rgba(12,78,128,.92) 48%, rgba(18,167,151,.78) 100%),
    url("/assets/test-platform/travel-card-bg.png") center 58% / cover no-repeat;
  border-radius: 6px;
}
.partnership-intro::after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -115px;
  top: -185px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.04), 0 0 0 84px rgba(255,255,255,.035);
}
.intro-copy, .request-button { position: relative; z-index: 1; }
.intro-copy { min-width: 0; }
.intro-kicker { display: block; margin-bottom: 18px; color: #79f0df; font-size: 12px; font-weight: 820; letter-spacing: .14em; }
.intro-copy h1 { margin: 0; font-size: clamp(34px, 4.1vw, 57px); line-height: 1.13; font-weight: 830; }
.intro-copy p { margin: 22px 0 0; color: rgba(255,255,255,.76); font-size: 16px; line-height: 1.65; }
.request-button {
  width: 244px;
  min-height: 72px;
  flex: 0 0 auto;
  padding: 0 16px 0 25px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #103a56;
  background: linear-gradient(135deg, #fff2a6 0%, #ffd75a 56%, #ffc93d 100%);
  box-shadow: 0 0 0 5px rgba(255,211,77,.16), 0 20px 46px rgba(0,25,48,.28);
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.request-button span {
  color: #082f4b;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
}
.request-button:hover {
  transform: translateY(-4px) scale(1.015);
  filter: saturate(1.08);
  box-shadow: 0 0 0 7px rgba(255,211,77,.2), 0 26px 54px rgba(0,25,48,.34);
}
.request-button:active { transform: translateY(-1px) scale(.99); }
.request-button:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.request-button svg {
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 50%;
  color: #fff;
  background: #0b4c82;
  box-shadow: 0 7px 16px rgba(7,54,90,.25);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  transition: transform .2s ease, background-color .2s ease;
}
.request-button:hover svg { transform: translateX(3px); background: #083d69; }

.notice-message { margin: 24px 0 -2px; padding: 14px 18px; border-radius: 4px; font-size: 14px; font-weight: 650; }
.notice-message.success { color: #08786c; background: #e8f8f4; border: 1px solid #a8ddd4; }
.notice-message.error { color: #9d2631; background: #fff1f2; border: 1px solid #edbac0; }
.admin-session-status { width: fit-content; margin-top: 20px; padding: 8px 11px; display: flex; align-items: center; gap: 7px; border: 1px solid #b8d8d1; border-radius: 4px; color: #08786c; background: #effaf7; font-size: 12px; }
.admin-session-status strong { font-weight: 760; }
.admin-session-dot { width: 7px; height: 7px; border-radius: 50%; background: #13a38f; box-shadow: 0 0 0 3px rgba(19,163,143,.12); }

.request-board { margin-top: 64px; }
.board-heading { margin-bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.board-heading > div { display: flex; align-items: baseline; gap: 13px; }
.section-number { color: var(--blue); font-size: 12px; font-weight: 850; }
.board-heading h2 { margin: 0; font-size: 27px; font-weight: 800; }
.board-heading p { margin: 0 0 3px; color: var(--muted); font-size: 13px; }
.request-list { border-top: 2px solid var(--ink); border-bottom: 1px solid var(--ink); background: rgba(255,255,255,.75); }
.request-row {
  min-height: 70px;
  padding: 0 22px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 130px 90px 24px;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}
.request-list.public .request-row { grid-template-columns: 90px minmax(0, 1fr) 130px 24px; }
.request-row:last-child { border-bottom: 0; }
.request-row-head { min-height: 48px; color: #738094; background: #f2f5f8; font-size: 12px; font-weight: 700; }
.request-row strong { min-width: 0; overflow: hidden; color: #253047; font-size: 15px; font-weight: 690; text-overflow: ellipsis; white-space: nowrap; }
.request-row:not(.request-row-head):not(.masked) { transition: color .18s ease, background .18s ease; }
.request-row:not(.request-row-head):not(.masked):hover { color: var(--blue); background: #f5faff; }
.request-row:not(.request-row-head):not(.masked):hover strong { color: var(--blue); }
.request-number, .request-contact, .request-row time { color: #788397; font-size: 13px; }
.request-row time { white-space: nowrap; }
.row-arrow { color: #a0aab8; text-align: right; }
.masked .row-arrow { visibility: hidden; }
.empty-state { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; }
.empty-state strong { font-size: 16px; }
.empty-state span { color: var(--muted); font-size: 13px; }
.pagination { margin-top: 28px; display: flex; justify-content: center; gap: 6px; }
.pagination a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); color: #667187; background: #fff; font-size: 13px; }
.pagination a.current { border-color: var(--ink); color: #fff; background: var(--ink); }

.request-modal[hidden] { display: none; }
.request-modal { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; padding: 24px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(10,20,35,.68); backdrop-filter: blur(5px); }
.modal-panel {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 42px 48px 46px;
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 35px 90px rgba(0,17,34,.32);
}
.modal-close { position: absolute; top: 18px; right: 20px; width: 38px; height: 38px; border: 0; color: #6a7485; background: transparent; cursor: pointer; font-size: 29px; line-height: 1; }
.modal-heading { padding-right: 40px; }
.modal-heading > span, .detail-heading > div > span { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .13em; }
.modal-heading h2 { margin: 8px 0 0; font-size: 32px; font-weight: 830; }
.modal-heading p { margin: 9px 0 0; color: var(--muted); font-size: 14px; }
.request-form, .detail-form { margin-top: 32px; display: grid; gap: 20px; }
.request-form label, .detail-form label { display: grid; gap: 9px; }
.request-form label > span:first-child, .detail-form label > span:first-child { color: #39445a; font-size: 13px; font-weight: 720; }
.request-form label b, .consent-row b { color: var(--blue); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type="text"], input[type="tel"], textarea {
  width: 100%;
  border: 1px solid #ced7e0;
  border-radius: 4px;
  outline: 0;
  color: var(--ink);
  background: #fbfcfd;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
input[type="text"], input[type="tel"] { height: 48px; padding: 0 14px; }
textarea { min-height: 150px; padding: 14px; resize: vertical; line-height: 1.65; }
input[type="text"]:focus, input[type="tel"]:focus, textarea:focus { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 3px rgba(20,121,202,.1); }
input[type="tel"][aria-invalid="true"] { border-color: #c93b48; background: #fff8f8; box-shadow: 0 0 0 3px rgba(201,59,72,.08); }
.field-guide, .field-error { min-height: 15px; font-size: 11px; line-height: 1.35; }
.field-guide { color: #788397; }
.field-error:empty { display: none; }
.field-error { color: #b52e3a; font-weight: 650; }
.trap-field { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.upload-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.upload-box {
  position: relative;
  min-height: 84px;
  padding: 16px;
  display: flex !important;
  grid-template-columns: none !important;
  flex-direction: row !important;
  align-items: center;
  gap: 13px !important;
  border: 1px dashed #b9c6d3;
  border-radius: 4px;
  background: #f8fafc;
  cursor: pointer;
}
.upload-box:hover { border-color: var(--blue); background: #f2f8fd; }
.upload-box input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.upload-box svg { width: 25px; flex: 0 0 auto; fill: none; stroke: var(--blue); stroke-width: 1.6; }
.upload-box > span { min-width: 0; display: grid; gap: 3px; }
.upload-box strong { color: #39445a; font-size: 13px; }
.upload-box small { overflow: hidden; color: #818b9b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.selected-files { display: flex; flex-wrap: wrap; gap: 6px; }
.selected-files span { max-width: 100%; padding: 6px 9px; overflow: hidden; border-radius: 3px; color: #4d596d; background: #edf2f6; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.upload-limit { margin: -8px 0 0; color: #788397; font-size: 11px; line-height: 1.4; }
.upload-error:empty { display: none; }
.upload-error { margin-top: -8px; padding: 10px 12px; border: 1px solid #edbac0; border-radius: 4px; color: #a92734; background: #fff3f4; font-size: 12px; font-weight: 650; line-height: 1.45; }
.modal-notice { margin: 18px 0 -10px; }
.attachment-readonly { margin: 14px 0 0; padding: 11px 13px; border-left: 3px solid #8da4b8; color: #58677a; background: #f3f6f8; font-size: 12px; line-height: 1.5; }
.consent-row { display: flex !important; grid-template-columns: none !important; align-items: flex-start; gap: 9px !important; color: #596579; font-size: 12px; line-height: 1.5; }
.consent-row input { margin: 2px 0 0; accent-color: var(--blue); }
.submit-button, .save-button {
  min-height: 54px;
  border: 0;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  color: #fff;
  background: var(--ink);
  cursor: pointer;
  font-weight: 760;
}
.submit-button:hover, .save-button:hover { background: var(--deep-blue); }

.partnership-shell.detail-body { background: #f3f6f8; }
.detail-page { width: min(920px, calc(100% - 48px)); margin: 0 auto; padding: 54px 0 100px; }
.detail-heading { margin: 34px 0 20px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.detail-heading h1 { margin: 7px 0 0; font-size: 32px; }
.detail-heading time { color: var(--muted); font-size: 13px; }
.detail-form { padding: 34px; border-top: 3px solid var(--ink); background: #fff; box-shadow: 0 12px 35px rgba(37,49,68,.07); }
.attachment-section { margin-top: 8px; padding-top: 28px; border-top: 1px solid var(--line); }
.attachment-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.attachment-heading h2 { margin: 0; font-size: 18px; }
.attachment-heading span { color: var(--muted); font-size: 12px; }
.attachment-list { margin: 14px 0; display: grid; gap: 8px; }
.attachment-item { min-height: 64px; padding: 8px 12px; display: grid !important; grid-template-columns: 48px minmax(0,1fr) auto auto !important; align-items: center; gap: 12px !important; border: 1px solid var(--line); border-radius: 4px; }
.attachment-item img { width: 48px; height: 48px; object-fit: cover; border-radius: 3px; }
.file-badge { width: 48px; height: 48px; display: grid; place-items: center; color: var(--blue); background: #eaf5fd; font-size: 10px; font-weight: 850; }
.attachment-name { min-width: 0; display: grid; gap: 3px; }
.attachment-name strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.attachment-name small, .attachment-item a, .remove-check { color: var(--muted); font-size: 11px; }
.attachment-item a { color: var(--blue); font-weight: 700; }
.remove-check { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.no-attachment { margin: 0; padding: 20px; color: var(--muted); background: #f7f9fb; text-align: center; font-size: 12px; }
.upload-grid.compact { margin-top: 12px; }
.upload-grid.compact .upload-box { min-height: 66px; }
.detail-actions { display: flex; justify-content: flex-end; }
.save-button { min-width: 180px; justify-content: center; }
.delete-form { margin-top: 18px; text-align: right; }
.delete-form button { border: 0; color: var(--danger); background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; }

@media (max-width: 760px) {
  .partnership-shell { width: 100vw; max-width: 100vw; overflow-x: hidden; }
  .partnership-topbar { width: calc(100vw - 32px); height: 64px; }
  .partnership-brand { max-width: 60%; font-size: 14px; }
  .partnership-brand span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .home-link { display: none; }
  .partnership-page { width: calc(100vw - 32px); padding: 28px 0 70px; }
  .partnership-intro { width: 100%; max-width: 100%; min-width: 0; min-height: 360px; padding: 34px 28px; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 28px; }
  .intro-copy { width: 100%; }
  .intro-copy h1 { font-size: 31px; word-break: keep-all; }
  .intro-copy p { font-size: 14px; word-break: keep-all; }
  .request-button { width: 100%; min-height: 68px; }
  .request-button span { font-size: 19px; }
  .request-board { margin-top: 44px; }
  .board-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .board-heading h2 { font-size: 23px; }
  .board-heading p { font-size: 12px; }
  .request-row { min-height: 68px; padding: 0 12px; grid-template-columns: 45px minmax(0,1fr) 78px 18px; gap: 9px; }
  .request-list.public .request-row { grid-template-columns: 45px minmax(0,1fr) 78px 18px; }
  .request-row-head { min-height: 42px; }
  .request-list.admin .request-row-head span:nth-child(3), .request-contact { display: none; }
  .request-row strong { font-size: 14px; }
  .request-number, .request-row time { font-size: 11px; }
  .modal-panel { padding: 35px 22px 28px; }
  .modal-heading h2 { font-size: 28px; }
  .form-grid, .upload-grid { grid-template-columns: 1fr; }
  .upload-box { min-height: 72px; }
  .detail-page { width: calc(100% - 32px); padding: 36px 0 70px; }
  .detail-heading { align-items: flex-start; flex-direction: column; }
  .detail-form { padding: 24px 18px; }
  .attachment-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .attachment-item { grid-template-columns: 42px minmax(0,1fr) auto !important; }
  .attachment-item img, .file-badge { width: 42px; height: 42px; }
  .remove-check { grid-column: 2 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .request-button:hover, .request-button:active { transform: none; }
}
