.hx-hedge-tab .dc-tabs__item__icon,
.hx-hedge-tab svg { width: 16px; height: 16px; flex-shrink: 0; }
#hx-hedge-root {
    display: none;
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    background: #070b18;
    color: #e2e8f0;
    overflow: auto;
    font-family: "IBM Plex Sans", "DM Sans", system-ui, sans-serif;
}
#hx-hedge-root.hx-open { display: block; }
.hx-hedge {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 18px 40px;
}
.hx-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.hx-hedge h1 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.hx-btn-close {
    background: transparent;
    color: #94a3b8;
    border: 1px solid #1e293b !important;
    padding: 6px 12px;
}
.hx-hedge-header-btn {
    letter-spacing: 0.06em;
    font-weight: 700;
}
.hx-hedge .hx-sub {
    margin: 0 0 18px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.45;
    max-width: 720px;
}
.hx-hedge-grid {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 16px;
}
@media (max-width: 840px) {
    .hx-hedge-grid { grid-template-columns: 1fr; }
}
.hx-card {
    background: #0e1630;
    border: 1px solid rgb(56 189 248 / 16%);
    border-radius: 12px;
    padding: 16px;
}
.hx-card h2 {
    margin: 0 0 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #38bdf8;
}
.hx-row {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}
.hx-row label { font-size: 12px; color: #94a3b8; }
.hx-row input, .hx-row select {
    background: #070b18;
    border: 1px solid #1e293b;
    color: #e2e8f0;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 14px;
}
.hx-actions { display: flex; gap: 8px; margin-top: 8px; }
.hx-btn {
    border: 0;
    border-radius: 8px;
    padding: 10px 14px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
}
.hx-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.hx-btn-go { background: #0b336c; color: #fff; flex: 1; }
.hx-btn-stop { background: #7f1d1d; color: #fff; }
.hx-spot {
    font-variant-numeric: tabular-nums;
    font-size: 28px;
    font-weight: 700;
    color: #38bdf8;
}
.hx-meta { font-size: 12px; color: #94a3b8; margin-top: 4px; }
.hx-legs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hx-leg {
    border-radius: 10px;
    padding: 12px;
    background: #070b18;
    border: 1px solid #1e293b;
}
.hx-leg h3 { margin: 0 0 6px; font-size: 13px; }
.hx-leg.higher { border-color: rgb(16 185 129 / 40%); }
.hx-leg.lower { border-color: rgb(244 63 94 / 40%); }
.hx-status { font-size: 12px; color: #cbd5e1; }
.hx-log {
    max-height: 220px;
    overflow: auto;
    font-size: 12px;
    line-height: 1.4;
    font-family: "DM Mono", ui-monospace, monospace;
    background: #070b18;
    border-radius: 8px;
    padding: 10px;
}
.hx-log div { margin: 0 0 6px; color: #cbd5e1; }
.hx-warn {
    background: rgb(245 158 11 / 12%);
    border: 1px solid rgb(245 158 11 / 35%);
    color: #fde68a;
    border-radius: 8px;
    padding: 10px 12px;
    font-size: 12px;
    margin-bottom: 12px;
}
.hx-pl { font-size: 18px; font-weight: 700; }
.hx-pl.up { color: #34d399; }
.hx-pl.down { color: #fb7185; }
