/* ═══ หน้ารับตัวแทนจำหน่าย (/partner.php) — prefix rs- ════════════════════
   hero วงโคจร · การ์ดผลประโยชน์ · stepper 4 ขั้น (ดัดแปลงจาก AI Steppers)
   · คอนโซลหลังบ้านตัวแทน 8 แท็บ · ผังเส้นทางเงิน · FAQ · ฟอร์มสมัคร
   ══════════════════════════════════════════════════════════════════════ */
.rs { overflow-x: clip; --rs-out: cubic-bezier(.22, 1, .36, 1); }
.rs-sec { padding-top: 56px; padding-bottom: 56px; }

/* ── Hero ── */
.rs-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding-top: 56px; padding-bottom: 30px; }
.rs-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.18; margin: 0 0 16px; }
.rs-lead { color: var(--muted); font-size: 1.08rem; max-width: 560px; margin: 0 0 24px; }
.rs-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.rs-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: .92rem; }
.rs-ticks li { display: flex; align-items: center; gap: 6px; }
.rs-ticks .ico { color: var(--accent); }

.rs-orbit { position: relative; aspect-ratio: 1; max-width: 440px; width: 100%; justify-self: center; }
.rs-orbit-ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(110, 224, 90, .25); }
.rs-orbit-ring.r1 { width: 100%; height: 100%; animation: rs-spin 60s linear infinite; }
.rs-orbit-ring.r2 { width: 72%; height: 72%; border-style: solid; border-color: rgba(182, 240, 156, .14); animation: rs-spin 40s linear infinite reverse; }
.rs-orbit-ring.r3 { width: 44%; height: 44%; border-color: rgba(102, 221, 79, .35); box-shadow: 0 0 60px rgba(33, 160, 64, .25), inset 0 0 40px rgba(33, 160, 64, .18); }
.rs-orbit-ring.r1::before, .rs-orbit-ring.r2::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 14px var(--accent); }
.rs-core { position: absolute; inset: 0; margin: auto; width: 40%; height: 40%; border-radius: 50%; display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px; }
.rs-core b { font-size: .95rem; }
.rs-core span { font-family: var(--mono); font-size: .62rem; letter-spacing: .2em; color: var(--cyan); text-transform: uppercase; }
.rs-core .logo-img { filter: drop-shadow(0 0 12px rgba(102, 221, 79, .6)); animation: rs-float 4s ease-in-out infinite; }
.rs-sat { position: absolute; display: flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; font-size: .82rem; font-weight: 600; white-space: nowrap;
  background: rgba(10, 24, 19, .82); border: 1px solid var(--border-hi); box-shadow: 0 8px 24px rgba(0, 0, 0, .35); backdrop-filter: blur(10px); animation: rs-float 5s ease-in-out infinite; }
.rs-sat .ico { color: var(--accent); }
.rs-sat.s1 { top: 4%; left: 50%; translate: -50% 0; }
.rs-sat.s2 { top: 30%; right: -2%; animation-delay: -1s; }
.rs-sat.s3 { bottom: 12%; right: 6%; animation-delay: -2s; }
.rs-sat.s4 { bottom: 12%; left: 4%; animation-delay: -3s; }
.rs-sat.s5 { top: 30%; left: -2%; animation-delay: -4s; }
@keyframes rs-spin { to { transform: rotate(360deg); } }
@keyframes rs-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ── ผลประโยชน์ ── */
.rs-benefits { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rs-benefit { padding: 22px; transition: transform .35s var(--ease), border-color .35s; }
.rs-benefit:hover { transform: translateY(-4px); border-color: var(--hue, var(--border-hi)); }
.rs-benefit h3 { margin: 14px 0 6px; font-size: 1.1rem; }
.rs-benefit p { margin: 0; color: var(--muted); font-size: .94rem; }
.rs-bico { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; font-size: 1.4rem; color: var(--hue, var(--accent));
  background: color-mix(in srgb, var(--hue, #66dd4f) 14%, transparent); border: 1px solid color-mix(in srgb, var(--hue, #66dd4f) 40%, transparent);
  box-shadow: 0 0 22px color-mix(in srgb, var(--hue, #66dd4f) 25%, transparent); }

/* ── Stepper ── */
.rs-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; position: relative; }
.rs-steps-line { position: absolute; top: 31px; left: 12.5%; right: 12.5%; height: 3px; border-radius: 3px; background: rgba(110, 224, 90, .14); }
.rs-steps-line > span { position: absolute; inset: 0 auto 0 0; width: calc(var(--rs-step) / 3 * 100%); background: var(--grad); border-radius: inherit; box-shadow: 0 0 14px rgba(102, 221, 79, .6); transition: width .7s var(--ease); }
.rs-step { position: relative; display: grid; justify-items: center; text-align: center; gap: 6px; padding: 0 6px; }
.rs-step-node { position: relative; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; color: var(--muted);
  background: var(--surface-solid); border: 2px solid rgba(110, 224, 90, .2); transition: .45s var(--rs-out); }
.rs-step-node em { position: absolute; top: -4px; right: -4px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: .7rem;
  background: var(--bg2); border: 1px solid var(--border-hi); color: var(--muted); }
.rs-step b { font-size: 1rem; margin-top: 8px; }
.rs-step > span { color: var(--muted); font-size: .88rem; max-width: 220px; }
.rs-step.done .rs-step-node, .rs-step.on .rs-step-node { color: #04140b; background: var(--grad); border-color: transparent; }
.rs-step.on .rs-step-node { transform: scale(1.12); box-shadow: 0 0 0 6px rgba(102, 221, 79, .14), 0 0 30px rgba(102, 221, 79, .55); }
.rs-step.on .rs-step-node em, .rs-step.done .rs-step-node em { background: var(--accent); color: #04140b; border-color: transparent; }

/* ── คอนโซลตัวแทน ── */
.rs-console { padding: 0; }
.rs-con-top { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--border); background: rgba(4, 11, 9, .55); position: relative; z-index: 1; }
.rs-dots { display: inline-flex; gap: 6px; }
.rs-dots i { width: 10px; height: 10px; border-radius: 50%; background: #fb7185; }
.rs-dots i:nth-child(2) { background: #fbbf24; } .rs-dots i:nth-child(3) { background: #66dd4f; }
.rs-url { flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 99px; background: rgba(255, 255, 255, .04); border: 1px solid var(--border); color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-con-me { display: flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.rs-av { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border-radius: 50%; font-size: .78rem; font-weight: 700; color: #04140b; background: var(--grad); }
.rs-con-body { display: grid; grid-template-columns: 210px minmax(0, 1fr); min-height: 470px; position: relative; z-index: 1; }
.rs-con-side { display: flex; flex-direction: column; gap: 4px; padding: 14px 10px; border-right: 1px solid var(--border); background: rgba(4, 11, 9, .35); }
.rs-tab { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; border: 1px solid transparent; background: none; color: var(--muted); font-size: .92rem; text-align: left; transition: .25s; }
.rs-tab .ico { font-size: 1.1rem; }
.rs-tab:hover { color: var(--text); background: rgba(33, 160, 64, .08); }
.rs-tab.on { color: #fff; background: linear-gradient(90deg, rgba(33, 160, 64, .3), rgba(33, 160, 64, .06)); border-color: var(--border-hi); }
.rs-tab.on .ico { color: var(--accent); }
.rs-con-main { padding: 20px; min-width: 0; }
.rs-pane { animation: rs-in .45s var(--ease); overflow-x: auto; }
@keyframes rs-in { from { opacity: 0; transform: translateY(10px); } }
.rs-pane-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.rs-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.rs-kpis.two { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 16px; }
.rs-kpi { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); display: grid; gap: 2px; }
.rs-kpi span { color: var(--muted); font-size: .8rem; }
.rs-kpi b { font-family: var(--mono); font-size: 1.45rem; letter-spacing: .02em; }
.rs-kpi em { font-style: normal; font-size: .76rem; color: var(--dim); }
.rs-kpi em.up, .rs-kpi em.warn { justify-self: start; padding: 1px 8px; border-radius: 99px; margin-top: 2px; }
.rs-kpi em.up { color: #c8f5b8; } .rs-kpi em.warn { color: #ffe08a; background: rgba(251, 191, 36, .14); }
.rs-ov-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; margin-top: 12px; }
.rs-card { padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); min-width: 0; }
.rs-card h4 { margin: 0 0 10px; font-size: .9rem; display: flex; align-items: center; gap: 8px; }
.rs-spark { width: 100%; height: 120px; display: block; }
.rs-spark-l { stroke-dasharray: 600; stroke-dashoffset: 600; filter: drop-shadow(0 0 6px rgba(182, 240, 156, .7)); }
.rs-pane.on .rs-spark-l, .rs-pane:not([hidden]) .rs-spark-l { animation: rs-draw 1.6s var(--ease) forwards; }
@keyframes rs-draw { to { stroke-dashoffset: 0; } }
.rs-feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rs-feed li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: .85rem; padding: 8px 10px; border-radius: 10px; background: rgba(33, 160, 64, .06); }
.rs-feed li.new { animation: rs-pop .6s var(--rs-out); }
.rs-feed .ico { color: var(--accent); }
.rs-feed time { color: var(--dim); font-size: .74rem; white-space: nowrap; }
@keyframes rs-pop { from { opacity: 0; transform: translateY(-8px) scale(.97); background: rgba(102, 221, 79, .25); } }

.rs-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.rs-table th { text-align: left; font-weight: 600; color: var(--muted); font-size: .78rem; padding: 8px 10px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.rs-table td { padding: 10px; border-bottom: 1px solid rgba(110, 224, 90, .07); vertical-align: middle; }
.rs-table .r { text-align: right; font-family: var(--mono); font-size: .82rem; white-space: nowrap; }
.rs-table .up { color: var(--accent); } .rs-table .down { color: var(--red); }
.rs-table tr.new td { animation: rs-pop .6s var(--rs-out); }
.rs-tag { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 99px; font-size: .72rem; font-weight: 600; white-space: nowrap;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); color: #d6dedb; }
.rs-tag.g { background: rgba(182, 240, 156, .12); border-color: rgba(182, 240, 156, .35); color: #c8f5b8; }
.rs-tag.a { background: rgba(251, 191, 36, .12); border-color: rgba(251, 191, 36, .35); color: #ffe08a; }
.rs-tag.p { background: rgba(244, 114, 182, .12); border-color: rgba(244, 114, 182, .35); color: #ffb3da; }
.rs-btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--border-hi); background: rgba(33, 160, 64, .18); color: #e8fbe2; font-size: .86rem; font-weight: 600; transition: .25s; }
.rs-btn:hover { background: rgba(33, 160, 64, .32); box-shadow: var(--glow); }
.rs-btn.sm { padding: 5px 10px; font-size: .78rem; white-space: nowrap; }
.rs-btn:disabled { opacity: .55; cursor: default; box-shadow: none; }
.rs-hint { color: var(--muted); font-size: .84rem; margin: 12px 0 0; display: flex; align-items: center; gap: 6px; }
.rs-hint .ico { color: var(--accent); }
.rs-chipline { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.rs-chipline .ico { color: var(--amber); }
.rs-search { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 10px; border: 1px solid var(--border); color: var(--dim); font-size: .82rem; }

.rs-life { display: inline-block; width: 64px; height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .08); vertical-align: middle; overflow: hidden; }
.rs-life i { display: block; height: 100%; width: var(--p); background: var(--grad); border-radius: inherit; transition: width .8s var(--ease); }
[data-rs-shop] em { font-style: normal; font-family: var(--mono); font-size: .82rem; }

.rs-wallet { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin-bottom: 16px; }
.rs-wcard { padding: 18px; border-radius: 16px; display: grid; gap: 10px;
  background: radial-gradient(120% 140% at 0 0, rgba(102, 221, 79, .28), transparent 60%), linear-gradient(135deg, #0f2e1b, #0a1c15); border: 1px solid var(--border-hi); }
.rs-wcard > span { color: var(--muted); font-size: .84rem; }
.rs-wcard > b { font-family: var(--mono); font-size: clamp(1.6rem, 3.4vw, 2.2rem); }
.rs-wcard small { font-family: var(--font); font-size: .9rem; color: var(--muted); }
.rs-wcard-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.rs-wcard-row em { font-style: normal; color: var(--dim); font-size: .8rem; }
.rs-qr { display: grid; justify-items: center; align-content: center; gap: 8px; padding: 14px; border-radius: 16px; border: 1px solid var(--border); background: rgba(255, 255, 255, .03); text-align: center; animation: rs-in .4s var(--ease); }
.rs-qr p { margin: 0; font-size: .82rem; } .rs-qr small { color: var(--dim); }
.rs-qr-box { position: relative; width: 108px; height: 108px; border-radius: 10px; background:
  repeating-conic-gradient(#eef3f1 0 25%, #0c1a15 0 50%) 0 0 / 12px 12px; border: 6px solid #eef3f1; overflow: hidden; }
.rs-qr-box i { position: absolute; width: 28px; height: 28px; border: 5px solid #0c1a15; background: #eef3f1; box-shadow: inset 0 0 0 4px #eef3f1, inset 0 0 0 9px #0c1a15; }
.rs-qr-box i:nth-child(1) { top: 0; left: 0; } .rs-qr-box i:nth-child(2) { top: 0; right: 0; } .rs-qr-box i:nth-child(3) { bottom: 0; left: 0; }
.rs-qr-box span { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: rs-scan 1.8s ease-in-out infinite alternate; }
@keyframes rs-scan { to { top: calc(100% - 2px); } }

.rs-bars { display: grid; gap: 10px; }
.rs-bar { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 12px; font-size: .86rem; }
.rs-bar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rs-bar i { height: 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); position: relative; overflow: hidden; }
.rs-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: var(--grad); box-shadow: 0 0 12px rgba(102, 221, 79, .5); transform-origin: left; animation: rs-grow 1s var(--ease) var(--d) both; }
@keyframes rs-grow { from { transform: scaleX(0); } }

.rs-quote { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.rs-qdoc { border-radius: 16px; padding: 16px; background: #f4f8f5; color: #10231a; box-shadow: 0 16px 40px rgba(0, 0, 0, .4); }
.rs-qdoc-h { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 2px dashed #cfe3d6; }
.rs-qdoc-h div { display: grid; } .rs-qdoc-h small { color: #4b6457; }
.rs-qdoc ul { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; font-size: .86rem; }
.rs-qdoc li { display: flex; justify-content: space-between; gap: 10px; }
.rs-qdoc li em { font-style: normal; color: #3c7a52; font-weight: 600; white-space: nowrap; }
.rs-qdoc-pay { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: #10231a; color: #c8f5b8; font-size: .82rem; }

.rs-site { display: grid; grid-template-columns: 240px 1fr; gap: 18px; align-items: start; }
.rs-site-ctl { display: grid; gap: 12px; }
.rs-site-ctl label, .rs-form-mock label { display: grid; gap: 5px; font-size: .8rem; color: var(--muted); }
.rs-site-ctl input { padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border-hi); background: rgba(4, 11, 9, .6); color: #fff; font: inherit; font-size: .9rem; }
.rs-fake-input { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--border); background: rgba(4, 11, 9, .5); color: var(--text); font-size: .88rem; }
.rs-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.rs-swatches button { width: 30px; height: 30px; border-radius: 50%; border: 2px solid transparent; background: var(--c); box-shadow: 0 0 0 2px rgba(255, 255, 255, .08); transition: .25s var(--rs-out); }
.rs-swatches button.on { border-color: #fff; transform: scale(1.15); box-shadow: 0 0 16px var(--c); }
.rs-browser { border-radius: 14px; overflow: hidden; border: 1px solid var(--border-hi); background: #071410; transition: box-shadow .4s; box-shadow: 0 0 34px color-mix(in srgb, var(--c) 30%, transparent); }
.rs-browser-bar { display: flex; align-items: center; gap: 10px; padding: 8px 12px; background: rgba(255, 255, 255, .04); font-size: .76rem; color: var(--muted); }
.rs-browser-body { padding: 14px; display: grid; gap: 12px; }
.rs-bnav { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .78rem; color: var(--muted); }
.rs-bnav b { color: var(--c); font-size: .95rem; transition: color .4s; }
.rs-bhero { padding: 22px 16px; border-radius: 12px; text-align: center; transition: background .5s;
  background: radial-gradient(100% 120% at 50% 0, color-mix(in srgb, var(--c) 40%, transparent), transparent 70%), rgba(255, 255, 255, .03); }
.rs-bhero h5 { margin: 0; font-size: 1.05rem; } .rs-bhero p { margin: 4px 0 12px; color: var(--muted); font-size: .82rem; }
.rs-bhero i { display: inline-block; font-style: normal; padding: 6px 14px; border-radius: 99px; background: var(--c); color: #04140b; font-weight: 700; font-size: .8rem; transition: background .4s; }
.rs-bgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rs-bgrid i { height: 54px; border-radius: 10px; background: linear-gradient(160deg, color-mix(in srgb, var(--c) 30%, transparent), rgba(255, 255, 255, .03)); border: 1px solid rgba(255, 255, 255, .06); }

.rs-leads { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rs-leads li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--border); }
.rs-leads li.new { animation: rs-pop .6s var(--rs-out); border-color: var(--border-hi); }
.rs-leads div { display: grid; min-width: 0; } .rs-leads small { color: var(--muted); font-size: .78rem; }
.rs-form-mock { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rs-form-mock .full { grid-column: 1 / -1; }

/* ── เส้นทางเงิน ── */
.rs-flow { padding: 18px 18px 22px; }
.rs-flow-svg { width: 100%; height: auto; display: block; max-height: 200px; }
.rs-fp { fill: none; stroke: rgba(102, 221, 79, .35); stroke-width: 2; stroke-dasharray: 6 8; animation: rs-dash 1.2s linear infinite; }
.rs-fp.dim { stroke: rgba(244, 114, 182, .3); animation-direction: reverse; }
@keyframes rs-dash { to { stroke-dashoffset: -28; } }
.rs-fd { fill: var(--accent); filter: drop-shadow(0 0 6px #b6f09c); }
.rs-fd.b { fill: #66dd4f; } .rs-fd.p { fill: #f472b6; filter: drop-shadow(0 0 6px #f472b6); }
.rs-flow-nodes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: -40px; position: relative; z-index: 1; }
.rs-fn { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 14px; border-radius: 16px; background: rgba(4, 11, 9, .72); border: 1px solid var(--border); }
.rs-fn.hi { border-color: var(--border-hi); box-shadow: var(--glow); }
.rs-fn .ico { font-size: 1.6rem; color: var(--accent); }
.rs-fn span { color: var(--muted); font-size: .84rem; }

/* ── FAQ ── */
.rs-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.rs-q { padding: 0; }
.rs-q summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; font-weight: 600; position: relative; z-index: 1; }
.rs-q summary::-webkit-details-marker { display: none; }
.rs-q summary .ico { color: var(--accent); transform: rotate(45deg); transition: transform .3s var(--rs-out); flex: none; }
.rs-q[open] summary .ico { transform: rotate(0); }
.rs-q p { margin: 0; padding: 0 18px 16px; color: var(--muted); position: relative; z-index: 1; }

/* ── ฟอร์มสมัคร ── */
.rs-apply { display: grid; grid-template-columns: .8fr 1.2fr; gap: 0; padding: 0; }
.rs-apply-side { padding: 30px; border-right: 1px solid var(--border); position: relative; z-index: 1;
  background: radial-gradient(120% 90% at 0 0, rgba(33, 160, 64, .22), transparent 60%); }
.rs-apply-side h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 10px; line-height: 1.25; }
.rs-apply-side > p { color: var(--muted); }
.rs-apply-ct { display: grid; gap: 10px; margin-top: 20px; }
.rs-apply-main { padding: 30px; position: relative; z-index: 1; min-width: 0; }
.rs-gate { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 30px 10px; }
.rs-gate h3 { margin: 6px 0 0; } .rs-gate p { color: var(--muted); margin: 0 0 10px; }
.rs-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rs-form .full { grid-column: 1 / -1; }
.rs-form label, .rs-form legend { display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.rs-form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.rs-form legend { margin-bottom: 8px; padding: 0; }
.rs-form input:not([type=radio]), .rs-form textarea { width: 100%; padding: 11px 14px; border-radius: 12px; border: 1px solid var(--border-hi); background: rgba(4, 11, 9, .6); color: #fff; font: inherit; font-size: .95rem; transition: border-color .2s, box-shadow .2s; }
.rs-form input:focus, .rs-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(182, 240, 156, .18); }
.rs-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.rs-pill { position: relative; cursor: pointer; }
.rs-pill input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.rs-pill span { display: inline-block; padding: 8px 14px; border-radius: 99px; border: 1px solid var(--border-hi); color: var(--text); font-size: .86rem; transition: .2s; }
.rs-pill input:checked + span { background: var(--grad); color: #04140b; font-weight: 700; border-color: transparent; box-shadow: 0 0 16px rgba(102, 221, 79, .45); }
.rs-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rs-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.rs-submit small { color: var(--dim); }
.rs-status { display: flex; gap: 12px; align-items: center; padding: 14px 16px; margin-bottom: 16px; border-radius: 14px; background: rgba(182, 240, 156, .1); border: 1px solid rgba(182, 240, 156, .35); }
.rs-status > .ico { font-size: 1.5rem; color: var(--accent); }
.rs-status div { display: grid; } .rs-status span { color: var(--muted); font-size: .86rem; }
.rs-status.pop { animation: rs-pop .8s var(--rs-out); }
.rs-errors { margin: 0 0 16px; padding: 12px 16px 12px 34px; border-radius: 12px; background: rgba(251, 113, 133, .1); border: 1px solid rgba(251, 113, 133, .35); color: #ffc2cc; font-size: .9rem; }

/* ── จอเล็ก ── */
@media (max-width: 1000px) {
  .rs-hero { grid-template-columns: 1fr; text-align: center; }
  .rs-lead { margin-left: auto; margin-right: auto; }
  .rs-cta, .rs-ticks { justify-content: center; }
  .rs-orbit { max-width: 360px; }
  .rs-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-con-body { grid-template-columns: 1fr; }
  .rs-con-side { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--border); scrollbar-width: none; }
  .rs-con-side::-webkit-scrollbar { display: none; }
  .rs-tab { flex: none; white-space: nowrap; }
  .rs-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rs-apply { grid-template-columns: 1fr; }
  .rs-apply-side { border-right: 0; border-bottom: 1px solid var(--border); }
}
@media (max-width: 720px) {
  .rs-benefits, .rs-faq, .rs-ov-grid, .rs-quote, .rs-site, .rs-wallet, .rs-form, .rs-form-mock { grid-template-columns: 1fr; }
  .rs-steps { grid-template-columns: 1fr; gap: 18px; }
  .rs-steps-line { top: 32px; bottom: 32px; left: 31px; right: auto; width: 3px; height: auto; }
  .rs-steps-line > span { width: 100%; height: calc(var(--rs-step) / 3 * 100%); inset: 0 0 auto 0; transition: height .7s var(--ease); }
  .rs-step { grid-template-columns: 64px 1fr; justify-items: start; text-align: left; column-gap: 14px; row-gap: 0; }
  .rs-step-node { grid-row: span 2; }
  .rs-step b { margin-top: 10px; }
  .rs-con-me span + * { display: none; }
  .rs-con-me { font-size: 0; gap: 0; }
  .rs-con-main { padding: 14px; }
  .rs-table { font-size: .8rem; }
  .rs-table th, .rs-table td { padding: 8px 6px; }
  [data-pane="shops"] .rs-table th:nth-child(2), [data-pane="shops"] .rs-table td:nth-child(2) { display: none; }
  .rs-life { width: 40px; }
  .rs-sm-hide { display: none; }
  [data-pane="shops"] .rs-table td:first-child b { font-size: .78rem; word-break: break-word; }
  .rs-bar { grid-template-columns: 110px 1fr; }
  .rs-flow-svg { display: none; }
  .rs-flow-nodes { grid-template-columns: 1fr; margin-top: 0; }
  .rs-fn + .rs-fn::before { content: "↓"; display: block; color: var(--accent); margin: -30px 0 6px; font-size: 1.2rem; }
  .rs-fn + .rs-fn { margin-top: 18px; }
  .rs-apply-side, .rs-apply-main { padding: 22px 18px; }
  .rs-sat { font-size: .72rem; padding: 5px 9px; }
}
@media (max-width: 440px) {
  .rs-kpis, .rs-kpis.two { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rs-kpi b { font-size: 1.15rem; }
  [data-pane="wallet"] .rs-table th:nth-child(4), [data-pane="wallet"] .rs-table td:nth-child(4) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-orbit-ring, .rs-sat, .rs-core .logo-img, .rs-fp, .rs-qr-box span { animation: none !important; }
  .rs-spark-l { stroke-dashoffset: 0; animation: none !important; }
  .rs-flow-svg circle { display: none; }
}
