.systems-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:20px}.systems-tabs [aria-pressed=true]{border-color:var(--accent,#67d4e6);box-shadow:inset 0 -3px var(--accent,#67d4e6)}.systems-layout{display:grid;grid-template-columns:minmax(200px,260px) minmax(0,1fr);gap:18px;align-items:start}.systems-main,.systems-library{min-width:0}.systems-item{padding:16px 0;border-bottom:1px solid var(--line,#5555)}.systems-item button{text-align:left;white-space:normal}.systems-item small{display:block;margin-top:6px;color:var(--muted,#9ba7b5)}.systems-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:12px;margin:22px 0}.systems-kpis article{padding:18px;border:1px solid var(--line,#8885);border-radius:12px;background:var(--bg,#ffffff05)}.systems-kpis span{display:block;font-size:.85em;margin-bottom:8px}.systems-kpis strong{font-size:1.65em}.systems-preview{max-width:100%;overflow:auto;margin:16px 0}.systems-preview table{min-width:400px;width:100%}.systems-bars>div{display:grid;grid-template-columns:minmax(80px,1fr) minmax(80px,2fr) minmax(70px,auto);gap:12px;align-items:center;margin:14px 0}.systems-bars span{overflow-wrap:anywhere}.systems-bars meter{width:100%;height:20px;accent-color:#9670ee}.systems-line{width:100%;max-height:260px;color:var(--accent,#9670ee)}.systems-answer{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.systems-editor{width:100%;height:78vh;min-height:520px;border:1px solid var(--line,#8885);border-radius:12px;background:#fff}.systems-main input,.systems-main select,.systems-main textarea{max-width:100%;min-width:0}.systems-main textarea{width:100%;min-height:100px}#systems-area fieldset .checkbox{display:inline-flex;margin:8px 18px 8px 0}#systems-area .small{overflow-wrap:anywhere}#systems-area h2{overflow-wrap:anywhere}@media(max-width:950px){.systems-layout{grid-template-columns:1fr}.systems-library{max-height:280px;overflow:auto}.systems-editor{height:65vh;min-height:420px}}@media(max-width:550px){.systems-main{padding:16px}.systems-kpis{grid-template-columns:1fr 1fr}.systems-tabs .btn{flex:1}.systems-bars>div{grid-template-columns:1fr 1fr}.systems-bars strong{text-align:right}.systems-bars meter{grid-column:1/-1}}

#systems-area .systems-tabs .btn{width:auto;flex:0 1 auto}#systems-area .systems-tabs{display:flex;flex-direction:row}
