/* Independently owned kernels share the collection's linear reading path. */
body[data-surface="kernel-resource"] .site-shell.resource-reading {
  width:calc(100% - 3rem); max-width:49rem; padding-inline:0; box-sizing:border-box;
}
body[data-surface="kernel-resource"] .resource-hero { min-height:0; padding-block:clamp(2.5rem,6vw,5rem); }
body[data-surface="kernel-resource"] .resource-identity {
  max-width:none; font-size:clamp(2rem,5vw,3.5rem); letter-spacing:-.045em;
  word-break:normal; overflow-wrap:normal; hyphens:none;
}
body[data-surface="kernel-resource"] .resource-function-title { font-size:1.25rem; line-height:1.5; margin-block:1rem; }
body[data-surface="kernel-resource"] .resource-lead { max-width:52ch; font-size:1.2rem; font-weight:500; line-height:1.65; }
body[data-surface="kernel-resource"] .resource-reading p { line-height:1.75; }
body[data-surface="kernel-resource"] .resource-mode { margin-block:1rem; border:1px solid var(--line); }
body[data-surface="kernel-resource"] .resource-worked-example { margin-block:2.2rem; padding-top:1.4rem; border-top:1px solid var(--line-strong); }
body[data-surface="kernel-resource"] .resource-worked-example h4 { margin-bottom:.4rem; }
body[data-surface="kernel-resource"] blockquote { margin-inline:0; }
body[data-surface="kernel-resource"] blockquote footer { font-size:.875rem; padding:0; background:none; border:0; }
@media(max-width:640px) {
  body[data-surface="kernel-resource"] .site-shell.resource-reading { width:calc(100% - 2rem); }
  body[data-surface="kernel-resource"] .resource-function-title { font-size:1.1rem; }
  body[data-surface="kernel-resource"] .resource-lead { font-size:1.0625rem; }
}
