/* Shared appearance layer. Colors follow the existing Eventyora dark design. */
:root{--ey-bg:#111110;--ey-bg-subtle:#161614;--ey-card:#1C1C1A;--ey-card-hover:#27231e;--ey-elevated:#292925;--ey-border:#454540;--ey-border-md:#5b5b54;--ey-text:#fafaf8;--ey-text-muted:#b7b7ae;--ey-text-faint:#a3a39a;--ey-text-hint:#999990;--ey-orange:#FF8A3D;--ey-orange-bg:#38271c;--ey-success:#7ee2a6;--ey-success-bg:#163325;--ey-warning:#ffbd77;--ey-warning-bg:#38291c;--ey-danger:#ffaaa2;--ey-danger-bg:#3a2021;--ey-info:#a2caff;--ey-info-bg:#1c2d43;--ey-hero:linear-gradient(135deg,#1A1510,#221A10,#1A1A18);--ey-theme-focus:#ffad72;color-scheme:dark}
:root[data-theme="light"]{--ey-bg:#F7F6F3;--ey-bg-subtle:#f1f0eb;--ey-card:#fff;--ey-card-hover:#fff5ed;--ey-elevated:#eeede8;--ey-border:#d6d6cf;--ey-border-md:#a9aaa1;--ey-text:#1a1a18;--ey-text-muted:#575951;--ey-text-faint:#65675e;--ey-text-hint:#676960;--ey-orange-bg:#fff0e5;--ey-success:#145b35;--ey-success-bg:#e5f6eb;--ey-warning:#74451b;--ey-warning-bg:#fff0dc;--ey-danger:#942f2b;--ey-danger-bg:#fff0ee;--ey-info:#254d83;--ey-info-bg:#ebf3ff;--ey-hero:linear-gradient(135deg,#FFF5EC,#FFF0E5,#F7F6F3);--ey-theme-focus:#a84100;color-scheme:light}
@media screen{
 :root[data-theme] body:is(body,.ey-unified-ui){--ink:var(--ey-text);--ink-2:var(--ey-text-muted);--muted:var(--ey-text-muted);--paper:var(--ey-bg);--bg:var(--ey-bg);--line:var(--ey-border);--cloud:var(--ey-border);--ey-ink:var(--ey-text);--ey-ink-800:var(--ey-text);--ey-ink-500:var(--ey-text-muted);--ey-ink-100:var(--ey-border);--ey-graphite:var(--ey-text);--ey-soft-white:var(--ey-bg);--ey-cloud:var(--ey-border);--ey-canvas:var(--ey-bg);--ey-surface:var(--ey-card);--ey-surface-soft:var(--ey-bg-subtle);--ey-brand-bg:var(--ey-bg);--ey-brand-surface:var(--ey-card);--ey-brand-text:var(--ey-text);--ey-brand-muted:var(--ey-text-muted);--ey-brand-border:var(--ey-border);--ey-ui-ink:var(--ey-text);--ey-ui-muted:var(--ey-text-muted);--ey-ui-border:var(--ey-border);background:var(--ey-bg)!important;color:var(--ey-text)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.main,.participant-main,.account-shell,.shell){color:var(--ey-text);background-color:var(--ey-bg)}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.ey-app-header,.ey-app-primary,.ey-app-secondary,.participant-top,.sidebar,.ey-experience-sidebar,.event-nav,.mobile-admin-top,.participant-mobile-nav,.mobile-bottom-nav){color:var(--ey-text)!important;background:var(--ey-bg-subtle)!important;border-color:var(--ey-border)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.card,.panel,.stat,.card-link,.cc-card,.experience-side-card,.event-card,.ticket-card,.session-card,.participant-card,.shop-card,.checkout-card,.profile-sidebar,.profile-content,.person-card,.auth-card,.product-option,.lv-event-row,.board-card,.question-card,.rule-card,.account-product-card,.lv-crm-cta,.ey-mod-modal,.ey-mod-item,.ey-app-account>div,.product-account-menu>div,.lv-account-menu>div,dialog){background:var(--ey-card)!important;color:var(--ey-text)!important;border-color:var(--ey-border)!important;box-shadow:none!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.organizing-tool-grid a,.organizing-tool-grid a.optional,.booking-row,.board-column,.empty,.price-box,.option-chip,.tabs a,.ey-app-products,.planning-event-tabs a,.ey-mod-close,.social-button,.product-inline-help,.ey-theme-switch){background:var(--ey-bg-subtle)!important;color:var(--ey-text)!important;border-color:var(--ey-border)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(h1,h2,h3,h4,h5,h6,label,legend,dt,dd,strong,b,.ey-mod-head-title,.ey-mod-name,.workspace-current,.board-head,.organizing-tool-grid b,.booking-row strong){color:var(--ey-text)}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.muted,.quiet,small,.ey-report-legend,.board-meta,.ey-mod-desc,.ey-mod-head-sub,.ey-mod-note,.ey-app-back,.planning-back,.experience-side-card p,.organizing-tool-grid span,.organizing-tool-grid a.optional span,.organizing-tool-grid a.optional b,.booking-row small,.side-bottom,.side-bottom a,.side-foot,.ey-workspace-tabs :is(a,button),.ey-account-name){color:var(--ey-text-muted)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.sidebar nav a,.ey-experience-sidebar nav a,.event-nav a,.ey-app-account :is(a,summary),.product-account-menu :is(a,summary),.lv-account-menu :is(a,summary)){color:var(--ey-text)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.sidebar nav a.active,.ey-experience-sidebar nav a.active,.event-nav a.active,.ey-workspace-tabs a.active,.ey-workspace-tabs button.active,.tabs a.active,.planning-event-tabs a[aria-current],.ey-mod-item.on){background:var(--ey-orange-bg)!important;color:var(--ey-text)!important;border-color:var(--ey-orange)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.eyebrow,.lv-kicker){color:var(--ey-orange)}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.ey-app-products a,.product-toggle a){color:var(--ey-text-muted)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.ey-app-products a.active,.product-toggle .active){background:var(--ey-orange)!important;color:#23160d!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=hidden]):not([type=file]):not([type=submit]),select,textarea,[contenteditable="true"]){background:var(--ey-card)!important;color:var(--ey-text)!important;-webkit-text-fill-color:var(--ey-text)!important;border-color:var(--ey-border-md)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) option{background:var(--ey-card)!important;color:var(--ey-text)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(input,textarea)::placeholder{color:var(--ey-text-faint)!important;opacity:1}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.button,.small-button,.link-button,.danger-button,.ey-button,.ey-shell-menu,.ey-theme-switch){background:var(--ey-card)!important;color:var(--ey-text)!important;border-color:var(--ey-border-md)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.button,.ey-button,.lv-button):not(.ghost):not(.secondary):not(.tertiary):not(.danger){background:var(--ey-orange)!important;color:#23160d!important;border-color:var(--ey-orange)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.button,.ey-button,.lv-button):not(.ghost):not(.secondary):not(.tertiary):not(.danger) :is(span,b,strong,svg){color:inherit!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.button.danger,.danger-button,.notice.error,.notice.danger){color:var(--ey-danger)!important;background:var(--ey-danger-bg)!important;border-color:var(--ey-danger)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) .notice.success{color:var(--ey-success)!important;background:var(--ey-success-bg)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.notice.info,.notice:not(.error):not(.success):not(.warning)){color:var(--ey-info)!important;background:var(--ey-info-bg)!important;border-color:var(--ey-border)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) .notice.warning{color:var(--ey-warning)!important;background:var(--ey-warning-bg)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.notice,.pill,.badge) :is(strong,b){color:inherit}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(table,.table-wrap,.work-list-head,.work-task-row,.work-task-row>div,thead,th,td){background-color:var(--ey-card)!important;color:var(--ey-text)!important;border-color:var(--ey-border)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(th,.work-list-head){background-color:var(--ey-bg-subtle)!important;color:var(--ey-text-muted)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.organizing-event-hero:not(.has-cover),.event-hero-admin:not(.with-cover)){background:var(--ey-hero)!important;color:var(--ey-text)!important;border-color:var(--ey-border)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.organizing-event-hero:not(.has-cover),.event-hero-admin:not(.with-cover)) :is(h1,h2,p,.event-hero-meta){color:var(--ey-text)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(.organizing-event-hero.has-cover,.event-hero-admin.with-cover,.lv-cover,.hero-card.with-cover) :is(h1,h2,p,small,strong){color:#fff!important}
 :root[data-theme] body:is(body,.ey-unified-ui) .ey-app-account summary>span:first-child{background:var(--ey-orange-bg)!important;color:var(--ey-text)!important}
 :root[data-theme] body:is(body,.ey-unified-ui) :is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid var(--ey-theme-focus)!important;outline-offset:3px!important}
 :root[data-theme] body:is(body,.ey-unified-ui) .ey-theme-switch{display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;min-height:44px!important;padding:10px 12px!important;border:1px solid var(--ey-border-md)!important;border-radius:8px!important;font:600 13px/1.4 Inter,system-ui,sans-serif!important;cursor:pointer!important;text-align:left!important;white-space:nowrap}
 .ey-theme-switch svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;flex:none}.ey-theme-switch span{color:inherit!important}.ey-theme-floating{position:fixed;right:16px;top:16px;z-index:1300;box-shadow:0 2px 10px #0002!important}:root[data-theme] body:is(body,.ey-unified-ui) .side-foot .ey-theme-switch{width:100%;margin-top:8px}
}
@media(max-width:600px){.ey-theme-floating{right:8px;top:8px}.ey-theme-floating span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}:root[data-theme] body:is(body,.ey-unified-ui) .ey-theme-floating{padding:10px!important;min-width:44px!important;justify-content:center!important}}
@media(prefers-reduced-motion:reduce){.ey-theme-switch{transition:none!important}}
@media print{:root[data-theme]{--ey-text:#1a1a18;--ey-bg:#fff;--ey-card:#fff;--ey-border:#ddd;--ey-text-muted:#555;--ey-graphite:#1a1a18;--ey-soft-white:#fff;--ey-brand-text:#1a1a18;--ey-brand-bg:#fff}.ey-theme-switch{display:none!important}}

@media screen{
 :root[data-theme] body :is(.title,.choice-title,.cd-num){color:var(--ey-text)!important}
 :root[data-theme] body :is(.subtitle,.input-label,.back-link,.terms,.signin-link,.signup-link,.feature-item,.forgot-link,.divider span,.choice-desc,.cp-tab.off){color:var(--ey-text-muted)!important}
 :root[data-theme] body :is(.social-btn,.choice-card,.cp-header,.cp-metric,.cp-tab.on){color:var(--ey-text)!important;background:var(--ey-card)!important;border-color:var(--ey-border)!important}
 :root[data-theme] body .error-msg{color:var(--ey-danger)!important;background:var(--ey-danger-bg)!important;border-color:var(--ey-danger)!important}
 :root[data-theme] body :is(.logo,.cp-wordmark) img{display:block;width:140px;height:35px;object-fit:contain;max-width:100%}
 :root[data-theme] body .ey-theme-compact{justify-content:center!important;min-width:44px!important;padding:10px!important;flex:none}
 .ey-theme-compact span{position:absolute;clip-path:inset(50%);width:1px;height:1px;overflow:hidden}
 .logo-bar{gap:8px}
 :root[data-theme] body :is(.side,.mobilebar){background:var(--ey-bg-subtle)!important;color:var(--ey-text)!important}
 :root[data-theme] body :is(.box,.kpi){background:var(--ey-card)!important;color:var(--ey-text)!important;border-color:var(--ey-border)!important}
 :root[data-theme] body .side .nav a{color:var(--ey-text)!important}
 :root[data-theme] body .btn{background:var(--ey-orange)!important;color:#23160d!important}
 :root[data-theme] body .btn.light{background:var(--ey-card)!important;color:var(--ey-text)!important}
 :root[data-theme] body .cp-countdown{background:var(--ey-hero)!important;border-color:var(--ey-border)!important}
}

/* The page ground follows the theme too: older sheets paint html light, which showed as a white band under short dark pages. */
:root[data-theme]{background-color:var(--ey-bg)}

/* LF-AUTOFILL: browser autofill (Safari, Chrome) paints its own yellow/blue ground and keeps the theme text colour (white in dark = unreadable). Re-paint with an inset shadow, which the UA cannot override, and force the theme text colour. Selectors are kept separate so an engine that does not know one still applies the other. */
@media screen{
 :root[data-theme] body input:-webkit-autofill,:root[data-theme] body input:-webkit-autofill:hover,:root[data-theme] body input:-webkit-autofill:focus,:root[data-theme] body input:-webkit-autofill:active,:root[data-theme] body textarea:-webkit-autofill,:root[data-theme] body select:-webkit-autofill{-webkit-text-fill-color:var(--ey-text)!important;caret-color:var(--ey-text)!important;-webkit-box-shadow:0 0 0 100vmax var(--ey-card) inset!important;box-shadow:0 0 0 100vmax var(--ey-card) inset!important;background-color:var(--ey-card)!important;background-clip:padding-box;color:var(--ey-text)!important;transition:background-color 600000s 0s,color 600000s 0s}
 :root[data-theme] body input:autofill,:root[data-theme] body input:autofill:hover,:root[data-theme] body input:autofill:focus,:root[data-theme] body input:autofill:active,:root[data-theme] body textarea:autofill,:root[data-theme] body select:autofill{-webkit-text-fill-color:var(--ey-text)!important;caret-color:var(--ey-text)!important;box-shadow:0 0 0 100vmax var(--ey-card) inset!important;background-color:var(--ey-card)!important;color:var(--ey-text)!important;transition:background-color 600000s 0s,color 600000s 0s}
}
