/* 단계별 지식 가이드 */
.guide-head { margin: 6px 0 14px; }
.guide-head .no { font-family: var(--mono); font-size: calc(14px * var(--fs)); font-weight: 600; color: var(--accent-text); }
.guide-head h1 { margin: 2px 0 0; font-size: calc(26px * var(--fs)); line-height: 1.3; word-break: keep-all; }
.guide-head .en { margin: 2px 0 0; font-family: var(--mono); font-size: calc(14px * var(--fs)); color: var(--faint); }
.lead { margin: 0 0 18px; font-size: calc(16.5px * var(--fs)); line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }

.gsec { background: var(--surface); border-radius: 16px; padding: 18px 18px 16px; box-shadow: var(--shadow); margin-bottom: 10px; }
.gsec h2 { margin: 0 0 12px; font-size: calc(16.5px * var(--fs)); line-height: 1.4; word-break: keep-all; }
.gsec p, .gsec li, .tval { word-break: keep-all; overflow-wrap: anywhere; }

.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { position: relative; padding: 0 0 12px 36px; line-height: 1.55; font-size: calc(15px * var(--fs)); }
.steps li:last-child { padding-bottom: 0; }
.steps li::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--mono); font-size: calc(12.5px * var(--fs)); font-weight: 600;
  background: var(--accent-soft); color: var(--accent-text);
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 11.5px; top: 27px; bottom: 3px; width: 1px; background: var(--line);
}

.points { margin: 0; padding: 0 0 0 18px; }
.points li { margin-bottom: 8px; line-height: 1.55; font-size: calc(15px * var(--fs)); }
.points li:last-child { margin-bottom: 0; }
.points li::marker { color: var(--accent); }

/* 표는 폰에서도 가로 스크롤이 생기지 않도록 행 단위 블록으로 쌓는다 */
.trows { display: flex; flex-direction: column; }
.trow { padding: 11px 0; border-top: 1px solid var(--line); }
.trow:first-child { border-top: 0; padding-top: 0; }
.trow:last-child { padding-bottom: 0; }
.tkey { font-weight: 700; font-size: calc(15px * var(--fs)); overflow-wrap: anywhere; }
.tkey .mono { color: var(--accent-text); }
.tval { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; row-gap: 2px; margin-top: 4px; font-size: calc(14.5px * var(--fs)); line-height: 1.5; }
.tval .tl { color: var(--faint); font-size: calc(12.5px * var(--fs)); padding-top: 2px; white-space: nowrap; }
.tval.single { display: block; color: var(--text); }

.phrases { display: flex; flex-direction: column; }
.phrase { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line); }
.phrase:first-child { border-top: 0; padding-top: 0; }
.phrase:last-child { padding-bottom: 0; }
.ptext { flex: 1; min-width: 0; }
.pen { margin: 0; font-size: calc(16.5px * var(--fs)); line-height: 1.45; overflow-wrap: anywhere; }
.pko { margin: 3px 0 0; font-size: calc(14px * var(--fs)); color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }

.tip {
  margin: 14px 0 0; padding: 14px 16px; border-radius: 14px;
  background: var(--accent-soft); color: var(--text); font-size: calc(15px * var(--fs)); line-height: 1.6;
  word-break: keep-all; overflow-wrap: anywhere;
}
.tip b { display: block; color: var(--accent-text); font-size: calc(13px * var(--fs)); margin-bottom: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  display: inline-flex; flex-direction: column; align-items: flex-start; max-width: 100%;
  border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 6px 10px; text-align: left;
}
.chip .e { font-family: var(--mono); font-size: calc(14px * var(--fs)); font-weight: 500; overflow-wrap: anywhere; }
.chip .k { font-size: calc(12px * var(--fs)); color: var(--muted); word-break: keep-all; }
.chip:active { background: var(--surface-2); }

.guide-cta { margin-top: 18px; }
.guide-nav { display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; }
.guide-nav button {
  flex: 1; min-width: 0; border: 1px solid var(--line); background: transparent; border-radius: 12px;
  padding: 10px 12px; font-size: calc(13.5px * var(--fs)); color: var(--muted); word-break: keep-all;
}
.guide-nav .next { text-align: right; }
.guide-nav span { display: block; font-size: calc(11.5px * var(--fs)); color: var(--faint); }

/* 무역 용어 사전 */
.gl-index { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 6px; }
.gl-index button, .gl-index span {
  min-width: 34px; height: 34px; padding: 0 6px; border-radius: 9px; display: grid; place-items: center;
  font-size: calc(14px * var(--fs)); font-weight: 600;
}
.gl-index button { border: 1px solid var(--line); background: var(--surface); color: var(--accent-text); }
.gl-index span { color: var(--track); }
.gl-group .sect { margin-top: 18px; font-size: calc(15px * var(--fs)); color: var(--accent-text); }
.gl-item { background: var(--surface); border-radius: 14px; padding: 14px 16px; box-shadow: var(--shadow); margin-bottom: 8px; scroll-margin-top: 12px; }
.gl-item.flash { outline: 2px solid var(--accent); }
.gl-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.gl-head h3 { margin: 0; font-size: calc(17px * var(--fs)); word-break: keep-all; }
.gl-stage { flex: none; font-size: calc(12px * var(--fs)); color: var(--muted); background: var(--surface-2); border-radius: 6px; padding: 1px 7px; }
.gl-en { margin: 2px 0 0; font-family: var(--mono); font-size: calc(13px * var(--fs)); color: var(--muted); overflow-wrap: anywhere; }
.gl-body { margin: 8px 0 0; font-size: calc(15px * var(--fs)); line-height: 1.65; word-break: keep-all; overflow-wrap: anywhere; }
.gl-item .chips { margin-top: 10px; }

/* 무역 사이트 모음 */
.lk-list { display: flex; flex-direction: column; }
.lk-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--line);
  color: var(--text); text-decoration: none;
}
.lk-item:first-child { border-top: 0; padding-top: 0; }
.lk-item:last-child { padding-bottom: 0; }
.lk-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.lk-text b { font-size: calc(15.5px * var(--fs)); }
.lk-text span { font-size: calc(13.5px * var(--fs)); color: var(--muted); word-break: keep-all; overflow-wrap: anywhere; }
.lk-text .lk-host { font-family: var(--mono); font-size: calc(12px * var(--fs)); color: var(--faint); }
.lk-item svg { width: 18px; height: 18px; color: var(--accent-text); flex: none; }
.lk-item:active { opacity: .7; }
a.sr-guide { color: var(--text); text-decoration: none; }
