
/* Dashboard analisis historis */
.ana-panel{margin:22px 0}.ana-panel h2{margin:27px 0 10px;font-size:1.2rem}.ana-panel p{line-height:1.65}
.ana-filters,.ana-search{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0;padding:14px;border:1px solid #e2e8f0;border-radius:12px}
.ana-filters select,.ana-search input{padding:10px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#111827;max-width:220px}
.ana-filters button,.ana-search button{padding:10px 16px;background:#ea580c;color:#fff;border:0;border-radius:8px;cursor:pointer}
.ana-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:12px;margin:15px 0}
.ana-stats>div{padding:15px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa;display:flex;flex-direction:column;gap:8px}
.ana-stats small{color:#7c2d12}.ana-stats strong{font-size:1.35rem;color:#9a3412}
.ana-bars{display:grid;gap:10px;margin:16px 0}.ana-bar{display:grid;grid-template-columns:24px minmax(50px,1fr) 120px;align-items:center;gap:10px;font-size:.9rem}
.ana-track{height:13px;background:#ffedd5;border-radius:12px;overflow:hidden}.ana-track span{display:block;height:100%;background:#f97316;border-radius:12px}
.ana-table{width:100%;border-collapse:collapse;text-align:center;min-width:470px}.ana-table th,.ana-table td{border:1px solid #e2e8f0;padding:9px 6px}.ana-table th{background:#fff7ed;color:#7c2d12}.ana-table small{display:block;font-size:.72rem;color:#64748b}
.ana-pairs{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:18px}.ana-formula{padding:18px;border-left:4px solid #f97316;background:#fff7ed;border-radius:8px;font-weight:600}
@media(max-width:600px){.ana-bar{grid-template-columns:18px minmax(50px,1fr) 95px;font-size:.8rem}.ana-panel h2{font-size:1.06rem}}


/* Contrast accessibility fixes for SDY dark theme */
.sdytools,.sdy-mini-heatmap,.ana-panel{color:#f8fafc!important}
.sdytools h1,.sdytools h2,.sdytools h3,.sdy-mini-heatmap h2,.ana-panel h1,.ana-panel h2,.ana-panel h3{color:#ffffff!important}
.sdytools p,.sdy-mini-heatmap p,.ana-panel p,.sdytools label,.ana-panel label{color:#e2e8f0!important}
.sdytools .sectionhead p,.sdy-mini-heatmap .sectionhead p,.ana-panel .sectionhead p{color:#cbd5e1!important}
.sdytools a,.sdy-mini-heatmap a,.ana-panel a{color:#ffb56b!important;text-decoration:underline;text-underline-offset:3px}
.sdytools a:hover,.sdy-mini-heatmap a:hover,.ana-panel a:hover{color:#ffe1b8!important}
.sdytools .sdy-stats>div,.ana-panel .ana-stats>div{background:#fff7ed!important;color:#7c2d12!important}
.sdytools .sdy-stats small,.sdytools .sdy-stats strong,.ana-panel .ana-stats small,.ana-panel .ana-stats strong{color:#7c2d12!important}
.sdytools .sdy-controls input,.sdytools .sdy-controls select,.ana-panel .ana-filters select,.ana-panel .ana-search input{background:#fff!important;color:#111827!important;border:2px solid #64748b!important}
.sdytools .sdy-controls input::placeholder,.ana-panel .ana-search input::placeholder{color:#475569!important;opacity:1}
.sdytools .sdy-controls button,.sdytools .sdy-notify-btn,.ana-panel .ana-filters button,.ana-panel .ana-search button{background:#c2410c!important;color:#fff!important;font-weight:700}
.sdytools .sdy-tools-table th,.sdytools .sdy-heatmap th,.sdy-mini-heatmap .sdy-heatmap th{background:#7c2d12!important;color:#fff!important}
.sdytools .sdy-tools-table td{background:#ffffff!important;color:#111827!important}
.sdytools .sdy-heatmap td,.sdy-mini-heatmap .sdy-heatmap td{color:#111827!important;text-shadow:0 1px 1px #ffffffaa!important}
.ana-panel .ana-table th{background:#7c2d12!important;color:#fff!important}
.ana-panel .ana-table td{background:#fff!important;color:#111827!important}
.ana-panel .ana-table td small{color:#475569!important}
.ana-panel .ana-formula{background:#fff7ed!important;color:#7c2d12!important}
.ana-panel .ana-formula strong{color:#9a3412!important}
.sdytools .sdy-pager span,.sdytools #sdyNotifyStatus{color:#f8fafc!important}
.sdytools :focus-visible,.ana-panel :focus-visible{outline:3px solid #fbbf24!important;outline-offset:2px}
