:root{--green:#00c853;--green-dark:#00897b;--green-deep:#0d2818;--bg-page:#f4faf6;--text:#1a2e1a;--mono:"JetBrains Mono", "Share Tech Mono", "Fira Code", monospace;--sans:"Inter", system-ui, sans-serif}*{box-sizing:border-box}html,body,#root{min-height:100vh;color:var(--text);font-family:var(--sans);text-align:left;overflow-x:hidden;background:var(--bg-page)!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important}select,input,button{font-family:inherit}@keyframes pulse{0%,to{opacity:1}50%{opacity:.4}}.dashboard{width:100%;max-width:100%;padding:1.5rem 1.5rem 4.5rem}.dashboard-header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;display:flex}.header-status{flex-wrap:wrap;align-items:center;gap:1rem;display:flex}.header-title{word-break:break-word;line-height:1.35}.stats-grid{grid-template-columns:repeat(5,1fr);gap:1rem;margin-bottom:1.5rem;display:grid}.charts-grid{grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:1.5rem;display:grid}.main-grid{grid-template-columns:1fr 1.2fr 1fr;gap:1.5rem;display:grid}.preflight-grid{grid-template-columns:1fr 1fr;gap:1rem;margin-top:1rem;display:grid}.checks-grid{grid-template-columns:repeat(3,1fr);gap:.4rem;margin-top:.8rem;display:grid}.btn-row{flex-wrap:wrap;gap:.5rem;display:flex}.btn-row button{touch-action:manipulation;min-height:44px}.control-panel-header{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;display:flex}.table-scroll{-webkit-overflow-scrolling:touch;max-width:100%;overflow-x:auto}.chart-card{flex-direction:column;height:400px;display:flex}.chart-card-body{flex:1;min-height:0}.form-grid-2{grid-template-columns:1fr 1fr;gap:1rem;display:grid}.margin-preset-row button{touch-action:manipulation;min-height:44px}.login-wrap{box-sizing:border-box;padding:1rem}.login-card input,.login-card button{touch-action:manipulation;min-height:44px}@media (width<=1024px){.stats-grid{grid-template-columns:repeat(3,1fr)}.main-grid,.charts-grid{grid-template-columns:1fr}}@media (width<=768px){.dashboard{padding:.65rem .65rem 4rem}.dashboard-header{flex-direction:column;align-items:stretch;padding:.85rem 1rem!important}.header-title{font-size:.95rem!important}.header-sub{font-size:.65rem!important}.header-status{justify-content:space-between;width:100%}.stats-grid{grid-template-columns:repeat(2,1fr);gap:.65rem}.stat-value{font-size:1.25rem!important}.preflight-grid{grid-template-columns:1fr}.checks-grid{grid-template-columns:1fr 1fr}.control-panel{padding:1rem!important}.btn-row{width:100%}.btn-row button{flex:calc(50% - .35rem);padding:.55rem .5rem!important;font-size:.7rem!important}.chart-card{height:300px}.panel-pad{padding:1rem!important}.log-table .col-date,.log-table .col-price,.backtest-table .col-pattern{display:none}.active-trades-panel{padding:1rem!important}.active-trades-header{flex-direction:column;align-items:flex-start!important}.news-ticker-label{display:none}.news-ticker-live{padding:0 .4rem!important;font-size:.55rem!important}.form-grid-2{grid-template-columns:1fr!important}.margin-preset-row{flex-wrap:wrap}.margin-preset-row button{flex:calc(33% - .35rem);min-width:0}.login-card{max-width:100%!important;padding:1.75rem 1.25rem!important}}@media (width<=480px){.stats-grid,.checks-grid{grid-template-columns:1fr}.btn-row button{flex:100%}.chart-card{height:260px}.margin-preset-row button{flex:100%}.header-title span{display:inline-block;margin:.2rem .25rem .2rem 0!important}}@supports (padding:max(0px)){.dashboard{padding-left:max(.65rem, env(safe-area-inset-left));padding-right:max(.65rem, env(safe-area-inset-right));padding-bottom:max(4rem, calc(3.5rem + env(safe-area-inset-bottom)))}.news-ticker-bar{padding-bottom:max(.55rem, env(safe-area-inset-bottom))}}
