:root {
  --bg: #07101d;
  --panel: #121b2b;
  --panel-2: #182335;
  --line: #2c3950;
  --text: #f4f7fb;
  --muted: #9ca8bb;
  --mint: #58f0cd;
  --mint-dark: #173a37;
  --amber: #f4bf5f;
  --red: #ff6971;
  --blue: #69a7ff;
  --violet: #aa70ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; color: var(--text); background: radial-gradient(circle at 70% -10%, rgba(78, 113, 255, .14) 0, transparent 32%), radial-gradient(circle at 15% 20%, rgba(88, 240, 205, .08) 0, transparent 26%), linear-gradient(180deg, #040914 0%, #091120 100%); overflow-x: hidden; display: flex; justify-content: center; align-items: flex-start; padding: 0; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(100%, 430px); min-height: calc(100vh - 28px); display: grid; grid-template-columns: 1fr; gap: 0; position: relative; }
.login-screen { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px; isolation: isolate; overflow: hidden; }
.login-screen::before, .login-screen::after { content: ""; position: absolute; inset: auto; border-radius: 50%; pointer-events: none; filter: blur(12px); opacity: .8; }
.login-screen::before { width: 420px; height: 420px; top: -120px; right: -130px; background: radial-gradient(circle, rgba(73,225,170,.16), transparent 68%); }
.login-screen::after { width: 520px; height: 520px; bottom: -220px; left: -180px; background: radial-gradient(circle, rgba(117,167,255,.12), transparent 68%); }
.login-card { position: relative; z-index: 1; width: min(430px, 100%); padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(18,33,30,.98), rgba(8,18,16,.98)); box-shadow: 0 35px 100px rgba(0,0,0,.36); }
.login-brand { margin-bottom: 26px !important; }
.login-card h1 { margin: 10px 0 10px; font-size: clamp(32px, 4vw, 42px); }
.login-screen { position: relative; min-height: 100vh; display: grid; place-items: center; padding: 24px; isolation: isolate; overflow: hidden; }
.login-screen::before, .login-screen::after { content: ""; position: absolute; inset: auto; border-radius: 50%; pointer-events: none; filter: blur(12px); opacity: .8; }
.login-screen::before { width: 420px; height: 420px; top: -120px; right: -130px; background: radial-gradient(circle, rgba(73,225,170,.16), transparent 68%); }
.login-screen::after { width: 520px; height: 520px; bottom: -220px; left: -180px; background: radial-gradient(circle, rgba(117,167,255,.12), transparent 68%); }
.login-card { position: relative; z-index: 1; width: min(430px, 100%); padding: clamp(24px, 4vw, 38px); border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(145deg, rgba(18,33,30,.98), rgba(8,18,16,.98)); box-shadow: 0 35px 100px rgba(0,0,0,.36); }
.login-brand { margin-bottom: 26px !important; }
.login-card h1 { margin: 10px 0 10px; font-size: clamp(32px, 4vw, 42px); }
.login-card > p { color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.phone-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.login-card .button { margin-top: 18px; width: 100%; }
.login-card label { margin-top: 14px; }
.login-card input { padding: 12px 14px; }
.form-error { min-height: 24px; color: var(--red) !important; margin: 14px 0 0; }
.app-header { display: flex; flex-direction: column; gap: 16px; margin-bottom: 20px; }
.header-top { display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; background: var(--mint); color: #06120e; font-weight: 900; border-radius: 11px; }
.brand-text { display: flex; flex-direction: column; }
.brand-text strong { font-size: 18px; color: var(--text); }
.connection-status { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px currentColor; }
.dot.online { background: var(--mint); }
.dot.offline { background: var(--red); }
.account-chip { text-align: right; padding: 10px 14px; border: 1px solid rgba(48, 61, 82, .6); border-radius: 16px; background: rgba(16, 24, 39, .8); }
.account-chip small { display: block; color: var(--muted); font-size: 11px; margin-bottom: 2px; }
.account-chip strong { display: block; font-size: 15px; color: var(--text); }
.top-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: #121926; padding: 6px; border-radius: 16px; border: 1px solid rgba(52, 66, 90, .4); }
.nav-item { background: transparent; border: 0; color: var(--muted); padding: 10px; font-size: 14px; font-weight: 600; border-radius: 12px; transition: 0.2s; }
.nav-item:hover { color: var(--text); }
.nav-item.active { background: rgba(88, 240, 205, 0.1); color: var(--mint); }
main { padding: 20px 20px 40px; width: 100%; min-height: 100vh; overflow-x: hidden; }
h1, h2, p { margin-top: 0; }
h1 { font-size: 24px; letter-spacing: -.02em; margin-bottom: 0; }
h2 { margin: 8px 0 0; letter-spacing: -.03em; }
.eyebrow, .tag { display: inline-block; color: var(--mint); font-weight: 800; letter-spacing: .08em; font-size: 11px; padding: 4px 8px; border-radius: 6px; background: rgba(88,240,205,0.1); }
.view { display: none; }
.view.active { display: block; animation: enter .24s ease-out; }
@keyframes enter { from { opacity: 0; transform: translateY(6px); } }
.break-all { word-break: break-all; }
.hero-grid, .content-grid, .bot-layout { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
.panel { border: 1px solid rgba(48, 61, 82, .98); border-radius: 28px; padding: 18px; background: linear-gradient(145deg, rgba(19,29,45,.97), rgba(10,17,29,.98)); box-shadow: 0 22px 60px rgba(0,0,0,.22); }
.panel-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.summary-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.mini-stat { padding: 12px; min-height: 84px; display: flex; flex-direction: column; justify-content: space-between; gap: 6px; }
.mini-stat small { color: var(--muted); letter-spacing: .08em; font-size: 10px; }
.mini-stat strong { display: block; font-size: 20px; line-height: 1.1; letter-spacing: -.03em; }
.mini-stat span { color: var(--mint); font-weight: 800; font-variant-numeric: tabular-nums; }
.issue-number { font-size: clamp(22px, 3vw, 36px); font-weight: 800; letter-spacing: .03em; margin-top: 32px; }
.countdown { font-size: clamp(20px, 6vw, 30px); line-height: 1; color: var(--mint); font-variant-numeric: tabular-nums; letter-spacing: -.03em; margin: 10px 0 0; }
.muted { color: var(--muted); margin-bottom: 0; }
.big-balance { font-size: clamp(32px, 5vw, 48px); font-weight: 800; letter-spacing: -.06em; margin: 28px 0 10px; }
.side-picker { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.side-picker.compact { gap: 8px; margin: 12px 0 14px; }
.side { border: 1px solid var(--line); background: #101d1b; color: var(--text); border-radius: 16px; padding: 18px; text-align: left; }
.side small, .side strong, .side span { display: block; }
.side small { color: var(--muted); font-size: 10px; letter-spacing: .08em; }
.side strong { font-size: 22px; margin: 4px 0; }
.side span { color: var(--muted); }
.side-picker.compact .side { padding: 12px 14px; border-radius: 14px; }
.side-picker.compact .side strong { font-size: 18px; margin: 2px 0 3px; }
.side-picker.compact .side span { font-size: 12px; }
.side.big.selected { border-color: var(--amber); box-shadow: inset 0 0 0 1px var(--amber); }
.side.small.selected { border-color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
label { display: grid; gap: 8px; color: var(--muted); font-size: 13px; margin-top: 16px; }
select, input { width: 100%; color: var(--text); background: rgba(9, 16, 28, .94); border: 1px solid rgba(55, 69, 92, .98); border-radius: 18px; padding: 14px 15px; outline: none; }
select:focus, input:focus { border-color: var(--mint); }
.compact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.compact-grid label { margin-top: 0; }
.compact-grid label.wide { grid-column: 1 / -1; }
.total-row { display: flex; justify-content: space-between; margin: 26px 0 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.total-row span { color: var(--muted); }
.button { border: 1px solid rgba(55, 69, 92, .98); border-radius: 18px; padding: 14px 18px; color: var(--text); background: transparent; font-weight: 800; }
.button.primary { background: linear-gradient(135deg, #7cffd7 0%, #44e4ff 100%); border-color: transparent; color: #051826; width: 100%; }
.button.danger { background: linear-gradient(135deg, #ff7f86 0%, #ff4f72 100%); border-color: transparent; color: #fff4f5; }
.button.ghost:hover { border-color: var(--mint); }
.result-list { margin-top: 14px; }
.scroll-box { max-height: 280px; overflow: auto; padding-right: 4px; }
.scroll-box::-webkit-scrollbar { width: 6px; }
.scroll-box::-webkit-scrollbar-track { background: transparent; }
.scroll-box::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.1); border-radius: 10px; }
.scroll-box::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.2); }
.result-item { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: center; border-top: 1px solid var(--line); padding: 14px 0; }
.result-item:first-child { border-top: 0; }
.ball { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 900; background: var(--mint-dark); color: var(--mint); }
.ball.red { color: var(--red); background: #3f2020; }
.result-size { color: var(--muted); min-width: 42px; text-align: right; }
.empty { color: var(--muted); }
.section-intro { margin-bottom: 14px; }
.section-intro h2 { font-size: 28px; margin-top: 6px; }
.section-intro p { color: var(--muted); margin-top: 10px; line-height: 1.6; font-size: 14px; }
.quick-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.quick-amounts button { border: 1px solid var(--line); border-radius: 10px; padding: 8px 11px; color: var(--text); background: #0a1513; }
.quick-amounts button:hover { border-color: var(--mint); }
.notice, .warning { border: 1px solid rgba(55, 69, 92, .98); border-radius: 18px; padding: 14px; margin: 14px 0; color: var(--muted); line-height: 1.5; background: rgba(9, 16, 28, .82); }
.warning { border-color: #5b4929; background: rgba(244,191,95,.06); color: #d9c391; }
.instruction-panel ol { padding-left: 20px; color: var(--muted); line-height: 2; }
.instruction-panel p { color: var(--muted); line-height: 1.7; margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 0; margin-top: 12px; }
.form-grid .wide { grid-column: 1 / -1; }
.form-grid small { color: #60766f; }
.check-row { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 20px 0; }
.check-row label { display: flex; align-items: center; gap: 9px; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 11px; background: #0a1513; }
.check-row input { width: auto; accent-color: var(--mint); }
.bot-actions { display: grid; grid-template-columns: 1fr; gap: 10px; }
.status-badge { border: 1px solid var(--line); border-radius: 99px; padding: 7px 10px; color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .1em; }
.status-badge.running { color: var(--mint); border-color: var(--mint-dark); background: rgba(73,225,170,.08); }
.metrics-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.metrics-grid div { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #091311; }
.metrics-grid small, .metrics-grid strong { display: block; }
.metrics-grid small { color: var(--muted); }
.metrics-grid strong { margin-top: 5px; font-size: 18px; }
.strategy-map { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; color: var(--muted); font-size: 12px; }
.strategy-map span { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; }
.strategy-map b { color: var(--mint); }
.bot-log-panel { margin-top: 18px; }
.bot-logs { margin-top: 12px; max-height: 340px; overflow: auto; }
.bot-log { display: grid; grid-template-columns: 70px 70px 1fr; gap: 8px; align-items: center; padding: 8px 0; border-top: 1px solid var(--line); font-size: 12px; }
.bot-log:first-child { border-top: 0; }
.bot-log time { color: var(--muted); }
.bot-log .level { color: var(--mint); text-transform: uppercase; font-size: 10px; font-weight: 900; letter-spacing: .08em; }
.bot-log .level.error, .bot-log .level.loss { color: var(--red); }
.bot-log .level.warning { color: var(--amber); }
.rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.rule { padding: 14px; background: rgba(9, 16, 28, .92); border: 1px solid rgba(55, 69, 92, .98); border-radius: 16px; }
.rule small, .rule strong { display: block; }
.rule small { color: var(--muted); }
.rule strong { margin-top: 5px; }
.account-panel { padding: clamp(14px, 2.5vw, 20px); }
.snapshot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.snapshot-grid div { padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: #091311; }
.snapshot-grid small { color: var(--muted); display: block; }
.snapshot-grid strong { display: block; margin-top: 5px; font-size: 18px; }
.modal { position: fixed; inset: 0; display: none; place-items: center; padding: 20px; background: rgba(2,7,6,.78); backdrop-filter: blur(8px); z-index: 20; }
.modal.open { display: grid; }
.modal-card { position: relative; width: min(420px, 100%); background: #10201d; border: 1px solid var(--line); border-radius: 28px; padding: 22px; box-shadow: 0 30px 100px #000; }
.modal-close { position: absolute; right: 16px; top: 12px; border: 0; background: transparent; color: var(--muted); font-size: 30px; }
#modalBody { color: var(--muted); line-height: 1.7; margin: 20px 0; }
#modalBody strong { color: var(--text); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }
.hidden { display: none; }
.toast { position: fixed; right: 24px; bottom: 24px; max-width: 420px; background: #152723; color: var(--text); border: 1px solid var(--line); border-left: 4px solid var(--mint); border-radius: 12px; padding: 14px 18px; transform: translateY(120px); opacity: 0; transition: .2s; z-index: 30; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.error { border-left-color: var(--red); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
body.auto-focus { padding: 0; }
body.auto-focus .shell { width: min(100%, 430px); min-height: calc(100vh - 28px); grid-template-columns: 1fr; gap: 0; }
.strategy-screen { display: grid; gap: 16px; }
.strategy-header { display: grid; gap: 10px; padding: 6px 4px 12px; margin-bottom: 6px; }
.strategy-title-row { min-width: 0; display: flex; align-items: center; }
.strategy-title-row-centered { justify-content: center; }
.strategy-title-row h1 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.02em; line-height: 1.15; }
.strategy-section-head-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { background: transparent; border: 0; color: var(--muted); padding: 8px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.icon-button:hover { background: rgba(255,255,255,0.05); color: var(--text); }
.status-badge { min-height: 32px; display: inline-flex; align-items: center; justify-content: center; padding: 0 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: .01em; border: 1px solid; white-space: nowrap; flex-shrink: 0; }
.status-badge.stopped { border-color: rgba(239, 68, 68, 0.4); background: rgba(239, 68, 68, 0.1); color: #ef4444; }
.status-dot { display: inline-block; width: 8px; height: 8px; background-color: currentColor; border-radius: 50%; margin-right: 6px; }
.strategy-section { padding: 20px; border: 1px solid rgba(52, 66, 90, .4); border-radius: 20px; background: #121926; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.strategy-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.strategy-section-head h2 { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 17px; font-weight: 600; color: var(--text); }
.strategy-section-head h2 svg { color: var(--mint); }
.section-collapse-icon { color: var(--muted); }
.strategy-grid { display: grid; gap: 16px; }
.strategy-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.strategy-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.strategy-field { display: grid; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; }
.strategy-field > span { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.strategy-grid-params { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; row-gap: 14px; }
.strategy-grid-params .strategy-field { gap: 10px; }
.strategy-grid-params .strategy-field > span { min-height: 20px; white-space: nowrap; }
.strategy-field > span svg { color: var(--blue); opacity: 0.8; }
.strategy-field > span svg.icon-clock { color: #3b82f6; }
.strategy-field > span svg.icon-target { color: #8b5cf6; }
.strategy-field > span svg.icon-mode { color: #ec4899; }
.strategy-field > span svg.icon-layers { color: #06b6d4; }
.strategy-field > span svg.icon-entries { color: #f59e0b; }
.strategy-field > span svg.icon-stake { color: #10b981; }
.strategy-field > span svg.icon-loss { color: #ef4444; }
.strategy-field > span svg.icon-profit { color: #10b981; }
.strategy-field > span svg.icon-reserve { color: #f59e0b; }
.strategy-field > span svg.icon-cutoff { color: #a855f7; }
.select-wrapper, .input-with-suffix { position: relative; display: flex; align-items: center; width: 100%; }
.select-wrapper select, .strategy-field input { width: 100%; min-height: 48px; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); background: #0b111a; color: var(--text); font-size: 15px; font-weight: 500; appearance: none; transition: 0.2s; }
.select-wrapper select { padding-right: 36px; }
.input-with-suffix input { padding-right: 40px; }
.input-with-suffix .suffix { position: absolute; right: 14px; color: var(--muted); font-size: 14px; pointer-events: none; }
.select-chevron { position: absolute; right: 12px; pointer-events: none; color: var(--muted); }
.strategy-field select:focus, .strategy-field input:focus { border-color: var(--mint); background: #121b2b; }
.strategy-field-wide { grid-column: 1 / -1; }
.strategy-checks { display: grid; gap: 12px; }
.custom-checkbox-label { cursor: pointer; display: flex; align-items: flex-start !important; gap: 14px; margin: 0; padding: 18px 20px; border: 1px solid rgba(52, 66, 90, .4); border-radius: 20px; background: #121926; color: var(--text); font-size: 15px; line-height: 1.4; transition: 0.2s; }
.custom-checkbox-label input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; }
.custom-checkbox { flex-shrink: 0; min-width: 22px; width: 22px; height: 22px; border: 2px solid rgba(255,255,255,0.15); border-radius: 6px; display: flex; align-items: center; justify-content: center; background: #0b111a; transition: 0.2s; margin-top: 2px; }
.custom-checkbox svg { opacity: 0; color: #0b111a; transition: 0.2s; }
.custom-checkbox-label input:checked ~ .custom-checkbox { background: var(--mint); border-color: var(--mint); }
.custom-checkbox-label input:checked ~ .custom-checkbox svg { opacity: 1; }
.strategy-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 8px; padding: 0 4px; }
.strategy-button { min-height: 52px; min-width: 0; padding: 0 14px; border: 0; border-radius: 14px; font-size: 16px; font-weight: 700; letter-spacing: -.01em; display: flex; align-items: center; justify-content: center; gap: 8px; transition: transform 0.2s; }
.strategy-button svg { width: 18px; height: 18px; flex: 0 0 auto; }
.strategy-button:active { transform: scale(0.97); }
#startBot.strategy-button { background: rgba(88, 240, 205, 0.15); border: 1px solid rgba(88, 240, 205, 0.4); color: var(--mint); }
#stopBot.strategy-button { background: rgba(255, 105, 113, 0.15); border: 1px solid rgba(255, 105, 113, 0.4); color: var(--red); }
.strategy-support-card h2 { margin-top: 6px; }
.strategy-metrics-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.strategy-metrics-grid div { padding: 14px; border: 1px solid rgba(55, 69, 92, .98); border-radius: 18px; background: rgba(8, 14, 24, .9); }
.strategy-metrics-grid small,
.strategy-metrics-grid strong { display: block; }
.strategy-metrics-grid small { color: var(--muted); }
.strategy-metrics-grid strong { margin-top: 6px; font-size: 18px; }
.snapshot-metrics-grid { grid-template-columns: minmax(0, 1.5fr) minmax(112px, .85fr); }
.snapshot-metrics-grid .metric-issue,
.snapshot-metrics-grid .metric-result { grid-column: 1; }
.snapshot-metrics-grid .metric-countdown,
.snapshot-metrics-grid .metric-outcome { grid-column: 2; }
#autoIssueNumber { font-size: 16px; line-height: 1.25; word-break: break-all; }
#autoCountdown { white-space: nowrap; }
.strategy-inline-note { margin-bottom: 16px; }
@media (max-width: 980px) {
  .shell { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .strategy-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .strategy-title-row h1 { font-size: 26px; }
  .strategy-grid-3,
  .strategy-grid-4,
  .strategy-actions { grid-template-columns: 1fr; }
  .strategy-grid-params { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .snapshot-metrics-grid { grid-template-columns: minmax(0, 1.35fr) minmax(96px, .8fr); }
}
@media (max-width: 560px) {
  .sidebar { padding: 8px; gap: 6px; }
  .brand small { display: none; }
  .topbar { align-items: flex-start; }
  .account-chip { max-width: 120px; }
  .account-chip small:last-child { display: none; }
  .eyebrow { display: none; }
  .side-picker { grid-template-columns: 1fr; }
  .summary-strip { grid-template-columns: 1fr 1fr; }
  .compact-grid { grid-template-columns: 1fr; }
  .rules-grid { grid-template-columns: 1fr; }
  .phone-row, .form-grid, .check-row { grid-template-columns: 1fr; }
  .bot-log { grid-template-columns: 58px 58px 1fr; }
  .panel { padding: 14px; }
  .strategy-section { padding: 20px; border-radius: 26px; }
  .strategy-check-card { padding: 18px; font-size: 18px; }
  .strategy-button { min-height: 52px; border-radius: 14px; font-size: 14px; }
  .strategy-title-row h1 { font-size: 22px; }
  .strategy-grid-params { grid-template-columns: 1fr; }
  .snapshot-metrics-grid { grid-template-columns: minmax(0, 1.25fr) minmax(88px, .75fr); }
  .section-intro h2 { font-size: 26px; }
  .section-intro p { font-size: 13px; }
  .nav-item { min-height: 54px; padding: 8px 6px; }
}
