/* Shared semantic colors for the app, sign-in and presentation. */
:root{color-scheme:dark;--ink:#f3f3f3;--ink-soft:#ddd;--ink-hover:#dcdcdc;--muted:#b4b4b4;--bg:#212121;--paper:#2b2b2b;--main:#181818;--sidebar:#1b1b1b;--soft:#303030;--surface-popover:#252525;--surface-hover:#383838;--surface-note:#282828;--surface-disabled:#242424;--surface-selected:#2c3543;--line:#393939;--line-soft:#2f2f2f;--line-strong:#484848;--control-border:#777;--blue:#315fa6;--blue-hover:#3c6eb7;--link:#b9d5ff;--focus:#b9d5ff;--warning:#f2cb70;--warning-bg:#3a321f;--warning-border:#725f2f;--warning-hover:#4b4026;--success:#79dca7;--success-bg:#20392d;--success-border:#34694d;--success-hover:#294b38;--error:#ff9f9b;--danger-bg:#412826;--danger-border:#744440;--danger-hover:#54312d;--info:#a3c6ff;--info-bg:#263751;--green:#91d5a7;--yellow:#f2cd83;--red:#ffaaa4}
:root[data-theme="light"]{color-scheme:light;--ink:#182536;--ink-soft:#344256;--ink-hover:#26384f;--muted:#566476;--bg:#f3f5f8;--paper:#fff;--main:#f8fafc;--sidebar:#edf1f6;--soft:#eef2f7;--surface-popover:#fff;--surface-hover:#e2e9f2;--surface-note:#edf1f6;--surface-disabled:#e7ecf2;--surface-selected:#dce8f7;--line:#d5dce5;--line-soft:#dfe5ed;--line-strong:#bfcbda;--control-border:#7c8999;--blue:#285c9c;--blue-hover:#214d84;--link:#235995;--focus:#245fa6;--warning:#76520a;--warning-bg:#fff4dc;--warning-border:#ad8d42;--warning-hover:#f5e7c2;--success:#19613c;--success-bg:#e8f5ee;--success-border:#6c9f82;--success-hover:#d8eedf;--error:#a12d26;--danger-bg:#fff0ee;--danger-border:#bf7a73;--danger-hover:#f8dedb;--info:#245993;--info-bg:#e7f0fc;--green:#226b43;--yellow:#76520a;--red:#a12d26}
.ryvok-theme-control{display:flex;align-items:center;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:13px;line-height:1.5}
.ryvok-theme-control label{margin:0;font:inherit;color:inherit}
.ryvok-theme-control select{font:inherit;min-height:44px;max-width:100%;padding:9px 30px 9px 12px;border:1px solid var(--control-border);border-radius:10px;color:var(--ink);background:var(--paper);cursor:pointer}
.ryvok-theme-control select:focus-visible{outline:2px solid var(--focus);outline-offset:3px}
.ryvok-theme-login{margin:0 0 24px;justify-content:flex-end}
.ryvok-theme-login select{width:auto}
.ryvok-theme-menu{padding:12px}
.ryvok-theme-menu select{width:100%}
.ryvok-pilot-note{font-size:12px;line-height:1.7;color:var(--muted)}
.ryvok-pilot-note summary{cursor:pointer;padding:12px 0;min-height:44px;color:var(--ink)}
.ryvok-pilot-note a{color:var(--link)}
html[data-theme="light"] #yonpyme-app-compras .yp-button-primary{color:#fff}
html[data-theme="light"] #yonpyme-app-compras .yp-button-primary[data-action="new"][data-value="sale"]{color:#fff}
@media(max-width:760px){.top-inner{flex-wrap:wrap;padding-top:14px;padding-bottom:14px;gap:12px}.ryvok-theme-landing{flex-basis:100%;justify-content:flex-end}.ryvok-theme-landing select{max-width:200px}}

.ryvok-landing{--blue:var(--link)}

/* Ryvok palette: violet actions, quiet surfaces and semantic accents. */
:root{--blue:#7245bb;--blue-hover:#8253cf;--link:#d4b8ff;--focus:#d4b8ff;--surface-selected:#392c4e}
:root[data-theme="light"]{--ink:#30263f;--ink-soft:#4b405a;--ink-hover:#39274e;--muted:#6a5f78;--bg:#f8f6fc;--paper:#fff;--main:#fff;--sidebar:#f8f6fc;--soft:#f4effb;--surface-popover:#fff;--surface-hover:#eee6f7;--surface-note:#f8f5fc;--surface-disabled:#efecf3;--surface-selected:#ece1fb;--line:#e4ddec;--line-soft:#eee8f4;--line-strong:#cbbddc;--control-border:#95859f;--blue:#7040b5;--blue-hover:#5c319a;--link:#6536a5;--focus:#7040b5;--info:#6536a5;--info-bg:#f0e8fb;--success:#246846;--success-bg:#eaf6ef;--warning:#805014;--warning-bg:#fff3e3}
