/* Resource section visual layer: deliberately scoped; no functional selectors changed. */
@media screen {
.fag-section-theme {--fag-accent:#e62938;--fag-navy:#101925;box-sizing:border-box;max-width:1440px;margin-inline:auto;padding-inline:clamp(16px,3vw,42px);padding-block:26px 42px;min-width:0;}
.fag-section-theme :is(.devices-hero-panel,.guide-hub-hero,.calc-hero,.cn-hero,.dl-hero-v12,.trbl-hero,.panelcheat-hero,.ff-hero,.reqwiz-hero,.mra-hero,.fag-panel-library-hero,.component-hero,.skill-hero,.page-header,.videos-header,.sim-header){background:linear-gradient(90deg,#101925 12%,#101925f5 52%,#101925b8),url('/assets/img/home-hero-fire-alarm.webp') right center/cover no-repeat!important;border:1px solid #344255!important;border-top:3px solid #e62938!important;border-radius:16px!important;padding:clamp(20px,3vw,38px)!important;margin-bottom:26px!important;color:#f8fafc!important;box-shadow:0 8px 24px #0002;}
.fag-section-theme :is(.devices-hero-panel,.guide-hub-hero,.calc-hero,.cn-hero,.dl-hero-v12,.trbl-hero,.panelcheat-hero,.ff-hero,.reqwiz-hero,.mra-hero,.fag-panel-library-hero,.component-hero,.skill-hero,.page-header,.videos-header,.sim-header) h1{color:#fff!important;font-size:clamp(1.85rem,3.2vw,2.8rem)!important;line-height:1.15!important;letter-spacing:-.025em;}
.fag-section-theme :is(.devices-hero-panel,.guide-hub-hero,.calc-hero,.cn-hero,.dl-hero-v12,.trbl-hero,.panelcheat-hero,.ff-hero,.reqwiz-hero,.mra-hero,.fag-panel-library-hero,.component-hero,.skill-hero,.page-header,.videos-header,.sim-header)>p{color:#e2e8f0!important;line-height:1.6;}
.fag-section-theme :is(.device-card,.model-result-card,.guide-hub-card,.calc-card,.tool-card,.cn-card,.dl-file-card-v12,.dl-guide-card-v12,.dl-workflow-card-v12,.panelcheat-card,.ff-form-card,.reqwiz-card,.mra-search-card,.fag-panel-item,.component-card,.skill-card,.install-panel,.install-card,.card-grid>.card,.trbl-history-card){border-radius:13px!important;border-bottom:3px solid #e62938!important;box-shadow:0 5px 16px #0002;transition:box-shadow .16s;}
.fag-section-theme :is(a.device-card,a.guide-hub-card,a.cn-card,a.panelcheat-card,a.fag-panel-item,.component-card,.skill-card,.card-grid>.card):hover{box-shadow:0 8px 24px #e6293826;}
.fag-section-theme :is(.devices-section-head,.guide-category-head,.toolkit-section-head,.dl-section-head-v12){border-left:4px solid #e62938;padding-left:14px;margin-block:24px 16px;}
.fag-section-theme.install-wrap>h1{border-top:3px solid #e62938;border-radius:13px 13px 0 0;background:#101925;padding:24px 24px 10px;margin-bottom:0;font-size:clamp(1.8rem,3vw,2.7rem);}
.fag-section-theme.install-wrap>h1+p{background:#101925;color:#e2e8f0;padding:0 24px 24px;margin-top:0;border-radius:0 0 13px 13px;}
.fag-section-theme :focus-visible{outline:3px solid #e62938;outline-offset:3px;}
.fag-section-theme .fag-back{display:inline-flex;align-items:center;gap:8px;color:#cbd5e1;background:#172232;border:1px solid #475569;border-radius:999px;padding:7px 13px;text-decoration:none;font-size:.85rem;margin-bottom:18px;}
.fag-section-theme .fag-back:hover{border-color:#e62938;color:#fff;}
@media(max-width:600px){.fag-section-theme{padding-inline:14px;padding-block:18px 30px;}.fag-section-theme :is(.devices-hero-panel,.guide-hub-hero,.calc-hero,.cn-hero,.dl-hero-v12,.trbl-hero,.panelcheat-hero,.ff-hero,.reqwiz-hero,.mra-hero,.fag-panel-library-hero,.component-hero,.skill-hero,.page-header,.videos-header,.sim-header){padding:18px!important;margin-bottom:18px!important;}}
@media(prefers-reduced-motion:reduce){.fag-section-theme *{transition:none!important;}}
}
@media print{.fag-section-theme .fag-back{display:none!important}}

/* V4: resource hub visual continuity; only directory cards receive light surfaces. */
@media screen {
main.fag-section-theme{max-width:1440px!important;width:100%;box-sizing:border-box;margin:16px auto 36px!important;padding:12px clamp(16px,3.6vw,48px) 32px!important;}
.fag-section-theme .fag-back{margin:0 0 12px;}
.fag-section-theme .fag-section-nav{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 18px;}
.fag-section-theme .fag-section-nav a{display:inline-flex;align-items:center;background:#172232;border:1px solid #526278;border-radius:999px;padding:8px 13px;color:#f5f7fb!important;text-decoration:none;font-size:.84rem;font-weight:700;line-height:1.3;}
.fag-section-theme .fag-section-nav a:hover,.fag-section-theme .fag-section-nav a[aria-current=page]{background:#cf1426;border-color:#f43d4d;}
.fag-section-theme :is(.component-panel,.skill-panel){background:#172232;border:1px solid #344255;border-radius:14px;padding:clamp(16px,2.4vw,26px);}
.fag-section-theme :is(.component-grid,.skill-grid){grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));gap:16px;}
.fag-section-theme :is(.component-card,.skill-card,.install-guide-card){display:flex;flex-direction:column;background:#f7f9fc!important;color:#142033!important;border:1px solid #d9e0ea!important;border-bottom:3px solid #df2034!important;border-radius:13px;padding:19px;text-decoration:none!important;min-width:0;box-sizing:border-box;}
.fag-section-theme :is(.component-card,.skill-card,.install-guide-card):hover{transform:translateY(-2px);border-color:#df2034!important;box-shadow:0 8px 22px #0004;}
.fag-section-theme :is(.component-card,.skill-card,.install-guide-card) h3{color:#101925!important;margin:0 0 10px;font-size:1.08rem;line-height:1.35;}
.fag-section-theme :is(.component-card,.skill-card,.install-guide-card) p{color:#35435a!important;line-height:1.55;margin:0 0 16px;}
.fag-section-theme :is(.component-card,.skill-card,.install-guide-card) .card-link{color:#b90c20!important;font-weight:700;margin-top:auto;padding-top:8px;}
.fag-section-theme :is(.component-card,.skill-card)[hidden]{display:none!important;}
.fag-section-theme .fag-card-icon{display:grid;place-items:center;width:44px;height:44px;border-radius:10px;background:#fbe2e6;color:#cf1426;margin:0 0 13px;}
.fag-section-theme .fag-card-icon svg{width:25px;height:25px;stroke:currentColor;fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;}
.fag-section-theme .install-hero{background:linear-gradient(90deg,#101925 15%,#101925e8 64%,#10192566),url('/assets/img/guide-thumbs/fire-alarm-building-system-interfaces.jpg') center right/cover;border:1px solid #344255;border-top:3px solid #e62938;border-radius:15px;padding:clamp(22px,3vw,38px);margin:0 0 18px;}
.fag-section-theme .install-hero h1{font-size:clamp(1.85rem,3vw,2.7rem);margin:0 0 12px;line-height:1.15;}
.fag-section-theme .install-hero p{margin:0;max-width:900px;}
.fag-section-theme .component-hero{background-image:linear-gradient(90deg,#101925 15%,#101925e8 65%,#10192580),url('/assets/img/guide-thumbs/addressable-device-replacement.jpg')!important;}
.fag-section-theme .skill-hero{background-image:linear-gradient(90deg,#101925 15%,#101925e8 65%,#10192580),url('/assets/img/guide-thumbs/fire-alarm-interface-testing.jpg')!important;}
.fag-section-theme .install-panel#result{border-bottom:3px solid #e62938;min-height:90px;}
.fag-section-theme .install-panel#result h2{margin-top:0;}
.fag-section-theme .install-guide-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));}
.fag-section-theme .install-guide-card{min-height:130px;}
@media(max-width:600px){main.fag-section-theme{padding-inline:14px!important;margin-top:8px!important;}.fag-section-theme :is(.component-grid,.skill-grid,.install-guide-grid){grid-template-columns:1fr;}}
}
