/* Markdown editor — local file opening and document outline (lot 131). */
.tool-shell .md131-import{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}
.tool-shell .md131-file-label{cursor:pointer;display:inline-flex;align-items:center;justify-content:center;min-height:40px;font-size:13px;font-weight:750}
.tool-shell .md131-file-label:focus-visible{outline:3px solid #3b82f6;outline-offset:3px}
.tool-shell #md131Import{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.tool-shell .md131-filename{font-size:13px;line-height:1.5;color:#456078;overflow-wrap:anywhere;flex:1;min-width:170px}
.tool-shell .md131-outline{margin-top:18px;padding:14px 16px;border:1px solid #dbe6ef;border-radius:12px;background:#f8fbfe}
.tool-shell .md131-outline-head{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.tool-shell .md131-outline h4{font-size:15px;line-height:1.4;margin:0;color:#173856}
.tool-shell .md131-outline-count{font-size:12px;color:#53677c}
.tool-shell .md131-heading-list{display:grid;gap:5px;margin-top:11px;max-height:280px;overflow:auto}
.tool-shell .md131-heading{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;padding:9px 10px 9px calc(10px + var(--md131-indent, 0px));text-align:left;border:1px solid transparent;border-radius:8px;color:#1c466c;background:#fff;cursor:pointer;font-size:13px;font-family:inherit;line-height:1.45}
.tool-shell .md131-heading:hover,.tool-shell .md131-heading:focus-visible{border-color:#a9d3ec;background:#eaf6ff;outline-offset:2px}
.tool-shell .md131-heading span{overflow-wrap:anywhere;min-width:0}
.tool-shell .md131-heading small{font-size:12px;white-space:nowrap;color:#61758c}
.tool-shell .md131-hint,.tool-shell .md131-empty{font-size:12.5px;line-height:1.5;color:#53677c;margin:10px 0 0}
@media(max-width:650px){.tool-shell .md131-import{align-items:stretch}.tool-shell .md131-file-label{width:100%}.tool-shell .md131-filename{min-width:0;width:100%}.tool-shell .md131-heading{font-size:13px}}
