/* Meta-analysis Tool */
.ma-wrap { max-width: 1100px; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.ma-header { margin-bottom: 1.25rem; }
.ma-header-title { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; font-weight: 700; color: #e6edf3; }
.ma-header-sub { font-size: .78rem; color: #8b949e; margin-top: .2rem; }
.ma-layout { display: grid; grid-template-columns: 320px 1fr; gap: 1.25rem; }
@media(max-width:700px) { .ma-layout { grid-template-columns: 1fr; } }
.ma-subsection-label { font-size: .72rem; color: #8b949e; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .4rem; margin-top: .85rem; }
.ma-subsection-label:first-child { margin-top: 0; }
.ma-ex-row { display: flex; flex-direction: column; gap: .3rem; }
.ma-ex-btn { text-align: left; padding: .35rem .6rem; background: #161b22; border: 1px solid #21262d; border-radius: 5px; color: #8b949e; font-size: .75rem; cursor: pointer; font-family: inherit; transition: all .15s; }
.ma-ex-btn:hover { border-color: #e3b341; color: #e3b341; }
.ma-trait-inp { width: 100%; box-sizing: border-box; padding: .4rem .65rem; background: #0d1117; border: 1px solid #30363d; border-radius: 6px; color: #e6edf3; font-size: .8rem; font-family: inherit; outline: none; transition: border-color .15s; }
.ma-trait-inp:focus { border-color: #e3b341; }
.ma-model-row { display: flex; gap: 1rem; font-size: .8rem; color: #c9d1d9; }
.ma-model-row label { display: flex; align-items: center; gap: .35rem; cursor: pointer; }
.ma-model-row input[type="radio"] { accent-color: #e3b341; }
.ma-table { width: 100%; border-collapse: collapse; margin-bottom: .5rem; }
.ma-table th { font-size: .68rem; color: #8b949e; font-weight: 700; padding: .3rem .4rem; text-align: left; border-bottom: 1px solid #21262d; }
.ma-table td { padding: .2rem .3rem; }
.ma-s-inp { width: 100%; box-sizing: border-box; padding: .28rem .4rem; background: #0d1117; border: 1px solid #21262d; border-radius: 4px; color: #e6edf3; font-size: .75rem; font-family: inherit; outline: none; }
.ma-s-num { text-align: right; font-family: 'Cascadia Code','Fira Mono',monospace; }
.ma-s-inp:focus { border-color: #e3b341; }
.ma-del-btn { background: none; border: none; color: #484f58; cursor: pointer; padding: .2rem; }
.ma-del-btn:hover { color: #ff6b6b; }
.ma-add-row-btn { padding: .35rem .75rem; background: #21262d; border: 1px solid #30363d; border-radius: 6px; color: #8b949e; font-size: .78rem; cursor: pointer; font-family: inherit; margin-bottom: .65rem; display: block; }
.ma-add-row-btn:hover { color: #c9d1d9; }
.ma-run-btn { width: 100%; padding: .5rem; background: #1e3a1e; border: 1px solid #238636; border-radius: 7px; color: #3fb950; font-size: .88rem; font-weight: 700; cursor: pointer; font-family: inherit; transition: background .15s; }
.ma-run-btn:hover { background: #238636; color: #fff; }
.ma-result-panel { min-width: 0; }
.ma-forest-wrap { margin-bottom: .75rem; overflow-x: auto; }
.ma-forest-svg text { font-family: 'Cascadia Code','Fira Mono',monospace; }
.ma-stats-panel { background: #161b22; border: 1px solid #21262d; border-radius: 8px; padding: .85rem 1rem; }
.ma-stats-title { font-size: .75rem; color: #8b949e; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .55rem; }
.ma-stat-row { display: flex; justify-content: space-between; align-items: center; padding: .22rem 0; border-bottom: 1px solid #161b22; font-size: .8rem; }
.ma-stat-label { color: #8b949e; }
.ma-stat-val { color: #e6edf3; font-family: 'Cascadia Code','Fira Mono',monospace; font-size: .78rem; }
.ma-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; color: #484f58; font-size: .82rem; text-align: center; min-height: 280px; }
.ma-error { color: #ff6b6b; font-size: .82rem; padding: 1rem; }
