/* AI Bhoomi · RurSat — tool launcher, access bar and plan sheet (19 Sep 2026).
   Phone first (375 px). Launcher and plan sheet follow the device's light / dark
   setting; the bar and header button sit in the app's own dark chrome. */

.rsl-root, .rsl-pay, .rsl-bar, .rsl-tools-btn, .rsl-card {
  --rsl-font: 'Noto Sans Devanagari', 'Nirmala UI', 'Mangal', var(--font-body, 'Inter'), sans-serif;
  --rsl-display: var(--font-display, 'Outfit'), 'Noto Sans Devanagari', 'Nirmala UI', sans-serif;
}

/* ---------- colour tokens: dark (default) ---------- */
.rsl-root, .rsl-pay {
  --rsl-bg: #07100d;
  --rsl-panel: linear-gradient(180deg, #0b1713 0%, #08110f 100%);
  --rsl-surface: rgba(255, 255, 255, 0.035);
  --rsl-surface-2: rgba(255, 255, 255, 0.06);
  --rsl-border: rgba(255, 255, 255, 0.08);
  --rsl-border-strong: rgba(74, 222, 128, 0.45);
  --rsl-text: #ecfdf5;
  --rsl-muted: #94a3b8;
  --rsl-accent: #22c55e;
  --rsl-accent-ink: #03140b;
  --rsl-accent-soft: rgba(34, 197, 94, 0.12);
  --rsl-warn: #fbbf24;
  --rsl-warn-soft: rgba(251, 191, 36, 0.12);
  --rsl-danger: #f87171;
  --rsl-scrim: rgba(1, 6, 4, 0.72);

  --ti-line: #4ade80;
  --ti-glow: #d9f99d;
  --ti-water: #38bdf8;
  --ti-warm: #fbbf24;
  --ti-soil: #d6a574;
  --ti-muted: #64748b;
  --ti-g1: rgba(74, 222, 128, 0.40);
  --ti-g2: rgba(22, 163, 74, 0.06);
  --ti-w1: rgba(56, 189, 248, 0.50);
  --ti-w2: rgba(14, 165, 233, 0.08);
  --ti-s1: rgba(214, 165, 116, 0.30);
  --ti-s2: rgba(146, 64, 14, 0.06);
  --ti-chip: linear-gradient(145deg, #10281d 0%, #0c1f24 100%);
  --ti-chip-border: rgba(74, 222, 128, 0.20);
  --ti-tilebg: #0e241e;
}

/* ---------- colour tokens: light ---------- */
@media (prefers-color-scheme: light) {
  .rsl-root, .rsl-pay {
    --rsl-bg: #f4f7f5;
    --rsl-panel: linear-gradient(180deg, #f8fbf9 0%, #f1f6f3 100%);
    --rsl-surface: #ffffff;
    --rsl-surface-2: #f1f5f3;
    --rsl-border: #dfe7e2;
    --rsl-border-strong: #16a34a;
    --rsl-text: #0b1f14;
    --rsl-muted: #4b5d55;
    --rsl-accent: #15803d;
    --rsl-accent-ink: #ffffff;
    --rsl-accent-soft: #e7f7ec;
    --rsl-warn: #b45309;
    --rsl-warn-soft: #fef3c7;
    --rsl-danger: #b91c1c;
    --rsl-scrim: rgba(15, 30, 22, 0.45);

    --ti-line: #15803d;
    --ti-glow: #65a30d;
    --ti-water: #0284c7;
    --ti-warm: #d97706;
    --ti-soil: #92400e;
    --ti-muted: #94a3b8;
    --ti-g1: rgba(34, 197, 94, 0.30);
    --ti-g2: rgba(34, 197, 94, 0.04);
    --ti-w1: rgba(14, 165, 233, 0.36);
    --ti-w2: rgba(14, 165, 233, 0.05);
    --ti-s1: rgba(180, 83, 9, 0.20);
    --ti-s2: rgba(180, 83, 9, 0.03);
    --ti-chip: linear-gradient(145deg, #ecfdf3 0%, #eaf8fb 100%);
    --ti-chip-border: #c6ecd3;
    --ti-tilebg: #ebfbf3;
  }
}

/* ---------- header button ---------- */
.rsl-tools-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 10px; padding: 7px 12px; min-height: 34px;
  border-radius: 8px; border: 1px solid rgba(74, 222, 128, 0.55);
  background: rgba(34, 197, 94, 0.12); color: #d1fae5;
  font: 700 12.5px/1 var(--rsl-font); cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.rsl-tools-btn:hover { background: rgba(34, 197, 94, 0.22); border-color: #4ade80; }
.rsl-tools-btn:focus-visible { outline: 2px solid #4ade80; outline-offset: 2px; }
.rsl-tools-btn svg { color: #4ade80; }
@media (max-width: 480px) {
  .rsl-tools-btn { padding: 7px 9px; margin-left: 6px; }
  .rsl-tools-btn .rsl-tools-lbl { display: none; }
  .model-meta .status-pill { display: none; }
  #auth-btn { margin-left: 6px !important; }
}

/* ---------- access bar under the header ---------- */
.rsl-bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 7px 16px; min-height: 36px;
  font: 500 12.5px/1.35 var(--rsl-font); color: #d1fae5;
  background: rgba(34, 197, 94, 0.08); border-bottom: 1px solid rgba(74, 222, 128, 0.18);
}
.rsl-bar[hidden] { display: none; }
.rsl-bar .rsl-bar-txt { display: flex; align-items: center; gap: 7px; min-width: 0; }
.rsl-bar .rsl-bar-txt span { overflow: hidden; text-overflow: ellipsis; }
.rsl-bar .rsl-bar-en { color: #94a3b8; font-size: 11.5px; }
.rsl-bar button {
  flex: none; border: 0; border-radius: 999px; padding: 6px 12px; cursor: pointer;
  font: 700 12px/1 var(--rsl-font); background: #22c55e; color: #03140b;
}
.rsl-bar button:focus-visible { outline: 2px solid #bbf7d0; outline-offset: 2px; }
.rsl-bar.is-anon { background: rgba(6, 182, 212, 0.08); border-bottom-color: rgba(6, 182, 212, 0.22); color: #cffafe; }
.rsl-bar.is-anon button { background: #22d3ee; color: #001018; }
.rsl-bar.is-ended { background: rgba(245, 158, 11, 0.12); border-bottom-color: rgba(245, 158, 11, 0.35); color: #fde68a; }
.rsl-bar.is-ended button { background: #f59e0b; color: #1a0f00; }
@media (max-width: 480px) {
  .rsl-bar { padding: 7px 12px; }
  .rsl-bar .rsl-bar-en { display: none; }
}

/* ---------- launcher overlay ---------- */
.rsl-root {
  position: fixed; inset: 0; z-index: 9000;
  display: flex; align-items: stretch; justify-content: center;
  background: var(--rsl-scrim); backdrop-filter: blur(6px);
  font-family: var(--rsl-font); color: var(--rsl-text);
}
.rsl-root[hidden] { display: none; }
.rsl-panel {
  position: relative; width: 100%; max-width: 920px; height: 100%;
  display: flex; flex-direction: column;
  background: var(--rsl-panel); overflow: hidden;
  animation: rsl-panel-in 0.22s ease-out;
}
@media (min-width: 720px) {
  .rsl-root { align-items: center; padding: 24px; }
  .rsl-panel { height: auto; max-height: min(880px, calc(100dvh - 48px)); border-radius: 20px;
    border: 1px solid var(--rsl-border); box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45); }
}
@keyframes rsl-panel-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.rsl-head {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(14px + env(safe-area-inset-top)) 16px 12px;
  border-bottom: 1px solid var(--rsl-border);
}
.rsl-title { min-width: 0; }
.rsl-title h2 { margin: 0; font: 700 21px/1.2 var(--rsl-display); letter-spacing: -0.2px; color: var(--rsl-text); }
.rsl-title p { margin: 2px 0 0; font-size: 12px; color: var(--rsl-muted); }
.rsl-x {
  flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  border: 1px solid var(--rsl-border); background: var(--rsl-surface); color: var(--rsl-text); cursor: pointer;
}
.rsl-x:hover { background: var(--rsl-surface-2); }
.rsl-x:focus-visible, .rsl-btn:focus-visible, .rsl-tile:focus-visible, .rsl-plan:focus-within {
  outline: 2px solid var(--rsl-accent); outline-offset: 2px;
}

.rsl-body { flex: 1; overflow-y: auto; padding: 14px 16px calc(20px + env(safe-area-inset-bottom)); -webkit-overflow-scrolling: touch; }

/* account strip inside the launcher */
/* Testing banner (payments paused, 12 Oct 2026) */
.rsl-testing {
  display: flex; flex-direction: column; gap: 3px;
  padding: 10px 14px; border-radius: 14px; margin-bottom: 12px;
  background: rgba(234, 179, 8, 0.12); border: 1px solid rgba(202, 138, 4, 0.45); color: #854d0e; font-size: 13px;
}
.rsl-testing strong { font-weight: 700; }
.rsl-testing span { font-size: 12px; opacity: .9; }
@media (prefers-color-scheme: dark) { .rsl-testing { color: #fde68a; } }

.rsl-acct {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 12px 14px; border-radius: 14px; margin-bottom: 12px;
  background: var(--rsl-accent-soft); border: 1px solid var(--rsl-border);
}
.rsl-acct.is-ended { background: var(--rsl-warn-soft); }
.rsl-acct .rsl-acct-main { display: flex; align-items: center; gap: 10px; min-width: 0; }
.rsl-acct strong { display: block; font-size: 14.5px; line-height: 1.3; }
.rsl-acct small { display: block; font-size: 12px; color: var(--rsl-muted); margin-top: 1px; }
.rsl-acct .rsl-acct-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--rsl-surface); color: var(--rsl-accent); border: 1px solid var(--rsl-border); }
.rsl-acct.is-ended .rsl-acct-ico { color: var(--rsl-warn); }

.rsl-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  min-height: 40px; padding: 0 16px; border-radius: 11px; cursor: pointer;
  font: 700 13.5px/1 var(--rsl-font); border: 1px solid transparent;
  background: var(--rsl-accent); color: var(--rsl-accent-ink);
}
.rsl-btn:hover { filter: brightness(1.06); }
.rsl-btn.ghost { background: var(--rsl-surface); color: var(--rsl-text); border-color: var(--rsl-border); }
.rsl-btn.warn { background: #f59e0b; color: #1a0f00; }
.rsl-btn[disabled] { opacity: 0.55; cursor: progress; }

/* location row */
.rsl-loc { margin-bottom: 16px; }
.rsl-loc label { display: block; font-size: 12px; font-weight: 600; color: var(--rsl-muted); margin: 0 0 6px 2px; }
.rsl-loc-row { display: flex; gap: 8px; }
.rsl-loc-row input {
  flex: 1; min-width: 0; height: 44px; padding: 0 12px; border-radius: 11px;
  border: 1px solid var(--rsl-border); background: var(--rsl-surface); color: var(--rsl-text);
  font: 400 16px/1 var(--rsl-font);
}
.rsl-loc-row input::placeholder { color: var(--rsl-muted); }
.rsl-loc-row input:focus { outline: 2px solid var(--rsl-accent); outline-offset: 0; border-color: transparent; }
.rsl-loc-row .rsl-btn { min-height: 44px; padding: 0 12px; }
.rsl-loc-now { margin: 6px 2px 0; font-size: 12px; color: var(--rsl-muted); min-height: 16px; }
.rsl-loc-now b { color: var(--rsl-text); font-weight: 600; }

/* sections + grid */
.rsl-sec { margin: 18px 2px 10px; display: flex; align-items: baseline; gap: 8px; }
.rsl-sec h3 { margin: 0; font: 700 14px/1.2 var(--rsl-display); color: var(--rsl-text); }
.rsl-sec span { font-size: 11.5px; color: var(--rsl-muted); }
.rsl-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 360px) { .rsl-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 720px) { .rsl-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }

.rsl-tile {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start;
  gap: 6px; padding: 12px 6px 11px; min-height: 124px;
  border-radius: 16px; border: 1px solid var(--rsl-border); background: var(--rsl-surface);
  color: var(--rsl-text); cursor: pointer; text-align: center; font-family: var(--rsl-font);
  transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.rsl-tile:hover { transform: translateY(-2px); border-color: var(--rsl-border-strong); box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18); }
.rsl-tile:active { transform: translateY(0) scale(0.98); }
.rsl-ico {
  width: 56px; height: 56px; border-radius: 17px; display: grid; place-items: center;
  background: var(--ti-chip); border: 1px solid var(--ti-chip-border);
}
.rsl-hi { font: 700 13.5px/1.25 var(--rsl-font); }
.rsl-en { font-size: 11px; line-height: 1.25; color: var(--rsl-muted); }
.rsl-hi, .rsl-en { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
.rsl-badge {
  margin-top: 1px; padding: 2px 7px; border-radius: 999px;
  font: 600 10px/1.35 var(--rsl-font); background: var(--rsl-surface-2); color: var(--rsl-muted);
  border: 1px solid var(--rsl-border);
}
.rsl-tile.is-soon { cursor: default; opacity: 0.72; }
.rsl-tile.is-soon:hover { transform: none; border-color: var(--rsl-border); box-shadow: none; }
.rsl-tile.is-soon .rsl-ico { background: var(--rsl-surface-2); border-color: var(--rsl-border); }
.rsl-tile.is-locked .rsl-ico::after { content: none; }
.rsl-lock { position: absolute; top: 8px; left: 8px; color: var(--rsl-muted); display: none; }
.rsl-root.is-locked .rsl-tile:not(.is-soon) .rsl-lock { display: block; }

.rsl-foot { margin: 22px 2px 4px; font-size: 11.5px; color: var(--rsl-muted); text-align: center; }

/* ---------- icon strokes / fills ---------- */
.rsl-svg { display: block; overflow: visible; }
.rsl-svg .s-line { stroke: var(--ti-line); }
.rsl-svg .s-water { stroke: var(--ti-water); }
.rsl-svg .s-warm { stroke: var(--ti-warm); }
.rsl-svg .s-soil { stroke: var(--ti-soil); }
.rsl-svg .s-glow { stroke: var(--ti-glow); stroke-width: 2.4; }
.rsl-svg .s-muted { stroke: var(--ti-muted); }
.rsl-svg .f-line { fill: var(--ti-line); stroke: none; }
.rsl-svg .f-water { fill: var(--ti-water); stroke: none; }
.rsl-svg .f-warm { fill: var(--ti-warm); stroke: none; }
.rsl-svg .thin { stroke-width: 1.5; }
.rsl-svg [class*="a-"] { transform-box: fill-box; transform-origin: center; }

/* ---------- icon micro-animations (one idea per icon, 1.2-3.2 s loops) ---------- */
.rsl-svg .a-drop    { animation: rsl-drop 2.6s ease-in infinite; }
.rsl-svg .a-ripple  { animation: rsl-ripple 2.6s ease-out infinite; opacity: 0.9; }
.rsl-svg .a-ripple.a-late { animation-delay: 0.35s; }
.rsl-svg .a-march   { animation: rsl-march 1.6s linear infinite; }
.rsl-svg .a-shimmer { animation: rsl-shimmer 2.4s ease-in-out infinite; }
.rsl-svg .a-shimmer.a-late { animation-delay: -1.2s; }
.rsl-svg .a-blink   { animation: rsl-blink 1.6s ease-in-out infinite; }
.rsl-svg .a-breathe { animation: rsl-breathe 2.4s ease-in-out infinite; }
.rsl-svg .a-veins   { animation: rsl-veins 2.2s linear infinite; }
.rsl-svg .a-settle  { animation: rsl-settle 2.8s ease-in-out infinite; }
.rsl-svg .a-settle.a-late { animation-delay: 0.4s; }
.rsl-svg .a-sink    { animation: rsl-sink 2.8s ease-in infinite; }
.rsl-svg .a-rain    { animation: rsl-rain 1.2s linear infinite; }
.rsl-svg .a-rain.a-mid { animation-delay: 0.4s; }
.rsl-svg .a-rain.a-late { animation-delay: 0.8s; }
.rsl-svg .a-scan    { animation: rsl-scan 2.2s ease-in-out infinite; }
.rsl-svg .a-rise    { animation: rsl-rise 2.1s linear infinite; }
.rsl-svg .a-rise.a-mid { animation-delay: 0.7s; }
.rsl-svg .a-rise.a-late { animation-delay: 1.4s; }
.rsl-svg .a-grow    { animation: rsl-grow 3s ease-in-out infinite; transform-origin: 50% 100%; }
.rsl-svg .a-grow.a-mid { animation-delay: 0.15s; }
.rsl-svg .a-grow.a-late { animation-delay: 0.3s; }
.rsl-svg .a-draw    { animation: rsl-draw 3s ease-out infinite; }
.rsl-svg .a-trace   { animation: rsl-trace 3.2s ease-in-out infinite; }
.rsl-svg .a-dot     { animation: rsl-dot 1.6s ease-in-out infinite; }
.rsl-svg .a-dot.a-mid { animation-delay: 0.3s; }
.rsl-svg .a-dot.a-late { animation-delay: 0.6s; }
.rsl-svg .a-pencil  { animation: rsl-pencil 1.4s ease-in-out infinite; }
.rsl-svg .a-level   { animation: rsl-level 3s ease-in-out infinite; }
.rsl-svg .a-fall    { animation: rsl-fall 1.8s ease-in infinite; }
.rsl-svg .a-lift    { animation: rsl-lift 1.8s ease-out infinite; animation-delay: 0.9s; }
.rsl-svg .a-ping    { animation: rsl-ping 2.4s ease-out infinite; }
.rsl-svg .a-rewind  { animation: rsl-rewind 3s ease-in-out infinite; transform-box: view-box; transform-origin: 24px 24px; }
.rsl-svg .a-sway    { animation: rsl-sway 3s ease-in-out infinite; transform-box: view-box; transform-origin: 24px 44px; }
.rsl-svg .a-type    { animation: rsl-type 1.4s ease-in-out infinite; }
.rsl-svg .a-type.a-mid { animation-delay: 0.18s; }
.rsl-svg .a-type.a-late { animation-delay: 0.36s; }

@keyframes rsl-drop { 0% { transform: translateY(-6px); opacity: 0; } 12% { opacity: 1; } 50% { transform: translateY(5px); opacity: 1; } 60%, 100% { transform: translateY(6px); opacity: 0; } }
@keyframes rsl-ripple { 0%, 50% { transform: scale(0.25); opacity: 0; } 58% { opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
@keyframes rsl-march { to { stroke-dashoffset: -18; } }
@keyframes rsl-shimmer { 0%, 100% { transform: translateX(-1.5px); opacity: 0.5; } 50% { transform: translateX(1.5px); opacity: 1; } }
@keyframes rsl-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }
@keyframes rsl-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes rsl-veins { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
@keyframes rsl-settle { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1.2px); } }
@keyframes rsl-sink { 0% { transform: translateY(-2px); opacity: 0; } 15% { opacity: 1; } 45% { transform: translateY(10px); opacity: 1; } 80%, 100% { transform: translateY(22px); opacity: 0; } }
@keyframes rsl-rain { 0% { transform: translateY(-3px); opacity: 0; } 20%, 80% { opacity: 1; } 100% { transform: translateY(4px); opacity: 0; } }
@keyframes rsl-scan { 0% { transform: translateY(0); opacity: 0; } 12%, 88% { opacity: 1; } 100% { transform: translateY(30px); opacity: 0; } }
@keyframes rsl-rise { 0% { transform: translateY(0); opacity: 0; } 15%, 85% { opacity: 1; } 100% { transform: translateY(-22px); opacity: 0; } }
@keyframes rsl-grow { 0%, 100% { transform: scaleY(0.55); } 35%, 75% { transform: scaleY(1); } }
@keyframes rsl-draw { 0% { stroke-dashoffset: 100; opacity: 1; } 45%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes rsl-trace { 0% { stroke-dashoffset: 100; opacity: 1; } 50%, 85% { stroke-dashoffset: 0; opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0.25; } }
@keyframes rsl-dot { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
@keyframes rsl-pencil { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-2px, 2px); } }
@keyframes rsl-level { 0%, 100% { transform: translate(0, 4px); } 50% { transform: translate(-9px, -5px); } }
@keyframes rsl-fall { 0% { transform: translateY(-3px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(3px); opacity: 0; } }
@keyframes rsl-lift { 0% { transform: translateY(3px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-3px); opacity: 0; } }
@keyframes rsl-ping { 0% { transform: scale(1); opacity: 0.7; } 70%, 100% { transform: scale(1.22); opacity: 0; } }
@keyframes rsl-rewind { 0%, 15% { transform: rotate(0deg); } 60%, 100% { transform: rotate(-360deg); } }
@keyframes rsl-sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes rsl-type { 0%, 60%, 100% { transform: translateY(0); opacity: 0.55; } 30% { transform: translateY(-3px); opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .rsl-svg *, .rsl-panel, .rsl-pay-card { animation: none !important; }
  .rsl-svg .a-veins, .rsl-svg .a-scan { display: none; }       /* moving highlights make no sense standing still */
  .rsl-tile, .rsl-tile:hover { transition: none; transform: none; }
}

/* ---------- plan / payment sheet ---------- */
.rsl-pay {
  position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: center;
  background: var(--rsl-scrim); backdrop-filter: blur(6px); font-family: var(--rsl-font); color: var(--rsl-text);
}
.rsl-pay[hidden] { display: none; }
.rsl-pay-card {
  width: 100%; max-width: 520px; max-height: 92dvh; overflow-y: auto;
  background: var(--rsl-panel); border: 1px solid var(--rsl-border);
  border-radius: 20px 20px 0 0; padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  animation: rsl-sheet-in 0.22s ease-out;
}
@media (min-width: 720px) {
  .rsl-pay { align-items: center; }
  .rsl-pay-card { border-radius: 20px; padding: 22px 22px 20px; }
}
@keyframes rsl-sheet-in { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.rsl-pay-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.rsl-pay-head h2 { margin: 0; font: 700 20px/1.25 var(--rsl-display); }
.rsl-pay-head p { margin: 2px 0 0; font-size: 12px; color: var(--rsl-muted); }
.rsl-pay-why { margin: 8px 0 14px; padding: 10px 12px; border-radius: 12px; font-size: 13px; line-height: 1.45;
  background: var(--rsl-warn-soft); color: var(--rsl-text); border: 1px solid var(--rsl-border); }
.rsl-pay-why[hidden] { display: none; }
.rsl-plans { display: grid; gap: 10px; }
.rsl-plan {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px;
  padding: 13px 14px; border-radius: 14px; cursor: pointer;
  border: 1.5px solid var(--rsl-border); background: var(--rsl-surface);
}
.rsl-plan input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }
.rsl-plan .rsl-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--rsl-muted); display: grid; place-items: center; }
.rsl-plan .rsl-radio::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--rsl-accent); transform: scale(0); transition: transform 0.12s ease; }
.rsl-plan.is-on { border-color: var(--rsl-accent); background: var(--rsl-accent-soft); }
.rsl-plan.is-on .rsl-radio { border-color: var(--rsl-accent); }
.rsl-plan.is-on .rsl-radio::after { transform: scale(1); }
.rsl-plan-name strong { display: block; font-size: 14.5px; line-height: 1.3; }
.rsl-plan-name small { display: block; font-size: 11.5px; color: var(--rsl-muted); }
.rsl-plan-who { grid-column: 2 / 4; font-size: 12px; color: var(--rsl-muted); line-height: 1.35; }
.rsl-price { text-align: right; font: 800 19px/1.1 var(--rsl-display); white-space: nowrap; }
.rsl-price small { display: block; font: 500 11px/1.2 var(--rsl-font); color: var(--rsl-muted); }
.rsl-acres { grid-column: 2 / 4; display: none; align-items: center; gap: 8px; margin-top: 6px; font-size: 12.5px; }
.rsl-plan.is-on .rsl-acres { display: flex; }
.rsl-acres input { width: 110px; height: 38px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--rsl-border);
  background: var(--rsl-bg); color: var(--rsl-text); font: 400 16px/1 var(--rsl-font); }
.rsl-feats { margin: 14px 2px 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 12.5px; color: var(--rsl-muted); }
.rsl-feats li { display: flex; gap: 8px; align-items: flex-start; }
.rsl-feats li svg { flex: none; color: var(--rsl-accent); margin-top: 1px; }
.rsl-pay-go { width: 100%; min-height: 50px; margin-top: 16px; font-size: 15.5px; border-radius: 13px; }
.rsl-pay-msg { min-height: 18px; margin-top: 10px; font-size: 13px; line-height: 1.45; }
.rsl-pay-msg.err { color: var(--rsl-danger); }
.rsl-pay-msg.ok { color: var(--rsl-accent); font-weight: 700; }
.rsl-pay-foot { margin-top: 8px; font-size: 11.5px; color: var(--rsl-muted); text-align: center; }

/* ---------- toast ---------- */
.rsl-toast {
  position: fixed; left: 50%; bottom: calc(92px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  z-index: 10003; max-width: min(92vw, 460px); padding: 10px 14px; border-radius: 12px;
  background: #0b1a14; color: #ecfdf5; border: 1px solid rgba(74, 222, 128, 0.35);
  font: 500 13px/1.4 var(--rsl-font, sans-serif); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* ---------- cards the launcher adds to the chat (app's dark chrome) ---------- */
.rsl-card { font-family: var(--rsl-font); }
.rsl-card .rsl-card-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.rsl-card .rsl-card-h .rsl-ico { width: 44px; height: 44px; border-radius: 13px; flex: none;
  --ti-line: #4ade80; --ti-glow: #d9f99d; --ti-water: #38bdf8; --ti-warm: #fbbf24; --ti-soil: #d6a574;
  --ti-g1: rgba(74, 222, 128, 0.4); --ti-g2: rgba(22, 163, 74, 0.06); --ti-w1: rgba(56, 189, 248, 0.5); --ti-w2: rgba(14, 165, 233, 0.08);
  --ti-s1: rgba(214, 165, 116, 0.3); --ti-s2: rgba(146, 64, 14, 0.06);
  --ti-chip: linear-gradient(145deg, #10281d 0%, #0c1f24 100%); --ti-chip-border: rgba(74, 222, 128, 0.2); --ti-tilebg: #0e241e; }
.rsl-card .rsl-card-h .rsl-ico svg { width: 38px; height: 38px; }
.rsl-card .rsl-card-h strong { display: block; font: 700 15px/1.25 var(--rsl-display); color: #f1f5f9; }
.rsl-card .rsl-card-h small { display: block; font-size: 11.5px; color: var(--text-muted, #94a3b8); }
.rsl-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 520px) { .rsl-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rsl-stat { padding: 10px 11px; border-radius: 11px; background: rgba(255, 255, 255, 0.035); border: 1px solid rgba(255, 255, 255, 0.07); }
.rsl-stat span { display: block; font-size: 11.5px; color: var(--text-muted, #94a3b8); }
.rsl-stat b { display: block; margin-top: 3px; font: 700 18px/1.2 var(--rsl-display); color: #f1f5f9; }
.rsl-stat b small { font-size: 11.5px; font-weight: 500; color: var(--text-muted, #94a3b8); }
.rsl-note { margin-top: 10px; font-size: 11.5px; line-height: 1.5; color: var(--text-muted, #94a3b8); }
.rsl-advice { margin-top: 10px; padding: 9px 11px; border-radius: 10px; font-size: 13px; line-height: 1.45;
  background: rgba(34, 197, 94, 0.1); border: 1px solid rgba(74, 222, 128, 0.25); color: #d1fae5; }
.rsl-bars { display: grid; gap: 8px; margin-top: 4px; }
.rsl-barrow { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 13px; color: #e2e8f0; }
.rsl-barrow .rsl-track { grid-column: 1 / 3; height: 7px; border-radius: 4px; background: rgba(255, 255, 255, 0.07); overflow: hidden; }
.rsl-barrow .rsl-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #16a34a, #4ade80); }
.rsl-card .rsl-btn { --rsl-accent: #22c55e; --rsl-accent-ink: #03140b; --rsl-surface: rgba(255, 255, 255, 0.05);
  --rsl-text: #f1f5f9; --rsl-border: rgba(255, 255, 255, 0.12); margin-top: 10px; }
