/* Shared reading layout for every generated model guide. */
.model-guide-page .guide-topic-nav { display:flex; flex-wrap:wrap; gap:6px 22px; margin:0 0 28px; padding:12px 0; border-block:1px solid var(--line); }
.model-guide-page .guide-topic-nav a { display:inline-flex; align-items:center; min-height:44px; font-size:14px; text-underline-offset:4px; }
.model-guide-page .guide-fact-group { padding:28px 0 20px; border-bottom:1px solid var(--line); scroll-margin-top:90px; }
.model-guide-page .guide-fact-group h3 { font:600 clamp(1.7rem,2.4vw,2.1rem)/1.2 var(--display); margin:0 0 14px; }
.model-guide-page .guide-group-scope { max-width:76ch; margin:0 0 14px; font-size:14px; color:var(--muted); }
.model-guide-page table.guide-facts { width:100%; min-width:0; table-layout:fixed; margin:0; }
.model-guide-page table.guide-facts caption { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.model-guide-page table.guide-facts th, .model-guide-page table.guide-facts td { min-width:0; padding:16px 12px; vertical-align:top; overflow-wrap:anywhere; }
.model-guide-page table.guide-facts thead th:first-child { width:29%; min-width:0; }
.model-guide-page table.guide-facts thead th:nth-child(2) { width:59%; }
.model-guide-page table.guide-facts thead th:last-child { width:12%; }
.model-guide-page table.guide-facts th { text-align:left; }
.model-guide-page table.guide-facts tbody th { min-width:0; font:400 15px/1.5 var(--body); color:var(--ink); }
.model-guide-page table.guide-facts td { font-weight:400; }
.model-guide-page .guide-value-cell strong { font-size:16px; font-weight:600; font-variant-numeric:tabular-nums; }
.model-guide-page .guide-fact-conditions { margin:6px 0 0; color:var(--muted); font-size:13px; line-height:1.5; }
.model-guide-page .guide-fact-warning { margin:6px 0 0; font-size:13px; font-weight:600; color:var(--amber,#755316); }
.model-guide-page .guide-source summary { display:flex; align-items:center; gap:6px; min-height:44px; width:fit-content; padding:0 8px; color:var(--green-dark); font-size:14px; cursor:pointer; text-decoration:underline; text-underline-offset:4px; }
.model-guide-page .guide-source summary::before { content:''; width:0; height:0; border-top:4px solid transparent; border-bottom:4px solid transparent; border-left:5px solid currentColor; flex-shrink:0; }
.model-guide-page .guide-source[open] summary::before { transform:rotate(90deg); }
.model-guide-page .guide-source summary::-webkit-details-marker { display:none; }
.model-guide-page .guide-source summary:hover { color:var(--ink); background:var(--wash); }
.model-guide-page .guide-source summary:focus-visible, .model-guide-page .guide-topic-nav a:focus-visible { outline:3px solid var(--focus); outline-offset:3px; }
.model-guide-page .guide-source-content { width:100%; margin-top:8px; font-size:13px; font-weight:400; }
.model-guide-page .guide-source-content dl { margin:0; }
.model-guide-page .guide-source-content dl > div { margin:0 0 10px; }
.model-guide-page .guide-source-content dt { font-weight:600; color:var(--ink); }
.model-guide-page .guide-source-content dd { margin:2px 0 0; color:var(--muted); overflow-wrap:anywhere; }
.model-guide-page .guide-source-links p { font-size:13px; }
.model-guide-page .guide-source-cell:has(.guide-source[open]) { width:auto; }
.model-guide-page tr:has(.guide-source[open]) { display:grid; grid-template-columns:29% minmax(0,1fr); }
.model-guide-page tr:has(.guide-source[open]) .guide-source-cell { grid-column:1 / -1; padding-top:0; }
.model-guide-page tr:has(.guide-source[open]) .guide-source-content { max-width:90ch; padding:16px 18px; background:var(--wash); }
.model-guide-page .guide-source-content dl { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 22px; }
.model-guide-page .editorial-identity, .model-guide-page .guide-underlay { font-size:14px; }
.model-guide-page .guide-underlay summary { min-height:44px; cursor:pointer; }
.model-guide-page .guide-ownership > .section { padding-block:28px; }
.model-guide-page .model-guide-ownership > .section { padding-block:28px; }
.model-guide-page .model-guide-ownership > .section h3, .model-guide-page .jd-editorial-group h3 { font-size:1.65rem; line-height:1.25; }
.model-guide-page .jd-model-identity { display:flex; flex-wrap:wrap; gap:6px 18px; margin:10px 0 0; color:var(--muted); font-size:13px; }
.model-guide-page .jd-model-identity > div { display:flex; gap:6px; }
.model-guide-page .jd-model-identity dt { font-weight:500; }
.model-guide-page .jd-model-identity dd { margin:0; }
.model-guide-page .jd-editorial-group { margin-top:24px; }
.model-guide-page .jd-source-method, .model-guide-page .guide-method { margin-top:24px; font-size:14px; }
.model-guide-page .jd-source-method summary, .model-guide-page .guide-method summary { min-height:44px; display:list-item; cursor:pointer; padding-block:10px; }
.model-guide-page .section-nav a { min-height:44px; display:inline-flex; align-items:center; }
.model-guide-page .jd-legacy-fact-anchor { display:block; scroll-margin-top:90px; }
@media(max-width:760px) {
  .model-guide-page #specifikationer table:not(.guide-facts) { width:100%; min-width:0; table-layout:fixed; }
  .model-guide-page #specifikationer table:not(.guide-facts) th, .model-guide-page #specifikationer table:not(.guide-facts) td { min-width:0; padding:10px 8px; overflow-wrap:anywhere; }
  .model-guide-page table.guide-facts, .model-guide-page table.guide-facts tbody { display:block; width:100%; }
  .model-guide-page table.guide-facts thead { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); }
  .model-guide-page table.guide-facts tbody tr, .model-guide-page table.guide-facts tr:has(.guide-source[open]) { display:grid; grid-template-columns:minmax(0,1fr) 82px; gap:6px 8px; padding:18px 0; border-bottom:1px solid var(--line); }
  .model-guide-page table.guide-facts tbody th { grid-column:1 / -1; font-weight:500; }
  .model-guide-page table.guide-facts tbody td, .model-guide-page table.guide-facts tbody th { padding:0; border:0; }
  .model-guide-page .guide-value-cell { grid-column:1; }
  .model-guide-page .guide-source-cell { grid-column:2; }
  .model-guide-page .guide-source summary { justify-content:flex-end; margin-left:auto; }
  .model-guide-page .guide-source-cell:has(.guide-source[open]) { grid-column:1 / -1; }
  .model-guide-page .guide-source-content dl { grid-template-columns:minmax(0,1fr); }
  .model-guide-page tr:has(.guide-source[open]) .guide-source-content { padding:14px; }
  .model-guide-page .guide-topic-nav { gap:4px 18px; margin-bottom:14px; }
  .model-guide-page .guide-fact-group { padding-top:22px; }
}
