/* PANORAMA Estudio Técnico - refined dark interface, independent stylesheet */
[data-sheet-panel="estudios"]{min-width:0}
#studiesRoot{display:flex;flex-direction:column;gap:13px;color:#eaf1f2;
 font:400 12px/1.45 system-ui,sans-serif;min-width:0;padding:2px 0 14px}
.study-header{display:flex;gap:12px;align-items:center;justify-content:space-between}
.study-header>div{min-width:0}
.study-header small{display:block;color:#9fbac0;font:700 10px/1.5 system-ui,sans-serif;letter-spacing:1px}
.study-header h3{margin:2px 0 3px;font:700 20px/1.25 system-ui,sans-serif;letter-spacing:-.5px;color:#edf4f5}
.study-header p{margin:0;color:#a3b3b8;font-size:11px}
.study-refresh{font-size:18px;background:#17272c;color:#e5f4f5;border:1px solid #46646d;
 padding:7px 11px;border-radius:9px;cursor:pointer}
.study-progress{margin:0;color:#b0cbd0;min-height:18px;font:550 11px/1.4 system-ui,sans-serif}
.study-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.study-kpi{display:flex;flex-direction:column;gap:3px;border:1px solid #314349;
 border-radius:9px;padding:10px;background:#111b20;min-width:0}
.study-kpi span{color:#a1b6bc;font:550 10px system-ui,sans-serif}
.study-kpi strong{color:#f2f6f7;font:750 20px/1.15 ui-monospace,monospace}
.study-kpi small{color:#9cabb0;font:450 9px/1.4 system-ui,sans-serif}
.study-nav{display:flex;gap:3px;background:#10191c;padding:3px;border:1px solid #33444b;
 border-radius:10px;overflow:auto;max-width:100%}
.study-nav button{flex:0 0 auto;border:0;border-radius:7px;background:transparent;color:#a9bfc3;
 padding:8px 9px;cursor:pointer;white-space:nowrap;font:650 11px/1.2 system-ui,sans-serif}
.study-nav .is-active{background:#2b4148;color:#f2f9f9;box-shadow:inset 0 0 0 1px #5b8790}
.study-nav button:hover,.study-nav button:focus-visible{background:#34525b;color:#fff}
.study-output{display:flex;flex-direction:column;gap:9px;min-width:0}
.study-output:empty{display:none}
.study-subhead{margin:12px 0 4px;color:#e2eff0;font:700 12px/1.3 system-ui,sans-serif}
.study-flow-list{display:flex;flex-direction:column;gap:5px;border:1px solid #2e4248;
 border-radius:10px;background:#121b20;padding:8px 10px}
.study-flow-row{display:flex;gap:11px;align-items:center;min-width:0}
.study-flow-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px;padding:4px 0}
.study-flow-meta{display:flex;gap:10px;align-items:center;font:600 11px/1.2 system-ui,sans-serif}
.study-flow-meta strong{min-width:38px;color:#cee7ea;font:700 12px ui-monospace,monospace}
.study-flow-meta span{color:#aec0c6}
.study-flow-rail{height:4px;width:100%;border-radius:99px;background:#29393e;overflow:hidden}
.study-flow-bar{height:100%;border-radius:99px;min-width:0;transition:width .15s}
.study-flow-value{color:#f0f5f5;font:750 12px ui-monospace,monospace;width:32px;text-align:right}
.study-method-note{font-size:10px;line-height:1.55;color:#9cafb5;margin:1px 0 6px}
.study-ref{color:#91d4dc;font-weight:700;margin:0 3px;text-decoration:underline}
.study-alert{background:rgba(151,113,51,.11);color:#ead0a3;
 border:1px solid #6e5835;border-radius:8px;padding:10px;margin:0;font-size:11px}
.study-table-scroll{max-width:100%;overflow:auto;border:1px solid #2e4248;border-radius:8px}
.study-table{width:100%;border-collapse:collapse;min-width:370px;font:500 10px/1.4 system-ui,sans-serif}
.study-table thead{background:#203038}
.study-table th,.study-table td{padding:8px 8px;border-bottom:1px solid #2c3e43;white-space:nowrap;text-align:left}
.study-table th{color:#d0e1e6;font-weight:650}
.study-table td{color:#b5c9cc}
.study-table tbody tr:last-child th,.study-table tbody tr:last-child td{border-bottom:0}
.study-phf{display:flex;flex-direction:column;gap:6px;border:1px solid #445c62;
 border-radius:10px;padding:12px;background:#19282d}
.study-phf small{font:700 10px system-ui,sans-serif;color:#9db6bf}
.study-phf strong{font:800 26px/1.2 ui-monospace,monospace;color:#f2f6f6}
.study-phf p{color:#afc0c6;margin:0;font-size:11px}
.study-factor-form{display:flex;flex-direction:column;gap:9px}
.study-factors{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.study-factor-form label{display:flex;flex-direction:column;gap:4px;color:#abc0c6;font-weight:600;font-size:11px}
.study-factor-form input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #415961;
 background:#142228;color:#f0f7f7;border-radius:7px;padding:9px 10px;font:600 12px system-ui,sans-serif}
.study-factor-form button,.study-actions button{border:1px solid #56818a;border-radius:8px;
 padding:10px 12px;background:#263f46;color:#f2f8f8;font:700 11px system-ui,sans-serif;cursor:pointer}
.study-factor-form button:hover,.study-actions button:hover{background:#38565e}
.study-factor-result{color:#e1f0f2;font:650 12px system-ui,sans-serif}
.study-factor-result p{margin:0}
.study-references{display:flex;flex-direction:column;gap:8px;padding-left:18px;margin:0;
 font:500 10px/1.5 system-ui,sans-serif;color:#afc2c8}
.study-references a{color:#9dd8de}
.study-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:5px}
.study-actions button{flex:1 1 120px;white-space:nowrap}
.study-caption{font:450 10px/1.55 system-ui,sans-serif;color:#90aab0;
 margin:0;border-top:1px solid #34474d;padding-top:9px}
@media(max-width:650px){
 .study-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .study-nav button{font-size:10px;padding:8px}
 .study-table{min-width:330px}
 .study-flow-meta{font-size:10px}
 .study-header h3{font-size:17px}
}