/* Vysua Gestión — estilo claro, minimalista y premium. Tipografía Google Sans Flex (light/regular/bold) y logo de Vysua. */
@font-face { font-family: "Google Sans Flex Variable"; font-style: normal; font-display: swap; font-weight: 1 1000;
	src: url(fonts/google-sans-flex-latin-ext.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Google Sans Flex Variable"; font-style: normal; font-display: swap; font-weight: 1 1000;
	src: url(fonts/google-sans-flex-latin.woff2) format("woff2-variations");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--paper: #eef0ec;
	--mint: #dde8e1;
	--haze: #e8e5ec;
	--glass: rgba(255, 255, 255, .58);
	--glass-strong: rgba(255, 255, 255, .82);
	--ink: #151613;
	--ink-2: #1e1f1c;
	--ink-3: #2a2b27;
	--muted: rgba(21, 22, 19, .58);
	--faint: rgba(21, 22, 19, .4);
	--line: rgba(21, 22, 19, .08);
	--line-strong: rgba(21, 22, 19, .14);
	--on-dark: #f3f4ef;
	--on-dark-muted: rgba(243, 244, 239, .58);
	--on-dark-line: rgba(243, 244, 239, .1);
	--lime: #d6f70f;
	--lime-deep: #b9d900;
	--lime-ink: #1b1e05;
	--good: #1f8a5b;
	--bad: #c8413f;
	--warn: #b88400;
	--radius: 28px;
	--light: 300;
	--regular: 400;
	--bold: 700;
	--shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 18px 40px -28px rgba(21, 22, 19, .35);
	--font: "Google Sans Flex Variable", "Google Sans Flex", system-ui, -apple-system, "Segoe UI", sans-serif;
	--hatch: repeating-linear-gradient(135deg, rgba(21, 22, 19, .16) 0 1.5px, transparent 1.5px 6px);
}

html, body.vy-body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-weight: var(--regular); -webkit-font-smoothing: antialiased; }
body.vy-body { min-height: 100vh; background:
	radial-gradient(70% 45% at 0% 0%, rgba(255, 255, 255, .9), transparent 70%),
	radial-gradient(60% 50% at 100% 10%, var(--mint), transparent 70%),
	radial-gradient(70% 60% at 80% 100%, var(--haze), transparent 70%),
	linear-gradient(170deg, #f3f4f1 0%, var(--paper) 45%, #e7ebe6 100%); background-attachment: fixed; }
.vy-body *, .vy-body *::before, .vy-body *::after { box-sizing: border-box; }
.vy-body strong, .vy-body b, .vy-body h1, .vy-body h2, .vy-body h3 { font-weight: var(--bold); }
.vy-body em { font-style: italic; font-weight: var(--light); }
:where(.vy-body) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.vy-body) button { cursor: pointer; }
.vy-body :focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
:where(.vy-body) a { color: inherit; }
.vy-inline-link { text-decoration: underline; text-underline-offset: 3px; }

.vy-app { max-width: 1120px; margin: 0 auto; padding: max(16px, env(safe-area-inset-top)) 16px 120px; }
.vy-loading { display: flex; gap: 12px; align-items: center; justify-content: center; min-height: 70vh; color: var(--muted); }
.vy-spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line-strong); border-top-color: var(--ink); animation: vy-spin .8s linear infinite; }
@keyframes vy-spin { to { transform: rotate(360deg); } }

/* Encabezado */
.vy-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 0 4px; }
.vy-hello { display: flex; align-items: center; gap: 12px; min-width: 0; }
.vy-avatar { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; flex: none;
	background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow); }
.vy-avatar img { width: 24px; height: 24px; margin-top: 3px; }
.vy-logo { display: block; height: 20px; width: auto; }
.vy-top-actions { display: flex; gap: 8px; }
.vy-icon-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); display: grid; place-items: center; color: var(--ink);
	backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); text-decoration: none; transition: background .2s, transform .2s; }
.vy-icon-btn:hover { background: var(--glass-strong); transform: translateY(-1px); }
.vy-icon-btn .vy-dot { position: absolute; top: 9px; right: 9px; min-width: 9px; height: 9px; padding: 0; border-radius: 50%; background: #ef5a45; font-size: 0; box-shadow: 0 0 0 2px #fff; }
.vy-spin svg { animation: vy-spin .8s linear infinite; }

/* Portada */
.vy-home-top { display: grid; gap: 18px; margin-top: 18px; }
.vy-intro h1 { margin: 6px 2px 22px; font-size: clamp(30px, 8.4vw, 46px); line-height: 1.08; letter-spacing: -.035em; }
.vy-months { display: flex; align-items: flex-end; gap: 7px; margin: 0 0 26px; max-width: 460px; }
.vy-month { flex: 1; }
.vy-month b { position: relative; display: flex; align-items: flex-end; justify-content: center; width: 100%; border-radius: 14px; overflow: hidden;
	background: var(--glass); border: 1px solid var(--line-strong); }
.vy-month b::before { content: ""; position: absolute; inset: 0 0 auto; height: 42%; background: var(--hatch); border-bottom: 1px solid var(--line-strong); }
.vy-month span { position: relative; font-size: 12px; font-weight: var(--regular); color: var(--muted); padding: 0 0 7px; text-transform: lowercase; }
.vy-month.is-neg b::before { background: repeating-linear-gradient(135deg, rgba(200, 65, 63, .3) 0 1.5px, transparent 1.5px 6px); }
.vy-month.is-now b { background: var(--ink-2); border-color: var(--ink-2); }
.vy-month.is-now b::before { background: var(--lime); border-bottom: 0; height: 38%; border-radius: 0 0 6px 6px; }
.vy-month.is-now span { color: var(--on-dark); }
.vy-lead { margin: 0 2px; font-size: 15px; font-weight: var(--regular); color: var(--muted); }
.vy-lead-sub { margin: 4px 2px 0; font-size: 13px; font-weight: var(--light); color: var(--muted); }
.vy-amount { font-size: clamp(42px, 13vw, 64px); font-weight: var(--bold); letter-spacing: -.045em; line-height: 1; margin: 8px 0 0; font-variant-numeric: tabular-nums; }
.vy-cur { font-size: .5em; font-weight: var(--regular); letter-spacing: 0; margin-right: .18em; vertical-align: .55em; color: var(--muted); }
.vy-cents { font-size: .42em; font-weight: var(--light); color: var(--muted); letter-spacing: -.01em; }

/* Acciones rápidas */
.vy-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; max-width: 420px; margin: 26px 0 4px; }
.vy-action { display: flex; flex-direction: column; align-items: center; gap: 9px; border: 0; background: none; font-size: 13px; color: var(--ink); }
.vy-action i { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .2s, background .2s, color .2s; }
.vy-action:first-child i { background: var(--ink-2); color: var(--lime); border-color: var(--ink-2); }
.vy-action:hover i { transform: translateY(-2px); }

/* Panel oscuro */
.vy-dark { position: relative; border-radius: 32px; padding: 14px 20px 20px; background: var(--ink-2); color: var(--on-dark);
	box-shadow: 0 30px 60px -30px rgba(21, 22, 19, .6); overflow: hidden; }
.vy-dark::after { content: ""; position: absolute; right: -90px; bottom: -110px; width: 260px; height: 260px; border-radius: 50%; pointer-events: none;
	background: repeating-radial-gradient(circle, transparent 0 18px, rgba(243, 244, 239, .07) 18px 19px); }
.vy-dark .vy-grip { width: 40px; height: 4px; border-radius: 2px; background: var(--on-dark-line); margin: 0 auto 16px; }
.vy-dark-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; color: var(--on-dark-muted); }
.vy-dark-link { border: 0; background: none; color: var(--on-dark); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; padding: 4px 0; }
.vy-meter { position: relative; height: 46px; border-radius: 999px; margin: 14px 0 12px; overflow: hidden;
	background: repeating-linear-gradient(135deg, rgba(243, 244, 239, .2) 0 2px, transparent 2px 9px), rgba(243, 244, 239, .05); }
.vy-meter b { position: relative; display: block; height: 100%; border-radius: 999px; background: var(--lime); min-width: 46px; box-shadow: 0 0 30px -4px rgba(214, 247, 15, .6); }
.vy-meter i { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; background: rgba(27, 30, 5, .18); border: 1px solid rgba(27, 30, 5, .25); }
.vy-meter i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 16px; transform: translate(-50%, -50%);
	background: radial-gradient(circle, var(--lime-ink) 1.6px, transparent 2px) 0 0 / 4px 6px repeat-y; }
.vy-meter-text { margin: 0 0 18px; font-size: 13px; font-weight: var(--light); color: var(--on-dark-muted); }
.vy-meter-text strong { color: var(--on-dark); font-size: 17px; font-weight: var(--bold); margin-right: 4px; }
.vy-tiles { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vy-tile { position: relative; text-align: left; border-radius: 22px; padding: 16px; min-height: 128px; display: flex; flex-direction: column; justify-content: space-between;
	border: 1px solid var(--on-dark-line); background: linear-gradient(160deg, var(--ink-3), #222320); color: var(--on-dark); }
.vy-tile span { font-size: 14px; line-height: 1.25; }
.vy-tile svg { position: absolute; top: 16px; right: 16px; color: var(--lime); }
.vy-tile strong { font-size: 21px; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.vy-tile strong.is-lime { color: var(--lime); }
.vy-tile:hover { border-color: rgba(243, 244, 239, .22); }

/* Secciones y tarjetas */
.vy-grid { display: grid; gap: 14px; }
.vy-home-grid { margin-top: 18px; }
.vy-card { position: relative; border-radius: var(--radius); padding: 20px; border: 1px solid rgba(255, 255, 255, .7);
	background: var(--glass); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow); overflow: hidden; }
.vy-card h2, .vy-card h3 { margin: 0; font-size: 18px; letter-spacing: -.02em; }
.vy-card .vy-sub, .vy-sub { color: var(--muted); font-size: 13px; font-weight: var(--light); margin-top: 4px; }
.vy-card-go { position: absolute; top: 16px; right: 16px; width: 50px; height: 50px; border-radius: 50%; border: 0; display: grid; place-items: center;
	color: var(--lime); background: var(--ink-2); box-shadow: 0 10px 24px -12px rgba(21, 22, 19, .7); transition: transform .2s; }
.vy-card-go:hover { transform: rotate(45deg); }
.vy-lime { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); min-height: 170px; display: flex; flex-direction: column; }
.vy-lime::after { content: ""; position: absolute; right: -70px; top: -60px; width: 230px; height: 230px; border-radius: 50%; pointer-events: none;
	background: repeating-radial-gradient(circle, transparent 0 16px, rgba(27, 30, 5, .12) 16px 17px); }
.vy-lime .vy-sub { color: rgba(27, 30, 5, .62); }
.vy-lime .vy-big { margin-top: auto; padding-top: 22px; font-size: 34px; font-weight: var(--bold); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.vy-lime .vy-cur { color: rgba(27, 30, 5, .6); }
.vy-lime .vy-card-go { z-index: 1; }

/* Listas */
.vy-list { list-style: none; margin: 14px 0 0; padding: 0; }
.vy-row { display: flex; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--line); width: 100%; text-align: left; background: none; border-left: 0; border-right: 0; border-bottom: 0; border-radius: 0; }
.vy-list > li:first-child > .vy-row { border-top: 0; }
button.vy-row:hover { background: rgba(255, 255, 255, .45); }
.vy-row i { width: 42px; height: 42px; border-radius: 50%; flex: none; display: grid; place-items: center; background: rgba(255, 255, 255, .7); border: 1px solid var(--line); color: var(--ink); }
.vy-row i.is-in { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.vy-row i.is-out { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-dark); }
.vy-row i.is-move { background: rgba(255, 255, 255, .9); }
.vy-row .vy-main { flex: 1; min-width: 0; }
.vy-row .vy-main strong { display: block; font-weight: var(--regular); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vy-row .vy-main span { display: block; font-weight: var(--light); font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vy-row .vy-val { font-weight: var(--bold); font-variant-numeric: tabular-nums; white-space: nowrap; font-size: 15px; }
.vy-val.is-in { color: var(--good); }
.vy-val.is-out { color: var(--ink); }
.vy-empty { color: var(--muted); font-size: 14px; padding: 18px 4px; }
.vy-progress { height: 6px; border-radius: 3px; background: var(--hatch), rgba(21, 22, 19, .05); margin-top: 8px; overflow: hidden; }
.vy-progress b { display: block; height: 100%; border-radius: 3px; background: var(--ink-2); }
.vy-tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 999px; background: rgba(21, 22, 19, .07); color: var(--muted); margin-left: 6px; vertical-align: 1px; }

/* Vistas de módulo */
.vy-view-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 22px 2px 16px; }
.vy-view-head h1 { margin: 0; font-size: 34px; letter-spacing: -.035em; }
.vy-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.vy-tab { border: 1px solid var(--line-strong); background: var(--glass); border-radius: 999px; padding: 10px 20px; font-size: 15px; white-space: nowrap; color: var(--ink); }
.vy-tab.is-on { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-dark); }
.vy-search { width: 100%; border-radius: 18px; border: 1px solid var(--line-strong); background: var(--glass-strong); padding: 13px 18px; margin-bottom: 14px; }
.vy-search::placeholder { color: var(--faint); }
.vy-add { border: 0; border-radius: 999px; padding: 11px 18px; font-weight: var(--bold); color: var(--on-dark); background: var(--ink-2); display: inline-flex; align-items: center; gap: 6px; }
.vy-add svg { color: var(--lime); }
.vy-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-bottom: 14px; }
.vy-stat { border-radius: 22px; padding: 14px 16px; border: 1px solid rgba(255, 255, 255, .7); background: var(--glass); box-shadow: var(--shadow); }
.vy-stat:first-child { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-dark); }
.vy-stat:first-child small { color: var(--on-dark-muted); }
.vy-stat small { display: block; color: var(--muted); font-size: 12px; font-weight: var(--light); }
.vy-stat strong { display: block; font-size: 20px; letter-spacing: -.03em; margin-top: 6px; font-variant-numeric: tabular-nums; }

/* Avisos de la hoja */
.vy-issues li { font-size: 13.5px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--muted); }
.vy-issues li:first-child { border-top: 0; }
.vy-issues b { color: var(--warn); }

/* Navegación inferior */
.vy-nav { position: fixed; left: 50%; bottom: max(14px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 20;
	display: flex; gap: 2px; padding: 7px; border-radius: 32px; width: min(500px, calc(100% - 24px));
	background: rgba(30, 31, 28, .94); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 24px 50px -22px rgba(21, 22, 19, .7); }
.vy-nav button { flex: 1; border: 0; background: none; color: var(--on-dark-muted); display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 2px; font-size: 11.5px; border-radius: 24px; }
.vy-nav button.is-on { color: var(--lime-ink); background: var(--lime); font-weight: var(--bold); }

/* Hoja inferior (formularios) */
.vy-sheet-wrap { position: fixed; inset: 0; z-index: 40; background: rgba(21, 22, 19, .45); display: flex; align-items: flex-end; justify-content: center; }
.vy-sheet { width: min(560px, 100%); max-height: 92vh; overflow: auto; border-radius: 32px 32px 0 0; padding: 10px 20px max(24px, env(safe-area-inset-bottom));
	background: #f6f7f4; border: 1px solid #fff; border-bottom: 0; animation: vy-up .22s ease-out; box-shadow: 0 -20px 60px -30px rgba(21, 22, 19, .5); }
@keyframes vy-up { from { transform: translateY(40px); opacity: 0; } }
.vy-grip { width: 42px; height: 5px; border-radius: 3px; background: var(--line-strong); margin: 4px auto 14px; }
.vy-sheet-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.vy-sheet-head h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.vy-sheet-head .vy-icon-btn { box-shadow: none; }
.vy-field { display: block; margin: 14px 0; }
.vy-field > span { display: block; font-size: 13px; font-weight: var(--regular); color: var(--muted); margin-bottom: 6px; }
.vy-field > span em { color: var(--bad); font-style: normal; font-weight: var(--regular); }
.vy-field input, .vy-field select, .vy-field textarea { width: 100%; border-radius: 16px; border: 1px solid var(--line-strong); background: #fff; padding: 13px 15px; font-size: 16px; color: var(--ink); }
.vy-field input:focus, .vy-field select:focus, .vy-field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(214, 247, 15, .45); }
.vy-field textarea { min-height: 80px; resize: vertical; }
.vy-seg { display: flex; gap: 6px; flex-wrap: wrap; }
.vy-seg label { flex: 1; min-width: 90px; }
.vy-seg input { position: absolute; opacity: 0; pointer-events: none; }
.vy-seg span { display: block; text-align: center; padding: 12px 8px; border-radius: 16px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-size: 14px; }
.vy-seg input:checked + span { background: var(--ink-2); border-color: var(--ink-2); color: var(--on-dark); }
.vy-seg input:focus-visible + span { box-shadow: 0 0 0 3px var(--lime); }
.vy-form-error { background: rgba(200, 65, 63, .08); border: 1px solid rgba(200, 65, 63, .3); color: #8f2523; border-radius: 16px; padding: 10px 14px; font-size: 14px; margin-top: 10px; }
.vy-form-actions { display: flex; gap: 10px; margin-top: 20px; }
.vy-form-actions .vy-cta { flex: 1; }
.vy-cta { border: 0; border-radius: 999px; padding: 14px 22px; font-weight: var(--bold); font-size: 15px; color: var(--on-dark); background: var(--ink-2); box-shadow: 0 12px 26px -14px rgba(21, 22, 19, .8); }
.vy-cta:hover { background: #000; }
.vy-cta:disabled { opacity: .6; }
.vy-ghost { border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 13px 18px; color: var(--ink); }
.vy-ghost:hover { background: #fff; }

.vy-toast { position: fixed; left: 50%; top: max(16px, env(safe-area-inset-top)); transform: translateX(-50%); z-index: 60; padding: 12px 18px; border-radius: 18px;
	background: var(--ink-2); color: var(--on-dark); font-size: 14px; box-shadow: 0 18px 40px -16px rgba(21, 22, 19, .7); max-width: calc(100% - 32px); }
.vy-toast::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); margin-right: 10px; vertical-align: 1px; }
.vy-toast.is-bad::before { background: #ef5a45; }
.vy-error-box { text-align: center; padding: 60px 16px; color: var(--muted); }
.vy-error-box h2 { color: var(--ink); }

/* Contactos de Google */
.vy-contact-actions { display: flex; gap: 6px; flex: none; }
.vy-contact-actions a, .vy-mini { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink);
	background: #fff; border: 1px solid var(--line-strong); text-decoration: none; padding: 0; }
.vy-contact-actions a:first-child { background: var(--lime); border-color: var(--lime); color: var(--lime-ink); }
.vy-contact-actions a:hover, .vy-mini:hover { border-color: var(--ink); }
.vy-mini { color: var(--muted); margin-left: 2px; }
.vy-contact-card { border-radius: 22px; border: 1px solid var(--line); background: #fff; padding: 14px 16px; margin: 10px 0 4px; display: grid; gap: 8px; }
.vy-contact-card > strong { font-size: 17px; letter-spacing: -.02em; }
.vy-contact-card > span { font-size: 13px; font-weight: var(--light); color: var(--muted); }
.vy-contact-card .vy-list { margin: 0; }

/* Acceso y primer uso */
.vy-auth-body { display: grid; place-items: center; }
.vy-auth { width: min(440px, 100%); padding: 40px 16px; display: flex; flex-direction: column; align-items: center; }
.vy-auth-logo { height: 26px; margin-bottom: 30px; }
.vy-auth-card { width: 100%; border-radius: 34px; padding: 30px 24px 26px; background: var(--glass); border: 1px solid rgba(255, 255, 255, .8);
	backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 1px 0 #fff inset, 0 40px 80px -40px rgba(21, 22, 19, .45); position: relative; overflow: hidden; }
.vy-auth-card::after { content: ""; position: absolute; right: -80px; top: -90px; width: 220px; height: 220px; border-radius: 50%; pointer-events: none;
	background: repeating-radial-gradient(circle, transparent 0 16px, rgba(21, 22, 19, .05) 16px 17px); }
.vy-auth-card h1 { position: relative; margin: 0; font-size: 31px; line-height: 1.1; letter-spacing: -.035em; }
.vy-auth-lead { position: relative; margin: 12px 0 0; color: var(--muted); font-size: 15px; font-weight: var(--light); line-height: 1.45; }
.vy-auth-form { position: relative; margin-top: 22px; display: grid; gap: 14px; }
.vy-auth-field { display: grid; gap: 7px; }
.vy-auth-field > span:first-child { font-size: 13px; color: var(--muted); }
.vy-auth-field input { width: 100%; border-radius: 18px; border: 1px solid var(--line-strong); background: #fff; padding: 15px 16px; font-size: 16px; color: var(--ink); }
.vy-auth-field input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(214, 247, 15, .5); }
.vy-auth-pass { position: relative; display: block; }
.vy-auth-pass input { padding-right: 54px; }
.vy-auth-eye { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; }
.vy-auth-eye[aria-pressed="true"] { color: var(--ink); }
.vy-auth-check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); cursor: pointer; }
.vy-auth-check input { width: 20px; height: 20px; accent-color: var(--ink-2); margin: 0; }
.vy-auth-error { margin: 0; background: rgba(200, 65, 63, .08); border: 1px solid rgba(200, 65, 63, .3); color: #8f2523; border-radius: 16px; padding: 10px 14px; font-size: 14px; }
.vy-auth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; border: 0; border-radius: 999px; padding: 16px 22px; margin-top: 6px;
	background: var(--ink-2); color: var(--on-dark); font-weight: var(--bold); font-size: 16px; text-decoration: none; box-shadow: 0 16px 30px -16px rgba(21, 22, 19, .9); }
.vy-auth-btn svg { color: var(--lime); transition: transform .2s; }
.vy-auth-btn:hover { background: #000; }
.vy-auth-btn:hover svg { transform: translate(2px, -2px); }
.vy-auth-foot { margin-top: 22px; font-size: 12px; color: var(--faint); letter-spacing: .04em; }

/* Ajustes */
.vy-settings { max-width: 640px; }
.vy-settings .vy-top h1 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.vy-back { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; }
.vy-form-card { margin-top: 16px; }
.vy-note { border-radius: 18px; padding: 12px 16px; margin: 16px 0 0; font-size: 14px; }
.vy-note.is-good { background: var(--lime); color: var(--lime-ink); }
.vy-note.is-bad { background: rgba(200, 65, 63, .1); color: #8f2523; border: 1px solid rgba(200, 65, 63, .3); }
.vy-details { margin: 10px 0; font-size: 14px; color: var(--muted); }
.vy-details summary { cursor: pointer; padding: 6px 0; }
.vy-tool-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.vy-tool-row form { margin: 0; }

@media (min-width: 900px) {
	.vy-app { padding-top: 28px; }
	.vy-home-top { grid-template-columns: 1.15fr 1fr; align-items: end; gap: 28px; }
	.vy-home-grid { grid-template-columns: repeat(2, 1fr); align-items: start; }
	.vy-home-grid > .vy-span { grid-column: 1 / -1; }
	.vy-stats { grid-template-columns: repeat(4, 1fr); }
	.vy-sheet-wrap { align-items: center; }
	.vy-sheet { border-radius: 32px; border-bottom: 1px solid #fff; }
}
@media (max-width: 420px) { .vy-row .vy-contact-actions a:nth-child(3) { display: none; } }
@media (prefers-reduced-motion: reduce) { .vy-body * { animation: none !important; transition: none !important; } }

/* ---------- App instalable ---------- */
.vy-install { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 80; width: min(440px, calc(100% - 24px));
	transform: translate(-50%, calc(100% + 40px)); opacity: 0; transition: transform .38s cubic-bezier(.2, .9, .25, 1), opacity .3s;
	background: var(--ink-2); color: var(--on-dark); border-radius: 30px; padding: 18px 18px 16px; box-sizing: border-box;
	box-shadow: 0 30px 60px -24px rgba(21, 22, 19, .55); font-family: var(--font); }
.vy-install.is-open { transform: translate(-50%, 0); opacity: 1; }
.vy-install-head { display: flex; gap: 14px; align-items: center; padding-right: 26px; }
.vy-install-head img { width: 52px; height: 52px; border-radius: 15px; flex: none; box-shadow: 0 0 0 1px var(--on-dark-line); }
.vy-install-head strong { display: block; font-size: 16.5px; font-weight: var(--bold); letter-spacing: -.01em; margin-bottom: 3px; }
.vy-install-head span { display: block; font-size: 13.5px; line-height: 1.4; color: var(--on-dark-muted); font-weight: var(--light); }
.vy-install-x { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent;
	color: var(--on-dark-muted); font-size: 22px; line-height: 1; cursor: pointer; }
.vy-install-steps { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.vy-install-steps li { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--on-dark); font-weight: var(--light); }
.vy-install-steps b { font-weight: var(--bold); }
.vy-install-ico { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(243, 244, 239, .08); color: var(--lime); font-weight: var(--bold); }
.vy-install-actions { display: flex; gap: 10px; margin-top: 16px; }
.vy-install-actions button { flex: 1; border: 0; border-radius: 999px; padding: 13px 16px; font: inherit; font-size: 14.5px; cursor: pointer; }
.vy-install-cta { background: var(--lime); color: var(--lime-ink); font-weight: var(--bold) !important; }
.vy-install-later { background: rgba(243, 244, 239, .08); color: var(--on-dark); }

/* Abierta como app desde la pantalla de inicio */
.vy-standalone, .vy-standalone body { overscroll-behavior-y: none; }
.vy-standalone body { -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.vy-standalone .vy-only-browser { display: none; }
.vy-standalone .vy-nav, .vy-standalone .vy-nav * { -webkit-user-select: none; user-select: none; }
.vy-body:has(.vy-nav) .vy-install { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 84px); }
