/* Дефектологтың динамикалық диагностикасы — қосымша модуль */
#diag-entry{margin:8px 0 4px}
#diag-entry button{width:100%;min-height:48px;border-radius:1.5rem;border:1px solid rgba(45,212,191,.35);background:rgba(11,18,32,.9);color:#f5ecd7;font-weight:700;font-size:15px;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:8px}
#diag-entry button.on{background:#2dd4bf;color:#0b1220}
.diag-on > :not([role=tablist]):not(#diag-entry):not(#par-entry):not(#diag-root):not(:first-child){display:none!important}
#diag-root{display:none;color:#f5ecd7;font-size:14px}
.diag-on > #diag-root{display:block}
#diag-root .card{background:rgba(255,255,255,.04);border:1px solid rgba(45,212,191,.22);border-radius:18px;padding:14px;margin:10px 0}
#diag-root h3{font-size:18px;font-weight:700;margin:0 0 8px}
#diag-root h4{font-size:15px;font-weight:700;margin:12px 0 6px}
#diag-root .row{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
#diag-root label.f{display:flex;flex-direction:column;gap:3px;font-size:12px;color:#9fb3c8}
#diag-root select,#diag-root input,#diag-root textarea{background:#0f1a2e;color:#f5ecd7;border:1px solid rgba(45,212,191,.3);border-radius:10px;padding:7px 9px;font-size:14px;min-height:38px}
#diag-root textarea{min-height:38px;width:100%;resize:vertical}
#diag-root .btn{border-radius:12px;padding:8px 14px;font-weight:700;border:1px solid rgba(45,212,191,.4);background:transparent;color:#f5ecd7;cursor:pointer;min-height:40px}
#diag-root .btn.p{background:#2dd4bf;color:#0b1220;border-color:#2dd4bf}
#diag-root .btn.d{border-color:#f87171;color:#fca5a5}
#diag-root .sub{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:4px;border-radius:16px;background:rgba(11,18,32,.9);border:1px solid rgba(45,212,191,.25)}
#diag-root .sub button{min-height:42px;border-radius:12px;border:0;background:transparent;color:#f5ecd7;font-weight:700;cursor:pointer}
#diag-root .sub button.on{background:#2dd4bf;color:#0b1220}
#diag-root table.dt{width:100%;border-collapse:collapse;font-size:13px}
#diag-root table.dt th,#diag-root table.dt td{border:1px solid rgba(159,179,200,.25);padding:5px;vertical-align:top}
#diag-root table.dt th{background:rgba(45,212,191,.12);text-align:left}
#diag-root table.dt td select,#diag-root table.dt td input,#diag-root table.dt td textarea{width:100%;min-height:34px;font-size:13px}
#diag-root .hint{font-size:12px;color:#9fb3c8;margin-top:3px}
#diag-root .tot{font-size:18px;font-weight:800;color:#2dd4bf}
#diag-root .muted{color:#9fb3c8;font-size:12px}
#diag-root .list{display:flex;flex-direction:column;gap:6px}
#diag-root .item{display:flex;justify-content:space-between;gap:8px;align-items:center;padding:8px 10px;border-radius:12px;background:rgba(255,255,255,.04)}
#diag-root .charts{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:10px}
#diag-root .charts svg{width:100%;height:auto;background:rgba(255,255,255,.03);border-radius:14px}
#diag-root .status{font-size:12px;padding:3px 10px;border-radius:999px;background:rgba(45,212,191,.15);color:#2dd4bf}
#diag-root .status.w{background:rgba(251,191,36,.15);color:#fbbf24}
#diag-root .scroll{overflow-x:auto}
