:root,:root[data-theme="light"]{--paper:#fff7fa;--powder:#f6e1ea;--rose:#ce8ea8;--ink:#422536;--muted:#6b4d5c;--primary:#98405f;--primary-hover:#7e304d;--line:#e8d4dd;--surface:#fff;--on-primary:#fff;--soft-section:#fbeef3;--hover:#edd0dd;--selected:#edc9d9;--input-line:#cbb1be;--placeholder:#8b6c7c;--inverse-surface:#422536;--inverse-text:#fff7fa;--featured-button:#f6e1ea;--featured-button-text:#422536;--toast-bg:#422536;--toast-text:#fff;--success:#287354;--success-soft:#e6f2eb;--error:#a22d46;--on-error:#fff;--error-soft:#f8e0e6;--info:#5d5a85;--info-soft:#eeecf5;--gold:#92641e;--gold-soft:#f5eddd;--disabled-soft:#f3ecef;color-scheme:light}
:root[data-theme="dark"]{--paper:#1c141b;--powder:#30202b;--rose:#cc8da8;--ink:#f8e9f0;--muted:#c6aab9;--primary:#d28fac;--primary-hover:#e1a6c1;--line:#513746;--surface:#261b23;--on-primary:#291821;--soft-section:#21171f;--hover:#432c3b;--selected:#4c2e40;--input-line:#765568;--placeholder:#bd9bab;--inverse-surface:#382333;--inverse-text:#fff0f7;--featured-button:#e0a4be;--featured-button-text:#291821;--toast-bg:#f2dce7;--toast-text:#291821;--success:#99d4af;--success-soft:#20362a;--error:#f19aaa;--on-error:#291821;--error-soft:#44232e;--info:#c1b6e8;--info-soft:#312a45;--gold:#dfc48d;--gold-soft:#3a3020;--disabled-soft:#30252d;color-scheme:dark}
/* Admin aliases share the same palette as public pages. */
:root[data-theme]{--bg:var(--paper);--bg-deep:var(--paper);--surface-light:var(--powder);--surface-card:var(--surface);--surface-hover:var(--powder);--text:var(--ink);--text-main:var(--ink);--text-muted:var(--muted);--text-dim:var(--muted);--pink:var(--primary);--pink-bright:var(--primary-hover);--violet:var(--primary);--green:var(--success);--red:var(--error);--cyan:var(--info);--purple:var(--primary);--bg-dark:var(--paper);--bg-card:var(--surface);--bg-card-hover:var(--powder);--bg-card-border:var(--line);--bg-sidebar:var(--powder);--accent-pink:var(--primary);--accent-purple:var(--primary);--accent-cyan:var(--info);--accent-green:var(--success);--accent-gold:var(--gold);--accent-red:var(--error);--font-main:Golos,Arial,sans-serif;--font-mono:ui-monospace,monospace;--sidebar-width:250px}
.theme-picking{overflow:hidden}.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;gap:0;min-width:44px;width:44px;min-height:44px;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);color:var(--ink);cursor:pointer;font:inherit}.theme-toggle:hover{background:var(--powder);border-color:var(--rose)}.theme-toggle:focus-visible,.theme-option:focus-visible,.theme-close:focus-visible{outline:3px solid var(--primary);outline-offset:4px}.theme-toggle :is(svg,.svg-icon){width:22px;height:22px;flex-shrink:0}.theme-toggle .theme-sun{display:block}.theme-toggle .theme-moon{display:none}[data-theme="dark"] .theme-toggle .theme-sun{display:none}[data-theme="dark"] .theme-toggle .theme-moon{display:block}.theme-admin-toggle{position:fixed;right:22px;bottom:22px;z-index:1100;box-shadow:0 4px 20px #0002}.header-tools{display:flex;align-items:center;gap:10px;order:2}.header-inner>.brand{order:0}.header-inner>.site-nav{order:1;margin-left:auto}.header-inner{gap:24px}.site-nav .nav-cabinet{margin-left:0}.app-topbar>.theme-toggle{margin-left:auto}.brand-mark path:first-child{fill:var(--rose)}.brand-mark path:last-child{fill:var(--primary)}
.theme-dialog{font-family:Golos,Arial,sans-serif;width:calc(100% - 32px);max-width:570px;max-height:calc(100dvh - 32px);overflow-y:auto;padding:38px;border:1px solid var(--line);border-radius:24px;background:var(--paper);color:var(--ink);box-shadow:0 20px 80px #0004}.theme-dialog::backdrop{background:#100a12b8}.theme-dialog h2{font-family:inherit;font-size:32px;font-weight:650;letter-spacing:-.045em;line-height:1.15;margin:4px 25px 18px 0;text-wrap:balance}.theme-dialog>p{font-size:15px;line-height:1.6;color:var(--muted);margin:0 0 24px}.theme-close{position:absolute;right:10px;top:10px;border:0;width:44px;min-height:44px;padding:0;border-radius:10px;background:transparent;color:var(--ink);font:32px/1 Golos,Arial,sans-serif;cursor:pointer}.theme-close:hover{background:var(--powder)}.theme-options{display:grid;grid-template-columns:1fr 1fr;gap:16px}.theme-option{display:flex;flex-direction:column;min-width:0;text-align:left;gap:12px;padding:10px 10px 16px;border:2px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);font-family:inherit;cursor:pointer}.theme-option[aria-pressed="true"]{border-color:var(--primary)}.theme-option:hover{border-color:var(--rose)}.theme-option-title{display:flex;align-items:center;justify-content:space-between;gap:6px;width:100%;font-size:18px;font-weight:600;line-height:1.3;padding-inline:4px}.theme-option-note{color:var(--muted);font-size:12px;line-height:1.45;padding-inline:4px}.theme-check{display:inline-block;opacity:0;color:var(--primary);font-size:17px}.theme-option[aria-pressed="true"] .theme-check{opacity:1}.theme-preview{display:block;position:relative;isolation:isolate;overflow:hidden;width:100%;height:110px;border-radius:9px}.preview-dark{background:#211820;color:#f8e9f0}.preview-light{background:#fff7fa;color:#422536}.preview-bar{position:absolute;top:13px;left:12px;width:28px;height:4px;background:currentColor;border-radius:2px;opacity:.8}.preview-title{position:absolute;left:12px;top:36px;height:9px;width:46%;border-radius:2px;background:currentColor}.preview-copy{position:absolute;left:12px;top:53px;height:4px;width:38%;border-radius:2px;background:currentColor;opacity:.5}.preview-button{position:absolute;left:12px;bottom:19px;height:12px;width:35%;border-radius:4px;background:#98405f}.preview-dark .preview-button{background:#d28fac}.preview-v{position:absolute;right:9px;top:18px;font-size:70px;line-height:1.2;font-weight:700;color:#cc8da8;transform:rotate(-7deg);font-family:Golos,Arial,sans-serif}.theme-dialog .theme-current{font-size:12px;line-height:1.5;margin:18px 0 0}
/* Documents end inside the reading column, with two distinct navigation actions. */
.document-intro{padding:24px 28px;margin-bottom:28px;border-radius:16px;background:var(--powder);color:var(--ink);font-size:16px;line-height:1.8}.document-final{border-top:1px solid var(--line);padding-top:26px;margin-top:22px;color:var(--muted);font-size:14px;line-height:1.8}.documents-navigation{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:34px}.legal-content .documents-navigation>a{display:flex;flex-direction:column;justify-content:space-between;gap:12px;min-width:0;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);text-decoration:none;overflow-wrap:normal;transition:background .18s,border-color .18s}.legal-content .documents-navigation>a:hover{background:var(--powder);border-color:var(--rose)}.documents-navigation small{display:block;font-size:12px;font-weight:450;line-height:1.5;color:var(--muted);letter-spacing:0;text-transform:none}.documents-navigation strong{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;font-size:17px;line-height:1.5;font-weight:600}.documents-navigation strong span{color:var(--primary);font-size:22px;line-height:1.1;flex-shrink:0}
@media(max-width:1000px){.header-inner{gap:16px;min-height:86px}.menu-toggle{display:flex}.header-inner>.site-nav{display:none;position:absolute;top:86px;left:0;right:0;background:var(--paper);padding:24px 32px 32px;border-bottom:1px solid var(--line);box-shadow:0 20px 30px #0001;align-items:stretch;gap:6px;margin:0}.header-inner>.site-nav.is-open{display:flex;flex-direction:column}.header-inner>.site-nav>a{padding:12px 0;font-size:16px}.header-inner>.site-nav .nav-cabinet{margin-top:12px;padding:15px}}
@media(max-width:600px){.header-inner{gap:10px;min-height:78px}.header-tools{gap:5px}.header-inner>.brand{font-size:21px;gap:8px}.header-inner>.site-nav{top:78px;padding-inline:20px}.theme-toggle{width:42px;min-width:42px;min-height:44px}.theme-dialog{padding:30px 20px 24px;border-radius:20px}.theme-dialog h2{font-size:28px;margin-top:8px}.theme-dialog>p{font-size:14px;margin-bottom:22px}.theme-options{gap:12px}.theme-option{padding:8px 8px 14px;gap:10px;border-radius:13px}.theme-preview{height:95px}.theme-option-title{font-size:17px;padding-inline:2px}.theme-option-note{font-size:12px;padding-inline:2px}.theme-dialog .theme-current{font-size:12px}.preview-v{font-size:58px;top:21px;right:4px}.document-intro{padding:22px;font-size:14px;line-height:1.8}.document-final{padding-top:22px;font-size:14px}.documents-navigation{grid-template-columns:1fr;gap:13px;margin-top:28px}.legal-content .documents-navigation>a{padding:22px;gap:12px}.documents-navigation strong{font-size:17px}.cabinet-page .app-topbar{display:flex;flex-wrap:wrap;gap:14px}.cabinet-page .app-mobile-brand{order:0}.cabinet-page .app-topbar>.theme-toggle{order:1;margin-left:auto}.cabinet-page .user-identity{order:2;width:100%;max-width:none;flex-basis:100%}.cabinet-page .user-identity #refreshProfile{margin-left:auto}.theme-admin-toggle{right:16px;bottom:16px}}
@media(max-width:360px){.theme-preview{height:80px}.theme-option-title{font-size:16px}.theme-option-note{font-size:11px}.preview-v{font-size:48px;top:21px}.preview-title{width:42%}.preview-button{width:35%;height:10px;bottom:14px}}
@media(prefers-reduced-motion:reduce){.theme-dialog,.theme-option,.theme-toggle,.documents-navigation>a{transition:none!important}}
@media(min-width:851px) and (max-width:1000px){.hero-art{margin-right:0}}
.cabinet-page .app-topbar>.text-link{order:0}.cabinet-page .app-topbar>.theme-toggle{order:1}.cabinet-page .app-topbar>.user-identity{order:2}
