/* Lead-Gen Site Value Calculator. Reuses SearchFrom's tool.css (xs-*) and the site's own
   switches (mk-filters/mk-ver), tabs (seg/xt-tabs) and cards. Everything here is scoped to #sv. */
#sv .sv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; }
#sv .sv-in { position: relative; }
#sv .sv-in input { width: 100%; height: 46px; padding: 0 18px; border: 0; border-radius: 999px; background: #ffffff0d;
  color: #fff; font: 500 15px/1 var(--font); outline: none; transition: box-shadow .2s, background-color .2s; -moz-appearance: textfield; }
#sv .sv-in input::-webkit-outer-spin-button, #sv .sv-in input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#sv .sv-in input:focus { box-shadow: 0 0 0 3px #7b7cff47; }
#sv .sv-in.sv-cur input { padding-left: 34px; }
#sv .sv-in.sv-cur::before { content: "$"; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font: 500 15px/1 var(--font); pointer-events: none; }
#sv .sv-in .sv-suf { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--ink-3); font-size: 13px; pointer-events: none; }
#sv .sv-hint { margin: 0; padding-left: 4px; font-size: 12px; color: var(--ink-3); }
#sv [hidden] { display: none !important; }

#sv .sv-res { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; margin-top: 22px; }
#sv .sv-box { border-radius: 18px; background: #ffffff08; box-shadow: inset 0 0 0 1px #ffffff0f; padding: 20px 22px; min-width: 0; }
#sv .sv-k { margin: 0 0 6px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #b3b4ff; }
#sv .sv-val { margin: 0; font: 800 clamp(34px, 6vw, 52px)/1.05 var(--font); letter-spacing: -.02em; }
#sv .sv-range { margin: 8px 0 0; color: var(--ink-2); font-size: 14px; }
#sv .sv-range b { color: var(--ink); font-weight: 600; }
#sv .sv-bar { position: relative; height: 8px; margin: 18px 0 6px; border-radius: 999px; background: #ffffff12; }
#sv .sv-bar i { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: linear-gradient(90deg, #5f59ff, #7b7cff, #ff8a3d); transition: left .35s, width .35s; }
#sv .sv-bar b { position: absolute; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: #fff; box-shadow: 0 2px 8px #0008; transition: left .35s; }
#sv .sv-scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--ink-3); }
#sv .sv-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
#sv .sv-stat { border-radius: 12px; background: #ffffff08; padding: 10px 12px; }
#sv .sv-stat span { display: block; font-size: 11.5px; color: var(--ink-3); }
#sv .sv-stat b { display: block; margin-top: 4px; font-size: 16px; font-weight: 700; }
#sv .sv-why { list-style: none; margin: 4px 0 0; padding: 0; }
#sv .sv-why li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid #ffffff0d; font-size: 13.5px; color: var(--ink-2); }
#sv .sv-why li:last-child { border-bottom: 0; }
#sv .sv-why li b { flex: none; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #ffffff0d; color: var(--ink-2); }
#sv .sv-why li b.up { color: #4ade80; background: #16a34a24; }
#sv .sv-why li b.dn { color: #ff8a95; background: #ff4f6124; }
#sv .sv-sell { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; padding: 16px 18px; border-radius: 18px;
  background: linear-gradient(120deg, #3a33e833, #ff8a3d1f); box-shadow: inset 0 0 0 1px #7b7cff33; }
#sv .sv-sell p { flex: 1 1 280px; margin: 0; font-size: 14px; color: #c9cdf6; }
#sv .sv-sell p b { color: #fff; }
#sv .sv-sell .btn { flex: none; }
#sv .sv-fine { margin: 14px 4px 0; font-size: 12px; color: var(--ink-3); }

html.light #sv .sv-in input { background-color: #fff; color: #172033; box-shadow: inset 0 0 0 1px #e8ebf2; }
html.light #sv .sv-in input:focus { box-shadow: 0 0 0 3px #6364f133; }
html.light #sv .sv-box { background: #fff; box-shadow: inset 0 0 0 1px #e8ebf2; }
html.light #sv .sv-k { color: #6364f1; }
html.light #sv .sv-bar { background: #e8ebf2; }
html.light #sv .sv-stat { background: #f4f6fa; }
html.light #sv .sv-why li { border-color: #eef0f5; }
html.light #sv .sv-why li b { background: #f1f3f8; }
html.light #sv .sv-why li b.up { color: #15803d; background: #e8f8ef; }
html.light #sv .sv-why li b.dn { color: #d92d3f; background: #ffebee; }
html.light #sv .sv-sell { background: linear-gradient(120deg, #6364f11a, #f59d3d1a); box-shadow: inset 0 0 0 1px #6364f133; }
html.light #sv .sv-sell p { color: #45516a; }
html.light #sv .sv-sell p b { color: #172033; }

@media (max-width: 860px) { #sv .sv-res { grid-template-columns: 1fr; } }
@media (max-width: 720px) { #sv .sv-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { #sv .sv-grid, #sv .sv-stats { grid-template-columns: 1fr; } }
#sv .xs-out #sv-url { min-width: 0; flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
