/* 고객센터·약관 화면(2026-11-09, 시안 guardian_support_center_20261109) */
:root {
  --sp-ink: #0f172a; --sp-text: #334155; --sp-muted: #64748b; --sp-faint: #94a3b8;
  --sp-line: #e9edf2; --sp-line-strong: #d8dee6; --sp-blue: #2455dc; --sp-blue-soft: #eef3ff;
  --sp-green: #0f9f6e; --sp-green-soft: #e9f8f1; --sp-amber: #b45309; --sp-amber-soft: #fff6e5;
  --sp-red: #d63b3b; --sp-red-soft: #fdeeee;
}
* { box-sizing: border-box; }
/* display를 준 요소에도 hidden이 먹게 한다. */
body.support-page [hidden] { display: none !important; }
body.support-page { margin: 0; background: #fff; color: var(--sp-ink); font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
.support-top { display: flex; align-items: center; gap: 20px; min-height: 56px; padding: 0 max(24px, calc((100% - 1680px) / 2)); border-bottom: 1px solid #e2e8f0; background: rgba(255, 255, 255, .92); }
.support-top a { color: var(--sp-ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.support-top .site-logo { display: inline-flex; align-items: center; flex: 0 0 auto; line-height: 1; }
.support-top .site-logo img { display: block; width: 170px; height: 38px; object-fit: contain; }
.support-top .grow { flex: 1; }
.support-main { width: min(1680px, calc(100% - 48px)); max-width: none; margin: 0 auto; padding: 28px 0 48px; }
.support-view { width: 100%; }
.support-main[hidden], .support-view[hidden] { display: none; }
.sp-title { font-size: 24px; font-weight: 800; letter-spacing: -.02em; margin: 4px 0; line-height: 1.3; }
.sp-lead { color: var(--sp-muted); font-size: 13px; line-height: 1.6; margin: 2px 0 0; }
.sp-sec { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 10px; }
.sp-sec h2 { margin: 0; font-size: 15px; }
.sp-btn { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 48px; border-radius: 8px; font: inherit; font-size: 15px; font-weight: 800; background: var(--sp-blue); color: #fff; border: 1px solid var(--sp-blue); cursor: pointer; text-decoration: none; }
.sp-btn:disabled { background: #e2e8f0; border-color: #e2e8f0; color: var(--sp-faint); cursor: default; }
.sp-btn.ghost { background: #fff; color: var(--sp-ink); border-color: var(--sp-line-strong); }
.sp-group { border: 1px solid var(--sp-line); border-radius: 12px; overflow: hidden; }
.sp-row { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px; border: 0; background: #fff; color: var(--sp-ink); font: inherit; font-size: 15px; font-weight: 600; text-align: left; text-decoration: none; cursor: pointer; }
.sp-row + .sp-row { border-top: 1px solid var(--sp-line); }
.sp-row .ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: #f1f5f9; color: var(--sp-text); flex: none; }
.sp-row .ic.blue { background: var(--sp-blue-soft); color: var(--sp-blue); }
.sp-row .grow { flex: 1; min-width: 0; }
.sp-row small { display: block; color: var(--sp-muted); font-size: 12px; font-weight: 400; margin-top: 2px; }
.sp-row .chev { color: var(--sp-faint); }
.sp-ic { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sp-chip { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; white-space: nowrap; }
.sp-chip.ok { background: var(--sp-green-soft); color: var(--sp-green); }
.sp-chip.amber { background: var(--sp-amber-soft); color: var(--sp-amber); }
.sp-chip.info { background: #f1f5f9; color: var(--sp-text); }
.sp-chip.new { background: var(--sp-blue-soft); color: var(--sp-blue); }
.sp-callout { border-radius: 14px; padding: 10px 12px; font-size: 12.5px; line-height: 1.55; margin-top: 10px; }
.sp-callout.amber { background: var(--sp-amber-soft); color: #7a4a00; }
.sp-callout.blue { background: var(--sp-blue-soft); color: #1e3a8a; }
.sp-callout.red { background: var(--sp-red-soft); color: #7a271a; }
.sp-label { display: block; font-size: 13px; font-weight: 800; margin: 16px 0 8px; }
.sp-label em { font-style: normal; color: var(--sp-red); }
.sp-label span { color: var(--sp-muted); font-weight: 400; }
.sp-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-pills button { border: 1px solid var(--sp-line-strong); background: #fff; border-radius: 999px; padding: 7px 12px; font: inherit; font-size: 13px; font-weight: 700; color: var(--sp-text); cursor: pointer; }
.sp-pills button.on { background: var(--sp-ink); color: #fff; border-color: var(--sp-ink); }
.sp-input { display: block; width: 100%; border: 1px solid var(--sp-line-strong); border-radius: 12px; padding: 12px; font: inherit; font-size: 15px; color: var(--sp-ink); background: #fff; }
textarea.sp-input { min-height: 132px; resize: vertical; line-height: 1.6; }
.sp-count { text-align: right; font-size: 11px; color: var(--sp-faint); margin-top: 4px; }
.sp-attach { display: flex; gap: 8px; flex-wrap: wrap; }
.sp-slot { position: relative; width: 64px; height: 64px; border-radius: 12px; border: 1px dashed var(--sp-line-strong); display: grid; place-items: center; color: var(--sp-faint); background: #fff; cursor: pointer; overflow: visible; padding: 0; }
.sp-slot img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.sp-slot .x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 10px; border: 0; background: var(--sp-ink); color: #fff; font-size: 12px; line-height: 20px; cursor: pointer; padding: 0; }
.sp-check { display: flex; gap: 10px; align-items: flex-start; border: 1px solid var(--sp-line); border-radius: 14px; padding: 12px; font-size: 12.5px; color: var(--sp-text); line-height: 1.55; margin-top: 16px; cursor: pointer; }
.sp-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--sp-blue); }
.sp-check a { color: var(--sp-blue); font-weight: 700; }
.sp-footer { margin-top: 18px; }
.sp-footer p { font-size: 11.5px; color: var(--sp-muted); text-align: center; margin: 0 0 8px; }
.sp-status { font-size: 13px; margin: 10px 0 0; color: var(--sp-green); }
.sp-status.error { color: var(--sp-red); }
.sp-ticket { display: block; width: 100%; text-align: left; border: 1px solid var(--sp-line); border-radius: 16px; padding: 12px 14px; background: #fff; font: inherit; color: var(--sp-ink); cursor: pointer; }
.sp-ticket + .sp-ticket { margin-top: 8px; }
.sp-ticket.head { background: #f8fafc; border-color: #f1f5f9; cursor: default; }
.sp-ticket .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.sp-ticket b { font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-ticket p { margin: 6px 0 0; font-size: 12.5px; color: var(--sp-muted); line-height: 1.5; }
.sp-empty { text-align: center; color: var(--sp-muted); font-size: 13px; padding: 28px 0; }
.sp-who { font-size: 11px; color: var(--sp-muted); margin-top: 12px; }
.sp-who.me { text-align: right; }
.sp-bubble { max-width: 84%; border-radius: 16px; padding: 10px 12px; font-size: 14px; line-height: 1.6; margin: 4px 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.sp-bubble.me { margin-left: auto; background: var(--sp-blue); color: #fff; border-bottom-right-radius: 4px; }
.sp-bubble.op { background: #f1f5f9; color: var(--sp-ink); border-bottom-left-radius: 4px; }
.sp-bubble-photos { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0; }
.sp-bubble-photos.me { justify-content: flex-end; }
.sp-bubble-photos img { width: 84px; height: 84px; object-fit: cover; border-radius: 10px; background: #f1f5f9; }
.sp-composer { display: flex; gap: 8px; align-items: flex-end; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--sp-line); }
.sp-composer textarea { flex: 1; min-height: 44px; height: 44px; padding: 10px 12px; }
.sp-composer button { flex: none; width: 44px; height: 44px; border-radius: 22px; border: 0; background: var(--sp-blue); color: #fff; display: grid; place-items: center; cursor: pointer; }
.sp-composer button:disabled { background: #e2e8f0; color: var(--sp-faint); }
/* 약관·처리방침 */
.lg-ver { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--sp-line); border-radius: 12px; padding: 10px 12px; font-size: 12px; color: var(--sp-muted); }
.lg-ver b { color: var(--sp-ink); }
.lg-toc { border: 1px solid var(--sp-line); border-radius: 12px; padding: 4px 12px; margin-top: 12px; }
.lg-toc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.lg-toc a { display: flex; justify-content: space-between; padding: 9px 0; font-size: 13px; color: var(--sp-ink); text-decoration: none; }
.lg-toc a:nth-child(n + 3) { border-top: 1px solid var(--sp-line); }
.lg-toc a span { color: var(--sp-faint); }
.lg-body h3 { margin: 22px 0 8px; font-size: 15px; scroll-margin-top: 12px; }
.lg-body p, .lg-body li { color: var(--sp-text); font-size: 13.5px; line-height: 1.75; }
.lg-body p { margin: 0 0 8px; }
.lg-body ol, .lg-body ul { margin: 0 0 8px; padding-left: 20px; }
.lg-body blockquote { margin: 8px 0; padding: 8px 12px; border-left: 3px solid var(--sp-line-strong); color: var(--sp-muted); background: #f8fafc; border-radius: 0 10px 10px 0; }
.lg-table { overflow-x: auto; margin: 8px 0 12px; }
.lg-table table { border-collapse: collapse; width: 100%; font-size: 12.5px; min-width: 420px; }
.lg-table th, .lg-table td { border: 1px solid var(--sp-line); padding: 7px 8px; text-align: left; vertical-align: top; line-height: 1.55; }
.lg-table th { background: #f8fafc; font-weight: 700; }
@media (max-width: 760px) {
  .support-top { padding: 0 16px; min-height: 56px; }
  .support-top .site-logo img { width: 150px; height: 34px; }
  .support-main { width: calc(100% - 32px); padding-top: 22px; }
  .lg-toc { grid-template-columns: 1fr; }
  .lg-toc a:nth-child(2) { border-top: 1px solid var(--sp-line); }
}
/* 2026-11-18: 회원 유형별 약관 */
.lg-audience { display: flex; gap: 6px; margin-top: 12px; padding: 4px; border: 1px solid var(--sp-line); border-radius: 12px; }
.lg-audience button { flex: 1; border: 0; border-radius: 9px; padding: 9px 10px; background: transparent; color: var(--sp-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.lg-audience button.active { background: #1f5fbf; color: #fff; }
.lg-audience[hidden], .lg-audience-label[hidden] { display: none; }
.lg-audience-label { margin: 10px 0 0; font-size: 13px; font-weight: 700; color: #1f5fbf; }
