.wlayout{display:grid;grid-template-columns:240px minmax(0,1fr) 300px;gap:14px;padding:16px;max-width:1500px;margin:0 auto;height:calc(100vh - 58px)}
.wlayout>.panel{display:flex;flex-direction:column;min-height:0;padding:14px}
.wlist,.mlist{overflow:auto;flex:1;display:flex;flex-direction:column;gap:6px}
.witem{padding:9px 11px;border:1px solid var(--line);border-radius:10px;cursor:pointer;background:#fff}
.witem:hover{border-color:var(--brand)}
.witem.on{background:var(--soft);border-color:var(--brand)}
.witem b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.witem small{color:var(--muted);display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.editor .ttl{font-size:1.2rem;font-weight:700}
.editor .body{flex:1;margin:10px 0;resize:none;font-size:1.05rem;line-height:1.9}
.status{font-size:.85rem;color:var(--muted)}
.mat h3{margin:0 0 10px;font-size:1rem;display:flex;gap:8px;align-items:center}
.mat h3 i{color:var(--brand)}
.mtabs{display:flex;gap:4px;flex-wrap:wrap}
.mtabs button{border:1px solid var(--line);background:#fff;padding:4px 10px;border-radius:999px;cursor:pointer;font-size:.85rem;color:var(--muted);font-weight:600}
.mtabs button.on{background:var(--brand);border-color:var(--brand);color:#fff}
.chk{font-size:.85rem;color:var(--muted);display:flex;gap:6px;align-items:center;margin-bottom:8px;cursor:pointer}
.mi{border:1px solid var(--line);border-radius:10px;padding:9px 11px;background:#fff}
.mi .t{font-weight:700;line-height:1.5;word-break:break-word}
.mi .m{color:var(--muted);font-size:.85rem;line-height:1.5;margin-top:3px;display:none;white-space:pre-wrap}
.mi.open .m{display:block}
.mi .acts{display:flex;gap:6px;margin-top:6px}
@media(max-width:1000px){.wlayout{grid-template-columns:1fr;height:auto}.editor{min-height:60vh}.mlist,.wlist{max-height:260px}}
