/* Профиль → «Стиль торговли» (#283): цель, риск на сделку, лимиты дня и 30 дней.
   Тёмная тема кабинета; текст данных ≥ 12px, поля 36px, кнопки ≥ 32px. */
.sty-lead { color: #8b949e; font-size: 13px; margin: 0 0 12px; }
.sty-sum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-bottom: 12px; }
.sty-sum-cell { background: var(--bg-tile); border-radius: 8px; padding: 8px 10px; min-width: 0; }
.sty-sum-cell small { display: block; color: #8b949e; font-size: 11px; }
.sty-sum-cell b { font-size: 16px; color: #e6edf3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.sty-card { background: var(--bg-card); border: 1px solid rgba(255,255,255,0.08); border-radius: 12px; padding: 14px 16px; margin-bottom: 12px; }
.sty-card h3 { font-size: 14px; margin: 0 0 4px; color: #e6edf3; }
.sty-d { color: #8b949e; font-size: 12px; margin: 0 0 10px; }
.sty-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid rgba(255,255,255,0.06); }
.sty-row:first-of-type { border-top: 0; }
.sty-row label { flex: 1; font-size: 13px; color: #e6edf3; }
.sty-row label small { display: block; color: #6e7681; font-size: 12px; }
.sty-in { display: flex; align-items: center; background: var(--bg-tile); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 0 10px; height: 36px; width: 120px; }
.sty-in input { background: none; border: 0; color: #e6edf3; width: 100%; font: inherit; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; outline: none; }
.sty-in span { color: #6e7681; }
.sty-in.sty-warn { border-color: rgba(var(--brand-gold-rgb), 0.6); }
.sty-warn-text { color: var(--brand-gold); font-size: 12px; margin-top: 2px; }
.sty-pills { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.sty-pill { border: 1px solid rgba(255,255,255,0.1); background: var(--bg-tile); color: #8b949e; border-radius: 999px; padding: 5px 12px; font-size: 13px; cursor: pointer; min-height: 32px; }
.sty-pill.on { border-color: var(--brand-gold); color: var(--brand-gold); background: rgba(var(--brand-gold-rgb), 0.1); }
.sty-rec, .sty-migrate { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 6px 0; padding: 8px 10px; border-radius: 8px; font-size: 12.5px; }
.sty-rec { background: rgba(0,212,170,0.08); border: 1px solid rgba(0,212,170,0.3); color: #c9d1d9; }
.sty-rec b { color: #00d4aa; }
.sty-migrate { background: rgba(88,166,255,0.08); border: 1px solid rgba(88,166,255,0.3); color: #c9d1d9; }
.sty-rec button, .sty-migrate button { margin-left: auto; background: none; border-radius: 6px; padding: 4px 10px; cursor: pointer; font-size: 12px; min-height: 28px; }
.sty-rec button { border: 1px solid rgba(0,212,170,0.5); color: #00d4aa; }
.sty-migrate button { border: 1px solid rgba(88,166,255,0.5); color: #58a6ff; }
.sty-used { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: #8b949e; margin: 0 0 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.sty-used i { flex: 1; height: 6px; border-radius: 3px; background: linear-gradient(90deg, #3fb950 var(--w, 0%), #1c2230 var(--w, 0%)); }
.sty-seg { display: flex; border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; overflow: hidden; flex-wrap: wrap; }
.sty-seg-btn { padding: 7px 12px; font-size: 12.5px; color: #8b949e; background: none; border: 0; border-left: 1px solid rgba(255,255,255,0.1); cursor: pointer; min-height: 32px; }
.sty-seg-btn:first-child { border-left: 0; }
.sty-seg-btn.on { background: rgba(var(--brand-gold-rgb), 0.12); color: var(--brand-gold); }
.sty-save { display: flex; justify-content: flex-end; }
.sty-msg { font-size: 13px; margin: 0 0 8px; }
.sty-msg-ok { color: #3fb950; } .sty-msg-err { color: #f85149; }
.sty-pill:focus-visible, .sty-seg-btn:focus-visible, .sty-rec button:focus-visible, .sty-migrate button:focus-visible { outline: 2px solid rgba(var(--brand-gold-rgb), 0.6); outline-offset: 2px; }
@media (max-width: 560px) {
    .sty-sum { grid-template-columns: repeat(2, 1fr); }
    .sty-row { flex-wrap: wrap; }
    .sty-in { width: 100%; }
}
