/* Shared viewport geometry based on Lovable review; live after-change review pending. */
:root{--ey-header-primary:56px;--ey-header-secondary:44px;--ey-header-height:100px;--ey-shell-gutter:24px;--ey-logo-slot:160px}
html body:is(.experience-crm,.experience-admin,.experience-attending,.experience-organizing){padding-top:var(--ey-header-height)!important}
html body .ey-app-header{position:fixed!important;inset:0 0 auto!important;width:100%!important;height:var(--ey-header-height)!important;z-index:1200;background:#fafaf8;color:#1f1f1f;box-sizing:border-box;border-bottom:1px solid #eaeaea;font-family:Manrope,Inter,Arial,sans-serif}
.ey-app-header *{box-sizing:border-box}.ey-app-primary{height:var(--ey-header-primary);display:flex;align-items:center;gap:16px;padding:0 var(--ey-shell-gutter);border-bottom:1px solid #eeeeea}
html body .ey-app-brand{display:flex;align-items:center;flex:0 0 var(--ey-logo-slot);width:var(--ey-logo-slot);padding:0;margin:0;border:0;background:transparent}
html body .ey-app-brand img{position:static!important;width:140px!important;height:32px!important;max-width:100%!important;max-height:32px!important;object-fit:contain;object-position:left center}
html body .ey-app-products{display:flex;flex:none;align-items:center;gap:3px;padding:3px;margin:0;background:#ececea;border:1px solid #e4e4e0;border-radius:9px;height:38px}
html body .ey-app-products a{display:flex;align-items:center;justify-content:center;min-height:30px;padding:0 18px;border:0;border-radius:6px;font-size:13px;font-weight:600;color:#62625d;text-decoration:none;white-space:nowrap;background:transparent;line-height:1.2}
html body .ey-app-products a.active{background:#fff;color:#1f1f1f;box-shadow:0 1px 3px #00000012}
.ey-app-account{margin-left:auto;position:relative;flex:none}.ey-app-account summary{display:flex;align-items:center;gap:8px;cursor:pointer;list-style:none;min-height:38px;font-size:12px}.ey-app-account summary::-webkit-details-marker{display:none}.ey-app-account summary>span:first-child{display:grid;place-items:center;background:#ffeadb;width:30px;height:30px;border-radius:50%;font-weight:700}.ey-account-name{max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ey-app-account>div{position:absolute;right:0;top:43px;width:180px;padding:6px;background:#fff;border:1px solid #eaeaea;border-radius:10px;box-shadow:0 10px 30px #0001}.ey-app-account>div a{display:block;padding:10px;color:#1f1f1f;font-size:13px;text-decoration:none}
.ey-app-secondary{height:var(--ey-header-secondary);display:flex;align-items:center;gap:16px;padding:0 var(--ey-shell-gutter);background:#fff;min-width:0}.ey-app-back{width:var(--ey-logo-slot);flex:none;font-size:12px;color:#666;text-decoration:none;white-space:nowrap}
html body .ey-app-secondary .ey-workspace-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;overflow-y:hidden;min-width:0;white-space:nowrap;margin:0;padding:0;height:100%;scrollbar-width:thin;flex:1}
html body .ey-app-secondary .ey-workspace-tabs form{display:flex;flex:0 0 auto;width:auto;min-width:0;margin:0;padding:0;gap:0}html body .ey-app-secondary .ey-workspace-tabs input[type=hidden]{display:none!important}html body .ey-app-secondary .ey-workspace-tabs :is(a,button){display:inline-flex;align-items:center;justify-content:center;flex:none;min-height:30px!important;height:30px!important;font-size:12px!important;padding:4px 12px!important;border:1px solid transparent!important;border-radius:7px!important;color:#60635e!important;background:transparent!important;box-shadow:none!important;text-decoration:none;line-height:1.2!important;margin:0!important}
html body .ey-app-secondary .ey-workspace-tabs .active{background:#fff0e5!important;border-color:#f1d1ba!important;color:#1f1f1f!important}
html body :is(.ey-mobile-crm-bar,.mobile-admin-top,.participant-top){display:none!important}
html body .sidebar :is(.ey-sidebar-brand,.sidebar-brand){display:none!important}
html body:is(.experience-crm,.experience-admin)>.shell{margin-top:0!important;min-height:calc(100vh - var(--ey-header-height))!important}
html body:is(.experience-crm,.experience-admin)>.shell>.sidebar{top:var(--ey-header-height)!important;height:calc(100vh - var(--ey-header-height))!important;padding-top:16px!important}
.ey-work-context{border-bottom:1px solid #eaeaea;padding:10px 0;margin:0 0 16px;position:sticky;top:var(--ey-header-height);z-index:30;background:#fafaf8}.ey-work-context nav{display:flex;gap:8px;overflow:auto;white-space:nowrap;scrollbar-width:thin}.ey-work-context a{padding:8px 12px;font-size:13px;text-decoration:none;color:#5c625e;border-bottom:2px solid transparent}.ey-work-context a.active{border-color:#ff8a3d;color:#1f1f1f}.ey-work-context strong{display:block;font-size:14px;margin-bottom:8px}.ey-project-timeline{display:grid;gap:10px}.ey-project-timeline article{display:grid;grid-template-columns:150px 1fr auto;gap:12px;padding:12px;background:#fff;border-bottom:1px solid #eee}.ey-project-details{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}.ey-project-details section{padding:18px;background:#fff;border:1px solid #eaeaea;border-radius:12px}
html body.experience-attending .lv-cover,html body.experience-attending .lv-context{aspect-ratio:auto!important;width:100%!important;padding:24px!important;margin:0 0 16px!important;border-radius:16px!important;display:flex!important;gap:12px!important;box-sizing:border-box}
html body.experience-attending .lv-context{height:260px!important;min-height:260px!important;max-height:260px!important;align-items:flex-end!important}
html body.experience-attending .lv-cover{height:auto!important;min-height:180px!important;max-height:none!important;flex-direction:column;align-items:flex-start!important;justify-content:flex-end;gap:8px!important}
html body.experience-attending .lv-context>img{opacity:1!important}.lv-context:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#1f1f1fdb,transparent 90%);pointer-events:none}.lv-context>a,.lv-context>div{z-index:1}.lv-context h1{font-size:30px!important}.ey-event-page-title{font-size:22px;margin:16px 0}
@media(max-width:1023px){:root{--ey-header-primary:54px;--ey-header-secondary:42px;--ey-header-height:96px;--ey-shell-gutter:16px;--ey-logo-slot:148px}html body.experience-attending .lv-context{height:200px!important;min-height:200px!important;max-height:200px!important}.ey-account-name{display:none}}
@media(max-width:767px){:root{--ey-header-primary:50px;--ey-header-secondary:40px;--ey-header-height:90px;--ey-shell-gutter:12px;--ey-logo-slot:92px}.ey-app-primary,.ey-app-secondary{gap:8px}html body .ey-app-brand img{width:92px!important;height:26px!important}html body .ey-app-products a{font-size:12px;padding:0 10px}.ey-app-account summary{gap:3px}.ey-app-account summary>span:first-child{width:26px;height:26px}.ey-app-back{width:32px}.ey-app-back span{display:none}.ey-app-secondary .ey-workspace-tabs{gap:4px}html body.experience-attending .lv-context{height:150px!important;min-height:150px!important;max-height:150px!important;padding:18px!important}.ey-project-timeline article{grid-template-columns:1fr}.ey-work-context nav{gap:2px}.ey-work-context a{padding:9px}.ey-app-primary{min-width:0}}
@media print{html body{padding-top:0!important}.ey-app-header,.ey-work-context{display:none!important}}
html body.experience-attending .lv-cover{position:relative;overflow:hidden;background:#1f1f1f;color:#fafaf8}html body.experience-attending .lv-cover>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}html body.experience-attending .lv-cover:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(31,31,31,.88),rgba(31,31,31,.12));pointer-events:none}html body.experience-attending .lv-cover-copy{position:relative;z-index:1}html body.experience-attending .lv-cover h1{font-size:30px!important;line-height:1.2!important;color:#fafaf8!important;margin:5px 0!important}html body.experience-attending .lv-cover .lv-kicker{color:#ffac72;margin:0;font-size:11px;letter-spacing:.1em}html body.experience-attending .lv-kind{position:relative;z-index:1;left:auto;top:auto;align-self:flex-start;border-radius:999px;background:#fafaf8e8;padding:5px 10px;color:#1f1f1f;font-size:12px}html body.experience-attending .lv-cover .lv-cover-copy small{color:#eee;font-size:12px}@media(max-width:767px){html body.experience-attending .lv-cover h1{font-size:23px!important}.lv-cover-copy small{font-size:11px}html body.experience-attending .lv-kind{font-size:10px}html body.experience-attending .lv-cover{min-height:150px!important;padding:18px!important}}

/* Live Experience legacy rules use product classes and !important. Keep shell ownership explicit. */
html body:is(.experience-attending,.experience-organizing,.experience-admin,.experience-crm) :is(.participant-top,.ey-mobile-crm-bar,.mobile-admin-top){display:none!important}

/* Unified header refinement: one brand, centered product context, explicit selection. */
html body:is(.experience-admin,.experience-crm) .sidebar .ey-brand-stack .brand-wrap{display:none!important}
html body .ey-app-products a.active{background:#ff8a3d!important;color:#1f1f1f!important;box-shadow:none!important;font-weight:700}
html body .ey-app-products a:focus-visible{outline:2px solid #1f1f1f;outline-offset:2px}
@media(min-width:768px){html body .ey-app-primary{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}html body .ey-app-products{justify-self:center}html body .ey-app-account{justify-self:end;margin-left:0}}
@media(max-width:767px){html body .ey-app-primary{justify-content:space-between;gap:6px}html body .ey-app-products{margin-inline:auto;height:44px;padding:2px}html body .ey-app-products a{min-height:38px;padding-inline:9px}html body .ey-app-account{margin-left:0}html body .ey-app-account summary{min-height:44px;min-width:32px}}
@media(max-width:359px){html body .ey-app-brand{width:80px;flex-basis:80px}html body .ey-app-brand img{width:80px!important}html body .ey-app-products a{padding-inline:7px}}

/* Eventyora shared component contract — unified-20261010. */
:root{--ey-orange:#FF8A3D;--ey-graphite:#1F1F1F;--ey-soft-white:#FAFAF8;--ey-cloud:#EAEAEA;--ey-space:8px;--ey-control-height:40px;--ey-control-radius:8px;--ey-focus:0 0 0 3px #ff8a3d55}
html body.ey-unified-ui{background:var(--ey-soft-white);color:var(--ey-graphite)}
html body.ey-unified-ui :is(.button,.small-button,.link-button,.danger-button,.ey-button){display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:var(--ey-control-height)!important;height:auto!important;padding:8px 16px!important;border:1px solid var(--ey-cloud)!important;border-radius:var(--ey-control-radius)!important;background:#fff!important;color:var(--ey-graphite)!important;font:600 13px/1.4 Inter,sans-serif!important;text-decoration:none!important;box-shadow:none!important;max-width:100%;transition:background .16s ease,border-color .16s ease}
html body.ey-unified-ui :is(.button,.ey-button):not(.ghost):not(.secondary):not(.danger):not(.tertiary){background:var(--ey-orange)!important;border-color:var(--ey-orange)!important}
html body.ey-unified-ui :is(.button,.small-button,.link-button,.ey-button):hover{filter:brightness(.97)}
html body.ey-unified-ui :is(.danger-button,.button.danger,.ey-button.destructive){background:#fff4f3!important;color:#a52620!important;border-color:#ebc3c0!important}
html body.ey-unified-ui :is(.button.tertiary,.link-button){background:transparent!important;border-color:transparent!important}
html body.ey-unified-ui :is(button,a,input,select,textarea,summary):focus-visible{outline:2px solid var(--ey-graphite)!important;outline-offset:3px!important}
html body.ey-unified-ui :is(button,input,select,textarea):disabled{opacity:.55;cursor:not-allowed}
html body.ey-unified-ui :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=color]):not([type=range]),select,textarea){min-height:var(--ey-control-height)!important;padding:8px 12px!important;border:1px solid #d9d9d6!important;border-radius:var(--ey-control-radius)!important;color:var(--ey-graphite)!important;background:#fff!important;font:400 14px/1.5 Inter,sans-serif!important;max-width:100%;min-width:0}
html body.ey-unified-ui textarea{min-height:104px!important;resize:vertical}
html body.ey-unified-ui :is(input[type=checkbox],input[type=radio]){accent-color:var(--ey-orange)}
html body.ey-unified-ui :is(.panel,.card){border-radius:12px!important;border-color:var(--ey-cloud)!important;min-width:0}
html body.ey-unified-ui :is(.notice,.toast){border-radius:8px;padding:12px 16px;font:400 14px/1.5 Inter,sans-serif}
html body.ey-unified-ui .notice.error{color:#8d2420;background:#fff4f3}
html body.ey-unified-ui .ey-app-products{display:grid!important;grid-template-columns:1fr 1fr!important;width:224px!important;height:40px!important;gap:4px!important;padding:4px!important;flex-shrink:0!important}
html body.ey-unified-ui .ey-app-products a{width:100%!important;min-height:30px!important;height:30px!important;padding:0 8px!important;transition:background .16s ease,color .16s ease}
html body.ey-unified-ui .ey-app-products a.active{background:var(--ey-orange)!important;color:var(--ey-graphite)!important}
html body.ey-unified-ui .ey-app-account summary{min-height:40px!important}
html body.ey-unified-ui .ey-shell-menu{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-height:40px!important;padding:8px!important;margin:0!important;border:1px solid var(--ey-cloud)!important;border-radius:8px!important;background:#fff!important;color:var(--ey-graphite)!important;box-shadow:none!important;flex:0 0 40px!important}
html body.ey-unified-ui .ey-shell-menu svg{width:20px;height:20px;flex:none}
html body.ey-unified-ui .ey-shell-menu i{display:none!important}
html body.ey-unified-ui .ey-app-secondary{gap:8px!important}
html body.ey-unified-ui .ey-app-back[hidden]{display:block!important;visibility:hidden!important;pointer-events:none!important}
html body.ey-unified-ui .ey-shell-collapse{display:none!important}
html body.ey-unified-ui .ey-experience-menu-toggle{position:static!important;inset:auto!important;visibility:visible!important}
html body.ey-unified-ui :is(.participant-mobile-nav,.mobile-bottom-nav){display:none!important}
html body.ey-unified-ui :is(main.main,main.participant-main)::after{height:24px!important}
html body.ey-unified-ui :is(form.shell-search,.sidebar-search) input[type=search]{min-height:32px!important;height:32px!important;padding:0!important;border:0!important;background:transparent!important}
@media(min-width:1024px){
 html body.ey-unified-ui .ey-shell-collapse{display:flex!important}
 html body.ey-unified-ui .ey-app-secondary>:is(.ey-experience-menu-toggle,.mobile-menu-toggle){display:none!important}
 html body.ey-unified-ui .ey-crm-menu-close{display:none!important}
 html body.ey-unified-ui.ey-sidebar-collapsed :is(.sidebar,.ey-experience-sidebar){display:none!important}
 html body.ey-unified-ui.ey-sidebar-collapsed .shell{grid-template-columns:1fr!important}
 html body.ey-unified-ui.ey-sidebar-collapsed main.participant-main{width:100%!important;margin-left:0!important}
}
@media(max-width:1023px){
 html body.ey-unified-ui :is(main.participant-main,main.main){padding-top:24px!important;padding-bottom:32px!important}
 html body.ey-unified-ui .ey-experience-sidebar{top:calc(var(--ey-header-height) + 8px)!important}
}
@media(max-width:767px){
 html body.ey-unified-ui .ey-app-products{width:184px!important}
 html body.ey-unified-ui .ey-app-primary{gap:8px!important}
 html body.ey-unified-ui .ey-app-brand{width:88px!important;flex-basis:88px!important}
 html body.ey-unified-ui .ey-app-brand img{width:88px!important}
 html body.ey-unified-ui .ey-app-account summary>span:last-child{display:none}
 html body.ey-unified-ui :is(.button,.small-button,.link-button,.danger-button,.ey-button){min-height:44px!important}
}
@media(prefers-reduced-motion:reduce){html body.ey-unified-ui *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

html body.ey-unified-ui .lv-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;min-height:40px!important;padding:8px 16px!important;border:1px solid #FF8A3D!important;border-radius:8px!important;background:#FF8A3D!important;color:#1F1F1F!important;font:600 13px/1.4 Inter,sans-serif!important;text-decoration:none!important}
html body.ey-unified-ui .lv-button .ey-icon{color:inherit!important}
html body.ey-unified-ui :is(.info-format-tools,.checkbox-group-tools) button{min-height:40px;padding:8px 12px;border:1px solid #EAEAEA;border-radius:8px;background:#fff;color:#1F1F1F;font:600 13px/1.4 Inter,sans-serif}
@media(max-width:767px){html body.ey-unified-ui .lv-button,html body.ey-unified-ui :is(.info-format-tools,.checkbox-group-tools) button{min-height:44px!important}}

/* CRM has the same single drawer navigation as Experience. */
html body.ey-unified-ui .ey-mobile-crm-nav,html body.ey-unified-ui .ey-mobile-desktop-note{display:none!important}
@media(max-width:1023px){html body.ey-unified-ui.experience-crm .main{padding-bottom:32px!important}html body.ey-unified-ui.experience-crm #eyAssistantLauncher,html body.ey-unified-ui.experience-crm .feedback-launcher{bottom:24px!important}}

.ey-crm-menu-close{display:none!important}
@media(max-width:1023px){html body.ey-unified-ui .ey-crm-menu-close{display:inline-flex!important;margin:0 0 16px auto!important;font-size:24px!important}html body.ey-unified-ui .sidebar[aria-modal=true]{z-index:1300!important}html body.ey-unified-ui.experience-crm.menu-open .sidebar{padding-top:16px!important}}

.ey-settings-actions{display:flex;flex-wrap:wrap;gap:12px;margin:12px 0}.ey-settings-actions>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px!important;padding:10px 16px;text-decoration:none}.ey-workspace-scope{display:flex;flex-wrap:wrap;gap:12px;align-items:start;margin:12px 0}.ey-workspace-scope select{min-height:44px;max-width:100%}.ey-workspace-scope details label{display:flex;align-items:center;gap:8px;padding:6px}.ey-workspace-scope input[type=checkbox]{width:auto}@media(max-width:600px){.ey-settings-actions>a{flex:1 1 100%;box-sizing:border-box}.ey-workspace-scope>label{width:100%}}

html body.ey-unified-ui .ey-app-secondary>[data-ey-collapse]{flex:0 0 40px!important;width:40px!important;height:40px!important;margin:0!important}@media(max-width:1023px){html body.ey-unified-ui .ey-app-secondary>[data-ey-collapse]{display:none!important}}

html body.ey-unified-ui .ey-app-secondary>[data-ey-mobile-menu]{display:none!important}@media(max-width:1023px){html body.ey-unified-ui .ey-app-secondary>[data-ey-mobile-menu]{display:inline-flex!important;position:static!important;inset:auto!important;flex:0 0 44px!important;width:44px!important;height:40px!important;min-height:40px!important;margin:0!important;padding:0!important;box-shadow:none!important}}
html body.ey-unified-ui .ey-settings-actions>a{min-height:44px!important}
/* DE-1 shared error screen (Maria 32E-G): card inside the CRM / Experience frame; the basic page inlines the same rules. */
html body .ey-error-screen.panel{max-width:560px!important;margin:96px auto 32px!important;padding:32px!important;border-radius:18px!important;box-sizing:border-box;text-align:left}
html body .ey-error-screen .ey-error-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--ey-warn-bg,#fff0e5);color:var(--ey-warn,#a74e19);margin-bottom:16px}
html[data-theme="dark"] body .ey-error-screen .ey-error-icon{background:#3a2414;color:#ffb27a}
html body .ey-error-screen h1{margin:0 0 8px!important;font:800 26px/1.25 Manrope,Inter,Arial,sans-serif!important;color:var(--ey-text,#1f1f1f)!important;-webkit-text-fill-color:currentColor}
html body .ey-error-screen p{margin:0 0 24px!important;font-size:16px!important;line-height:1.5;color:var(--ey-text-muted,#5f5c57)!important;-webkit-text-fill-color:currentColor;overflow-wrap:anywhere}
html body .ey-error-screen .ey-error-actions{display:flex;flex-wrap:wrap;gap:12px}
html body .ey-error-screen .ey-error-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:12px;font-weight:700;font-size:15px;text-decoration:none;box-sizing:border-box}
html body .ey-error-screen a.ey-error-primary{background:linear-gradient(135deg,#e85d00,#b8460a)!important;color:#fff!important;-webkit-text-fill-color:#fff;border:0}
html body .ey-error-screen a.ey-error-secondary{background:var(--ey-card,#fff)!important;color:var(--ey-text,#1f1f1f)!important;-webkit-text-fill-color:currentColor;border:1px solid var(--ey-border,#eaeaea)}
html body .ey-error-screen .ey-error-actions a:focus-visible{outline:2px solid #ff8a3d!important;outline-offset:2px!important;box-shadow:none!important}
@media(max-width:1023px){html body .ey-error-screen.panel{margin-top:64px!important}}
@media(max-width:767px){html body .ey-error-screen.panel{margin:32px auto!important;padding:24px!important}html body .ey-error-screen h1{font-size:24px!important}}
@media(max-width:399px){html body .ey-error-screen .ey-error-actions{flex-direction:column}html body .ey-error-screen .ey-error-actions a{width:100%}}
