/* Shared figure and table standard for Perspectives (Lee, 2 Dec 2026: "standardize our layout of figures and tables").
   Tables: wrap in <div class="tbl"> with p.tbl__title, table.nums (th.n / td.n for numbers, tr.total), p.tbl__note.
   Human-in-the-loop block: <section class="hitl"> shows how people check the AI's doubtful plots (Check a plot),
   the same way in every article: AI first read -> two independent human reads -> call stands, changes, or stays doubtful. */

.tbl { background: #fff; border: 1px solid #dfe4de; border-radius: 6px; margin: 1.6rem 0; overflow-x: auto; box-shadow: 0 1px 3px rgba(20,64,44,0.06); }
.prose .tbl__title, .tbl__title { font: 600 0.95rem/1.3 Spectral, serif; color: #14402c; padding: 0.75rem 1rem 0.6rem; margin: 0; max-width: none; }
.prose table.nums, table.nums { width: 100%; border-collapse: collapse; font: 400 0.86rem/1.35 Inter, sans-serif; margin: 0; display: table; }
.prose table.nums th, .prose table.nums td { padding: 0.5rem 0.75rem; text-align: left; vertical-align: top; border: 0; }
.prose table.nums thead th { background: #14402c; color: #fff; font-weight: 600; font-size: 0.78rem; line-height: 1.25; vertical-align: bottom; }
.prose table.nums thead th span { display: block; font-weight: 400; opacity: 0.75; }
.prose table.nums tbody td { border-top: 1px solid #edf0ec; }
.prose table.nums tbody tr:nth-child(even) td { background: #f7f9f6; }
.prose table.nums tbody td:first-child { font-weight: 600; color: #14402c; }
.prose table.nums td.n, .prose table.nums th.n { font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.prose table.nums td small { display: block; font-size: 0.74rem; font-weight: 400; color: var(--ink-mute); white-space: normal; }
.prose table.nums tr.total td { background: #e8efe9 !important; border-top: 2px solid #14402c; font-weight: 700; color: #14402c; }
.prose .tbl__note, .tbl__note { font: 400 0.78rem/1.45 Inter, sans-serif; color: var(--ink-mute); padding: 0.55rem 1rem 0.7rem; margin: 0; max-width: none; border-top: 1px solid #edf0ec; }
@media (max-width: 640px) {
  .prose table.nums th:first-child, .prose table.nums td:first-child { position: sticky; left: 0; z-index: 1; background: #fff; box-shadow: 1px 0 0 #edf0ec; }
  .prose table.nums thead th:first-child { background: #14402c; }
  .prose table.nums tbody tr:nth-child(even) td:first-child { background: #f7f9f6; }
}

/* Human in the loop: Check a plot */
.hitl { margin: 2.4rem 0; padding: clamp(1.4rem, 4vw, 2.4rem); background: #14402c; color: #eef4ef; border-radius: 4px; }
.hitl__kicker { margin: 0 0 0.5rem; font: 600 0.74rem/1.3 Inter, sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #f2c14e; }
.prose .hitl h3, .hitl h3 { margin: 0 0 0.6rem; color: #fff; font-size: clamp(1.45rem, 1.2rem + 1.2vw, 2rem); }
.prose .hitl p, .hitl p { color: #e6f0ea; max-width: 40rem; }
.hitl__steps { list-style: none; margin: 1.4rem 0 1.2rem; padding: 0; display: grid; gap: 0.7rem; counter-reset: hitl; }
@media (min-width: 720px) { .hitl__steps { grid-template-columns: repeat(3, 1fr); gap: 0; } }
.hitl__steps li { position: relative; counter-increment: hitl; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.16); padding: 0.9rem 1rem 1rem 3.1rem; font: 400 0.88rem/1.45 Inter, sans-serif; color: #d6e5db; }
@media (min-width: 720px) {
  .hitl__steps li { padding: 2.6rem 1rem 1rem; }
  .hitl__steps li + li { border-left: 0; }
  .hitl__steps li:not(:last-child)::after { content: "\2192"; position: absolute; right: -0.65rem; top: 0.85rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; background: #f2c14e; color: #14402c; font: 700 0.8rem/1.3rem Inter, sans-serif; text-align: center; z-index: 1; }
}
.hitl__steps li::before { content: counter(hitl); position: absolute; left: 1rem; top: 0.85rem; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #fff; color: #14402c; font: 700 0.8rem/1.5rem Inter, sans-serif; text-align: center; }
.hitl__steps b { display: block; margin-bottom: 0.25rem; color: #fff; font-weight: 600; font-size: 0.95rem; }
.hitl__who { display: inline-block; margin-bottom: 0.35rem; font: 600 0.68rem/1 Inter, sans-serif; letter-spacing: 0.06em; text-transform: uppercase; color: #f2c14e; }
.hitl__outs { margin: 0.3rem 0 0; padding: 0; list-style: none; }
.hitl__outs li { padding: 0.15rem 0; border: 0 !important; background: none !important; font-size: 0.84rem; }
.hitl__outs li::before, .hitl__outs li::after { content: none !important; }
.hitl__stat { display: flex; flex-wrap: wrap; gap: 0.4rem 1.6rem; margin: 0 0 1.2rem; font: 400 0.9rem/1.4 Inter, sans-serif; color: #cfe0d5; }
.hitl__stat b { display: block; font: 600 1.6rem/1.1 Spectral, serif; color: #fff; }
.hitl__cta { margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.hitl .btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0.8rem 1.6rem; font-size: 1rem; font-weight: 600; background: #fff; border-color: #fff; color: #14402c; text-decoration: none; }
.hitl .btn:hover { background: #eaf1ec; color: #14402c; }
.hitl .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hitl .btn--line { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.6); }
.hitl .btn--line:hover { background: rgba(255,255,255,0.1); color: #fff; }
.prose .hitl .hitl__where, .hitl__where { margin: 0.8rem 0 0; font-size: 0.85rem; line-height: 1.5; color: #b9d0c1; }
@media print { .hitl { background: none; color: inherit; border: 1px solid #14402c; } .hitl h3, .hitl p, .hitl b { color: inherit !important; } .hitl__cta { display: none; } }
