/* Лендинги инструментов SaM — макет «Консоль» (вариант A).
 * Шапка и подвал сайта сюда не входят.
 */

.so-tc a {
  color:#8157f6
}

.so-tc a:hover {
  color:#6a3fe0
}

.so-tc {
  container-type:inline-size;container-name:tc;font-family:Roboto,system-ui,sans-serif;color:#111;background:#fff;line-height:1.55;-webkit-font-smoothing:antialiased;overflow-x:clip
}

.so-tc *, .so-tc *::before, .so-tc *::after {
  box-sizing:border-box
}

.so-tc .wrap {
  width:min(1180px,calc(100% - 48px));margin-inline:auto
}

.so-tc .ico {
  display:block;flex-shrink:0
}

.so-tc .mono {
  font-family:"Roboto Mono",ui-monospace,monospace
}

.so-tc .btn {
  display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;border-radius:66px;font-weight:600;font-size:16px;text-decoration:none;border:1px solid transparent;white-space:nowrap;font-family:inherit;cursor:pointer
}

.so-tc .btn--fill {
  background:linear-gradient(90deg,#c55de0 0%,#7f56f6 100%);color:#fff;box-shadow:0 12px 32px rgba(127,86,246,.38)
}

.so-tc .btn--fill:hover {
  color:#fff
}

.so-tc .btn--white {
  background:#fff;color:#1c1c30
}

.so-tc .btn--white:hover {
  color:#1c1c30
}

.so-tc .btn--xl {
  min-height:64px;padding:0 36px;font-size:18px
}

.so-tc .btn--hdr {
  font-family:Unbounded,Roboto,sans-serif
}

.so-tc .btn--ghost {
  min-height:44px;padding:0 18px;background:#f1edff;color:#5b38d6;font-size:15px
}

.so-tc .th {
  position:relative;background:#22223b;color:#fff;padding-top:96px;overflow:hidden
}

.so-tc .th::before {
  content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:linear-gradient(180deg,#000 30%,transparent 100%);mask-image:linear-gradient(180deg,#000 30%,transparent 100%);pointer-events:none
}

.so-tc .th__glow {
  position:absolute;right:-8%;top:18%;width:760px;height:560px;background:radial-gradient(closest-side,rgba(129,87,246,.32),transparent);pointer-events:none
}

.so-tc .th__inner {
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,560px);gap:56px;align-items:center;padding:64px 0 80px
}

.so-tc .so3-kicker a {
  color:inherit;text-decoration:none
}

.so-tc .so3-kicker a:hover {
  color:#fff
}

.so-tc .th h1 {
  margin:0 0 20px;font-family:Unbounded,Roboto,sans-serif;font-size:clamp(32px,4cqw,54px);font-weight:700;line-height:1.1;letter-spacing:-.02em;text-wrap:balance
}

.so-tc .th__lead {
  margin:0 0 32px;max-width:50ch;font-size:clamp(17px,1.5cqw,20px);line-height:1.5;color:rgba(255,255,255,.78);text-wrap:pretty
}

.so-tc .th__actions {
  display:flex;flex-wrap:wrap;gap:14px
}

.so-tc .spec {
  display:flex;flex-wrap:wrap;gap:10px 28px;margin:36px 0 0;padding:22px 0 0;border-top:1px solid rgba(255,255,255,.12);list-style:none;font-family:"Roboto Mono",ui-monospace,monospace;font-size:15px;color:rgba(255,255,255,.62)
}

.so-tc .spec b {
  margin-left:8px;color:#fff;font-weight:500
}

.so-tc .con {
  border-radius:20px;background:#17172b;border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 64px rgba(0,0,0,.28);overflow:hidden;font-family:"Roboto Mono",ui-monospace,monospace
}

.so-tc .con__bar {
  display:flex;align-items:center;gap:4px;padding:0 14px;background:#1d1d34;border-bottom:1px solid rgba(255,255,255,.08)
}

.so-tc .con__tab {
  padding:14px 12px 12px;font-size:14px;color:rgba(255,255,255,.6);border-bottom:2px solid transparent;white-space:nowrap
}

.so-tc .con__tab--on {
  color:#fff;border-bottom-color:#a17cff
}

.so-tc .con__live {
  margin-left:auto;display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#3ae374
}

.so-tc .con__live::before {
  content:"";width:8px;height:8px;border-radius:50%;background:#3ae374;box-shadow:0 0 0 4px rgba(58,227,116,.18)
}

.so-tc .con__body {
  margin:0;padding:22px 24px;font-size:15px;line-height:1.8;color:#e6e6f0;white-space:pre;overflow-x:auto;font-family:inherit
}

.so-tc .con__foot {
  display:flex;flex-wrap:wrap;gap:8px 22px;padding:12px 24px;background:#1d1d34;border-top:1px solid rgba(255,255,255,.08);font-size:14px;color:rgba(255,255,255,.62)
}

.so-tc .c-p {
  color:#e175ff
}

.so-tc .c-k {
  color:#67e6dc
}

.so-tc .c-s {
  color:#d9a6ff
}

.so-tc .c-n {
  color:#ffaf40
}

.so-tc .c-c {
  color:#9a9aae
}

.so-tc .c-g {
  color:#3ae374
}

.so-tc .band {
  padding:clamp(72px,8cqw,96px) 0
}

.so-tc .band--soft {
  background:#f9f8fb
}

.so-tc .band--tight {
  padding-top:48px
}

.so-tc .head {
  display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:40px
}

.so-tc .head h2 {
  margin:0;font-family:Unbounded,Roboto,sans-serif;font-size:clamp(28px,3.2cqw,45px);font-weight:700;line-height:1.12;letter-spacing:-.02em
}

.so-tc .head__link {
  flex-shrink:0;font-size:17px;font-weight:600;text-decoration:none
}

.so-tc .dash {
  display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:stretch
}

.so-tc .panel {
  border:1px solid #ececf2;border-radius:20px;background:#fff;overflow:hidden
}

.so-tc .panel__bar {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 16px;padding:16px 24px;border-bottom:1px solid #ececf2
}

.so-tc .live {
  display:flex;align-items:center;gap:10px;margin:0;font-size:15px;color:#4a4a5c
}

.so-tc .live i {
  width:10px;height:10px;border-radius:50%;background:#2fbf63;box-shadow:0 0 0 4px rgba(58,227,116,.2)
}

.so-tc .tbl-box {
  overflow-x:auto
}

.so-tc .tbl {
  width:100%;border-collapse:collapse;font-size:16px
}

.so-tc .tbl th {
  padding:12px 24px;background:#f9f8fb;border-bottom:1px solid #ececf2;text-align:left;font-size:14px;font-weight:600;color:#5c5c6b;white-space:nowrap
}

.so-tc .tbl td {
  padding:16px 24px;border-bottom:1px solid #f1f1f5;vertical-align:middle
}

.so-tc .tbl tr:last-child td {
  border-bottom:0
}

.so-tc .tbl .num {
  text-align:right;font-family:"Roboto Mono",ui-monospace,monospace;font-variant-numeric:tabular-nums;white-space:nowrap
}

.so-tc .tbl .now {
  font-weight:600
}

.so-tc .prov {
  font-weight:600
}

.so-tc .pill {
  display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:66px;font-size:14px;font-weight:600;white-space:nowrap
}

.so-tc .pill--in {
  background:#e2f6e8;color:#146c34
}

.so-tc .pill--none {
  background:#f1f1f5;color:#5c5c6b
}

.so-tc .pill--warn {
  background:#fff4e0;color:#8a5a00
}

.so-tc .dash__note {
  margin:0;padding:16px 24px 20px;max-width:52rem;font-size:14px;line-height:1.5;color:#5c5c6b
}

.so-tc .spark {
  display:block
}

.so-tc .proof {
  font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap
}

.so-tc .side {
  container-type:inline-size;container-name:side;display:flex;flex-direction:column;gap:24px;padding:28px;border-radius:20px;background:#22223b;color:#fff
}

.so-tc .side__head {
  display:flex;align-items:center;justify-content:space-between;gap:12px
}

.so-tc .side h3 {
  margin:0;font-size:15px;font-weight:600;color:rgba(255,255,255,.78)
}

.so-tc .side__chip {
  display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.2;color:rgba(255,255,255,.68);white-space:nowrap
}

.so-tc .side__dot {
  width:7px;height:7px;border-radius:50%;background:#5fd39a;flex-shrink:0
}

.so-tc .side__label {
  display:block;font-size:14px;line-height:1.3;color:rgba(255,255,255,.72)
}

.so-tc .side__median {
  display:grid;gap:10px
}

.so-tc .side__median-val {
  font-family:"Roboto Mono",ui-monospace,monospace;font-size:56px;font-weight:600;line-height:1.05;font-variant-numeric:tabular-nums;background:linear-gradient(90deg,#e175ff 0%,#a17cff 100%);-webkit-background-clip:text;background-clip:text;color:transparent
}

.so-tc .side__bars {
  display:flex;align-items:flex-end;gap:3px;height:56px
}

.so-tc .side__bar {
  flex:1 1 0;min-width:0;height:var(--h,2px);border-radius:2px 2px 0 0;background:rgba(161,124,255,.55)
}

.so-tc .side__bar--now {
  background:#e175ff
}

.so-tc .side__bar--empty {
  background:rgba(255,255,255,.12)
}

.so-tc .side__bars-x {
  display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:1.2;color:rgba(255,255,255,.6)
}

.so-tc .side__bars-mid {
  text-align:center
}

.so-tc .side__stats {
  display:grid;gap:12px
}

.so-tc .side__tiles {
  display:grid;grid-template-columns:1fr 1fr;gap:12px
}

.so-tc .side__tile {
  display:grid;gap:4px;padding:16px;border-radius:14px;background:rgba(255,255,255,.06)
}

.so-tc .side__tile b {
  font-family:"Roboto Mono",ui-monospace,monospace;font-size:22px;font-weight:600;font-variant-numeric:tabular-nums;color:#fff
}

.so-tc .side__tile b.is-warn {
  color:#ffb86b
}

.so-tc .side__rate-track {
  display:flex;height:6px;border-radius:66px;background:rgba(255,255,255,.1);overflow:hidden
}

.so-tc .side__rate-ok,
.so-tc .side__rate-lost {
  display:block;height:100%;width:0;max-width:100%
}

.so-tc .side__rate-ok {
  background:#5fd39a
}

.so-tc .side__rate-lost {
  background:#ffb86b
}

.so-tc .side__rate {
  margin:0;font-size:14px;line-height:1.35;color:#5fd39a
}

.so-tc .side__rate.is-warn {
  color:#ffb86b
}

.so-tc .side__rate.is-empty {
  color:rgba(255,255,255,.68)
}

.so-tc .side__api {
  margin-top:auto;display:grid;gap:12px;padding:16px;border-radius:14px;background:#17172b
}

.so-tc .side__api-kicker {
  margin:0;font-size:12px;line-height:1.3;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.6)
}

.so-tc .side__api-path {
  margin:0;font-family:"Roboto Mono",ui-monospace,monospace;font-size:13px;line-height:1.4;color:#e6e6f0
}

.so-tc .side__api-method {
  color:#e175ff;margin-right:6px
}

.so-tc .side__api a,
.so-tc .term a {
  color:#c9a8ff;text-decoration:underline;text-underline-offset:3px
}

.so-tc .side__api a:hover,
.so-tc .term a:hover {
  color:#e175ff
}

.so-tc .side__api-actions {
  display:flex;align-items:center;gap:10px;flex-wrap:wrap
}

.so-tc .side__api-open {
  display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 18px;border-radius:66px;background:linear-gradient(90deg,#c55de0 0%,#7f56f6 100%);color:#fff !important;text-decoration:none !important;font-size:15px;font-weight:600;font-family:inherit
}

.so-tc .side__api-open:hover {
  color:#fff !important
}

.so-tc .side__api-copy {
  display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid rgba(255,255,255,.18);border-radius:50%;background:transparent;color:#e6e6f0;cursor:pointer
}

.so-tc .side__api-copy:hover {
  border-color:rgba(255,255,255,.4);color:#fff
}

.so-tc .side__api-copy.is-ok {
  border-color:#5fd39a;color:#5fd39a
}

.so-tc .side__api-live {
  position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap
}

@container side (max-width: 360px) {
.so-tc .side__bars-mid {
  display:none
}
}

.so-tc .hist {
  margin-top:24px;padding:24px;border:1px solid #ececf2;border-radius:20px;background:#fff
}

.so-tc .hist__head {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px
}

.so-tc .hist__head h3 {
  margin:0;font-family:Unbounded,Roboto,sans-serif;font-size:22px;font-weight:700
}

.so-tc .tabs {
  display:flex;flex-wrap:wrap;gap:6px;padding:4px;border-radius:66px;background:#f4f2fa
}

.so-tc .tab {
  min-height:40px;padding:0 16px;border:0;border-radius:66px;background:transparent;font:inherit;font-size:15px;font-weight:600;color:#4a4a5c;cursor:pointer
}

.so-tc .tab--on {
  background:#fff;color:#5b38d6;box-shadow:0 2px 8px rgba(34,34,59,.08)
}

.so-tc .legend {
  display:flex;flex-wrap:wrap;gap:8px 24px;margin:0 0 16px;font-size:15px;color:#4a4a5c
}

.so-tc .legend span {
  display:inline-flex;align-items:center;gap:8px
}

.so-tc .lg-bar {
  width:12px;height:12px;border-radius:3px;background:#8157f6
}

.so-tc .lg-med {
  width:18px;height:0;border-top:2px dashed #22223b
}

.so-tc .chart {
  display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px
}

.so-tc .yax {
  display:flex;flex-direction:column;justify-content:space-between;height:240px;font-family:"Roboto Mono",ui-monospace,monospace;font-size:14px;color:#5c5c6b;text-align:right
}

.so-tc .plot {
  position:relative;height:240px;border-bottom:1px solid #d9d6e3;background-image:linear-gradient(#f0eef6 1px,transparent 1px);background-size:100% 60px
}

.so-tc .bars {
  position:absolute;inset:0;display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;align-items:end;padding:0 6px
}

.so-tc .bar {
  position:relative;display:flex;justify-content:center;height:100%;align-items:flex-end
}

.so-tc .bar i {
  display:block;width:min(56px,70%);border-radius:4px 4px 0 0;background:#8157f6
}

.so-tc .bar:hover i {
  background:#6a3fe0
}

.so-tc .bar b {
  position:absolute;bottom:calc(100% + 6px);font-family:"Roboto Mono",ui-monospace,monospace;font-size:14px;font-weight:500;color:#22223b;white-space:nowrap
}

.so-tc .med {
  position:absolute;left:0;right:0;border-top:2px dashed #22223b
}

.so-tc .med span {
  position:absolute;right:0;top:-30px;padding:2px 8px;border-radius:8px;background:#22223b;color:#fff;font-family:"Roboto Mono",ui-monospace,monospace;font-size:14px
}

.so-tc .xax {
  display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:2px;padding:8px 6px 0;margin-left:60px;font-family:"Roboto Mono",ui-monospace,monospace;font-size:14px;color:#5c5c6b;text-align:center
}

.so-tc .empty {
  display:flex;align-items:center;justify-content:center;height:240px;border-radius:14px;background:#f9f8fb;color:#4a4a5c;font-size:16px
}

.so-tc .how {
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none
}

.so-tc .how li {
  display:flex;flex-direction:column;gap:12px;padding:24px;border:1px solid #ececf2;border-radius:20px;background:#fff;font-size:16px;color:#333
}

.so-tc .how__n {
  font-family:"Roboto Mono",ui-monospace,monospace;font-size:16px;font-weight:600;color:#8157f6
}

.so-tc .apiwrap {
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr);gap:24px;align-items:stretch
}

.so-tc .apitext {
  display:flex;flex-direction:column;gap:16px;padding:28px;border:1px solid #ececf2;border-radius:20px;background:#fff
}

.so-tc .apitext p {
  margin:0;font-size:17px;color:#333
}

.so-tc .apitext code {
  font-family:"Roboto Mono",ui-monospace,monospace;font-size:15px;background:#f1edff;color:#5b38d6;padding:2px 8px;border-radius:6px
}

.so-tc .apitext a.api-doc {
  color:#5b38d6;font-weight:600;text-decoration:none
}

.so-tc .apitext a.api-doc:hover {
  color:#8157f6;text-decoration:underline;text-underline-offset:3px
}

.so-tc .apitext a.api-doc code {
  color:inherit
}

.so-tc .apitext a.api-doc--foot {
  margin-top:auto
}

.so-tc .term {
  margin:0;padding:22px 24px;border-radius:20px;background:#22223b;color:#e6e6f0;font-family:"Roboto Mono",ui-monospace,monospace;font-size:14px;line-height:1.75;white-space:pre;overflow-x:auto
}

.so-tc .banner {
  display:flex;align-items:center;justify-content:space-between;gap:24px 40px;padding:32px;border-radius:24px;background:#22223b;color:#fff;box-shadow:0 24px 64px rgba(0,0,0,.28)
}

.so-tc .banner h2 {
  margin:0 0 10px;font-family:Unbounded,Roboto,sans-serif;font-size:clamp(22px,2.8cqw,32px);font-weight:700;line-height:1.15;letter-spacing:-.03em
}

.so-tc .banner p {
  margin:0;max-width:56ch;font-size:17px;line-height:1.45;color:rgba(255,255,255,.78)
}

.so-tc .grid3 {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:0;padding:0;list-style:none
}

.so-tc .grid3 li {
  display:flex;min-width:0
}

.so-tc .tcard {
  display:flex;flex:1 1 auto;flex-direction:column;padding:28px;border:1px solid #ececf2;border-radius:20px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 8px 32px rgba(34,34,59,.06)
}

.so-tc .tcard:hover {
  border-color:#8157f6;color:inherit
}

.so-tc .ibox {
  display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;margin-bottom:16px;border-radius:14px;background:linear-gradient(135deg,rgba(129,87,246,.14),rgba(225,117,255,.08));color:#8157f6;border:1px solid rgba(129,87,246,.18)
}

.so-tc .tcard h3 {
  margin:0 0 10px;font-family:Unbounded,Roboto,sans-serif;font-size:20px;font-weight:700;line-height:1.2;letter-spacing:-.02em
}

.so-tc .tcard p {
  flex:1 1 auto;margin:0 0 18px;font-size:16px;line-height:1.45;color:#5c5c6b
}

.so-tc .tcard__cta {
  margin-top:auto;font-size:16px;font-weight:600;color:#8157f6
}

@container tc (max-width: 1100px) {
.so-tc .th__inner, .so-tc .dash, .so-tc .apiwrap {
  grid-template-columns:1fr
}

.so-tc .how {
  grid-template-columns:repeat(2,minmax(0,1fr))
}
}

@container tc (max-width: 900px) {
.so-tc .grid3 {
  grid-template-columns:1fr
}

.so-tc .banner {
  flex-direction:column;align-items:flex-start
}
}

@container tc (max-width: 768px) {
.so-tc .btn--xl {
  width:100%
}

.so-tc .th__actions {
  flex-direction:column
}

.so-tc .th__actions .btn {
  width:100%
}

.so-tc .head {
  flex-direction:column;align-items:flex-start
}

.so-tc .how {
  grid-template-columns:1fr
}
}

@container tc (max-width: 560px) {
.so-tc .th__inner {
  gap:32px;padding:40px 0 56px
}

.so-tc .so3-kicker {
  margin-bottom:20px
}

.so-tc .spec {
  gap:8px 20px;margin-top:28px
}

.so-tc .con__body {
  padding:18px;font-size:14px
}

.so-tc .con__foot {
  padding:12px 18px
}

.so-tc .head {
  margin-bottom:28px
}

.so-tc .panel__bar {
  padding:14px 16px
}

.so-tc .tbl th, .so-tc .tbl td {
  padding-left:16px;padding-right:16px
}

.so-tc .side, .so-tc .hist, .so-tc .apitext {
  padding:20px
}

.so-tc .side__median-val {
  font-size:44px
}

.so-tc .bar b {
  display:none
}

.so-tc .banner {
  padding:24px
}
}

.so-tc .tabs button {
  min-height:40px;padding:0 16px;border:0;border-radius:66px;background:transparent;font:inherit;font-size:15px;font-weight:600;color:#4a4a5c;cursor:pointer
}
.so-tc .tabs button[aria-selected="true"] {
  background:#fff;color:#5b38d6;box-shadow:0 2px 8px rgba(34,34,59,.08)
}
.so-tc .tbl .mg-tti__num {
  text-align:right;font-family:"Roboto Mono",ui-monospace,monospace;font-variant-numeric:tabular-nums;white-space:nowrap
}
.so-tc .tbl .mg-tti__num b { font-weight:600 }
.so-tc .mg-tti__prov { font-weight:600 }
.so-tc .mg-tti__tip { display:none }
.so-tc .mg-tti__badge {
  display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:66px;font-size:14px;font-weight:600;white-space:nowrap
}
.so-tc .mg-tti__badge--ok { background:#e2f6e8;color:#146c34 }
.so-tc .mg-tti__badge--warn { background:#fff4e0;color:#8a5a00 }
.so-tc .mg-tti__badge--bad { background:#fde8e8;color:#a32020 }
.so-tc .mg-tti__spark { display:block;width:96px;height:28px }
.so-tc .mg-tti__spark polyline { stroke:#8157f6 }
.so-tc .mg-tti__spark circle { fill:#8157f6 }
.so-tc .mg-tti__link { font-size:15px;font-weight:600;text-decoration:none;white-space:nowrap;color:#8157f6 }
.so-tc [hidden] { display:none !important }
