.hgls-ar-result,.hgls-ar-empty{box-sizing:border-box;color:#17352f;background:#f4f8f6;border:1px solid #d0dfd7;border-radius:18px;padding:24px;margin:20px 0;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.7;text-align:left;font-size:15px}.hgls-ar-result *{box-sizing:border-box}.hgls-ar-result h3{font-size:25px;line-height:1.4;color:#133b31;margin:6px 0 8px}.hgls-ar-result h4{font-size:18px;color:#164c3d;margin:0 0 9px}.hgls-ar-result h5{font-size:16px;color:#164c3d;margin:0}.hgls-ar-result p{margin:7px 0 12px;white-space:pre-wrap;overflow-wrap:anywhere}.hgls-ar-label{font-size:11px;letter-spacing:.12em;font-weight:700}.hgls-ar-screen{background:#0c211e;border:1px solid #31574d;border-radius:14px;padding:20px;color:#d9f4e8;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;line-height:1.6;text-align:left}.hgls-ar-screen-top{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;font-size:10px;letter-spacing:.08em;color:#8db5a8;padding-bottom:15px;border-bottom:1px solid #28463d}.hgls-ar-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.hgls-ar-metrics div{display:flex;flex-direction:column;gap:3px}.hgls-ar-metrics b{font-size:26px;line-height:1.2;color:#a8f3c3}.hgls-ar-metrics span{font-size:12px;color:#acc9bf}.hgls-ar-observation{background:#142e28;border-left:3px solid #79d8a0;padding:13px 15px;overflow-wrap:anywhere}.hgls-ar-observation p{margin:7px 0 0;white-space:pre-wrap;font-size:14px;color:#e4f6ed}.hgls-ar-observation .hgls-ar-label{color:#9ccab7}.hgls-ar-flag{display:flex;flex-direction:column;gap:8px;border-top:1px solid #2a4d42;padding-top:17px;margin-top:17px}.hgls-ar-flag span{font-size:12px;color:#a5d3bd}.hgls-ar-flag code{font-family:ui-monospace,monospace;font-size:17px;color:#b7ffc5;overflow-wrap:anywhere;user-select:all;background:transparent;padding:0}.hgls-ar-result-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:25px}.hgls-ar-result details{border-top:1px solid #cfdfd5;padding:11px 0}.hgls-ar-result summary{cursor:pointer;font-weight:650}.hgls-ar-trial{border-top:1px solid #cfdfd5;padding:12px 0}.hgls-ar-trial b{font-size:14px}.hgls-ar-conclusions{border-top:1px solid #bccfc3;margin-top:17px;padding-top:20px}.hgls-ar-conclusions>div{margin:15px 0;background:#e8f1eb;border-radius:10px;padding:16px}.hgls-ar-conclusions strong{color:#1a5a3e}@media(max-width:640px){.hgls-ar-result{padding:17px}.hgls-ar-result-grid{grid-template-columns:1fr;gap:15px}.hgls-ar-screen{padding:15px}.hgls-ar-metrics{gap:7px}.hgls-ar-metrics b{font-size:23px}.hgls-ar-metrics span{font-size:11px}.hgls-ar-result h3{font-size:22px}}

/* v2.6 standard Lab Debrief: page-aware light/dark + animated real-scene checkpoints. */
.hgls-article-result,.hgls-ar-result{--hgdr-bg:#f4f8f6;--hgdr-panel:#e8f1eb;--hgdr-text:#17352f;--hgdr-title:#133b31;--hgdr-line:#c8d9d0;--hgdr-accent:#167d62;--hgdr-shot:#0c211e;--hgdr-shot-text:#d9f4e8;color-scheme:light}
.hgls-article-result[data-hg-theme="dark"],.hgls-ar-result[data-hg-theme="dark"]{--hgdr-bg:#0c1719;--hgdr-panel:#142326;--hgdr-text:#dceae7;--hgdr-title:#f0fbf7;--hgdr-line:#2c4446;--hgdr-accent:#54ddb0;--hgdr-shot:#071411;--hgdr-shot-text:#dcfff2;color-scheme:dark}
.hgls-ar-result[data-hg-theme],.hgls-article-result[data-hg-theme] .hgls-ar-result{background:var(--hgdr-bg);color:var(--hgdr-text);border-color:var(--hgdr-line)}
.hgls-ar-result[data-hg-theme] h3,.hgls-ar-result[data-hg-theme] h4,.hgls-ar-result[data-hg-theme] h5,.hgls-article-result[data-hg-theme] .hgls-ar-result h3,.hgls-article-result[data-hg-theme] .hgls-ar-result h4,.hgls-article-result[data-hg-theme] .hgls-ar-result h5{color:var(--hgdr-title)}
.hgls-ar-result[data-hg-theme] details,.hgls-ar-result[data-hg-theme] .hgls-ar-trial,.hgls-ar-result[data-hg-theme] .hgls-ar-conclusions,.hgls-article-result[data-hg-theme] .hgls-ar-result details,.hgls-article-result[data-hg-theme] .hgls-ar-trial,.hgls-article-result[data-hg-theme] .hgls-ar-conclusions{border-color:var(--hgdr-line)}
.hgls-ar-result[data-hg-theme] .hgls-ar-conclusions>div,.hgls-article-result[data-hg-theme] .hgls-ar-conclusions>div{background:var(--hgdr-panel)}
.hgls-ar-checkpoints{margin:22px 0 26px;display:grid;gap:16px}.hgls-ar-debrief-intro{padding-bottom:2px}.hgls-ar-debrief-intro p{max-width:850px;margin-bottom:0}
.hgls-ar-checkpoint{position:relative;overflow:hidden;border:1px solid var(--hgdr-line);border-radius:16px;background:var(--hgdr-panel);padding:14px}.hgls-ar-checkpoint-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:11px}.hgls-ar-checkpoint-head span{font:700 10px/1 ui-monospace,monospace;letter-spacing:.12em;color:var(--hgdr-accent)}.hgls-ar-checkpoint-head strong{font-size:14px;color:var(--hgdr-title)}
.hgls-ar-motion-shot{position:relative;overflow:hidden;border-radius:12px;background:var(--hgdr-shot);color:var(--hgdr-shot-text);border:1px solid color-mix(in srgb,var(--hgdr-accent) 35%, transparent);transform:translateZ(0);animation:hgdr-float 7s ease-in-out infinite}.hgls-ar-motion-shot>i{position:absolute;inset:-35% 0 auto;height:35%;pointer-events:none;background:linear-gradient(180deg,transparent,rgba(112,255,211,.12),transparent);animation:hgdr-scan 5.8s linear infinite}.hgls-ar-checkpoint:nth-of-type(3) .hgls-ar-motion-shot{animation-delay:-2.2s}.hgls-ar-checkpoint:nth-of-type(4) .hgls-ar-motion-shot{animation-delay:-4.4s}.hgls-ar-checkpoint-copy{padding:12px 3px 2px}.hgls-ar-checkpoint-copy b{color:var(--hgdr-title)}.hgls-ar-checkpoint-copy p{margin-bottom:0}
@keyframes hgdr-float{0%,100%{transform:scale(1) translateY(0)}50%{transform:scale(1.004) translateY(-3px)}}@keyframes hgdr-scan{0%{top:-40%}100%{top:135%}}
@media(prefers-reduced-motion:reduce){.hgls-ar-motion-shot,.hgls-ar-motion-shot>i{animation:none!important}.hgls-ar-motion-shot{transform:none!important}}

.hgls-article-result[data-hg-theme="dark"] .hgls-ar-empty{background:#0c1719;color:#dceae7;border-color:#2c4446}.hgls-article-result[data-hg-theme="light"] .hgls-ar-empty{background:#f4f8f6;color:#17352f;border-color:#d0dfd7}

/* 2.15 reference-exact Debrief presentation: the outer Lesson owns the heading; result renderer only supplies the animated Checkpoints. */
.hgls-article-result{margin:0!important;padding:0!important;border:0!important;background:transparent!important;color:inherit!important;border-radius:0!important}.hgls-article-result .hgls-ar-reference-debrief{display:block}.hgls-article-result .shot{margin:24px 0 34px;border:1px solid #26474d;border-radius:16px;overflow:hidden;background:#071215;padding:0}.hgls-article-result .shot-visual{position:relative;overflow:hidden;background:#061014;min-height:260px}.hgls-article-result .shot-visual>.hgls-scene,.hgls-article-result .shot-visual>.awb-workbench,.hgls-article-result .shot-visual>div:first-child{transform:scale(1.01);transform-origin:center top;animation:debriefDrift 9s ease-in-out infinite;will-change:transform}.hgls-article-result .shot-visual:before{content:"";position:absolute;z-index:40;left:0;right:0;height:18%;top:-22%;background:linear-gradient(180deg,transparent,#73ffdd12,transparent);animation:shotScan 5s linear infinite;pointer-events:none}.hgls-article-result .shot-visual:after{content:"LIVE CAPTURE";position:absolute;z-index:45;top:13px;right:14px;border:1px solid #3b7e70;background:#071716d9;color:#79e6c8;border-radius:999px;padding:4px 8px;font:800 8px ui-monospace,monospace;letter-spacing:.13em}.hgls-article-result .shot-legend{display:flex;gap:8px;align-items:center;padding:8px 12px;background:#071315;border-top:1px solid #1e393e;color:#799394;font:9px ui-monospace,monospace;letter-spacing:.09em}.hgls-article-result .shot-legend b{color:#61dcb9}.hgls-article-result .shot-copy{position:relative;padding:19px 21px}.hgls-article-result .shot-copy:before{content:"AUTO DEBRIEF";position:absolute;right:18px;top:17px;font:800 8px ui-monospace,monospace;letter-spacing:.13em;color:#557479}.hgls-article-result .shot-copy .n{font:800 10px ui-monospace,monospace;letter-spacing:.18em;color:#5fe0bf}.hgls-article-result .shot-copy h3{margin:5px 0 8px;font-size:21px;color:#eaf5f3}.hgls-article-result .shot-copy p{margin:0;color:#bacbcc}.hgls-article-result .hotspot{position:absolute;z-index:44;width:18px;height:18px;border-radius:50%;border:1px solid #71ffd9;box-shadow:0 0 0 0 #71ffd966;animation:hotspot 1.8s ease-out infinite;pointer-events:none}.hgls-article-result .hotspot:after{content:"";position:absolute;inset:5px;border-radius:50%;background:#a3ffe8;box-shadow:0 0 14px #71ffd9}.hgls-article-result .shot-topology .hotspot.h1{left:31%;top:53%}.hgls-article-result .shot-topology .hotspot.h2{left:70%;top:53%;animation-delay:-.6s}.hgls-article-result .shot-bridge .hotspot.h1{left:82%;top:35%}.hgls-article-result .shot-bridge .hotspot.h2{left:17%;top:78%;animation-delay:-.7s}.hgls-article-result .shot-packets .hotspot.h1{left:29%;top:46%}.hgls-article-result .shot-packets .hotspot.h2{left:78%;top:48%;animation-delay:-.9s}.hgls-article-result .hgls-ar-empty{box-sizing:border-box;margin:18px 0;padding:18px 20px;border:1px dashed #2b5557;border-radius:14px;background:#081416;color:#8ba4a5;font:12px/1.8 ui-monospace,monospace}
html[data-hgls-direct-theme="light"] .hgls-article-result .shot{background:#fff;border-color:#c7ddd8}html[data-hgls-direct-theme="light"] .hgls-article-result .shot-visual{background:#edf5f3}html[data-hgls-direct-theme="light"] .hgls-article-result .shot-legend{background:#edf5f3;border-color:#c7ddd8;color:#5d7673}html[data-hgls-direct-theme="light"] .hgls-article-result .shot-copy h3{color:#143330}html[data-hgls-direct-theme="light"] .hgls-article-result .shot-copy p{color:#4e6b67}html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-empty{background:#fff;color:#4e6b67;border-color:#a5cbc3}
@media(max-width:800px){.hgls-article-result .shot-copy:before{position:static;display:block;margin-bottom:5px}.hgls-article-result .shot-visual{min-height:220px}}
@media(prefers-reduced-motion:reduce){.hgls-article-result .shot-visual:before,.hgls-article-result .shot-visual>.hgls-scene,.hgls-article-result .shot-visual>.awb-workbench,.hgls-article-result .shot-visual>div:first-child,.hgls-article-result .hotspot{animation:none!important}}


/* 2.27 — visual Lab Debrief: workbench → terminal → outputs/comparison. */
.hgls-article-result{--hgar-panel:#071619;--hgar-panel2:#0b2020;--hgar-border:#24564f;--hgar-text:#eaf7f3;--hgar-muted:#91aaa7;--hgar-accent:#63e7c2;--hgar-code:#061215}
.hgls-ar-debrief-board{display:grid;grid-template-columns:1.05fr 1fr 1.02fr;gap:14px;align-items:start;margin-top:22px}.hgls-ar-stage{min-width:0;border:1px solid var(--hgar-border);border-radius:15px;overflow:hidden;background:linear-gradient(180deg,#0a1d1f,#061316);box-shadow:0 16px 38px #0004}.hgls-ar-stage>header{display:flex;gap:10px;align-items:center;padding:13px 14px;border-bottom:1px solid var(--hgar-border);background:#0b2523}.hgls-ar-stage>header>span{flex:0 0 29px;width:29px;height:29px;display:grid;place-items:center;border-radius:7px;background:#82f2cf;color:#08221d;font:900 13px ui-monospace,monospace}.hgls-ar-stage>header div{display:grid;gap:2px}.hgls-ar-stage>header b{color:var(--hgar-text);font-size:14px}.hgls-ar-stage>header small{color:var(--hgar-muted);font-size:10px}.hgls-ar-stage-body{padding:12px}.hgls-ar-workbench-shot{padding:0;background:#071411;overflow:auto}.hgls-ar-workbench-shot>.awb-workbench{margin:0!important;border:0!important;border-radius:0!important;transform-origin:top left}.hgls-ar-workbench-shot .awb-snapshot-settings,.hgls-ar-workbench-shot .awb-observation{display:none!important}.hgls-ar-no-scene{padding:30px 18px;color:var(--hgar-muted);font-size:12px}.hgls-ar-terminal{border:1px solid #1f514a;border-radius:11px;overflow:hidden;background:var(--hgar-code)}.hgls-ar-terminal-top{display:flex;justify-content:space-between;gap:12px;padding:8px 10px;border-bottom:1px solid #1f514a;color:#72d8be;font:800 8px ui-monospace,monospace;letter-spacing:.12em}.hgls-ar-terminal pre,.hgls-ar-file pre{margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#b7f4db!important;white-space:pre-wrap;overflow-wrap:anywhere;font:11px/1.65 ui-monospace,SFMono-Regular,Consolas,monospace;padding:12px!important}.hgls-ar-explain-card{margin-top:10px;padding:12px;border:1px solid #205149;border-radius:10px;background:#0c2925}.hgls-ar-explain-card>b{display:block;color:#72efce;font-size:12px;margin-bottom:5px}.hgls-ar-explain-card p{margin:0!important;color:#bcd0cc!important;font-size:11px;line-height:1.7}.hgls-ar-meaning-list{list-style:none!important;margin:0!important;padding:0!important;display:grid;gap:7px}.hgls-ar-meaning-list li{display:grid;gap:2px;margin:0!important}.hgls-ar-meaning-list li b{font-size:10px;color:#7ce6c9}.hgls-ar-meaning-list li span{font-size:11px;color:#bfd1ce;line-height:1.55}.hgls-ar-files{display:grid;gap:8px}.hgls-ar-file{border:1px solid #265c50;border-radius:10px;overflow:hidden;background:#09221d}.hgls-ar-file-head{display:flex;align-items:center;gap:8px;padding:8px 10px;background:#0d3229;border-bottom:1px solid #265c50}.hgls-ar-file-head span{color:#72edc8}.hgls-ar-file-head b{color:#dffaf2;font-size:11px}.hgls-ar-compare-note{margin-top:10px;padding:12px;border:1px solid #3a6544;border-radius:10px;background:#102a1b}.hgls-ar-compare-note>b{color:#d9f5b0;font-size:11px}.hgls-ar-compare-note ul{margin:7px 0 0!important;padding-left:17px!important}.hgls-ar-compare-note li{font-size:10.5px;line-height:1.6;color:#bfd1c1;margin:4px 0!important}.hgls-ar-final-read{display:grid;grid-template-columns:.8fr 1.2fr;gap:18px;margin-top:14px;padding:18px;border:1px solid #24564f;border-radius:14px;background:linear-gradient(135deg,#081b20,#09221c)}.hgls-ar-final-read span{font:800 9px ui-monospace,monospace;letter-spacing:.16em;color:#55ddb9}.hgls-ar-final-read h3{margin:4px 0 4px!important;color:#ecfaf6!important;font-size:18px!important}.hgls-ar-final-read p{margin:0!important;color:#91aaa7!important;font-size:11px}.hgls-ar-final-read ul{margin:0!important;padding-left:18px!important}.hgls-ar-final-read li{font-size:11px;color:#bfd0cc;margin:4px 0!important;line-height:1.6}
html[data-hgls-direct-theme="light"] .hgls-article-result{--hgar-panel:#fff;--hgar-panel2:#edf7f4;--hgar-border:#a7d6ca;--hgar-text:#143330;--hgar-muted:#5d7673;--hgar-accent:#0f8068;--hgar-code:#0d1a1b}html[data-hgls-direct-theme="light"] .hgls-ar-stage{background:#fff;box-shadow:0 12px 30px #163b3120}html[data-hgls-direct-theme="light"] .hgls-ar-stage>header{background:#e9f6f2}html[data-hgls-direct-theme="light"] .hgls-ar-stage>header b{color:#143330}html[data-hgls-direct-theme="light"] .hgls-ar-explain-card{background:#edf7f3;border-color:#afd7cd}html[data-hgls-direct-theme="light"] .hgls-ar-explain-card p,html[data-hgls-direct-theme="light"] .hgls-ar-meaning-list li span{color:#4e6b67!important}html[data-hgls-direct-theme="light"] .hgls-ar-file{background:#eff8f5;border-color:#afd7cd}html[data-hgls-direct-theme="light"] .hgls-ar-file-head{background:#dff1eb;border-color:#afd7cd}html[data-hgls-direct-theme="light"] .hgls-ar-file-head b{color:#143330}html[data-hgls-direct-theme="light"] .hgls-ar-compare-note{background:#f4f8e9;border-color:#c7d7a3}html[data-hgls-direct-theme="light"] .hgls-ar-compare-note li{color:#52674c}html[data-hgls-direct-theme="light"] .hgls-ar-final-read{background:#edf7f3;border-color:#afd7cd}html[data-hgls-direct-theme="light"] .hgls-ar-final-read h3{color:#143330!important}html[data-hgls-direct-theme="light"] .hgls-ar-final-read p,html[data-hgls-direct-theme="light"] .hgls-ar-final-read li{color:#4e6b67!important}
@media(max-width:1050px){.hgls-ar-debrief-board{grid-template-columns:1fr 1fr}.hgls-ar-stage-compare{grid-column:1/-1}.hgls-ar-files{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.hgls-ar-debrief-board{grid-template-columns:1fr}.hgls-ar-stage-compare{grid-column:auto}.hgls-ar-files{grid-template-columns:1fr}.hgls-ar-final-read{grid-template-columns:1fr}}


/* 2.29 — reference-exact debrief dashboard. */
.hgls-article-result{--hgar-neon:#38d9bb;--hgar-neon2:#6cf1cf;--hgar-deep:#031114;--hgar-card:#071a1b;--hgar-card2:#0a2420;--hgar-line:#1d695d}
.hgls-ar-debrief-board{gap:10px!important;margin-top:10px!important;align-items:stretch!important}
.hgls-ar-stage{border-color:#247665!important;border-radius:8px!important;background:linear-gradient(180deg,#07221f 0,#06191a 44%,#041315 100%)!important;box-shadow:inset 0 0 0 1px #64f0cc0b,0 12px 34px #0005!important}
.hgls-ar-stage>header{min-height:64px;padding:9px 10px!important;gap:9px!important;background:linear-gradient(180deg,#0b2825,#08211f)!important;border-bottom-color:#226858!important}
.hgls-ar-stage>header>span{width:24px!important;height:24px!important;flex-basis:24px!important;border-radius:5px!important;background:linear-gradient(180deg,#8affdf,#62dcbc)!important;box-shadow:0 0 13px #57e6c559;color:#052019!important;font-size:11px!important}
.hgls-ar-stage>header b{font-size:13px!important;line-height:1.25!important}.hgls-ar-stage>header small{margin-top:2px;color:#9db6b1!important;font-size:9.5px!important;line-height:1.35!important}
.hgls-ar-stage-body{padding:9px!important}.hgls-ar-workbench-shot{padding:0!important;background:#051813!important;position:relative;overflow:hidden!important}
.hgls-ar-replay-bar{height:28px;display:flex;align-items:center;justify-content:space-between;padding:0 9px;border-bottom:1px solid #1e5a4d;background:#0b3228;color:#9af0d4;font:800 8px/1 ui-monospace,monospace;letter-spacing:.09em}.hgls-ar-replay-bar span{padding:3px 6px;border:1px solid #297460;border-radius:999px;color:#65dfbf;background:#09231e}
.hgls-ar-workbench-shot>.awb-workbench{width:128%!important;transform:scale(.78)!important;transform-origin:top left!important;min-height:500px!important}.hgls-ar-workbench-shot{height:430px}.hgls-ar-workbench-shot .awb-toolbar{display:none!important}.hgls-ar-workbench-shot .awb-guide-shell{display:none!important}
.hgls-ar-terminal{border-color:#236957!important;border-radius:7px!important;background:#031316!important}.hgls-ar-terminal-top{padding:7px 8px!important;border-bottom-color:#235c50!important;background:#08211f;color:#55dfbd!important;font-size:8px!important}.hgls-ar-terminal pre,.hgls-ar-file pre{padding:9px 10px!important;color:#c9f6e6!important;font-size:9.5px!important;line-height:1.5!important}
.hgls-ar-explain-card{margin-top:8px!important;padding:10px!important;border-color:#215e53!important;border-radius:7px!important;background:#08211f!important}.hgls-ar-explain-card>b{margin-bottom:4px!important;color:#63e4c0!important;font-size:10.5px!important}.hgls-ar-explain-result{background:#08251e!important}.hgls-ar-explain-card p,.hgls-ar-meaning-list li span{font-size:9.5px!important;line-height:1.55!important}.hgls-ar-meaning-list{gap:4px!important}.hgls-ar-meaning-list li b{font-size:9px!important}
.hgls-ar-files{gap:6px!important}.hgls-ar-file{border-color:#266b55!important;border-radius:7px!important;background:#071f1b!important}.hgls-ar-file-head{padding:7px 8px!important;background:#0b3026!important;border-bottom-color:#286b58!important}.hgls-ar-file-head span{font-size:14px!important}.hgls-ar-file-head b{font-size:10px!important}.hgls-ar-file pre{max-height:78px;overflow:auto}.hgls-ar-no-output{padding:14px;color:#8da9a3;font-size:10px}.hgls-ar-compare-note{margin-top:7px!important;padding:9px 10px!important;border-color:#396a40!important;border-radius:7px!important;background:#102a1b!important}.hgls-ar-compare-note>b{font-size:10px!important}.hgls-ar-compare-note ul{margin-top:5px!important}.hgls-ar-compare-note li{margin:2px 0!important;font-size:9.5px!important;line-height:1.45!important}
.hgls-ar-final-read{margin-top:10px!important;padding:11px 12px!important;gap:11px!important;border-color:#247467!important;border-radius:8px!important;background:linear-gradient(145deg,#06191d,#071e1a)!important;grid-template-columns:1.45fr .85fr!important;box-shadow:inset 0 0 0 1px #61e8c50a}.hgls-ar-final-copy{min-width:0}.hgls-ar-read-title{display:flex;align-items:flex-start;gap:9px}.hgls-ar-read-icon{display:grid;place-items:center;width:26px;height:26px;flex:0 0 26px;border-radius:7px;border:1px solid #2f806e;background:#0e3a31;color:#70e9c8;font:900 15px ui-monospace,monospace}.hgls-ar-final-read h3{margin:0!important;font-size:15px!important}.hgls-ar-final-read p{font-size:9.5px!important;line-height:1.5!important}.hgls-ar-final-output{display:flex;align-items:center;gap:8px;margin-top:9px;padding:7px 8px;border:1px solid #225c54;border-radius:6px;background:#071418;overflow:hidden}.hgls-ar-final-output>span{flex:0 0 auto;padding:3px 7px;border:1px solid #327c6e;border-radius:5px;background:#0d342e;color:#65e5c1;font:800 8px ui-monospace,monospace;letter-spacing:.05em}.hgls-ar-final-output code{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#d9f4ec;font:9px ui-monospace,monospace}.hgls-ar-final-meaning{margin:8px 0 0!important;color:#bed0cc!important}.hgls-ar-final-checks{border:1px solid #235b50;border-radius:7px;background:#0a211d;padding:9px 10px}.hgls-ar-final-checks>b{color:#77e4c4;font-size:10.5px}.hgls-ar-final-checks ul{margin:6px 0 0!important;padding-left:16px!important}.hgls-ar-final-checks li{font-size:9.5px!important;line-height:1.45!important;margin:2px 0!important;color:#b9cfca!important}
html[data-hgls-direct-theme="light"] .hgls-ar-stage{background:#fff!important;border-color:#8fcbbb!important;box-shadow:0 10px 28px #1f5b4f16!important}html[data-hgls-direct-theme="light"] .hgls-ar-stage>header{background:#e9f6f1!important;border-color:#a6d5ca!important}html[data-hgls-direct-theme="light"] .hgls-ar-replay-bar{background:#dff2eb;color:#176d5a;border-color:#9ecfc3}html[data-hgls-direct-theme="light"] .hgls-ar-workbench-shot{background:#eaf5f1!important}html[data-hgls-direct-theme="light"] .hgls-ar-explain-card,html[data-hgls-direct-theme="light"] .hgls-ar-explain-result{background:#edf7f3!important;border-color:#acd6cc!important}html[data-hgls-direct-theme="light"] .hgls-ar-file{background:#f3faf7!important;border-color:#add6ca!important}html[data-hgls-direct-theme="light"] .hgls-ar-file-head{background:#e1f2ed!important;border-color:#add6ca!important}html[data-hgls-direct-theme="light"] .hgls-ar-compare-note{background:#f4f8e9!important}html[data-hgls-direct-theme="light"] .hgls-ar-final-read{background:#fff!important;border-color:#9fcfc4!important}html[data-hgls-direct-theme="light"] .hgls-ar-final-checks{background:#eef7f4;border-color:#acd6cc}html[data-hgls-direct-theme="light"] .hgls-ar-final-output{background:#f2f8f6;border-color:#b8d8d1}html[data-hgls-direct-theme="light"] .hgls-ar-final-output code{color:#264a43}
@media(max-width:1050px){.hgls-ar-workbench-shot{height:390px}.hgls-ar-workbench-shot>.awb-workbench{transform:scale(.7)!important;width:143%!important}}
@media(max-width:760px){.hgls-ar-stage>header{min-height:auto}.hgls-ar-workbench-shot{height:auto}.hgls-ar-workbench-shot>.awb-workbench{width:100%!important;transform:none!important;min-height:0!important}.hgls-ar-final-read{grid-template-columns:1fr!important}.hgls-ar-final-output code{white-space:normal}}


/* 2.30+ — robust light theme + higher contrast for the Debrief. */
html[data-hgls-direct-theme="light"] .hgls-article-result,
.hgls-article-result[data-hg-theme="light"]{
  --hgar-panel:#ffffff;--hgar-panel2:#f1f8f5;--hgar-border:#8ebfb3;--hgar-text:#102f29;--hgar-muted:#4e6d65;--hgar-accent:#08745f;--hgar-code:#061619;
  color:#173a32!important;
}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-stage,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-stage{background:#fff!important;border-color:#87bdae!important;box-shadow:0 8px 24px #163b3115!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-stage>header,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-stage>header{background:#eaf6f2!important;border-bottom-color:#9fcabf!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-stage>header b,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-stage>header b{color:#123b32!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-stage>header small,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-stage>header small{color:#52736a!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-stage>header>span,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-stage>header>span{background:#50d9b8!important;color:#063a2e!important;box-shadow:none!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-replay-bar,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-replay-bar{background:#dcefe9!important;color:#0d6655!important;border-color:#96c4b8!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-replay-bar span,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-replay-bar span{background:#fff!important;color:#0a6b57!important;border-color:#75ae9f!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-workbench-shot,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-workbench-shot{background:#edf7f3!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-workbench-shot :is(.awb-device-label,.awb-pin>span),
.hgls-article-result[data-hg-theme="light"] .hgls-ar-workbench-shot :is(.awb-device-label,.awb-pin>span){color:#173e35!important;border-color:#7dac9f!important;background:#fbfefd!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-workbench-shot :is(.awb-device-hint,.awb-bench-label,.awb-bench-caption),
.hgls-article-result[data-hg-theme="light"] .hgls-ar-workbench-shot :is(.awb-device-hint,.awb-bench-label,.awb-bench-caption){color:#45695f!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-explain-card,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-explain-card{background:#f3faf7!important;border-color:#a4cec3!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-explain-card>b,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-explain-card>b,
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-meaning-list li b,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-meaning-list li b{color:#08715d!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-explain-card p,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-explain-card p,
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-meaning-list li span,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-meaning-list li span{color:#355e54!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-file,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-file{background:#fbfdfc!important;border-color:#a1cec2!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-file-head,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-file-head{background:#e6f3ef!important;border-color:#a1cec2!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-file-head span,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-file-head span{color:#08715d!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-file-head b,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-file-head b{color:#163a32!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-file pre,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-file pre{color:#234f45!important;background:#fff!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-compare-note,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-compare-note{background:#f5f8e9!important;border-color:#bdcc8d!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-compare-note>b,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-compare-note>b{color:#52641b!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-compare-note li,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-compare-note li{color:#38564e!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-read,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-read{background:#fff!important;border-color:#8ebfb3!important;box-shadow:0 8px 22px #163b3110!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-read-icon,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-read-icon{background:#e3f4ef!important;border-color:#91c5b7!important;color:#08715d!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-read h3,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-read h3{color:#123b32!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-read p,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-read p{color:#496a61!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-output,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-output{background:#f3f8f6!important;border-color:#aacfc5!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-output>span,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-output>span{background:#0d745f!important;color:#fff!important;border-color:#0d745f!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-output code,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-output code{color:#214c42!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-checks,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-checks{background:#f3faf7!important;border-color:#a4cec3!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-checks>b,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-checks>b{color:#08715d!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-final-checks li,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-final-checks li{color:#355e54!important}
/* Plain-language explanations keep normal detail, so give the text enough room to breathe. */
.hgls-ar-stage>header small{max-width:52ch}.hgls-ar-compare-note li,.hgls-ar-final-checks li{line-height:1.62!important}.hgls-ar-final-meaning{max-width:84ch}


/* 2.34.11 — chronological Lab replay: command -> result -> meaning */
.hgls-ar-walkthrough{margin:16px 0 14px;padding:16px;border:1px solid #24564f;border-radius:15px;background:linear-gradient(180deg,#081a1c,#061416)}
.hgls-ar-walkthrough>header{margin-bottom:12px}.hgls-ar-walkthrough>header>span{color:#65e7c3;font:800 9px ui-monospace,monospace;letter-spacing:.14em}.hgls-ar-walkthrough>header h3{margin:3px 0 3px!important;color:#ecfaf6!important;font-size:18px!important}.hgls-ar-walkthrough>header p{margin:0!important;color:#9fb5b1!important;font-size:11px!important}
.hgls-ar-walk-list{display:grid;gap:9px}.hgls-ar-walk-step{display:grid;grid-template-columns:40px minmax(0,.92fr) minmax(0,1.08fr);gap:10px;align-items:stretch;padding:10px;border:1px solid #1f4943;border-radius:11px;background:#0a211f}.hgls-ar-walk-no{display:grid;place-items:center;width:34px;height:34px;margin-top:2px;border-radius:9px;background:#123d35;border:1px solid #347765;color:#71e5c5;font:900 10px ui-monospace,monospace}.hgls-ar-walk-command,.hgls-ar-walk-result{min-width:0;padding:10px;border-radius:9px;background:#071719;border:1px solid #1e403c}.hgls-ar-walk-command>b,.hgls-ar-walk-result>b{display:block;margin-bottom:6px;color:#70e2c3;font-size:10px}.hgls-ar-walk-command code{display:block;padding:7px 8px;border-radius:6px;background:#041012;color:#d8f4eb;white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.6 ui-monospace,monospace}.hgls-ar-walk-command strong{display:block;color:#e6f4ef}.hgls-ar-walk-command p,.hgls-ar-walk-result p{margin:7px 0 0!important;color:#b5cbc6!important;font-size:10px!important;line-height:1.55!important}.hgls-ar-walk-result pre{margin:0!important;padding:7px 8px!important;border:0!important;border-radius:6px;background:#041012!important;color:#b9f0d8!important;white-space:pre-wrap;overflow-wrap:anywhere;font:10px/1.6 ui-monospace,monospace}.hgls-ar-walk-result p strong{color:#7be4c6}
html[data-hgls-direct-theme="light"] .hgls-ar-walkthrough,.hgls-article-result[data-hg-theme="light"] .hgls-ar-walkthrough{background:#fff;border-color:#91c7ba;box-shadow:0 8px 22px #123c3210}html[data-hgls-direct-theme="light"] .hgls-ar-walkthrough>header h3,.hgls-article-result[data-hg-theme="light"] .hgls-ar-walkthrough>header h3{color:#123b32!important}html[data-hgls-direct-theme="light"] .hgls-ar-walkthrough>header p,.hgls-article-result[data-hg-theme="light"] .hgls-ar-walkthrough>header p{color:#506f67!important}html[data-hgls-direct-theme="light"] .hgls-ar-walk-step,.hgls-article-result[data-hg-theme="light"] .hgls-ar-walk-step{background:#eff8f5;border-color:#acd4ca}html[data-hgls-direct-theme="light"] .hgls-ar-walk-command,html[data-hgls-direct-theme="light"] .hgls-ar-walk-result,.hgls-article-result[data-hg-theme="light"] :is(.hgls-ar-walk-command,.hgls-ar-walk-result){background:#fff;border-color:#c0ddd6}html[data-hgls-direct-theme="light"] .hgls-ar-walk-command code,html[data-hgls-direct-theme="light"] .hgls-ar-walk-result pre,.hgls-article-result[data-hg-theme="light"] .hgls-ar-walk-command code,.hgls-article-result[data-hg-theme="light"] .hgls-ar-walk-result pre{background:#f3f8f6!important;color:#214d43!important;border:1px solid #d1e4df!important}html[data-hgls-direct-theme="light"] .hgls-ar-walk-command p,html[data-hgls-direct-theme="light"] .hgls-ar-walk-result p,.hgls-article-result[data-hg-theme="light"] .hgls-ar-walk-command p,.hgls-article-result[data-hg-theme="light"] .hgls-ar-walk-result p{color:#3b6157!important}
@media(max-width:820px){.hgls-ar-walk-step{grid-template-columns:38px 1fr}.hgls-ar-walk-result{grid-column:2}}


/* 2.34.17 — Debrief simplified to:
   workbench -> replay notes -> what the results tell us */
.hgls-ar-debrief-board.hgls-ar-debrief-simple{
 grid-template-columns:1fr!important;
 max-width:none!important;
}
.hgls-ar-debrief-simple .hgls-ar-stage-workbench{
 width:100%!important;
}
.hgls-ar-debrief-simple .hgls-ar-workbench-shot{
 max-height:560px;
 overflow:auto;
}
.hgls-ar-debrief-simple .hgls-ar-workbench-shot>.awb-workbench{
 min-width:900px;
}
.hgls-ar-conclusion{
 margin-top:16px!important;
}
.hgls-ar-conclusion .hgls-ar-final-copy{
 align-self:start;
}
.hgls-ar-conclusion .hgls-ar-final-checks{
 display:flex;
 flex-direction:column;
 justify-content:center;
}
.hgls-ar-conclusion .hgls-ar-final-checks>b{
 color:#78e3c5;
 font-size:12px;
}
.hgls-ar-conclusion .hgls-ar-final-checks li{
 margin:7px 0!important;
 line-height:1.75!important;
}
html[data-hgls-direct-theme="light"] .hgls-ar-conclusion .hgls-ar-final-checks>b,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-conclusion .hgls-ar-final-checks>b{
 color:#0a725e!important;
}
@media(max-width:760px){
 .hgls-ar-debrief-simple .hgls-ar-workbench-shot{max-height:none}
 .hgls-ar-debrief-simple .hgls-ar-workbench-shot>.awb-workbench{min-width:760px}
}

/* 2.34.74 — verified, in-progress Debrief; main and extra records stay separate. */
.hgls-ar-status{grid-column:1/-1;padding:16px 18px;margin:14px 0;border:1px solid #32645c;border-radius:12px;background:#0b211f;color:#dbeee8;display:flex;align-items:center;justify-content:space-between;gap:18px;min-width:0}
.hgls-ar-status p{margin:0!important;font-size:14px!important;line-height:1.7!important;color:inherit!important}
.hgls-ar-status button{flex-shrink:0;border:1px solid #49a48d;border-radius:9px;padding:10px 14px;background:#113b32;color:#ebfff9;font-family:inherit;font-weight:600;font-size:13px;line-height:1.5;cursor:pointer}
.hgls-ar-status button:focus-visible{outline:2px solid #69f4d0;outline-offset:3px}
.hgls-ar-load-error{border-color:#af7851}
.hgls-ar-track{grid-column:1/-1;min-width:0;margin:14px 0 22px}
.hgls-ar-track-header{padding:12px 0;border-bottom:1px solid #2c504b;margin:0 0 12px}
.hgls-ar-track-header>span{color:#75e4c9;font:700 12px/1.5 ui-monospace,monospace;letter-spacing:.1em}
.hgls-ar-track-header h3{font-size:22px!important;line-height:1.45!important;margin:5px 0!important;color:#e7f6f0!important}
.hgls-ar-track-header p{font-size:13px!important;color:#aac7bd!important;margin:4px 0!important}
.hgls-ar-track .hgls-ar-workbench-shot{max-height:480px}
.hgls-ar-track .hgls-ar-walk-command p,.hgls-ar-track .hgls-ar-walk-result p{font-size:13px!important;line-height:1.7!important}
.hgls-ar-track .hgls-ar-walk-result pre,.hgls-ar-track .hgls-ar-walk-command code{font-size:13px!important}
html[data-hgls-direct-theme="light"] .hgls-ar-status,.hgls-article-result[data-hg-theme="light"] .hgls-ar-status{background:#eff8f4;border-color:#91bdaf;color:#25483e}
html[data-hgls-direct-theme="light"] .hgls-ar-track-header h3,.hgls-article-result[data-hg-theme="light"] .hgls-ar-track-header h3{color:#123e30!important}
html[data-hgls-direct-theme="light"] .hgls-ar-track-header p,.hgls-article-result[data-hg-theme="light"] .hgls-ar-track-header p{color:#4c6f63!important}
html[data-hgls-direct-theme="light"] .hgls-ar-track-header>span,.hgls-article-result[data-hg-theme="light"] .hgls-ar-track-header>span{color:#147154}
@media(max-width:760px){.hgls-ar-status{flex-direction:column;align-items:flex-start}.hgls-ar-status button{width:100%}.hgls-ar-track-header h3{font-size:19px!important}.hgls-ar-track{max-width:100%}.hgls-ar-track .hgls-ar-walk-step{grid-template-columns:1fr}.hgls-ar-track .hgls-ar-walk-result{grid-column:1}}
/* Keep reconstructed workbenches inside the article, never cropped to one device. */
.hgls-ar-track .hgls-ar-workbench-shot{overflow:auto!important;height:auto!important;max-height:540px}
.hgls-ar-track .hgls-ar-workbench-shot>.awb-workbench{width:100%!important;transform:none!important;min-height:0!important}
.hgls-ar-track .hgls-ar-workbench-shot .awb-snapshot-settings{display:flex!important;flex-wrap:wrap}
.hgls-ar-track .hgls-ar-workbench-shot .awb-observation{display:block!important}
.hgls-ar-track .hgls-ar-walk-step>*{min-width:0;overflow-wrap:anywhere}
.hgls-ar-track .hgls-ar-final-read>*{min-width:0;overflow-wrap:anywhere}
.hgls-ar-track .hgls-ar-walk-result pre{white-space:pre-wrap;overflow-wrap:anywhere}
@media(max-width:760px){
 .hgls-ar-track .hgls-ar-workbench-shot{max-height:420px}
 .hgls-ar-track .hgls-ar-workbench-shot:before{content:'左右にスクロールして作業台を確認';display:block;position:sticky;left:0;padding:9px 12px;font:12px/1.5 sans-serif;color:#aad5c6;background:#08251e}
 .hgls-ar-track .hgls-ar-final-read{grid-template-columns:minmax(0,1fr)!important}
 .hgls-ar-track .hgls-ar-walk-step{grid-template-columns:minmax(0,1fr)!important}
 .hgls-ar-track .hgls-ar-debrief-board.hgls-ar-debrief-simple{grid-template-columns:minmax(0,1fr)!important}
}

.hgls-article-result,.hgls-article-result *{box-sizing:border-box}

/* 2.34.75 — one short conclusion, shared by live records and legacy results. */
.hgls-article-result .hgls-ar-conclusion-compact{display:block!important;grid-column:1/-1!important;padding:18px 20px!important;min-height:0!important}
.hgls-article-result .hgls-ar-conclusion-compact .hgls-ar-read-title{align-items:center;margin-bottom:8px}
.hgls-article-result .hgls-ar-conclusion-compact h3{font-size:18px!important;line-height:1.5!important}
.hgls-article-result .hgls-ar-conclusion-compact p.hgls-ar-final-meaning{margin:4px 0 0!important;font-size:15px!important;line-height:1.7!important;color:#d0e6de!important}
html[data-hgls-direct-theme="light"] .hgls-article-result .hgls-ar-conclusion-compact p.hgls-ar-final-meaning,
.hgls-article-result[data-hg-theme="light"] .hgls-ar-conclusion-compact p.hgls-ar-final-meaning{color:#2d5548!important}
@media(max-width:520px){.hgls-article-result .hgls-ar-conclusion-compact{padding:15px!important}}

/* 2.34.76 — explanation diagrams; intentionally scoped outside the live Lab. */
.hgls-article-result .hgls-dd-diagram{--dd-accent:var(--hgdr-accent);margin:18px 0 24px;padding:26px;border:1px solid var(--hgdr-line);border-radius:18px;background:var(--hgdr-panel);color:var(--hgdr-title);width:100%;min-width:0;overflow:hidden;container-type:inline-size}
.hgls-article-result .hgls-dd-diagram figcaption{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:0 0 24px!important;padding:0!important;color:var(--hgdr-title);font-size:18px;line-height:1.5}
.hgls-article-result .hgls-dd-diagram figcaption>span{font:700 11px/1.6 ui-monospace,monospace;letter-spacing:.15em;color:var(--dd-accent)}
.hgls-article-result .hgls-dd-flow{display:flex;align-items:stretch;justify-content:center;gap:6px;min-width:0}
.hgls-article-result .hgls-dd-node{display:flex;flex:1 1 0;min-width:0;max-width:270px;flex-direction:column;align-items:center;text-align:center;padding:18px 8px;gap:8px;border:1px solid transparent;border-radius:12px;color:var(--hgdr-title)}
.hgls-article-result .hgls-dd-node.is-application{border:1px dashed var(--hgdr-accent);background:var(--hgdr-bg)}
.hgls-article-result .hgls-dd-no{font:700 11px/1.5 ui-monospace,monospace;letter-spacing:.12em;color:var(--dd-accent)}
.hgls-article-result .hgls-dd-icon{width:108px;height:108px;max-width:100%;flex-shrink:0;color:var(--dd-accent);display:block}
.hgls-article-result .hgls-dd-hot{color:#e79531}
.hgls-article-result .hgls-dd-screen{fill:#eaae36;stroke:#ba7b22;fill-opacity:.8}
.hgls-article-result .hgls-dd-node>b,.hgls-article-result .hgls-dd-endpoint>b{font-size:16px;line-height:1.6;overflow-wrap:anywhere;color:var(--hgdr-title)}
.hgls-article-result .hgls-dd-detail{font-size:13px;line-height:1.65;color:var(--hgdr-text);overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-status{display:inline-block;margin:2px 0 0;padding:4px 9px;border-radius:6px;font-size:12px;line-height:1.65;font-weight:700;color:var(--dd-accent);border:1px solid var(--hgdr-line);background:var(--hgdr-bg);overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-status.is-failed{color:#c95336}
.hgls-article-result[data-hg-theme="dark"] .hgls-dd-status.is-failed{color:#ffc095}
.hgls-article-result .hgls-dd-arrow{flex:0 0 36px;display:flex;align-items:center;color:var(--dd-accent);align-self:center}
.hgls-article-result .hgls-dd-arrow>svg{display:block;width:100%;height:22px}
.hgls-article-result .hgls-dd-arrow.is-application{opacity:.65}
.hgls-article-result .hgls-dd-application{display:flex;align-items:center;gap:18px;border-top:1px dashed var(--hgdr-line);padding:18px 0 0;margin-top:24px;min-width:0}
.hgls-article-result .hgls-dd-application>span{font:700 11px/1.8 ui-monospace,monospace;color:var(--dd-accent);flex:0 0 auto;max-width:100px}
.hgls-article-result .hgls-dd-application>.hgls-dd-icon{width:40px;height:40px;flex:0 0 40px}
.hgls-article-result .hgls-dd-application>div{min-width:0;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-application b{font-size:16px;line-height:1.7;color:var(--hgdr-title)}
.hgls-article-result .hgls-dd-application p{font-size:13px!important;line-height:1.7!important;margin:4px 0 0!important;color:var(--hgdr-text)!important}
.hgls-article-result .hgls-dd-distance{display:grid;gap:14px}
.hgls-article-result .hgls-dd-distance-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(70px,1.2fr) minmax(0,1fr);gap:18px;align-items:center;padding:16px 26px;background:var(--hgdr-bg);border:1px solid var(--hgdr-line);border-radius:12px}
.hgls-article-result .hgls-dd-endpoint{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0}
.hgls-article-result .hgls-dd-endpoint>.hgls-dd-icon{width:78px;height:78px}
.hgls-article-result .hgls-dd-endpoint>span:not(.hgls-dd-status){font-size:12px;color:var(--hgdr-text)}
.hgls-article-result .hgls-dd-distance-line{text-align:center;color:var(--dd-accent)}
.hgls-article-result .hgls-dd-distance-line>b{font-size:36px;font-weight:700;line-height:1.5;font-family:ui-monospace,monospace;letter-spacing:-.04em}
.hgls-article-result .hgls-dd-distance-line small{font-size:17px;letter-spacing:0;margin-left:4px}
.hgls-article-result .hgls-dd-distance-line>.hgls-dd-arrow{width:100%;margin-top:8px}
.hgls-article-result .hgls-dd-continuation{margin:18px 0 0!important;text-align:center;font-size:13px!important;color:var(--hgdr-text)!important}
/* Stack by figure width as well as viewport: article columns also stay readable. */
@container (max-width:620px){
 .hgls-article-result .hgls-dd-flow{flex-direction:column;align-items:center;gap:0}
 .hgls-article-result .hgls-dd-flow>.hgls-dd-node{width:100%;max-width:100%;padding:16px 10px}
 .hgls-article-result .hgls-dd-flow>.hgls-dd-arrow{height:30px;flex-basis:30px;width:35px;transform:rotate(90deg)}
}
@media(max-width:760px){
 .hgls-article-result .hgls-dd-diagram{padding:18px 14px;border-radius:14px}
 .hgls-article-result .hgls-dd-diagram figcaption{gap:5px;flex-direction:column;align-items:flex-start;font-size:16px;margin-bottom:16px!important}
 .hgls-article-result .hgls-dd-flow{flex-direction:column;align-items:center;gap:0}
 .hgls-article-result .hgls-dd-flow>.hgls-dd-node{width:100%;max-width:100%;padding:14px 8px}
 .hgls-article-result .hgls-dd-flow>.hgls-dd-arrow{height:30px;flex-basis:30px;width:35px;transform:rotate(90deg)}
 .hgls-article-result .hgls-dd-distance-row{gap:8px;padding:12px 8px;grid-template-columns:minmax(0,1fr) minmax(45px,.65fr) minmax(0,1fr)}
 .hgls-article-result .hgls-dd-endpoint>.hgls-dd-icon{width:62px;height:62px}
 .hgls-article-result .hgls-dd-endpoint>b{font-size:13px}
 .hgls-article-result .hgls-dd-distance-line>b{font-size:25px}
 .hgls-article-result .hgls-dd-distance-line small{font-size:13px}
 .hgls-article-result .hgls-dd-status{font-size:11px;padding:3px 5px}
 .hgls-article-result .hgls-dd-application{flex-wrap:wrap;gap:10px}
 .hgls-article-result .hgls-dd-application>span{flex-basis:100%;max-width:none}
 .hgls-article-result .hgls-dd-application>div{flex:1}
}

.hgls-article-result .hgls-dd-distance-line>.hgls-dd-arrow{position:relative;width:var(--hgls-dd-distance-span,100%);height:16px;margin:8px auto 0}
.hgls-article-result .hgls-dd-distance-line>.hgls-dd-arrow>svg{visibility:hidden}
.hgls-article-result .hgls-dd-distance-line>.hgls-dd-arrow:before{content:'';position:absolute;left:0;right:0;top:7px;border-top:2px solid currentColor}
.hgls-article-result .hgls-dd-distance-line>.hgls-dd-arrow:after{content:'';position:absolute;right:1px;top:3px;width:9px;height:9px;border-top:2px solid currentColor;border-right:2px solid currentColor;transform:rotate(45deg)}

/* 2.34.136 — readable condition / action / observation diagrams, outside the Lab. */
.hgls-article-result .hgls-dd-reading{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin:-12px 0 20px;font-size:12px;line-height:1.5;color:var(--hgdr-text)}
.hgls-article-result .hgls-dd-reading>.hgls-dd-arrow{width:26px;flex-basis:26px}
.hgls-article-result .hgls-dd-operations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;min-width:0}
.hgls-article-result .hgls-dd-operations[data-count="1"]{grid-template-columns:minmax(0,1fr)}
.hgls-article-result .hgls-dd-operation{min-width:0;background:var(--hgdr-bg);border:1px solid var(--hgdr-line);border-radius:14px;overflow:hidden;text-align:left;margin:0;padding:0;color:var(--hgdr-text);box-shadow:none}
.hgls-article-result .hgls-dd-operation>header{display:flex;align-items:flex-start;gap:12px;border-bottom:1px solid var(--hgdr-line);padding:17px 18px;margin:0;min-width:0}
.hgls-article-result .hgls-dd-step{display:block;flex:0 0 auto;color:var(--dd-accent);font:700 11px/1.6 ui-monospace,monospace;letter-spacing:.03em;border:1px solid var(--hgdr-line);padding:3px 7px;border-radius:5px;margin:2px 0 0}
.hgls-article-result .hgls-dd-operation h4{font-size:16px!important;line-height:1.65!important;font-weight:700;margin:0!important;padding:0!important;color:var(--hgdr-title)!important;overflow-wrap:anywhere;min-width:0}
.hgls-article-result .hgls-dd-conditions,.hgls-article-result .hgls-dd-execute,.hgls-article-result .hgls-dd-observed{position:relative;padding:17px 18px;min-width:0}
.hgls-article-result .hgls-dd-execute{border-top:1px dashed var(--hgdr-line);border-bottom:1px dashed var(--hgdr-line)}
.hgls-article-result .hgls-dd-part{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:700;color:var(--dd-accent);line-height:1.5;margin:0 0 12px}
.hgls-article-result .hgls-dd-part>i{font:700 10px/18px ui-monospace,monospace;font-style:normal;width:18px;height:18px;text-align:center;border:1px solid var(--hgdr-line);border-radius:50%;flex:0 0 18px}
.hgls-article-result .hgls-dd-device{display:flex;align-items:center;gap:10px;min-width:0;margin:0 0 11px}
.hgls-article-result .hgls-dd-device>.hgls-dd-icon{width:52px;height:52px;flex:0 0 52px}
.hgls-article-result .hgls-dd-device-copy{display:flex;flex-direction:column;min-width:0;gap:0;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-device-copy small{font-size:10px;line-height:1.5;color:var(--hgdr-text)}
.hgls-article-result .hgls-dd-device-copy b{font-size:15px;line-height:1.6;color:var(--hgdr-title)}
.hgls-article-result .hgls-dd-device-copy>span{font-size:11px;line-height:1.5;color:var(--hgdr-text)}
.hgls-article-result .hgls-dd-value{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font:13px/1.8 ui-monospace,monospace;min-width:0;margin:0 0 6px;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-value code{padding:0;border:0;background:none;font:inherit;color:var(--hgdr-title);white-space:normal;min-width:0;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-value>b{font:700 14px/1.7 ui-monospace,monospace;color:var(--dd-accent);border:1px solid var(--hgdr-line);border-radius:5px;padding:1px 9px;min-width:0;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-was{color:var(--hgdr-text);font-size:12px}
.hgls-article-result .hgls-dd-condition+.hgls-dd-condition{margin-top:12px;padding-top:12px;border-top:1px solid var(--hgdr-line)}
.hgls-article-result .hgls-dd-operation p{margin:5px 0 0!important;font-size:12px!important;line-height:1.8!important;color:var(--hgdr-text)!important;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-operation pre{display:block;margin:6px 0 0!important;border:0;border-radius:8px;padding:11px 12px;background:var(--hgdr-panel);color:var(--hgdr-title);font:12px/1.85 ui-monospace,SFMono-Regular,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;min-width:0;max-width:100%;box-shadow:none}
.hgls-article-result .hgls-dd-operation pre.hgls-dd-command{background:#071215;color:#d9eee7;border:1px solid #294941}
.hgls-article-result .hgls-dd-command code{color:inherit;background:none;padding:0;border:0;font:inherit;white-space:inherit;overflow-wrap:inherit}
.hgls-article-result .hgls-dd-auth{display:inline-block;font-size:10px;line-height:1.65;color:var(--hgdr-text);margin:6px 0 0}
.hgls-article-result .hgls-dd-observed{border-left:3px solid var(--dd-accent);background:var(--hgdr-panel)}
.hgls-article-result .hgls-dd-observed pre{background:var(--hgdr-bg);padding:9px 11px}
.hgls-article-result .hgls-dd-observed>small{display:block;margin:6px 0 0;font-size:10px;line-height:1.6;color:var(--hgdr-text)}
.hgls-article-result .hgls-dd-no-condition{font-size:12px;line-height:1.8;color:var(--hgdr-text)}
.hgls-article-result .hgls-dd-more{margin:12px 0 0;border-top:1px solid var(--hgdr-line);padding:8px 0 0;min-width:0}
.hgls-article-result .hgls-dd-more>summary{cursor:pointer;font-size:12px;line-height:1.8;color:var(--dd-accent);padding:4px 0;min-height:32px}
.hgls-article-result .hgls-dd-more>summary:focus-visible{outline:2px solid var(--dd-accent);outline-offset:3px}
.hgls-article-result .hgls-dd-more[open]>.hgls-dd-condition{margin-top:10px}
.hgls-article-result .hgls-dd-console-target{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.7;margin:6px 0;min-width:0;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-console-target>.hgls-dd-arrow{flex-basis:28px}
.hgls-article-result .hgls-dd-compare-note{display:flex;align-items:flex-start;gap:16px;border-top:1px solid var(--hgdr-line);margin-top:20px;padding:18px 0 0;min-width:0}
.hgls-article-result .hgls-dd-compare-note>.hgls-dd-icon{flex:0 0 36px;width:36px;height:36px}
.hgls-article-result .hgls-dd-compare-note>div{min-width:0}
.hgls-article-result .hgls-dd-compare-note>div>b{display:block;font-size:13px;line-height:1.7;color:var(--hgdr-title);margin-bottom:5px}
.hgls-article-result .hgls-dd-differences{display:flex;flex-wrap:wrap;gap:8px 18px;min-width:0}
.hgls-article-result .hgls-dd-differences>span{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:11px;line-height:1.8;color:var(--hgdr-text);min-width:0;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-differences code{font:12px/1.7 ui-monospace,monospace;color:var(--hgdr-title);background:none;padding:0;min-width:0;overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-differences b{font:700 12px/1.7 ui-monospace,monospace;color:var(--dd-accent);overflow-wrap:anywhere}
.hgls-article-result .hgls-dd-compare-note p{margin:6px 0 0!important;font-size:11px!important;line-height:1.8!important;color:var(--hgdr-text)!important;overflow-wrap:anywhere}
@container (max-width:700px){
 .hgls-article-result .hgls-dd-operations{grid-template-columns:minmax(0,1fr);gap:18px}
 .hgls-article-result .hgls-dd-reading{justify-content:flex-start}
}
@media(max-width:760px){
 .hgls-article-result .hgls-dd-operations{grid-template-columns:minmax(0,1fr);gap:18px}
 .hgls-article-result .hgls-dd-reading{justify-content:flex-start;margin:0 0 16px}
}
@media(max-width:420px){
 .hgls-article-result .hgls-dd-operation>header{flex-direction:column;gap:7px;padding:14px}
 .hgls-article-result .hgls-dd-conditions,.hgls-article-result .hgls-dd-execute,.hgls-article-result .hgls-dd-observed{padding:14px}
 .hgls-article-result .hgls-dd-compare-note{gap:9px}
 .hgls-article-result .hgls-dd-compare-note>.hgls-dd-icon{width:28px;height:28px;flex-basis:28px}
}
/* Keep small explanatory text legible on the light panel as well. */
.hgls-article-result[data-hg-theme="light"] .hgls-dd-diagram[data-diagram-kind="actions"]{--dd-accent:#116e56}
.hgls-article-result .hgls-dd-outcome-read{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:13px;line-height:1.6;font-weight:700;color:var(--dd-accent)}
.hgls-article-result .hgls-dd-outcome-read[data-dd-read="refused"]{color:#ffc095}
.hgls-article-result[data-hg-theme="light"] .hgls-dd-outcome-read[data-dd-read="refused"]{color:#953c19}
.hgls-article-result .hgls-dd-outcome-read>span{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border:1px solid currentColor;border-radius:50%;font-size:12px;flex:0 0 19px}
