.outline-host { position:relative; margin-bottom:12px; color:#243247; font:14px/1.5 "Segoe UI",Arial,sans-serif; }
.outline-host[hidden],.outline-host [hidden] { display:none !important; }
.outline-toggle { padding:8px 12px; border:1px solid #cad9e5; border-radius:7px; background:white; color:#155c7c; cursor:pointer; font:inherit; }
.outline-panel { position:fixed; z-index:180; inset:0 auto 0 0; width:min(84vw,340px); display:flex; flex-direction:column; background:white; border-right:1px solid #dce5ed; box-shadow:6px 0 24px #1b33451a; }
.outline-header { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:14px 16px; border-bottom:1px solid #e8edf2; }
.outline-header button { border:0; background:transparent; color:#536579; font-size:23px; cursor:pointer; padding:2px 8px; }
.outline-list { overflow:auto; overscroll-behavior:contain; padding:10px 8px; min-height:0; }
.outline-entry { display:block; width:100%; text-align:left; padding:9px 10px; margin:2px 0; border:0; border-left:3px solid transparent; border-radius:4px; background:transparent; color:inherit; font:inherit; overflow-wrap:anywhere; cursor:pointer; }
.outline-entry:hover { background:#f1f6fa; }
.outline-entry:focus-visible,.outline-toggle:focus-visible,.outline-header button:focus-visible { outline:2px solid #1686aa; outline-offset:-2px; }
.outline-level-1 { font-weight:600; }
.outline-level-2 { padding-left:24px; }
.outline-level-3 { padding-left:38px; font-size:13px; color:#526175; }
.outline-entry[aria-current] { background:#e5f3f5; border-left-color:#008b99; color:#05636c; font-weight:600; }
.outline-overlay { position:fixed; z-index:179; inset:0; width:100%; height:100%; border:0; background:#132b4266; cursor:pointer; touch-action:none; }
.outline-host.outline-inline { position:absolute; top:28px; bottom:28px; left:20px; width:220px; margin:0; }
.outline-inline .outline-panel { position:sticky; inset:auto; top:82px; width:220px; max-height:calc(100dvh - 105px); border:1px solid #e2e8ee; border-radius:8px; box-shadow:none; }
@media(max-width:760px) { .outline-entry { min-height:44px; } }
@media print { .outline-host { display:none !important; } }
