/* Halaman pendaftaran mandiri (daftar.php). Berdiri sendiri: tidak memuat style.css halaman ujian. */
:root {
  --ink: #10261b;
  --ink-2: #3f5448;
  --muted: #6b7d72;
  --line: #e2e9e4;
  --line-strong: #cfdad3;
  --bg: #f4f7f5;
  --card: #ffffff;
  --brand: #1f9d63;
  --brand-dark: #0f3d2b;
  --brand-soft: #e8f6ee;
  --accent: #f07238;
  --accent-soft: #fff1e8;
  --warn: #9a6b00;
  --warn-soft: #fff7e0;
  --danger: #b42318;
  --danger-soft: #fdeceb;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(16, 38, 27, 0.05), 0 8px 24px rgba(16, 38, 27, 0.06);
  --focus: 0 0 0 4px rgba(31, 157, 99, 0.22);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--brand); }
.rg-wrap { width: 100%; max-width: 720px; margin: 0 auto; padding: 0 16px; }

/* Header */
.rg-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.rg-header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.rg-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink-2); font-size: 13px; font-weight: 600; }
.rg-brand img { height: 36px; width: auto; }
.rg-brand span { padding-left: 10px; border-left: 1px solid var(--line-strong); }
.rg-header-link { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--brand-dark); padding: 8px 12px; border-radius: 999px; border: 1px solid var(--line-strong); }
.rg-header-link:hover { background: var(--brand-soft); }

/* Hero */
.rg-main { padding-top: 28px; padding-bottom: 48px; }
.rg-hero { margin-bottom: 20px; }
.rg-hero h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 8px; }
.rg-hero h1 span { color: var(--brand); }
.rg-hero p { margin: 0; color: var(--ink-2); font-size: 17px; }
.rg-pill { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand-dark); }
.rg-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.rg-pill.closed { background: #eef1ef; color: var(--muted); }
.rg-pill.closed::before { background: #a9b6ae; }

/* Tabs */
.rg-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; background: #e7eee9; border-radius: 14px; margin-bottom: 18px; }
.rg-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; border: 0; border-radius: 10px; padding: 12px 14px; background: transparent; color: var(--ink-2); }
.rg-tabs button strong { font-size: 16px; }
.rg-tabs button span { font-size: 13px; color: var(--muted); }
.rg-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(16, 38, 27, 0.12); }
.rg-tabs button:focus-visible { outline: none; box-shadow: var(--focus); }

/* Progress */
.rg-progress { display: flex; align-items: center; gap: 10px; margin: 0 2px 14px; font-size: 13px; color: var(--muted); }
.rg-progress-bar { flex: 1; height: 6px; background: #dfe7e2; border-radius: 999px; overflow: hidden; }
.rg-progress-bar i { display: block; height: 100%; background: var(--brand); border-radius: 999px; transition: width 0.3s ease; }

/* Cards & sections */
.rg-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; margin-bottom: 16px; }
.rg-loading { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.rg-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--brand); animation: rg-spin 0.8s linear infinite; }
@keyframes rg-spin { to { transform: rotate(360deg); } }
.rg-section-title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 18px; }
.rg-section-title b { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-dark); color: white; font-size: 14px; flex: 0 0 auto; }
.rg-card h2 { font-size: 22px; line-height: 1.25; letter-spacing: -0.01em; margin: 0 0 8px; }
.rg-lead { color: var(--ink-2); margin: 0 0 18px; }

/* Fields */
.rg-field { margin: 0 0 18px; border: 0; padding: 0; min-width: 0; }
.rg-field:last-child { margin-bottom: 0; }
.rg-label { display: block; font-size: 15px; font-weight: 600; margin: 0 0 8px; padding: 0; }
.rg-label em { font-style: normal; font-weight: 400; color: var(--muted); }
.rg-hint { display: block; font-size: 13px; color: var(--muted); margin-top: 6px; }
.rg-input, .rg-select {
  display: block; width: 100%; min-height: 52px; padding: 12px 14px;
  background: var(--card); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 16px; transition: border-color 0.15s, box-shadow 0.15s;
}
.rg-select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%236b7d72' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.rg-input::placeholder { color: #9aa9a0; }
.rg-input:focus, .rg-select:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.rg-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.rg-date { display: grid; grid-template-columns: 0.8fr 1.4fr 1fr; gap: 8px; }
.rg-phone { display: flex; align-items: stretch; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); overflow: hidden; background: var(--card); transition: border-color 0.15s, box-shadow 0.15s; }
.rg-phone:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
.rg-phone span { display: flex; align-items: center; padding: 0 14px; background: #f1f5f2; border-right: 1.5px solid var(--line-strong); font-weight: 600; color: var(--ink-2); }
.rg-phone select { flex: none; border: 0; border-right: 1.5px solid var(--line-strong); border-radius: 0; padding: 0 8px 0 12px; background: #f1f5f2; font: inherit; font-weight: 600; color: var(--ink-2); }
.rg-phone select:focus-visible { outline: none; }
.rg-phone input { flex: 1; min-width: 0; border: 0; border-radius: 0; box-shadow: none !important; }
.rg-hidden { display: none !important; }

/* Choice tiles & chips */
.rg-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.rg-tile { position: relative; display: block; cursor: pointer; }
.rg-tile input { position: absolute; opacity: 0; pointer-events: none; }
.rg-tile > span { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--card); transition: border-color 0.15s, background 0.15s, box-shadow 0.15s; }
.rg-tile strong { font-size: 16px; }
.rg-tile small { font-size: 13px; color: var(--muted); }
.rg-tile input:checked + span { border-color: var(--brand); background: var(--brand-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.rg-tile input:focus-visible + span { box-shadow: var(--focus); }
.rg-tile input:disabled + span { opacity: 0.5; cursor: not-allowed; background: #f6f8f7; }
.rg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.rg-chip { position: relative; cursor: pointer; }
.rg-chip input { position: absolute; opacity: 0; pointer-events: none; }
.rg-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid var(--line-strong); border-radius: 999px; background: var(--card); font-size: 15px; font-weight: 500; transition: all 0.15s; }
.rg-chip input:checked + span { border-color: var(--brand-dark); background: var(--brand-dark); color: white; }
.rg-chip input:focus-visible + span { box-shadow: var(--focus); }
.rg-chips.grades .rg-chip span { min-width: 56px; justify-content: center; font-weight: 600; }

/* Package cards */
.rg-plans { display: grid; gap: 10px; }
.rg-plan > span { flex-direction: row; align-items: flex-start; gap: 12px; padding: 16px; }
.rg-plan .rg-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); flex: 0 0 auto; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; background: white; }
.rg-plan input:checked + span .rg-radio { border-color: var(--brand); }
.rg-plan input:checked + span .rg-radio::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--brand); }
.rg-plan-body { flex: 1; min-width: 0; }
.rg-plan-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.rg-plan-head strong { font-size: 17px; }
.rg-price { font-weight: 700; color: var(--brand-dark); white-space: nowrap; }
.rg-badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--accent); color: white; padding: 3px 8px; border-radius: 6px; margin-left: 6px; vertical-align: 2px; }
.rg-plan ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.rg-plan li { margin: 2px 0; }

/* Errors */
.rg-error { display: flex; gap: 6px; color: var(--danger); font-size: 14px; font-weight: 500; margin: 8px 0 0; }
.rg-field.invalid .rg-input, .rg-field.invalid .rg-select, .rg-field.invalid .rg-phone, .rg-field.invalid .rg-tile > span, .rg-field.invalid .rg-chip span { border-color: #e59a92; }
.rg-alert { border-radius: var(--radius-sm); padding: 14px 16px; margin: 0 0 16px; font-size: 15px; }
.rg-alert strong { display: block; margin-bottom: 2px; }
.rg-alert.error { background: var(--danger-soft); color: #7a1b12; }
.rg-alert.warn { background: var(--warn-soft); color: #6b4a00; }
.rg-alert.ok { background: var(--brand-soft); color: var(--brand-dark); }
.rg-alert.info { background: #eef3f0; color: var(--ink-2); }

/* Buttons */
.rg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 20px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-size: 16px; font-weight: 650; text-decoration: none; transition: background 0.15s, border-color 0.15s, transform 0.05s; }
.rg-btn:active { transform: translateY(1px); }
.rg-btn:focus-visible { outline: none; box-shadow: var(--focus); }
.rg-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.rg-btn.primary { background: var(--brand); color: white; }
.rg-btn.primary:hover:not(:disabled) { background: #178553; }
.rg-btn.dark { background: var(--brand-dark); color: white; }
.rg-btn.ghost { background: var(--card); border-color: var(--line-strong); color: var(--ink); }
.rg-btn.ghost:hover { background: #f3f7f4; }
.rg-btn.wa { background: #1faa55; color: white; }
.rg-btn.wa:hover { background: #188c46; }
.rg-btn.block { width: 100%; }
.rg-btn.sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.rg-btn svg { width: 20px; height: 20px; flex: 0 0 auto; }
.rg-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rg-actions .rg-btn { flex: 1 1 auto; }
.rg-sticky { position: sticky; bottom: 0; z-index: 10; margin: 0 -16px -24px; padding: 14px 16px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(to top, var(--card) 70%, rgba(255, 255, 255, 0)); }
.rg-link { background: none; border: 0; padding: 0; color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* Review */
.rg-review { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; margin: 0 0 16px; }
.rg-review-key { padding: 16px; background: var(--accent-soft); border-bottom: 1px solid #f6d6c4; }
.rg-review-key small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #b3541f; }
.rg-review-key div { font-size: 22px; font-weight: 700; line-height: 1.3; margin: 2px 0 10px; word-break: break-word; }
.rg-review-key div:last-child { margin-bottom: 0; }
.rg-review dl { margin: 0; padding: 4px 16px; }
.rg-review dl div { display: grid; grid-template-columns: 38% 1fr; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.rg-review dl div:last-child { border-bottom: 0; }
.rg-review dt { color: var(--muted); font-size: 14px; }
.rg-review dd { margin: 0; font-weight: 500; word-break: break-word; }
.rg-check { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); cursor: pointer; margin: 0 0 16px; }
.rg-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--brand); flex: 0 0 auto; }
.rg-check:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); }

/* Success ticket */
.rg-success-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.rg-success-icon svg { width: 30px; height: 30px; }
.rg-ticket { background: var(--brand-dark); color: white; border-radius: var(--radius); padding: 20px; margin: 18px 0; position: relative; }
.rg-ticket small { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.75; }
.rg-ticket-id { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 6px 0 16px; }
.rg-ticket-id strong { font: 700 clamp(26px, 7vw, 34px)/1.1 ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: 0.04em; word-break: break-all; }
.rg-ticket-id button { background: white; color: var(--brand-dark); border: 0; border-radius: 10px; padding: 10px 16px; font-weight: 700; font-size: 15px; }
.rg-ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, 0.3); font-size: 14px; }
.rg-ticket dt { opacity: 0.7; }
.rg-ticket dd { margin: 0; font-weight: 600; }
.rg-steps { list-style: none; counter-reset: s; padding: 0; margin: 0 0 4px; }
.rg-steps li { counter-increment: s; position: relative; padding: 0 0 14px 40px; color: var(--ink-2); }
.rg-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: #eef3f0; color: var(--ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.rg-steps li strong { color: var(--ink); }

/* Payment options */
.rg-pay-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.rg-status { display: inline-flex; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 999px; }
.rg-status.pending { background: var(--warn-soft); color: var(--warn); }
.rg-status.ok { background: var(--brand-soft); color: var(--brand-dark); }
.rg-status.bad { background: var(--danger-soft); color: var(--danger); }
.rg-status.todo { background: #eef1ef; color: var(--ink-2); }
.rg-bank { display: grid; gap: 10px; padding: 16px; border-radius: var(--radius-sm); background: #f7faf8; border: 1px solid var(--line); margin: 0 0 16px; }
.rg-bank-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.rg-bank-row small { display: block; font-size: 12px; color: var(--muted); }
.rg-bank-row b { font-size: 17px; word-break: break-word; }
.rg-options { display: grid; gap: 10px; }
.rg-option { border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--card); overflow: hidden; }
.rg-option > button { display: flex; align-items: center; gap: 14px; width: 100%; padding: 16px; background: none; border: 0; text-align: left; }
.rg-option > button:focus-visible { outline: none; box-shadow: inset var(--focus); }
.rg-option-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; background: var(--brand-soft); color: var(--brand-dark); }
.rg-option-icon svg { width: 22px; height: 22px; }
.rg-option-icon.wa { background: #e5f7ec; color: #188c46; }
.rg-option-icon.later { background: var(--accent-soft); color: #c2561f; }
.rg-option-text { flex: 1; min-width: 0; }
.rg-option-text strong { display: block; font-size: 16px; }
.rg-option-text span { display: block; font-size: 14px; color: var(--muted); }
.rg-chev { width: 18px; height: 18px; color: var(--muted); transition: transform 0.2s; flex: 0 0 auto; }
.rg-option.open { border-color: var(--brand); }
.rg-option.open .rg-chev { transform: rotate(180deg); }
.rg-option-body { display: none; padding: 0 16px 16px; }
.rg-option.open .rg-option-body { display: block; }
.rg-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; padding: 22px 16px; border: 2px dashed var(--line-strong); border-radius: var(--radius-sm); background: #fafcfb; cursor: pointer; margin-bottom: 12px; }
.rg-drop:hover, .rg-drop:focus-within { border-color: var(--brand); background: var(--brand-soft); }
.rg-drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rg-drop strong { font-size: 16px; }
.rg-drop span { font-size: 13px; color: var(--muted); }
.rg-drop img { max-width: 100%; max-height: 260px; border-radius: 10px; margin-top: 6px; }
.rg-divider { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.rg-divider::before, .rg-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.rg-help { text-align: center; color: var(--muted); font-size: 14px; margin: 24px 0 0; }
#rg-toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: white; padding: 12px 18px; border-radius: 12px; font-size: 15px; opacity: 0; pointer-events: none; transition: all 0.2s; z-index: 50; max-width: calc(100% - 32px); }
#rg-toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 560px) {
  .rg-main { padding-top: 20px; }
  .rg-card { padding: 20px 16px; border-radius: 14px; }
  .rg-sticky { margin: 0 -16px -20px; }
  .rg-grid-2, .rg-tiles { grid-template-columns: 1fr; }
  .rg-date { grid-template-columns: 0.9fr 1.5fr 1.1fr; gap: 6px; }
  .rg-tabs button { padding: 10px 12px; }
  .rg-tabs button strong { font-size: 15px; }
  .rg-tabs button span { font-size: 12px; }
  .rg-brand span { display: none; }
  .rg-review dl div { grid-template-columns: 1fr; gap: 2px; }
  .rg-header-link { font-size: 13px; padding: 7px 10px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.rg-mt { margin-top: 24px; }
.rg-mt-s { margin-top: 10px; }
.rg-m0 { margin: 0; }
.rg-mb0 { margin-bottom: 0; }
.rg-mb-s { margin: 0 0 10px; }
.rg-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 0 0 12px; }
.rg-thumbs figure { position: relative; margin: 0; }
.rg-thumbs img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: #f3f6f4; display: block; }
.rg-thumbs button { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(15, 30, 22, 0.78); color: white; font-size: 18px; line-height: 1; cursor: pointer; }
.rg-plan-head .rg-price { white-space: nowrap; }
.rg-locked { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px dashed var(--line-strong); background: #f7faf8; color: var(--muted); font-size: 14px; }
.rg-locked strong { display: block; color: var(--ink-2); font-size: 15px; }
.rg-locked > span:first-child { font-size: 18px; line-height: 1.2; }
@keyframes rg-pulse { 0% { box-shadow: 0 0 0 0 rgba(31, 157, 99, 0.55); } 100% { box-shadow: 0 0 0 14px rgba(31, 157, 99, 0); } }
.rg-pulse { animation: rg-pulse 1.1s ease-out 3; }
.rg-ticket.locked { background: #2d3f36; }
.rg-ticket-hidden { opacity: 0.85; letter-spacing: 0.12em; }
.rg-ticket-lock { margin: -6px 0 16px; font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.85); }

/* Tombol + panel petunjuk */
.rg-hero-title { display: flex; align-items: center; justify-content: space-between; gap: 4px 20px; flex-wrap: wrap; margin-bottom: 14px; }
.rg-hero-title h1 { margin-right: auto; }
.rg-guide-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--accent-soft); color: #a3441a; border: 1.5px solid #f6c7ad; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; }
.rg-guide-btn svg { width: 20px; height: 20px; }
.rg-guide-btn:hover { background: #ffe5d4; }
.rg-guide-btn:focus-visible { outline: none; box-shadow: var(--focus); }
.rg-guide { width: min(640px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: var(--card); color: var(--ink); box-shadow: 0 24px 64px rgba(16, 38, 27, 0.28); overflow: hidden; }
.rg-guide[open] { display: flex; flex-direction: column; }
.rg-guide::backdrop { background: rgba(10, 30, 20, 0.55); }
.rg-guide-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 20px 14px; border-bottom: 1px solid var(--line); }
.rg-guide-head small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brand); }
.rg-guide-head h2 { margin: 4px 0 0; font-size: 22px; }
.rg-guide-close { width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); font-size: 24px; line-height: 1; color: var(--ink-2); cursor: pointer; }
.rg-guide-body { padding: 16px 20px 8px; overflow-y: auto; font-size: 15px; line-height: 1.6; }
.rg-guide-lead { margin: 0 0 14px; color: var(--ink-2); }
.rg-guide-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 16px; }
.rg-guide-plan { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: var(--radius-sm); background: #f7faf8; border: 1px solid var(--line); }
.rg-guide-plan strong { font-size: 16px; }
.rg-guide-plan em { font-style: normal; font-size: 13.5px; color: var(--muted); }
.rg-guide details { border-top: 1px solid var(--line); }
.rg-guide summary { cursor: pointer; padding: 14px 0; font-weight: 700; font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.rg-guide summary::-webkit-details-marker { display: none; }
.rg-guide summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--muted); }
.rg-guide details[open] summary::after { content: "−"; }
.rg-guide details > :not(summary) { margin-top: 0; }
.rg-guide ol, .rg-guide ul { padding-left: 22px; margin: 0 0 14px; }
.rg-guide li { margin-bottom: 6px; }
.rg-guide dl { margin: 0 0 14px; }
.rg-guide dt { font-weight: 700; margin-top: 10px; }
.rg-guide dd { margin: 2px 0 0; color: var(--ink-2); }
.rg-guide-bank { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; padding: 14px; border-radius: var(--radius-sm); background: #f7faf8; border: 1px solid var(--line); margin-bottom: 12px; }
.rg-guide-bank small { display: block; font-size: 12px; color: var(--muted); }
.rg-guide-bank b { word-break: break-word; }
.rg-guide-foot { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; padding: 14px 20px 18px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.rg-guide-foot a { color: var(--brand); font-weight: 600; }
@media (max-width: 560px) {
  .rg-guide { width: 100vw; max-width: 100vw; max-height: 100dvh; height: 100dvh; border-radius: 0; margin: 0; }
  .rg-guide-plans, .rg-guide-bank { grid-template-columns: 1fr; }
  .rg-guide-foot .rg-btn { width: 100%; }
}

/* Tab "Sudah daftar": kegunaan */
.rg-uses { list-style: none; padding: 0; margin: 4px 0 14px; display: grid; gap: 10px; }
.rg-uses li { display: flex; align-items: center; gap: 12px; font-size: 15px; color: var(--ink-2); }
.rg-uses li strong { color: var(--ink); }
.rg-uses-icon { width: 38px; height: 38px; flex: 0 0 auto; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; }
.rg-uses-icon svg { width: 20px; height: 20px; }
.rg-uses-icon.pay { background: var(--accent-soft); color: #c9551f; }
.rg-uses-icon.share { background: var(--brand-soft); color: var(--brand); }
.rg-uses-icon.id { background: #eef3f0; color: var(--brand-dark); }
#rg-find .rg-section-title { font-size: 16px; margin-bottom: 12px; }
#rg-find .rg-section-title b { width: 26px; height: 26px; font-size: 13px; }
