.auto-status{display:flex;justify-content:space-between;gap:12px;padding:18px 22px;border:1px solid #bdcebd;border-radius:14px;background:#edf5eb;margin-bottom:12px}.auto-status span{font-size:13px;color:#526353}#auto-error{color:#a13624;min-height:1.5em}.auto-positive{color:#b63d36}.auto-negative{color:#2869b4}#equity-chart{width:100%;height:190px;display:block}.panel p{line-height:1.8}td small{display:block;color:#6c766f;font-size:11px;margin-top:5px}.panel+.panel{margin-top:22px}@media(max-width:600px){.auto-status{flex-direction:column}.panel .heading{align-items:flex-start;gap:12px}#equity-chart{height:150px}}

.auto-status{background:var(--panel-soft);border-color:var(--line);color:var(--mint)}.auto-status span,td small{color:var(--muted)}.auto-positive{color:var(--positive)}.auto-negative{color:var(--negative)}#auto-error{color:var(--positive)}a{color:var(--mint)}#auto-stats{margin:16px 0 6px}#auto-valuation{margin-bottom:20px}

.market-performance{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:20px}.market-performance .panel{margin:0}.market-performance strong{display:block;font-size:26px;margin:10px 0}.auto-market-filter{display:flex;width:max-content;margin:20px 0 10px}#auto-signals td:first-child{min-width:145px}@media(max-width:600px){.market-performance{grid-template-columns:1fr}.market-performance .panel{padding:16px}}

/* Readable status, section navigation and searchable signals. */
a{text-decoration:none}.header-actions a{display:flex;align-items:center;min-height:44px;border:1px solid var(--line);border-radius:9px}
.auto-jumps{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}.auto-jumps a{display:flex;align-items:center;min-height:44px;padding:8px 15px;border:1px solid var(--line);border-radius:24px;background:var(--panel);font-size:12px}.auto-jumps a:hover{background:#304136}
.auto-status{align-items:center;margin-bottom:8px}.auto-status strong::before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:#a3b2a9;margin-right:9px}.auto-status[data-state=running] strong::before{background:var(--mint)}.auto-status[data-state=delayed] strong::before{background:#f2bb7b}.auto-status[data-state=delayed]{color:#f2bb7b}
.refresh-bar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.refresh-bar button{min-height:44px;white-space:nowrap;font-size:12px}#auto-error:empty{display:none}#auto-error:not(:empty){padding:12px 16px;border:1px solid #715045;border-radius:10px;background:#30251f;margin-bottom:18px;font-size:12px}
.auto-rules summary{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0;min-height:44px;list-style:none}.auto-rules summary::-webkit-details-marker{display:none}.auto-rules summary strong{font-size:15px}.auto-rules summary span{font-size:11px;color:var(--muted)}.auto-rules[open] summary{border-bottom:1px solid var(--line);padding-bottom:14px;margin-bottom:14px}.rules-content p+p{margin-top:12px}.rules-content{font-size:13px}
.signal-tools{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin-bottom:16px}.signal-tools label{margin:0;max-width:420px;flex:1}.signal-tools input{display:block;width:100%;margin-top:6px;font-size:13px;min-height:44px}.signal-tools>span{white-space:nowrap;padding-bottom:12px}
#signals-section .table-wrap{max-height:460px}.table-wrap{border:1px solid var(--line);border-radius:9px}.table-wrap thead th{position:sticky;top:0;z-index:1;font-size:11px}.table-wrap tbody tr:hover{background:#223329}#auto-signals td:last-child{white-space:normal;min-width:230px;text-align:left}#auto-trades td:last-child{white-space:normal;min-width:220px;max-width:320px;text-align:left}.pager button,.auto-market-filter button{min-height:44px}.panel[id]{scroll-margin-top:16px}.panel[id]:focus{outline:none}.panel[id]:focus-visible{outline:2px solid var(--mint);outline-offset:3px}
@media(max-width:600px){.page-header{flex-direction:column}.header-actions{flex-direction:row;flex-wrap:wrap;align-items:center;gap:8px}.intro{max-width:none;font-size:12px}.auto-status{align-items:flex-start;padding:16px}.auto-status span{font-size:12px}.auto-jumps{gap:6px}.auto-jumps a{font-size:11px;padding:8px 11px}.summary small{font-size:11px}.summary strong,.summary .equity-card strong{white-space:normal;overflow-wrap:anywhere}.market-performance{gap:10px}.market-performance strong{margin:5px 0}.auto-rules summary{align-items:flex-start;flex-direction:column;gap:4px}.signal-tools{align-items:stretch;flex-direction:column;gap:6px}.signal-tools>span{padding:0}.heading{flex-wrap:wrap}#signals-section .table-wrap{max-height:360px}.refresh-bar .muted{font-size:11px}.table-wrap+.muted{font-size:11px}}

.auto-allocation{margin-top:20px;margin-bottom:0}.auto-allocation .heading{margin-bottom:16px}.auto-allocation-bar{height:12px;display:flex;border-radius:10px;overflow:hidden;background:#344139}.auto-allocation-bar>span{height:100%}.allocation-cash{background:#a1e9c5}.allocation-stock{background:#94baf0}.allocation-coin{background:#e4c384}.auto-allocation-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:16px}.auto-allocation-values span{display:flex;align-items:center;gap:7px;color:var(--muted);font-size:12px}.auto-allocation-values i{width:8px;height:8px;display:inline-block;border-radius:50%;flex-shrink:0}.auto-allocation-values b{font-weight:500;color:var(--text)}.auto-allocation-values strong{display:block;font-size:17px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin-top:5px}.chart-periods{display:flex;gap:5px}.chart-periods button{min-height:44px;font-size:12px;padding:8px 14px}.chart-periods button[aria-pressed=true]{background:#a1e9c5;border-color:#a1e9c5;color:#173c28}.chart-summary{font-size:13px;color:#c9dfd0;line-height:1.8;margin:12px 0}.holding-tools{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.holding-tools label{display:flex;align-items:center;gap:8px;margin:0;white-space:nowrap}.holding-tools select{min-height:44px;font-size:12px}
@media(max-width:600px){.auto-allocation-values{gap:10px}.auto-allocation-values span{flex-wrap:wrap;font-size:11px;gap:4px}.auto-allocation-values strong{font-size:13px}.holding-tools{flex-direction:column;align-items:stretch}.holding-tools label{justify-content:flex-end}.chart-summary{font-size:12px}#performance-section .heading{align-items:center}.chart-periods button{padding:8px 12px}}

.rules-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rules-grid article{border:1px solid var(--line);border-radius:10px;padding:18px;background:#152019}.rules-content h3{font-size:14px;color:#c9e7d3;margin-bottom:10px}.rules-content ul{padding-left:19px;margin:10px 0;line-height:1.9}.rules-content li+li{margin-top:4px}.execution-note{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}@media(max-width:700px){.rules-grid{grid-template-columns:1fr}.rules-grid article{padding:15px}.rules-content{font-size:12px}}
