/* Revo.id — mobile-first creator app UI. Scoped to .revo / .rv-* and the canvas template. */
:root {
	--rv-brand: #2340b8;
	--rv-brand-600: #2f62d6;
	--rv-brand-700: #18196b;
	--rv-brand-50: #eef3ff;
	--rv-brand-100: #dbe5ff;
	--rv-accent: #f59e0b;
	--rv-text: #0f172a;
	--rv-text-2: #334155;
	--rv-muted: #64748b;
	--rv-line: #e6ebf1;
	--rv-bg: #f3f6fb;
	--rv-card: #ffffff;
	--rv-danger: #dc2626;
	--rv-ok: #16a34a;
	--rv-radius: 18px;
	--rv-radius-sm: 12px;
	--rv-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 6px 20px rgba(15, 23, 42, .05);
	--rv-shadow-lg: 0 20px 50px rgba(35, 64, 184, .18);
	--rv-ease: cubic-bezier(.2, .8, .2, 1);
	--rv-font: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	--rv-tabbar-h: 68px;
	--rv-safe-b: env(safe-area-inset-bottom, 0px);
}

/* ---------- Canvas ---------- */
body.revo-canvas { margin: 0; background: var(--rv-bg); color: var(--rv-text); font-family: var(--rv-font); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent; }
body.revo-canvas--landing { background: #fff; }
body.revo-canvas.revo-logged-in.revo-canvas--app { padding-bottom: calc(var(--rv-tabbar-h) + var(--rv-safe-b)); }
.revo-canvas *, .revo * { box-sizing: border-box; }
.rv-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

.rv-topbar { position: sticky; top: 0; z-index: 60; background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(226, 232, 240, .7); }
.rv-topbar__inner { display: flex; align-items: center; gap: 12px; min-height: 60px; }
.rv-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rv-text); font-weight: 800; font-size: 19px; letter-spacing: -.02em; margin-right: auto; }
.rv-logo__img { display: block; height: 34px; width: auto; max-width: 140px; object-fit: contain; border-radius: 8px; }
.rv-logo__img--full { height: 38px; max-width: 220px; border-radius: 0; }
.rv-logo__brand { height: 28px; width: auto; max-width: 140px; border-radius: 0; }
@media (min-width: 720px) { .rv-logo__brand { height: 34px; max-width: 180px; } }
.rv-logo__mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: linear-gradient(135deg, var(--rv-brand-600), var(--rv-brand-700)); color: #fff; font-size: 12px; font-weight: 800; box-shadow: 0 6px 14px rgba(35, 64, 184, .3); }
.rv-nav { display: none; align-items: center; gap: 2px; }
.rv-nav a { color: var(--rv-text-2); text-decoration: none; padding: 8px 12px; border-radius: 10px; font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.rv-nav a:hover { background: var(--rv-bg); color: var(--rv-text); }
.rv-nav a.is-active { color: var(--rv-brand); background: var(--rv-brand-50); }
.rv-topbar__end { display: flex; align-items: center; gap: 8px; }
.rv-avatar { list-style: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #fde68a, var(--rv-accent)); color: #78350f; font-weight: 800; font-size: 13px; cursor: pointer; box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--rv-line); }
.rv-avatar::-webkit-details-marker { display: none; }
.rv-avatar { overflow: hidden; }
.rv-avatar__img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 50%; }
.rv-photo { display: flex; align-items: center; gap: 16px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px dashed var(--rv-line); }
.rv-photo__frame { flex: none; width: 84px; height: 84px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: linear-gradient(135deg, #fde68a, var(--rv-accent)); box-shadow: 0 0 0 4px #fff, 0 0 0 5px var(--rv-line); }
.rv-photo__frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-photo__frame b { color: #78350f; font-size: 26px; font-weight: 800; }
.rv-photo__body { display: grid; gap: 4px; min-width: 0; }
.rv-photo__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 4px; }
.rv-photo__actions .rv-btn { cursor: pointer; }
.rv-form .rv-photo__remove { display: inline-flex; flex-direction: row; align-items: center; gap: 6px; font-weight: 600; color: var(--rv-danger); font-size: 13px; margin: 0; }
.rv-form .rv-photo__remove input { width: auto; min-height: 0; }
.rv-photo__hint { color: var(--rv-brand); font-size: 12.5px; }
.rv-account .rv-pop__body { width: 230px; }
.rv-account .rv-menu a { text-decoration: none; color: var(--rv-text); padding: 8px 10px; border-radius: 8px; font-weight: 500; }
.rv-account .rv-menu a:hover { background: var(--rv-bg); }
.rv-account small { margin-bottom: 6px; }
.rv-main { min-height: calc(100vh - 160px); }
.rv-footer { border-top: 1px solid var(--rv-line); padding: 24px 0; color: var(--rv-muted); font-size: 13px; background: #fff; }
.revo-logged-in.revo-canvas--app .rv-footer { display: none; }
.rv-footer a { color: var(--rv-brand); }

/* Bottom tab bar (mobile app feel) */
.rv-tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; display: grid; grid-template-columns: repeat(5, 1fr); align-items: end; height: calc(var(--rv-tabbar-h) + var(--rv-safe-b)); padding: 6px 6px calc(6px + var(--rv-safe-b)); background: rgba(255, 255, 255, .92); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--rv-line); box-shadow: 0 -8px 24px rgba(15, 23, 42, .06); }
.rv-tabbar__item { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 0; text-decoration: none; color: var(--rv-muted); font-size: 11px; font-weight: 600; border-radius: 12px; transition: color .2s, transform .2s var(--rv-ease); }
.rv-tabbar__item.is-active { color: var(--rv-brand); }
.rv-tabbar__item.is-active svg { transform: translateY(-1px); }
.rv-tabbar__item:active { transform: scale(.94); }
.rv-tabbar__fab svg { width: 26px; height: 26px; padding: 13px; box-sizing: content-box; margin-top: -26px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--rv-brand-600), var(--rv-brand-700)); box-shadow: 0 10px 22px rgba(35, 64, 184, .4), 0 0 0 5px #fff; }
.rv-tabbar__fab.is-active { color: var(--rv-brand); }

/* ---------- Base ---------- */
.revo { color: var(--rv-text); font-family: var(--rv-font); }
.revo a { color: var(--rv-brand); }
.revo h1, .revo h2, .revo h3 { line-height: 1.25; margin: 0 0 .4em; letter-spacing: -.02em; font-weight: 800; }
.revo h1 { font-size: 23px; }
.revo h2 { font-size: 18px; }
.revo h3 { font-size: 16px; font-weight: 700; }
.revo p { margin: 0 0 .8em; }
.rv-app { padding-top: 18px; padding-bottom: 32px; }
.rv-muted { color: var(--rv-muted); }
.rv-small { font-size: 12.5px; }
.rv-center { text-align: center; }
.rv-block { display: block; }
.rv-money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.rv-neg { color: var(--rv-danger); }
.rv-pos { color: var(--rv-ok); }
.rv-back { display: inline-flex; align-items: center; gap: 4px; margin-bottom: 6px; text-decoration: none; font-size: 13.5px; font-weight: 600; }
.revo small { font-size: 12.5px; color: var(--rv-muted); }
.rv-eyebrow { display: block; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--rv-brand); }
.rv-label { font-weight: 700; margin: 4px 0 10px; }

/* Entrance animations */
@keyframes rv-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rv-pop { 0% { transform: scale(.9); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes rv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes rv-spin { to { transform: rotate(360deg); } }
@keyframes rv-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
/* "backwards" only: a forwards-filled transform would trap position:fixed sheets inside cards. */
.rv-app > :not(.rv-toasts), .rv-stats > *, .rv-grid > *, .rv-list > * { animation: rv-rise .5s var(--rv-ease) backwards; }
.rv-stats > :nth-child(2), .rv-grid > :nth-child(2), .rv-list > :nth-child(2) { animation-delay: .05s; }
.rv-stats > :nth-child(3), .rv-grid > :nth-child(3), .rv-list > :nth-child(3) { animation-delay: .1s; }
.rv-stats > :nth-child(4), .rv-grid > :nth-child(4), .rv-list > :nth-child(4) { animation-delay: .15s; }
.rv-grid > :nth-child(n+5), .rv-list > :nth-child(n+5) { animation-delay: .2s; }
.rv-js .rv-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--rv-ease), transform .6s var(--rv-ease); }
.rv-js .rv-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Buttons ---------- */
.rv-btn { position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid transparent; background: linear-gradient(135deg, var(--rv-brand-600), var(--rv-brand)); color: #fff !important; padding: 11px 18px; border-radius: 12px; font: 700 14px/1.2 var(--rv-font); text-decoration: none; cursor: pointer; transition: transform .15s var(--rv-ease), box-shadow .2s, filter .2s; white-space: nowrap; box-shadow: 0 6px 16px rgba(35, 64, 184, .22); min-height: 44px; }
.rv-btn:hover { filter: brightness(1.05); box-shadow: 0 10px 22px rgba(35, 64, 184, .28); }
.rv-btn:active { transform: scale(.97); }
.rv-btn[disabled] { opacity: .5; cursor: not-allowed; box-shadow: none; }
.rv-btn.is-loading { pointer-events: none; color: transparent !important; }
.rv-btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid #fff; border-right-color: transparent; border-radius: 50%; animation: rv-spin .7s linear infinite; }
.rv-btn--ghost { background: #fff; color: var(--rv-text) !important; border-color: var(--rv-line); box-shadow: none; }
.rv-btn--ghost:hover { background: var(--rv-bg); box-shadow: none; }
.rv-btn--ghost.is-loading::after { border-color: var(--rv-brand); border-right-color: transparent; }
.rv-btn--danger { background: #fff; color: var(--rv-danger) !important; border-color: #fecaca; box-shadow: none; }
.rv-btn--danger:hover { background: #fef2f2; }
.rv-btn--wa { background: linear-gradient(135deg, #25d366, #1ebe5b); box-shadow: 0 6px 16px rgba(37, 211, 102, .25); }
.rv-btn--light { background: #fff; color: var(--rv-brand) !important; }
.rv-btn--google { background: #fff; color: var(--rv-text) !important; border-color: #dadce0; box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.rv-btn--google:hover { background: #f8fafc; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.rv-btn--sm { padding: 7px 12px; font-size: 13px; border-radius: 10px; min-height: 34px; box-shadow: none; }
.rv-btn--lg { padding: 15px 22px; font-size: 16px; border-radius: 14px; min-height: 52px; }
.rv-btn--block { width: 100%; }
.rv-ripple { position: absolute; border-radius: 50%; transform: scale(0); background: rgba(255, 255, 255, .45); animation: rv-ripple .6s linear; pointer-events: none; }
@keyframes rv-ripple { to { transform: scale(3); opacity: 0; } }
.rv-link { background: none; border: 0; padding: 8px 0; color: var(--rv-brand); font: inherit; font-weight: 600; cursor: pointer; text-align: left; }
.rv-link--danger, .revo .rv-link--danger { color: var(--rv-danger) !important; }
.rv-chip-btn { border: 0; background: rgba(255, 255, 255, .2); color: inherit; font: 700 12px var(--rv-font); padding: 6px 10px; border-radius: 999px; cursor: pointer; }

/* ---------- Cards & layout ---------- */
.rv-card { background: var(--rv-card); border: 1px solid var(--rv-line); border-radius: var(--rv-radius); padding: 18px; box-shadow: var(--rv-shadow); margin-bottom: 14px; }
.rv-card--flush { padding: 0; overflow: hidden; }
.rv-card--warn { border-color: #fde68a; background: #fffbeb; }
.rv-card--danger { border-color: #fecaca; }
.rv-pad { padding: 16px 18px 0; }
.rv-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.rv-head p { margin: 0; }
.rv-head__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-section { margin-top: 24px; }
.rv-section__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; flex-wrap: wrap; }
.rv-section__head h2, .rv-section__head h3 { margin: 0; }
.rv-section__head a { font-weight: 600; font-size: 14px; text-decoration: none; }
.rv-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rv-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: start; }
.rv-empty { text-align: center; padding: 26px 18px; color: var(--rv-muted); }
.rv-empty .rv-btn { margin-top: 6px; }

/* Stats */
.rv-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 16px; }
.rv-stat { background: #fff; border: 1px solid var(--rv-line); border-radius: var(--rv-radius); padding: 14px; box-shadow: var(--rv-shadow); min-width: 0; }
.rv-stat span { display: block; font-size: 12.5px; color: var(--rv-muted); font-weight: 600; }
.rv-stat strong { display: block; font-size: 19px; margin: 4px 0 2px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; }
.rv-stat small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-stats > .rv-stat:first-child { background: linear-gradient(135deg, var(--rv-brand-600), var(--rv-brand-700)); border: 0; color: #fff; box-shadow: var(--rv-shadow-lg); }
.rv-stats > .rv-stat:first-child span, .rv-stats > .rv-stat:first-child small, .rv-stats > .rv-stat:first-child a { color: rgba(255, 255, 255, .85) !important; }
.rv-balance { background: linear-gradient(135deg, var(--rv-brand-600), var(--rv-brand-700)); color: #fff; border: 0; box-shadow: var(--rv-shadow-lg); position: relative; overflow: hidden; }
.rv-balance::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.rv-balance span, .rv-balance small { color: rgba(255, 255, 255, .85) !important; display: block; }
.rv-balance strong { display: block; font-size: 30px; margin: 6px 0 10px; font-weight: 800; }

/* Platform cards */
.rv-platform-card { display: block; text-decoration: none; color: var(--rv-text) !important; transition: border-color .2s, transform .25s var(--rv-ease), box-shadow .25s; }
.rv-platform-card:hover { border-color: var(--rv-brand-100); transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 23, 42, .08); }
.rv-platform-card h3 { margin: 8px 0 4px; }
.rv-platform-card__foot { display: flex; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--rv-line); font-size: 13px; color: var(--rv-muted); }
.rv-chip { display: inline-block; background: var(--rv-brand-50); color: var(--rv-brand); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 700; }

/* Lists */
.rv-list { background: #fff; border: 1px solid var(--rv-line); border-radius: var(--rv-radius); overflow: hidden; box-shadow: var(--rv-shadow); }
.rv-list__item { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--rv-line); text-decoration: none; color: var(--rv-text) !important; transition: background .2s; }
.rv-list__item:last-child { border-bottom: 0; }
.rv-list__item:hover, .rv-list__item:active { background: var(--rv-bg); }
.rv-list__item > div:first-child { min-width: 0; }
.rv-list__item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-list__item small, .rv-feed small { display: block; }
.rv-list__end { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; flex: none; }
.rv-feed { list-style: none; margin: 0; padding: 0; }
.rv-feed li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--rv-line); }
.rv-feed li:last-child { border-bottom: 0; }

/* Badges */
.rv-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 700; background: #f1f5f9; color: #475569; white-space: nowrap; }
.rv-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .8; }
.rv-badge--paid, .rv-badge--active, .rv-badge--completed { background: #dcfce7; color: #166534; }
.rv-badge--unpaid, .rv-badge--pending, .rv-badge--processing { background: #fef3c7; color: #92400e; }
.rv-badge--overdue, .rv-badge--failed, .rv-badge--rejected { background: #fee2e2; color: #991b1b; }
.rv-badge--cancelled, .rv-badge--expired, .rv-badge--archived, .rv-badge--removed { background: #f1f5f9; color: #64748b; }

/* Tabs & pills (horizontally scrollable on phones) */
.rv-tabs { display: flex; gap: 4px; margin: 0 -16px 16px; padding: 0 16px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--rv-line); -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; }
.rv-tabs::-webkit-scrollbar, .rv-pills::-webkit-scrollbar { display: none; }
.rv-tabs a { padding: 11px 12px; text-decoration: none; color: var(--rv-muted) !important; font-weight: 700; font-size: 14px; border-bottom: 2.5px solid transparent; white-space: nowrap; scroll-snap-align: start; transition: color .2s, border-color .2s; }
.rv-tabs a.is-active { color: var(--rv-brand) !important; border-color: var(--rv-brand); }
.rv-pills { display: flex; gap: 6px; margin-bottom: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.rv-pills a { flex: none; padding: 7px 13px; border-radius: 999px; background: #fff; border: 1px solid var(--rv-line); text-decoration: none; color: var(--rv-text-2) !important; font-size: 13px; font-weight: 600; transition: all .2s; }
.rv-pills a.is-active { background: var(--rv-text); border-color: var(--rv-text); color: #fff !important; }
.rv-toolbar { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-bottom: 12px; }
.rv-spacer { flex: 1; }

/* Tables → stacked cards on phones (labels injected by JS) */
.rv-table-wrap { overflow-x: auto; }
.rv-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.rv-table th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--rv-muted); font-weight: 700; padding: 10px 14px; border-bottom: 1px solid var(--rv-line); background: #fafbfc; white-space: nowrap; }
.rv-table td { padding: 12px 14px; border-bottom: 1px solid var(--rv-line); vertical-align: top; }
.rv-table tr:last-child td { border-bottom: 0; }
.rv-table td small { display: block; }
.rv-table--compact td, .rv-table--compact th { padding: 6px 10px; }
.rv-actions { display: flex; gap: 6px; flex-wrap: wrap; align-items: flex-start; justify-content: flex-end; }
.rv-actions form { margin: 0; }
@media (max-width: 719px) {
	.rv-table:not(.rv-table--compact) thead { display: none; }
	.rv-table:not(.rv-table--compact), .rv-table:not(.rv-table--compact) tbody, .rv-table:not(.rv-table--compact) tr, .rv-table:not(.rv-table--compact) td { display: block; width: 100%; }
	.rv-table:not(.rv-table--compact) tr { padding: 12px 16px; border-bottom: 1px solid var(--rv-line); }
	.rv-table:not(.rv-table--compact) tr:last-child { border-bottom: 0; }
	.rv-table:not(.rv-table--compact) td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
	.rv-table:not(.rv-table--compact) td::before { content: attr(data-label); color: var(--rv-muted); font-size: 12px; font-weight: 600; text-align: left; flex: none; }
	.rv-table:not(.rv-table--compact) td:first-child { display: block; text-align: left; font-size: 15px; padding-bottom: 6px; }
	.rv-table:not(.rv-table--compact) td:first-child::before { display: none; }
	.rv-table:not(.rv-table--compact) td.rv-actions { justify-content: flex-start; padding-top: 10px; }
	.rv-table:not(.rv-table--compact) td.rv-actions::before, .rv-table:not(.rv-table--compact) td:empty { display: none; }
	.rv-table:not(.rv-table--compact) td > small.rv-block { display: inline; margin-left: 4px; }
	.rv-table:not(.rv-table--compact) td:first-child > small.rv-block { display: block; margin: 0; }
}

/* ---------- Forms ---------- */
.rv-form { display: grid; gap: 12px; }
.rv-form--wide { max-width: 860px; }
.rv-form--inline { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.rv-form label { display: grid; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--rv-text-2); }
.rv-form label small { font-weight: 500; }
.rv-form input[type=text], .rv-form input[type=email], .rv-form input[type=tel], .rv-form input[type=password], .rv-form input[type=number], .rv-form input[type=date], .rv-form input[type=search], .rv-form input[type=url], .rv-form select, .rv-form textarea, .rv-inline-search input, .rv-copy input {
	width: 100%; border: 1.5px solid var(--rv-line); border-radius: 12px; padding: 12px 14px; font: 500 16px/1.3 var(--rv-font); color: var(--rv-text); background: #fbfcfd; transition: border-color .2s, box-shadow .2s, background .2s; min-height: 46px; -webkit-appearance: none; appearance: none;
}
.rv-form select { background-image: linear-gradient(45deg, transparent 50%, var(--rv-muted) 50%), linear-gradient(135deg, var(--rv-muted) 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.rv-form input:focus, .rv-form select:focus, .rv-form textarea:focus, .rv-inline-search input:focus { outline: none; border-color: var(--rv-brand-600); background: #fff; box-shadow: 0 0 0 4px rgba(47, 98, 214, .14); }
.rv-form fieldset { border: 0; border-top: 1px solid var(--rv-line); padding: 16px 0 4px; margin: 0; display: grid; gap: 12px; min-width: 0; }
.rv-form fieldset:first-of-type { border-top: 0; padding-top: 0; }
.rv-form legend { font-weight: 800; font-size: 15px; padding: 0 0 4px; }
.rv-row { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rv-form .rv-check, .rv-check { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.rv-check input { width: 20px; height: 20px; accent-color: var(--rv-brand); flex: none; }
.rv-form .rv-radio, .rv-radio { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--rv-line); border-radius: 14px; padding: 13px; font-weight: 500; cursor: pointer; transition: border-color .2s, background .2s; }
.rv-radio input { accent-color: var(--rv-brand); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.rv-radio span { display: grid; gap: 2px; }
.rv-radio:has(input:checked) { border-color: var(--rv-brand); background: var(--rv-brand-50); }
.rv-help { font-size: 13px; color: var(--rv-muted); margin: 0; }
.rv-inline-search { width: 100%; }
.rv-inline-search input { padding: 10px 14px 10px 38px; font-size: 15px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='7' cy='7' r='5'/%3E%3Cpath d='m14 14-3.5-3.5'/%3E%3C/svg%3E") 13px 50% no-repeat; }
.rv-member-picks { display: grid; grid-template-columns: 1fr; gap: 6px; max-height: 260px; overflow: auto; border: 1.5px solid var(--rv-line); border-radius: 12px; padding: 10px; }
.rv-target { display: grid; gap: 8px; }
.rv-collapsible > summary { cursor: pointer; list-style: none; }
.rv-collapsible > summary::-webkit-details-marker { display: none; }
.rv-collapsible[open] > summary { margin-bottom: 16px; }
.rv-more { margin-top: 12px; }
.rv-more summary { cursor: pointer; color: var(--rv-brand); font-weight: 700; margin-bottom: 8px; }
.rv-divider { display: flex; align-items: center; gap: 12px; color: var(--rv-muted); font-size: 12.5px; margin: 14px 0; }
.rv-divider::before, .rv-divider::after { content: ""; flex: 1; height: 1px; background: var(--rv-line); }
.rv-code-input { text-align: center; letter-spacing: .3em; font-weight: 800 !important; font-size: 22px !important; text-transform: uppercase; }

/* Popovers / bottom sheets */
.rv-pop { position: relative; display: inline-block; }
.rv-pop > summary { list-style: none; }
.rv-pop > summary::-webkit-details-marker { display: none; }
.rv-pop__body { position: absolute; z-index: 80; top: calc(100% + 8px); left: 0; width: 290px; background: #fff; border: 1px solid var(--rv-line); border-radius: 16px; box-shadow: 0 18px 40px rgba(15, 23, 42, .16); padding: 14px; text-align: left; animation: rv-pop .18s var(--rv-ease); }
.rv-pop--right .rv-pop__body { left: auto; right: 0; }
.rv-menu { display: grid; gap: 4px; }
@media (max-width: 719px) {
	.rv-pop:not(.rv-account)[open]::before { content: ""; position: fixed; inset: 0; background: rgba(15, 23, 42, .4); z-index: 79; animation: rv-pop .2s; }
	.rv-pop:not(.rv-account) > .rv-pop__body { position: fixed; left: 0; right: 0; top: auto; bottom: 0; width: auto; border-radius: 22px 22px 0 0; padding: 22px 18px calc(22px + var(--rv-safe-b)); max-height: 85vh; overflow: auto; animation: rv-sheet .28s var(--rv-ease); }
	.rv-pop:not(.rv-account) > .rv-pop__body::before { content: ""; display: block; width: 42px; height: 5px; border-radius: 3px; background: var(--rv-line); margin: -10px auto 14px; }
}
@keyframes rv-sheet { from { transform: translateY(100%); } to { transform: none; } }

/* Toast notices */
.rv-toasts { position: fixed; z-index: 90; left: 12px; right: 12px; top: 70px; display: grid; gap: 8px; pointer-events: none; }
.rv-alert { padding: 13px 16px; border-radius: 14px; margin-bottom: 14px; border: 1px solid; font-weight: 600; display: flex; align-items: center; gap: 10px; text-decoration: none; }
.rv-toasts .rv-alert { margin: 0; pointer-events: auto; box-shadow: 0 14px 34px rgba(15, 23, 42, .15); animation: rv-toast-in .35s var(--rv-ease); max-width: 520px; justify-self: center; width: 100%; }
.rv-toasts .rv-alert.is-out { animation: rv-toast-out .3s var(--rv-ease) forwards; }
@keyframes rv-toast-in { from { opacity: 0; transform: translateY(-14px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rv-toast-out { to { opacity: 0; transform: translateY(-10px); } }
.rv-alert--success { background: #f0fdf4; border-color: #bbf7d0; color: #166534; }
.rv-alert--error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }
.rv-alert--info { background: #eff6ff; border-color: #bfdbfe; color: #1e40af; }
.rv-resume { justify-content: center; }
.rv-spinner { width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: rv-spin .8s linear infinite; flex: none; }

/* Invite */
.rv-copy { display: flex; gap: 6px; }
.rv-copy input { font-size: 13px; padding: 8px 10px; min-height: 38px; }
.rv-invite__code { margin: 10px 0; }
.rv-invite__code strong { letter-spacing: .12em; }

/* Lottie */
.rv-lottie { margin: 0 auto; }
.rv-lottie svg { display: block; }
.rv-lottie--sm { width: 64px; height: 64px; flex: none; margin: 0; }
.rv-lottie--md { width: 150px; height: 150px; }
.rv-lottie--lg { width: 190px; height: 190px; }
.rv-lottie--auth { width: 220px; height: 200px; margin: 0 0 8px; }
.rv-lottie--hero { width: 100%; max-width: 440px; aspect-ratio: 400 / 360; }
.rv-lottie--stamp { width: 110px; height: 110px; margin: -6px auto 0; }

/* Auth & join */
.revo [hidden] { display: none !important; }
.rv-auth { display: grid; grid-template-columns: 1fr; gap: 18px; align-items: start; padding: 4px 0 24px; max-width: 460px; margin: 0 auto; }
.rv-auth__intro { display: none; }
.rv-auth__intro h2 { font-size: 30px; }
.rv-auth__card { background: #fff; border: 1px solid var(--rv-line); border-radius: 24px; padding: 24px 20px; box-shadow: 0 24px 60px rgba(15, 23, 42, .08); }
.rv-auth__head { text-align: center; margin-bottom: 18px; }
.rv-auth__head h1 { font-size: 24px; margin-bottom: 4px; }
.rv-auth__head p { margin: 0; font-size: 14px; }
.rv-auth__form { gap: 14px; animation: rv-pop .25s var(--rv-ease); }
.rv-auth__switch { text-align: center; font-size: 14px; color: var(--rv-muted); margin: 2px 0 0; }
.rv-auth__switch .rv-link { padding: 0; }
.rv-auth__terms { text-align: center; font-size: 12px; color: var(--rv-muted); margin: 0; }
.rv-field { display: grid; gap: 6px; }
.rv-field__label { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; font-weight: 700; color: var(--rv-text-2); }
.rv-field__link { font-weight: 600; font-size: 13px; text-decoration: none; }
.rv-field__control { position: relative; display: block; }
.rv-field__control > svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #94a3b8; pointer-events: none; transition: color .2s; }
.rv-field__control:focus-within > svg { color: var(--rv-brand); }
.revo .rv-field__control input { padding-left: 44px !important; }
.revo .rv-field__control input[type=password], .revo .rv-field__control input[data-rv-was-password] { padding-right: 46px !important; }
.rv-field__eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border: 0; background: none; color: #94a3b8; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.rv-field__eye:hover, .rv-field__eye.is-on { color: var(--rv-brand); background: var(--rv-brand-50); }
.rv-segment { display: grid; grid-template-columns: 1fr 1fr; background: var(--rv-bg); border-radius: 14px; padding: 4px; margin-bottom: 16px; position: relative; }
.rv-segment button { border: 0; background: none; padding: 10px; border-radius: 11px; font: 700 14px var(--rv-font); cursor: pointer; color: var(--rv-muted); transition: all .2s; }
.rv-segment button.is-active { background: #fff; color: var(--rv-text); box-shadow: var(--rv-shadow); }
.rv-checklist { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 9px; }
.rv-checklist li { padding-left: 28px; position: relative; }
.rv-checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 19px; height: 19px; border-radius: 50%; background: var(--rv-brand-100); color: var(--rv-brand); font-size: 11px; font-weight: 800; display: grid; place-items: center; }
.rv-join { max-width: 520px; margin: 0 auto; }
.rv-join .rv-auth { grid-template-columns: 1fr; padding: 0; }
.rv-join .rv-auth__intro { display: none; }
.rv-join__amount { font-size: 28px; font-weight: 800; color: var(--rv-brand); }
.rv-result { text-align: center; padding: 26px 20px; }

/* Invoice & pay */
.rv-invoice-page, .rv-pay-screen { max-width: 520px; margin: 0 auto; }
.rv-invoice { position: relative; overflow: hidden; }
.rv-invoice::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--rv-brand-600), var(--rv-accent)); }
.rv-invoice__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; border-bottom: 1px dashed var(--rv-line); padding-bottom: 14px; margin-bottom: 14px; }
.rv-invoice__head h1 { font-size: 21px; margin: 2px 0 0; }
.rv-dl { margin: 0; display: grid; gap: 10px; }
.rv-dl > div { display: grid; grid-template-columns: 1fr; gap: 1px; }
.rv-dl dt { color: var(--rv-muted); font-size: 13px; }
.rv-dl dd { margin: 0; font-weight: 600; }
.rv-invoice__total { margin: 18px 0; padding: 14px; border-radius: 14px; background: var(--rv-bg); display: grid; gap: 6px; }
.rv-invoice__total > div { display: flex; justify-content: space-between; gap: 10px; }
.rv-invoice__grand { border-top: 1px solid var(--rv-line); padding-top: 8px; font-size: 17px; }
.rv-pay__methods { text-align: center; font-size: 13px; margin: 10px 0 4px; color: var(--rv-text); font-weight: 600; }
.rv-methods { display: grid; gap: 8px; margin-bottom: 14px; }
.rv-method { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 13px 14px; border: 1.5px solid var(--rv-line); border-radius: 14px; cursor: pointer; transition: border-color .2s, background .2s, transform .15s; background: #fff; }
.rv-method:active { transform: scale(.99); }
.rv-method input { position: absolute; opacity: 0; pointer-events: none; }
.rv-method__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--rv-bg); font-size: 20px; font-weight: 800; color: var(--rv-brand); }
.rv-method__text { display: grid; gap: 1px; min-width: 0; }
.rv-method__text strong { font-size: 14.5px; }
.rv-method__total { font-weight: 800; font-variant-numeric: tabular-nums; }
.rv-method:has(input:checked) { border-color: var(--rv-brand); background: var(--rv-brand-50); box-shadow: 0 0 0 4px rgba(47, 98, 214, .1); }
.rv-method:has(input:checked) .rv-method__icon { background: var(--rv-brand); color: #fff; }
.rv-stamp { position: absolute; top: 70px; right: -8px; transform: rotate(14deg); border: 3px solid var(--rv-ok); color: var(--rv-ok); font-weight: 900; letter-spacing: .2em; padding: 6px 18px; border-radius: 8px; opacity: .85; font-size: 20px; animation: rv-pop .5s .3s var(--rv-ease) both; }
.rv-invoice.is-paid .rv-btn--ghost { margin-top: 8px; }
.rv-leave { margin-top: 32px; text-align: center; }

.rv-paybox { padding: 20px; }
.rv-paybox__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.rv-paybox__head h1 { margin: 2px 0 0; font-size: 22px; }
.rv-timer { flex: none; text-align: center; background: #fff7ed; color: #9a3412; border-radius: 12px; padding: 6px 10px; }
.rv-timer span { display: block; font-size: 11px; font-weight: 700; }
.rv-timer strong { font-size: 18px; font-variant-numeric: tabular-nums; }
.rv-timer.is-expired { background: #fee2e2; color: #991b1b; }
.rv-amount-pill { display: flex; align-items: center; gap: 10px; justify-content: space-between; background: linear-gradient(135deg, var(--rv-brand-600), var(--rv-brand-700)); color: #fff; border-radius: 16px; padding: 14px 16px; margin-bottom: 16px; box-shadow: var(--rv-shadow-lg); }
.rv-amount-pill span { font-size: 12.5px; opacity: .85; }
.rv-amount-pill strong { font-size: 22px; font-weight: 800; margin-right: auto; }
.rv-qr-wrap { position: relative; width: min(280px, 100%); margin: 0 auto 12px; padding: 14px; border-radius: 20px; background: #fff; border: 1.5px solid var(--rv-line); box-shadow: var(--rv-shadow); }
.rv-qr { aspect-ratio: 1; display: grid; place-items: center; }
.rv-qr svg, .rv-qr img { width: 100%; height: auto; display: block; }
.rv-qr__badge { position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); background: var(--rv-text); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: .12em; padding: 4px 12px; border-radius: 999px; }
.rv-va { text-align: center; background: var(--rv-bg); border-radius: 16px; padding: 18px 14px; margin-bottom: 14px; display: grid; gap: 8px; justify-items: center; }
.rv-va span { font-size: 13px; color: var(--rv-muted); font-weight: 600; }
.rv-va__no { font-size: 26px; letter-spacing: .06em; font-weight: 800; font-variant-numeric: tabular-nums; word-break: break-all; }
.rv-steps-list { margin: 14px 0; padding-left: 20px; display: grid; gap: 6px; color: var(--rv-text-2); font-size: 14px; }
.rv-waiting { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: 14px; background: var(--rv-brand-50); margin-top: 8px; }
.rv-waiting p { margin: 0; font-size: 14px; }

/* Chart */
.rv-chart { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 4px; align-items: end; height: 190px; padding-top: 8px; }
.rv-chart__col { display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; min-width: 0; }
.rv-chart__bar { flex: 1; width: 100%; max-width: 36px; display: flex; flex-direction: column-reverse; background: var(--rv-bg); border-radius: 8px; overflow: hidden; }
.rv-chart__online { background: linear-gradient(180deg, var(--rv-brand-600), var(--rv-brand)); display: block; transform-origin: bottom; animation: rv-grow .8s var(--rv-ease) both; }
.rv-chart__cash { background: var(--rv-accent); display: block; transform-origin: bottom; animation: rv-grow .8s .1s var(--rv-ease) both; }
@keyframes rv-grow { from { transform: scaleY(0); } }
.rv-chart small { font-size: 9.5px; white-space: nowrap; }
.rv-legend { font-size: 13px; color: var(--rv-muted); margin-top: 10px; }
.rv-dot { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin: 0 4px 0 10px; vertical-align: middle; }
.rv-dot--online { background: var(--rv-brand); }
.rv-dot--cash { background: var(--rv-accent); }
.rv-pager { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 16px 0; font-size: 14px; color: var(--rv-muted); }

/* ---------- Landing ---------- */
.rv-landing { font-size: 16px; overflow-x: hidden; }
.rv-hero { position: relative; background: radial-gradient(900px 420px at 85% -10%, var(--rv-brand-100), transparent 70%), radial-gradient(600px 300px at -10% 110%, #fef3c7, transparent 70%), linear-gradient(180deg, var(--rv-brand-50), #fff); padding: 36px 0 40px; }
.rv-hero__inner { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: center; }
.rv-landing h1 { font-size: 34px; line-height: 1.1; letter-spacing: -.035em; margin: 14px 0; font-weight: 800; }
.rv-landing h1 span { background: linear-gradient(90deg, var(--rv-brand-600), var(--rv-brand-700)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; }
.rv-hero__lead { font-size: 16.5px; color: var(--rv-text-2); max-width: 560px; }
.rv-hero__cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 22px 0 12px; }
.rv-hero__cta .rv-btn { flex: 1 1 160px; }
.rv-hero__visual { position: relative; display: grid; place-items: center; }
.rv-float { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: 0 16px 36px rgba(15, 23, 42, .12); animation: rv-float 5s ease-in-out infinite; font-size: 13px; }
.rv-float small { display: block; color: var(--rv-muted); font-size: 11.5px; }
.rv-float strong { font-size: 14px; }
.rv-float--a { left: 0; top: 18%; }
.rv-float--b { right: 0; bottom: 10%; animation-delay: -2.5s; }
.rv-float--b > span { width: 28px; height: 28px; border-radius: 50%; background: var(--rv-brand); color: #fff; display: grid; place-items: center; font-weight: 800; }
.rv-float__dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 5px rgba(34, 197, 94, .2); }
.rv-band { padding: 22px 0; border-bottom: 1px solid var(--rv-line); }
.rv-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.rv-tags span { border: 1px solid var(--rv-line); border-radius: 999px; padding: 6px 14px; font-size: 13.5px; background: #fff; font-weight: 500; }
.rv-sect { padding-top: 56px; }
.rv-landing h2 { font-size: 27px; letter-spacing: -.025em; font-weight: 800; }
.rv-features { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.rv-feature { border: 1px solid var(--rv-line); border-radius: 18px; padding: 18px; background: #fff; transition: transform .25s var(--rv-ease), box-shadow .25s; }
.rv-feature:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(15, 23, 42, .08); }
.rv-feature__icon { font-size: 24px; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--rv-brand-50); margin-bottom: 10px; }
.rv-feature p { color: var(--rv-muted); font-size: 14.5px; margin: 0; }
.rv-steps { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 24px 0; }
.rv-step { padding: 20px; border-radius: 18px; background: var(--rv-bg); }
.rv-step b { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rv-brand); color: #fff; margin-bottom: 10px; }
.rv-roles { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rv-pricing { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
.rv-price__big { font-size: 28px; font-weight: 800; margin: 6px 0; }
.rv-price--hl { border: 2px solid var(--rv-brand); box-shadow: var(--rv-shadow-lg); }
.rv-faq { max-width: 760px; margin: 20px auto 0; display: grid; gap: 10px; }
.rv-faq details { border: 1px solid var(--rv-line); border-radius: 14px; padding: 15px 18px; background: #fff; transition: box-shadow .2s; }
.rv-faq details[open] { box-shadow: var(--rv-shadow); }
.rv-faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.rv-faq summary::-webkit-details-marker { display: none; }
.rv-faq summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--rv-brand); transition: transform .2s; }
.rv-faq details[open] summary::after { transform: rotate(45deg); }
.rv-faq p { margin: 10px 0 0; color: var(--rv-text-2); }
.rv-cta { margin-top: 64px; background: radial-gradient(500px 200px at 80% 0%, rgba(255, 255, 255, .15), transparent), linear-gradient(135deg, var(--rv-brand-600), var(--rv-brand-700)); color: #fff; padding: 48px 0; }
.rv-cta h2 { color: #fff; }

/* Print */
.rv-print h1 { font-size: 22px; }
@media print {
	.rv-topbar, .rv-footer, .rv-noprint, .rv-alert, .rv-tabbar, .rv-toasts { display: none !important; }
	body.revo-canvas { background: #fff; padding: 0 !important; }
	.rv-card { box-shadow: none; border-color: #ccc; }
	.rv-app > * { animation: none !important; }
}

/* ---------- Larger screens ---------- */
@media (min-width: 560px) {
	.rv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rv-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
	.rv-features, .rv-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rv-member-picks { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
	.rv-toolbar { flex-direction: row; justify-content: space-between; align-items: center; flex-wrap: wrap; }
	.rv-inline-search { width: auto; }
	.rv-inline-search input { width: 260px; }
	.rv-dl > div { grid-template-columns: 130px 1fr; gap: 12px; }
	.rv-chart small { font-size: 11px; }
}
@media (min-width: 720px) {
	.rv-tabbar { display: none; }
	body.revo-canvas.revo-logged-in.revo-canvas--app { padding-bottom: 0; }
	.revo-logged-in.revo-canvas--app .rv-footer { display: block; }
	.rv-nav { display: flex; }
	.rv-topbar__inner { min-height: 66px; }
	.rv-app { padding-top: 26px; padding-bottom: 48px; }
	.revo h1 { font-size: 27px; }
	.rv-card { padding: 22px; }
	.rv-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
	.rv-stat { padding: 16px 18px; }
	.rv-stat strong { font-size: 22px; }
	.rv-tabs { margin: 0 0 20px; padding: 0; }
	.rv-toasts { top: 80px; left: auto; right: 24px; width: 380px; }
	.rv-steps, .rv-pricing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rv-pop:not(.rv-account) > .rv-pop__body { position: absolute; }
}
@media (min-width: 960px) {
	.rv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.rv-split { grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; }
	.rv-auth { grid-template-columns: 1fr 440px; gap: 56px; padding: 32px 0; max-width: 1000px; align-items: center; }
	.rv-auth__intro { display: block; }
	.rv-auth__intro .rv-lottie--auth { margin: 0 0 8px -20px; }
	.rv-auth__card { padding: 32px 30px; }
	.rv-hero { padding: 64px 0 56px; }
	.rv-hero__inner { grid-template-columns: 1.05fr .95fr; gap: 40px; }
	.rv-landing h1 { font-size: 50px; }
	.rv-hero__lead { font-size: 18px; }
	.rv-hero__cta .rv-btn { flex: 0 0 auto; }
	.rv-features { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.rv-sect { padding-top: 80px; }
	.rv-landing h2 { font-size: 34px; }
}
@media (hover: none) {
	.rv-platform-card:hover, .rv-feature:hover { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.rv-js .rv-reveal { opacity: 1; transform: none; }
}

/* Withdrawal OTP */
.rv-otp { border: 2px solid var(--rv-brand-600); }
.rv-otp__code { width: 100%; text-align: center; font: 800 30px/1 var(--rv-font) !important; letter-spacing: .5em; padding: 14px 0 14px .5em !important; }
.rv-otp__more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.rv-choice { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.rv-choice legend { font-weight: 700; font-size: 14px; margin-bottom: 6px; padding: 0; }
.rv-choice label { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1.5px solid var(--rv-line); border-radius: 12px; background: var(--rv-bg); font-weight: 600; }
.rv-vote-thanks { list-style: none; margin: 12px 0 16px; padding: 0; text-align: left; }
.rv-vote-thanks li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--rv-bg); margin-top: 6px; }

/* Two-factor (authenticator) */
.rv-2fa__setup > summary { display: inline-flex; list-style: none; }
.rv-2fa__setup > summary::-webkit-details-marker { display: none; }
.rv-2fa__setup[open] > summary { display: none; }
.rv-2fa__qr { width: 220px; max-width: 70vw; margin: 14px 0; padding: 12px; background: #fff; border: 1px solid var(--rv-line); border-radius: 16px; }
.rv-2fa__qr svg { display: block; width: 100%; height: auto; }
.rv-2fa__secret { font-size: 14px; letter-spacing: .08em; word-break: break-all; }
.rv-2fa__input { font: 800 22px var(--rv-font) !important; letter-spacing: .3em; text-align: center; max-width: 220px; }
.rv-2fa__codes { margin: 12px 0; padding: 14px 16px; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; }
.rv-2fa__codes ol { columns: 2; margin: 8px 0 12px; padding-left: 22px; font-size: 16px; }
.rv-2fa__codes code { font-weight: 800; letter-spacing: .06em; }
.rv-2fa__manage { display: grid; gap: 12px; }
.rv-2fa-gate { max-width: 420px; margin: 24px auto; }
.rv-2fa-gate__card { text-align: center; }
.rv-2fa-gate__card .rv-form { text-align: left; }
.rv-2fa-gate__icon { font-size: 40px; }
.rv-2fa-gate h1 { margin: 6px 0 8px; font-size: 22px; }
.rv-2fa-gate__help { margin-top: 14px; text-align: left; font-size: 14px; }
.rv-2fa-gate__help summary { cursor: pointer; font-weight: 700; color: var(--rv-brand-700); }
.rv-2fa-gate__out { margin: 16px 0 0; font-size: 14px; }

/* Searchable bank / e-wallet picker */
.rv-picker { position: relative; font-weight: 500; }
.rv-picker__btn { width: 100%; min-height: 48px; text-align: left; border: 1.5px solid var(--rv-line); border-radius: 14px; background: #f8fafc linear-gradient(45deg, transparent 50%, var(--rv-muted) 50%) calc(100% - 18px) 50% / 5px 5px no-repeat, linear-gradient(135deg, var(--rv-muted) 50%, transparent 50%) calc(100% - 13px) 50% / 5px 5px no-repeat; padding: 10px 40px 10px 14px; font: inherit; font-size: 16px; color: var(--rv-text); cursor: pointer; }
.rv-picker__btn:focus-visible, .rv-picker.is-open .rv-picker__btn { outline: none; border-color: var(--rv-brand-600, #2f62d6); background-color: #fff; box-shadow: 0 0 0 4px rgba(47, 98, 214, .14); }
.rv-picker__panel { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--rv-line); border-radius: 16px; box-shadow: 0 24px 50px -16px rgba(15, 23, 42, .3); overflow: hidden; animation: rv-pop .16s var(--rv-ease); }
.rv-picker__search { padding: 10px; border-bottom: 1px solid var(--rv-line); }
.rv-form .rv-picker__search input { width: 100%; min-height: 42px; }
.rv-picker__list { max-height: min(340px, 55vh); overflow-y: auto; overscroll-behavior: contain; padding: 4px 6px 8px; }
.rv-picker__head { position: sticky; top: 0; background: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--rv-muted); padding: 10px 8px 4px; }
.rv-picker__opt { display: flex; width: 100%; justify-content: space-between; align-items: center; gap: 10px; border: 0; background: none; text-align: left; padding: 10px; border-radius: 10px; font: inherit; font-size: 14.5px; color: var(--rv-text); cursor: pointer; }
.rv-picker__opt small { color: var(--rv-muted); font-size: 11.5px; font-weight: 600; flex: none; }
.rv-picker__opt:hover, .rv-picker__opt.is-active { background: #eef3ff; }
.rv-picker__opt.is-selected { background: #dbe5ff; font-weight: 700; color: #18196b; }
.rv-picker__empty { margin: 0; padding: 16px 10px; color: var(--rv-muted); font-size: 13.5px; }

/* Group WhatsApp sender */
.rv-wa-card { display: grid; gap: 12px; }
.rv-wa-card h3 { margin: 0 0 4px; }
.rv-wa-card__info { margin: 0; font-weight: 600; }
.rv-wa-card__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.rv-wa-guide > summary { cursor: pointer; font-weight: 700; color: var(--rv-brand); }


/* ---------- Creator dashboard (Revo.id) ---------- */
.rv-shell { display: block; }
.rv-side { display: none; }
.rv-shell__main { min-width: 0; }
.rv-side__store { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--rv-text) !important; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--rv-line); }
.rv-side__store strong { display: block; font-size: 14px; line-height: 1.3; }
.rv-side__store small { display: block; color: var(--rv-brand); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 150px; }
.rv-side__avatar { flex: none; width: 40px; height: 40px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--rv-brand-600), var(--rv-brand-700)); }
.rv-side__avatar img { width: 100%; height: 100%; object-fit: cover; }
.rv-side__cta { margin: 12px 0; }
.rv-side__nav { display: grid; gap: 2px; }
.rv-side__nav a { display: flex; align-items: center; gap: 11px; padding: 10px 12px; border-radius: 11px; text-decoration: none; color: var(--rv-text-2) !important; font-weight: 600; font-size: 14px; transition: background .2s, color .2s; }
.rv-side__nav a:hover { background: #fff; }
.rv-side__nav a.is-active { background: var(--rv-brand-50); color: var(--rv-brand) !important; }
.rv-side__share { margin-top: 16px; padding: 12px; border-radius: 14px; background: #fff; border: 1px dashed var(--rv-line); }
.rv-side__share small { display: block; margin-bottom: 6px; font-weight: 700; }
.rv-menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rv-menu-tile { display: grid; gap: 4px; margin: 0; text-decoration: none; color: var(--rv-text) !important; padding: 16px; }
.rv-menu-tile__icon, .rv-type__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--rv-brand-50); color: var(--rv-brand); margin-bottom: 6px; }
.rv-menu-tile small { line-height: 1.35; }

.rv-onboard { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; }
.rv-onboard__intro h1 { font-size: 30px; margin-top: 6px; }
.rv-prefix { display: flex; align-items: stretch; border: 1.5px solid var(--rv-line); border-radius: 12px; overflow: hidden; background: #fbfcfd; }
.rv-prefix b { display: flex; align-items: center; padding: 0 4px 0 12px; color: var(--rv-muted); font-weight: 600; font-size: 14px; white-space: nowrap; background: #f1f4fa; border-right: 1px solid var(--rv-line); padding-right: 10px; }
.rv-form .rv-prefix input { border: 0 !important; border-radius: 0; box-shadow: none !important; min-width: 0; font-weight: 700 !important; }

.rv-sharebar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: linear-gradient(120deg, var(--rv-brand-700), var(--rv-brand-600)); color: #fff; border: 0; box-shadow: var(--rv-shadow-lg); }
.rv-sharebar small { display: block; color: rgba(255, 255, 255, .8) !important; font-weight: 600; }
.rv-sharebar strong { font-size: 18px; word-break: break-all; }
.rv-sharebar__btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-progress { height: 8px; border-radius: 99px; background: var(--rv-brand-50); overflow: hidden; margin: 4px 0 12px; }
.rv-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--rv-brand-600), #38bdf8); transition: width .6s var(--rv-ease); }
.rv-setup__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.rv-setup__list li { position: relative; padding-left: 30px; }
.rv-setup__list li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--rv-line); }
.rv-setup__list li.is-done::before { content: "✓"; display: grid; place-items: center; border-color: var(--rv-ok); background: var(--rv-ok); color: #fff; font-size: 11px; font-weight: 800; }
.rv-setup__list li.is-done a { color: var(--rv-muted) !important; text-decoration: line-through; }
.rv-setup__list a { font-weight: 600; text-decoration: none; }

.rv-bars { display: grid; grid-template-columns: repeat(14, minmax(0, 1fr)); align-items: end; gap: 5px; height: 160px; margin: 8px 0 12px; }
.rv-bars__col { display: grid; grid-template-rows: 1fr auto; height: 100%; gap: 4px; text-align: center; }
.rv-bars__bar { align-self: end; width: 100%; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #60a5fa, var(--rv-brand-600)); min-height: 2px; transition: height .6s var(--rv-ease); }
.rv-bars__col:hover .rv-bars__bar { background: linear-gradient(180deg, var(--rv-brand-600), var(--rv-brand-700)); }
.rv-bars small { font-size: 10px; }
.rv-rank { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.rv-rank li { padding-left: 4px; }
.rv-rank a { font-weight: 700; text-decoration: none; display: block; }
.rv-rank span { font-size: 12.5px; color: var(--rv-muted); }

.rv-plist { display: grid; gap: 10px; }
.rv-pitem { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: center; margin: 0; padding: 12px; }
.rv-pitem__media { width: 64px; height: 64px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--rv-brand-50); color: var(--rv-brand) !important; }
.rv-pitem__media img { width: 100%; height: 100%; object-fit: cover; }
.rv-pitem__body { display: grid; gap: 3px; min-width: 0; }
.rv-pitem__body a { text-decoration: none; color: var(--rv-text) !important; }
.rv-pitem__body strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-pitem__actions { grid-column: 1 / -1; display: flex; gap: 6px; flex-wrap: wrap; }
.rv-pitem__actions form { margin: 0; }
.rv-type-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.rv-type { display: grid; gap: 4px; margin: 0; text-decoration: none; color: var(--rv-text) !important; transition: transform .2s var(--rv-ease), border-color .2s; }
.rv-type:hover { transform: translateY(-2px); border-color: var(--rv-brand-100); }

.rv-cover { display: flex; gap: 14px; align-items: center; }
.rv-cover__frame { flex: none; width: 128px; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--rv-brand-50); color: var(--rv-brand); border: 1px dashed var(--rv-brand-100); }
.rv-cover__frame img { width: 100%; height: 100%; object-fit: cover; }
.rv-cover > div { display: grid; gap: 6px; justify-items: start; }
.rv-cover .rv-btn { cursor: pointer; }
.rv-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rv-files li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--rv-bg); font-weight: 600; font-size: 14px; }
.rv-files li span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.rv-form .rv-drop { position: relative; display: grid; gap: 4px; place-items: center; text-align: center; padding: 22px 16px; border: 2px dashed var(--rv-brand-100); border-radius: 16px; background: var(--rv-brand-50); cursor: pointer; }
.rv-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.rv-drop span { display: grid; gap: 2px; color: var(--rv-brand); }
.rv-drop em { font-style: normal; font-size: 12.5px; color: var(--rv-text-2); }
.rv-row--2 { grid-template-columns: 1fr; }
.rv-formbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--rv-line); }
.rv-stack { display: grid; gap: 8px; }
.rv-stack form { margin: 0; }
.rv-stats--side { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.rv-dl:not(:has(> div)) { grid-template-columns: minmax(110px, auto) 1fr; gap: 8px 14px; }
.rv-dl--money dd { text-align: right; }
.rv-themes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.rv-form .rv-theme { display: grid; gap: 4px; justify-items: center; cursor: pointer; font-weight: 600; }
.rv-theme input { position: absolute; opacity: 0; }
.rv-theme span { width: 100%; aspect-ratio: 3 / 4; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 18px; box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .08); transition: transform .2s, box-shadow .2s; }
.rv-theme input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rv-brand); transform: translateY(-2px); }
.rv-theme small { font-size: 11.5px; text-align: center; }
.rv-links { display: grid; gap: 8px; }
.rv-links__row { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 10px; border-radius: 12px; background: var(--rv-bg); }
.rv-phone { display: none; }
.rv-phone__frame { width: 300px; height: 600px; margin: 0 auto; border-radius: 40px; padding: 12px; background: #0b0c3a; box-shadow: 0 30px 60px rgba(16, 17, 74, .3); }
.rv-phone__frame iframe { width: 100%; height: 100%; border: 0; border-radius: 30px; background: #fff; }
.rv-grid--lib { grid-template-columns: 1fr; }
.rv-lib { display: flex; gap: 12px; align-items: center; margin: 0; text-decoration: none; color: var(--rv-text) !important; padding: 12px; }
.rv-lib__media { flex: none; width: 72px; height: 72px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--rv-brand-50); color: var(--rv-brand); }
.rv-lib__media img { width: 100%; height: 100%; object-fit: cover; }
.rv-lib__body { display: grid; gap: 2px; min-width: 0; }
.rv-lib__body em { font-style: normal; color: var(--rv-brand); font-weight: 700; font-size: 13px; }
.rv-cta-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; background: linear-gradient(135deg, var(--rv-brand-50), #fff); }
.rv-cta-card h3 { margin: 0 0 4px; }
.rv-cta-card p { margin: 0; }

/* Public order / access page */
.rv-order { max-width: 560px; margin: 0 auto; }
.rv-order .rv-result h1 { margin-top: 6px; }
.rv-access h2 { margin-bottom: 14px; }
.rv-access > .rv-btn, .rv-access > .rv-copy { margin-bottom: 10px; }
.rv-dl-files { list-style: none; margin: 0 0 10px; padding: 0; display: grid; gap: 8px; }
.rv-dl-files li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--rv-bg); }
.rv-dl-files li span { display: grid; min-width: 0; }
.rv-dl-files li strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-dl-files .rv-btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.rv-facts { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.rv-note { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }
.rv-note p:last-child { margin: 0; }

@media (min-width: 560px) {
	.rv-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rv-links__row { grid-template-columns: 1fr 1.4fr; }
	.rv-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rv-grid--lib { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.rv-themes { grid-template-columns: repeat(8, minmax(0, 1fr)); }
	.rv-pitem { grid-template-columns: 64px minmax(0, 1fr) auto; }
	.rv-pitem__actions { grid-column: auto; }
}
@media (min-width: 960px) {
	.rv-shell { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 28px; align-items: start; }
	.rv-side { display: block; position: sticky; top: 86px; }
	.rv-onboard { grid-template-columns: 1fr 440px; gap: 48px; align-items: center; padding: 20px 0; }
	.rv-split--dash { grid-template-columns: minmax(0, 1fr) 320px; }
	.rv-split--form { grid-template-columns: minmax(0, 1fr) 320px; }
	.rv-split--preview { grid-template-columns: minmax(0, 1fr) 320px; }
	.rv-phone { display: block; position: sticky; top: 86px; }
	.rv-type-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* Affiliate hub */
.rv-aff-filter { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 14px; }
.rv-aff-filter input, .rv-aff-filter select { width: 100%; border: 1.5px solid var(--rv-line); border-radius: 12px; padding: 10px 12px; font: 500 14px var(--rv-font); background: #fff; }
.rv-aff-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.rv-aff-card { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; margin: 0; padding: 12px; }
.rv-aff-card__media { position: relative; width: 84px; height: 84px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--rv-brand-50); color: var(--rv-brand) !important; }
.rv-aff-card__media img { width: 100%; height: 100%; object-fit: cover; }
.rv-aff-card__media em { position: absolute; left: 6px; top: 6px; font-style: normal; font-size: 11px; font-weight: 800; color: #fff; background: linear-gradient(135deg, #16a34a, #15803d); padding: 2px 7px; border-radius: 999px; }
.rv-aff-card__body { display: grid; gap: 2px; min-width: 0; align-content: start; }
.rv-aff-card__body strong { line-height: 1.3; }
.rv-aff-card__price { font-size: 13px; color: var(--rv-text-2); }
.rv-aff-card__earn { font-size: 13px; color: var(--rv-ok); }
.rv-aff-card__actions { grid-column: 1 / -1; display: flex; gap: 8px; }
.rv-aff-card__actions .rv-btn:first-child { flex: 1; }
button.rv-chip { border: 0; cursor: pointer; font-family: inherit; }
.rv-aff-box { background: var(--rv-brand-50); border-radius: 14px; padding: 14px !important; border: 1px dashed var(--rv-brand-100) !important; }
@media (min-width: 560px) {
	.rv-aff-filter { grid-template-columns: 2fr 1fr 1fr 1fr auto; align-items: center; }
	.rv-aff-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1200px) { .rv-aff-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rv-badge--refunded, .rv-badge--blocked { background: #fee2e2; color: #991b1b; }
.rv-stars { color: #f59e0b; letter-spacing: 1px; }
.rv-star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rv-star-input input { position: absolute; opacity: 0; }
.rv-star-input label { font-size: 32px; line-height: 1; color: #cbd5e1; cursor: pointer; transition: transform .15s; }
.rv-star-input label:hover, .rv-star-input label:hover ~ label, .rv-star-input input:checked ~ label { color: #f59e0b; }
.rv-star-input label:active { transform: scale(.9); }

/* Licenses & developer */
.rv-key { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; font-weight: 700; letter-spacing: .03em; background: var(--rv-brand-50, #eef4ff); color: var(--rv-brand-700, #1d4ed8); padding: 3px 7px; border-radius: 6px; white-space: nowrap; }
.rv-nowrap { white-space: nowrap; }
.rv-menu-pop { position: relative; display: inline-block; }
.rv-menu-pop > summary { list-style: none; cursor: pointer; }
.rv-menu-pop > summary::-webkit-details-marker { display: none; }
.rv-menu-pop__body { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 8px; }
.rv-menu-pop__body form { margin: 0; }
.rv-menu-pop__body input[type=number] { width: 90px; padding: 7px 10px; border: 1px solid var(--rv-line); border-radius: 10px; }
.rv-subrow td { padding-top: 0; }
.rv-table tr:has(+ .rv-subrow) td { border-bottom: 0; }
.rv-menu-pop .rv-inline { display: flex; gap: 8px; align-items: center; }
.rv-menu-pop .rv-inline label { display: flex; gap: 8px; align-items: center; font-size: 13px; }
.rv-secret { display: flex; gap: 8px; align-items: center; }
.rv-secret input { flex: 1; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13px; }
.rv-newkey { border: 2px solid var(--rv-brand-600, #2f62d6); }
.rv-codeblock { background: #0f172a; color: #e2e8f0; border-radius: 12px; padding: 14px 16px; overflow-x: auto; font: 12.5px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; white-space: pre; margin: 8px 0 0; }
.rv-lic-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.rv-lic-list li { border: 1px solid var(--rv-line); border-radius: 12px; padding: 12px; }
.rv-lic-list .rv-copy { margin-top: 6px; }
.rv-lic-list .rv-copy input { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; letter-spacing: .04em; }
.rv-lic-acts { margin: 8px 0 0; padding: 0; list-style: none; font-size: 13px; }
.rv-lic-acts li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 4px 0; border: 0; }
.rv-inline-form { flex-direction: row; align-items: flex-end; flex-wrap: wrap; margin-top: 12px; }
.rv-inline-form label { flex: 1 1 220px; }
.rv-actions-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.rv-list-plain { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.rv-secret + .rv-actions-row, .rv-card > .rv-label { margin-top: 14px; display: block; }
.rv-dl dd code { word-break: break-all; white-space: normal; font-size: 12.5px; }

/* 404 page */
.rv-404 { padding: 28px 0 56px; background: radial-gradient(900px 420px at 50% -120px, var(--rv-brand-50), transparent 70%); }
.rv-404__hero { max-width: 560px; margin: 0 auto; text-align: center; }
.rv-404__art { display: block; width: min(320px, 82vw); height: auto; margin: 0 auto 10px; }
.rv-404__hero h1 { margin: 6px 0 10px; font-size: clamp(26px, 6vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.15; }
.rv-404__hero > p { margin: 0 auto 22px; max-width: 460px; font-size: 16px; line-height: 1.6; }
.rv-404__search { display: flex; align-items: center; gap: 6px; padding: 6px 6px 6px 14px; background: #fff; border: 1px solid var(--rv-line); border-radius: 16px; box-shadow: 0 8px 24px rgba(35, 64, 184, .08); }
.rv-404__search:focus-within { border-color: var(--rv-brand-600); box-shadow: 0 0 0 4px rgba(47, 98, 214, .14); }
.rv-404__prefix { color: var(--rv-muted); font-weight: 600; font-size: 15px; white-space: nowrap; }
.rv-404__search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15px; font-weight: 600; color: var(--rv-text); padding: 8px 0; }
.rv-404__search .rv-btn { flex: none; }
.rv-404__actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.rv-404__links { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; max-width: 880px; margin: 40px auto 0; }
.rv-404__links .rv-card { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; text-decoration: none; color: var(--rv-text) !important; transition: border-color .2s, transform .2s; }
.rv-404__links .rv-card:hover { border-color: var(--rv-brand-100); transform: translateY(-2px); }
.rv-404__links small { color: var(--rv-muted); font-size: 13px; overflow-wrap: anywhere; }
@media (max-width: 420px) { .rv-404__prefix { display: none; } .rv-404__search { padding-left: 12px; } }

/* Sandbox */
.rv-sandbox-bar { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: repeating-linear-gradient(-45deg, #fff7e6, #fff7e6 10px, #fff1d6 10px, #fff1d6 20px); border: 1px solid #f5c26b; color: #7a4b00; font-size: 13.5px; line-height: 1.5; }
.rv-sandbox-bar strong { display: inline-block; margin-right: 6px; padding: 1px 8px; border-radius: 999px; background: #f59e0b; color: #fff; font-size: 11px; letter-spacing: .05em; text-transform: uppercase; }
.rv-paybox--sandbox .rv-btn + .rv-btn { margin-top: 8px; }
.rv-badge--test { background: #fff1d6; color: #9a5b00; }
.rv-mode-toggle { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-mode-toggle label { flex: 1 1 140px; }
.rv-inline-block { display: inline-block; margin: 0 4px 4px 0; }
