/* =============================
   Vista Urbana — Minimal Swiss-style Landing
   ============================= */

/* Web font (thin, neutral sans) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600&display=swap');

/* ---- CSS Variables ---- */
.vu-root {
	--bg: #ffffff;
	--text: #0a0a0a;
	--muted: #666666;
	--line: #e6e6e6; /* grid + hairlines */
	--card: #ffffff;
	--accent: #111111; /* used sparingly */
	--surface-1: #ffffff;
	--surface-2: #f7f7f7;
	--surface-3: #efefef;
	--on-accent: #ffffff;   /* text/icon on --accent backgrounds */
	--text-soft: #404040;   /* secondary body text */
	--green: #10b981;
	--yellow: #f59e0b;
	--red: #dc2626;
	--accent-dim: rgba(0,0,0,0.04);
	--radius: 8px;
	--radius-sm: 4px;
	--shadow: 0 2px 8px rgba(0,0,0,0.08);
	--bg-image-opacity: 0.2;
	--bg-image-filter: none;
	--terminal-bg: #f8f8f8;
	--terminal-text: #111111;
	--terminal-header-bg: #ffffff;
	--terminal-header-text: #111111;
	--terminal-border: #d9d9d9;
	--terminal-prompt: #666666;
	--font-sans: "Inter", "Helvetica Neue", "Neue Haas Grotesk", Arial, system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
	--cursorX: 50%;
	--cursorY: 50%;
	--revealSize: 0px; /* updated by JS */
	--footer-h: 64px; /* unified footer height */
	/* Background image URL: start with tiny LQIP; JS upgrades post-load */
	--bg-image-url: url('/assets/images/urban_city_sp.webp');

	/* layout to keep footer height fixed and pinned to bottom */
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

html[data-theme="light"] {
	color-scheme: light;
}

html[data-theme="dark"] {
	color-scheme: dark;
}

html[data-theme="dark"] .vu-root,
body[data-theme="dark"] .vu-root {
	--bg: #000000;
	--text: #e6e6e6;
	--muted: #a3a3a3;
	--line: #222222;
	--card: #0b0b0b;
	--accent: #ffffff;
	--surface-1: #0b0b0b;
	--surface-2: #141414;
	--surface-3: #1c1c1c;
	--on-accent: #000000;
	--text-soft: #cccccc;
	--green: #34d399;
	--yellow: #fbbf24;
	--red: #f87171;
	--accent-dim: rgba(255,255,255,0.06);
	--bg-image-opacity: 0.34;
	--bg-image-filter: invert(1) hue-rotate(180deg) brightness(0.48) saturate(0.9) contrast(1.08);
	--terminal-bg: #000000;
	--terminal-text: #e6e6e6;
	--terminal-header-bg: #0a0a0a;
	--terminal-header-text: #00ff7f;
	--terminal-border: #222222;
	--terminal-prompt: #9b9b9b;
}

/* ---- Global Reset & Typography ---- */
.vu-root *, .vu-root *::before, .vu-root *::after { box-sizing: border-box; }
.vu-root {
	margin: 0;
	color: var(--text);
	background-color: var(--bg);
	font-family: var(--font-sans);
	font-weight: 300; /* lean, minimal default weight */
	line-height: 1.6;
	letter-spacing: 0.01em;
    overflow-x: hidden;
}

.vu-root [hidden] { display: none !important; }

/* Background image layer (below overlay, covers viewport) */

.vu-root::before {
	content: "";
	position: fixed; inset: 0; z-index: 0; pointer-events: none;
	background-image: var(--bg-image-url);
	background-size: cover; background-position: center; background-repeat: no-repeat;
	filter: var(--bg-image-filter);
	opacity: var(--bg-image-opacity);
}

/* Disable background overlay image when embedded into legacy pages */
body.has-v2-header .vu-root::before { display: none; }

/* Respect user's data-saving preference */
@media (prefers-reduced-data: reduce) {
	.vu-root::before { display: none; }
}

.vu-root img { max-width: 100%; height: auto; display: block; }
.vu-root a { color: inherit; text-decoration: none; }
.vu-root a:hover { text-decoration: underline; }

.vu-root .container { width: 96%; max-width: 1400px; margin: 0 auto; }

/* Main grows, footer stays fixed height */
.vu-root .content { flex: 1 0 auto; }

/* ---- Background Overlay (revealed by cursor) ---- */
.vu-root .background-overlay { display: none; }

/* Explicitly allow hiding via aria-hidden="false" on demand */
.vu-root .background-overlay[aria-hidden="false"],
.vu-root .reveal-canvas[aria-hidden="false"] { display: none !important; }

/* Canvas-based fluid reveal overlay (drawn in JS) */

.vu-root .reveal-canvas {
	position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
	z-index: 1; pointer-events: none; display: block;
}

/* ---- Header ---- */
.vu-root .site-header {
	position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
	background: rgba(255, 255, 255, 0);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(1.5px);
}
.vu-root .header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; max-width: none; width: 100%; overflow: visible; }
.vu-root .market-header .header-inner { padding: 18px 53px; }
.vu-root .market-header .main-nav a { font-weight: 500; }
.vu-root .header-left { display: flex; align-items: center; gap: 12px; }
.vu-root .header-back-btn { display: flex; align-items: center; justify-content: center; padding: 8px; color: inherit; text-decoration: none; border-radius: 50%; transition: background 160ms ease; }
.vu-root .header-back-btn:hover { background: rgba(0,0,0,0.06); color: inherit; }
.vu-root .header-back-btn svg { width: 24px; height: 24px; }
.vu-root .sidebar-toggle { width: 36px; height: 36px; border-radius: 50%; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.vu-root .sidebar-toggle:hover { background: rgba(0,0,0,0.06); }
.vu-root .sidebar-toggle:focus-visible { outline: 2px solid rgba(0,0,0,0.2); outline-offset: 2px; border-radius: 50%; }
.vu-root .sidebar-toggle .menu-icon { position: relative; width: 18px; height: 2px; background: rgba(0,0,0,0.8); border-radius: 1px; display: block; }
.vu-root .sidebar-toggle .menu-icon::before, .vu-root .sidebar-toggle .menu-icon::after { content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: rgba(0,0,0,0.8); border-radius: 1px; }
.vu-root .sidebar-toggle .menu-icon::before { top: -6px; }
.vu-root .sidebar-toggle .menu-icon::after { top: 6px; }
.vu-root .sidebar-toggle .menu-icon-grid { display: none; }
.vu-root .logo { display: inline-flex; align-items: center; height: 32px; }
.vu-root .logo img { height: 30px; width: auto; display: block; }
.vu-root .header-search { width: min(520px, 40vw); margin-left: 6px; }
.vu-root .main-nav { overflow: visible; }
.vu-root .main-nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; align-items: center; overflow: visible; }
.vu-root .main-nav a { font-size: 0.95rem; font-weight: 500; }
.vu-root .main-nav a:hover { opacity: 0.7; text-decoration: none; }
.vu-root .menu-toggle { display: none; }
.vu-root .nav-right { justify-content: flex-end; }
.vu-root .apps-wrapper { position: relative; }
.vu-root .apps-btn { width: 40px; height: 40px; border-radius: 50%; border: none; background: transparent; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; z-index: 30; pointer-events: auto; }
.vu-root .apps-btn:hover { background: rgba(0,0,0,0.06); }
.vu-root .apps-btn:focus-visible { outline: 2px solid rgba(0,0,0,0.2); outline-offset: 2px; border-radius: 50%; }
.vu-root .apps-btn .grid { display: grid; grid-template-columns: repeat(2, 4px); grid-template-rows: repeat(2, 4px); gap: 6px; }
.vu-root .apps-btn .sq { width: 4px; height: 4px; background: rgba(0,0,0,0.82); border-radius: 50%; }
.vu-root .theme-toggle-btn {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 1px solid var(--line);
	background: var(--surface-1);
	color: var(--text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0;
	cursor: pointer;
	padding: 0;
}
.vu-root .theme-toggle-btn:hover {
	background: var(--surface-2);
}
.vu-root .theme-toggle-btn:focus-visible {
	outline: 2px solid rgba(0,0,0,0.25);
	outline-offset: 2px;
}
.vu-root .theme-toggle-btn .theme-icon {
	display: none;
}
.vu-root .theme-toggle-btn .theme-toggle-text {
	display: none;
}
html[data-theme="dark"] .vu-root .theme-toggle-btn .theme-icon-sun,
html[data-theme="light"] .vu-root .theme-toggle-btn .theme-icon-moon,
html:not([data-theme="dark"]) .vu-root .theme-toggle-btn .theme-icon-moon {
	display: block;
}

/* Apps dropdown */
.vu-root .apps-menu { position: absolute; top: 46px; right: 0; width: 340px; background: var(--surface-1); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.14); padding: 10px; display: none; z-index: 1000; pointer-events: auto; }
.vu-root .apps-menu.open { display: block; }
.vu-root .apps-wrapper.open .apps-menu { display: block; }
.vu-root .apps-menu-header { padding: 8px 10px; border-radius: 10px; background: var(--surface-2); font-size: 0.9rem; margin-bottom: 10px; }
.vu-root .apps-menu-body { max-height: 300px; overflow: auto; padding: 6px; }
.vu-root .apps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 6px; }
.vu-root .app-item { display: grid; grid-template-rows: auto auto; gap: 8px; place-items: center; height: 86px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font-weight: 500; text-align: center; color: var(--text); }
.vu-root .app-item .icon { width: 26px; height: 26px; color: var(--text); }
.vu-root .app-item span { font-size: 0.9rem; }
.vu-root .app-item:hover { background: var(--surface-2); text-decoration: none; box-shadow: 0 6px 16px rgba(0,0,0,0.06); }
.vu-root .app-item-status .status-icon-slot { width: 26px; height: 26px; display: grid; place-items: center; }
.vu-root .status-dot { width: 8px; height: 8px; border-radius: 999px; display: inline-block; flex-shrink: 0; background: #f5b301; box-shadow: 0 0 0 2px rgba(245, 179, 1, 0.2); }
.vu-root .status-dot--ok { background: #22c55e; box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.2); }
.vu-root .status-dot--warn { background: #f5b301; box-shadow: 0 0 0 2px rgba(245, 179, 1, 0.2); }
.vu-root .status-dot--down { background: #ef4444; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.22); }
.vu-root .divider { height: 1px; background: var(--line); margin: 12px 6px; border-radius: 1px; }
.vu-root .apps-more-btn { display: block; margin: 12px auto 6px; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; width: calc(100% - 24px); text-align: center; font-weight: 600; color: #2b5fd9; }
.vu-root .apps-more-btn:hover { background: var(--surface-2); text-decoration: none; }
.vu-root .avatar { display: none; }
.vu-root .login-btn { 
	padding: 8px 14px; 
	border: 1px solid #000000; 
	border-radius: 16px; 
	font-weight: 500; 
	background-color: #000000;
	color: #ffffff;
}
.vu-root .login-btn:hover { background: #000000; color: #ffffff; text-decoration: none; }

/* Property actions (listing manager) — match login-btn look, no text wrap */
.vu-root .property-action-btn {
	padding: 8px 14px;
	border: 1px solid #000000;
	border-radius: 16px;
	font-weight: 500;
	background-color: #000000;
	color: #ffffff;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.vu-root .property-action-btn:hover { background: #000000; color: #ffffff; text-decoration: none; }
.vu-root .property-action-btn-outline {
	padding: 8px 14px;
	border: 1px solid #000000;
	border-radius: 16px;
	font-weight: 500;
	background-color: transparent;
	color: #000000;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	cursor: pointer;
}
.vu-root .property-action-btn-outline:hover { background: rgba(0,0,0,0.06); color: #000000; text-decoration: none; }

/* Unlock-more CTA as outline — same style as Share, but larger size (overrides injected .unlock-more-btn fill) */
.vu-root .unlock-more-btn.property-action-btn-outline {
	background-color: transparent !important;
	color: #000000 !important;
	border: 1px solid #000000 !important;
	padding: 14px 28px;
	font-size: 16px;
	font-weight: 600;
}
.vu-root .unlock-more-btn.property-action-btn-outline:hover {
	background: rgba(0,0,0,0.06) !important;
	color: #000000 !important;
}

/* Close button — same invert (outline) as vu_style, all .vu-root .property-details-close */
.vu-root .mobile-actions .property-details-close,
.vu-root .property-details-close {
	width: 32px;
	height: 32px;
	min-width: 32px;
	padding: 0;
	border: 1px solid #000000;
	border-radius: 16px;
	font-weight: 500;
	background-color: transparent;
	color: #000000;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 160ms ease, color 160ms ease;
}
.vu-root .mobile-actions .property-details-close:hover,
.vu-root .property-details-close:hover {
	background: rgb(0, 0, 0);
	color: #ffffff;
}

/* User Menu (similar to apps menu) */
.vu-root .user-wrapper { position: relative; }
.vu-root .user-btn { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: none; background: transparent; border-radius: 20px; cursor: pointer; font-family: inherit; }
.vu-root .user-btn:hover { background: rgba(0,0,0,0.06); }
.vu-root .user-btn:focus-visible { outline: 2px solid rgba(0,0,0,0.2); outline-offset: 2px; }
.vu-root .user-avatar { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.vu-root .user-name { font-size: 0.9rem; font-weight: 500; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vu-root .user-chevron { width: 16px; height: 16px; transition: transform 180ms ease; }
.vu-root .user-wrapper.open .user-chevron { transform: rotate(180deg); }

/* User dropdown menu */
.vu-root .user-menu { position: absolute; top: 46px; right: 0; width: 280px; background: var(--surface-1); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(0,0,0,0.14); display: none; z-index: 1000; pointer-events: auto; }
.vu-root .user-menu.open { display: block; }
.vu-root .user-wrapper.open .user-menu { display: block; }

.vu-root .user-menu-header { padding: 16px; border-bottom: 1px solid var(--line); }
.vu-root .user-info { display: flex; align-items: center; gap: 12px; }
.vu-root .user-menu-avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; }
.vu-root .user-details { flex: 1; min-width: 0; }
.vu-root .user-menu-name { font-weight: 600; font-size: 0.95rem; margin-bottom: 2px; }
.vu-root .user-menu-email { font-size: 0.85rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.vu-root .user-menu-body { padding: 8px; }
.vu-root .user-menu-section { margin-bottom: 8px; }
.vu-root .user-menu-section:last-child { margin-bottom: 0; }
.vu-root .user-menu-item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--text); text-decoration: none; transition: background 160ms ease; }
.vu-root .user-menu-item:hover { background: var(--surface-2); text-decoration: none; }
.vu-root .user-menu-icon { width: 18px; height: 18px; flex-shrink: 0; }
.vu-root .user-menu-item span { font-size: 0.9rem; font-weight: 500; }

/* ---- Header: On-Dark Variant ---- */
.vu-root .site-header.on-dark .sidebar-toggle .menu-icon,
.vu-root .site-header.on-dark .sidebar-toggle .menu-icon::before,
.vu-root .site-header.on-dark .sidebar-toggle .menu-icon::after {
  background: rgba(255,255,255,0.9);
}
.vu-root .site-header.on-dark .sidebar-toggle .menu-icon-grid .sq {
  background: rgba(255,255,255,0.9);
}
.vu-root .site-header.on-dark .sidebar-toggle .menu-icon-x {
  color: rgba(255,255,255,0.9);
}
.vu-root .site-header.on-dark .apps-btn .sq {
  background: rgba(255,255,255,0.9);
}
.vu-root .site-header.on-dark,
.vu-root .site-header.on-dark .map-nav-btn,
.vu-root .site-header.on-dark .main-nav a,
.vu-root .site-header.on-dark .login-btn {
  color: #fff;
}
.vu-root .site-header.on-dark .apps-menu,
.vu-root .site-header.on-dark .user-menu {
  background: #0b0b0b;
  color: #fff;
  border-color: #222;
}
.vu-root .site-header.on-dark .apps-menu-header {
  background: #222;
  color: #fff;
}
.vu-root .site-header.on-dark .app-item {
  background: #1a1a1a;
  border-color: #333;
  color: #fff;
}
.vu-root .site-header.on-dark .app-item:hover {
  background: #2a2a2a;
}
.vu-root .site-header.on-dark .app-item .icon {
  color: #fff;
}
.vu-root .site-header.on-dark .divider {
  background: #333;
}
.vu-root .site-header.on-dark .apps-more-btn {
  border-color: #444;
  color: #fff;
}
.vu-root .site-header.on-dark .apps-more-btn:hover {
  background: #222;
}
.vu-root .site-header.on-dark .user-menu-item:hover {
  background: #222;
}

.vu-root .site-header.on-dark .user-menu-item:hover {
  background: #222;
}

.vu-root .site-header.on-dark .apps-menu-body::-webkit-scrollbar {
  width: 8px;
}

.vu-root .site-header.on-dark .apps-menu-body::-webkit-scrollbar-track {
  background: #1a1a1a;
  border-radius: 10px;
}

.vu-root .site-header.on-dark .apps-menu-body::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 10px;
}

.vu-root .site-header.on-dark .apps-menu-body::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* ---- Header: Global Dark Theme ---- */
html[data-theme="dark"] .vu-root .site-header,
body[data-theme="dark"] .vu-root .site-header {
	color: #ffffff;
	background: #000000 !important;
	border-bottom: 1px solid #161616;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}
html[data-theme="dark"] .vu-root .site-header.market-header .header-inner,
body[data-theme="dark"] .vu-root .site-header.market-header .header-inner {
	background: #000000 !important;
}
html[data-theme="dark"] .vu-root .header-back-btn:hover,
html[data-theme="dark"] .vu-root .sidebar-toggle:hover,
html[data-theme="dark"] .vu-root .apps-btn:hover,
html[data-theme="dark"] .vu-root .user-btn:hover {
	background: rgba(255,255,255,0.08);
}
html[data-theme="dark"] .vu-root .sidebar-toggle .menu-icon,
html[data-theme="dark"] .vu-root .sidebar-toggle .menu-icon::before,
html[data-theme="dark"] .vu-root .sidebar-toggle .menu-icon::after,
html[data-theme="dark"] .vu-root .apps-btn .sq,
html[data-theme="dark"] .vu-root .sidebar-toggle .menu-icon-grid .sq {
	background: rgba(255,255,255,0.92);
}
html[data-theme="dark"] .vu-root .sidebar-toggle .menu-icon-x,
html[data-theme="dark"] .vu-root .main-nav a,
html[data-theme="dark"] .vu-root .map-nav-btn {
	color: #ffffff;
}
html[data-theme="dark"] .vu-root .search-icon-left {
	color: rgba(255,255,255,0.82);
}
html[data-theme="dark"] .vu-root .search-input-container {
	background: rgba(0,0,0,0.72);
	border-color: #2a2a2a;
	box-shadow: 0 1px 6px rgba(0,0,0,0.28);
}
html[data-theme="dark"] .vu-root .search-bar input {
	color: #ffffff;
}
html[data-theme="dark"] .vu-root .search-bar input::placeholder {
	color: #9d9d9d;
}
html[data-theme="dark"] .vu-root .apps-menu,
html[data-theme="dark"] .vu-root .user-menu {
	background: #0b0b0b;
	border-color: #222;
}
html[data-theme="dark"] .vu-root .apps-menu-header,
html[data-theme="dark"] .vu-root .app-item:hover,
html[data-theme="dark"] .vu-root .user-menu-item:hover {
	background: #141414;
}
html[data-theme="dark"] .vu-root .app-item {
	background: #111;
	border-color: #2a2a2a;
}
html[data-theme="dark"] .vu-root .theme-toggle-btn {
	background: #000;
	border-color: #333;
	color: #fff;
}
html[data-theme="dark"] .vu-root .theme-toggle-btn:hover {
	background: #1a1a1a;
}
html[data-theme="dark"] .vu-root .login-btn {
	background: transparent;
	color: #ffffff;
	border-color: #ffffff;
}
html[data-theme="dark"] .vu-root .login-btn:hover {
	background: #ffffff;
	color: #000000;
}
html[data-theme="dark"] .vu-root .mobile-login-btn {
	background: #ffffff;
	color: #000 !important;
	border-color: #ffffff;
}
html[data-theme="dark"] .vu-root .mobile-login-btn:hover {
	background: #f2f2f2;
}
html[data-theme="dark"] .vu-root .mobile-signup-btn {
	color: #ffffff;
	border-color: #ffffff;
}
html[data-theme="dark"] .vu-root .mobile-signup-btn:hover {
	background: rgba(255,255,255,0.10);
	color: #ffffff;
}
html[data-theme="dark"] .vu-root .property-action-btn {
	background: #ffffff;
	color: #000000;
	border-color: #ffffff;
}
html[data-theme="dark"] .vu-root .property-action-btn:hover {
	background: #f2f2f2;
	color: #000000;
}
html[data-theme="dark"] .vu-root .property-action-btn-outline {
	color: #ffffff;
	border-color: #ffffff;
}
html[data-theme="dark"] .vu-root .property-action-btn-outline:hover {
	background: rgba(255,255,255,0.10);
	color: #ffffff;
}
html[data-theme="dark"] .vu-root .mobile-nav-ul li {
	border-bottom-color: rgba(255,255,255,0.10);
}
html[data-theme="dark"] .vu-root .mobile-nav-offcanvas.offcanvas,
html[data-theme="dark"] .vu-root .mobile-nav-footer {
	background: #000;
}
html[data-theme="dark"] .vu-root .mobile-nav-theme-toggle {
	background: #0b0b0b;
	border-color: #333;
	color: #fff;
}
html[data-theme="dark"] .vu-root .mobile-nav-theme-toggle:hover {
	background: #151515;
}
html[data-theme="dark"] .vu-root .mobile-nav-accessibility-toggle {
	background: #0b0b0b;
	border-color: #333;
	color: #fff;
}
html[data-theme="dark"] .vu-root .mobile-nav-accessibility-toggle:hover {
	background: #151515;
}
html[data-theme="dark"] .vu-root .mobile-nav-accessibility-toggle:focus-visible,
html[data-theme="dark"] .vu-root .sidebar-toggle:focus-visible,
html[data-theme="dark"] .vu-root .apps-btn:focus-visible,
html[data-theme="dark"] .vu-root .user-btn:focus-visible,
html[data-theme="dark"] .vu-root .theme-toggle-btn:focus-visible,
html[data-theme="dark"] .vu-root .mobile-nav-theme-toggle:focus-visible {
	outline-color: rgba(255,255,255,0.4);
}

/* ---- Hero ---- */
.vu-root .hero { position: relative; z-index: 2; display: grid; place-items: center; text-align: center; min-height: 91vh; padding: 111px 0 60px 0; }
.vu-root .hero-inner { max-width: 920px; }
.vu-root .logo-center { margin: 0 0 47px 0; }
.vu-root .logo-center-img { width: min(380px, 60vw); height: auto; display: block; margin: 0 auto; }
.vu-root .search-bar { 
  width: min(740px, 90vw); 
  margin: 0 auto; 
  position: relative; 
  z-index: 3000;
  display: block;
}

.vu-root .search-input-container {
  display: flex;
  align-items: center;
  padding: 14px 24px;
  border: 1px solid #e8e8e8;
  border-radius: 50px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  max-width: 100%;
}

.vu-root .search-icon-left {
  flex-shrink: 0;
  color: rgba(0,0,0,0.7);
  margin-right: 16px;
  width: 24px;
  height: 24px;
  display: block;
}

.vu-root .search-bar input { 
  flex: 1;
  width: 100%; 
  border: none; 
  outline: none; 
  font-size: 1rem; 
  font-weight: 400;
  color: #333;
  background: transparent; 
  padding: 0; 
}

.vu-root .search-clear { 
  width: 24px; 
  height: 24px; 
  border-radius: 50%; 
  display: grid; 
  place-items: center; 
  background: transparent; 
  border: none; 
  cursor: pointer; 
  color: rgba(0,0,0,0.8); 
  margin-left: 4px;
}

.vu-root .search-clear[hidden] {
  display: none;
}

.vu-root .search-clear svg { 
  display: block; 
}

.vu-root .search-suggestions { 
  list-style: none; 
  position: absolute; 
  left: 0; 
  right: 0;
  top: calc(100% - 1px); 
  width: 100%; 
  margin: 0; 
  padding: 8px 0; 
  background: #fff; 
  border-radius: 24px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  max-height: 320px; 
  overflow: auto; 
  z-index: 3100; 
}

.vu-root .search-suggestions li { 
  display: flex;
  align-items: center;
  padding: 20px 24px; 
  cursor: pointer; 
  font-size: 1rem;
  color: #333;
  border-bottom: 1px solid #f2f2f2;
  line-height: 1.3;
}

.vu-root .search-suggestions li:last-child {
  border-bottom: none;
}

.vu-root .search-suggestions li:hover { 
  background: #f8f8f8; 
}

.vu-root .suggestion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f0f0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  margin-right: 16px;
  flex-shrink: 0;
}

.vu-root .suggestion-icon.history-icon {
  background: #f0f0f0;
}

.vu-root .suggestion-icon.search-icon {
  background: #f0f0f0;
}

.vu-root .suggestion-icon svg {
  width: 20px;
  height: 20px;
  color: #555;
  display: inline-block;
}
.vu-root .avail-note { color: var(--muted); font-size: 0.95rem; margin: 18px 0 37px 0; }

/* Cards under beta note */
.vu-root .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 10px; }
.vu-root .card { text-align: left; border: 1px solid var(--line); background: var(--card); border-radius: 10px; padding: 16px; transition: transform 180ms ease, box-shadow 180ms ease; }
.vu-root .card h3 { margin: 0 0 6px 0; font-size: 1rem; font-weight: 500; }
.vu-root .card p { margin: 0; color: #555; font-size: 0.9rem; }
.vu-root .card:hover { transform: translateY(-2px); box-shadow: 0 10px 18px rgba(0,0,0,0.06); }

/* Stat Cards */
.vu-root .stats-grid { 
  display: grid !important; 
  grid-template-columns: repeat(2, 1fr) !important; 
  gap: 20px; 
  margin: 40px auto;
  max-width: 900px;
  width: 90%;
  grid-auto-flow: row;
}
.vu-root .stat-card { 
  text-align: left;
  border: 1px solid var(--line); 
  background: var(--card); 
  border-radius: 16px;
  padding: 30px 20px; 
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}
.vu-root .stat-card:hover { 
  transform: translateY(-2px); 
  box-shadow: 0 10px 18px rgba(0,0,0,0.06); 
}
.vu-root .stat-title { 
  margin: 0 0 16px 0; 
  color: var(--text); 
  font-size: 1rem; 
  font-weight: 400;
  max-width: 100%;
  text-align: left;
}
.vu-root .stat-content { 
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 8px;
}
.vu-root .stat-value { 
  margin: 0; 
  font-size: 1.4rem; 
  font-weight: 500; 
  line-height: 1.2;
}
.vu-root .stat-content .stat-value { justify-self: start; }
.vu-root .stat-trend { 
  display: flex; 
  align-items: center; 
  gap: 4px; 
  font-weight: 500; 
}
.vu-root .stat-content .stat-trend { justify-self: end; white-space: nowrap; }
.vu-root .stat-trend.positive { color: #28a745; }
.vu-root .stat-trend.negative { color: #dc3545; }

/* Desktop: hide mobile offcanvas and hide hamburger (sidebar-toggle) on non-map pages */
@media (min-width: 769px) {
  .vu-root .mobile-nav-offcanvas {
    display: none !important;
  }
  .vu-root .site-header:not(.map-mode) .sidebar-toggle {
    display: none !important;
  }
  .vu-root .logo.logo-show-on-offcanvas-open {
    display: none !important;
  }
}

/* Mobile-only: landing match prototype — 2x2 grid, card style, spacing (desktop unchanged) */
@media (max-width: 768px) {
  .vu-root .market-header .header-inner {
    padding: 12px 24px;
    background: var(--surface-1);
    max-width: none;
    width: 100%;
    margin: 0;
    transition: background 0.3s ease;
  }
  /* Landing: transparent header when offcanvas open for smooth transition */
  .vu-root.new-landing-root.mobile-nav-offcanvas-open .market-header .header-inner {
    background: transparent;
  }
  /* Header: hide main nav and header search; only logo + menu trigger (4-dots) visible. Trigger on the right. */
  .vu-root .site-header .main-nav {
    display: none !important;
  }
  .vu-root .site-header .header-search {
    display: none !important;
  }
  .vu-root .site-footer {
    display: none !important;
  }
  .vu-root .header-left {
    width: 100%;
    justify-content: space-between;
  }
  .vu-root .header-left .logo { order: 1; }
  .vu-root .header-left .sidebar-toggle { order: 2; margin-left: auto; }
  /* Landing: logo hidden by default, shown in header when offcanvas is open */
  .vu-root .header-left .logo.logo-show-on-offcanvas-open {
    display: none;
  }
  .vu-root.mobile-nav-offcanvas-open .header-left .logo.logo-show-on-offcanvas-open {
    display: inline-flex;
  }
  .vu-root .sidebar-toggle { position: relative; }
  .vu-root .sidebar-toggle .menu-icon { display: none !important; }
  .vu-root .sidebar-toggle .menu-icon-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 4px);
    grid-template-rows: repeat(2, 4px);
    gap: 6px;
  }
  .vu-root .sidebar-toggle .menu-icon-grid .sq {
    width: 4px;
    height: 4px;
    background: rgba(0,0,0,0.82);
    border-radius: 50%;
    transition: opacity 0.35s ease, transform 0.35s ease;
  }
  /* 4-dots to X: SVG paths draw from dots toward center; close retracts to dots */
  .vu-root .sidebar-toggle .menu-icon-x {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 18px;
    margin-left: -9px;
    margin-top: -9px;
    color: rgba(0,0,0,0.82);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease;
  }
  .vu-root .sidebar-toggle .menu-icon-x-svg {
    display: block;
    width: 100%;
    height: 100%;
  }
  .vu-root .sidebar-toggle .menu-icon-x-path {
    transition: stroke-dashoffset 0.35s ease;
  }
  .vu-root .sidebar-toggle .menu-icon-x-b { transition-delay: 0.04s; }
  .vu-root .sidebar-toggle .menu-icon-x-c { transition-delay: 0.08s; }
  .vu-root .sidebar-toggle .menu-icon-x-d { transition-delay: 0.12s; }
  /* Open: lines extend from center toward dots (exact reverse of close) */
  .vu-root .sidebar-toggle[aria-expanded="true"] .menu-icon-x-path {
    stroke-dashoffset: 0;
  }
  /* Closed: lines retract from dots toward center */
  .vu-root .sidebar-toggle:not([aria-expanded="true"]) .menu-icon-x-path {
    stroke-dashoffset: 8.5;
  }
  /* Keep dots visible when X is shown (lines connect the dots) */
  .vu-root .sidebar-toggle[aria-expanded="true"] .menu-icon-grid {
    opacity: 1;
  }
  .vu-root .sidebar-toggle[aria-expanded="true"] .menu-icon-x {
    opacity: 1;
  }
  /* Mobile offcanvas: full width, slides in below header; header stays visible */
  .vu-root .mobile-nav-offcanvas.offcanvas {
    --mobile-header-h: 60px;
    --bs-offcanvas-width: 100%;
    width: 100%;
    max-width: 100vw;
    top: var(--mobile-header-h);
    height: calc(100vh - var(--mobile-header-h));
    height: calc(100dvh - var(--mobile-header-h));
    max-height: calc(100vh - var(--mobile-header-h));
    max-height: calc(100dvh - var(--mobile-header-h));
    border-radius: 0;
  }
  /* Backdrop below header when mobile offcanvas is open */
  body:has(.vu-root.mobile-nav-offcanvas-open) .offcanvas-backdrop {
    top: 60px;
    height: calc(100vh - 60px);
    height: calc(100dvh - 60px);
  }
  /* Mobile offcanvas menu list styling (no header; content starts below header) */
  .vu-root .mobile-nav-offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    padding: 20px 0 0;
    overflow: hidden;
    min-height: 0;
  }
  .vu-root .mobile-nav-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 0;
  }
  .vu-root .mobile-nav-ul {
    list-style: none;
    margin: 0;
    padding: 0 20px;
  }
  .vu-root .mobile-nav-ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .vu-root .mobile-nav-ul li:last-child {
    border-bottom: none;
  }
  .vu-root .mobile-nav-ul a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
  }
  .vu-root .mobile-nav-ul a:hover {
    color: var(--text);
    opacity: 0.8;
    text-decoration: none;
  }
  .vu-root .mobile-nav-theme-toggle {
    border: 1px solid var(--line);
    background: var(--surface-1);
    color: var(--text);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 10px 12px;
    margin: 0;
    text-align: center;
    cursor: pointer;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .vu-root .mobile-nav-theme-toggle:hover {
    background: var(--surface-2);
  }
  .vu-root .mobile-nav-theme-toggle:focus-visible {
    outline: 2px solid rgba(0,0,0,0.3);
    outline-offset: 2px;
  }
  .vu-root .mobile-nav-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
    padding: 18px 0 8px !important;
    border-bottom: none !important;
  }
  .vu-root .mobile-nav-footer {
    flex-shrink: 0;
    border-top: 1px solid var(--line);
    padding: 0px 20px max(0px, env(safe-area-inset-bottom));
    margin-top: auto;
  }
  .vu-root .mobile-nav-footer .mobile-nav-ul {
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 16px;
  }
  .vu-root .mobile-nav-footer .mobile-nav-ul li {
    border-bottom: none;
  }
  .vu-root .mobile-nav-footer .mobile-nav-ul a {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--muted);
  }
  .vu-root .mobile-nav-footer .mobile-nav-ul a:hover {
    color: var(--text);
  }
  .vu-root .mobile-nav-footer-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 8px 0 10px;
  }
  /* Accessibility: invert layout toggle (menu from left, hamburger left, logo right) */
  .vu-root .mobile-nav-accessibility-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 12px;
    margin: 0;
    border: 1px solid var(--line);
    background: var(--surface-1);
    border-radius: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    cursor: pointer;
    text-align: center;
    min-height: 44px;
  }
  .vu-root .mobile-nav-accessibility-toggle:hover {
    background: var(--surface-2);
  }
  .vu-root .mobile-nav-accessibility-toggle:focus-visible {
    outline: 2px solid rgba(0,0,0,0.3);
    outline-offset: 2px;
  }
  /* Inverted: hamburger left, logo right, offcanvas from left */
  .vu-root.mobile-nav-inverted .header-left .logo { order: 2; margin-left: auto; }
  .vu-root.mobile-nav-inverted .header-left .sidebar-toggle { order: 1; margin-left: 0; }
  .vu-root .mobile-nav-auth-buttons {
    display: flex;
    gap: 12px;
    padding: 14px 20px;
    border-bottom: none;
    align-items: center;
  }
  .vu-root .mobile-nav-auth-buttons .mobile-login-btn,
  .vu-root .mobile-nav-auth-buttons .mobile-signup-btn {
    flex: 1;
    margin-top: 0;
    padding: 10px 16px !important;
    text-align: center;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
  }
  .vu-root .mobile-login-btn {
    border: 1px solid #000;
    border-radius: 16px;
    background: #000;
    color: #fff !important;
  }
  .vu-root .mobile-login-btn:hover {
    background: #222;
    color: #fff !important;
  }
  .vu-root .mobile-signup-btn {
    border: 1px solid #000;
    border-radius: 16px;
    background: transparent;
    color: #000;
  }
  .vu-root .mobile-signup-btn:hover {
    background: rgba(0,0,0,0.06);
    color: #000;
    text-decoration: none;
  }
  /* Hero: vertical padding, centered content, ~92% width */
  .vu-root .hero {
    padding: 72px 4% 40px;
    text-align: center;
  }
  .vu-root .hero-inner {
    width: 92%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .vu-root .logo-center {
    margin-bottom: 28px;
  }
  .vu-root .logo-center-img {
    width: min(280px, 78vw);
    height: auto;
  }
  .vu-root .search-bar {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 20px;
  }
  .vu-root .search-input-container {
    padding: 12px 18px;
    border-radius: 50px;
  }
  .vu-root .avail-note {
    margin: 0 0 24px;
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.4;
    padding: 0 4px;
  }
  /* Stats: 2x2 grid per prototype — two cards per row, consistent gap */
  .vu-root .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin: 0 auto 32px !important;
    width: 100% !important;
    max-width: none !important;
  }
  /* Cards: rounded, light border, white, compact padding to fit 2-up */
  .vu-root .stat-card {
    padding: 14px 12px !important;
    border-radius: 12px !important;
    border: 1px solid #e6e6e6 !important;
    background: #fff !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03) !important;
    min-width: 0;
    box-sizing: border-box;
  }
  .vu-root .stat-title {
    font-size: 0.75rem !important;
    margin-bottom: 10px !important;
    color: #555 !important;
    font-weight: 400 !important;
    line-height: 1.3;
    overflow-wrap: break-word;
    word-wrap: break-word;
  }
  /* Value + trend on same row (prototype) */
  .vu-root .stat-content {
    display: grid !important;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 6px 8px;
    min-width: 0;
  }
  .vu-root .stat-content .stat-value {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    line-height: 1.2;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .vu-root .stat-content .stat-trend {
    font-size: 0.75rem !important;
    white-space: nowrap;
    flex-shrink: 0;
    width: auto !important;
    margin-top: 0 !important;
  }
  /* Hide stat-trend (e.g. +1.07%) on mobile only for new landing stats-grid */
  .vu-root.new-landing-root .stats-grid .stat-trend.positive {
    display: none !important;
  }
  .vu-root .stat-value {
    font-size: 1.1rem;
  }
  /* New landing: block scroll (robust across iOS/Android) */
  html:has(.vu-root.new-landing-root),
  body:has(.vu-root.new-landing-root) {
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
    min-height: 100dvh;
  }
  body:has(.vu-root.new-landing-root) {
    position: fixed;
    width: 100%;
    touch-action: none;
  }
}

/* ---- Sections ---- */
.vu-root section { position: relative; z-index: 2; }
.vu-root .benefits, .vu-root .features, .vu-root .platform, .vu-root .about, .vu-root .contact { padding: 88px 0; }
.vu-root .benefits h2, .vu-root .features h2, .vu-root .platform h2, .vu-root .about h2, .vu-root .contact h2 { text-align: center; font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 28px; font-weight: 400; }

/* ---- Reports (search_forward) ---- */
.vu-root .reports-hero { padding: 170px 0 25px; text-align: left; }
.vu-root .reports-headline { max-width: 1000px; margin: 0 auto 0 0px; padding: 0 2%; }
.vu-root .reports-headline .hello { font-size: 32px; color: #111; margin-bottom: 6px; }
.vu-root .reports-headline h1 { margin: 0; font-weight: 400; letter-spacing: 0.01em; line-height: 1.3; font-size: clamp(1.4rem, 2.6vw, 2rem); }
.vu-root .reports-headline h1 strong { font-weight: 600; }
.vu-root .reports-sub { color: var(--muted); margin: 6px 0 18px; }
.vu-root .reports-toolbar { display: none; }
.vu-root .filter-pill { display: none; }
.vu-root .reports-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 60px 40px; min-height: 48vh; align-items: stretch; align-content: start; grid-auto-rows: max-content; }
.vu-root .reports-section { padding-bottom: 40px; }
.vu-root .content .container:last-of-type:not(.reports-section) { padding-bottom: 0px; }
.vu-root .report-card { border: 1px solid var(--line); border-radius: 16px; background: var(--card); padding: 22px 18px 6px; display: flex; flex-direction: column; justify-content: space-between; min-height: 200px; transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease; }
.vu-root .report-card:hover { box-shadow: 0 16px 32px rgba(0,0,0,0.06); transform: translateY(-2px); border-color: rgba(0,0,0,0.12); }
.vu-root .report-card-head { display: grid; gap: 8px; }
.vu-root .report-title { margin: 0; font-size: 1.45rem; font-weight: 600; color: var(--text); }
.vu-root .report-desc { margin: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.5; }
.vu-root .report-info { display: block; margin-top: 6px; font-size: 0.8rem; color: var(--muted); font-weight: 400; letter-spacing: 0.02em; }
/* Report datapoints - mobile only (hidden on desktop) */
.vu-root .report-datapoints { display: none; }

/* Reports mobile footer - hidden on desktop */
.vu-root .reports-mobile-footer { display: none; }
.vu-root .report-media { height: 96px; border: 1px solid rgba(0,0,0,0.06); border-radius: 12px; display: grid; place-items: center; color: #b7b7b7; background: linear-gradient(180deg, #fafafa, #ffffff); }
.vu-root .report-media .play { font-size: 20px; opacity: 0.55; }
.vu-root .report-price, .vu-root .report-credit, .vu-root .report-sub { display: inline-block; font-weight: 600; margin: 10px 0 8px; padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: #222; }
.vu-root .report-points { margin: 0 0 12px; padding: 0 0 0 18px; color: #444; line-height: 1.6; }
.vu-root .report-points li { margin: 0 0 6px 0; }
.vu-root .report-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.vu-root .report-badge { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid rgba(0,0,0,0.08); color: #111; font-size: 14px; }
.vu-root .report-badge .rb-icon { width: 18px; height: 18px; }
.vu-root .save-pill { padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 0.9rem; cursor: pointer; }
.vu-root .report-tags { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; }
.vu-root .report-tags li { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; }
.vu-root .report-divider { height: 1px; background: var(--line); border-radius: 1px; margin: 10px 0; }
.vu-root .report-bottom { 
  display: flex; 
  align-items: center; 
  justify-content: flex-end; 
  gap: 14px; 
  margin: 10px -18px -18px; /* stretch to card edges */
  padding: 10px 18px; 
  border-top: 1px solid var(--line); /* divider line */
  background: #f7f7f7; /* distinct area */
  border-radius: 0 0 16px 16px; 
}

/* Button styling inside report bottom to match mock */
.vu-root .report-bottom .secondary-btn { 
  border: none; 
  background: transparent; 
  color: #9a9a9a; 
  padding: 8px 10px; 
}
.vu-root .report-bottom .secondary-btn:hover { 
  background: transparent; 
  color: #666; 
}
.vu-root .report-bottom .primary-btn { 
  padding: 10px 16px; 
  border-radius: 12px; 
}
.vu-root .report-actions { margin-top: auto; }

/* Minimal, modern buttons */
.vu-root .primary-btn, .vu-root .secondary-btn { appearance: none; border: 1px solid var(--line); background: #fff; color: #111; font-weight: 600; padding: 9px 14px; border-radius: 10px; cursor: pointer; transition: background 160ms ease, box-shadow 160ms ease, transform 80ms ease; }
.vu-root .primary-btn { background: #111; color: #fff; border-color: #111; }
.vu-root .primary-btn:hover { box-shadow: 0 8px 18px rgba(0,0,0,0.18); transform: translateY(-1px); }
.vu-root .secondary-btn:hover { background: #f7f7f7; }
.vu-root .primary-btn:active, .vu-root .secondary-btn:active { transform: translateY(0); box-shadow: none; }

/* Reports page dark mode: align card palette with IPTU dark cards */
html[data-theme="dark"] .vu-root .reports-headline .hello,
html[data-theme="dark"] .vu-root .reports-headline h1 {
	color: #f5f5f5;
}

html[data-theme="dark"] .vu-root .report-card {
	background: #0b0b0b;
	border-color: #262626;
	box-shadow: none;
}

html[data-theme="dark"] .vu-root .report-card:hover {
	border-color: #323232;
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.45);
}

html[data-theme="dark"] .vu-root .report-title {
	color: #f5f5f5;
}

html[data-theme="dark"] .vu-root .report-desc,
html[data-theme="dark"] .vu-root .report-info,
html[data-theme="dark"] .vu-root .report-dp {
	color: #a3a3a3;
}

html[data-theme="dark"] .vu-root .report-datapoints {
	border-top-color: #262626;
}

html[data-theme="dark"] .vu-root .report-dp ion-icon {
	color: #8f8f8f;
}

html[data-theme="dark"] .vu-root .report-bottom {
	background: #121212;
	border-top-color: #262626;
}

html[data-theme="dark"] .vu-root .report-bottom .secondary-btn {
	color: #b0b0b0;
}

html[data-theme="dark"] .vu-root .report-bottom .secondary-btn:hover {
	color: #f5f5f5;
}

html[data-theme="dark"] .vu-root .report-bottom .primary-btn {
	background: #ffffff;
	color: #000000;
	border-color: #ffffff;
}

html[data-theme="dark"] .vu-root .report-bottom .primary-btn:hover {
	background: #f2f2f2;
}

html[data-theme="dark"] .vu-root .reports-section.container {
	background: linear-gradient(180deg, #000000 0%, #0b0b0b 100%);
}

html[data-theme="dark"] .vu-root .reports-mobile-footer {
	background: linear-gradient(180deg, #0b0b0b 0%, #000000 100%);
}

html[data-theme="dark"] .vu-root .reports-trust-strip {
	border-top-color: #262626;
}

html[data-theme="dark"] .vu-root .reports-trust-strip span,
html[data-theme="dark"] .vu-root .reports-swipe-hint {
	color: #a3a3a3;
}

html[data-theme="dark"] .vu-root .reports-carousel-dots span {
	background: rgba(255, 255, 255, 0.2);
}

html[data-theme="dark"] .vu-root .reports-carousel-dots span:first-child {
	background: rgba(255, 255, 255, 0.65);
}

/* ---- Marketplace ---- */
.vu-root .market-hero { background: #f7f9ff; border-bottom: 1px solid var(--line); padding: 104px 28px 28px 28px; }
.vu-root .market-hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 24px; }
.vu-root .market-hero-copy h1 { margin: 0 0 8px; font-weight: 400; }
.vu-root .market-hero-copy p { margin: 0 0 12px; color: #444; }
.vu-root .market-hero-graphic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; min-height: 120px; }
.vu-root .partner-logo { height: 56px; border-radius: 10px; background: linear-gradient(180deg, #ffffff, #eef3ff); border: 1px solid var(--line); box-shadow: 0 6px 14px rgba(0,0,0,0.06); }

.vu-root .market-body { padding: 130px 50px 60px; }
.vu-root .container.market-layout { width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
.vu-root .market-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 26px; }
.vu-root .market-sidebar { border-right: 1px solid var(--line); padding-right: 14px; }
.vu-root .market-sidebar h2 { margin: 0 0 10px; font-size: 1rem; font-weight: 600; }
.vu-root .market-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.vu-root .market-menu a { display: block; padding: 8px 10px; border-radius: 8px; }
.vu-root .market-menu a.active { background: var(--surface-2); font-weight: 600; }
.vu-root .market-menu a:hover { background: var(--surface-2); text-decoration: none; }

/* Sidebar collapse (toggled by header hamburger) */
.vu-root.sidebar-collapsed .market-layout { grid-template-columns: 1fr; }
.vu-root.sidebar-collapsed .market-sidebar { display: none; }

.vu-root .market-toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 16px; }
.vu-root .filter-chip { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; cursor: pointer; }

.vu-root .market-section { margin-bottom: 24px; }
.vu-root .section-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vu-root .section-header h2 { margin: 0; font-size: 1rem; font-weight: 600; }
.vu-root .section-see-more { color: #2b5fd9; font-weight: 500; }
.vu-root .apps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.vu-root .app-mini-card { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 8px 10px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 12px; align-items: start; }
.vu-root .mini-thumb { grid-column: 1 / span 2; height: 110px; border: 1px dashed var(--line); border-radius: 8px; background: #fafafa; }
.vu-root .mini-body h3 { margin: 0 0 4px; font-size: 0.98rem; font-weight: 600; }
.vu-root .mini-meta { font-size: 0.85rem; color: var(--muted); }

.vu-root .apps-cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.vu-root .app-card { position: relative; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 8px 12px; align-items: start; border: 1px solid var(--line); border-radius: 12px; background: var(--card); padding: 14px; }
.vu-root .app-thumb { grid-column: 1 / span 2; height: 140px; border: 1px dashed var(--line); border-radius: 8px; background: #fafafa; }
.vu-root .app-info h3 { margin: 0 0 4px; font-size: 1rem; font-weight: 600; }
.vu-root .app-info p { margin: 0 0 6px; color: #444; font-size: 0.95rem; }
.vu-root .app-meta { font-size: 0.85rem; color: var(--muted); }
.vu-root .app-cta { align-self: start; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; cursor: pointer; }
.vu-root .app-card:hover { box-shadow: 0 12px 20px rgba(0,0,0,0.06); transform: translateY(-2px); transition: box-shadow 160ms ease, transform 160ms ease; }

@media (max-width: 960px) {
	.vu-root .market-layout { grid-template-columns: 1fr; }
	.vu-root .market-sidebar { border-right: none; padding-right: 0; }
}

@media (max-width: 1040px) {
	.vu-root .market-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .vu-root .reports-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 24px;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .vu-root .reports-grid {
    min-height: auto;
  }
}

/* Mobile: reports page - no scroll, footer fixed at bottom */
@media (max-width: 768px) {
  html:has(body.reports-page) {
    height: 100%;
    overflow: hidden;
  }
  body.reports-page {
    height: 100%;
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  body.reports-page .vu-root {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .vu-root .content:has(.reports-section) {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
  }
  .vu-root .reports-hero {
    flex-shrink: 0;
    padding: 80px 0 8px;
  }
  .vu-root .reports-headline {
    padding: 0 4%;
  }
  .vu-root .reports-headline .hello {
    font-size: 20px;
    margin-bottom: 2px;
  }
  .vu-root .reports-headline h1 {
    font-size: 1rem;
    line-height: 1.3;
  }
  .vu-root .reports-section.container {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 110px;
    background: linear-gradient(180deg, #fff 0%, #f8f8f8 100%);
    overflow: hidden;
  }
  .vu-root .reports-grid {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 8px 4% 12px;
    scroll-padding-left: 4%;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .vu-root .reports-grid::-webkit-scrollbar {
    display: none;
  }
  .vu-root .reports-grid > .report-card,
  .vu-root .reports-grid > .coming-soon-tooltip {
    flex: 0 0 auto;
    width: 72vw;
    max-width: 280px;
    scroll-snap-align: start;
  }
  .vu-root .reports-grid .coming-soon-tooltip {
    display: block;
  }
  .vu-root .reports-grid .coming-soon-tooltip .report-card {
    height: auto;
  }
  .vu-root .report-card {
    min-height: 0;
    padding: 14px 12px 0;
    border-radius: 12px;
    justify-content: flex-start;
  }
  .vu-root .report-card-head {
    gap: 4px;
  }
  .vu-root .report-title {
    font-size: 1.1rem;
  }
  .vu-root .report-desc {
    font-size: 0.85rem;
    line-height: 1.35;
  }
  .vu-root .report-info {
    font-size: 0.7rem;
    margin-top: 4px;
  }
  .vu-root .report-datapoints {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .vu-root .report-dp {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    color: #666;
  }
  .vu-root .report-dp ion-icon {
    font-size: 0.85rem;
    color: #999;
  }
  .vu-root .report-bottom {
    margin: 8px -12px 0;
    padding: 8px 12px;
    gap: 8px;
  }
  .vu-root .report-bottom .secondary-btn,
  .vu-root .report-bottom .primary-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  /* Mobile footer: fixed at bottom of viewport, always visible */
  .vu-root .reports-mobile-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    padding: 16px 4% 24px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
    text-align: center;
    background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
    z-index: 100;
  }
  .vu-root .reports-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-bottom: 8px;
  }
  .vu-root .reports-carousel-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
  }
  .vu-root .reports-carousel-dots span:first-child {
    background: rgba(0,0,0,0.5);
  }
  .vu-root .reports-swipe-hint {
    font-size: 0.8rem;
    color: #999;
    margin: 0 0 14px;
  }
  .vu-root .reports-trust-strip {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,0.06);
  }
  .vu-root .reports-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #666;
  }
  .vu-root .reports-trust-strip ion-icon {
    font-size: 1rem;
    color: #999;
  }
}

/* Benefits */
.vu-root .benefit-cards { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.vu-root .benefit { flex: 1 1 260px; max-width: 360px; border: 1px solid var(--line); padding: 22px; background: var(--card); border-radius: 6px; }
.vu-root .benefit h3 { margin: 0 0 8px 0; font-size: 1.1rem; font-weight: 500; }
.vu-root .benefit p { margin: 0; color: #333; }

/* Features */
.vu-root .features { background: var(--surface-2); }
.vu-root .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.vu-root .feature-item { background: var(--card); border: 1px solid var(--line); padding: 20px; border-radius: 6px; transition: transform 220ms ease, box-shadow 220ms ease; }
.vu-root .feature-item:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(0,0,0,0.05); }
.vu-root .feature-item h3 { margin: 0 0 8px 0; font-size: 1.05rem; font-weight: 500; }
.vu-root .feature-item p { margin: 0; color: var(--muted); }

/* Platform */
.vu-root .platform p { text-align: center; max-width: 720px; margin: 0 auto 36px auto; color: var(--muted); }
.vu-root .capabilities { display: flex; flex-wrap: wrap; gap: 22px; justify-content: center; }
.vu-root .capability { flex: 1 1 180px; max-width: 220px; text-align: center; border: 1px solid var(--line); padding: 18px; border-radius: 6px; background: var(--card); transition: background 200ms ease; }
.vu-root .capability:hover { background: var(--surface-2); }

/* About / FAQ */
.vu-root .about { background: var(--surface-2); }
.vu-root .faqs { max-width: 720px; margin: 0 auto; }
.vu-root .faqs dt { font-weight: 500; margin-top: 18px; letter-spacing: 0.01em; }
.vu-root .faqs dd { margin: 6px 0 14px 0; color: var(--muted); }

/* Contact */
.vu-root .contact { text-align: center; }
.vu-root .waitlist-form { margin: 8px auto 20px auto; max-width: 460px; display: flex; }
.vu-root .waitlist-form input { flex: 1; padding: 12px; font-size: 1rem; border: 1px solid #cfcfcf; border-right: none; border-radius: 6px 0 0 6px; outline: none; }
.vu-root .waitlist-form button { padding: 12px 18px; font-size: 1rem; border: 1px solid #cfcfcf; border-left: none; border-radius: 0 6px 6px 0; background: #000; color: #fff; cursor: pointer; transition: background 200ms ease; }
.vu-root .waitlist-form button:hover { background: #222; }
.vu-root .contact-info { font-size: 0.95rem; color: var(--muted); line-height: 1.7; }
.vu-root .contact-info a { border-bottom: 1px dotted currentColor; }

/* Footer */
.vu-root .site-footer { position: relative; z-index: 2; background: var(--bg); border-top: 1px solid var(--line); height: var(--footer-h); padding: 0; display: grid; place-items: center; text-align: center; flex: 0 0 var(--footer-h); }
.vu-root .site-footer p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1; }
.vu-root .site-footer .container { height: 100%; display: flex; align-items: center; justify-content: space-between; width: 96%; max-width: 1750px; }
.vu-root .site-footer a { color: inherit; }
.vu-root .footer-links { display: flex; gap: 45px; font-size: 0.95rem; color: var(--text); }
.vu-root .footer-links a { font-weight: 500; }
.vu-root .footer-links a:hover { opacity: 0.75; text-decoration: none; }
.vu-root .footer-links.right { justify-content: flex-end; }

/* ---- Reveal Animations ---- */
.vu-root .reveal { opacity: 0; transform: translateY(20px); transition: opacity 600ms ease, transform 600ms ease; }
.vu-root .visible { opacity: 1; transform: translateY(0); }

/* ---- Coming Soon Tooltip (Standardized) ---- */
/* 
   Usage: Apply to wrapper element around disabled/coming soon items
   See documentation below for complete HTML pattern
*/
.vu-root .coming-soon-tooltip,
.coming-soon-tooltip {
	cursor: not-allowed;
	position: relative;
	display: block;
}

/* For grid items, ensure they maintain grid properties */
.reports-grid .coming-soon-tooltip {
	display: block;
	width: 100%;
	height: 100%;
}

.vu-root .coming-soon-tooltip[data-bs-toggle="tooltip"],
.coming-soon-tooltip[data-bs-toggle="tooltip"] {
	/* Wrapper attributes:
	   - data-bs-toggle="tooltip"
	   - data-bs-placement="left|top|bottom|right" (choose based on position)
	   - data-bs-html="true"
	   - data-bs-original-title="<span style='font-size:0.95em'><em>Coming Soon!</em></span>"
	*/
}

/* Child elements inside coming-soon-tooltip should be disabled and slightly faded */
.vu-root .coming-soon-tooltip > *,
.coming-soon-tooltip > * {
	pointer-events: none;
	opacity: 0.6;
	transition: opacity 160ms ease;
}

/* Hover brightens slightly to show it's interactive (for the tooltip) */
.vu-root .coming-soon-tooltip:hover > *,
.coming-soon-tooltip:hover > * {
	opacity: 0.75;
}

/* Ensure tooltips appear above dropdown menus (apps menu is z-index: 1000) */
.tooltip {
	z-index: 9999 !important;
}

.vu-root .tooltip {
	z-index: 9999 !important;
}

/* Fix tooltip arrow positioning */
.tooltip .tooltip-arrow {
	position: absolute;
}

.tooltip.bs-tooltip-top .tooltip-arrow,
.tooltip.bs-tooltip-auto[data-popper-placement^="top"] .tooltip-arrow {
	bottom: 0;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow,
.tooltip.bs-tooltip-auto[data-popper-placement^="bottom"] .tooltip-arrow {
	top: 0;
}

.tooltip.bs-tooltip-start .tooltip-arrow,
.tooltip.bs-tooltip-auto[data-popper-placement^="left"] .tooltip-arrow {
	right: 0;
}

.tooltip.bs-tooltip-end .tooltip-arrow,
.tooltip.bs-tooltip-auto[data-popper-placement^="right"] .tooltip-arrow {
	left: 0;
}

/* ---- Utilities ---- */
.vu-root section:target { scroll-margin-top: 80px; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
	.vu-root .main-nav ul { gap: 18px; }
}

@media (max-width: 760px) {
	.vu-root .hero-ctas { flex-direction: column; }
	.vu-root .benefit-cards { flex-direction: column; align-items: stretch; }
}

/* ---- API Console (scoped under .api-*) ---- */
.vu-root .api-hero { padding: 0; }
.vu-root .api-hero-title { margin: 0 0 6px 0; font-weight: 500; letter-spacing: 0.01em; }
.vu-root .api-hero-sub { color: var(--muted); margin: 0 0 14px 0; }
.vu-root .api-toolbar { display: flex; gap: 10px; }

.vu-root .api { padding: 120px 24px 40px; }
.vu-root .api-layout { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 24px; align-items: start; position: relative; padding-bottom: 45px; }

.vu-root .api-sidenav { position: sticky; top: 88px; border-right: 1px solid var(--line); align-self: start; width: 280px; box-sizing: border-box; }
.vu-root .api-sidenav-inner { padding-right: 14px; overflow: visible; max-height: none; width: 100%; box-sizing: border-box; }
.vu-root .api-sidenav-inner.is-fixed { position: fixed; top: 88px; z-index: 1500; border-right: 1px solid var(--line); background: transparent; }
.vu-root .api-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.vu-root .api-sidenav ul { list-style: none; padding-left: 0; margin: 0; }
.vu-root .api-sidenav li { list-style: none; }
.vu-root .api-sidenav a { text-decoration: none; color: inherit; }
.vu-root .api-menu li a { display: block; padding: 8px 6px; border-radius: 8px; }
.vu-root .api-menu li a:hover { background: #f8f8f8; text-decoration: none; }
.vu-root .api-menu-section { margin: 14px 0 4px; font-size: 0.78rem; color: var(--muted); font-weight: 600; letter-spacing: 0.04em; }
.vu-root .api-sidenav a.active { background: #f2f4f8; border-radius: 8px; }

.vu-root .api-main { min-width: 0; }
.vu-root .api-main-header { padding-top: 0; margin-bottom: 12px; }
.vu-root .about-content { background: var(--bg); padding-bottom: 100px; }

/* About manifesto terminal — fixed height, scrollable body */
.vu-root .about-manifesto-terminal {
  background: var(--terminal-bg);
  color: var(--terminal-text);
  border: 1px solid var(--terminal-border);
  border-radius: 8px;
  overflow: hidden;
}
.vu-root .about-manifesto-terminal .terminal-window {
  display: flex;
  flex-direction: column;
  height: 560px;
  max-height: 70vh;
}
.vu-root .about-manifesto-terminal .terminal-header {
  flex-shrink: 0;
  padding: 12px 16px;
  background: var(--terminal-header-bg);
  color: var(--terminal-header-text);
  font-weight: bold;
  border-bottom: 1px solid var(--terminal-border);
}
.vu-root .about-manifesto-terminal .terminal-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: auto;
  padding: 16px;
  line-height: 1.6;
  -webkit-overflow-scrolling: touch;
}
.vu-root .about-manifesto-terminal .terminal-body pre {
  margin: 0;
  white-space: pre-wrap;
  word-break: break-word;
}
.vu-root .about-manifesto-terminal .terminal-body #manifesto {
  margin-top: 16px;
}
.vu-root .about-manifesto-terminal .terminal-prompt {
  flex-shrink: 0;
  padding: 8px 16px;
  border-top: 1px solid var(--terminal-border);
  color: var(--terminal-prompt);
}
.vu-root .about-manifesto-terminal .terminal-user { color: #00ff7f; }
.vu-root .about-manifesto-terminal .terminal-host { color: #1e90ff; }
.vu-root .about-manifesto-terminal .terminal-path { color: #bbbbbb; }
.vu-root .about-manifesto-terminal .terminal-cursor { background: var(--terminal-text); color: var(--terminal-bg); }
.vu-root .api-section { margin: 16px 0 26px; }
.vu-root .api-section-title { font-size: 1rem; font-weight: 600; margin: 0 0 10px 0; }
.vu-root .api-long-text { color: #333; max-width: 80ch; }

.vu-root .api-code { position: relative; }
.vu-root .api-code .api-copy { position: absolute; top: 8px; right: 8px; z-index: 2; }
.vu-root .code-block { margin: 0; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: auto; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.9rem; line-height: 1.45; }
.vu-root .api-tile-icon { font-size: 20px; opacity: 0.8; margin-bottom: 4px; }

/* Right off-canvas explorer */
.vu-root .api-explorer { position: fixed; right: 0; top: 125px; width: 520px; height: calc(100vh - 167px); background: #fff; border-left: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,0.10); z-index: 1100; display: grid; grid-template-rows: auto 1fr; transform: translateX(100%); transition: transform 240ms ease;     BORDER-RADIUS: 25PX 0PX 0PX 25PX;}
.vu-root .api-explorer-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 1; BORDER-RADIUS: 25PX 0PX 0PX 0PX; }
.vu-root .api-explorer-body { padding: 16px; overflow: auto; }
.vu-root .api-explorer-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; margin-bottom: 12px; }
.vu-root .api-explorer-headers { margin-bottom: 10px; }
.vu-root .api-explorer-headers label { display: block; font-weight: 600; margin-bottom: 6px; }
.vu-root .api-explorer-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.vu-root .api-explorer-body-editor label, .vu-root .api-explorer-response label { display: block; font-weight: 600; margin: 10px 0 6px; }
.vu-root .api-explorer-body-editor textarea { width: 100%; border: 1px solid var(--line); border-radius: 12px; padding: 12px; font-family: inherit; font-size: 0.95rem; }
.vu-root .api-explorer-response .code-block { max-height: 280px; border-radius: 12px; }

/* Inputs/selects styling to match brand */
.vu-root .api-explorer input[type="text"],
.vu-root .api-explorer input[type="url"],
.vu-root .api-explorer input[type="search"],
.vu-root .api-explorer select,
.vu-root .api-explorer textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  border-radius: 12px;
  padding: 10px 12px;
  font: inherit;
  line-height: 1.4;
  transition: border-color 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.vu-root .api-explorer select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-right: 36px; /* room for arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.vu-root .api-explorer input::placeholder,
.vu-root .api-explorer textarea::placeholder {
  color: #9a9a9a;
}

.vu-root .api-explorer input:hover,
.vu-root .api-explorer select:hover,
.vu-root .api-explorer textarea:hover {
  border-color: #d8d8d8;
}

.vu-root .api-explorer input:focus,
.vu-root .api-explorer select:focus,
.vu-root .api-explorer textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.06);
}

.vu-root .api-explorer .api-explorer-row select,
.vu-root .api-explorer .api-explorer-row input[type="url"],
.vu-root .api-explorer .api-explorer-row button {
  height: 40px;
}

.vu-root .api-explorer .api-explorer-row button.primary-btn {
  border-radius: 12px;
  padding: 0 14px;
}

.vu-root.explorer-open .api-explorer { transform: translateX(0); }
/* Shift content left and reserve space on the right, keep width */
.vu-root.explorer-open .api.container { margin-left: 16px; margin-right: 520px; }
.vu-root.explorer-open .api { padding-left: 8px; }
.vu-root.explorer-open .content { padding-right: 520px; }

@media (max-width: 1040px) {
  .vu-root .api-layout { grid-template-columns: 1fr; }
  .vu-root .api-sidenav { display: none; }
  /* Mobile: explorer overlays as full-screen panel */
  .vu-root .api-explorer { position: fixed; right: 0; left: 0; top: 72px; height: calc(100vh - 72px); width: 100vw; transform: translateX(100%); visibility: visible; pointer-events: auto; }
  .vu-root.explorer-open .api-explorer { transform: translateX(0); transition: transform 220ms ease; }
}

/* About manifesto terminal — mobile */
@media (max-width: 768px) {
  .vu-root .api.about-terminal-page { padding: 100px 16px 60px; }
  .vu-root .about-manifesto-terminal {
    margin-left: 0;
    margin-right: 0;
    max-width: 100%;
    border-radius: 12px;
  }
  .vu-root .about-manifesto-terminal .terminal-window {
    height: min(560px, calc(100vh - 140px));
    max-height: calc(100dvh - 140px);
  }
  .vu-root .about-manifesto-terminal .terminal-header {
    padding: 10px 12px;
    font-size: 0.85rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .vu-root .about-manifesto-terminal .terminal-body {
    padding: 12px;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .vu-root .about-manifesto-terminal .terminal-prompt {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .vu-root .api.about-terminal-page { padding: 88px 12px 48px; }
  .vu-root .about-manifesto-terminal .terminal-header {
    padding: 10px 10px;
    font-size: 0.8rem;
  }
  .vu-root .about-manifesto-terminal .terminal-body {
    padding: 10px;
    font-size: 0.85rem;
  }
  .vu-root .about-manifesto-terminal .terminal-prompt {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
}

/* ---- Dashboard Builder (reuses marketplace/api visual language) ---- */
.vu-root .dash-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.vu-root .dash-toolbar .customize-btn { appearance: none; border: 1px solid var(--line); background: #111; color: #fff; font-weight: 600; padding: 9px 14px; border-radius: 10px; cursor: pointer; }
.vu-root .dash-toolbar .customize-btn:hover { box-shadow: 0 8px 18px rgba(0,0,0,0.18); transform: translateY(-1px); }

.vu-root .dash-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; position: relative; }
.vu-root .dash-grid, .vu-root .dash-grid * { -webkit-user-select: none; -moz-user-select: none; user-select: none; -webkit-user-drag: none; }
.vu-root .dash-widget, .vu-root .dash-widget * { -webkit-user-drag: none; }
.vu-root .dash-widget [draggable="true"] { -webkit-user-drag: none; }
.vu-root .dash-widget { border: 1px solid var(--line); background: var(--card); border-radius: 12px; min-height: 160px; display: flex; flex-direction: column; }
.vu-root .dash-grid .dash-widget { transition: transform 200ms cubic-bezier(0.2, 0.6, 0.2, 1); }
.vu-root .dash-widget.dragging { opacity: 0.5; }
.vu-root .dash-ghost { opacity: 1; border-radius: 12px; border: 2px dashed #b9cdfc; background: repeating-linear-gradient(45deg, rgba(231,239,255,0.8) 0, rgba(231,239,255,0.8) 8px, rgba(255,255,255,0.8) 8px, rgba(255,255,255,0.8) 16px); }
.vu-root .sortable-chosen { box-shadow: 0 10px 24px rgba(0,0,0,0.08); transform: translateZ(0); }
.vu-root .dash-drag { opacity: 0.95; transform: scale(1.01); }
.vu-root .dash-fallback { opacity: 0.98; background: #fff; border-radius: 12px; border: 1px solid var(--line); box-shadow: 0 12px 28px rgba(0,0,0,0.12); width: var(--dash-drag-w, auto) !important; height: var(--dash-drag-h, auto) !important; pointer-events: none; will-change: transform; }
.vu-root .dash-widget .widget-header { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.vu-root .dash-widget .widget-title { font-weight: 600; margin: 0; font-size: 0.95rem; }
.vu-root .dash-widget .widget-actions { display: flex; align-items: center; gap: 6px; }
.vu-root .dash-widget .icon-btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 6px 8px; cursor: pointer; }
.vu-root .dash-widget .icon-btn:hover { background: #f7f7f7; }
.vu-root .dash-widget .widget-body { padding: 12px; color: #555; display: flex; align-items: center; justify-content: center; min-height: 120px; }
.vu-root .dash-widget [data-widget-drag] { cursor: move; }
.vu-root .dash-widget [data-widget-resize] { cursor: nwse-resize; }
.vu-root .dash-grid.dragging .dash-widget:not(.dragging) { outline: 1px dashed var(--line); outline-offset: -1px; }

/* Clearer insert position indicators */
.vu-root .dash-widget.dash-insert-before { box-shadow: inset 4px 0 0 #2b5fd9; position: relative; }
.vu-root .dash-widget.dash-insert-after { box-shadow: inset -4px 0 0 #2b5fd9; position: relative; }
.vu-root .dash-widget.dash-insert-before::after,
.vu-root .dash-widget.dash-insert-after::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 6px;
  background: #2b5fd9;
  border-radius: 6px;
  opacity: 0.22;
}
.vu-root .dash-widget.dash-insert-before::after { left: -8px; }
.vu-root .dash-widget.dash-insert-after::after { right: -8px; }

/* Placeholder height hint to minimize layout jumps */
.vu-root .dash-ghost { min-height: 120px; }

/* Spans for responsive grid (12 cols) */
.vu-root .span-3 { grid-column: span 3; }
.vu-root .span-4 { grid-column: span 4; }
.vu-root .span-6 { grid-column: span 6; }
.vu-root .span-8 { grid-column: span 8; }
.vu-root .span-12 { grid-column: span 12; }

@media (max-width: 960px) {
  .vu-root .dash-grid { grid-template-columns: repeat(6, 1fr); }
  .vu-root .span-8 { grid-column: span 6; }
}

@media (max-width: 640px) {
  .vu-root .dash-grid { grid-template-columns: repeat(2, 1fr); }
  .vu-root .dash-widget { min-height: 140px; }
  .vu-root .span-3, .vu-root .span-4, .vu-root .span-6, .vu-root .span-8, .vu-root .span-12 { grid-column: span 2; }
}

/* ---- Dashboard Off-Canvas (standalone styling) ---- */
.vu-root .dash-explorer { position: fixed; right: 0; top: 125px; width: 520px; height: calc(100vh - 167px); background: #fff; border-left: 1px solid var(--line); box-shadow: 0 18px 40px rgba(0,0,0,0.10); z-index: 1100; display: grid; grid-template-rows: auto 1fr; transform: translateX(100%); transition: transform 240ms ease; border-radius: 25px 0 0 25px; }
.vu-root .dash-explorer-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); position: sticky; top: 0; z-index: 1; border-radius: 25px 0 0 0; }
.vu-root .dash-explorer-body { padding: 16px; overflow: auto; }
.vu-root .dash-explorer-row { display: grid; grid-template-columns: 120px 1fr auto; gap: 10px; margin-bottom: 12px; }
.vu-root .dash-tile-icon { font-size: 20px; opacity: 0.8; margin-bottom: 4px; }

/* New: two-column small cards grid inside off-canvas */
.vu-root .dash-explorer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.vu-root .dash-card { display: grid; grid-template-rows: auto auto 1fr; text-align: left; border: 1px solid var(--line); background: #fff; padding: 12px; border-radius: 12px; cursor: pointer; transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease; box-shadow: 0 2px 10px rgba(0,0,0,0.04); }
.vu-root .dash-card:focus, .vu-root .dash-card:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); border-color: rgba(0,0,0,0.12); }
.vu-root .dash-card:active { transform: translateY(0); box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.vu-root .dash-card { color: inherit; }
.vu-root .dash-card .dash-card-icon { font-size: 22px; opacity: 0.9; margin-bottom: 6px; }
.vu-root .dash-card .dash-card-icon svg { width: 22px; height: 22px; display: block; color: currentColor; }
.vu-root .dash-card .dash-card-icon svg .fill-soft { opacity: 0.14; }
.vu-root .dash-card .dash-card-title { font-weight: 600; font-size: 14px; line-height: 1.2; }
.vu-root .dash-card .dash-card-sub { font-size: 12px; color: var(--muted-text, #6b7280); margin-top: 4px; }

@media (max-width: 1040px) {
  .vu-root .dash-explorer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .vu-root .dash-explorer-grid { grid-template-columns: 1fr; }
}

.vu-root.dash-explorer-open .dash-explorer { transform: translateX(0); }
.vu-root.dash-explorer-open .content { padding-right: 520px; }

@media (max-width: 1040px) {
  .vu-root .dash-explorer { right: 0; left: 0; top: 72px; height: calc(100vh - 72px); width: 100vw; transform: translateX(100%); }
  .vu-root.dash-explorer-open .dash-explorer { transform: translateX(0); transition: transform 220ms ease; }
}

/* ---- Profile page hero (Home tab) ---- */
.vu-root .profile-hero { text-align: center; margin: 75px 0 24px; }
.vu-root .profile-hero .hero-stack { display: inline-grid; place-items: center; gap: 16px; }
.vu-root .avatar-lg { width: 120px; height: 120px; border-radius: 50%; overflow: hidden; }

/* ---- Profile Home: Info cards (2x2, centered) ---- */
.vu-root .info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 36px auto 10px;
  max-width: 900px;
  width: 90%;
}
.vu-root .info-card {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: 16px;
  display: grid;
  grid-template-rows: auto auto; /* content + footer; prevent footer from filling */
  padding: 20px 20px 0 20px; /* footer has its own padding */
  min-height: 160px;
}
.vu-root .info-card .info-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  column-gap: 64px;
  row-gap: 6px;
}
.vu-root .info-card .info-text { display: grid; grid-template-rows: auto auto; gap: 6px; }
.vu-root .info-card .info-title { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: 0.01em; }
.vu-root .info-card .info-desc { color: var(--muted); font-size: 0.98rem; line-height: 1.55; margin: 0; }
.vu-root .info-card .info-icon { width: 64px; height: 64px; display: grid; place-items: center; color: var(--muted); }
.vu-root .info-card .info-icon svg { width: 56px; height: 56px; display: block; }
.vu-root .info-card .info-footer {
  margin: 0 -20px;
  padding: 4px 20px;
  border-top: 1px solid var(--line);
  background: var(--card);
  border-radius: 0 0 16px 16px;
  display: flex; align-items: center; justify-content: flex-start;
}
.vu-root .info-card .info-link { font-weight: 600; color: var(--text); }
.vu-root .info-card .info-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .vu-root .info-grid { grid-template-columns: 1fr; max-width: 640px; }
}

/* ---- Profile page: lock page scroll, scroll only the right content panel ---- */
/* Locks the entire ancestor chain to 100vh so the page itself cannot scroll.  */
/* The sidebar stays pinned; only .market-content scrolls internally.          */
/* NOTE: position:sticky cannot be used here because .vu-root has              */
/* overflow-x:hidden which silently creates a scroll container and breaks it.  */
@media (min-width: 769px) {
  body.profile-page,
  body.profile-page .vu-root,
  body.profile-page .vu-root .content {
    height: 100vh;
    overflow: hidden;
  }
  body.profile-page .vu-root .market-body {
    height: 100vh;
    box-sizing: border-box;
    overflow: hidden;
  }
  body.profile-page .vu-root .market-layout {
    height: 100%;
    overflow: hidden;
    align-items: start;
  }
  body.profile-page .vu-root .market-content {
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
  }
}

/* ---- Profile page: mobile responsive (carousel nav + compact content) ---- */
@media (max-width: 768px) {
  body.profile-page {
    overflow-x: hidden;
  }
  body.profile-page .vu-root,
  body.profile-page .vu-root .content,
  body.profile-page .vu-root .market-body {
    overflow-x: hidden;
    max-width: 100vw;
  }
  body.profile-page .vu-root .market-body .container.market-layout {
    max-width: 100%;
    overflow-x: hidden;
  }
  body.profile-page .vu-root .market-content,
  body.profile-page .vu-root .dash-tab {
    min-width: 0;
    max-width: 100%;
    overflow-x: hidden;
  }
  body.profile-page .vu-root .market-body {
    padding: 80px 16px 32px;
  }
  /* Sidenav → horizontal carousel below title (native touch scroll) */
  body.profile-page .vu-root .market-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 0 10px 0;
    border-right: none;
    margin-bottom: 8px;
    overflow: hidden;
    min-width: 0;
  }
  body.profile-page .vu-root .market-sidebar h2 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
  }
  body.profile-page .vu-root .market-menu {
    display: flex;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 4px 0 8px 0;
    margin: 0 -4px;
    min-width: 0;
    width: 100%;
  }
  body.profile-page .vu-root .market-menu::-webkit-scrollbar {
    display: none;
  }
  body.profile-page .vu-root .market-menu li {
    flex-shrink: 0;
  }
  body.profile-page .vu-root .market-menu a {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 0.9rem;
  }
  /* Reduce hero and content size for mobile */
  body.profile-page .vu-root .profile-hero {
    margin: 24px 0 20px;
  }
  body.profile-page .vu-root .profile-hero .hero-stack {
    gap: 12px;
  }
  body.profile-page .vu-root .avatar-lg {
    width: 72px;
    height: 72px;
  }
  body.profile-page .vu-root .profile-hero h1 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.35;
    max-width: 100%;
  }
  body.profile-page .vu-root .profile-hero .text-muted {
    font-size: 0.875rem;
    line-height: 1.4;
  }
  /* Info cards: compact layout */
  body.profile-page .vu-root .info-grid {
    margin: 20px auto 10px;
    gap: 12px;
    max-width: 100%;
    padding: 0 4px;
  }
  body.profile-page .vu-root .info-card {
    min-height: auto;
    padding: 14px 14px 0 14px;
  }
  body.profile-page .vu-root .info-card .info-head {
    column-gap: 24px;
    row-gap: 4px;
  }
  body.profile-page .vu-root .info-card .info-title {
    font-size: 1rem;
  }
  body.profile-page .vu-root .info-card .info-desc {
    font-size: 0.85rem;
    line-height: 1.45;
  }
  body.profile-page .vu-root .info-card .info-icon {
    width: 40px;
    height: 40px;
  }
  body.profile-page .vu-root .info-card .info-icon svg {
    width: 32px;
    height: 32px;
  }
  body.profile-page .vu-root .info-card .info-footer {
    margin: 0 -14px;
    padding: 8px 14px;
  }
  body.profile-page .vu-root .info-card .info-link {
    font-size: 0.9rem;
  }
  /* Profile tabs: tighter spacing */
  body.profile-page .vu-root .dash-tab .card {
    padding: 16px !important;
  }
  body.profile-page .vu-root .dash-tab h3 {
    font-size: 1.1rem;
  }
  /* Report History: remove card border + prevent overflow */
  body.profile-page .vu-root .report-history-card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    max-width: 100%;
    overflow-x: hidden;
  }
  /* Mobile: hide redundant title/desc */
  body.profile-page .vu-root .report-history-card .report-history-title,
  body.profile-page .vu-root .report-history-card .report-history-desc {
    display: none !important;
  }
  /* Mobile: search + sort + layout toggle on same row */
  body.profile-page .vu-root .report-history-toolbar {
    display: flex !important;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px !important;
    min-width: 0;
  }
  body.profile-page .vu-root .report-history-search.profile-report-search-mobile {
    flex: 1;
    min-width: 0;
  }
  body.profile-page .vu-root .report-history-search .search-input-container {
    padding: 10px 14px;
    border-radius: 12px;
  }
  body.profile-page .vu-root .report-history-search .search-input-container input {
    font-size: 0.95rem;
  }
  body.profile-page .vu-root .profile-report-sort-label {
    display: none;
  }
  body.profile-page .vu-root .report-history-toolbar .form-select {
    width: auto !important;
    min-width: 110px !important;
  }
  body.profile-page .vu-root .profile-report-per-page {
    display: none !important;
  }
  /* Mobile: hide pagination */
  body.profile-page .vu-root .report-history-pagination {
    display: none !important;
  }
  /* Mobile: cards fill width (single column grid) */
  body.profile-page .vu-root .report-history-grid {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
  body.profile-page .vu-root .report-history-grid .report-history-card-item {
    min-height: 0;
    padding: 14px 12px 0 !important;
  }
  body.profile-page .vu-root .report-history-grid .report-history-card-item .report-title {
    font-size: 1.1rem;
  }
  body.profile-page .vu-root .report-history-grid .report-history-card-item .report-desc {
    font-size: 0.85rem;
  }
  body.profile-page .vu-root .report-history-grid .report-history-card-item .report-info {
    font-size: 0.7rem;
  }
  body.profile-page .vu-root .report-history-grid .report-history-card-item .report-bottom {
    margin: 8px -12px 0;
    padding: 8px 12px;
  }
  body.profile-page .vu-root .report-history-grid .report-history-card-item .report-bottom .btn,
  body.profile-page .vu-root .report-history-grid .report-history-card-item .report-bottom .primary-btn {
    padding: 6px 10px;
    font-size: 0.8rem;
  }
  /* Mobile: card-style table rows (same as IPTU) */
  body.profile-page .vu-root .report-history-table-wrapper .report-history-table {
    min-width: 0;
  }
  body.profile-page .vu-root .report-history-table-wrapper .report-history-table thead {
    display: none;
  }
  body.profile-page .vu-root .report-history-table-wrapper .report-history-table tbody tr {
    display: block;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    margin-bottom: 0.5rem;
    background: #fff;
  }
  body.profile-page .vu-root .report-history-table-wrapper .report-history-table tbody td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border: none;
    border-bottom: 1px solid #f1f3f5;
  }
  body.profile-page .vu-root .report-history-table-wrapper .report-history-table tbody tr td:last-child {
    border-bottom: none;
    justify-content: flex-end;
  }
  body.profile-page .vu-root .report-history-table-wrapper .report-history-table tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    font-size: 0.75rem;
    color: #6c757d;
    flex-shrink: 0;
  }
  body.profile-page .vu-root .report-history-table-wrapper .report-history-table tbody td[data-label=""]::before {
    display: none;
  }
  body.profile-page .vu-root #tab-report-history .report-history-card {
    padding-top: 4px !important;
  }
  /* Personal info: stacked layout, full-width inputs */
  body.profile-page .vu-root #tab-personal .row {
    margin-left: 0;
    margin-right: 0;
  }
  body.profile-page .vu-root #tab-personal .card {
    padding: 16px !important;
  }
  body.profile-page .vu-root #tab-personal h3 {
    font-size: 1.1rem;
    margin-bottom: 12px !important;
  }
  body.profile-page .vu-root #tab-personal .text-muted {
    font-size: 0.875rem;
    margin-bottom: 12px !important;
  }
  body.profile-page .vu-root #tab-personal dl.row dt,
  body.profile-page .vu-root #tab-personal dl.row dd {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 4px 0;
  }
  body.profile-page .vu-root #tab-personal dl.row dt {
    font-size: 0.8rem;
  }
  body.profile-page .vu-root #tab-personal dl.row dd {
    font-size: 0.9rem;
  }
  body.profile-page .vu-root #profile-change-password-form .form-control {
    width: 100% !important;
    max-width: 100%;
  }
  body.profile-page .vu-root #profile-change-password-form .mb-3 {
    margin-bottom: 12px !important;
  }
  body.profile-page .vu-root #profile-change-password-form > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  body.profile-page .vu-root #profile-change-password-form .property-action-btn,
  body.profile-page .vu-root #profile-change-password-form .property-action-btn-outline {
    width: 100%;
    justify-content: center;
  }
  body.profile-page .vu-root #profile-change-password-form .property-action-btn-outline {
    margin-left: 0 !important;
  }
  body.profile-page .vu-root #tab-personal .col-md-6 + .col-md-6 {
    margin-top: 12px;
  }
  /* Wireframe cards (privacy, security, billing, about): compact */
  body.profile-page .vu-root .dash-tab .card.p-4 {
    padding: 16px !important;
  }
  body.profile-page .vu-root .dash-tab .card h3 {
    font-size: 1.1rem;
  }
  body.profile-page .vu-root .dash-tab .card p {
    font-size: 0.9rem;
  }
  /* market-content: prevent overflow */
  body.profile-page .vu-root .market-content {
    min-width: 0;
    overflow-wrap: break-word;
  }
}

/* Report History (profile): desktop – show title, per page, pagination */
@media (min-width: 769px) {
  body.profile-page .vu-root .report-history-search.profile-report-search-mobile {
    display: none !important;
  }
  body.profile-page .vu-root .report-history-card .report-history-title,
  body.profile-page .vu-root .report-history-card .report-history-desc {
    display: block !important;
  }
  body.profile-page .vu-root .profile-report-sort-label {
    display: block !important;
  }
  body.profile-page .vu-root .profile-report-per-page {
    display: flex !important;
  }
  body.profile-page .vu-root .report-history-toolbar {
    flex-wrap: wrap !important;
  }
  body.profile-page .vu-root .report-history-pagination {
    display: flex !important;
  }
}

/* Report History (profile): table + pagination */
.vu-root .report-history-card .report-history-table { border-collapse: separate; border-spacing: 0; }
.vu-root .report-history-card .report-history-table thead th { font-weight: 600; color: var(--muted); font-size: 0.875rem; border-bottom: 1px solid var(--line); padding: 12px 16px; white-space: nowrap; }
.vu-root .report-history-card .report-history-table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.vu-root .report-history-card .report-history-table tbody tr:hover { background: rgba(0,0,0,0.02); }
.vu-root .report-history-card .report-history-toolbar .form-select { border-radius: 8px; border-color: var(--line); }
.vu-root .report-history-card #report-history-pagination .pg-link { border-radius: 8px; border-color: var(--line); color: var(--text); }
.vu-root .report-history-card #report-history-pagination .pg-item.active .pg-link { background: var(--accent); border-color: var(--accent); color: #fff; }
.vu-root .report-history-card #report-history-pagination .pg-link:hover { background: rgba(0,0,0,0.05); }

/* ---- Report History unified grid + table wrapper (same pattern as IPTU) ---- */
.vu-root .report-history-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 1.25rem;
}
.vu-root .report-history-grid .report-history-card-item {
  position: relative;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  padding: 22px 18px 6px;
  background: var(--card);
  transition: box-shadow 160ms ease, transform 160ms ease, border-color 160ms ease;
}
.vu-root .report-history-grid .report-history-card-item:hover {
  box-shadow: 0 16px 32px rgba(0,0,0,0.06);
  transform: translateY(-2px);
  border-color: rgba(0,0,0,0.12);
}
.vu-root .report-history-table-wrapper {
  grid-column: 1 / -1;
  border-radius: 1rem;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
}
.vu-root .report-history-table-wrapper .report-history-table {
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}
.vu-root .report-history-table-wrapper .report-history-table thead th {
  background-color: var(--surface-2);
  color: var(--text);
  border: 1.5px solid var(--line);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 12px 16px;
  white-space: nowrap;
}
.vu-root .report-history-table-wrapper .report-history-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}
.vu-root .report-history-table-wrapper .report-history-table tbody tr:hover {
  background: rgba(0,0,0,0.02);
}

/* Responsive columns for report-history grid */
@media (max-width: 1400px) {
  .vu-root .report-history-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1200px) {
  .vu-root .report-history-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 992px) {
  .vu-root .report-history-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .vu-root .report-history-grid .report-history-card-item { padding: 16px; }
  .vu-root .report-history-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .vu-root .report-history-table-wrapper .report-history-table { min-width: 500px; }
}
@media (max-width: 768px) {
  .vu-root .report-history-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 0.75rem; }
  .vu-root .report-history-grid .report-history-card-item { padding: 12px; height: auto; min-height: 140px; }
  .vu-root .report-history-table-wrapper { overflow-x: visible; height: auto; min-height: 200px; }
}
@media (max-width: 576px) {
  .vu-root .report-history-grid { grid-template-columns: 1fr; }
  .vu-root .report-history-grid .report-history-card-item { min-height: 120px; padding: 10px; }
  .vu-root .report-history-table-wrapper .report-history-table tbody td { padding: 0.4rem 0.5rem; font-size: 0.9rem; }
  .vu-root .report-history-table-wrapper .report-history-table tbody td::before { font-size: 0.7rem; }
}

/* Dark mode for report-history grid + table (same palette as IPTU / reports) */
html[data-theme="dark"] .vu-root .report-history-grid .report-history-card-item {
  background: #0b0b0b;
  border-color: #262626;
  box-shadow: none;
}
html[data-theme="dark"] .vu-root .report-history-grid .report-history-card-item:hover {
  border-color: #323232;
  box-shadow: 0 12px 24px rgba(0,0,0,0.45);
}
html[data-theme="dark"] .vu-root .report-history-table-wrapper {
  background: #0b0b0b;
  border-color: #262626;
}
html[data-theme="dark"] .vu-root .report-history-table-wrapper .report-history-table thead th {
  background: #121212;
  border-color: #2a2a2a;
  color: #d4d4d4;
}
html[data-theme="dark"] .vu-root .report-history-table-wrapper .report-history-table tbody td {
  border-bottom-color: #262626;
  color: #e6e6e6;
}
html[data-theme="dark"] .vu-root .report-history-table-wrapper .report-history-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}
html[data-theme="dark"] .vu-root .report-history-table-wrapper .report-history-table tbody tr {
  background: #0b0b0b;
}

/* ---- Profile page: DS-native components ---- */

/* Profile table — replaces Bootstrap .table.table-hover */
.vu-root .profile-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9375rem;
}
.vu-root .profile-table thead th {
  background: var(--surface-2);
  color: var(--muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}
.vu-root .profile-table tbody td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  color: var(--text);
}
.vu-root .profile-table tbody tr:last-child td { border-bottom: none; }
.vu-root .profile-table tbody tr:hover { background: var(--surface-1); }

/* Profile card — replaces Bootstrap .card.p-4 */
.vu-root .profile-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 28px 28px 24px;
}
.vu-root .profile-card-desc {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.925rem;
  line-height: 1.55;
}

/* Two-column form grid */
.vu-root .profile-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
}
@media (max-width: 640px) {
  .vu-root .profile-two-col { grid-template-columns: 1fr; }
}

/* Field, label, input */
.vu-root .profile-field { display: flex; flex-direction: column; gap: 6px; }
.vu-root .profile-field-actions { display: flex; align-items: center; gap: 10px; }
.vu-root .profile-label { font-size: 0.8rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.vu-root .profile-required { color: var(--error, #ef4444); margin-left: 2px; }
.vu-root .profile-input {
  width: 100%;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-1);
  color: var(--text);
  font-size: 0.9375rem;
  font-family: inherit;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  outline: none;
}
.vu-root .profile-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 18%, transparent); }
.vu-root .profile-input[type="password"] { width: 100%; }
.vu-root .profile-select {
  padding: 8px 32px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-1);
  color: var(--text);
  font-size: 0.875rem;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  cursor: pointer;
  outline: none;
  transition: border-color 140ms ease;
}
.vu-root .profile-select:focus { border-color: var(--accent); }

/* Definition list for read-only data */
.vu-root .profile-dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; margin: 0; }
.vu-root .profile-dt { font-weight: 600; color: var(--muted); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.04em; align-self: center; }
.vu-root .profile-dd { margin: 0; color: var(--text); font-size: 0.9375rem; align-self: center; }

/* Inline status messages */
.vu-root .profile-msg {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.875rem;
  line-height: 1.4;
  border: 1px solid transparent;
}
.vu-root .profile-msg.error { background: color-mix(in srgb, #ef4444 10%, transparent); border-color: color-mix(in srgb, #ef4444 30%, transparent); color: #ef4444; }
.vu-root .profile-msg.success { background: color-mix(in srgb, #22c55e 10%, transparent); border-color: color-mix(in srgb, #22c55e 30%, transparent); color: #22c55e; }

/* Layout toggle (card / table view) */
.vu-root .layout-toggle { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; gap: 0; }
.vu-root .layout-toggle-btn {
  padding: 6px 12px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  display: flex; align-items: center; gap: 5px;
}
.vu-root .layout-toggle-btn:not(:last-child) { border-right: 1px solid var(--line); }
.vu-root .layout-toggle-btn.active,
.vu-root .layout-toggle-btn[aria-pressed="true"] { background: var(--surface-2); color: var(--text); font-weight: 600; }
.vu-root .layout-toggle-btn:hover:not(.active) { background: var(--surface-1); color: var(--text); }

/* Report type badge */
.vu-root .report-type-label {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Profile pagination (replaces Bootstrap .pagination) */
.vu-root .profile-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.vu-root .pg-item {}
.vu-root .pg-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--text);
  font-size: 0.875rem;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease, color 120ms ease;
  text-decoration: none;
}
.vu-root .pg-link:hover { background: var(--surface-2); border-color: var(--line); color: var(--text); }
.vu-root .pg-item.active .pg-link { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.vu-root .pg-item.disabled .pg-link { opacity: 0.4; cursor: default; pointer-events: none; }

/* Report history toolbar */
.vu-root .report-history-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}
.vu-root .rh-toolbar-group { display: flex; align-items: center; gap: 8px; }
.vu-root .rh-toolbar-spacer { flex: 1; }
.vu-root .rh-toolbar-label { font-size: 0.8rem; color: var(--muted); white-space: nowrap; }
.vu-root .rh-range { font-size: 0.8rem; color: var(--muted); }
.vu-root .rh-empty {
  grid-column: 1 / -1;
  padding: 48px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 0.9375rem;
}
.vu-root .report-history-pagination {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

/* ---- Auth: surfaces and forms ---- */
.vu-root .auth-wrapper { display: grid; place-items: center; padding: 40px 14px; }
.vu-root .auth-content { width: 100%; max-width: 560px; margin: 0 auto; }
.vu-root .auth-card {
	border: 1px solid var(--line);
	border-radius: 20px;
	background: var(--surface-1);
	box-shadow: 0 10px 28px rgba(0,0,0,0.06);
}

/* Inputs: modern grouped fields */
.vu-root .auth-input-group { align-items: stretch; }
.vu-root .auth-input-group .input-group-text { 
	background: var(--surface-1); 
	border: 1px solid var(--line); 
	border-right: none; 
	border-radius: 12px 0 0 12px; 
	color: var(--muted); 
	padding: 0 12px; 
}
.vu-root .auth-input-group .form-control {
	border: 1px solid var(--line);
	border-left: none;
	border-radius: 0 12px 12px 0;
	background: var(--surface-1);
	color: var(--text);
	height: 46px;
	padding-left: 10px;
}
.vu-root .auth-input-group .form-control::placeholder {
	color: var(--muted);
}

.vu-root .auth-input-group:focus-within .input-group-text,
.vu-root .auth-input-group:focus-within .form-control {
	border-color: var(--accent);
	box-shadow: 0 0 0 3px rgba(17,17,17,0.08);
}

/* Valid / invalid states */
.vu-root .auth-input-group .form-control.is-valid { border-color: #198754; box-shadow: 0 0 0 3px rgba(25,135,84,0.15); }
.vu-root .auth-input-group .form-control.is-invalid { border-color: #dc3545; box-shadow: 0 0 0 3px rgba(220,53,69,0.15); }

/* Auth buttons */
.vu-root .auth-btn { appearance: none; border: 1px solid var(--accent); background: var(--accent); color: var(--bg); font-weight: 600; padding: 10px 16px; border-radius: 12px; cursor: pointer; transition: background 160ms ease, box-shadow 160ms ease, transform 80ms ease, filter 120ms ease; }
.vu-root .auth-btn:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.12); transform: translateY(-1px); filter: brightness(0.94); }
.vu-root .auth-btn:active { transform: translateY(0); box-shadow: none; }
.vu-root .auth-btn-block { width: 100%; }
.vu-root .auth-divider { display: flex; align-items: center; text-align: center; }
.vu-root .auth-divider::before,
.vu-root .auth-divider::after { content: ""; flex: 1; border-bottom: 1px solid var(--line); }
.vu-root .auth-divider-text { padding: 0 12px; color: var(--muted); font-size: 0.9rem; }
.vu-root .auth-google-btn {
	display: flex; margin-top: 1.5rem !important; align-items: center; justify-content: center; gap: 10px;
	appearance: none; border: 1px solid var(--accent); background: var(--accent); color: var(--bg);
	font-weight: 600; padding: 10px 16px; border-radius: 12px; cursor: pointer;
	text-decoration: none; transition: background 160ms ease, box-shadow 160ms ease, filter 120ms ease;
}
.vu-root .auth-google-btn:hover { color: var(--bg); text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,0.12); filter: brightness(0.94); }
.vu-root .auth-google-icon { width: 20px; height: 20px; flex-shrink: 0; }
.vu-root .auth-microsoft-btn {
	display: flex; align-items: center; justify-content: center; gap: 10px;
	appearance: none; border: 1px solid var(--accent); background: var(--accent); color: var(--bg);
	font-weight: 600; padding: 10px 16px; border-radius: 12px; cursor: pointer;
	text-decoration: none; transition: background 160ms ease, box-shadow 160ms ease, filter 120ms ease;
}
.vu-root .auth-microsoft-btn:hover { color: var(--bg); text-decoration: none; box-shadow: 0 10px 24px rgba(0,0,0,0.12); filter: brightness(0.94); }
.vu-root .auth-microsoft-icon { width: 20px; height: 20px; flex-shrink: 0; }
.vu-root .auth-logo { width: min(500px, 70vw); height: auto; display: block; margin-left: auto; margin-right: auto; }
.vu-root .auth-logo.small { width: min(320px, 60vw); }
.vu-root .auth-logo-wrap { display: flex; justify-content: center; width: 100%; }
.vu-root .auth-card-compact .card-body { padding-top: 22px; padding-bottom: 22px; }
.vu-root .auth-header-tight { margin-bottom: 8px; }

/* Auth footer actions: Signup + Reset Password as side-by-side outline buttons */
.vu-root .auth-footer-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; margin-top: 1.25rem; }
.vu-root .auth-footer-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border: 1px solid var(--text); border-radius: 16px; font-weight: 500; background: transparent; color: var(--text); text-decoration: none; transition: background 160ms ease, color 160ms ease; cursor: pointer; font-size: 0.95rem; }
.vu-root .auth-footer-btn:hover { background: var(--surface-2); color: var(--text); text-decoration: none; }

/* Auth form spacing (generous for mobile touch targets) */
.vu-root .auth-form-spaced .auth-input-group { margin-bottom: 1rem !important; }
.vu-root .auth-form-spaced .auth-input-group.mb-4 { margin-bottom: 1.25rem !important; }
.vu-root .auth-form-spaced .auth-btn,
.vu-root .auth-form-spaced .auth-google-btn,
.vu-root .auth-form-spaced .auth-microsoft-btn { margin-top: 0.5rem !important; margin-bottom: 1.25rem !important; }
.vu-root .auth-form-spaced .auth-divider { margin: 1rem 0 1.25rem 0 !important; }
.vu-root .auth-progress.tight { margin-top: 6px; margin-bottom: 6px; }
.vu-root .auth-form-tight .mb-3 { margin-bottom: 10px !important; }
.vu-root .auth-form-tight .mb-4 { margin-bottom: 12px !important; }
.vu-root .auth-hint { margin-top: -6px; margin-bottom: 6px; }

/* Progress / stepper */
.vu-root .auth-progress { position: relative; margin-bottom: 8px; padding: 14px 0; }
.vu-root .auth-progress .progress { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.vu-root .auth-progress .progress-bar { background: var(--accent); }
.vu-root .auth-progress .progress-steps { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; pointer-events: none; }
.vu-root .auth-progress .progress-steps .auth-step { pointer-events: none; }
.vu-root .auth-step { width: 2rem; height: 2rem; border-radius: 999px; border: 1px solid var(--line); background: var(--surface-1); color: var(--text); display: grid; place-items: center; font-weight: 600; }
.vu-root .auth-step.active { background: var(--accent); color: var(--bg); border-color: var(--accent); }

/* Minor typography tweaks */
.vu-root .auth-title { font-weight: 500; letter-spacing: 0.01em; }
.vu-root .auth-title.tight { margin: 6px 0 10px 0; }
.vu-root .auth-hint-row { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; margin: 6px 0 8px 2px; }
.vu-root .auth-hint-row svg { width: 14px; height: 14px; display: block; color: #9a9a9a; }

/* Auth link text (plain link, no button) */
.vu-root .auth-link-text { color: inherit; text-decoration: underline; font-weight: 500; }
.vu-root .auth-link-text:hover { color: var(--text); text-decoration: underline; }

/* Desktop: show card layout, hide mobile */
.vu-root .auth-desktop { display: block; }
.vu-root .auth-mobile { display: none; }

@media (max-width: 768px) {
	.vu-root .auth-desktop { display: none; }
	.vu-root .auth-mobile { display: block; }
}

/* Auth mobile only: simple social-first layout */
@media (max-width: 768px) {
	.vu-root .auth-simple { max-width: 400px; margin: 0 auto; padding: 0 16px; text-align: center; }
	.vu-root .auth-simple-title { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.35rem; }
	.vu-root .auth-simple-subtitle { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.75rem; }
	.vu-root .auth-simple-buttons { display: flex; flex-direction: column; gap: 12px; margin-bottom: 1.5rem; }
	.vu-root .auth-btn-email-toggle {
		display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%;
		font-weight: 600; font-size: 1rem; padding: 14px 20px;
		cursor: pointer; transition: background 160ms ease, border-color 160ms ease;
	}
	.vu-root .auth-btn-email-toggle {
		border-color: var(--text);
		background: transparent;
		color: var(--text);
	}
	.vu-root .auth-btn-email-toggle:hover {
		background: var(--surface-2);
	}
	.vu-root .auth-btn-email-toggle svg, .vu-root .auth-btn-email-toggle i { width: 20px; height: 20px; }
	.vu-root .auth-email-form { margin-bottom: 1.5rem; text-align: left; }
	.vu-root .auth-form-footer-links { text-align: center; margin-top: 0.5rem; }
	.vu-root .auth-form-footer-links .auth-link-text { font-size: 0.9rem; }
	.vu-root .auth-simple-signup { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.5rem; }
	.vu-root .auth-simple-signup .auth-link-text { margin-left: 4px; }
	.vu-root .auth-simple-legal { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin: 0; }
	.vu-root .auth-wrapper:has(.auth-mobile) { align-items: flex-start; padding-top: 2rem; }
	.vu-root .auth-wrapper:has(.auth-mobile) .auth-content.auth-mobile { overflow-y: auto; -webkit-overflow-scrolling: touch; }
}

/* Auth pages: mobile-only — centered content, no vertical scroll */
@media (max-width: 768px) {
	html:has(.auth-wrapper),
	body:has(.auth-wrapper) {
		height: 100%;
		min-height: 100dvh;
		overflow: hidden;
	}
	.vu-root .auth-wrapper {
		min-height: 0;
		height: 100%;
		padding: 12px;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.vu-root:has(.auth-wrapper) {
		height: 100dvh;
		min-height: 100dvh;
		overflow: hidden;
	}
	.vu-root:has(.auth-wrapper) .content {
		flex: 1;
		min-height: 0;
		display: flex;
		flex-direction: column;
		overflow: hidden;
	}
	.vu-root:has(.auth-wrapper) .content > .auth-wrapper {
		flex: 1;
		min-height: 0;
		overflow: hidden;
	}
	.vu-root:has(.auth-wrapper) .auth-content {
		flex-shrink: 0;
		margin: auto;
	}
	.vu-root:has(.auth-wrapper) .auth-logo {
		width: min(280px, 55vw);
		margin-bottom: 1rem !important;
	}
	.vu-root:has(.auth-wrapper) .auth-logo.small {
		width: min(200px, 50vw);
		margin-bottom: 0.5rem !important;
	}
	.vu-root:has(.auth-wrapper) .auth-card .card-body {
		padding: 1rem 1.25rem !important;
	}
	.vu-root:has(.auth-wrapper) .auth-input-group .form-control,
	.vu-root:has(.auth-wrapper) .auth-input-group .input-group-text {
		height: 42px;
	}
	.vu-root:has(.auth-wrapper) .auth-wrapper .mb-3 { margin-bottom: 0.85rem !important; }
	.vu-root:has(.auth-wrapper) .auth-wrapper .mb-4 { margin-bottom: 1.25rem !important; }
	.vu-root:has(.auth-wrapper) .auth-form-spaced .auth-input-group { margin-bottom: 1.1rem !important; }
	.vu-root:has(.auth-wrapper) .auth-form-spaced .auth-btn,
	.vu-root:has(.auth-wrapper) .auth-form-spaced .auth-google-btn,
	.vu-root:has(.auth-wrapper) .auth-form-spaced .auth-microsoft-btn { margin-bottom: 1.35rem !important; }
	.vu-root:has(.auth-wrapper) .auth-card-compact .card-body {
		padding-top: 1rem !important;
		padding-bottom: 1rem !important;
	}
	/* Card body scrolls when form overflows (e.g. signup); page stays fixed */
	.vu-root:has(.auth-wrapper) .auth-card {
		max-height: 100%;
		display: flex;
		flex-direction: column;
		min-height: 0;
	}
	.vu-root:has(.auth-wrapper) .auth-card .card-body {
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		flex: 1;
		min-height: 0;
	}
}

.vu-root .vu-btn-primary {
  padding: 8px 14px;
  border: 1px solid #000000;
  border-radius: 16px;
  font-weight: 500;
  background-color: #000000;
  color: #ffffff;
}

.vu-root .vu-btn-outline {
  padding: 8px 14px;
  border: 1px solid #000000;
  border-radius: 16px;
  font-weight: 500;
  background-color: #00000000;
  color: #000000;
}

/* ---- Education: Learning Pathways ---- */
#pathways .learning-path-item h4 {
	display: inline;
	margin: 0;
}

#pathways .learning-path-item .learning-path-number {
	display: inline-block;
	margin-right: 8px;
}

/* Align number + title horizontally and center number inside its circle */
#pathways .learning-path-item {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	column-gap: 12px;
}

#pathways .learning-path-item .learning-path-number {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-weight: 600;
	background: #ffffff;
  border: 1px solid #000000;
	color: #000000;
	line-height: 1;
	margin-right: 0; /* gap handles spacing */
}

#pathways .learning-path-item h4 {
	display: block; /* override earlier inline */
	margin: 0; 
}

#pathways .learning-path-item p,
#pathways .learning-path-item small {
	grid-column: 1 / -1; /* push description/time to next line */
}

/* ==========================================================
   STORE PAGE — Zone C Design System (R1 + R3)
   Extracted from .vu-design/component-audit-preview.html
   All selectors scoped under .vu-root
========================================================== */

/* Featured card scoped variables */
/* ============================================================
   ZONE C — design-canvas extract (mechanically translated from
   .vu-design/component-audit-preview.html Zone C style block)
   Token map: --vu-* → production tokens; .vu-root prefix added.
   Dark-mode overrides appended below.
   ============================================================ */

/* Scoped vars for the featured card (accent background) */
.vu-root .plan-card-v2--featured {
  --featured-dim: var(--muted);
  --featured-border: rgba(127,127,127,0.2);
}
html[data-theme="dark"] .vu-root .plan-card-v2--featured {
  --featured-dim: var(--muted);
  --featured-border: rgba(127,127,127,0.25);
}

/* ── R1: Pricing Grid v2 ── */

    /* Featured card scoped variables */
    .vu-root .plan-card-v2--featured {
      --featured-dim: var(--muted);
      --featured-border: rgba(127,127,127,0.2);
    }

    .vu-root .store-v2 { background: var(--bg); padding: 40px 0; }

    /* Hero */
    .vu-root .store-v2__hero { max-width: 500px; margin: 0 auto 36px; text-align: center; }
    .vu-root .store-v2__eyebrow {
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.12em; color: var(--muted); margin-bottom: 10px;
    }
    .vu-root .store-v2__h1 {
      font-size: 26px; font-weight: 600; letter-spacing: -0.03em;
      color: var(--text); margin-bottom: 10px; line-height: 1.2;
    }
    .vu-root .store-v2__sub { font-size: 13px; color: var(--muted); line-height: 1.6; }

    /* Plan type toggle */
    .vu-root .store-v2__toggle { display: flex; justify-content: center; margin-bottom: 32px; }
    .vu-root .store-v2__toggle-inner {
      display: inline-flex;
      border: 1px solid var(--line); border-radius: 7px; padding: 3px; gap: 2px;
    }
    .vu-root .store-v2__toggle-btn {
      padding: 6px 16px; border: none; border-radius: 5px;
      background: transparent; font-size: 12px; font-weight: 500;
      color: var(--muted); cursor: pointer;
    }
    .vu-root .store-v2__toggle-btn.active { background: var(--accent); color: #ffffff; }

    /* Pricing grid — individual cards with breathing room */
    .vu-root .store-v2__grid {
      display: grid; grid-template-columns: repeat(4, 1fr);
      gap: 16px; align-items: start;
    }

    /* Plan card — single unified surface, no internal section borders */
    .vu-root .plan-card-v2 {
      background: var(--card);
      border: 1px solid var(--line);
      border-radius: 10px;
      padding: 22px 20px 20px;
      display: flex; flex-direction: column;
    }
    .vu-root .plan-card-v2--featured {
      background: var(--accent);
      border-color: var(--accent);
      color: #ffffff;
    }

    /* Name row at top */
    .vu-root .plan-card-v2__name {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 20px;
    }
    .vu-root .plan-card-v2__title {
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.1em; color: var(--muted);
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__title { color: var(--featured-dim); }

    .vu-root .plan-card-v2__badge {
      display: inline-flex; align-items: center;
      padding: 2px 7px; border: 1px solid var(--line); border-radius: 4px;
      font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
      color: var(--muted);
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__badge {
      border-color: var(--featured-border); color: var(--featured-dim);
    }

    /* Price block — flows directly in card padding */
    .vu-root .plan-card-v2__price-row { display: flex; align-items: baseline; gap: 2px; }
    .vu-root .plan-card-v2__currency {
      font-size: 14px; font-weight: 500; color: var(--muted);
      padding-bottom: 4px; line-height: 1;
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__currency { color: var(--featured-dim); }

    .vu-root .plan-card-v2__amount {
      font-size: 36px; font-weight: 600; letter-spacing: -0.03em;
      color: var(--text); line-height: 1;
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__amount { color: #ffffff; }

    .vu-root .plan-card-v2__period-row { margin-top: 5px; }
    .vu-root .plan-card-v2__period-unit { font-size: 12px; color: var(--muted); }
    .vu-root .plan-card-v2--featured .plan-card-v2__period-unit { color: var(--featured-dim); }

    .vu-root .plan-card-v2__billing {
      display: block; font-size: 10px; color: var(--muted); margin-top: 5px;
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__billing { color: var(--featured-dim); }

    .vu-root .plan-card-v2__desc {
      font-size: 12px; color: var(--muted); margin-top: 10px; line-height: 1.5;
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__desc { color: var(--featured-dim); }

    /* CTA row with inline stepper */
    .vu-root .plan-card-v2__cta--with-qty { display: flex; gap: 8px; align-items: stretch; }
    .vu-root .plan-card-v2__cta--with-qty .plan-card-v2__btn { flex: 1; padding-top: 0; padding-bottom: 0; }
    .vu-root .credit-stepper {
      display: flex; align-items: center; gap: 0;
      border: 1px solid var(--featured-border); border-radius: 5px;
      overflow: hidden; align-self: flex-start;
    }
    .vu-root .credit-stepper__btn {
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      background: transparent; border: none; cursor: pointer;
      font-size: 18px; font-weight: 400; color: var(--featured-dim);
      flex-shrink: 0;
    }
    .vu-root .credit-stepper__btn:hover { background: #ffffff; color: var(--accent); }
    .vu-root .credit-stepper__btn:disabled { opacity: 0.3; cursor: not-allowed; }
    .vu-root .credit-stepper__btn:disabled:hover { background: transparent; color: var(--featured-dim); }
    .vu-root .credit-stepper__val {
      min-width: 44px; text-align: center;
      font-size: 16px; font-weight: 600; letter-spacing: -0.02em;
      color: #ffffff;
      border-left: 1px solid var(--featured-border);
      border-right: 1px solid var(--featured-border);
      line-height: 36px;
    }

    /* CTA — margin only, no enclosing border */
    .vu-root .plan-card-v2__cta { margin-top: 20px; }

    .vu-root .plan-card-v2__btn {
      display: block; width: 100%;
      padding: 10px 16px; border: 1px solid var(--accent); border-radius: 6px;
      background: var(--accent); color: #ffffff;
      font-size: 12px; font-weight: 500; cursor: pointer; text-align: center;
      text-decoration: none; transition: opacity 0.15s;
    }
    .vu-root .plan-card-v2__btn:hover { opacity: 0.88; }
    .vu-root .plan-card-v2__btn--outline { background: transparent; color: var(--accent); }
    .vu-root .plan-card-v2__btn--outline:hover { background: rgba(0,0,0,0.04); opacity: 1; }
    .vu-root .plan-card-v2--featured .plan-card-v2__btn {
      background: #ffffff; border-color: #ffffff; color: var(--accent);
    }

    /* Single hairline separating CTA from features */
    .vu-root .plan-card-v2__divider {
      border: none; border-top: 1px solid var(--line); margin: 20px 0 16px;
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__divider { border-top-color: var(--featured-border); }

    /* Feature list — spaced text, no per-row borders, em-dash prefix */
    .vu-root .plan-card-v2__features {
      flex: 1; display: flex; flex-direction: column; gap: 9px;
    }
    .vu-root .plan-card-v2__feature {
      font-size: 12px; color: var(--text);
      padding-left: 12px; position: relative;
    }
    .vu-root .plan-card-v2__feature::before {
      content: "–"; position: absolute; left: 0; color: var(--muted);
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__feature { color: #ffffff; opacity: 0.8; }
    .vu-root .plan-card-v2--featured .plan-card-v2__feature::before { color: var(--featured-dim); opacity: 1; }

    /* Footer (credits total only) */
    .vu-root .plan-card-v2__footer {
      margin-top: 16px; padding-top: 12px; font-size: 10px; color: var(--muted);
      border-top: 1px solid var(--line);
    }
    .vu-root .plan-card-v2--featured .plan-card-v2__footer {
      color: var(--featured-dim); border-top-color: var(--featured-border);
    }

    /* ── R2: Credit Balance Widget v2 ── */
    .credit-balance-v2 {
      display: flex; align-items: stretch;
      border: 1px solid var(--line); border-radius: 8px;
      overflow: hidden; background: var(--card);
    }
    .credit-balance-v2__icon {
      display: flex; align-items: center; justify-content: center;
      width: 52px; background: var(--surface-2);
      border-right: 1px solid var(--line); flex-shrink: 0;
      font-size: 18px; color: var(--muted);
    }
    .credit-balance-v2__body { padding: 12px 16px; flex: 1; }
    .credit-balance-v2__label {
      font-size: 9px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.1em; color: var(--muted); margin-bottom: 4px;
    }
    .credit-balance-v2__value {
      font-size: 22px; font-weight: 600; letter-spacing: -0.03em;
      color: var(--text); line-height: 1;
    }
    .credit-balance-v2__value--zero { color: #dc2626; }
    .credit-balance-v2__sub { font-size: 10px; color: var(--muted); margin-top: 3px; }
    .credit-balance-v2__action {
      padding: 12px 16px;
      display: flex; flex-direction: column;
      align-items: flex-end; justify-content: center; gap: 5px;
      border-left: 1px solid var(--line);
    }
    .credit-balance-v2__plan-chip {
      display: inline-flex; align-items: center;
      padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px;
      font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em;
      color: var(--muted);
    }
    .credit-balance-v2__link {
      font-size: 11px; font-weight: 500; color: var(--text);
      text-decoration: underline; cursor: pointer;
    }
    .credit-balance-v2--warn { border-color: #dc2626; }
    .credit-balance-v2--warn .credit-balance-v2__icon { color: #dc2626; }

    /* ── R4: Profile Cards v2 ── */
    .vu-root .profile-v2__grid {
      display: grid; grid-template-columns: 1fr 1fr;
      gap: 14px; padding: 20px;
    }
    .vu-root .profile-v2__card {
      background: var(--card); border: 1px solid var(--line);
      border-radius: 10px; overflow: hidden;
      display: flex; flex-direction: column;
    }
    .vu-root .profile-v2__card-head {
      display: flex; align-items: center; justify-content: space-between;
      padding: 12px 16px; border-bottom: 1px solid var(--line);
    }
    .vu-root .profile-v2__card-title {
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.1em; color: var(--muted);
    }
    .vu-root .profile-v2__status-chip {
      display: inline-flex; align-items: center;
      padding: 2px 8px; border: 1px solid var(--line); border-radius: 4px;
      font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
      color: var(--muted);
    }
    .vu-root .profile-v2__status-chip--active { border-color: #10b981; color: #10b981; }
    .vu-root .profile-v2__card-body { padding: 16px; flex: 1; }
    .vu-root .profile-v2__big-val {
      font-size: 28px; font-weight: 600; letter-spacing: -0.03em;
      color: var(--text); line-height: 1; margin-bottom: 4px;
    }
    .vu-root .profile-v2__big-sub { font-size: 11px; color: var(--muted); margin-bottom: 14px; }
    .vu-root .profile-v2__dl { display: flex; flex-direction: column; }
    .vu-root .profile-v2__row {
      display: flex; align-items: baseline; justify-content: space-between;
      padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 12px;
    }
    .vu-root .profile-v2__row:last-child { border-bottom: none; }
    .vu-root .profile-v2__dt { color: var(--muted); }
    .vu-root .profile-v2__dd { color: var(--text); font-weight: 500; text-align: right; }
    .vu-root .profile-v2__card-footer {
      padding: 12px 16px; border-top: 1px solid var(--line); display: flex; gap: 8px;
    }

    /* ── R5: Report History v2 ── */
    .vu-root .rh-v2 { padding: 20px; }
    .vu-root .rh-v2__toolbar {
      display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap;
    }
    .vu-root .rh-v2__search {
      flex: 1; min-width: 160px;
      display: flex; align-items: center;
      border: 1px solid var(--line); border-radius: 6px;
      background: var(--card); overflow: hidden;
    }
    .vu-root .rh-v2__search-input {
      flex: 1; padding: 8px 12px;
      border: none; background: transparent; font-size: 12px; color: var(--text); outline: none;
    }
    .vu-root .rh-v2__search-input::placeholder { color: var(--muted); }
    .vu-root .rh-v2__sort {
      padding: 8px 10px; border: 1px solid var(--line); border-radius: 6px;
      background: var(--card); font-size: 12px; color: var(--text);
    }
    .vu-root .rh-v2__layout-toggle {
      display: flex; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
    }
    .vu-root .rh-v2__layout-btn {
      padding: 7px 13px; border: none; font-size: 11px; font-weight: 500;
      background: transparent; color: var(--muted); cursor: pointer;
    }
    .vu-root .rh-v2__layout-btn.active { background: var(--accent); color: #ffffff; }
    .vu-root .rh-v2__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
    .vu-root .rh-v2__card {
      background: var(--card); border: 1px solid var(--line);
      border-radius: 8px; padding: 13px 15px;
      display: flex; flex-direction: column; gap: 5px;
    }
    .vu-root .rh-v2__card-addr { font-size: 13px; font-weight: 500; color: var(--text); line-height: 1.3; }
    .vu-root .rh-v2__card-meta { display: flex; align-items: center; gap: 8px; }
    .vu-root .rh-v2__card-date { font-size: 11px; color: var(--muted); }
    .vu-root .rh-v2__card-type {
      display: inline-flex; align-items: center;
      padding: 2px 7px; border: 1px solid var(--line); border-radius: 4px;
      font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
      color: var(--muted);
    }
    .vu-root .rh-v2__card-action {
      font-size: 11px; font-weight: 500; color: var(--text);
      text-decoration: underline; cursor: pointer; align-self: flex-start; margin-top: 2px;
    }
    .vu-root .rh-v2__pagination {
      display: flex; align-items: center; justify-content: space-between;
      margin-top: 14px; font-size: 11px; color: var(--muted);
    }
    .vu-root .rh-v2__pages { display: flex; gap: 4px; }
    .vu-root .rh-v2__page-btn {
      min-width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--line); border-radius: 5px;
      background: transparent; font-size: 11px; color: var(--muted); cursor: pointer;
    }
    .vu-root .rh-v2__page-btn.active {
      background: var(--accent); color: #ffffff; border-color: var(--accent);
    }

    /* ── R3: Checkout Panel v2 ── */
    .vu-root .checkout-v2 {
      background: var(--card);
      border: 1px solid var(--line); border-radius: 8px;
      overflow: hidden; max-width: 340px;
    }
    .vu-root .checkout-v2__header {
      display: flex; align-items: center; justify-content: space-between;
      padding: 11px 14px;
      border-bottom: 1px solid var(--line);
    }
    .vu-root .checkout-v2__title {
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.1em; color: var(--muted);
    }
    .vu-root .checkout-v2__close {
      width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
      border: 1px solid var(--line); border-radius: 4px;
      background: none; cursor: pointer; font-size: 13px; color: var(--muted);
    }
    .vu-root .checkout-v2__body { padding: 14px; }
    .vu-root .checkout-v2__section-label {
      font-size: 9px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.1em; color: var(--muted); margin-bottom: 8px;
    }
    .vu-root .checkout-v2__row {
      display: flex; align-items: center; justify-content: space-between;
      padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 12px;
    }
    .vu-root .checkout-v2__row:last-of-type { border-bottom: none; }
    .vu-root .checkout-v2__key { color: var(--muted); }
    .vu-root .checkout-v2__val { color: var(--text); font-weight: 500; }
    .vu-root .checkout-v2__total {
      display: flex; align-items: baseline; justify-content: space-between;
      padding: 10px 0 4px; border-top: 1px solid var(--line); margin-top: 6px;
    }
    .vu-root .checkout-v2__total-label {
      font-size: 10px; font-weight: 600; text-transform: uppercase;
      letter-spacing: 0.08em; color: var(--muted);
    }
    .vu-root .checkout-v2__total-val {
      font-size: 20px; font-weight: 600; letter-spacing: -0.03em; color: var(--text);
    }
    .vu-root .checkout-v2__card-input {
      border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px;
      font-size: 12px; background: var(--surface-2); color: var(--muted);
      width: 100%; margin: 10px 0;
    }
    .vu-root .checkout-v2__submit {
      display: block; width: 100%; padding: 10px 16px;
      background: var(--accent); color: #ffffff;
      border: none; border-radius: 6px; font-size: 12px; font-weight: 600; cursor: pointer;
    }
    .vu-root .checkout-v2__footer {
      padding: 9px 14px 12px; font-size: 10px; color: var(--muted);
      text-align: center; border-top: 1px solid var(--line);
    }

/* Zone C — classes not yet in canvas (designed post-canvas, added during extract) */

/* Subscription tier-toggle (Básico / Premium / Enterprise segmented control) */
.vu-root .plan-card-v2__tier-toggle {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  margin: 12px 0 16px;
}
.vu-root .plan-card-v2__tier-btn {
  flex: 1;
  padding: 5px 6px;
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: none;
  border-right: 1px solid var(--line);
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  line-height: 1.4;
}
.vu-root .plan-card-v2__tier-btn:last-child { border-right: none; }
.vu-root .plan-card-v2__tier-btn.active {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}

/* Report history pagination info span */
.vu-root .rh-v2__pages-info {
  font-size: 11px;
  color: var(--muted);
}

/* Zone C dark-mode overrides for on-accent colour (#ffffff → #000000) */
html[data-theme="dark"] .vu-root .store-v2__toggle-btn.active { color: #000000; }
html[data-theme="dark"] .vu-root .plan-card-v2--featured { color: #000000; }
html[data-theme="dark"] .vu-root .plan-card-v2--featured .plan-card-v2__amount { color: #000000; }
html[data-theme="dark"] .vu-root .plan-card-v2--featured .plan-card-v2__feature { color: #000000; }
html[data-theme="dark"] .vu-root .plan-card-v2--featured .plan-card-v2__btn { background: #000000; color: #ffffff; border-color: #000000; }
html[data-theme="dark"] .vu-root .credit-stepper__val { color: #000000; }
html[data-theme="dark"] .vu-root .credit-stepper__btn { color: #000000; }
html[data-theme="dark"] .vu-root .credit-stepper__btn:hover { background: #000000; color: #ffffff; }
html[data-theme="dark"] .vu-root .plan-card-v2__btn { color: #000000; }
html[data-theme="dark"] .vu-root .plan-card-v2__btn:hover { color: #000000; }
html[data-theme="dark"] .vu-root .plan-card-v2__btn--outline:hover { background: rgba(255,255,255,0.06); }
html[data-theme="dark"] .vu-root .plan-card-v2__tier-btn.active { background: var(--surface-2); color: var(--text); }
html[data-theme="dark"] .vu-root .rh-v2__layout-btn.active { color: #000000; }
html[data-theme="dark"] .vu-root .rh-v2__page-btn.active { color: #000000; }
html[data-theme="dark"] .vu-root .profile-v2__status-chip--active { color: #34d399; border-color: #34d399; }
html[data-theme="dark"] .vu-root .profile-v2__status-chip--warn { color: #fbbf24; border-color: #fbbf24; }
