/* 감사 원본의 980px 전환점은 유지하고 결산의 읽기 폭·목록만 보정한다. */
.closing-guide .shell { grid-template-columns:260px minmax(0,1fr); }
/* 대장 그림(최대 약 990px)이 1366px 화면부터 잘리지 않게 본문 폭을 맞춘다. */
.closing-guide .doc { max-width:1000px; }
.closing-guide h1 { font-size:28px; }
.closing-guide h2 { font-size:21px; }
.closing-guide .lead.no-thumb { display:block; }
.closing-guide .side-group { margin-top:12px; }
.closing-guide .side-group summary { padding:6px 10px; color:var(--muted); font-size:14px; font-weight:700; cursor:pointer; }
.closing-guide .side a { overflow-wrap:anywhere; }
.closing-guide .lease-start { display:block; margin-top:28px; color:var(--ink); text-decoration:none; }
.closing-guide .lease-start p { margin-bottom:0; }
.closing-guide .legacy-links { margin-top:40px; }
.closing-guide .legacy-links summary { cursor:pointer; }
.closing-guide .legacy-links ul { columns:2; padding-left:22px; }
.closing-guide .legacy-links a { overflow-wrap:anywhere; color:var(--brand); }
.closing-guide .pending { padding:22px; border:1px solid var(--line); border-radius:12px; background:var(--paper); }
.closing-guide .legacy-targets { height:0; }
.closing-guide .pin-stage { position:relative; }
.closing-guide .shot .pic { overflow:auto; }
.closing-guide .shot .tag { float:none; position:static; display:block; margin:0; border-radius:0; }
/* 넘치는 그림은 표 위 제목 줄 오른쪽에 안내한다(표 숫자를 가리지 않게). */
.closing-guide .shot .frame.is-wide .tag::after { content:"옆으로 밀면 더 보입니다 →"; float:right; margin-left:12px; color:#fde68a; font-weight:600; }
.closing-guide ul.rules { margin:10px 0 16px; padding-left:22px; }
.closing-guide details.rules-more { margin:4px 0 16px; padding:8px 14px; border:1px solid var(--line); border-radius:10px; background:var(--paper); }
.closing-guide details.rules-more > summary { cursor:pointer; color:var(--brand); font-weight:700; font-size:.95rem; }
.closing-guide details.rules-more ul.rules { margin:8px 0 4px; }
.closing-guide #walkthrough .flow + .flow { margin-top:28px; }
.closing-guide #walkthrough .flow > h3 { margin:14px 0 10px; font-size:1.08rem; }
.closing-guide .table-wrap { overflow-x:auto; }
.closing-guide ul.carry-points { list-style:none; padding:0; margin:10px 0 16px; display:grid; gap:6px; }
.closing-guide ul.carry-points li { display:grid; grid-template-columns:28px 1fr; gap:8px; }
.closing-guide ul.carry-points .pt { color:var(--brand); font-weight:800; }
.closing-guide table.plain { width:100%; border-collapse:collapse; font-size:.95rem; background:var(--paper); }
.closing-guide table.plain th, .closing-guide table.plain td { border:1px solid var(--line); padding:8px 10px; text-align:left; vertical-align:top; }
.closing-guide table.plain th { background:var(--brand-soft); color:var(--brand); font-weight:800; white-space:nowrap; }
.closing-guide table.plain td a { color:var(--brand); font-weight:700; text-decoration:none; }
/* 결과물 미리보기: 지정한 핵심 칸만 상자에 맞춰 보인다. */
.closing-guide .result-thumb .crop.crop-region { position:relative; height:auto; }
.closing-guide .result-thumb .crop.crop-region img { position:absolute; height:auto; max-width:none; }
/* 작업창(좁은 세로 그림)은 핀 설명을 그림 옆 칸에 — 오른쪽이 비지 않게. */
@media (min-width:981px) {
  .closing-guide .shot.is-pane { display:grid; grid-template-columns:max-content minmax(0,1fr); grid-template-rows:auto 1fr; column-gap:26px; width:100%; align-items:start; }
  .closing-guide .shot.is-pane > .frame { grid-column:1; grid-row:1 / span 2; }
  .closing-guide .shot.is-pane > figcaption { grid-column:2; grid-row:1; margin-top:0; font-weight:700; color:var(--ink); }
  .closing-guide .shot.is-pane > .legend { grid-column:2; grid-row:2; margin-top:8px; align-self:start; position:sticky; top:72px; }
}
.closing-guide ul.rules li { margin:4px 0; }
.closing-guide ul.rules li.rule-group { list-style:none; margin:10px 0 4px -22px; }
.closing-guide ul.rules li.rule-group > ul { margin:4px 0 0; padding-left:22px; }
.closing-guide :focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
@media (max-width:980px) {
  .closing-guide .shell { grid-template-columns:minmax(0,1fr); }
  .closing-guide .top { height:auto; min-height:58px; padding:12px 16px; flex-wrap:wrap; gap:8px 14px; }
  .closing-guide .top span { display:none; }
  .closing-guide .top b { min-width:0; }
  .closing-guide .legacy-links ul { columns:1; }
}
