/*
Theme Name: Nyvi Base
Theme URI: https://nyvi.app/
Author: Nyvi
Description: Tema independiente y ligero para Nyvi. Incluye un 404 propio y plantillas para páginas, sin sustituir las rutas de la aplicación.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nyvi-base
Tags: custom-menu, featured-images, translation-ready
*/
.nyvi-theme{--nyvi-paper:#fbf8f2;--nyvi-ink:#292e2c;--nyvi-muted:#63675f;--nyvi-berry:#9b3156;--nyvi-line:#deddd3;--nyvi-rose:#f2e2e7;margin:0;background:var(--nyvi-paper);color:var(--nyvi-ink);font:16px/1.65 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow-wrap:break-word}
.nyvi-theme *{box-sizing:border-box}.nyvi-theme a{color:inherit;text-underline-offset:4px}.nyvi-theme :focus-visible{outline:3px solid var(--nyvi-berry);outline-offset:5px}.nyvi-theme img{max-width:100%;height:auto}.nyvi-theme button,.nyvi-theme input{font:inherit}.nyvi-theme .nyvi-wrap{width:min(1180px,calc(100% - 64px));margin-inline:auto}.nyvi-skip{position:fixed;top:12px;left:12px;z-index:1000;padding:12px 20px;border-radius:12px;background:white;transform:translateY(-180%)}.nyvi-skip:focus{transform:none}.nyvi-site-header{border-bottom:1px solid var(--nyvi-line)}.nyvi-site-header>.nyvi-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:92px}.nyvi-brand{display:inline-flex;align-items:center;gap:8px;text-decoration:none;font-size:34px;font-weight:850;letter-spacing:-1.8px;line-height:1}.nyvi-brand img{width:38px;height:38px;border-radius:10px}.nyvi-brand b{color:var(--nyvi-berry)}.nyvi-header-links,.nyvi-footer-links{display:flex;align-items:center;gap:24px;flex-wrap:wrap;list-style:none;padding:0;margin:0}.nyvi-header-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-size:.88rem;font-weight:650}.nyvi-header-links a:hover{text-decoration:underline}.nyvi-header-links .nyvi-enter{border:1px solid #c9cdc2;padding:8px 20px;border-radius:99px}.nyvi-error{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:72px;min-height:calc(100svh - 220px);padding-block:64px}.nyvi-kicker{display:inline-flex;align-items:center;gap:9px;letter-spacing:1.7px;font-size:.7rem;font-weight:750;color:var(--nyvi-berry)}.nyvi-kicker::before{content:'';width:7px;height:7px;background:currentColor;border-radius:50%}.nyvi-error h1{font-size:clamp(2.6rem,4.6vw,4.7rem);font-weight:750;line-height:1.07;letter-spacing:-.05em;margin:22px 0}.nyvi-error h1 em{display:block;font-family:Georgia,serif;font-weight:400;color:var(--nyvi-berry);letter-spacing:-.04em}.nyvi-error-copy>p{max-width:410px;color:var(--nyvi-muted);font-size:1.05rem;margin:0 0 28px}.nyvi-error-actions{display:flex;flex-wrap:wrap;gap:12px}.nyvi-btn{display:inline-flex;justify-content:center;align-items:center;gap:12px;min-height:50px;border-radius:99px;padding:12px 22px;background:var(--nyvi-berry);color:white!important;text-decoration:none!important;font-size:.88rem;font-weight:650;border:1px solid var(--nyvi-berry)}.nyvi-btn svg{width:18px;height:18px;flex-shrink:0}.nyvi-btn-secondary{background:transparent;color:var(--nyvi-ink)!important;border-color:#c9cdc2}.nyvi-help{font-size:.82rem;color:var(--nyvi-muted);margin-top:26px}.nyvi-help a{color:var(--nyvi-berry);font-weight:650}.nyvi-error-art{position:relative;display:grid;place-items:center;min-height:420px;isolation:isolate}.nyvi-error-orbit{position:absolute;inset:14px;border:1px dashed #d7bdc8;border-radius:50%;rotate:-15deg;scale:1 .9}.nyvi-error-orbit::after{content:'';position:absolute;width:12px;height:12px;top:38px;left:50px;border-radius:50%;background:var(--nyvi-berry);box-shadow:0 0 0 8px var(--nyvi-paper)}.nyvi-error-cloud{position:absolute;inset:35px 10px;border-radius:50%;background:#f3e5e8;rotate:12deg;z-index:-1}.nyvi-error-code{display:flex;align-items:center;gap:10px;font-size:clamp(5rem,10vw,9rem);font-weight:750;letter-spacing:-.07em;line-height:1;color:var(--nyvi-berry)}.nyvi-error-zero{display:grid;place-items:center;width:135px;height:165px;border-radius:80px;background:var(--nyvi-paper);box-shadow:0 18px 40px #683b4b12;border:1px solid #e7ced9;rotate:-8deg}.nyvi-error-zero img{width:82px;height:82px;border-radius:24px}.nyvi-art-note{position:absolute;bottom:36px;right:6px;background:#fffdf9;border:1px solid #e0dfd6;border-radius:18px;padding:14px 22px;box-shadow:0 8px 25px #3340290a;rotate:5deg;font-size:.85rem;font-weight:600;color:var(--nyvi-berry)}.nyvi-spark{position:absolute;top:65px;right:55px;font-size:38px;color:#a4893e}.nyvi-site-footer{border-top:1px solid var(--nyvi-line);padding-block:24px;color:var(--nyvi-muted);font-size:.8rem}.nyvi-site-footer>.nyvi-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}.nyvi-site-footer p{margin:0}.nyvi-footer-links{gap:20px}.nyvi-footer-links a{display:inline-flex;align-items:center;min-height:44px}.nyvi-document{max-width:820px;margin:auto;padding-block:56px 72px;min-height:60svh}.nyvi-document h1{font-size:clamp(2rem,4vw,3.4rem);line-height:1.15;letter-spacing:-.04em;margin:0 0 30px}.nyvi-document h2{margin-top:36px;line-height:1.3}.nyvi-document a{color:var(--nyvi-berry)}.nyvi-document table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.nyvi-document th,.nyvi-document td{padding:10px;border:1px solid var(--nyvi-line)}.nyvi-document pre{overflow:auto;padding:16px;background:#f1ede7;border-radius:12px}.nyvi-document iframe{max-width:100%}.nyvi-document .alignwide{max-width:100%}.nyvi-list-entry{padding-block:24px;border-bottom:1px solid var(--nyvi-line)}.nyvi-list-entry h2{margin:0 0 12px}.nyvi-search-form{display:flex;gap:10px;flex-wrap:wrap}.nyvi-search-form label{flex:1;min-width:180px}.nyvi-search-form input{width:100%;padding:12px 16px;border:1px solid var(--nyvi-line);border-radius:12px;min-height:48px}.nyvi-fallback{text-align:center;padding:100px 0}.screen-reader-text{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;white-space:nowrap}
@media(prefers-reduced-motion:no-preference){.nyvi-error-copy{animation:nyvi-theme-enter .45s ease both}.nyvi-error-art{animation:nyvi-theme-enter .6s ease both}.nyvi-art-note{animation:nyvi-theme-float 2s ease-in-out 2}.nyvi-btn{transition:translate .2s ease,box-shadow .2s ease}.nyvi-btn:hover{translate:0 -2px;box-shadow:0 7px 18px #73334d18}}
@keyframes nyvi-theme-enter{from{opacity:.5;translate:0 12px}to{opacity:1;translate:0 0}}@keyframes nyvi-theme-float{50%{translate:0 -5px}}
@media(max-width:850px){.nyvi-error{gap:28px}.nyvi-error-art{min-height:340px}.nyvi-error-zero{width:100px;height:130px}.nyvi-error-zero img{width:65px;height:65px}.nyvi-art-note{bottom:10px;font-size:.75rem;padding:12px 16px}}
@media(max-width:600px){.nyvi-theme .nyvi-wrap{width:calc(100% - 36px)}.nyvi-site-header>.nyvi-wrap{min-height:76px;gap:12px}.nyvi-brand{font-size:30px}.nyvi-brand img{width:32px;height:32px}.nyvi-header-links{gap:12px}.nyvi-header-links .nyvi-home-link{display:none}.nyvi-header-links .nyvi-enter{padding:8px 16px}.nyvi-error{grid-template-columns:1fr;gap:16px;padding-block:24px 42px;min-height:0}.nyvi-error-art{grid-row:1;min-height:230px;max-width:340px;width:100%;margin:auto}.nyvi-error-code{font-size:6.2rem;gap:8px}.nyvi-error-zero{width:90px;height:110px}.nyvi-error-zero img{width:58px;height:58px}.nyvi-error-cloud{inset:18px 16px}.nyvi-error-orbit{inset:4px 14px}.nyvi-art-note{bottom:8px;right:4px;padding:9px 14px}.nyvi-spark{top:26px;right:50px;font-size:26px}.nyvi-error h1{font-size:2.65rem;margin:16px 0}.nyvi-error-copy>p{font-size:.95rem;margin-bottom:22px}.nyvi-error-actions{gap:10px}.nyvi-btn{padding:12px 18px;font-size:.82rem;flex:1}.nyvi-help{margin-top:20px}.nyvi-document{padding-block:36px 50px}.nyvi-footer-links{gap:12px 20px}.nyvi-site-footer>.nyvi-wrap{gap:8px}}
@media(prefers-reduced-motion:reduce){.nyvi-theme *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
