/* Responsive reading mode; the same saved Debrief stays attached on every size. */
.hgm-panel{display:contents}
.hgm-panel[hidden],.hgm-tabs[hidden]{display:none!important}
.hgm-tabs,.hgm-mobile-lab-note,.hgm-real-notes,.hgm-recap-empty{display:none}
.hgm-live{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:900px){
 html{scroll-padding-top:76px}
 body.hgls-direct-lesson-page{margin:0!important;min-width:0}
 .hgls-direct-shell{padding:0 17px 36px!important;max-width:740px!important;width:100%!important;font-size:16px!important;line-height:1.9}
 .hgls-direct-shell,.hgls-direct-content,.hgm-panel{min-width:0;overflow-wrap:anywhere}
 .hgls-direct-hero{padding:28px 0 24px!important;min-height:0!important;border-radius:0!important;margin:0!important}
 .hgls-direct-hero h1{font-size:clamp(25px,5.8vw,34px)!important;line-height:1.5!important;letter-spacing:-.035em;margin:12px 0!important;max-width:100%!important}
 .hgls-direct-hero .lead{font-size:15px!important;line-height:1.85!important;margin:0!important;max-width:100%!important}
 .hgls-direct-hero .hgls-hero-scene{opacity:.12!important;pointer-events:none}
 .hgls-direct-hero .hgls-direct-eyebrow{font-size:10px!important;line-height:1.6;letter-spacing:.12em}
 .hgls-direct-meta{gap:6px!important;margin-top:16px!important}
 .hgls-direct-meta .chip{font-size:11px!important;padding:3px 9px!important}
 .hgls-site-header{position:relative!important;backdrop-filter:none}
 .hgls-site-header-inner{gap:8px!important;padding:0 14px!important;min-height:64px!important}
 .hgls-site-name{font-size:13px!important;letter-spacing:0}
 .hgls-site-search{display:none!important}
 .hgls-site-nav{display:none!important}
 .hgls-site-actions{flex:1;gap:8px!important}
 .hgm-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border-bottom:1px solid var(--line);margin:0 0 6px}
 .hgm-tab{appearance:none;font:600 14px/1.6 system-ui;background:transparent!important;border:0!important;border-bottom:3px solid transparent!important;color:var(--muted)!important;min-height:52px;margin:0!important;padding:11px 4px!important;border-radius:0!important;box-shadow:none!important;cursor:pointer}
 .hgm-tab[aria-selected=true]{color:var(--mint)!important;border-bottom-color:var(--mint)!important}
 .hgm-tab:focus-visible,.hgm-read-guide:focus-visible{outline:2px solid var(--mint);outline-offset:2px}
 .hgm-panel{display:block;padding:20px 0 0}
 .hgm-recap-empty:not([hidden]){display:block;font-size:15px;line-height:1.9;color:var(--muted)!important;margin:16px 0}
 .hgls-direct-content .hgp-section{padding:18px 0!important;min-width:0}
 .hgls-direct-content .hgp-section:first-child{padding-top:0!important;border-top:0!important}
 .hgls-direct-content .hgp-section h2,.hgm-guide-panel>h2{font-size:21px!important;line-height:1.6!important;margin:0 0 13px!important}
 .hgls-direct-content .hgp-section h3{font-size:17px!important;line-height:1.7!important;margin:22px 0 10px!important}
 .hgls-direct-content :is(.grid2,.three,.glossary,.safety,.intel-grid){grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 .hgls-direct-content .card{padding:16px!important;min-width:0}
 .hgls-direct-content :is(.card p,.hgp-list li,.mini span,.glossary div){font-size:15px!important;line-height:1.9!important}
 .hgls-direct-content :is(.card strong,.mini b){font-size:15px!important;line-height:1.7!important}
 .hgls-direct-content .mission-map{display:none!important}
 .hgp-equipment-card{background:transparent!important;border:0!important;box-shadow:none!important;padding:8px 0!important}
 .hgp-equipment-card>strong{display:block;margin:0 0 10px}
 .hgp-equipment-card .hgp-list{list-style:none!important;padding:0!important;margin:0!important}
 .hgp-equipment-card .hgp-list>li{padding:11px 0!important;margin:0!important;border-bottom:1px solid var(--line)}
 .hgp-equipment-card .hgp-list>li:last-child{border-bottom:0}
 .hgp-equipment-actions{margin:7px 0 0!important}
 .hgls-direct-shell .hgp-equipment-button{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:7px 12px!important;font-size:12px!important;border:1px solid var(--line)!important;background:var(--panel)!important;color:var(--text)!important;border-radius:8px!important;text-decoration:none!important;box-shadow:none!important;max-width:100%;white-space:normal!important}
 .hgp-equipment-disclosure{display:block;font-size:11px!important;line-height:1.7;color:var(--muted)!important;margin-top:8px}
 .hgls-direct-content a.hgp-equipment-button{-webkit-text-fill-color:var(--text)!important}
 .hgm-desktop-lab,.hgls-direct-content .hgls-article-mount{display:none!important}
 .hgm-mobile-lab-note{display:block;margin:18px 0 26px;padding:19px 17px;border:1px solid var(--line);border-radius:12px;background:var(--panel)}
 .hgm-mobile-lab-note .hgm-lab-label{font:600 11px/1.5 ui-monospace,monospace;letter-spacing:.14em;color:var(--muted)!important;margin:0 0 10px}
 .hgm-mobile-lab-note h2{font-size:15px!important;font-weight:600!important;line-height:1.8;margin:0 0 6px!important}
 .hgm-mobile-lab-note>p:not(.hgm-lab-label){font-size:14px!important;line-height:1.9;color:var(--muted)!important;margin:0 0 15px}
 .hgm-read-guide{font:600 14px/1.7 system-ui!important;display:block;width:100%;min-height:46px;background:var(--mint)!important;color:var(--bg)!important;border:1px solid var(--mint)!important;border-radius:9px!important;padding:9px 14px!important;cursor:pointer;box-shadow:none!important}
 .hgm-guide-label{font:600 11px/1.5 ui-monospace,monospace;color:var(--mint)!important;letter-spacing:.13em;margin:0 0 9px}
 .hgm-guide-intro{font-size:14px;color:var(--muted)!important;line-height:1.9;margin:0 0 22px}
 .hgm-guide-content{min-width:0}
 .hgm-guide-content details{background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:10px;margin:10px 0;overflow:hidden}
 .hgm-guide-content summary{min-height:52px;padding:14px;font-size:15px;line-height:1.7;cursor:pointer;overflow-wrap:anywhere;color:var(--text)!important}
 .hgm-guide-content :is(h3,h4,b,strong){color:var(--text)!important}
 .hgm-guide-content p{font-size:14px!important;line-height:1.9;color:var(--text)!important;white-space:pre-line}
 .hgm-guide-content .awb-step-guide-summary{display:grid;gap:12px;padding:0 14px 15px}
 .hgm-guide-content .awb-step-guide-row{background:transparent!important;border:0!important;padding:0!important;color:var(--text)!important}
 .hgm-guide-content .awb-step-guide-row>b{font-size:12px;color:var(--mint)!important}
 .hgm-guide-content .awb-step-guide-row>p{margin:6px 0 0}
 .hgm-guide-content pre{white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word;background:var(--panel2)!important;color:var(--text)!important;border:1px solid var(--line);border-radius:8px;padding:12px!important;font:13px/1.85 ui-monospace,monospace!important;min-width:0;max-width:100%}
 .hgm-guide-content code{font:inherit!important;background:transparent!important;color:inherit!important;white-space:inherit!important}
 .hgm-guide-content .hgc-guide{color:var(--text)!important;background:var(--panel2)!important;border-color:var(--line)!important;margin:0!important}
 .hgm-guide-content .hgc-guide *{border-color:var(--line)!important}
 .hgm-guide-content .hgc-guide :is(p,span,li,td,th){color:var(--text)!important;font-size:13px!important;line-height:1.8!important}
 .hgm-guide-content .hgc-guide summary{background:transparent!important;color:var(--text)!important}
 .hgm-guide-content .hgc-guide [data-hgc-insert]{display:none!important}
 .hgm-recap-panel .hgp-real-section{display:none!important}
 .hgm-real-notes{display:block;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:8px 0 20px}
 .hgm-real-notes>summary{min-height:52px;padding:13px 0;font-size:16px;color:var(--text);cursor:pointer}
 .hgm-real-notes-body{font-size:15px;line-height:1.95;padding:0 0 16px}
 .hgm-real-notes-body :is(p,li){font-size:15px!important;line-height:1.95;color:var(--text)!important}
 .hgm-real-notes-body h3{font-size:17px!important}
 .hgls-article-result{min-width:0!important;max-width:100%!important}
 .hgls-article-result :is(pre,code){white-space:pre-wrap!important;overflow-wrap:anywhere!important;word-break:break-word;max-width:100%}
 .hgls-article-result :is(.hgls-ar-grid,.hgls-ar-trial-grid){grid-template-columns:minmax(0,1fr)!important}
 .hgls-article-result p{font-size:15px!important;line-height:1.9!important}
 .hgls-direct-content img,.hgls-direct-content svg{max-width:100%}
 .hgls-direct-footer{padding-top:24px!important}
 html[data-hgls-direct-theme=light] .hgls-direct-shell{--bg:#fff;--panel:#fff;--panel2:#edf5f2;--line:#cfdfd9;--text:#173a31;--muted:#526c63;--mint:#12684e;--mint2:#12684e;color:var(--text)!important}
 html[data-hgls-direct-theme=light] body.hgls-direct-lesson-page{background:#fff!important}
 html[data-hgls-direct-theme=light] .hgls-direct-hero{background:linear-gradient(120deg,#fff,#edf5f2)!important}
 html[data-hgls-direct-theme=light] .hgls-direct-content :is(.card,.mini,.glossary div){background:#fff!important;border-color:var(--line)!important;color:var(--text)!important}
 html[data-hgls-direct-theme=light] .hgls-direct-content :is(.card strong,.mini b,.glossary b){color:var(--text)!important}
 @media(prefers-reduced-motion:reduce){.hgls-direct-hero *,.hgls-direct-hero:before,.hgls-direct-hero:after{animation:none!important}}
}
