/* 무료 촬영 신청 게시판·개인정보 처리방침 (6차 기획안) — 랜딩(landing.css) 위에 얹는다 */
.ap-main { padding: 80px 0 120px; min-height: 70vh; }
.ap-title { margin: 0 0 10px; font-size: var(--t-h1); letter-spacing: -0.03em; line-height: 1.3; }
.ap-lead { margin: 0 0 20px; color: var(--text-sub); }
.ap-back { display: inline-block; margin-bottom: 16px; font-size: 14px; text-decoration: none; color: var(--text-sub); }
.ld-mobile-apply { color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; }

/* 목록 */
.ap-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 12px; flex-wrap: wrap; }
.ap-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.ap-tabs::-webkit-scrollbar { display: none; }
.ap-tabs a { flex: none; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text); text-decoration: none; font-size: 14px; background: var(--surface); }
.ap-tabs a[aria-current="page"] { background: var(--text); border-color: var(--text); color: #fff; font-weight: 600; }
.ap-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ap-list li { border-bottom: 1px solid var(--line); }
.ap-list a { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "type title status" "type meta status"; column-gap: 12px; align-items: center; padding: 14px 4px; color: var(--text); text-decoration: none; }
.ap-list .ap-type { grid-area: type; }
.ap-row-title { grid-area: title; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; display: flex; align-items: center; gap: 4px; }
.ap-row-title svg { flex: none; color: var(--text-mute); }
.ap-list .ap-meta { grid-area: meta; }
.ap-list .ap-status { grid-area: status; }
.ap-meta { margin: 0; font-size: var(--t-meta); color: var(--text-sub); }
.ap-type { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; background: var(--accent-soft); color: var(--accent); white-space: nowrap; }
.ap-type-dol { background: #FBEFE2; color: #8A4B12; }
.ap-type-wedding { background: #F6E8EE; color: #8E3557; }
.ap-type-family { background: #E8F0F8; color: #2E5683; }
.ap-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--paper-2); color: var(--text-sub); white-space: nowrap; }
.ap-st-contacted { background: #E8F0F8; color: #2E5683; }
.ap-st-confirmed { background: var(--accent); color: #fff; }
.ap-st-done { background: var(--text); color: #fff; }
.ap-st-canceled, .ap-st-closed { background: #EEE; color: #888; }
.ap-empty { padding: 40px 0; text-align: center; color: var(--text-sub); }
.ap-pager { margin-top: 20px; }
.ap-pager ul { list-style: none; display: flex; justify-content: center; gap: 4px; padding: 0; flex-wrap: wrap; }
.ap-pager a { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; text-decoration: none; color: var(--text); }
.ap-pager .active a { background: var(--text); color: #fff; }

/* 신청서 */
.ap-notice { margin: 0 0 20px; padding: 14px 16px 14px 32px; border-radius: 12px; background: var(--accent-soft); font-size: 15px; display: grid; gap: 4px; }
.ap-form { display: grid; gap: 16px; }
.ap-box { margin: 0; padding: 18px 16px; border: 0; border-radius: 14px; background: var(--surface); box-shadow: var(--shadow-print); display: grid; gap: 14px; }
.ap-box legend { float: left; width: 100%; margin: 0 0 4px; padding: 0; font-size: var(--t-h2); font-weight: 700; letter-spacing: -0.02em; }
.ap-box legend + * { clear: both; }
.ap-form em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--danger); margin-left: 4px; }
.ap-form .hint { margin: 0; font-size: 13px; font-weight: 400; color: var(--text-sub); }
.ap-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ap-type-card { position: relative; cursor: pointer; }
.ap-type-card input { position: absolute; opacity: 0; }
.ap-type-card span { display: flex; flex-direction: column; gap: 2px; min-height: 76px; padding: 12px; border: 2px solid var(--line); border-radius: 12px; background: var(--bg); }
.ap-type-card strong { font-size: 16px; }
.ap-type-card small { font-size: 12px; color: var(--text-sub); line-height: 1.4; }
.ap-type-card input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.ap-type-card input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.ap-type-card.is-off { opacity: .5; cursor: not-allowed; }
.ap-seg { display: flex; gap: 6px; }
.ap-seg label { flex: 1; position: relative; }
.ap-seg input { position: absolute; opacity: 0; }
.ap-seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; border: 1px solid var(--line-strong); border-radius: 10px; font-weight: 500; background: var(--surface); }
.ap-seg input:checked + span { border-color: var(--accent); background: var(--accent); color: #fff; font-weight: 600; }
.ap-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ap-file { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; border: 1px dashed var(--line-strong); border-radius: 10px; font-weight: 500; }
.ap-file input { max-width: 64%; font-size: 13px; }
.ap-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check-row { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 400; line-height: 1.5; }
.check-row input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--accent); }
.ap-terms { font-size: 14px; color: var(--text-sub); }
.ap-terms summary { cursor: pointer; font-weight: 600; color: var(--text); }
.ap-terms ul { margin: 8px 0 0; padding-left: 18px; }
.ap-closed { padding: 28px 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-print); text-align: center; }
.ap-closed p { margin: 0 0 8px; }

/* 글 보기·비밀번호 */
.ap-lock { padding: 32px 20px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-print); text-align: center; display: grid; gap: 10px; justify-items: center; }
.ap-lock svg { color: var(--text-mute); }
.ap-lock p { margin: 0; }
.ap-lock-form { display: flex; gap: 8px; width: 100%; max-width: 360px; }
.ap-lock-form .input { flex: 1; }
.ap-done { margin: 0 0 20px; padding: 22px 20px; border-radius: 16px; background: var(--accent); color: #fff; display: grid; gap: 6px; }
.ap-done h2 { margin: 0; font-size: 20px; }
.ap-done p { margin: 0; }
.ap-done .hint { color: rgba(255,255,255,.85); font-size: 14px; }
.ap-done .btn { justify-self: start; margin-top: 6px; }
.ap-article { padding: 20px 18px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-print); }
.ap-state { margin: 0 0 16px; font-size: 14px; color: var(--text-sub); display: flex; gap: 8px; align-items: center; }
.ap-reply { margin: 0 0 16px; padding: 12px 14px; border-left: 3px solid var(--accent); background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.ap-reply p { margin: 4px 0 0; }
.ap-dl { display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; margin: 0 0 16px; font-size: 15px; }
.ap-dl dt { color: var(--text-sub); }
.ap-dl dd { margin: 0; }
.ap-story { padding: 14px; border-radius: 10px; background: var(--bg); white-space: normal; }
.ap-actions { display: flex; gap: 8px; margin-top: 16px; }
.ap-cancel { color: var(--danger); }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 14px; margin: 0 0 12px; }
.alert-error { background: #FBEDED; color: var(--danger); }
.alert-ok { background: var(--accent-soft); color: var(--accent); }

/* 개인정보 처리방침 */
.ap-doc h2 { margin: 28px 0 8px; font-size: var(--t-h2); }
.ap-doc ul { padding-left: 20px; }
.ap-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ap-table th, .ap-table td { padding: 8px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.ap-table th { background: var(--paper-2); }

@media (min-width: 600px) {
  .ap-types { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ap-box { padding: 22px 24px; }
}
@media (min-width: 1024px) {
  .ap-main { padding-top: 40px; }
  .ld-mobile-apply { display: none; }
}
