/* STYLE-LIBRARY:BEGIN — tools/pick-style.js 가 쓴 블록. 손으로 고치지 말고 다시 실행 */
:root{--bg:#eef2f3;--paper:#ffffff;--ink:#173d48;--muted:#4f6a73;--accent:#f3a43f;--accent-ink:#173d48;--line:#dbe3e5;--font-display:"Poppins", Pretendard, "Noto Sans KR", sans-serif;--font-body:Pretendard, "Noto Sans KR", system-ui, sans-serif;--radius:18px;--shadow:0 10px 26px rgba(23, 61, 72, .12);--border:none;--card-pad:18px;--dur:300ms;--ease:cubic-bezier(0.2, 0, 0, 1);--enter:slide-up;--stagger:50ms;--layout:timeline;--x-surface-strong:#1f4a56;--x-on-strong:#ffffff}
/* STYLE-LIBRARY:END */
/* 클로바노트 로그인 원인 찾기(#2680).
 * 색·글꼴·모서리·움직임은 위 STYLE-LIBRARY 블록(스타일 창고 teal-planner, tools/pick-style.js 가 씀)의 토큰만 쓴다.
 * 짜임(배치형 timeline, 참고 화면 teal-orange-planner, design-dna 측정색 #1d4958·#f3ae5c·#f9f7f3): 위는 진한 청록 고르기 판
 *   (날짜 칩 줄 자리에 기기 칩 3, 그 아래 증상 줄 5, 주황 큰 알약), 아래는 시간 축(왼쪽 좁은 열 = 무게, 축 선 위 점, 오른쪽 카드).
 *   참고 화면의 「지금」 가로 주황 선은 녹음 백업 확인 위에 긋는다(여기부터 지우기 단계). 1280px 부터는 판이 왼쪽에 붙고 축이 오른쪽.
 * 상태는 표가 아니라 선·색·배경: 고른 칩·줄 = 주황 면, 지금 할 단계 = 살구 면 + 주황 점, 끝낸 단계 = 진청록 채운 점 + 흐린 글자,
 *   잠긴 단계(백업 확인 전) = 점선 카드, 축 선은 해 본 만큼 진청록으로 찬다. 바깥 글꼴은 불러오지 않는다(meta CSP font-src self). */
:root {
  --x-now: #fde9d4;
  --line-strong: #6b838a; /* r2: 선으로 읽는 UI(입력칸·잠긴 점선·안 한 단계 점) 3:1 이상. bg 3.56 · 흰 4.01 · 살구 3.39 */
  --accent-line: #c0650f; /* r2: 「지금」 카드·점 테두리. 레퍼런스 주황(--accent) 면은 그대로 두고 선만 진하게. bg 3.65 · 살구 3.48 */
  --focus: #173d48;
  --font: var(--font-body); /* 사이트 규칙: font-family 는 var(--font) 로만. 제목은 아래에서 --font 를 display 토큰으로 바꾼다 */
  --rail: 84px; /* 무게 열(64) + 점 열의 가운데(20) */
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); line-height: 1.6; word-break: keep-all; overflow-wrap: anywhere; caret-color: var(--x-surface-strong); }
::selection { background: var(--accent); color: var(--accent-ink); }
h1, h2, h3 { --font: var(--font-display); font-family: var(--font); line-height: 1.3; margin: 0; letter-spacing: -0.01em; text-wrap: balance; }
h2 { font-size: 1.125rem; }
a { color: var(--x-surface-strong); text-underline-offset: 3px; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.skip { position: absolute; left: -999px; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; background: var(--paper); color: var(--ink); }
.skip:focus { left: 8px; top: 8px; z-index: 9; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.app, .foot { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

/* 머리: 제목 왼쪽 위, 참고 화면의 인사 문구 자리 */
.bar { padding: 20px 0 16px; }
.bar h1 { font-size: 1.5rem; font-weight: 800; max-width: 26ch; }
.lede { margin: 8px 0 0; color: var(--muted); font-size: 0.9375rem; max-width: 62ch; }

.layout { display: grid; gap: 20px; align-items: start; }
.main { min-width: 0; display: grid; gap: 20px; }

/* 고르기 판: 진한 청록 면, 흰 글자, 주황 고름 */
.pick { background: var(--x-surface-strong); color: var(--x-on-strong); border-radius: 22px; padding: 18px 16px 20px; box-shadow: var(--shadow); }
.pick fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.pick legend { padding: 0; font-weight: 700; font-size: 0.9375rem; margin-bottom: 10px; }
.pick :focus-visible, .pick input:focus-visible + span { outline: 3px solid #ffffff; outline-offset: 2px; }
.pick .gap { margin-top: 18px; }
.chip, .sym { position: relative; display: block; cursor: pointer; }
.chip input, .sym input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.chip span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 8px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, 0.45); font-weight: 700; font-size: 0.9375rem; line-height: 1.2; }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.syms { display: grid; gap: 8px; }
.sym span { display: flex; align-items: center; min-height: 52px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); line-height: 1.4; font-size: 0.9375rem; }
.sym input:checked + span { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-weight: 700; }
.pick-status, .pick-note { margin: 16px 0 0; font-size: 0.875rem; min-height: 2.8em; }
.go { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; margin-top: 8px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800; text-decoration: none; box-shadow: 0 8px 18px rgba(10, 30, 36, 0.28); }
.go-n { font-weight: 600; font-size: 0.875rem; padding: 2px 10px; border-radius: 999px; background: rgba(23, 61, 72, 0.12); }

/* 점검 순서: 시간 축 */
.steps-h { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.steps-h h2 { font-size: 1.25rem; }
.progress { margin: 0; font-weight: 700; font-size: 0.875rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.tl-empty { margin: 0; padding: 18px; border: 2px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); background: var(--paper); }
.tl { position: relative; list-style: none; margin: 0; padding: 4px 0; display: grid; gap: 14px; }
.tl:empty { display: none; }
.tl::before { content: ""; position: absolute; left: calc(var(--rail) - 1px); top: 14px; bottom: 14px; width: 2px; background: var(--line); border-radius: 2px; }
.tl::after { content: ""; position: absolute; left: calc(var(--rail) - 1.5px); top: 14px; bottom: 14px; width: 3px; background: var(--x-surface-strong); border-radius: 2px; transform-origin: top; transform: scaleY(var(--done, 0)); }
.st { position: relative; display: grid; grid-template-columns: 64px 40px minmax(0, 1fr); align-items: start; }
.st-w { padding-top: 18px; text-align: right; font-size: 0.8125rem; font-weight: 700; color: var(--muted); line-height: 1.3; }
.st-dot { position: relative; z-index: 1; justify-self: center; margin-top: 21px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--line-strong); }
.st-card { min-width: 0; background: var(--paper); border-radius: var(--radius); padding: var(--card-pad); box-shadow: var(--shadow); border: 2px solid transparent; }
.st-title { font-size: 1.0625rem; font-weight: 700; }
.st-body { margin: 6px 0 0; }
.st-how { margin: 10px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 0.9375rem; }
.st-checknote { margin: 8px 0 0; color: var(--muted); font-size: 0.875rem; }
.st-lock { margin: 10px 0 0; font-weight: 700; font-size: 0.875rem; }
.st-src { margin: 8px 0 0; display: flex; flex-wrap: wrap; align-items: center; gap: 0 12px; font-size: 0.8125rem; }
.st-src-k { color: var(--muted); font-weight: 700; }
.st-src a { display: inline-flex; align-items: center; min-height: 44px; }
.st-check { display: inline-flex; align-items: center; vertical-align: middle; gap: 10px; min-height: 44px; margin-top: 8px; padding: 0 14px 0 10px; border-radius: 999px; background: var(--bg); font-weight: 700; cursor: pointer; }
.st-check input { width: 22px; height: 22px; margin: 0; accent-color: var(--x-surface-strong); }
.st-check:has(input:disabled) { cursor: not-allowed; color: var(--muted); }

/* 무게: 높음 = 진청록 알약, 먼저(백업) = 주황 알약, 하지 말 것 = 판과 같은 진한 면 */
.st.w-high .st-w, .st.w-gate .st-w { justify-self: end; align-self: start; margin-top: 14px; padding: 2px 8px; border-radius: 999px; text-align: center; }
.st.w-high .st-w { background: var(--ink); color: var(--paper); }
.st.w-gate .st-w { background: var(--accent); color: var(--accent-ink); }
.st.w-warn .st-card { background: var(--x-surface-strong); color: var(--x-on-strong); }
.st.w-warn .st-how { background: rgba(255, 255, 255, 0.1); }
.st.w-warn .st-src-k, .st.w-warn a { color: var(--x-on-strong); }
.st.w-warn :focus-visible { outline: 3px solid #ffffff; }
.st.w-warn .st-dot { border-color: var(--x-surface-strong); background: var(--x-surface-strong); }

/* 상태 */
.st.now .st-card { background: var(--x-now); border-color: var(--accent-line); }
.st.now .st-dot { background: var(--accent); border-color: var(--accent-line); box-shadow: 0 0 0 5px rgba(243, 164, 63, 0.28); }
.st.now .st-how, .st.now .st-check { background: var(--paper); }
.st.done .st-dot { background: var(--ink); border-color: var(--ink); }
.st.done .st-title { color: var(--muted); }
.st.done .st-card { box-shadow: none; }
.st.locked .st-card { background: transparent; box-shadow: none; border: 2px dashed var(--line-strong); }
.st.locked .st-dot { border-style: dashed; }
/* 참고 화면의 「지금」 가로 주황 선: 백업 확인 위에 축을 가로질러 긋는다 */
.st.gate { margin-top: 18px; }
.st.gate::before { content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 3px; border-radius: 3px; background: var(--accent); }
.gate-tag { margin: 0 0 6px; font-size: 0.8125rem; font-weight: 700; color: var(--muted); }
.to-memo { margin-top: 8px; margin-right: 8px; vertical-align: middle; }

/* 문의 메모 */
.inquiry { background: var(--paper); border-radius: 22px; padding: 18px 16px 20px; box-shadow: var(--shadow); }
.inquiry h2 { font-size: 1.25rem; }
.sub { margin: 6px 0 12px; color: var(--muted); font-size: 0.9375rem; }
.fields { display: grid; gap: 10px; }
.field { display: grid; gap: 4px; min-width: 0; }
.field label { font-weight: 700; font-size: 0.875rem; }
.field input { min-height: 46px; width: 100%; padding: 8px 12px; border: 2px solid var(--line-strong); border-radius: 12px; background: var(--paper); color: var(--ink); font: inherit; }
.msg { display: block; width: 100%; margin-top: 12px; padding: 12px; border: 2px solid var(--line); border-radius: 14px; background: var(--bg); color: var(--ink); font: inherit; font-size: 0.875rem; line-height: 1.55; resize: vertical; }
.btn-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 800; text-decoration: none; cursor: pointer; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line-strong); }
/* 처음부터 다시: 두 글자를 한 칸에 겹쳐 폭 = 긴 쪽으로 고정(누르기 전후 자리 그대로) */
.btn.reset { display: inline-grid; place-items: center; }
.reset > span { grid-area: 1 / 1; }
.reset .rs-b { visibility: hidden; }
.reset.is-armed .rs-a { visibility: hidden; }
.reset.is-armed .rs-b { visibility: visible; }
.status { margin: 8px 0 0; min-height: 1.6em; font-weight: 700; font-size: 0.875rem; }
/* r2: 복사 결과를 글자뿐 아니라 면·테두리·표시로도 */
.status.is-copied, .status.is-failed { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; }
.status.is-copied { background: #e2f0ee; border: 2px solid var(--x-surface-strong); color: var(--ink); }
.status.is-copied::before { content: "\2713"; content: "\2713" / ""; display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--x-surface-strong); color: var(--x-on-strong); font-size: 0.8125rem; }
.status.is-failed { background: var(--x-now); border: 2px solid var(--accent-line); color: var(--ink); }
.ask-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); }

/* 아래 안내 */
.guide { margin-top: 28px; }
.guide h2 { margin-bottom: 8px; }
.muted { color: var(--muted); margin: 0 0 10px; }
.dev-all, .faq { background: var(--paper); border-radius: 16px; margin-bottom: 8px; }
.dev-all summary, .faq summary { display: flex; align-items: center; min-height: 48px; padding: 8px 16px; font-weight: 700; cursor: pointer; }
.all-steps { margin: 0; padding: 0 16px 14px 36px; font-size: 0.9375rem; }
.all-steps li { margin-top: 10px; }
.all-steps .w { font-size: 0.75rem; font-weight: 700; padding: 1px 8px; border-radius: 999px; background: var(--bg); color: var(--muted); }
.all-steps a { display: inline; }
.faq p { margin: 0; padding: 0 16px 14px; }
.src-list { margin: 0; padding: 0 0 0 20px; font-size: 0.875rem; }
.src-list a { display: inline-flex; align-items: center; min-height: 44px; }
.disclaimer { margin: 24px 0 0; padding: 14px 16px; border-radius: 16px; background: var(--paper); color: var(--muted); font-size: 0.875rem; }
.asof { margin: 10px 0 0; font-weight: 700; font-size: 0.875rem; color: var(--muted); }
.foot { padding-top: 20px; padding-bottom: 32px; color: var(--muted); font-size: 0.875rem; }
.foot p { margin: 0 0 6px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; }

/* 좁은 화면(폴드 접힘·펼침, 카톡 인앱 포함): 1279px 까지 1단 */
@media (max-width: 1279px) {
  .layout { grid-template-columns: minmax(0, 1fr); }
  .main { gap: 18px; }
}
/* r2: 폴드 펼침(1,100 등)에서 한 줄이 너무 길지 않게 본문 폭을 묶는다(고르기 판·카드 글 약 47자) */
@media (min-width: 768px) and (max-width: 1279px) {
  .app, .foot { max-width: 880px; }
}
/* r2: 폴드 접힘(360)에서 글 칸을 넓힌다. 무게 열을 없애고 무게 표시를 카드 안 첫 줄로, 축 열은 28px */
@media (max-width: 420px) {
  :root { --rail: 14px; }
  .st { grid-template-columns: 28px minmax(0, 1fr); }
  .st-dot { grid-column: 1; grid-row: 1; }
  .st-card { grid-column: 2; grid-row: 1; padding: 42px 14px 14px; }
  .st-w, .st.w-high .st-w, .st.w-gate .st-w { grid-column: 2; grid-row: 1; position: relative; z-index: 2; justify-self: start; align-self: start; margin: 16px 0 0 14px; padding: 0; text-align: left; font-size: 0.75rem; }
  .st.w-high .st-w, .st.w-gate .st-w { margin-top: 14px; padding: 2px 8px; }
  .st.w-warn .st-w { color: var(--x-on-strong); }
  .chips { grid-template-columns: 1.3fr 1fr 1fr; gap: 6px; }
  .chip span { font-size: 0.875rem; padding: 6px 4px; white-space: nowrap; }
}
@media (min-width: 640px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field.wide { grid-column: 1 / -1; }
  .bar h1 { font-size: 1.75rem; }
}
@media (min-width: 1280px) {
  .layout { grid-template-columns: minmax(300px, 380px) minmax(0, 1fr); gap: 28px; }
  .pick { position: sticky; top: 16px; }
  .bar h1 { font-size: 2rem; }
}

/* r2: 마우스 쓰는 큰 화면만 hover 면. 폴드·카톡은 터치라 :active 면 */
@media (hover: hover) and (pointer: fine) {
  .chip:hover input:not(:checked) + span, .sym:hover input:not(:checked) + span { background: rgba(255, 255, 255, 0.16); border-color: rgba(255, 255, 255, 0.7); }
  .btn:hover, .go:hover { box-shadow: inset 0 0 0 2px var(--accent-ink); }
  .btn.ghost:hover { box-shadow: inset 0 0 0 2px var(--ink); }
  .st-check:hover { box-shadow: inset 0 0 0 2px var(--line-strong); }
  .dev-all summary:hover, .faq summary:hover { color: var(--x-surface-strong); text-decoration: underline; text-underline-offset: 3px; }
}
.chip:active input:not(:checked) + span, .sym:active input:not(:checked) + span { background: rgba(255, 255, 255, 0.2); }
.st-check:active { box-shadow: inset 0 0 0 2px var(--line-strong); }

@media (prefers-reduced-motion: no-preference) {
  .tl.enter .st { animation: st-in var(--dur) var(--ease) both; animation-delay: calc(var(--stagger) * var(--i, 0)); }
  .tl::after { transition: transform var(--dur) var(--ease); }
  .st-dot, .st-card, .chip span, .sym span { transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
  .go:active, .btn:active { transform: scale(0.98); }
  @keyframes st-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
