#topviz-modal{position:fixed;inset:0;background:rgba(0,0,0,.86);z-index:99999;overflow-y:auto;padding:20px;color:#f3f6fa}.topviz-shell{max-width:1100px;margin:18px auto;background:#101820;border:1px solid #334155;border-radius:24px;padding:25px;box-shadow:0 20px 90px #000}.topviz-head{display:flex;justify-content:space-between;align-items:start;gap:12px}.topviz-tabs{display:flex;gap:10px;flex-wrap:wrap;margin:24px 0}.topviz-tabs button,.topviz-btn{border:1px solid #3c5867;background:#20303e;color:#fff;padding:10px 15px;border-radius:11px;font-size:13px;font-weight:700;cursor:pointer}.topviz-tabs .active,.topviz-btn.primary{background:#0f989a;border-color:#18c6c3;color:#fff}.topviz-panel{background:#17222d;padding:22px;border-radius:16px;border:1px solid #2a3947}.topviz-panel h3{font-size:20px;font-weight:800;margin-bottom:15px}.topviz-panel label{display:block;font-size:12px;font-weight:700;color:#c5d0da}.topviz-panel input,.topviz-panel select,.topviz-panel textarea{display:block;width:100%;background:#0d151d;border:1px solid #41505d;border-radius:9px;padding:10px;color:white;margin:6px 0 12px}.topviz-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px}.topviz-split,.topviz-macros{display:flex;gap:25px;align-items:center;flex-wrap:wrap}.topviz-macros{padding:20px;background:#101820;border-radius:15px;margin:14px 0}.topviz-donut{height:145px;width:145px;border-radius:50%;display:grid;place-items:center}.topviz-donut>div{background:#101820;height:102px;width:102px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-direction:column;font-size:24px;font-weight:900}.topviz-donut small{font-size:9px;font-weight:400;text-align:center}.topviz-student .topviz-donut{width:120px;height:120px}.topviz-student .topviz-donut>div{width:84px;height:84px;font-size:20px}.topviz-student td,.topviz-student th{font-size:11px}@media(max-width:600px){.topviz-shell{padding:13px}.topviz-panel{padding:12px}}

/* Visual V4: panel premium, reportes con tinta optimizada */
.topviz-report-heading h3{font-size:17px;font-weight:900;color:#20c6ca;letter-spacing:.04em}.topviz-report-heading p{font-size:12px;color:#a5b8c4}.topviz-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:16px 0}.topviz-metric{border:1px solid #315061;background:#122534;border-radius:13px;padding:12px;min-width:0}.topviz-metric span,.topviz-metric em{display:block;font-size:11px;color:#a2b4c2;font-style:normal}.topviz-metric strong{display:block;font-size:22px;color:#fff;margin:6px 0}.topviz-metric strong small{font-size:11px}.topviz-anatomy{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px}.topviz-anatomy h4,.topviz-section-title{font-weight:800;color:#2cccd0;margin:15px 0 9px}.topviz-figures{display:flex;justify-content:space-around;gap:10px}.topviz-figures>div{width:48%;text-align:center}.topviz-figures span{font-size:10px;letter-spacing:1px;color:#a6bdc9}.topviz-figure{width:100%;max-width:175px;height:275px}.topviz-trends{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.topviz-trend{border:1px solid #315061;background:#10232f;padding:12px;border-radius:13px}.topviz-trend svg{width:100%;height:90px}.topviz-trend-label{display:flex;justify-content:space-between;font-size:12px;color:#d4e7ee}.topviz-trend-label span{color:#26c8cb}.topviz-trend small,.topviz-note{font-size:11px;color:#a4b5c2}.topviz-observation{padding:12px;border-left:3px solid #23c5cb;background:#122d38;margin-top:16px}@media(max-width:680px){.topviz-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.topviz-anatomy,.topviz-trends{grid-template-columns:1fr}.topviz-figure{height:235px}}

/* V5: siluetas aprobadas por el cliente, originales recortados del arte validado */
.topviz-approved-figures {align-items:end;gap:12px}
.topviz-approved-figures>div{display:flex;flex-direction:column;align-items:center;justify-content:end}
.topviz-approved-figures .topviz-figure{display:block;width:100%;max-width:210px;height:260px;object-fit:contain;object-position:center bottom;border:0;background:#fff;border-radius:8px}
.topviz-approved-figures span{margin-top:6px}
@media print{.topviz-approved-figures .topviz-figure{height:205px;max-width:135px;print-color-adjust:exact;-webkit-print-color-adjust:exact}}
