/* Artifacts */
.m-search { display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 9px; border-radius: 7px; background: var(--pill); color: var(--mut); min-width: 0; width: 220px; flex-shrink: 1; }
.m-search input { background: none; border: 0; min-width: 0; width: 100%; color: var(--fg); outline: 0; }
.m-bar { overflow-x: auto; scrollbar-width: none; } .m-bar .tab { flex: none; }
.m-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(204px, 1fr)); gap: 12px; padding: 14px 18px 20px; }
.m-art { display: grid; grid-template-rows: auto 1fr; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); overflow: hidden; min-width: 0; text-align: left; width: 100%; }
.m-art:hover { border-color: var(--line-2); }
.m-thumb { aspect-ratio: 16 / 9; max-width: 100%; background: var(--bg); border-bottom: 1px solid var(--line); display: grid; place-items: center; color: var(--dim); }
.m-thumb svg { width: 62%; height: auto; max-height: 86%; }
.m-art .b { padding: 10px 12px 11px; display: grid; gap: 7px; min-width: 0; align-content: start; }
.m-art .t { font-weight: 510; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.m-art .s { color: var(--mut); font-size: 12px; display: flex; gap: 6px; align-items: center; min-width: 0; }
.m-tags { display: flex; gap: 4px; flex-wrap: wrap; align-items: center; min-width: 0; }
.m-tag { height: 20px; padding: 0 7px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 12px; color: var(--fg-2); display: inline-flex; align-items: center; gap: 5px; white-space: nowrap; max-width: 100%; min-width: 0; }
.m-tag span { overflow: hidden; text-overflow: ellipsis; } .m-tag i { width: 7px; height: 7px; border-radius: 2.5px; flex: none; }
.m-rows .prow { min-height: 46px; } .m-rows .prow .two b { display: block; }
.m-kind { width: 28px; height: 28px; border-radius: 7px; background: var(--pill); display: grid; place-items: center; color: var(--fg-2); flex: none; }
.m-note { color: var(--mut); padding: 14px 18px; font-size: 12.5px; }
.m-view { display: grid; grid-template-columns: minmax(0, 1fr) 288px; flex: 1; min-height: 0; }
.m-stage { min-width: 0; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.m-title { font-size: 20px; font-weight: 590; background: none; border: 0; outline: 0; color: var(--fg); width: 100%; min-width: 0; }
.m-frame { border: 1px solid var(--line); border-radius: 10px; background: #fff; width: 100%; min-height: 520px; flex: 1; }
.m-doc { background: var(--panel-2); padding: 18px 22px; overflow: auto; }
.m-src { width: 100%; min-height: 520px; flex: 1; resize: vertical; border: 1px solid var(--line); border-radius: 10px; background: var(--panel-2); color: var(--fg); padding: 12px; font: 12.5px/1.5 var(--mono); outline: 0; }
@media (max-width: 860px) { .m-view { grid-template-columns: minmax(0, 1fr); overflow-y: auto; } .m-search { width: 140px; } .m-frame, .m-src { min-height: 360px; } }
