/* 대부업체 광고·중개 플랫폼 시연 화면 (loan) */
.ln {
  --bg: #F4F3EE;
  --surface: #FFFFFF;
  --surface-2: #FAF9F5;
  --text: #18202F;
  --muted: #5A6273;
  --line: #E1DED5;
  --line-2: #CFCBC0;
  --primary: #1E3563;
  --primary-2: #2C4A85;
  --primary-soft: #E8EDF6;
  --accent: #B25A10;
  --accent-bg: #F0A23B;
  --accent-soft: #FDF0DF;
  --ok: #1F6B45;
  --ok-soft: #E2F2E8;
  --warn: #8A5A00;
  --warn-soft: #FCF1D8;
  --danger: #AF2A22;
  --danger-soft: #FBE7E4;
  --r: 12px;
  --rs: 8px;
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  word-break: keep-all;
  overflow-wrap: anywhere;
  min-height: 100vh;
}
.ln *, .ln *::before, .ln *::after { box-sizing: border-box; }
.ln :where(h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset) { margin: 0; }
.ln :where(ul, ol) { padding: 0; list-style: none; }
.ln :where(a) { color: var(--primary); }
.ln :where(button, input, select, textarea) { font: inherit; color: inherit; }
.ln fieldset { border: 0; padding: 0; min-width: 0; }
.ln [hidden] { display: none !important; }
.ln :focus-visible { outline: 2px solid var(--accent-bg); outline-offset: 2px; }
.ln-num { font-feature-settings: "tnum"; letter-spacing: 0; }
.ln-muted { color: var(--muted); }
.ln-small { font-size: 13px; }
.ln-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ln-mt { margin-top: 20px; }

/* 안내 띠 */
.ln .demo-notice {
  min-height: 28px; display: flex; align-items: center; justify-content: center;
  padding: 4px 16px; background: #14233F; color: #D5DDEC; font-size: 12px; text-align: center;
}

/* 머리글 */
.ln-top { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.ln-top__in { max-width: 1180px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; }
.ln-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); min-width: 0; margin-right: auto; }
.ln-brand__mark { flex: none; line-height: 0; }
.ln-brand__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.ln-brand__text b { font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; }
.ln-brand__text small { font-size: 12px; color: var(--muted); white-space: nowrap; }
.ln-side { display: flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.ln-side a { padding: 6px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 600; white-space: nowrap; min-height: 34px; display: flex; align-items: center; }
.ln-side a.is-on { background: var(--primary); color: #fff; }
.ln-menu { border-top: 1px solid var(--line); }
.ln-menu__in { max-width: 1180px; margin: 0 auto; padding: 0 24px; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ln-menu__in::-webkit-scrollbar { display: none; }
.ln-menu a { padding: 12px 14px; text-decoration: none; color: var(--muted); font-weight: 600; white-space: nowrap; border-bottom: 3px solid transparent; }
.ln-menu a.is-on { color: var(--primary); border-bottom-color: var(--accent-bg); }

.ln-main { padding-bottom: 96px; }
.ln-wrap { max-width: 1180px; margin: 0 auto; padding: 24px; }

/* 버튼 */
.ln-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 0 18px; border-radius: var(--rs); border: 1px solid transparent;
  font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.ln-btn:disabled { opacity: .45; cursor: not-allowed; }
.ln-btn--primary { background: var(--primary); color: #fff; }
.ln-btn--primary:hover:not(:disabled) { background: var(--primary-2); }
.ln-btn--accent { background: var(--accent-bg); color: #241300; }
.ln-btn--accent:hover { background: #E8932A; }
.ln-btn--line { background: var(--surface); border-color: var(--line-2); color: var(--text); }
.ln-btn--line:hover:not(:disabled) { border-color: var(--primary); }
.ln-btn--ghost { background: transparent; color: var(--muted); border-color: var(--line); }
.ln-btn--ghost:hover:not(:disabled) { color: var(--text); border-color: var(--line-2); }
.ln-btn--danger { color: var(--danger); }
.ln-btn--sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.ln-btn--lg { min-height: 52px; font-size: 16px; }
.ln-btn--call { background: var(--primary-soft); color: var(--primary); width: 100%; }
.ln-btn--call:hover { background: #DCE4F1; }
.ln-reset span { display: inline; }
.ln-iconbtn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: var(--rs); cursor: pointer; color: var(--muted); display: grid; place-items: center; }

/* 태그·칩 */
.ln-tag { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.ln-tag--ad { background: var(--accent-soft); border-color: #F3D2A8; color: var(--accent); }
.ln-tag--adsoft { background: transparent; border-color: #EBCB9F; color: var(--accent); }
.ln-tag--line { background: transparent; border-style: dashed; border-color: var(--primary-2); color: var(--primary); }
.ln-tag--new { background: var(--primary); border-color: var(--primary); color: #fff; }
.ln-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ln-chips--scroll { flex-wrap: wrap; }
.ln-chips--scroll::-webkit-scrollbar { display: none; }
.ln-chip { flex: none; min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; white-space: nowrap; }
span.ln-chip { cursor: default; }
.ln-chip.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }
.ln-chip--sm { min-height: 32px; padding: 0 10px; font-size: 13px; }
.ln-pill { display: inline-flex; padding: 2px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--warn-soft); color: var(--warn); white-space: nowrap; }
.ln-pill.is-ok { background: var(--ok-soft); color: var(--ok); }
.ln-pill.is-bad { background: var(--danger-soft); color: var(--danger); }
.ln-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent-bg); color: #241300; font-size: 12px; font-weight: 800; }
.ln-status { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; background: var(--warn-soft); color: var(--warn); white-space: nowrap; }
.ln-status.is-ok, .ln-status.is-live { background: var(--ok-soft); color: var(--ok); }
.ln-status.is-bad, .ln-status.is-stopped { background: var(--danger-soft); color: var(--danger); }
.ln-status.is-paid { background: var(--primary-soft); color: var(--primary); }

/* 패널 */
.ln-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.ln-panel__h { font-size: 16px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 12px; }
.ln-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.ln-sec-head h2 { font-size: 19px; letter-spacing: -0.02em; }
.ln-sec-head p { font-size: 13px; }

/* 이용자 첫 화면 */
.ln-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: var(--r); background: var(--primary); color: #E9EEF8; margin-bottom: 24px; }
.ln-intro h1 { font-size: 22px; color: #fff; letter-spacing: -0.02em; margin-bottom: 4px; }
.ln-intro .ln-muted { color: #BFCBE2; font-size: 14px; max-width: 640px; }
.ln-intro__cta { flex: none; }
.ln-feat { margin-bottom: 28px; }
.ln-feat__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.ln-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; overflow: hidden; }
.ln-card--feat { border-color: #EBCB9F; box-shadow: inset 4px 0 0 var(--accent-bg); }
.ln-card__link { display: block; padding: 16px 18px 12px; text-decoration: none; color: inherit; flex: 1; }
.ln-card__link:hover h3 { color: var(--primary-2); text-decoration: underline; text-underline-offset: 3px; }
.ln-card__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.ln-card__head h3 { font-size: 17px; letter-spacing: -0.02em; }
.ln-card__intro { color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.ln-card__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.ln-card__facts div { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--rs); padding: 8px 10px; }
.ln-card__facts dt { font-size: 12px; color: var(--muted); }
.ln-card__facts dd { font-weight: 800; font-size: 15px; }
.ln-card__meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); }
.ln-card .ln-btn--call { border-radius: 0; border-top: 1px solid var(--line); }
.ln-filters { display: grid; gap: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 14px; }
.ln-search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: var(--rs); padding: 0 12px; min-height: 46px; color: var(--muted); background: var(--surface); }
.ln-search input { border: 0; outline: 0; flex: 1; min-width: 0; font-size: 15px; background: transparent; color: var(--text); }
.ln-filter { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 8px; min-width: 0; }
.ln-filter__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.ln-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.ln-empty { background: var(--surface); border: 1px dashed var(--line-2); border-radius: var(--r); padding: 28px; text-align: center; }
.ln-pager { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.ln-pager button { min-width: 44px; height: 44px; border-radius: var(--rs); border: 1px solid var(--line-2); background: var(--surface); font-weight: 700; cursor: pointer; }
.ln-pager button.is-on { background: var(--primary); border-color: var(--primary); color: #fff; }

/* 업체 상세 */
.ln-back { display: inline-flex; align-items: center; gap: 4px; text-decoration: none; font-weight: 600; color: var(--muted); margin-bottom: 14px; min-height: 36px; }
.ln-detail__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; }
.ln-detail__main { display: grid; gap: 16px; }
.ln-detail__title { display: flex; align-items: center; gap: 10px; }
.ln-detail__title h1 { font-size: 26px; letter-spacing: -0.03em; }
.ln-detail__intro { color: var(--muted); margin: 4px 0 12px; }
.ln-verify { display: grid; gap: 6px; margin-bottom: 12px; }
.ln-verify li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ok); }
.ln-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.ln-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.ln-rows { display: grid; }
.ln-rows > div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.ln-rows > div:first-child { border-top: 0; padding-top: 0; }
.ln-rows dt { color: var(--muted); font-size: 14px; }
.ln-rows dd { font-weight: 600; }
.ln-rows dd small { display: block; font-weight: 500; color: var(--muted); font-size: 13px; }
.ln-rows--tight > div { grid-template-columns: 110px 1fr; padding: 9px 0; }
.ln-rows--tight dd { font-size: 14px; }
.ln-inline-link { display: inline-block; margin-top: 12px; font-weight: 700; font-size: 14px; }
.ln-legal { border: 2px solid #D9C7A6; background: #FFFCF5; }
.ln-legal__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 4px; flex-wrap: wrap; }
.ln-legal__head .ln-panel__h { margin: 0; }
.ln-legal__list > div { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 10px 0; border-top: 1px solid #EADFC9; }
.ln-legal__list > div:first-child { border-top: 0; }
.ln-legal__list dt { font-size: 13px; color: var(--muted); font-weight: 700; }
.ln-legal__list dd { font-weight: 700; }
.ln-legal__foot { margin-top: 10px; font-size: 13px; color: var(--muted); }
.ln-detail__side { display: grid; gap: 12px; position: sticky; top: 132px; }
.ln-cta-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ln-side-note { font-size: 13px; color: var(--muted); }

/* 맞춤 추천 */
.ln-match__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 18px; align-items: start; }
.ln-quiz { padding: 24px; }
.ln-quiz__progress { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; font-weight: 700; color: var(--muted); font-size: 14px; }
.ln-bar { flex: 1; height: 6px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.ln-bar i { display: block; height: 100%; background: var(--accent-bg); border-radius: 999px; transition: width .25s; }
.ln-q__title { font-size: 24px; letter-spacing: -0.03em; margin-bottom: 18px; }
.ln-q__opts { display: grid; gap: 10px; }
.ln-q__opts--grid { grid-template-columns: repeat(4, 1fr); }
.ln-opt { text-align: left; min-height: 56px; padding: 12px 16px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.ln-opt b { font-size: 16px; }
.ln-opt small { color: var(--muted); font-size: 13px; }
.ln-opt:hover { border-color: var(--primary); }
.ln-opt.is-on { border-color: var(--primary); background: var(--primary-soft); }
.ln-q__opts--grid .ln-opt { min-height: 48px; align-items: center; text-align: center; padding: 8px; }
.ln-quiz__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; min-height: 36px; }
.ln-quiz__foot p { margin-left: auto; }
.ln-result__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; margin-bottom: 16px; }
.ln-result__answers { display: flex; flex-wrap: wrap; gap: 6px; }
.ln-result__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.ln-result__bar h1 { font-size: 21px; letter-spacing: -0.02em; }
.ln-result__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
.ln-result__more { margin-top: 14px; }
.ln-why { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ln-why li { font-size: 12px; font-weight: 700; color: var(--ok); background: var(--ok-soft); padding: 2px 8px; border-radius: 6px; }
.ln-why li::before { content: "✓ "; }
.ln-howto__steps { display: grid; gap: 14px; counter-reset: s; margin-bottom: 12px; }
.ln-howto__steps li { display: grid; gap: 2px; padding-left: 32px; position: relative; counter-increment: s; }
.ln-howto__steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.ln-howto__steps span { color: var(--muted); font-size: 14px; }

/* 세그먼트 */
.ln-seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: var(--rs); padding: 3px; gap: 2px; }
.ln-seg button { border: 0; background: transparent; padding: 0 12px; min-height: 36px; border-radius: 6px; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; }
.ln-seg button.is-on { background: var(--surface); color: var(--primary); box-shadow: 0 1px 2px rgba(20, 30, 50, .12); }
.ln-seg--full { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
.ln-seg--wrap { flex-wrap: wrap; }
.ln-seg--sm button { min-height: 32px; font-size: 13px; padding: 0 10px; }

/* 입력 */
.ln-field { display: grid; gap: 6px; min-width: 0; }
.ln-field__label { font-size: 14px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.ln-input { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--rs); background: var(--surface); min-height: 46px; padding: 0 12px; }
.ln-input:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.ln-input input, .ln-input select, .ln-input textarea { border: 0; outline: 0; background: transparent; width: 100%; min-width: 0; font-size: 15px; }
.ln-input textarea { padding: 10px 0; resize: vertical; }
.ln-input--unit em { font-style: normal; color: var(--muted); font-size: 14px; flex: none; margin-left: 6px; }
.ln-input--sm { min-height: 38px; padding: 0 8px; }
.ln-input--sm input { font-size: 14px; }
.ln-input--select select { min-height: 44px; cursor: pointer; }
.ln-quick { display: flex; gap: 6px; flex-wrap: wrap; }
.ln-range { display: flex; align-items: center; gap: 8px; }
.ln-range .ln-input { flex: 1; }
.ln-check { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; cursor: pointer; padding: 6px 0; }
.ln-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary); flex: none; }
.ln-field__hint { font-size: 13px; color: var(--warn); }
.ln-field__hint.is-info { color: var(--muted); }
.ln-form2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; margin: 16px 0; align-items: start; }
.ln-field--wide { grid-column: 1 / -1; }

/* 계산기 */
.ln-calc__grid { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 18px; align-items: start; }
.ln-calc__form { display: grid; gap: 18px; }
.ln-calc__form h1 { font-size: 22px; letter-spacing: -0.02em; }
.ln-calc__out { display: grid; gap: 14px; }
.ln-sum { background: var(--primary); color: #E9EEF8; border-color: var(--primary); }
.ln-sum__label { font-size: 14px; color: #BFCBE2; font-weight: 600; }
.ln-sum__big { font-size: 38px; font-weight: 800; color: #fff; letter-spacing: -0.03em; margin: 2px 0 14px; }
.ln-sum__rows { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.ln-sum__rows dt { font-size: 12px; color: #BFCBE2; }
.ln-sum__rows dd { font-weight: 800; font-size: 16px; color: #fff; }
.ln-sum__split { display: flex; height: 10px; border-radius: 999px; overflow: hidden; background: rgba(255,255,255,.15); }
.ln-sum__split i:first-child { background: #8FA6CF; }
.ln-sum__split i:last-child { background: var(--accent-bg); }
.ln-sum__legend { display: flex; gap: 14px; font-size: 12px; margin-top: 6px; color: #BFCBE2; }
.ln-sum__legend span::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.ln-sum__legend .is-p::before { background: #8FA6CF; }
.ln-sum__legend .is-i::before { background: var(--accent-bg); }
.ln-tablewrap { overflow-x: auto; margin: 0 -4px; padding: 0 4px; }
.ln-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ln-table th, .ln-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.ln-table thead th { font-size: 12px; color: var(--muted); font-weight: 700; background: var(--surface-2); }
.ln-table th:first-child, .ln-table td:first-child { text-align: left; }
.ln-sched .ln-btn { margin-top: 10px; }

/* 게시판 */
.ln-board__head { margin-bottom: 16px; }
.ln-board__head h1 { font-size: 24px; letter-spacing: -0.02em; }
.ln-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--line); margin-bottom: 16px; align-items: flex-end; }
.ln-tabs::-webkit-scrollbar { display: none; }
.ln-tabs button { flex: none; border: 0; background: transparent; padding: 10px 14px; min-height: 44px; font-weight: 700; color: var(--muted); border-bottom: 3px solid transparent; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.ln-tabs button.is-on { color: var(--primary); border-bottom-color: var(--accent-bg); }
.ln-tabs__tbd { flex: none; margin: 0 0 6px 8px; padding: 6px 10px; border: 1.5px dashed var(--line-2); border-radius: var(--rs); font-size: 12px; color: var(--muted); white-space: nowrap; }
.ln-posts ul { display: grid; }
.ln-posts li { border-top: 1px solid var(--line); }
.ln-posts li:first-child { border-top: 0; }
.ln-posts summary { display: flex; justify-content: space-between; gap: 12px; padding: 14px 4px; cursor: pointer; list-style: none; font-weight: 700; }
.ln-posts summary::-webkit-details-marker { display: none; }
.ln-posts summary .ln-num { font-weight: 500; font-size: 13px; flex: none; }
.ln-posts details p { padding: 0 4px 16px; color: var(--muted); }
.ln-posts__title { display: flex; gap: 8px; }
.ln-q-mark { color: var(--accent); font-weight: 800; }
.ln-board__ask { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.ln-board__ask .ln-panel { display: grid; gap: 14px; }
.ln-board__ask .ln-panel__h { margin: 0; }
.ln-myq { display: grid; gap: 10px; }
.ln-myq li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ln-myq__a { width: 100%; background: var(--primary-soft); border-radius: var(--rs); padding: 8px 10px; font-size: 14px; }

/* 업체 광고 센터 */
.ln-partner__grid { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 18px; align-items: start; }
.ln-steps { position: sticky; top: 88px; }
.ln-steps ol { display: grid; gap: 4px; }
.ln-steps button { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 12px; border: 0; border-radius: var(--rs); background: transparent; text-align: left; cursor: pointer; color: var(--muted); }
.ln-steps button:disabled { cursor: default; opacity: .6; }
.ln-steps span { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--line-2); display: grid; place-items: center; font-size: 12px; font-weight: 800; flex: none; background: var(--surface); }
.ln-steps b { font-size: 14px; white-space: nowrap; }
.ln-steps li.is-on button { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.ln-steps li.is-on span { background: var(--primary); border-color: var(--primary); color: #fff; }
.ln-steps li.is-done span { background: var(--ok-soft); border-color: var(--ok); color: var(--ok); }
.ln-pstep { padding: 24px; }
.ln-pstep__no { font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.ln-pstep h1 { font-size: 22px; letter-spacing: -0.02em; margin-bottom: 4px; }
.ln-pstep > .ln-field { margin-top: 16px; }
.ln-pstep__foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; padding-top: 16px; border-top: 1px solid var(--line); }
.ln-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.ln-upload { border: 1.5px dashed var(--line-2); border-radius: var(--r); background: var(--surface-2); min-height: 180px; display: grid; }
.ln-upload__empty { display: grid; place-items: center; align-content: center; gap: 6px; padding: 20px; text-align: center; }
.ln-upload__doc { padding: 12px; display: grid; gap: 8px; justify-items: center; }
.ln-upload__doc svg { width: 100%; max-width: 280px; height: auto; }
.ln-upload__state { color: var(--muted); font-weight: 600; }
.ln-ocr-form .ln-field.is-filled .ln-input { background: #FBFCFF; }
.ln-ocr-form .ln-field.is-warn .ln-input { border-color: var(--warn); background: var(--warn-soft); }
.ln-ocr-form .ln-field.is-fixed .ln-input { border-color: var(--ok); }
.ln-ocr-form .ln-field.is-fixed .ln-field__hint { color: var(--ok); }
.ln-conf { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; background: var(--primary-soft); color: var(--primary); }
.ln-conf.is-low { background: var(--danger-soft); color: var(--danger); }
.ln-hint-actions { display: flex; gap: 6px; margin-top: 6px; }
.ln-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.ln-product { text-align: left; display: grid; gap: 4px; align-content: start; padding: 14px; border-radius: var(--r); border: 1.5px solid var(--line-2); background: var(--surface); cursor: pointer; min-height: 150px; }
.ln-product b { font-size: 15px; }
.ln-product small { color: var(--muted); font-size: 13px; }
.ln-product__tier { font-size: 11px; font-weight: 800; color: var(--accent); }
.ln-product__price { margin-top: auto; font-weight: 800; font-size: 14px; }
.ln-product.is-on { border-color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px var(--primary); }
.ln-total { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--rs); }
.ln-total b { font-size: 17px; }
.ln-bank { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 16px; padding: 18px; border-radius: var(--r); background: var(--primary-soft); border: 1px solid #CED8EA; }
.ln-bank dl { display: grid; gap: 8px; }
.ln-bank dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; }
.ln-bank dt { color: var(--muted); font-size: 14px; }
.ln-bank dd { font-weight: 700; }
.ln-bank__amt { font-size: 20px; color: var(--primary); }
.ln-mine { display: grid; gap: 16px; margin: 16px 0; }
.ln-mine__card { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px; border-radius: var(--rs); background: var(--surface-2); border: 1px solid var(--line); }
.ln-mine__card div { display: grid; gap: 2px; }
.ln-timeline { display: grid; gap: 0; }
.ln-timeline li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding-bottom: 16px; position: relative; }
.ln-timeline li:not(:last-child)::after { content: ""; position: absolute; left: 13px; top: 26px; bottom: 0; width: 2px; background: var(--line); }
.ln-timeline__dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--line-2); background: var(--surface); }
.ln-timeline li.is-done .ln-timeline__dot { background: var(--ok); border-color: var(--ok); box-shadow: inset 0 0 0 5px var(--surface); }
.ln-timeline li.is-bad .ln-timeline__dot { background: var(--danger); border-color: var(--danger); box-shadow: inset 0 0 0 5px var(--surface); }
.ln-timeline li.is-wait .ln-timeline__dot { border-color: var(--warn); border-style: dashed; }
.ln-timeline div { display: grid; }
.ln-timeline span { font-weight: 700; }
.ln-timeline li.is-done span { color: var(--ok); }
.ln-timeline li.is-wait span { color: var(--warn); }
.ln-timeline li.is-bad span { color: var(--danger); }
.ln-timeline small { color: var(--muted); }
.ln-callout { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border-radius: var(--rs); background: var(--accent-soft); border: 1px solid #F3D2A8; flex-wrap: wrap; }
.ln-callout p { font-size: 14px; flex: 1 1 280px; }

/* 가상 서류 그림 */
.ln-cert { display: block; }
.ln-cert__box { fill: transparent; stroke: transparent; transition: fill .2s, stroke .2s; }
.ln-cert__row.is-read .ln-cert__box { fill: rgba(44, 74, 133, .07); stroke: rgba(44, 74, 133, .35); stroke-width: 1; stroke-dasharray: 3 2; }
.ln-cert__row.is-hit .ln-cert__box { fill: rgba(240, 162, 59, .28); stroke: #C97A16; stroke-width: 2; stroke-dasharray: none; }
.ln-cert__scan { fill: var(--accent-bg); opacity: 0; }
.ln-cert.is-scanning .ln-cert__scan { opacity: .85; animation: ln-scan 1.6s linear infinite; }
@keyframes ln-scan { from { transform: translateY(0); } to { transform: translateY(400px); } }
@media (prefers-reduced-motion: reduce) {
  .ln-cert.is-scanning .ln-cert__scan { animation: none; opacity: 0; }
  .ln-bar i { transition: none; }
}

/* 관리자 */
.ln-admin__head { margin-bottom: 14px; }
.ln-admin__head h1 { font-size: 24px; letter-spacing: -0.02em; }
.ln-review { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 16px; align-items: start; }
.ln-queue { display: grid; gap: 8px; position: sticky; top: 88px; }
.ln-queue__item { width: 100%; text-align: left; display: grid; gap: 4px; padding: 12px 14px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); cursor: pointer; }
.ln-queue__item.is-on { border-color: var(--primary); box-shadow: inset 4px 0 0 var(--primary); }
.ln-queue__item small { color: var(--muted); font-size: 12px; }
.ln-queue__item .ln-pill { justify-self: start; }
.ln-rv { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.ln-rv__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ln-rv__head h2 { font-size: 20px; letter-spacing: -0.02em; }
.ln-rv__grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 18px; align-items: start; }
.ln-rv__docs { display: grid; gap: 10px; position: sticky; top: 88px; }
.ln-rv__doc svg { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 1px 3px rgba(20, 30, 50, .12); }
.ln-rv__data { display: grid; gap: 14px; min-width: 0; }
.ln-ocr td, .ln-ocr th { text-align: left; vertical-align: top; white-space: normal; }
.ln-ocr tbody tr { cursor: pointer; }
.ln-ocr tbody tr:hover { background: var(--surface-2); }
.ln-ocr tbody th { font-size: 13px; color: var(--muted); white-space: nowrap; }
.ln-ocr tr.is-bad { background: var(--danger-soft); }
.ln-ocr tr.is-bad:hover { background: #F8DCD8; }
.ln-ocr tr.is-fixed { background: var(--ok-soft); }
.ln-ocrv { display: block; font-weight: 600; }
.ln-confv { display: inline-block; font-size: 11px; font-weight: 700; color: var(--muted); }
.ln-confv.is-low { color: var(--danger); }
.ln-resolve { display: grid; gap: 4px; }
.ln-resolve label { display: flex; align-items: center; gap: 6px; font-weight: 700; cursor: pointer; min-height: 30px; }
.ln-resolve input { width: 18px; height: 18px; accent-color: var(--primary); }
.ln-checks { display: grid; gap: 6px; }
.ln-checks li, .ln-runs li { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: start; padding: 8px 10px; border-radius: var(--rs); background: var(--surface-2); border: 1px solid var(--line); }
.ln-checks li div, .ln-runs li div { display: grid; font-size: 14px; }
.ln-checks li span[data-role=result], .ln-runs li span { color: var(--muted); }
.ln-checks__st { font-size: 12px; font-weight: 800; padding: 2px 0; text-align: center; border-radius: 6px; }
.ln-checks li.is-ok .ln-checks__st, .ln-runs li.is-ok .ln-checks__st { background: var(--ok-soft); color: var(--ok); }
.ln-checks li.is-warn .ln-checks__st, .ln-runs li.is-warn .ln-checks__st { background: var(--warn-soft); color: var(--warn); }
.ln-checks li.is-bad .ln-checks__st, .ln-runs li.is-bad .ln-checks__st { background: var(--danger-soft); color: var(--danger); }
.ln-checks li.is-manual .ln-checks__st { background: var(--primary-soft); color: var(--primary); }
.ln-checks li.is-bad { border-color: #F0C4BE; }
.ln-confirm { display: grid; gap: 2px; padding: 12px 14px; border-radius: var(--rs); border: 1.5px solid var(--primary-soft); background: #FBFCFF; }
.ln-confirm legend { font-size: 14px; font-weight: 800; padding: 0 4px; }
.ln-gate-msg { min-height: 20px; color: var(--muted); }
.ln-gate-msg.is-warn { color: var(--warn); font-weight: 600; }
.ln-rv__actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.ln-ads__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }
.ln-ads__head .ln-panel__h { margin: 0; }
.ln-adlist { display: grid; gap: 10px; margin-top: 14px; }
.ln-ad { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px 16px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface-2); }
.ln-ad.is-mine { border-color: var(--primary); background: #FBFCFF; }
.ln-ad__main { display: grid; gap: 4px; min-width: 0; }
.ln-ad__title { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ln-ad__main > p { color: var(--muted); font-size: 14px; }
.ln-ad__meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; }
.ln-ad__meta div { display: flex; gap: 6px; }
.ln-ad__meta dt { color: var(--muted); }
.ln-ad__meta dd { font-weight: 700; }
.ln-ad__act { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; flex: none; }
.ln-warn-text { color: var(--warn); font-weight: 600; }
.ln-status-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.ln-bar--run { height: 6px; margin: 10px 0; flex: none; }
.ln-runs { display: grid; gap: 8px; margin-top: 12px; }
.ln-runs li small { color: var(--text); font-size: 13px; margin-top: 2px; }
.ln-method ol { display: grid; gap: 12px; }
.ln-method li { display: grid; gap: 2px; padding-left: 12px; border-left: 3px solid var(--primary-soft); }
.ln-method span { font-size: 14px; color: var(--muted); }
.ln-set-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.ln-set-grid > .ln-panel:first-child { grid-column: 1 / -1; }
.ln-set-grid--2 > .ln-panel:first-child { grid-column: auto; }
.ln-set-q { display: grid; gap: 14px; }
.ln-set-q .ln-panel__h { margin: 0; }
.ln-qlist { display: grid; gap: 10px; counter-reset: q; }
.ln-qlist li { display: grid; gap: 2px; padding: 10px 12px; border-radius: var(--rs); background: var(--surface-2); border: 1px solid var(--line); }
.ln-qlist span { font-size: 13px; color: var(--muted); }
.ln-addrow { display: flex; gap: 8px; margin-top: 12px; }
.ln-addrow .ln-input { flex: 1; }
.ln-inq { display: grid; gap: 12px; }
.ln-inq li { display: grid; gap: 6px; padding: 12px; border-radius: var(--rs); border: 1px solid var(--line); background: var(--surface-2); }
.ln-inq li.is-done { background: var(--surface); }
.ln-inq__head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ln-inq__head .ln-pill { margin-left: auto; }
.ln-inq__a { background: var(--primary-soft); border-radius: var(--rs); padding: 8px 10px; font-size: 14px; }
.ln-inq__reply { display: grid; gap: 6px; justify-items: end; }
.ln-inq__reply .ln-input { width: 100%; }
.ln-posted { display: grid; gap: 6px; margin-top: 12px; }
.ln-posted li { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.ln-admin .ln-panel .ln-field { margin-bottom: 12px; }

/* 바닥글 */
.ln-foot { border-top: 1px solid var(--line); background: var(--surface); }
.ln-foot__in { max-width: 1180px; margin: 0 auto; padding: 20px 24px 100px; display: grid; gap: 4px; font-size: 12px; color: var(--muted); }

/* 알림·모달·대응표 */
.ln-toast { position: fixed; left: 50%; bottom: 92px; transform: translateX(-50%); z-index: 60; background: #14233F; color: #fff; padding: 12px 18px; border-radius: var(--rs); font-size: 14px; font-weight: 600; max-width: min(92vw, 520px); box-shadow: 0 8px 24px rgba(10, 20, 40, .25); }
.ln-modal, .ln-sheet { position: fixed; inset: 0; z-index: 70; display: grid; }
.ln-modal { place-items: center; padding: 16px; }
.ln-modal__scrim, .ln-sheet__scrim { position: absolute; inset: 0; background: rgba(12, 20, 36, .5); }
.ln-modal__panel { position: relative; background: var(--surface); border-radius: var(--r); padding: 24px; width: min(100%, 400px); display: grid; gap: 10px; text-align: center; }
.ln-modal__panel h2 { font-size: 18px; }
.ln-modal__num { font-size: 28px; font-weight: 800; color: var(--primary); }
.ln-modal__panel .ln-muted { font-size: 14px; }
.ln-fab { position: fixed; right: 20px; bottom: 20px; z-index: 50; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 0; background: #14233F; color: #fff; font-weight: 700; display: inline-flex; align-items: center; gap: 6px; cursor: pointer; box-shadow: 0 6px 18px rgba(10, 20, 40, .28); }
.ln-sheet { justify-items: end; }
.ln-sheet__panel { position: relative; width: min(100%, 520px); height: 100%; overflow-y: auto; background: var(--surface); padding: 20px 22px 32px; }
.ln-sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ln-sheet__head h2 { font-size: 18px; }
.ln-map { display: grid; gap: 12px; }
.ln-map li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.ln-map__no { font-weight: 800; color: var(--accent); font-feature-settings: "tnum"; }
.ln-map__req { font-weight: 700; font-size: 14px; }
.ln-map__shown { color: var(--muted); font-size: 13px; margin: 2px 0 4px; }
.ln-map a { font-size: 13px; font-weight: 700; }
.ln-sheet__foot { margin-top: 14px; font-size: 12px; color: var(--muted); }

/* 반응형 */
@media (max-width: 1080px) {
  .ln-list { grid-template-columns: repeat(2, 1fr); }
  .ln-products { grid-template-columns: repeat(2, 1fr); }
  .ln-rv__grid { grid-template-columns: minmax(0, 1fr); }
  .ln-rv__docs { position: static; grid-template-columns: 1fr; max-width: 360px; }
  .ln-status-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .ln-detail__grid, .ln-match__grid, .ln-calc__grid, .ln-partner__grid, .ln-review { grid-template-columns: minmax(0, 1fr); }
  .ln-detail__grid > *, .ln-match__grid > *, .ln-calc__grid > *, .ln-partner__grid > *, .ln-review > * { min-width: 0; }
  .ln-detail__side { position: static; }
  .ln-steps { position: static; }
  .ln-steps ol { display: flex; overflow-x: auto; scrollbar-width: none; gap: 4px; }
  .ln-steps ol::-webkit-scrollbar { display: none; }
  .ln-steps li { flex: none; }
  .ln-queue { position: static; grid-template-columns: repeat(3, minmax(180px, 1fr)); overflow-x: auto; }
  .ln-set-grid { grid-template-columns: minmax(0, 1fr); }
  .ln-howto { order: 2; }
}
@media (max-width: 640px) {
  .ln { font-size: 15px; }
  .ln-top__in { padding: 10px 16px; gap: 8px; flex-wrap: wrap; }
  .ln-brand__text small { display: none; }
  .ln-brand__text b { font-size: 15px; }
  .ln-side { order: 3; width: 100%; justify-content: space-between; }
  .ln-side a { flex: 1; justify-content: center; padding: 6px 8px; }
  .ln-reset { min-height: 36px; padding: 0 10px; }
  .ln-reset span { display: none; }
  .ln-menu__in { padding: 0 8px; }
  .ln-wrap { padding: 16px; }
  .ln-intro { flex-direction: column; align-items: stretch; padding: 18px; }
  .ln-intro h1 { font-size: 19px; }
  .ln-feat__grid, .ln-list, .ln-result__list { grid-template-columns: 1fr; }
  .ln-filter { grid-template-columns: 1fr; gap: 6px; }
  .ln-chips--scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .ln-q__title { font-size: 20px; }
  .ln-q__opts--grid { grid-template-columns: repeat(3, 1fr); }
  .ln-quiz { padding: 18px; }
  .ln-result__head { flex-direction: column; align-items: stretch; }
  .ln-rows > div, .ln-rows--tight > div { grid-template-columns: 100px 1fr; }
  .ln-legal__list > div { grid-template-columns: 1fr; gap: 2px; }
  .ln-detail__title h1 { font-size: 22px; }
  .ln-sum__big { font-size: 30px; }
  .ln-sum__rows { grid-template-columns: 1fr 1fr; }
  .ln-board__ask { grid-template-columns: 1fr; }
  .ln-form2 { grid-template-columns: 1fr; }
  .ln-uploads { grid-template-columns: 1fr; }
  .ln-products { grid-template-columns: 1fr 1fr; }
  .ln-product { min-height: 130px; }
  .ln-pstep { padding: 18px; }
  .ln-pstep__foot { position: sticky; bottom: 0; background: var(--surface); margin: 20px -18px -18px; padding: 12px 18px; border-radius: 0 0 var(--r) var(--r); }
  .ln-pstep__foot .ln-btn--primary { flex: 1; }
  .ln-bank { flex-direction: column; }
  .ln-mine__card { grid-template-columns: 1fr 1fr; }
  .ln-queue { grid-template-columns: repeat(3, 200px); }
  .ln-rv { padding: 16px; }
  .ln-rv__docs { max-width: none; }
  .ln-ad { flex-direction: column; align-items: stretch; }
  .ln-ad__act { justify-content: flex-start; }
  .ln-checks li, .ln-runs li { grid-template-columns: 64px 1fr; }
  .ln-ocr thead { display: none; }
  .ln-ocr tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; padding: 12px 8px; border-bottom: 1px solid var(--line); }
  .ln-ocr tbody th, .ln-ocr tbody td { padding: 0; border: 0; }
  .ln-ocr tbody th { grid-column: 1 / -1; font-size: 14px; color: var(--text); font-weight: 800; }
  .ln-ocr tbody td::before { content: attr(data-label); display: block; font-size: 11px; color: var(--muted); font-weight: 700; }
  .ln-ocr tbody td:last-child { grid-column: 1 / -1; }
  .ln-resolve { grid-template-columns: 1fr 1fr; }
  .ln-rv__actions .ln-btn--primary { width: 100%; order: -1; }
  .ln-fab { right: 12px; bottom: 12px; }
  .ln-toast { bottom: 72px; }
  .ln-cta-bar { position: sticky; bottom: 0; background: var(--bg); padding: 8px 0; z-index: 5; }
}
