/* 资料工作台（material-studio-1029） */
.ms-bar { flex-wrap: wrap; gap: 8px; }
.ms-bar input[type=search] { min-width: 200px; }
.ms-check { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.ms-testers { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.ms-testers input { width: 220px; }
.ms-wrap { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: 14px; margin-top: 12px; align-items: start; }
@media (max-width: 860px) { .ms-wrap { grid-template-columns: 1fr; } }
.ms-list { display: flex; flex-direction: column; gap: 6px; max-height: 72vh; overflow: auto; padding-right: 4px; }
.ms-row { text-align: left; padding: 8px 10px; border: 1px solid var(--line, #EBEDF0); border-radius: 10px; background: transparent; cursor: pointer; font: inherit; }
.ms-row:hover, .ms-row.on { border-color: var(--red, #D93A2B); }
.ms-row-title { font-weight: 600; font-size: 13px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.ms-badge { font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: #FDECEA; color: #B4231A; }
.ms-badge.gray { background: #F2F3F5; color: #6B7280; }
.ms-muted { color: #6B7280; font-size: 12px; }
.ms-detail { min-width: 0; }
.ms-head h3 { margin: 0 0 4px; }
.ms-note { margin: 10px 0; padding: 8px 10px; border-radius: 8px; background: #F7F8FA; font-size: 13px; }
.ms-note.warn { background: #FFF4E5; color: #8A4B00; }
.ms-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 10px 0; }
.ms-tab { padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line, #EBEDF0); background: transparent; cursor: pointer; font: inherit; font-size: 13px; }
.ms-tab.on { background: var(--ink, #1F2328); color: #fff; border-color: var(--ink, #1F2328); }
.ms-text { white-space: pre-wrap; word-break: break-word; font-size: 13px; line-height: 1.7; background: #FAFAFB; border: 1px solid var(--line, #EBEDF0); border-radius: 10px; padding: 12px; max-height: 64vh; overflow: auto; }
.ms-editor { display: flex; flex-direction: column; gap: 10px; }
.ms-editor label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.ms-editor input, .ms-editor textarea { font: inherit; font-weight: 400; padding: 8px; border: 1px solid var(--line, #EBEDF0); border-radius: 8px; }
.ms-editor textarea { line-height: 1.7; min-height: 360px; resize: vertical; }
.ms-diff { font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, monospace; border: 1px solid var(--line, #EBEDF0); border-radius: 10px; padding: 8px; max-height: 64vh; overflow: auto; background: #FAFAFB; }
.ms-line { white-space: pre-wrap; word-break: break-word; padding: 0 4px; }
.ms-line.add { background: #E8F7EE; color: #0B6B3A; }
.ms-line.del { background: #FDECEA; color: #A0221A; text-decoration: line-through; }
.ms-gap { color: #9CA3AF; text-align: center; }
.ms-vrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; padding: 6px 0; border-bottom: 1px solid var(--line, #EBEDF0); font-size: 13px; }
.ms-vrow button, .ms-editor .toolbar button:not(.primary) { font-size: 12px; }
.ms-hview { margin-top: 10px; }
.ms-log { font-size: 13px; padding: 4px 0; border-bottom: 1px dashed var(--line, #EBEDF0); }
.ms-merge { margin: 10px 0; padding: 10px 12px; border-radius: 10px; background: #FFF4E5; color: #8A4B00; display: flex; flex-direction: column; gap: 6px; font-size: 13px; }
.ms-merge button { align-self: flex-start; }
