/* The journal is a reading surface; the technical archive is a dark dossier.
   Both keep the imported images, paragraphs, links and heading destinations. */
.rooms>.scene-cover[data-section="article"]{
 display:grid;grid-template-columns:minmax(0,1.16fr) minmax(0,.86fr);gap:clamp(28px,5vw,90px);
 align-items:center;align-content:center;padding:clamp(92px,12vh,158px) var(--g) clamp(62px,8vh,100px);
}
.rooms>.scene-cover[data-section="article"]>.scene-heading{grid-column:1;grid-row:1;width:100%;align-self:center}
.rooms>.scene-cover[data-section="article"]>.scene-heading h1{
 font-size:clamp(42px,4.9vw,81px);max-width:23ch;line-height:1.035;letter-spacing:-.027em;
 hyphens:auto;word-break:normal;overflow-wrap:break-word;text-wrap:balance;margin:clamp(17px,2.6vh,30px) 0;
}
.rooms>.scene-cover[data-section="article"]>.archive-frame{
 position:relative;inset:auto;grid-column:2;grid-row:1;justify-self:center;align-self:center;
 width:min(93%,510px);margin:0;transform:rotate(1.45deg);
 background:#e6deca url(journal-stock.webp) center/cover;border:1px solid #c5bba3;
 box-shadow:1px 3px 0 #8c8064,3px 18px 34px #05090580
}
.rooms>.scene-cover[data-section="article"]>.archive-frame img{max-height:38svh;object-fit:contain;background:#bbb8aa}
.rooms>.scene-cover[data-section="article"]>.archive-frame figcaption{font:600 10px/1.4 ui-monospace,monospace;letter-spacing:.06em;color:#484639}
.story-room{padding:clamp(34px,5.5vw,84px) var(--g);background:#222720 url(journal-oak.webp) center top/min(1350px,135vw) auto;scroll-margin-top:14px}
.story-wrap{max-width:1040px;margin:0 auto}
.story-guide{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px 20px;margin-bottom:clamp(14px,2vw,28px)}
.story-rule,.story-back,.story-foot,.story-sections>summary{font:600 11px/1.45 ui-monospace,Consolas,monospace;letter-spacing:.07em}
.story-rule{display:flex;align-items:center;gap:12px;color:#d1c2a2;text-transform:uppercase}.story-rule i{flex:1;height:1px;background:currentColor;opacity:.4}
.story-back,.story-foot{display:inline-flex;align-items:center;min-height:40px;color:#f1dab1;text-underline-offset:4px}
.story-sections{grid-column:1/-1;border-block:1px solid #9d917342}
.story-sections>summary{cursor:pointer;min-height:40px;padding:11px 0;color:#e7d8b7;text-transform:uppercase}
.story-sections>summary small{margin-left:.5em;color:#d2c4ab;font-size:10px}
.story-sections nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 18px;padding:1px 0 13px}
.story-sections nav a{color:#d6cbb3;font-size:14px;text-decoration:underline;text-underline-offset:3px}
.story-paper{
 position:relative;padding:clamp(22px,4.1vw,66px);background-color:#e8dfc6;color:#27332d;
 background-image:linear-gradient(110deg,#fff7dd25,transparent 48%,#d0bf9135),url(journal-stock.webp);
 background-size:100% 100%,760px auto;box-shadow:2px 4px 0 #9d9174,4px 10px 30px #05090566;border-top:2px solid #c5b99a;
}
.story-paper>.story-rule{color:#76674d;margin-bottom:clamp(15px,2vw,26px)}
.story-paper .story-prose{max-width:72ch;margin:0 auto;color:#29352f;font:400 clamp(17px,1.3vw,20px)/1.65 Georgia,'Times New Roman',serif;overflow-wrap:break-word}
.story-prose h2,.story-prose h3,.story-prose h4{font:600 clamp(26px,2.5vw,40px)/1.12 Hangar,sans-serif;letter-spacing:-.015em;margin:1.05em 0 .45em;color:#27382f;scroll-margin-top:18px}
.story-prose .story-long-heading,.story-prose .story-long-heading strong{font:400 clamp(18px,1.48vw,24px)/1.53 Georgia,'Times New Roman',serif;letter-spacing:0;color:#303b32;text-transform:none}
.story-prose .story-long-heading{margin:.85em 0}.story-prose .story-long-heading:first-of-type{margin-top:0}
.story-prose p,.story-prose ol,.story-prose ul{margin:0 0 .95em}.story-prose>p:has(img){margin:.35em 0 1em}
.story-prose a,.story-prose em{color:#215a51;text-underline-offset:3px}
.story-prose img,.story-prose>img,.story-prose>p>img{width:min(100%,420px);height:auto;max-width:100%;max-height:320px;object-fit:contain;margin:0;border:1px solid #9eaa95}
.story-prose>p:first-child:has(img){float:right;width:min(36%,235px);margin:0 0 .65em 1.15em}
.story-prose>p:first-child img{display:block;width:100%;max-height:156px;object-fit:contain;background:#b4b3a1}
.story-prose::after{content:'';display:block;clear:both}.story-foot{color:#385c4e;margin-top:12px}
.rooms>.record{background:linear-gradient(105deg,#1b2c2c,#0c191d 75%)}
.rooms>.record .record-sheet{
 color:#e9eddd;background-color:#33453c;background-image:linear-gradient(95deg,#14271f68,transparent 25%,#28352720),url(journal-stock.webp);
 background-blend-mode:normal,multiply;background-size:100% 100%,760px auto;box-shadow:inset 0 3px #8d9d83,2px 4px 0 #25332b,3px 7px 0 #69725d,4px 12px 24px #0209076b
}
.rooms>.record .record-head{color:#d1d4b9;border-color:#a4b39566}
.rooms>.record .reader{color:#ecf0df}.rooms>.record .reader :is(h2,h3,h4,strong){color:#f4efda}
.rooms>.record .reader :is(a,em),.rooms>.record .reader details summary{color:#b6eee0}
.rooms>.record .reader details summary{border-color:#8c9f8e66}
.rooms>.record .reader>p>img:only-child{width:min(60%,300px);height:auto;max-height:200px}
.rooms>.record-summary{padding-block:clamp(23px,3vw,44px);align-items:center;gap:clamp(20px,3vw,54px)}
.rooms>.record-summary .record-spine{display:grid;grid-template-columns:clamp(86px,9vw,138px) minmax(0,1fr);align-items:start;gap:5px 13px;position:static}
.record-summary .record-photo{grid-row:1/5;grid-column:1;margin:0}.record-summary .record-photo img{height:clamp(66px,8vw,112px)}
.record-summary .record-photo figcaption{font-size:8px;margin-top:3px}
.record-summary .record-label,.record-summary .record-spine h2,.record-summary .quiet{grid-column:2}
.rooms>.record-summary .record-spine h2{font-size:clamp(29px,3vw,48px);margin:4px 0}
.rooms>.record-summary .record-sheet{padding:clamp(16px,2vw,30px)}.record-summary .record-head{margin-bottom:4px;padding-bottom:8px}
.record-summary .reader details summary{padding-block:9px}
.equipment-page .sf-data-sheet .quiet{display:inline-flex;align-items:center;min-height:38px;margin-right:12px;white-space:nowrap}
.equipment-page .model-actions a{position:relative;border-top-color:#839d94;box-shadow:inset 0 -2px #142625}
.equipment-page .model-actions a:hover,.equipment-page .model-actions a:focus-visible{box-shadow:inset 0 -2px #9ed6c4}
.nav-bays a{min-width:0}.nav-bays a:focus-visible{outline:3px solid #c1f1d9;outline-offset:-5px}
.nav-bays small{color:#d0ebdc}.nav-bays b{text-wrap:balance}
@media(max-width:830px){
 .rooms>.scene-cover[data-section="article"]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;gap:clamp(16px,3vh,28px);align-content:center;padding:86px var(--g) clamp(57px,7svh,84px)}
 .rooms>.scene-cover[data-section="article"]>.archive-frame{grid-column:1;grid-row:1;justify-self:end;align-self:end;width:min(84%,342px);margin:0 4px 0 0;transform:rotate(1.4deg)}
 .rooms>.scene-cover[data-section="article"]>.archive-frame img{max-height:27svh}
 .rooms>.scene-cover[data-section="article"]>.scene-heading{grid-column:1;grid-row:2;align-self:end;width:100%}
 .rooms>.scene-cover[data-section="article"]>.scene-heading h1{font-size:clamp(37px,8.8vw,60px);max-width:23ch;text-wrap:pretty;line-height:1.035;margin:11px 0}
 .story-guide{gap:5px 10px}.story-room{padding-block:30px}.story-paper{padding:21px 16px}
 .story-sections nav{grid-template-columns:1fr}.story-rule,.story-back,.story-foot,.story-sections>summary{font-size:9px}
 .story-prose>p:first-child:has(img){margin:0 0 .5em .7em;width:34%}
 .rooms>.record-summary{gap:13px}.record-summary .record-spine{grid-template-columns:84px minmax(0,1fr)}
}
@media(max-width:390px){.story-guide{grid-template-columns:1fr}.story-guide>.story-back{min-height:31px}}
@media(prefers-reduced-motion:reduce){.equipment-page .model-actions a,.nav-bays a{transition:none}}
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference){
 .rooms>.scene-cover[data-section="article"]>.archive-frame{transition:transform .32s ease,box-shadow .32s ease}
 .rooms>.scene-cover[data-section="article"]>.archive-frame:is(:hover,:focus-within){transform:rotate(0) translateY(-3px);box-shadow:1px 3px 0 #8c8064,3px 23px 38px #05090590}
}

/* Imported equipment dossiers share the catalogue's paper stock. Their complete
   outline is a native disclosure, independent of scripts or a desktop sidebar. */
.rooms>.record:not(.record-summary) .record-sheet {
    min-width:0;max-width:100%;background:#ded1b4 url(journal-stock.webp) center / 720px auto;
    background-blend-mode:normal;color:#26392f;border:1px solid #9a977c;
    box-shadow:1px 3px #a29779,2px 5px #5b6554,3px 10px 18px #0a171a73;
}
.rooms>.record:not(.record-summary) .record-head {color:#48594a;border-color:#8b977e}
.rooms>.record:not(.record-summary) .record-sheet .reader {
    max-width:68ch;margin-inline:auto;color:#2e3e33;font:400 clamp(16px,1.18vw,19px)/1.63 Georgia,serif;
}
.rooms>.record:not(.record-summary) .record-sheet .reader :is(h2,h3,h4,strong) {color:#263c30}
.rooms>.record:not(.record-summary) .record-sheet .reader :is(a,em) {color:#215849}
.rooms>.record:not(.record-summary) .record-sheet .reader a {text-underline-offset:3px}
.rooms>.record:not(.record-summary) .record-sheet .reader :is(h2,h3,h4){scroll-margin-top:20px}
.rooms>.record:not(.record-summary) .record-sheet .reader :is(th,td) {border-color:#83957e}
.record-directory {margin:13px 0 8px;border-block:1px solid #768e7f80;color:#e5e9d8}
.record-directory>summary,.record-return {display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;font:650 13px/1.3 system-ui}
.record-directory>summary {cursor:pointer;list-style:none}
.record-directory>summary::-webkit-details-marker {display:none}
.record-directory>summary::before {content:'＋';font:14px/1 ui-monospace,monospace;color:#dcc394}
.record-directory[open]>summary::before {content:'−'}
.record-directory>summary span {margin-left:auto;border:1px solid #779083;padding:2px 6px;color:#dccb9f;font:650 11px/1.2 ui-monospace,monospace}
.record-directory nav {display:grid;counter-reset:section-number;gap:2px;padding:2px 0 8px;max-height:42svh;overflow:auto;overscroll-behavior:contain}
.record-directory nav a {counter-increment:section-number;display:grid;grid-template-columns:22px minmax(0,1fr);align-items:start;gap:7px;
    padding:7px 4px;color:#dfe9d9;text-decoration:none;font:500 13px/1.34 system-ui}
.record-directory nav a::before {content:counter(section-number,decimal-leading-zero);content:counter(section-number,decimal-leading-zero) / "";
    color:#bfcabe;font:650 10px/1.5 ui-monospace,monospace}
.record-directory nav a:hover,.record-directory nav a:focus-visible {background:#2d4038;color:#fff0cb}
.record-return {width:fit-content;margin:20px 0 0;color:#314e3e;text-decoration-thickness:1px;text-underline-offset:3px}
.record-directory :is(summary,a):focus-visible,.record-return:focus-visible {outline:2px solid #c49f65;outline-offset:2px}

/* Keep the selected execution named where a visitor can actually request it. */
.equipment-page .model-folio .model-pass {
    isolation:isolate;position:relative;align-items:stretch;padding:clamp(11px,1.6vw,23px);gap:0;
    border:1px solid #847659;border-radius:3px;
    background:linear-gradient(100deg,#32261964,#32241a8c),url(journal-oak.webp) center/630px auto,#4c392a;
    box-shadow:0 5px 12px #07131366;
}
.equipment-page .model-folio .sf-pass-photo {
    margin:0;min-width:0;align-content:center;justify-items:center;padding:clamp(12px,1.7vw,27px);
    background:linear-gradient(135deg,#56615a,#3b4c46);border:1px solid #6f7b6c;
}
.equipment-page .model-folio .sf-pass-photo img {width:min(100%,510px);max-height:350px;height:auto;object-fit:contain;
    padding:clamp(5px,.75vw,12px);background:#dfd8c4;border:1px solid #b5b6a3;box-shadow:1px 5px 10px #13202277}
.equipment-page .model-folio .sf-pass-photo figcaption {margin-top:9px;color:#e9e6d5;font:650 10px/1.3 ui-monospace,monospace}
.equipment-page .model-folio .sf-data-sheet {color:#2c4034;background:#ddcfb0 url(journal-stock.webp) center / 650px auto;border:1px solid #aaab90;
    box-shadow:1px 3px #90866b;min-width:0}
.equipment-page .model-folio .sf-pass-line {color:#4b5c4d}
.equipment-page .model-folio .size-stamp {color:#35513e}
.equipment-page .model-folio .sf-data-sheet h3 {color:#293e30}
.equipment-page .model-folio .sf-data-sheet>p {color:#435346;line-height:1.45}
.equipment-page .model-folio .model-resources {display:flex;flex-wrap:wrap;align-items:center;gap:3px 13px;border-top:1px solid #89967f70;margin-top:8px}
.equipment-page .model-folio .model-resources .quiet {color:#2c513d;min-height:44px;margin:0;text-underline-offset:3px;white-space:normal}
.equipment-page .model-task {margin:clamp(21px,2.6vw,39px) 0 12px;padding:0}
.equipment-page .model-task header {position:static;padding:0;margin:0 0 9px;border:0;background:none}
.equipment-page .model-task header small {color:#d6c69e;font:650 10px/1.3 ui-monospace,monospace;letter-spacing:.07em}
.equipment-page .model-task header h3 {margin:2px 0;color:#e9eddd;font:620 clamp(28px,2.85vw,45px)/1.08 Hangar,sans-serif}
.equipment-page .model-task .model-actions {margin:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.equipment-page .model-task .model-actions>a {position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"title arrow" "detail arrow";align-content:center;align-items:center;gap:3px 7px;
    min-height:82px;padding:12px 14px;border:1px solid #7b8f7f;color:#f0ebd7;background:linear-gradient(130deg,#30433e,#1e3131)}
.equipment-page .model-task .model-actions b {grid-area:title;color:#edf0da;font:620 clamp(25px,2.5vw,38px)/1.05 Hangar,sans-serif}
.equipment-page .model-task .model-actions span {grid-area:detail;color:#c4d6c9;font:500 12px/1.29 system-ui;text-transform:none;letter-spacing:0}
.equipment-page .model-task .model-actions i {grid-area:arrow;color:#dec596;font:500 17px/1 system-ui}
.equipment-page .model-task a:focus-visible,.equipment-page .model-folio .model-resources a:focus-visible {outline:2px solid #ad8344;outline-offset:2px}
@media(max-width:830px) {
    .record-directory nav a {min-height:40px;align-items:center;font-size:14px}
    .equipment-page .model-task .model-actions {grid-template-columns:1fr;gap:6px}
    .equipment-page .model-task .model-actions>a {min-height:61px;padding:9px 13px}
    .equipment-page .model-folio .sf-data-sheet {padding:16px}
}
@media(forced-colors:active) {.record-directory nav a,.equipment-page .model-task .model-actions b {color:LinkText}}
