/* Ei Theme 0.6.0 — reusable shell. Canonical preset tokens are supplied by Ei Foundation. */
body.ei-theme-site {
  --da2-bg: var(--ei-bg); --da2-surface: var(--ei-surface); --da2-surface-2: var(--ei-surface-2);
  --da2-text: var(--ei-text); --da2-muted: var(--ei-muted); --da2-border: var(--ei-border);
  --da2-accent: var(--ei-accent); --da2-accent-hover: var(--ei-accent-hover);
  --da2-footer: var(--ei-footer); --da2-footer-text: var(--ei-footer-text);
  --da2-shadow: var(--ei-shadow); --da2-radius: var(--ei-radius); --da2-font: var(--ei-font);
  background: var(--ei-bg); color: var(--ei-text); font-family: var(--ei-font);
}
body.ei-theme-site .site-header { background: var(--ei-surface); border-top: var(--ei-frame-width) var(--ei-frame-style) var(--ei-frame-color); border-bottom-color: var(--ei-border); box-shadow: var(--ei-shadow); }
body.ei-theme-site .site-brand, body.ei-theme-site .site-brand:hover, body.ei-theme-site .primary-nav a, body.ei-theme-site .entry-title, body.ei-theme-site .page-title, body.ei-theme-site .post-list__title a { color: var(--ei-text); text-shadow: var(--ei-text-shadow); }
body.ei-theme-site .primary-nav a { letter-spacing: var(--ei-letter-spacing); }
body.ei-theme-site .primary-nav a:hover, body.ei-theme-site a { color: var(--ei-accent); }
.ei-brand { gap: 10px; }
.ei-brand__mark { display:inline-grid;place-items:center;min-width:34px;height:34px;padding:0 8px;border:var(--ei-frame-width) var(--ei-frame-style) var(--ei-frame-color);border-radius:var(--ei-radius);color:var(--ei-accent-hover);background:var(--ei-surface-2);font:800 14px/1 var(--ei-mono, var(--da2-mono, ui-monospace, monospace));letter-spacing:-.04em; }
.ei-account-link,.ei-mobile-account { display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:0 12px;border:var(--ei-frame-width) var(--ei-frame-style) var(--ei-border);border-radius:var(--ei-radius);color:var(--ei-accent)!important;background:var(--ei-surface);text-decoration:none;font-size:14px; }
.ei-account-link:hover,.ei-mobile-account:hover { background:var(--ei-surface-2);border-color:var(--ei-accent);color:var(--ei-accent-hover)!important; }
.ei-mobile-account { margin:12px; }
.ei-site-shell { display:block;min-height:calc(100vh - var(--da2-header-h)); }
body.ei-theme-site .site-main { min-width:0; }
body.ei-theme-site .content-wrap { width:min(980px,calc(100% - 48px)); }
body.ei-theme-site .reading-column { max-width:820px;margin-inline:auto; }
body.ei-theme-site .entry-content blockquote { background:var(--ei-surface);color:var(--ei-text);border-left-color:var(--ei-accent); }
body.ei-theme-site .entry-content code,body.ei-theme-site .entry-content pre { background:var(--ei-surface);color:var(--ei-text);border-color:var(--ei-border); }
body.ei-theme-site .entry-content th { background:var(--ei-surface); }
body.ei-theme-site .post-nav a { background:var(--ei-surface);border-color:var(--ei-border);color:var(--ei-text); }
body.ei-theme-site .comment-respond textarea,body.ei-theme-site .comment-respond input { background:var(--ei-surface);color:var(--ei-text);border-color:var(--ei-border); }
body.ei-theme-site .site-footer { background:var(--ei-footer);color:var(--ei-footer-text);border-top:var(--ei-frame-width) var(--ei-frame-style) var(--ei-border); }
body.ei-theme-site .site-footer h2,body.ei-theme-site .site-footer a { color:var(--ei-footer-text); }
body.ei-theme-site .site-footer__fineprint { color:color-mix(in srgb,var(--ei-footer-text) 68%, transparent); }
.ei-header--custom-menu { position:relative;z-index:100; }
/* Immersive canvas only becomes viewport-locked when both site chrome pieces are disabled. */
body.ei-canvas-page.ei-layout-header-off.ei-layout-footer-off { overflow:hidden; }
body.ei-canvas-page.ei-layout-header-on,body.ei-canvas-page.ei-layout-footer-on { overflow:auto; }
body.ei-canvas-page .ei-site-shell { min-height:0; }
.ei-world-canvas,.ei-immersive-canvas { width:100%;min-height:100vh;min-height:100dvh;overflow:visible; }
body.ei-canvas-page.ei-layout-header-off.ei-layout-footer-off .ei-world-canvas { height:100vh;height:100dvh;overflow:hidden; }
.ei-world-canvas>* { max-width:none; }
@media(max-width:1020px){.ei-account-link{display:none}body.ei-theme-site .mobile-nav__panel{background:var(--ei-surface);border-right-color:var(--ei-border)}body.ei-theme-site .mobile-nav__panel .menu>li>a{color:var(--ei-text)}}
@media(max-width:782px){body.ei-theme-site .content-wrap{width:min(100% - 28px,760px)}}

body.ei-theme-site .site-header,body.ei-theme-site .site-footer,body.ei-theme-site .entry-content blockquote{border-radius:0;}
body.ei-theme-site.ei-style-glass .site-header{backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);background:color-mix(in srgb,var(--ei-surface) 78%,transparent);}
body.ei-theme-site.ei-style-pixel .ei-brand__mark,body.ei-theme-site.ei-style-windows95 .ei-brand__mark{border-radius:0;}


/* Sales Canvas — full-bleed landing surface, intentionally separate from immersive apps. */
body.ei-sales-canvas-page { --ei-sales-content-max: 1180px; }
body.ei-sales-width-narrow { --ei-sales-content-max: 760px; }
body.ei-sales-width-standard { --ei-sales-content-max: 980px; }
body.ei-sales-width-wide { --ei-sales-content-max: 1180px; }
body.ei-sales-width-full { --ei-sales-content-max: none; }
body.ei-sales-canvas-page .ei-site-shell { min-height: 0; }
.ei-sales-canvas,.ei-sales-document,.ei-sales-content { width:100%;max-width:none;margin:0;padding:0; }
.ei-sales-content > * { max-width:none; }
.ei-sales-content > :where(p,h1,h2,h3,h4,h5,h6,ul,ol,blockquote,pre,figure):not(.alignfull):not(.alignwide) { width:min(var(--ei-sales-content-max,1180px),calc(100% - 48px));margin-left:auto;margin-right:auto; }
@media(max-width:782px){.ei-sales-content > :where(p,h1,h2,h3,h4,h5,h6,ul,ol,blockquote,pre,figure):not(.alignfull):not(.alignwide){width:min(var(--ei-sales-content-max,1180px),calc(100% - 28px));}}
