/* Static tool layer (G-static): readable without JavaScript. Site tokens only;
   fonts are inherited from the site. Status colours follow the prepaid tool. */
.tool-static-example, .tool-static > section { margin-top: 32px; }
.tool-static-example > h2, .tool-static h2 { margin-bottom: 12px; }
.tool-static h3 { margin: 20px 0 6px; font-size: 1rem; }
.tool-static-example h3 { margin: 0 0 8px; font-size: 1rem; }
.tool-static-example h4 { margin: 16px 0 6px; font-size: .9375rem; color: var(--ink-2); }
.tool-static p, .tool-static li { color: var(--ink-2); }
.tool-static ol, .tool-static ul, .tool-static-example ol { padding-left: 1.4em; }
.tool-static li + li { margin-top: 4px; }
.tool-static-note { margin: 8px 0 0; color: var(--muted); font-size: .875rem; }
.tool-static-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 12px; }
.tool-static-pane { min-width: 0; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.tool-static-scroll { overflow-x: auto; max-width: 100%; margin: 8px 0; }
.tool-static-table { width: 100%; border-collapse: collapse; font-size: .875rem; text-align: left; font-variant-numeric: tabular-nums; }
.tool-static-table caption { text-align: left; color: var(--muted); }
.tool-static-table th, .tool-static-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; overflow-wrap: anywhere; }
.tool-static-table th { background: var(--tint); color: var(--ink); font-weight: 600; }
.tool-static-table .num { text-align: right; white-space: nowrap; }
.tool-static-table tr[data-status="matched"], .tool-static-table tr[data-status="added"] { background: var(--accent-soft); color: var(--ink); }
.tool-static-table tr[data-status="unpaid"], .tool-static-table tr[data-status="removed"] { background: var(--warn-soft); color: var(--warn); }
.tool-static-table tr[data-status="mismatch"] { background: var(--warn); color: var(--surface); }
.tool-static-table tr[data-status="unknown"], .tool-static-table tr[data-status="check"], .tool-static-table tr[data-status="address"] { background: var(--tint); color: var(--ink-2); }
.tool-static-paste { margin: 0; padding: 12px; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--tint); color: var(--ink); font-size: .875rem; white-space: pre-wrap; overflow-wrap: anywhere; tab-size: 4; }
@media (max-width: 700px) {
  .tool-static-pair { grid-template-columns: minmax(0, 1fr); }
  .tool-static-pane { padding: 12px; }
  .tool-static-table th, .tool-static-table td { padding: 6px 5px; }
  /* Keep Korean words whole; wide tables scroll inside .tool-static-scroll instead of breaking per letter. */
  .tool-static-table { width: max-content; min-width: 100%; }
  .tool-static-table th, .tool-static-table td { overflow-wrap: normal; word-break: keep-all; }
  .tool-static-table td:last-child { min-width: 9em; }
}
/* Real outputs of the tool, shown right under the hero. */
.tool-static-result { margin: 0 0 2rem; }
.tool-static-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 1rem; align-items: start; }
.tool-static-figures figure { margin: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); padding: .75rem; }
.tool-static-figures img { display: block; width: 100%; height: auto; border-radius: 6px; background: var(--tint); }
.tool-static-figures figcaption { margin-top: .5rem; color: var(--ink-2); font-size: .9rem; }
.tool-static-figures figure.wide { grid-column: 1 / -1; }
