.hw{padding:72px 0 120px}
.hw-head,.hw-back{max-width:720px}
.hw-mark{display:inline-block}
.hw-mark img{width:160px}
.hw-lead{margin-top:20px;font-size:21px;line-height:1.55;color:var(--ink);text-wrap:pretty}
.hw-sec{margin-top:96px}
.hw-sec > p{margin-top:16px;color:var(--sub);max-width:720px;text-wrap:pretty}
.hw-sub{margin-top:28px;font-size:13px;font-weight:600;color:var(--sub)}
.hw-facts{margin-top:8px;border-top:1px solid var(--line)}
.hw-facts li{padding:10px 0;border-bottom:1px solid var(--line);font-size:15px;display:flex;justify-content:space-between;gap:16px}
.hw-facts li span{color:var(--sub);text-align:right;font-variant-numeric:tabular-nums}
.hw-table{width:100%;margin-top:24px;border-collapse:collapse;font-size:17px}
.hw-table th,.hw-table td{padding:12px 0;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.hw-table thead th{font-size:15px;font-weight:600;color:var(--sub);padding-top:0;padding-right:24px}
.hw-table tbody th{font-weight:500;padding-right:24px;width:13em}
.hw-table td{color:var(--sub)}
.hw-table td.y{white-space:nowrap;padding-right:24px;width:5.5em;font-variant-numeric:tabular-nums}
/* 사진 · 주석 머리와 링크 */
.hw-sec h2.hw-refs-h{font-size:15px;font-weight:600;color:var(--sub)}
.hw-back{margin-top:96px;font-size:17px;font-weight:600}
.hw-back a{color:var(--ink)}
.hw-back a:hover{text-decoration-color:currentColor}

/* 하드웨어 기록의 긴 글 배치: 본문 칸과 장 바로가기. */
.hw2 .hw-layout{display:grid;align-items:start}

.hw-toc-in{position:sticky;top:88px}
.hw-toc ol{margin-top:12px;padding:0;list-style:none;border-left:1px solid var(--line)}
.hw-toc li a{display:block;padding:6px 0 6px 14px;margin-left:-1px;border-left:2px solid transparent;font-size:15px;color:var(--sub)}
.hw-toc li a:hover{color:var(--ink)}
.hw-toc li a[aria-current]{color:var(--ink);font-weight:600;border-left-color:var(--ink)}
.hw2 .hw-sec{max-width:none}
.hw-h3{margin-top:40px;font-size:19px;font-weight:600}
.hw-fig{margin-top:28px}
.hw-fig img{border-radius:8px;background:var(--alt)}
.hw-fig figcaption{margin-top:10px;font-size:13px;line-height:1.5;color:var(--sub)}
.hw-fig figcaption a{text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--line)}
.hw-fig figcaption a:hover{text-decoration-color:currentColor}
/* 사진 묶음 — 자르지 않는다(CC BY-SA). 한 줄에 놓는 사진은 가로세로비(--a = 폭 ÷ 높이)만큼 폭을 나눠 높이를 맞춘다.
   표시 폭 ≤ 원본 폭 ÷ 2(README 그림 규칙): 1600판 ≤ 800 · 1000판 ≤ 500 */
.hw-row{display:flex;gap:16px;margin-top:28px;align-items:flex-start}
.hw-row > .hw-fig{flex:var(--a) 1 0;min-width:0;margin-top:0}
/* 부품으로 보기: 블록도 칸과 같은 이름(굵게)을 캡션 첫머리에 */
.hw-parts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 20px;margin-top:24px;padding:0;list-style:none}
.hw-parts .hw-fig{margin-top:0}
.hw-parts figcaption b{display:block;margin-bottom:2px;font-size:15px;font-weight:600;color:var(--ink)}
.hw-parts .hw-fig-p img{width:56.25%}  /* 세로 사진(3:4)을 옆 칸 가로 사진(4:3)과 같은 높이로: 0.75 × 0.75 */
/* 계보 */
.hw-line{margin-top:24px;padding:0;list-style:none;border-top:1px solid var(--line)}
.hw-line li{display:grid;grid-template-columns:52px 60px minmax(0,1fr);column-gap:16px;padding:18px 0;border-bottom:1px solid var(--line)}
.hw-line .y{font-size:15px;line-height:30px;color:var(--sub);font-variant-numeric:tabular-nums}
.hw-line .m{font-size:17px;line-height:30px;font-weight:600;color:var(--ink)}
.hw-line .d{margin:0;color:var(--sub);text-wrap:pretty}
.hw-line .d .en{display:block;margin-top:4px;font-size:13px;line-height:1.55;color:var(--sub)}
/* 인용 */
/* 블록도 */
.hw-diagram{margin-top:28px}
.hw-diagram svg{display:block;width:100%;height:auto}
.hw-diagram .dg-v{display:none}
.hw-diagram figcaption{margin-top:12px;font-size:13px;color:var(--sub)}
.dg-box{fill:var(--white);stroke:#9aa0a8;stroke-width:1.2}
.dg-host{stroke:var(--ink);stroke-width:1.5}
.dg-dsp{fill:var(--alt);stroke:var(--ink);stroke-width:2}
.dg-mem{fill:var(--alt)}
.dg-io{fill:var(--alt);stroke:none}
.dg-t{font:600 13px var(--sans);fill:var(--ink)}
.dg-big{font-size:16px}
.dg-s,.dg-n{font:500 11px var(--sans);fill:var(--sub)}
.dg-l{fill:none;stroke:var(--ink);stroke-width:1.4}
.dg-ah{fill:var(--ink)}
.dg-by{fill:none;stroke:#9aa0a8;stroke-width:1.2;stroke-dasharray:4 4}
.dg-v .dg-s,.dg-v .dg-n{font-size:12px}
.dg-v .dg-t{font-size:14px}
.dg-v .dg-big{font-size:17px}
/* 표: 알고리즘 · 비교 · 모델 */
.hw-algo{font-size:15px}
.hw-algo td.n{width:4em;font-variant-numeric:tabular-nums;color:var(--sub);padding-right:12px}
.hw-algo tbody th{width:12em;font-weight:600}
.hw-algo th.q{color:var(--sub)}
.hw-cmp{font-size:15px;table-layout:fixed}
.hw-cmp thead th:first-child{width:7em}
.hw-cmp tbody th{width:7em;font-weight:500;color:var(--sub)}
.hw-cmp thead th{color:var(--ink)}
.hw-cmp td{color:var(--ink);padding-right:20px}
.hw-models,.hw-who{font-size:15px}
.hw-models td.y,.hw-who td.y{width:5.5em}
.hw-models tbody th,.hw-who tbody th{width:11.5em;font-weight:600}
.hw-models .k,.hw-who .k{display:block;font-size:13px;font-weight:400;color:var(--sub)}
/* 앞판 구별 · 자주 틀리는 것 */
.hw-ident{margin-top:16px;border-top:1px solid var(--line)}
.hw-ident div{display:grid;grid-template-columns:9em minmax(0,1fr);gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:15px}
.hw-ident dt{font-weight:600}
.hw-ident dd{margin:0;color:var(--sub)}
.hw-preset-list div{grid-template-columns:14em minmax(0,1fr)}
/* 평가 카드: 매체 · 연월 · 필자 → 번역 인용(잉크) → 원문(작게) → 아쉬운 점(선 아래) */
.hw-reviews{display:grid;gap:16px;margin-top:28px}
.hw-review{padding:24px 28px 26px;border-radius:14px;background:var(--alt);font-size:17px;line-height:1.65}
.hw-review h3{font-size:13px;font-weight:600;line-height:1.5;color:var(--sub)}
.hw-review p{margin-top:12px;color:var(--sub);text-wrap:pretty}
.hw-review p.q{margin-top:10px;color:var(--ink)}
.hw-review p.en{margin-top:6px;font-size:14px;line-height:1.55}
.hw-review p.minus{margin-top:18px;padding-top:16px;border-top:1px solid var(--line);color:var(--ink)}
.hw-review p.en + p.q{margin-top:14px}
.hw-review p.minus .en{display:block;margin:2px 0 8px;font-size:13px;line-height:1.55;color:var(--sub)}
.hw-review p.minus .en:last-child{margin-bottom:0}
.hw-review .lb{display:block;margin-bottom:2px;font-size:13px;font-weight:600;color:var(--sub)}
.hw-sec > p.hw-ours{color:var(--ink)}
/* 1장 왜 전설인가: 가는 선 목록(역사 · 바로잡기와 같은 어휘). 「그리고 지금」은 번호 없이 위 선만 진하게 */
.hw-why{margin-top:28px;padding:0;list-style:none;border-top:1px solid var(--line)}
.hw-why li{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:12px;padding:22px 0 24px;border-bottom:1px solid var(--line)}
.hw-why li.now{margin-top:-1px;border-top:1px solid var(--ink)}
.hw-why .n{font-size:15px;line-height:30px;color:var(--sub);font-variant-numeric:tabular-nums}
.hw-why h3{font-size:19px;line-height:30px;font-weight:600;color:var(--ink)}
.hw-why p{margin-top:6px;color:var(--sub);text-wrap:pretty}
.hw-why .go{white-space:nowrap;color:var(--ink)}
.hw-why .go a{font-weight:500;color:var(--ink);text-decoration:underline;text-decoration-color:transparent;text-underline-offset:3px}
.hw-why .go a:hover{text-decoration-color:currentColor}
.hw-sec h2 + .hw-h3{margin-top:28px}
.hw-sec > .hw-table + p{margin-top:28px}
/* 표 제목: 표 위 왼쪽, 작은 머리 */
.hw-table caption{caption-side:top;padding-bottom:10px;text-align:left;font-size:15px;font-weight:600;color:var(--ink)}
.hw-table caption .k{margin-left:6px;font-size:13px;font-weight:400;color:var(--sub)}
.hw-table + .hw-table{margin-top:36px}
/* 알고리즘 표 2: 무리 | 번호 · 이름 */
.hw-group{font-size:15px}
.hw-group tbody th{width:6em;font-weight:600;padding-right:16px}
.hw-group td{color:var(--sub)}
/* 캡션 끝 「사진 n」 → 사진 목록 */
.hw-fig figcaption a.ph{white-space:nowrap;text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:2px}
/* 사진 목록(접지 않음): 하단 © 줄(12px · --sub)보다 작거나 옅지 않게 13px · --sub */
.hw-photos{margin-top:72px}
.hw-photos p{margin-top:8px;max-width:720px;font-size:13px;line-height:1.6;color:var(--body);text-wrap:pretty}
.hw-photos p a{color:var(--sub);text-decoration:underline;text-decoration-color:var(--line);text-underline-offset:2px}
.hw-photos p a:hover{text-decoration-color:currentColor}
.hw-photos span[id]{white-space:nowrap}
.hw-photos + .hw-notes{margin-top:40px}
/* 문단 안 번역 문장 바로 뒤의 영어 원문 한 줄(리뷰 카드의 영어 줄과 같은 꼴) */
.hw-sec > p .en{display:block;margin:6px 0;font-size:15px;line-height:1.55;color:var(--sub)}
.hw-sec p a.in{color:var(--ink);text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line)}
.hw-sec p a.in:hover{text-decoration-color:currentColor}
.hw-sec p a.in{white-space:nowrap}

@media (max-width:1068px){
  .hw2 .hw-head,.hw2 .hw-toc,.hw2 .hw-body{grid-column:1;grid-row:auto}
  .hw-toc{margin-top:32px;max-width:720px}
  .hw-toc-in{position:static}
  .hw-toc ol{margin-top:10px;display:flex;flex-wrap:wrap;gap:8px;border-left:0}
  .hw-toc li a{margin:0;padding:6px 14px;border:0;border-radius:999px;background:var(--alt);font-size:14px;color:var(--ink)}
  .hw-toc li a[aria-current]{font-weight:400}
}
@media (max-width:734px){
  .hw-row{display:block}
  .hw-row > .hw-fig{margin-top:20px}
  .hw-fig-p img{max-width:260px}
  .hw-parts{grid-template-columns:1fr;gap:24px}
  .hw-diagram .dg-h{display:none}
  .hw-diagram .dg-v{display:block;max-width:360px}
  .hw-line li{grid-template-columns:auto minmax(0,1fr);column-gap:10px;row-gap:4px;padding:16px 0}
  .hw-line .d{grid-column:1 / -1}
  .hw-algo,.hw-cmp{font-size:15px}
  .hw-algo,.hw-algo tbody{display:block;width:100%}
  .hw-algo tr{display:grid;grid-template-columns:3em minmax(0,1fr);padding:11px 0;border-bottom:1px solid var(--line)}
  .hw-algo th,.hw-algo td{padding:0;border:0;width:auto}
  .hw-algo tbody td:not(.n){grid-column:2;margin-top:2px}
  .hw-ident div{grid-template-columns:1fr;gap:2px}
  .hw-review{padding:20px 20px 22px;font-size:16px}
  /* 비교 표: 줄마다 파라미터 이름 한 줄 + Layered | Dual 두 칸(칸 위에 이름) */
  .hw-cmp,.hw-cmp tbody{display:block;width:100%}
  .hw-cmp tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
  .hw-cmp th,.hw-cmp td{padding:0;border:0;width:auto}
  .hw-cmp tbody th{grid-column:1 / -1;margin-bottom:6px;color:var(--ink);font-weight:600}
  .hw-cmp td::before{content:attr(data-h);display:block;margin-bottom:2px;font-size:12px;font-weight:600;color:var(--sub)}
  /* 모델 표: 줄마다 「시기 · 모델」 한 줄 + 「무엇이 다른가」 한 줄 */
  /* 좁은 화면 표: 머리 줄은 숨기고(읽기 프로그램에는 남김), 줄마다 칸을 쌓는다 */
  .hw-algo thead,.hw-cmp thead,.hw-models thead,.hw-who thead,.hw-group thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
  .hw-models,.hw-models tbody,.hw-who,.hw-who tbody{display:block;width:100%}
  .hw-models tr,.hw-who tr{display:grid;grid-template-columns:4.6em minmax(0,1fr);column-gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}
  .hw-models th,.hw-models td,.hw-models tbody th,.hw-who th,.hw-who td,.hw-who tbody th{padding:0;border:0;width:auto}
  .hw-models td.y,.hw-who td.y{color:var(--sub)}
  .hw-models .k,.hw-who .k{display:inline;margin-left:4px}
  .hw-models tbody td:not(.y),.hw-who tbody td:not(.y){grid-column:1 / -1;margin-top:4px}
  .hw-group,.hw-group tbody{display:block;width:100%}
  .hw-group caption{display:block}
  .hw-group tr{display:block;padding:11px 0;border-bottom:1px solid var(--line)}
  .hw-group th,.hw-group td{display:block;padding:0;border:0;width:auto}
  .hw-group td{margin-top:2px;font-size:15px}
  .hw-algo caption,.hw-models caption{display:block}
  .hw-why li{padding:18px 0 20px;column-gap:8px;grid-template-columns:22px minmax(0,1fr)}
  .hw-why h3{font-size:19px}
}
/* 주석(논문식) — 본문 위첨자는 작고 회색이라 읽는 흐름을 끊지 않는다. 줄 간격을 바꾸지 않게 line-height 0. */
.fn{font-size:11px;line-height:0;margin-left:1px;font-weight:400;font-variant-numeric:tabular-nums;color:var(--sub)}
.fn a{color:var(--sub);padding:0 1px;border-radius:3px}
/* 누르는 면은 넓히지 않는다(4.12 검사): inline 패딩은 누름 판정에 잡히지 않고, 투명한 ::after(absolute)는 text-wrap:pretty 문단의
   줄바꿈을 바꿨다(같은 CSS 두 번 = 화소 동일, ::after 유무 = 390에서 6구간 · 1440에서 쪽 높이까지 달라짐). */
.fn a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
.fn a:target{color:var(--ink);background:var(--alt)}
.hw-fig figcaption .fn,.hw-diagram figcaption .fn,.hw-sub .fn,.hw-review h3 .fn{font-size:10px}
.hw-fig figcaption .fn a{text-decoration:none}
.hw-notes summary{display:flex;align-items:baseline;gap:8px;cursor:pointer;list-style:none}
.hw-notes summary::-webkit-details-marker{display:none}
.hw-notes summary .c{font-size:13px;color:var(--sub)}
.hw-notes summary::after{content:"";width:7px;height:7px;margin-left:2px;border-right:1.5px solid var(--sub);border-bottom:1.5px solid var(--sub);transform:translateY(-3px) rotate(45deg)}
.hw-notes details[open] summary::after{transform:translateY(1px) rotate(-135deg)}
.hw-notes-list{margin-top:12px;padding:0;list-style:none;border-top:1px solid var(--line)}
.hw-notes-list li{display:grid;grid-template-columns:2.2em minmax(0,1fr);padding:8px 0;border-bottom:1px solid var(--line);font-size:13px;line-height:1.55;color:var(--sub);transition:background-color .6s}
.hw-notes-list li:target{background:var(--alt)}
.hw-notes-list .n{font-weight:600;color:var(--ink);font-variant-numeric:tabular-nums}
.hw-notes-list p{margin:0;min-width:0}
.hw-notes-list .u{display:block;width:fit-content;max-width:100%;overflow-wrap:anywhere;color:var(--sub);text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--line)}
.hw-notes-d{margin-top:6px;font-size:13px;color:var(--sub)}
.hw-notes-list span.u{text-decoration:none}
.hw-notes-list span.u a{color:var(--sub);text-decoration:underline;text-underline-offset:2px;text-decoration-color:var(--line);word-break:break-all}
.hw-notes-list .back{display:inline-block;text-align:center;font-weight:600;color:var(--sub)}
.hw-notes-list .back-m{margin-right:2px;font-weight:600}
.hw-notes-list a:hover{color:var(--ink);text-decoration-color:currentColor}
/* 기사 두 쪽(hardware · story). 색 · 글자 단계는 style.css 한 벌을 쓴다.
   녹색(--hw-accent)은 hardware의 머리말 · 장 번호 · 목차 현재 항목 · 연표 연도 · 1장 → 링크 · 알고리즘 번호 · 블록도에만 쓴다. */

.hw2 .hw-head{grid-column:1/-1;grid-row:1;max-width:none;display:grid;align-items:center;border-bottom:1px solid var(--line)}
.hw .hw-eyebrow{margin-top:0;font-size:12px;font-weight:600;letter-spacing:.12em;color:var(--hw-accent)}
.hw h1{margin-top:14px;text-wrap:initial}
.hw .hw-lead{margin-top:24px;letter-spacing:-.02em;text-wrap:initial}
.hw .hw-cover{margin:0}
.hw .hw-cover img{width:100%}
.hw .hw-cover figcaption{margin-top:12px}
.hw2 .hw-body{grid-column:2;grid-row:2;min-width:0}
.hw2 .hw-toc{grid-column:1;grid-row:2;align-self:stretch;min-width:0;margin:0;max-width:none}
.hw .hw-toc-in{position:sticky;padding:0}
.hw-toc-h{display:flex;justify-content:space-between;align-items:center;font-size:12px;font-weight:600;letter-spacing:.04em;list-style:none;cursor:pointer;color:var(--sub)}
.hw-toc-h::-webkit-details-marker{display:none}
.hw-toc-h span{font-size:16px}
.hw-toc-in[open] .hw-toc-h span{transform:rotate(180deg)}
.hw .hw-toc ol{display:block;margin:18px 0 0;border:0;padding:0;counter-reset:chapters}
.hw .hw-toc li a{display:flex;align-items:baseline;gap:11px;margin:0;border:0;background:transparent;line-height:1.5;color:var(--sub)}
.hw .hw-toc li:not(:last-child) a::before{counter-increment:chapters;content:counter(chapters,decimal-leading-zero);font-size:12px;font-variant-numeric:tabular-nums;color:var(--sub)}
.hw .hw-toc li a[aria-current]{font-weight:600}
.hw .hw-toc li a:hover{background:var(--alt);color:var(--ink)}
.hw2 .hw-sec{border-top:1px solid var(--line)}
.hw2 .hw-sec:first-child{margin-top:0;padding-top:0;border-top:0}
.hw .hw-sec .hw-chapter{margin:0 0 13px;font-weight:600;line-height:1.5}
.hw-chapter span{margin-right:10px;font-variant-numeric:tabular-nums}
.hw-sec h2{letter-spacing:-.03em}
.hw-sec>p,.hw-detail-body>p{margin-top:20px;max-width:42em;text-wrap:pretty}
.hw .hw-h3{letter-spacing:-.02em;line-height:1.5}
.hw .hw-sub{font-size:15px;margin-top:28px;color:var(--ink)}
.hw .hw-why{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;row-gap:0;border:0}
.hw .hw-why li{display:block;position:relative;border-top:1px solid var(--line);border-bottom:0}
.hw .hw-why .n{display:none}
.hw .hw-why h3{line-height:1.5;letter-spacing:-.02em}
.hw .hw-why p{margin-top:10px;color:var(--body);text-wrap:pretty}
.hw .hw-why .go{margin-top:14px;font-size:12px;line-height:1.6;color:var(--hw-accent)}
.hw .hw-why .go a{color:inherit;font-weight:600}
.hw .hw-fig{margin-top:30px}
.hw .hw-fig img{border-radius:2px}
.hw .hw-fig figcaption{font-size:12px;line-height:1.65}
.hw .hw-cover{margin-top:0}
/* 사진 꼴(4.11): 한 장은 칸 폭, 여러 장은 같은 높이 줄. 캡션은 늘 사진 밑. 원본이 작아 「표시 폭 ≤ 원본 ÷ 2」에 걸리는 사진만 --w로 폭을 묶는다 */
.hw .hw-fig img{max-width:min(var(--w,800px),100%)}  /* 기본 800 = 1600판 ÷ 2 */
.hw .hw-row>.hw-fig{margin-top:0}
.hw .hw-parts{gap:28px 22px}
.hw .hw-parts .hw-fig{margin-top:0}
/* 부품 사진: 두 장씩 같은 높이 줄. 세로 사진(딜레이 메모리 780판)이 있는 줄은 폭을 36 : 64로 나눠 높이를 맞춘다(3:4 · 4:3, 0.36 × 4/3 ≈ 0.64 × 3/4) */
.hw ul.hw-parts{display:flex;flex-wrap:wrap}
.hw .hw-parts>li{flex:0 0 calc((100% - 22px) * var(--f,.5));min-width:0}
.hw .hw-parts .hw-fig-p img{width:100%}
.hw .hw-line{margin-top:30px}
.hw .hw-line li{grid-template-columns:52px 64px minmax(0,1fr);padding:22px 0}
.hw .hw-line.hw-chrono li{grid-template-columns:52px 120px minmax(0,1fr)}
.hw .hw-line .d{font-size:15px;line-height:1.85;color:var(--body)}
.hw .hw-line .y{color:var(--hw-accent);font-weight:600}
.hw .hw-reviews{gap:0;margin-top:28px;border-top:1px solid var(--line)}
.hw .hw-review{border-radius:0;background:transparent;border-bottom:1px solid var(--line)}
.hw .hw-review h3{font-size:12px;font-weight:400}
.hw .hw-review>p.q{letter-spacing:-.02em;margin-top:14px;color:var(--ink)}
.hw .hw-review>p.hw-review-caveat{margin-top:10px;font-size:13px;line-height:1.7;color:var(--sub)}
.hw-expand{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.hw-expand>summary{position:relative;display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 20px;cursor:pointer;font-weight:600;list-style:none;line-height:1.65}
.hw-expand>summary::-webkit-details-marker{display:none}
.hw-expand>summary::after{content:'+';position:absolute;right:3px;top:16px;font-size:22px;line-height:1.3;font-weight:400;color:var(--sub)}
.hw-expand[open]>summary::after{content:'−'}
.hw-expand>summary:hover{color:var(--ink)}
.hw-expand-meta{font-weight:400;color:var(--sub)}
.hw-review-detail{border:0;margin-top:14px}
.hw-review-detail>summary{font-size:12px;font-weight:600;padding:4px 24px 4px 0;width:fit-content;color:var(--sub)}
.hw-review-detail>summary::after{top:2px;font-size:16px;right:0}
.hw-review-detail p{font-size:15px;color:var(--body)}
.hw .hw-review-detail p.en{font-size:13px}
.hw .hw-review-detail p.q{font-size:17px;color:var(--ink)}
.hw .hw-review-detail p.minus{color:var(--ink)}
.hw-detail-body{padding-bottom:28px}
.hw .hw-table{line-height:1.75;margin-top:28px}
.hw .hw-table thead th{padding:11px 12px;font-size:12px;letter-spacing:.01em;border-top:1px solid var(--line);color:var(--sub)}
.hw .hw-table tbody th{width:12em;font-weight:600;color:var(--ink)}
.hw .hw-table td{color:var(--body)}
.hw .hw-table caption{font-size:13px;padding-bottom:12px}
.hw .hw-table .k{font-size:12px}
.hw .hw-algo td.n{width:4em;font-size:13px;color:var(--hw-accent)}
.hw .hw-group tbody th{width:6em}
.hw .hw-diagram figcaption{line-height:1.7}
.hw-diagram .dg-box{fill:#fff;stroke:#c7d3c6;stroke-width:1.2}
.hw-diagram .dg-host{fill:#f0f5ef;stroke:#a8bea8;stroke-width:1.5}
.hw-diagram .dg-dsp{fill:#e5efe3;stroke:#557758;stroke-width:1.7}
.hw-diagram .dg-mem{fill:#f8fbf7;stroke:#a9bdaa}
.hw-diagram .dg-io{fill:#e7efe5;stroke:none}
.hw-diagram .dg-note{fill:#f7f9f5}
.hw-diagram .dg-k{font:600 10px var(--sans);letter-spacing:.08em;fill:#58745a}
.hw-diagram .dg-t{font:600 13px var(--sans);fill:#29392d}
.hw-diagram .dg-big{font-size:17px}
.hw-diagram .dg-s,.hw-diagram .dg-n{font:400 10.5px var(--sans);fill:#657368}
.hw-diagram .dg-l{fill:none;stroke:#5c785f;stroke-width:1.35;stroke-linecap:round;stroke-linejoin:round}
.hw-diagram .dg-ctl{stroke:#8ca58e}
.hw-diagram .dg-ah{fill:#5c785f}
.hw-diagram .dg-by{fill:none;stroke:#9eafa0;stroke-width:1.3;stroke-dasharray:4 5;stroke-linecap:round;stroke-linejoin:round}
.hw-diagram .dg-by-label{font-size:10px}
.hw-diagram .dg-v .dg-t{font-size:13px}
.hw-diagram .dg-v .dg-big{font-size:17px}
.hw-diagram .dg-v .dg-s,.hw-diagram .dg-v .dg-n{font-size:10.5px}
.hw2 .hw-photos{margin-top:40px;padding-top:0;border-top:0}
.hw2 .hw-notes{margin-top:32px;padding-top:24px}
.hw .hw-refs-h{font-size:15px}
.hw .hw-photos p{font-size:13px;line-height:1.85}
.hw .hw-notes-list li{padding:12px 0}
.hardware-page footer{border-top:1px solid var(--line);background:var(--alt);padding-top:52px}

@media(max-width:1068px){
  .hw.hw2{padding-top:36px}
  .hw2 .hw-layout{display:grid}
  .hw2 .hw-head{grid-column:1;grid-row:1}
  .hw .hw-eyebrow{margin-top:24px}
  .hw2 .hw-toc{grid-column:1;grid-row:2;position:sticky;z-index:8;border-bottom:1px solid var(--line)}
  .hw-toc-h{padding:15px 0;color:var(--ink);font-size:13px}
  .hw .hw-toc ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 16px;margin:0;padding:0 0 14px}

  .hw2 .hw-body{grid-column:1;grid-row:3}
}
@media(max-width:700px){
  .hw .wrap{padding:0 20px}

  .hw .hw-eyebrow{margin-top:0}
  .hw h1{margin-top:12px}

  .hw .hw-cover{max-width:480px;width:100%}
  .hw-sec h2{letter-spacing:-.03em}

  .hw .hw-why .go{margin-top:10px}
  .hw .hw-row>.hw-fig{margin-top:20px}
  .hw .hw-line li{grid-template-columns:48px minmax(0,1fr);padding:18px 0}
  .hw .hw-line.hw-chrono li{grid-template-columns:48px minmax(0,1fr)}
  .hw .hw-line .d{grid-column:1/-1}
  .hw .hw-expand-meta{flex-basis:100%}
  .hw .hw-diagram .dg-v{margin:0 auto}
}
@media(max-width:734px){
  .hw .hw-fig-p img{max-width:260px}  /* 780판 세로 사진: 한 칸으로 풀릴 때도 ÷ 2(390) 안 */
  .hw .hw-parts>li{flex-basis:100%}
  .hw ul.hw-parts{gap:24px}
  .hw .hw-table tbody th,.hw .hw-table tbody td{width:auto;border:0}
  .hw .hw-table tbody tr{padding:16px 0}
  .hw .hw-algo tbody td:not(.n){margin-top:4px}
  .hw .hw-models .k,.hw .hw-who .k{display:block;margin-left:0;font-size:12px}
  .hw .hw-models tbody td:not(.y),.hw .hw-who tbody td:not(.y){margin-top:8px;line-height:1.8}
  .hw .hw-table td.y{padding-right:0}
}

/* Archive edition: shared site palette; clear article hierarchy. */
.hardware-page{background:var(--paper);--hw-accent:var(--accent)}
.hardware-page .nav{background:rgba(247,248,246,.95)}
.hw.hw2{padding:64px 0 80px;font-size:16px;line-height:1.85}
.hw2 .hw-layout{max-width:1264px;grid-template-columns:180px minmax(0,1fr);column-gap:72px}
.hw2 .hw-head{grid-template-columns:1fr 1.05fr;gap:64px;padding-bottom:56px;margin-bottom:48px}
.hw-head-copy{padding:0}
.hw h1{font-size:clamp(42px,4.2vw,58px);letter-spacing:-.045em;line-height:1.15;font-weight:500}
.hw .hw-lead{font-size:18px;line-height:1.85;color:var(--body);max-width:28em}
.hw .hw-cover img{border-radius:4px}
.hw .hw-cover figcaption{font-size:11px;line-height:1.7}
.hw2 .hw-body{max-width:800px}
.hw .hw-toc-in{top:110px}
.hw .hw-toc li a{padding:9px 0;border-radius:0;font-size:13px}
.hw .hw-toc li:not(:last-child) a::before{display:none}
.hw .hw-toc li:last-child a{padding-left:0}
.hw .hw-toc li a[aria-current]{background:none;color:var(--accent)}
.hw2 .hw-sec{margin-top:60px;padding-top:32px;scroll-margin-top:12px}
.hw .hw-sec .hw-chapter{font-size:11px;letter-spacing:.06em;margin-bottom:12px;color:var(--accent)}
.hw-chapter span{display:none}
.hw-sec h2{font-size:30px;font-weight:550;line-height:1.35;text-wrap:initial}
.hw-sec>p,.hw-detail-body>p{font-size:16px;color:var(--body);line-height:1.9}
.hw .hw-h3{font-size:19px;margin-top:28px}
.hw .hw-why{gap:0 30px;margin-top:22px}
.hw .hw-why li{padding:22px 0}
.hw .hw-why h3{font-size:18px;font-weight:600}
.hw .hw-why p{font-size:14px;line-height:1.85}
.hw .hw-why .go{display:none}
.hw .hw-review>p.q{font-size:20px;line-height:1.65;font-weight:450;max-width:33em}
.hw .hw-review{padding:24px 0}
.hw .hw-table tbody th,.hw .hw-table tbody td{padding:13px 10px}
.hw .hw-table{font-size:14px}
.hw .hw-table thead th{background:#eaf0ef}
.hw .hw-table tbody tr:hover{background:#edf2f1}
.hw-expand{margin-top:24px;border-color:var(--line)}
.hw-expand>summary{font-size:14px;padding:18px 30px 18px 0}
.hw-expand-meta{font-size:11px}
.hw-detail-body>.hw-table:first-child{margin-top:8px}
.hw-detail-body>p:first-child{margin-top:8px}
.hw-detail-body>.hw-h3:first-child{margin-top:6px}
.hw .hw-diagram{background:#edf2ef;border:0;border-radius:5px;padding:26px 22px 20px}
.hw .hw-diagram figcaption{font-size:11px}
.hw :is(section,figure,h3,li[id],span[id],a[id]){scroll-margin-top:12px}
.hw .hw-toc-h{font-size:12px;font-weight:500}
.hardware-page .site-footer{background:var(--paper);padding:48px 0 26px}
@media(max-width:1068px){
 .hw2 .hw-layout{grid-template-columns:1fr;max-width:900px;gap:0}
 .hw2 .hw-head{grid-template-columns:1fr 1fr;gap:32px;margin-bottom:0}
 .hw2 .hw-toc{top:76px;background:var(--paper);margin-bottom:36px}
 .hw .hw-toc-in{position:static}.hw .hw-toc li a{padding:8px 10px}.hw .hw-toc li:last-child a{padding-left:10px}
 .hw2 .hw-body{max-width:none}.hw .hw-toc li a[aria-current]{background:#e6eeec}
 .hw :is(section,figure,h3,li[id],span[id],a[id]){scroll-margin-top:60px}
}
@media(max-width:800px){.hw2 .hw-toc{top:68px}.hw.hw2{padding-top:40px}.hw2 .hw-layout{padding-left:24px;padding-right:24px}}
@media(max-width:700px){
 .hw2 .hw-head{grid-template-columns:1fr;gap:26px;padding-bottom:28px}.hw h1{font-size:42px}.hw .hw-lead{font-size:16px;margin-top:20px}
 .hw2 .hw-sec{margin-top:44px;padding-top:28px}
 .hw-sec h2{font-size:26px}.hw-sec>p,.hw-detail-body>p{font-size:15px;line-height:1.85}
 .hw .hw-why{display:block;margin-top:18px}.hw .hw-why h3{font-size:19px}.hw .hw-why p{font-size:15px}
 .hw .hw-review>p.q{font-size:18px}.hw .hw-diagram{padding:18px 8px}
 .hw .hw-table tbody th,.hw .hw-table tbody td{padding:0}
 .hw .hw-table tbody tr{padding:14px 0}.hw .hw-table{font-size:14px}
}
@media(max-width:520px){.hw2 .hw-toc{top:64px}.hw2 .hw-layout{padding-left:22px;padding-right:22px}.hw.hw2{padding-top:32px}.hw .hw-cover figcaption{font-size:10px}.hw .hw-toc ol{gap:0 12px}.hw .hw-toc li a{font-size:12px}}

.hw-notes-list .back{min-width:24px;min-height:24px;line-height:1.7;padding:1px 4px}
.hw-notes-list .back-m .back{min-width:20px;min-height:24px;line-height:1.7;vertical-align:baseline;font-size:12px}

/* 사용 기록: 본문에 보이는 대표 사례 셋 */
.hw-cases{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;margin:26px 0 22px;padding:0;list-style:none}.hw-cases li{border-top:1px solid var(--line);padding-top:14px;min-width:0}.hw-cases .y{font-size:11px;color:var(--sub);letter-spacing:.04em;font-variant-numeric:tabular-nums}.hw-cases strong{display:block;font-size:17px;font-weight:600;letter-spacing:-.02em;margin-top:8px;line-height:1.35}.hw-sec .hw-cases p{font-size:13.5px;line-height:1.7;color:var(--body);margin-top:8px;max-width:none}@media(max-width:700px){.hw-cases{grid-template-columns:1fr;gap:18px;margin-top:20px}}
