/* Interior pages only. The homepage does not load this stylesheet. */
body.inner-page { --inner-max:1920px; }
body.inner-page > .container,
body.inner-page > .release-scope-note {
  width:calc(100% - 48px);
  max-width:var(--inner-max);
  padding-left:20px;
  padding-right:20px;
}
body.inner-page .card:hover { transform:none; }
body.inner-page .inner-scroll-target {
  width:100%; max-width:100%; overflow:auto;
  scrollbar-width:auto; scrollbar-color:#64748b #eef2f6;
  overscroll-behavior-x:contain; scroll-margin-top:calc(var(--inner-nav-height,110px) + 80px);
}
body.inner-page .inner-scroll-target:has(table) { max-height:min(68vh,760px); }
body.inner-page .inner-scroll-target:focus-visible { outline:3px solid var(--focus); outline-offset:2px; }
body.inner-page .inner-scroll-target thead th,
body.inner-page .inner-scroll-target table > tbody > tr:first-child > th { position:sticky; top:0; z-index:2; background:#f8fafc; }
body.inner-page .inner-scroll-tools {
  position:sticky; top:var(--inner-nav-height,110px); z-index:8;
  padding:8px 10px; margin:0 0 6px;
  background:#fff; border:1px solid var(--line); border-radius:8px;
  box-shadow:0 4px 12px rgba(15,23,42,.06);
}
body.inner-page .inner-scroll-tools[hidden] { display:none; }
body.inner-page .inner-scroll-actions { display:flex; align-items:center; flex-wrap:wrap; gap:6px; }
body.inner-page .inner-scroll-label { font-size:13px; color:#334155; margin-right:auto; }
body.inner-page .inner-scroll-button {
  width:auto; border:1px solid #cbd5e1; background:#f8fafc;
  color:#172033; border-radius:5px; padding:5px 9px; min-height:32px;
  cursor:pointer; font:inherit; font-size:13px; font-weight:700;
}
body.inner-page .inner-scroll-button:disabled { opacity:.4; cursor:default; }
body.inner-page .inner-scroll-button:focus-visible { outline:3px solid var(--focus); }
body.inner-page .inner-scroll-rail { display:block; appearance:none; width:100%; height:7px; padding:0; border:0; margin:12px 0 7px; border-radius:8px; background:#dbe4ea; cursor:ew-resize; }
body.inner-page .inner-scroll-rail::-webkit-slider-thumb { appearance:none; width:20px; height:20px; border:2px solid #fff; border-radius:50%; background:#415a77; box-shadow:0 1px 4px rgba(15,23,42,.3); }
body.inner-page .inner-scroll-rail::-moz-range-thumb { width:16px; height:16px; border:2px solid #fff; border-radius:50%; background:#415a77; }
body.inner-page .evidence-record { border:1px solid var(--line); border-radius:8px; padding:20px; margin:16px 0; background:#fff; overflow-wrap:anywhere; }
body.inner-page .evidence-head { display:flex; align-items:flex-start; justify-content:space-between; gap:20px; border-bottom:1px solid var(--line); padding-bottom:14px; }
body.inner-page .evidence-paper { min-width:0; flex:1; }
body.inner-page .evidence-paper h3 { font-size:18px; margin:4px 0 0; line-height:1.5; }
body.inner-page .evidence-head .badge { flex:none; margin:0; max-width:35%; white-space:normal; }
body.inner-page .evidence-meta { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:18px; margin:18px 0; }
body.inner-page .evidence-meta dt { font-weight:700; color:#334155; margin:0 0 5px; }
body.inner-page .evidence-meta dd { margin:0; line-height:1.7; }
body.inner-page .evidence-body { display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr); gap:24px; }
body.inner-page .evidence-block { min-width:0; border-top:1px solid var(--line); padding-top:14px; }
body.inner-page .evidence-block h4 { margin:0 0 8px; font-size:16px; color:#334155; }
body.inner-page .evidence-block p { margin:6px 0; }
body.inner-page .evidence-source { border-top:1px solid var(--line); margin-top:16px; padding-top:12px; }
@media(max-width:1000px) {
  body.inner-page .evidence-meta { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:700px) {
  body.inner-page > .container,body.inner-page > .release-scope-note { width:100%; padding-left:14px; padding-right:14px; }
  body.inner-page .card { padding:14px; }
  body.inner-page .evidence-record { padding:14px; }
  body.inner-page .evidence-head,body.inner-page .evidence-body { display:block; }
  body.inner-page .evidence-head .badge { max-width:100%; margin-top:10px; }
  body.inner-page .evidence-meta { grid-template-columns:minmax(0,1fr); gap:12px; }
  body.inner-page .evidence-block + .evidence-block { margin-top:16px; }
  body.inner-page .inner-scroll-label { flex-basis:100%; }
  body.inner-page .inner-scroll-tools { padding:6px; }
}
