:root{--bg:#121516;--panel:#1b1f20;--panel-raised:#232627;--text:#dce2e4;--muted:#aaafb1;--gold:#92b2bc;--gold-bright:#b6cbd2;--line:#383c3e;--copper:#54666c;--green:#92a6ac}body{background:var(--bg);color:var(--text)}body:before{background:linear-gradient(#121516e8,#121516fa 620px),var(--game-background) center top/cover no-repeat}a{color:inherit}input,select{color:var(--text)}button{color:inherit}.pixel-icon{filter:drop-shadow(0 2px 1px #0008)}.sr-only,.skip{border:0}.skip:focus{background:var(--panel)}.site-header{background:#0f1112f7;border-bottom:1px solid #3e484b;box-shadow:0 2px 15px #0003}.header-divider{border-left:1px solid var(--line)}.current-game{color:#ccd0d2}.down{color:var(--muted)}.header-search{border:1px solid #383d3f;background:#1a1e1f;color:var(--muted)}.header-search kbd{color:#8f9698;border:1px solid #353b3d}.preview-label{color:#939fa3}.menu-button{border:1px solid var(--line);background:var(--panel)}.menu-button span{background:var(--text)}.sidebar{background:linear-gradient(100deg,#1f2223,#171b1c 70%);border-right:1px solid #3a4042;scrollbar-color:#454d50 #191d1e}.game-plaque{border-bottom:1px solid #3d4548;color:#b1c1c6}.game-plaque b{color:#cbdadf}.game-plaque small{color:#9ba4a8}.plaque-icon{background:#121516;border:1px solid #526166;box-shadow:inset 0 0 0 3px #24292a,0 3px 10px #0004}.nav-heading{color:#9ca4a6}.nav-heading:after{background:linear-gradient(90deg,#40484b,#40484b00)}.nav-link{border:1px solid transparent;color:#b9c0c2}.nav-link:hover{background:#8b9ca210;color:var(--gold-bright)}.nav-link.is-active{background:linear-gradient(90deg,#647f882b,#57676d0d);color:#bdd0d6;border-color:#4c5c6236;box-shadow:inset 2px 0 #7ea1ad}.sidebar-foot{color:#8a9396}.sidebar-foot .small-rule{border-top:1px solid #5d6d72}.sidebar-foot a{color:#aab2b5}.eyebrow{color:var(--gold)}.eyebrow.light{color:#baced5}.eyebrow.light span{background:#8fafba}.hero{border-bottom:1px solid #404d51;background:#212526}.hero-sky{background:var(--game-background) center 53%/cover no-repeat}.hero-shade{background:linear-gradient(90deg,#131718ed 0%,#181c1dcb 29%,#191b1c70 58%,#1d202138),linear-gradient(0deg,#121516 0%,#12151600 35%)}.hero-character{filter:drop-shadow(0 12px 12px #0007)}.hero-logo{filter:drop-shadow(0 4px 3px #0006)}.hero-description{color:#d0d8da;text-shadow:0 1px 3px #0008}.hero-search{background:#121617f2;border:1px solid #67838c;box-shadow:0 0 0 4px #0e111245,inset 0 0 0 3px #2e363840}.hero-search svg{color:#a1b8c0}.hero-search input{background:none;border:0;color:#dce6e9}.hero-search input::placeholder{color:#b6bdbf}.hero-search:focus-within{border-color:#b8cdd4;box-shadow:0 0 0 3px #82a4b020}.hero-search button{border:1px solid #5d7b85;background:linear-gradient(#84a3ae,#68858f);color:#171b1d;box-shadow:inset 0 0 0 2px #b1c8cf2a}.search-suggestions{color:#98a1a4}.search-suggestions button{border:0;background:none;color:#acbec4}.hero-caption{color:#b1bbbf}.hero-caption b{color:#a2bcc5}.quick-entry{background:linear-gradient(135deg,#2a2f30,#1f2324);border:1px solid #515c60;box-shadow:inset 0 0 0 3px #10141538,0 5px 14px #0003}.quick-entry:after,.decorated-panel:after{border:1px solid #7b919913}.quick-entry:hover{border-color:#7e9aa3}.quick-entry strong{color:#c6d4d8}.quick-entry small{color:#a7afb2}.entry-arrow{color:#7e8d92}.inventory-slot{background:radial-gradient(ellipse at 50% 25%,#49555932,#131718 80%);border:1px solid #516065;box-shadow:inset 0 0 0 2px #101314,0 2px 3px #0004}.section-top h2{color:#d4dcde}.section-mark{color:#818c8f}.decorated-panel{background:linear-gradient(130deg,#262b2c,#1c1f20);border:1px solid #485356;box-shadow:inset 0 0 0 3px #11151655}.chapter-label{color:#a2b4ba}.feature-copy h3{color:#ccd9dd}.feature-copy p{color:#afb7ba}.brass-button{background:linear-gradient(130deg,#85a4ae,#6c8e99);border:1px solid #93b2bd;color:#161b1d;box-shadow:inset 0 0 0 2px #c5d6db18}.brass-button:hover{filter:brightness(1.1)}.feature-links{background:#13181ac9;border-top:1px solid #49555977}.ledger-link{border-bottom:1px solid #4955594d}.ledger-link:last-child{border-bottom:0}.link-arrow{color:#88999e}.ledger-link:hover{color:var(--gold-bright)}.reference-panel{background:linear-gradient(130deg,#c4d3d8,#acbec4);color:#303638;border:1px solid #697d84;box-shadow:inset 0 0 0 5px #7d939a24,0 4px 12px #0002}.reference-panel:before{background:#708a93;border:1px solid #94b0b9;box-shadow:0 3px 3px #1722253d}.ink-icon .pixel-icon{filter:drop-shadow(1px 2px 0 #ffffff55)}.reference-panel .eyebrow{color:#556267}.reference-panel h3{color:#2e3537}.ledger-seal{border:1px solid #65787e44;color:#556267}.ledger-description{color:#5a666a}.sample-recipe{border-bottom:1px solid #5f727840}.sample-recipe .inventory-slot{background:#889aa055;border-color:#6c7e84;box-shadow:inset 0 0 0 2px #9cb0b680}.sample-recipe .pixel-icon{filter:drop-shadow(0 1px 1px #0003)}.sample-recipe small{color:#606b6f}.recipe-output{color:#3e4a4e}.sample-recipe>span:last-child{color:#627075}.ledger-version{color:#5a6569}.text-link{color:var(--gold)}.wide-feature{border:1px solid #475155;background:#1e2223}.wide-overlay{background:linear-gradient(90deg,#171b1df5,#171b1db8 38%,#161b1c12 75%),linear-gradient(0deg,#161b1c8a,transparent 50%)}.wide-copy p{color:#b9c1c4}.screenshot-credit{color:#b2b7b9;text-shadow:0 1px 2px #000;background:#121516a3}.directory-columns section{border-top:1px solid #525f63}.directory-columns h3{color:#c6d0d4}.directory-columns .ledger-link{color:#b2babd}.footer{border-top:1px solid #3d4547;background:#101314}.footer-brand{color:#c8d0d2}.footer-brand span{color:#959fa2}.footer p{color:#7f888b}.footer-right>a{color:var(--gold)}.footer summary{color:#a5aeb1}.footer details a{color:#a3b1b6}.footer small{color:#778184}.breadcrumbs{color:#8c9598}.breadcrumbs a{color:#aab2b6}.breadcrumbs a:hover{color:var(--gold-bright)}.breadcrumbs>span:not(:last-child){color:#596164}.page-heading h1,.entity-heading h1{color:#d2dfe3}.page-heading p:not(.eyebrow){color:#b1b9bc}.page-icon{border:1px solid #536267;background:linear-gradient(#2e3537,#1e2223);box-shadow:inset 0 0 0 4px #171b1d}.reference-note{background:#262b2c80;border-top:1px solid #4a575c;border-bottom:1px solid #4a575c50;color:#aab4b7}.reference-note strong{color:#c0cacd}.note-diamond{color:#86a0aa}.reference-note a{color:#98aab0}.filter-panel{background:#1f2325;border:1px solid #434c4f}.filter-search{border:1px solid #4e585b;background:#141819}.filter-search svg{color:#99a5a9}.filter-search input{border:0;background:none}.filter-search input::placeholder{color:#99a1a4}.filter-search button{border:0;background:none;color:#8e999d}.station-select,.sort-select{color:#9ca7ab}.filter-panel select{border:1px solid #4e585b;background:#1c2022}.results-toolbar{color:#a3acaf}.view-toggle{border:1px solid #424c4f}.view-toggle button{border:0;background:none;color:#96a0a3}.view-toggle button.selected{background:#30383a;color:#b8cbd2}.recipe-card:hover{border-color:#77919a;background:#2b3133}.recipe-card-copy strong{color:#c6d2d6}.recipe-card-copy small{color:#9fa8ab}.recipe-card-meta{color:#99a9af}.recipe-card-meta>span{color:#646f73}.card-open{color:#79878c}.collection-foot{color:#8c969a;border-top:1px solid #394246}.empty-state{border:1px dashed #515c60;background:#1d2122}.empty-state p{color:var(--muted)}.recipe-table-wrap{border:1px solid #475256}.recipe-table th{background:#292f31;color:#aeb9bd}.recipe-table td{border-top:1px solid #3c4548;color:#abb5b8}.recipe-table td:first-child a{color:#cbd5d8}.recipe-table tr:hover td{background:#2a303280}.entity-portrait.inventory-slot{background:radial-gradient(ellipse at 50% 25%,#516b7350,#222729);border:1px solid #5b747c;box-shadow:inset 0 0 0 5px #161a1c,0 5px 20px #0003}.entity-heading p:not(.eyebrow){color:#b4bcbf}.entity-tags span{border:1px solid #4b555875;color:#96a1a5}.panel-top{border-bottom:1px solid #5262674f}.panel-top h2{color:#c1d0d5}.panel-top>a{color:#a4b2b7}.workstation-badge{background:#15191b77;border:1px solid #4f5e6360;color:#b2bdc1}.workstation-badge:hover{border-color:#78959f}.ingredient-tile strong{color:#c9d3d6}.ingredient-tile small{color:#869195}.slot-count{color:#b7ccd3;text-shadow:0 1px 2px #000}.equation-arrow{color:#91b1bb}.recipe-output-tile .inventory-slot{border-color:#7a949d;background:radial-gradient(#51646b66,#1f2527)}.batch-control{border-top:1px solid #4e5e6455}.batch-control label{color:#cbd3d6}.batch-control label small{color:#909b9f}.stepper{border:1px solid #5e6f74;background:#14181a}.stepper button{background:#2c3538;border:0;color:#a8bbc1}.stepper input{border:0;background:none}.recipe-calculation-note{color:#8a979b}.detail-section h2{color:#cbd4d7}.requirements-list{border-top:1px solid #4d5c614d}.requirement{border-bottom:1px solid #4d5c614d}.requirement>span{color:#879499}.requirement a{color:#b4c4ca}.muted{color:#9fa9ac}.field-note{background:linear-gradient(135deg,#bbcdd3,#a1b4bb);border:1px solid #687b81;color:#333c3f;box-shadow:0 5px 12px #0003}.note-pin{border:1px solid #88a1aa;background:#4a5d64;box-shadow:0 2px 2px #0005}.field-note .eyebrow{color:#647277}.field-note h3{color:#343c3f}.field-note p:not(.eyebrow){color:#546064}.ink-rule{border-top:1px solid #63727770}.aside-guides h3{color:#99a4a8}.related-recipes .sample-recipe{color:#bec7ca;border-color:#46535850}.related-recipes .sample-recipe small{color:#8a999e}.related-recipes .recipe-output{color:#a4b6bc}.related-recipes .inventory-slot{background:#222a2d;border-color:#54646a;box-shadow:inset 0 0 0 2px #161b1c}.article-emblem{background:radial-gradient(#4654596b,#1a1e1f)}.chip-tag{color:#9aaaaf}.article-header h1{color:#d0dce0}.article-sub{color:#afb8bb}.quick-answer{background:linear-gradient(120deg,#c0d0d5,#a2b6bd);border:1px solid #7d969f;box-shadow:inset 0 0 0 4px #d2dfe320;color:#333b3d}.quick-answer:before{background:#86999f}.quick-answer h2{color:#566469}.quick-answer p{color:#31393b}.article-meta{color:#899498;border-bottom:1px solid #44505470}.article-meta>span+span:before{color:#4e585c}.prose{color:#c0c7c9}.prose h2{color:#ccd6d9}.prose h3{color:#c0ccd0}.prose strong{color:#c9d4d8}.prose a{color:#a4b5bb}.prose figcaption{color:#96a1a5}.prose .small-note{color:#8d9a9e}.article-aside{border-left:1px solid #46545866}.article-aside:before{color:#99acb3}.toc a{color:#9fa9ac}.toc a:hover{color:var(--gold-bright)}.image-open{border:1px solid #485458;background:#191e20;color:#a6b2b6}.image-surface{background:#101415}.image-hint{color:#9caaaf}.image-open:hover{border-color:#7b959d}.table-scroll{border:1px solid #465358}.table-scroll th{background:#293133;color:#adbabf}.table-scroll td{border-top:1px solid #45525766;color:#adb8bb}.guide-checklist{border:1px solid #4a595e;background:#1e2426}.guide-progress{border-bottom:1px solid #46545966}.guide-progress button{border:0;background:none;color:#8fa1a7}.guide-checklist input{accent-color:#8da4ab}.guide-checklist label:has(input:checked)>span{color:#87969b}.guide-video{border:1px solid #4d5e64;background:#181d1e}.video-player{background:#0a0c0c}.video-load{border:0;background:#13181a}.video-play{background:#7d9faa;border:1px solid #baced4;color:#21292b;box-shadow:0 3px 12px #0005}.video-overlay{color:#dde5e8}.video-player iframe{border:0}.video-info{color:#9ca9ae}.video-selection{color:#9cb1b8}.guide-sources{border:1px solid #3e4c50;background:#1a1f20}.guide-sources summary{color:#acbabf}.guide-related{border-top:1px solid #47595f;color:#9fb0b6}dialog{color:var(--text)}dialog::backdrop{background:#060809d9}.dialog-heading{border-bottom:1px solid #475559}.dialog-heading strong{color:#bacbd1}.dialog-heading button{border:1px solid #4d5b5f;background:#252d2f;color:#b0bdc1}.search-dialog{border:1px solid #61767d;background:#1a1e20;box-shadow:0 15px 50px #0009}.dialog-input{border:1px solid #55676d;background:#111517;color:#a0b2b8}.dialog-input input{background:none;border:0}.dialog-input input::placeholder{color:#86969b}.search-count{color:#86969b}.search-result{border:1px solid transparent}.search-result:hover{background:#2c373b75;border-color:#51646b55}.search-result strong{color:#c7d1d5}.search-result small{color:#90a2a8}.search-result>span:last-child{color:#74878e}.search-footer{border-top:1px solid #3d505650;color:#829297}.menu-dialog{border:0;border-right:1px solid #53666c;background:#1a1f21}.guide-lightbox{border:1px solid #6f838a;background:#161d1f}.lightbox-toolbar{border-bottom:1px solid #46585e;background:#1b2326}.lightbox-toolbar button,.lightbox-tools button{border:1px solid #4f656c;background:#293539;color:#b8c8cd}.lightbox-tools{color:#9dadb2}.lightbox-caption{color:#a0aeb3}.lightbox-caption a{color:#aabec5}@media(max-width:950px){.toc-mobile{border:1px solid #435359;background:#1e2426}.toc-mobile summary{color:#abbcc1}}@media(max-width:760px){.header-search{background:none;border-color:#3c4649}.hero-shade{background:linear-gradient(90deg,#131718ed,#181c1dbd 40%,#191b1c45 78%),linear-gradient(0deg,#121516,transparent 40%)}}@media(max-width:480px){.hero-shade{background:linear-gradient(90deg,#131718ef,#181c1dba 48%,#191b1c40 100%),linear-gradient(0deg,#121516 0%,transparent 55%)}.hero-search{background:#141819f5}.wide-overlay{background:linear-gradient(90deg,#171b1df2,#171b1dbd 50%,#171b1d60),linear-gradient(0deg,#161b1c8a,transparent 70%)}.entity-portrait.inventory-slot{box-shadow:inset 0 0 0 4px #161a1c}}.brand{color:#fcfdfd}.brand .brand-mark{color:#b8aaff}.footer-brand{color:#fcfdfd}.game-about{border-top:1px solid #434c4f}.game-about-intro{color:#b9c0c3}.game-about-meta{color:#8a9599}.game-about-meta strong{color:#bec6c9}.game-about-meta a{color:var(--gold)}.official-trailer{border:1px solid #4c575b;background:#131617}.official-trailer-screen{background:#121516}.official-trailer-poster{border:0;background:#191e20;color:#d9e4e8}.trailer-picture-shade{background:linear-gradient(0deg,#0b0d0ee8,transparent 65%)}.trailer-play{border:1px solid #afc6ce;background:#7b9ca7ed;box-shadow:0 4px 20px #0006;color:#1b2123}.official-trailer-poster:hover .trailer-play{background:#9ebac4}.trailer-title small{color:#afbfc5}.trailer-title strong{color:#d1dee3}.trailer-title>span{color:#b1babd}.official-trailer-screen iframe{border:0}.official-trailer figcaption{color:#889498}.official-trailer figcaption a{color:#9fb2b9}.nav-link,.menu-dialog .nav-link{color:#c6ccce}.nav-heading{color:#abb3b5}
.pixel-icon{image-rendering:auto}.reference-panel .pixel-icon{filter:brightness(.35)}.hero-sky{background-position:center 55%}.hero-shade{background:linear-gradient(90deg,#091218ed,#101c24af 45%,#101c2420),linear-gradient(0deg,#10191e,transparent 60%)}.hero-wordmark{color:#e2e7e7}.wide-feature,.lead-feature,.reference-panel,.inventory-slot{border-radius:3px}.feature-art.scene{opacity:.7}

.quick-answer{background:var(--panel-raised);border-color:var(--line);color:var(--text)}.quick-answer :is(p,h2,li,strong){color:var(--text)}

.reference-panel{background:linear-gradient(135deg,#253239,#1d292f);border-color:#51656e;color:#dce5e8;box-shadow:inset 0 0 0 4px #9eb9c708,0 4px 12px #0002}
.reference-panel:before{background:#516a76;border-color:#7d949f}
.reference-panel .eyebrow{color:#aabfc7}.reference-panel h3{color:#e0e8eb}
.reference-panel .ledger-description{color:#b5c8ce}.reference-panel .sample-recipe{border-color:#7e9daa33}
.reference-panel .sample-recipe small{color:#b6c6cc}.reference-panel .sample-recipe>span:last-child{color:#b1c6ce}
.reference-panel .inventory-slot{background:#18242a;border-color:#637881;box-shadow:inset 0 0 0 2px #9cb7c414}
.reference-panel .pixel-icon{filter:none}.reference-panel .recipe-output,.reference-panel .ledger-version,.reference-panel .ledger-all,.reference-panel .ledger-seal{color:#adc3cc}
.reference-panel .sample-recipe:hover{background:#90afbf0a}

:root{--game-background:url("/final-fantasy-resonance/assets/lapis.webp");--serif:Georgia,serif;--bg:#111c25;--panel:#182731;--panel-raised:#203440;--text:#e9eef0;--muted:#b3c4cc;--gold:#a9cedd;--gold-bright:#dbedf5;--line:#3d5968;}
.brand .brand-mark{color:#b8aaff}.brand .brand-name{color:#fafaff}


.hero-sky{background-size:cover;background-position:70% center}.hero-shade{background:linear-gradient(90deg,#101c27f0 0%,#101c27c9 40%,#101c2720 90%),linear-gradient(0deg,#111c25,transparent 60%)}.hero-wordmark{font:normal 39px/1.2 Georgia,serif;letter-spacing:2px;color:#f4f4ec}.hero-wordmark b{display:block;font:normal 48px/1.12 Georgia,serif;letter-spacing:4px;color:#d7eaf2}.hero-description{color:#e1eaf0}.hero-copy{max-width:720px}.hero-art-note{color:#c4d6df}.lead-feature{background:#1b2d38}.feature-art.scene{height:100%;opacity:.65}.feature-copy{width:75%}.feature-copy p{max-width:260px}.reference-panel{background:#21343e}.plaque-icon{border-radius:0;background:#18313e}.chapter{border:1px solid #425c6b;margin:18px 0;background:#1a2b36;padding:15px 20px}.chapter summary{font-size:20px;font-weight:600;cursor:pointer;min-height:38px}.chapter .guide-checklist{margin:20px 0}.table-scroll{overflow-x:auto;width:100%;max-width:100%}.table-scroll table{min-width:520px;width:100%;border-collapse:collapse}.table-scroll td,.table-scroll th{padding:12px 14px;border-bottom:1px solid #425866;vertical-align:top;text-align:left}.table-scroll th{color:#d7eaf2;background:#213641}.prose details:not(.guide-sources){border-left:2px solid #8bb7cb;padding:12px 18px;margin:18px 0}.prose summary{cursor:pointer;min-height:40px}.prose input[type=search]{width:100%;padding:12px;background:#172c38;border:1px solid #648392;color:#fff}.filter-label{display:block;margin:18px 0}.note-actions{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:24px}.note-actions button,.import-button{background:#294652;color:#eaf4fa;border:1px solid #7195a5;padding:9px 14px;cursor:pointer;min-height:44px;font-size:14px}.import-button input{position:absolute;width:1px;height:1px;opacity:0}.import-button:focus-within{outline:2px solid #eaf4fa}.save-note{font-size:14px;color:#c6d7df}.note-actions [role=status]{font-size:14px}.guide-checklist label{min-height:44px}.hero h1{max-width:100%}.main-nav a{min-height:44px;display:inline-flex;align-items:center}.prose a{text-decoration:underline;text-underline-offset:3px}.prose>h2{scroll-margin-top:90px}.footer-brand span{color:#c3d4dd}.hero-caption{color:#c2d7e2}.quick-entry small{color:#c3d4dd}.search-suggestions{flex-wrap:wrap}
@media(max-width:1024px){.hero-wordmark{font-size:33px}.hero-wordmark b{font-size:42px}.hero-copy{padding-right:24px}}
@media(max-width:760px){.hero{min-height:470px}.hero-copy{padding:30px 22px}.hero-wordmark{font-size:27px;letter-spacing:1px}.hero-wordmark b{font-size:36px;letter-spacing:2px}.hero-description{font-size:17px}.hero-shade{background:linear-gradient(90deg,#101c27e8,#101c27a0),linear-gradient(0deg,#111c25,transparent)}.hero-search input{font-size:15px}.hero-caption{display:none}.feature-copy{width:90%}.table-scroll table{font-size:15px}.chapter{padding:12px}.chapter summary{font-size:19px}.main-nav{display:none}.menu-dialog .main-nav{display:flex}.note-actions{gap:8px}.hero-wordmark{overflow-wrap:normal}.hero-art-note{font-size:10px}}
@media(max-width:350px){.hero-wordmark{font-size:23px}.hero-wordmark b{font-size:31px;letter-spacing:1px}.hero-copy{padding-left:18px;padding-right:18px}}
/* Searchable numerical records and planning worksheets. */
.ref-widget { min-width: 0; margin-block: 1.25rem; }
.ref-controls { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,220px),1fr)); gap: 1rem; margin: 1rem 0 1.5rem; align-items: start; }
.ref-controls label,.ref-widget>label { display: grid; gap: .4rem; min-width: 0; color: #ccdae0; font-size: .9rem; }
.ref-controls select,.ref-controls input,.ref-widget>label input,.ref-widget>label select { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; background: #172d38; color: #e8f3f7; border: 1px solid #627f8d; border-radius: 3px; padding: .7rem; font: inherit; }
.ref-widget button { padding: .65rem 1rem; border: 1px solid #6c8e9c; background: #203d4a; color: #edf8fc; border-radius: 3px; cursor: pointer; margin: .3rem .4rem .3rem 0; }
.ref-widget button:disabled { opacity: .45; cursor: default; }
.ref-widget :focus-visible { outline: 3px solid #9bd3e7; outline-offset: 3px; }
.ref-widget .table-scroll { max-width: 100%; }
.ref-widget table { min-width: 570px; table-layout: fixed; }
.ref-widget td { vertical-align: top; overflow-wrap: anywhere; }
.ref-widget td:first-child { width: 42%; }
.ref-details summary { cursor: pointer; color: #d7f0fc; font-weight: 650; }
.ref-details[open] { min-width: 180px; }
.ref-details ul { padding-left: 1rem; font-size: .88rem; }
.ref-details>dl { font-size: .88rem; }
.ref-facts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .3rem .8rem; margin-block: .8rem; }
.ref-facts dt { color: #9eb7c1; }
.ref-facts dd { margin: 0; color: #e1edf2; overflow-wrap: anywhere; }
.ref-status { font-variant-numeric: tabular-nums; color: #d0e4ed; }
.ref-compare,.ref-party { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,260px),1fr)); gap: 1rem; }
.ref-party { grid-template-columns: repeat(auto-fit,minmax(min(100%,330px),1fr)); }
.ref-card { min-width: 0; padding: 1.1rem; border: 1px solid #45616d; background: #12232b; border-radius: 5px; overflow-wrap: anywhere; }
.ref-card h3 { margin-top: 0; }
.ref-card li { margin-block: .5rem; }
.ref-index { border-top: 1px solid #3b5059; padding: 1rem 0; }
.ref-index summary { cursor: pointer; }
.ref-index ul { columns: 2 220px; }
.ref-index li { break-inside: avoid; }
.journey-diagram { width: 100%; height: auto; display: block; }
.ref-widget output { display: block; padding: 1rem; background: #203b49; color: #e6f4f9; border-left: 3px solid #91b5c6; }
@media(max-width:600px) { .ref-compare,.ref-party { grid-template-columns: 1fr; } .ref-controls { grid-template-columns: 1fr; } .ref-widget .table-scroll { margin-inline: 0; } }

/* Correct competitor atlas */
.atlas-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:1rem;margin:1.5rem 0}.atlas-controls label{display:grid;gap:.5rem}.atlas-controls input,.atlas-controls select,.atlas-controls button,.atlas-list button{font:inherit;color:inherit;background:#203440;border:1px solid #58717e;border-radius:4px;padding:.65rem;max-width:100%}.atlas-controls input[type=checkbox]{width:22px;height:22px}.atlas-scroll{max-height:650px;overflow:auto;border:1px solid #58717e;overscroll-behavior:contain}.atlas-scroll svg{display:block;width:100%;height:auto;min-width:300px}.atlas-scroll [data-poi]{cursor:pointer}.atlas-scroll [data-poi]:focus circle,.atlas-scroll .is-selected circle{stroke:#fff;stroke-width:5}.atlas-scroll .is-visited{opacity:.35}.atlas-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.5rem;list-style:none;padding:0;max-height:380px;overflow:auto}.atlas-list li{margin:0}.atlas-list button{width:100%;min-height:44px;text-align:left}.atlas-list button:hover,.atlas-list button:focus{background:#365266}[data-atlas-detail]{padding:1rem;background:#203440;margin:1rem 0}[data-atlas-detail] label{display:block;margin:1rem 0}

[data-attack-notes]{display:grid;gap:1rem;min-width:0;grid-template-columns:minmax(0,1fr)}[data-attack-notes]>label{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}[data-attack-query]{font:inherit;padding:.65rem;color:#e9eef0;background:#203440;border:1px solid #58717e;max-width:100%;width:100%;box-sizing:border-box}[data-attack-notes]>div{min-width:0}[data-attack-warnings]{width:22px;height:22px}
