/* 레이아웃 7 — 작업 일지형: 콘크리트 회색 + 형광 주황, IBM Plex Sans KR + IBM Plex Mono */
:root {
  --bg: #E3E2DE; --card: #F4F3F0; --ink: #1B1C1E; --ink2: #44464A; --muted: #7C7E80; --line: #C9C8C3; --rail: #2A2B2E;
  --hi: #FF5A1A; --hi-d: #D94408; --hi-soft: #FFE3D6;
  --sans: 'IBM Plex Sans KR', -apple-system, BlinkMacSystemFont, 'Malgun Gothic', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 15px/1.65 var(--sans); word-break: keep-all; overflow-wrap: anywhere; overflow-x: hidden; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
img { display: block; max-width: 100%; }
.ic { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 머리글 */
.wl-top { background: var(--rail); color: #EDEDEA; }
.wl-top__in { max-width: 1120px; margin: 0 auto; padding: 0 24px; height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.wl-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; min-width: 0; }
.wl-brand .brand__mark { width: 24px; height: 24px; color: var(--hi); }
.wl-brand__n { font-weight: 700; font-size: 16px; white-space: nowrap; }
.wl-brand__s { font: 500 12px/1 var(--mono); color: #9A9C9F; padding: 4px 6px; border: 1px solid #4A4C50; white-space: nowrap; }
.wl-nav { display: flex; }
.wl-nav__a { padding: 8px 12px; font-size: 14px; text-decoration: none; color: #B9BBBE; white-space: nowrap; }
.wl-nav__a:hover { color: #fff; }
.wl-nav__a.is-on { color: #fff; box-shadow: inset 0 -3px 0 var(--hi); }

.wl-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px 96px; }

/* 머리 소개 */
.wl-intro { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding: 56px 0 32px; border-bottom: 2px solid var(--ink); }
.wl-intro__k, .wl-post__stamp b, .wl-cta__k, .wl-foot__k { font: 600 12px/1 var(--mono); letter-spacing: .12em; color: var(--hi-d); }
.wl-intro__t { margin-top: 12px; font-size: 38px; line-height: 1.3; font-weight: 700; letter-spacing: -0.02em; }
.wl-intro__l { margin-top: 12px; max-width: 560px; color: var(--ink2); font-size: 16px; }
.wl-stat { display: flex; gap: 0; border: 1px solid var(--ink); background: var(--card); }
.wl-stat div { padding: 12px 18px; border-left: 1px solid var(--line); }
.wl-stat div:first-child { border-left: 0; }
.wl-stat dt { font-size: 12px; color: var(--muted); }
.wl-stat dd { font: 600 24px/1.2 var(--mono); }
.wl-stat small { font: 400 13px var(--sans); margin-left: 2px; color: var(--muted); }

/* 거르기 */
.wl-filter { display: grid; grid-template-columns: 1fr 240px; gap: 12px 20px; align-items: center; padding: 20px 0 8px; }
.wl-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.wl-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--line); background: var(--card); font-size: 14px; text-decoration: none; color: var(--ink2); }
.wl-chip span { font: 500 11.5px/1 var(--mono); color: var(--muted); }
.wl-chip:hover { border-color: var(--ink); }
.wl-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.wl-chip.is-on span { color: var(--hi); }
.wl-search { display: flex; align-items: center; gap: 8px; padding: 0 10px; height: 38px; border: 1px solid var(--line); background: var(--card); color: var(--muted); }
.wl-search:focus-within { border-color: var(--ink); }
.wl-search__in { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; color: var(--ink); font-size: 14px; }
.wl-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.wl-tag { font: 500 13px/1.6 var(--mono); color: var(--muted); text-decoration: none; }
.wl-tag:hover { color: var(--ink); }
.wl-tag.is-on { color: var(--hi-d); text-decoration: underline; text-underline-offset: 3px; }
.wl-sum { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; padding: 10px 14px; background: var(--ink); color: #fff; font-size: 14px; }
.wl-sum span { font: 600 11px/1 var(--mono); color: var(--hi); letter-spacing: .1em; }
.wl-sum a { margin-left: auto; color: #fff; }
.wl-empty { padding: 48px 0; color: var(--muted); }

/* 시간선 */
.wl-line { position: relative; list-style: none; padding: 28px 0 0; }
.wl-line::before { content: ''; position: absolute; left: 151px; top: 0; bottom: 18px; width: 2px; background: var(--rail); }
.wl-node { position: relative; display: grid; grid-template-columns: 132px 40px 1fr; align-items: start; }
.wl-date { text-align: right; padding-top: 14px; display: flex; flex-direction: column; align-items: flex-end; }
.wl-date__d { font: 600 46px/1 var(--mono); letter-spacing: -0.04em; }
.wl-date__m { margin-top: 6px; font-size: 13.5px; color: var(--ink2); }
.wl-date__n { margin-top: 4px; font: 500 11.5px/1 var(--mono); color: var(--muted); }
.wl-dot { justify-self: center; margin-top: 24px; width: 16px; height: 16px; border-radius: 50%; background: var(--bg); border: 3px solid var(--rail); position: relative; z-index: 1; }
.wl-node:first-child .wl-dot { background: var(--hi); border-color: var(--hi); box-shadow: 0 0 0 5px rgba(255,90,26,.22); }
.wl-card { display: grid; grid-template-columns: 1fr 230px; gap: 24px; align-items: start; padding: 20px 22px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--rail); text-decoration: none; transition: border-color .15s; }
.wl-card:hover { border-left-color: var(--hi); }
.wl-card__txt { display: flex; flex-direction: column; min-width: 0; }
.wl-site { align-self: flex-start; display: inline-block; padding: 3px 8px; background: var(--hi-soft); color: var(--hi-d); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.wl-card__t { margin-top: 10px; font-size: 21px; line-height: 1.4; font-weight: 700; letter-spacing: -0.02em; }
.wl-card:hover .wl-card__t { text-decoration: underline; text-decoration-color: var(--hi); text-underline-offset: 4px; }
.wl-card__l { margin-top: 8px; font-size: 15px; color: var(--ink2); }
.wl-card__m { margin-top: 12px; font: 500 12.5px/1.5 var(--mono); color: var(--muted); }
.wl-card__img { width: 230px; height: auto; aspect-ratio: 3 / 2; object-fit: cover; filter: saturate(.85); }
.wl-gap { list-style: none; padding: 10px 0 10px 172px; font: 500 12px/1 var(--mono); color: var(--muted); position: relative; }
.wl-gap::before { content: '+'; position: absolute; left: 146px; top: 9px; width: 12px; text-align: center; color: var(--rail); background: var(--bg); font-weight: 700; }
.wl-start { padding: 18px 0 0 132px; }
.wl-start span { display: inline-block; margin-left: 4px; padding: 4px 10px; font: 600 11.5px/1 var(--mono); background: var(--rail); color: #fff; letter-spacing: .06em; }

/* 버튼 */
.wl-btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 20px; background: var(--hi); color: #160A04; border: 2px solid var(--hi); font-size: 14.5px; font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap; }
.wl-btn:hover { background: var(--hi-d); border-color: var(--hi-d); color: #fff; }
.wl-btn--line { background: transparent; border-color: currentColor; color: inherit; }
.wl-btn--line:hover { background: rgba(127,127,127,.15); border-color: currentColor; color: inherit; }
.wl-btn--block { width: 100%; }

/* 글 보기 */
.wl-post, .wl-page { max-width: 760px; margin: 0 auto; padding: 36px 24px 96px; }
.wl-back { font: 500 13px/1 var(--mono); color: var(--muted); text-decoration: none; }
.wl-back:hover { color: var(--ink); }
.wl-post__head { margin-top: 28px; }
.wl-post__stamp { display: flex; flex-wrap: wrap; gap: 12px; align-items: baseline; font: 500 14px/1.4 var(--mono); color: var(--ink2); margin-top: 28px; }
.wl-post__head .wl-post__stamp { margin-top: 0; margin-bottom: 14px; }
.wl-post__t { margin-top: 12px; font-size: 34px; line-height: 1.35; font-weight: 700; letter-spacing: -0.03em; }
.wl-post__m { margin-top: 10px; font-size: 14px; color: var(--muted); }
.wl-steps { margin-top: 28px; padding: 16px 18px; background: var(--rail); color: #D9DADC; }
.wl-steps__k { font-size: 12.5px; color: #9A9C9F; display: flex; gap: 8px; }
.wl-steps__k span { font: 600 11px/1.6 var(--mono); color: var(--hi); letter-spacing: .1em; }
.wl-steps ol { list-style: none; padding: 0; margin-top: 10px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.wl-steps li { padding: 8px 8px 6px; border-top: 4px solid #6D6F73; font-size: 13px; line-height: 1.4; }
.wl-steps li span { display: block; font: 500 11px/1 var(--mono); color: #8C8E91; margin-bottom: 4px; }
.wl-steps li.is-cur { border-top-color: var(--hi); color: #fff; font-weight: 700; }
.wl-strip { margin-top: 18px; display: flex; align-items: center; gap: 14px; }
.wl-strip__k { font: 500 12px/1 var(--mono); color: var(--muted); white-space: nowrap; }
.wl-strip ol { list-style: none; padding: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; position: relative; }
.wl-strip ol::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--line); }
.wl-strip li { position: relative; }
.wl-strip a { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--ink2); }
.wl-strip a:hover { border-color: var(--hi); }
.wl-strip a.is-on { background: var(--hi); border-color: var(--hi); transform: scale(1.3); }
.wl-fig { margin-top: 32px; }
.wl-fig img { width: 100%; height: auto; }
.wl-fig figcaption { margin-top: 8px; font: 500 12px/1.4 var(--mono); color: var(--muted); }
.wl-prose { margin-top: 36px; font-size: 17px; line-height: 1.9; counter-reset: sec; }
.wl-prose > * + * { margin-top: 1.1em; }
.wl-prose h2 { counter-increment: sec; margin-top: 2.2em; padding-top: 14px; border-top: 1px solid var(--line); font-size: 21px; line-height: 1.45; font-weight: 700; }
.wl-prose h2::before { content: '§ ' counter(sec, decimal-leading-zero); display: block; font: 600 12px/1 var(--mono); color: var(--hi-d); margin-bottom: 8px; letter-spacing: .06em; }
.wl-prose h3 { font-size: 18px; margin-top: 1.7em; }
.wl-prose h2 + *, .wl-prose h3 + * { margin-top: .6em; }
.wl-prose ul, .wl-prose ol { padding-left: 1.3em; }
.wl-prose li::marker { color: var(--hi-d); font-family: var(--mono); }
.wl-prose strong { box-shadow: inset 0 -.45em 0 var(--hi-soft); }
.wl-prose a { color: var(--hi-d); }
.wl-tags--post { margin-top: 36px; }
.wl-cta { margin-top: 44px; padding: 26px 26px 28px; background: var(--card); border: 2px solid var(--ink); }
.wl-cta__t { margin-top: 10px; font-size: 21px; font-weight: 700; line-height: 1.4; }
.wl-cta__s { margin: 8px 0 18px; color: var(--ink2); }
.wl-pn { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wl-pn__a, .wl-pn__none { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); background: var(--card); text-decoration: none; }
.wl-pn__a span, .wl-pn__none { font: 500 12px/1.4 var(--mono); color: var(--muted); }
.wl-pn__a b { font-size: 16px; line-height: 1.45; }
.wl-pn__a:hover { border-color: var(--hi); }
.wl-pn__a--r { text-align: right; }
.wl-pn__none { justify-content: center; background: transparent; border-style: dashed; }

/* 의뢰서 */
.wl-page__s { margin-top: 8px; color: var(--ink2); }
.wl-from { margin-top: 18px; padding: 10px 14px; border-left: 4px solid var(--hi); background: var(--card); font-size: 14.5px; }
.wl-from span { display: block; font: 500 11.5px/1.4 var(--mono); color: var(--muted); }
.wl-form { margin-top: 28px; }
.wl-form__grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--ink); border-left: 1px solid var(--line); background: var(--card); }
.wl-form__row { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.wl-form__row--wide { grid-column: 1 / -1; }
.wl-form__row > span { font-size: 13px; font-weight: 700; color: var(--ink2); }
.wl-form__row b { font: 600 11.5px/1 var(--mono); color: var(--hi-d); margin-right: 8px; }
.wl-field { width: 100%; padding: 6px 0; border: 0; background: transparent; outline: none; font-size: 16px; color: var(--ink); }
textarea.wl-field { resize: vertical; }
.wl-form__row:focus-within { background: #fff; box-shadow: inset 3px 0 0 var(--hi); }
.wl-err { min-height: 1.4em; margin: 12px 0 8px; color: #B3260B; font-size: 14px; }
.wl-hint { margin-top: 12px; font-size: 13px; color: var(--muted); }
.wl-ticket { margin-top: 20px; display: inline-block; padding: 10px 16px; border: 2px dashed var(--ink); font-size: 14px; }
.wl-ticket b { font: 600 20px/1 var(--mono); color: var(--hi-d); margin-left: 6px; letter-spacing: .06em; }
.wl-thanks__btns { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }

/* 바닥글 */
.wl-foot { background: var(--rail); color: #A9ABAE; }
.wl-foot__in { max-width: 1120px; margin: 0 auto; padding: 36px 24px 44px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; font-size: 14px; }
.wl-foot__k { color: var(--hi); }
.wl-foot .wl-btn--line { color: #E4E5E7; padding: 9px 16px; font-size: 13.5px; }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 16px); max-width: calc(100% - 32px); padding: 11px 18px; background: var(--ink); color: #fff; border-left: 4px solid var(--hi); font-size: 14px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 860px) {
  .wl-intro { grid-template-columns: 1fr; gap: 20px; }
  .wl-filter { grid-template-columns: 1fr; }
  .wl-card { grid-template-columns: 1fr; }
  .wl-card__img { width: 100%; order: -1; }
  .wl-foot__in { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 560px) {
  .wl-top__in { padding: 0 16px; }
  .wl-brand__s { display: none; }
  .wl-nav__a { padding: 8px 8px; font-size: 13.5px; }
  .wl-wrap { padding: 0 16px 72px; }
  .wl-intro { padding: 36px 0 22px; }
  .wl-intro__t { font-size: 27px; }
  .wl-intro__l { font-size: 15px; }
  .wl-stat div { padding: 10px 12px; flex: 1; }
  .wl-stat dd { font-size: 19px; }
  .wl-line::before { left: 7px; }
  .wl-node { grid-template-columns: 1fr; padding-left: 30px; }
  .wl-dot { position: absolute; left: 0; top: 0; margin-top: 6px; }
  .wl-date { flex-direction: row; align-items: baseline; gap: 8px; text-align: left; padding-top: 0; margin-bottom: 8px; }
  .wl-date__d { font-size: 26px; }
  .wl-date__m, .wl-date__n { margin-top: 0; }
  .wl-card { padding: 16px; }
  .wl-card__t { font-size: 18px; }
  .wl-gap { padding: 10px 0 10px 30px; }
  .wl-gap::before { left: 2px; }
  .wl-start { padding: 18px 0 0; }
  .wl-post, .wl-page { padding: 28px 16px 72px; }
  .wl-post__t { font-size: 26px; }
  .wl-steps ol { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .wl-strip { flex-direction: column; align-items: stretch; gap: 10px; }
  .wl-prose { font-size: 16.5px; }
  .wl-pn { grid-template-columns: 1fr; }
  .wl-pn__a--r { text-align: left; }
  .wl-form__grid { grid-template-columns: 1fr; }
}
