/* Staff workspace composition. Scoped so storefront design preferences stay intact. */
html:root[data-ev-enterprise]{--evx-sidebar:238px;--evx-bg:#f0f7ff;--evx-card:#fff;--evx-ink:#102447;--evx-muted:#5d6f8e;--evx-line:#deebf8;--evx-radius:15px;scroll-padding-top:125px}
html:root[data-ev-enterprise][data-ev-theme=dark]{--evx-bg:#091b30;--evx-card:#10283f;--evx-ink:#edf5ff;--evx-muted:#b0c5df;--evx-line:#29465f}
html:root[data-ev-enterprise][data-ev-sidebar-compact]{--evx-sidebar:78px}
html:root[data-ev-enterprise] #app-header{position:sticky;inset:0 auto auto;z-index:70;background:var(--evx-card);color:var(--evx-ink);border-color:var(--evx-line)}
html:root[data-ev-enterprise] #app-header .header-inner{width:100%;max-width:none;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(130px,240px) auto;grid-template-rows:68px;min-height:68px;height:auto;gap:0 18px;padding:0 22px}
html:root[data-ev-enterprise] #app-header .logo{grid-column:1;grid-row:1;gap:7px;min-width:0}
html:root[data-ev-enterprise] #app-header .logo .brand-word{font-size:22px;letter-spacing:-.9px;color:var(--evx-ink)!important}
html:root[data-ev-enterprise] #app-header .logo .brand-word>span{color:#a8296d}
html:root[data-ev-enterprise] #app-header .logo .brand-tag{display:none}
html:root[data-ev-enterprise] #app-header .ev70-brand-mark{width:36px;height:36px}
html:root[data-ev-enterprise] #app-header .top-nav{grid-column:2;grid-row:1;display:flex;gap:clamp(10px,1.1vw,19px);justify-content:center;overflow:visible;min-width:0}
html:root[data-ev-enterprise] #app-header .top-nav a{padding:0;min-height:42px;font-size:12px;font-weight:650;white-space:nowrap;color:var(--evx-ink)!important}
html:root[data-ev-enterprise] #app-header .top-nav a.active::after{bottom:0;background:#087aff}
html:root[data-ev-enterprise] #app-header .header-search{grid-column:3;grid-row:1;width:100%;height:36px;min-height:36px;margin:0;padding:0 10px;background:var(--evx-bg);border:1px solid var(--evx-line);border-radius:8px}
html:root[data-ev-enterprise] #app-header .header-search input{height:34px;min-height:34px;font-size:11px;color:var(--evx-ink)}
html:root[data-ev-enterprise] #app-header .header-actions{grid-column:4;grid-row:1;display:flex;align-items:center;flex-wrap:nowrap;gap:6px;min-width:0}
html:root[data-ev-enterprise] #app-header .ev66-display-controls{position:static;display:flex;flex-wrap:nowrap;gap:5px;padding:0;margin:0}
html:root[data-ev-enterprise] #app-header .ev66-display-controls select{height:33px;min-height:33px;width:auto;max-width:85px;padding:4px 19px 4px 7px;font-size:10px;background:var(--evx-card);color:var(--evx-ink);border-color:var(--evx-line)}
html:root[data-ev-enterprise] #app-header .header-actions .icon-btn{width:30px;height:34px;min-height:34px;color:var(--evx-ink);background:transparent}
html:root[data-ev-enterprise] #app-header .header-actions svg{width:18px;height:18px;color:var(--evx-ink)}
html:root[data-ev-enterprise] #app-header .header-actions .btn{height:36px;min-height:36px;padding:0 15px;border-radius:8px;background:linear-gradient(#fff1c9,#d8b26a);border:1px solid #f3dfa9;color:#34220a;font-size:12px;white-space:nowrap}
html:root[data-ev-enterprise] #app-header .evx-header-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;font-size:17px;font-weight:750;text-decoration:none;background:linear-gradient(140deg,#03c0ff,#0755ed);color:white;box-shadow:0 2px 8px #087aff40}
html:root[data-ev-enterprise] #app-header .menu-btn{display:none}
html:root[data-ev-enterprise] .ev-maint-preview-banner{display:flex;align-items:center;justify-content:center;gap:14px;min-height:34px;margin:0;padding:7px 16px;background:#e0f5f4;border:0;border-top:1px solid #d2eded;color:#155653;font-size:11px;line-height:1.45}
html:root[data-ev-enterprise] .ev-maint-preview-banner a{color:inherit;white-space:nowrap;font-weight:750}
html:root[data-ev-enterprise][data-ev-theme=dark] .ev-maint-preview-banner{background:#153d45;color:#c5f4ec}
html:root[data-ev-enterprise] #app{background:radial-gradient(ellipse at 100% 100%,#92dcfa42,transparent 45%),var(--evx-bg);min-height:calc(100dvh - 100px);padding:0}
html:root[data-ev-enterprise] .evx-workspace{max-width:1900px;padding:24px;line-height:1.5}
html:root[data-ev-enterprise] .ev67-builder-page,html:root[data-ev-enterprise] .ev71-admin-page,html:root[data-ev-enterprise] .ev56-page,html:root[data-ev-enterprise] #app>.page{padding:24px;background:transparent}
html:root[data-ev-enterprise] #app-footer{display:none}
html:root[data-ev-enterprise] #app>.page>.container{width:100%;max-width:none}
html:root[data-ev-enterprise] .ev71-admin-hero{margin-top:0}
/* An expanded, labelled rail is the desktop default. The switch is always reachable. */
html:root[data-ev-enterprise] .evx-sidebar{--evx-sidebar:inherit;width:var(--evx-sidebar);padding:18px 10px;z-index:80;background:linear-gradient(145deg,transparent 60%,#00a7da26 60.1%,transparent 67%),linear-gradient(142deg,#084579,#052b53 44%,#073260 78%,#007faf);border-right:1px solid #127ab2;scrollbar-width:thin;scrollbar-color:#4382a6 transparent}
.evx-sidebar-head{position:relative;display:flex;align-items:center;min-height:68px;margin-bottom:12px}
html:root[data-ev-enterprise] .evx-brand{padding:0 5px;gap:7px;margin:0}
html:root[data-ev-enterprise] .evx-brand img{width:44px;height:44px}
html:root[data-ev-enterprise] .evx-brand strong{font-size:24px;letter-spacing:-1px;color:white}
html:root[data-ev-enterprise] .evx-brand strong span{color:white}
html:root[data-ev-enterprise] .evx-brand small{font-size:8px;letter-spacing:1.8px;color:#d7ecff}
.evx-rail-toggle{position:absolute;right:-19px;top:18px;width:23px;height:30px;padding:0;border-radius:6px;border:1px solid #228ac2;background:#064f84;color:white;font-size:22px;line-height:1;cursor:pointer;z-index:2}
html:root[data-ev-enterprise] .evx-sidebar nav{gap:4px}
html:root[data-ev-enterprise] .evx-sidebar nav a{min-height:44px;padding:10px 14px;gap:13px;font-size:14px;border-radius:10px;justify-content:flex-start}
html:root[data-ev-enterprise] .evx-sidebar nav a[aria-current]{background:linear-gradient(105deg,#075bf9,#08acee);border-color:#51caff;box-shadow:0 0 0 4px #00abef23,0 5px 14px #00173530}
html:root[data-ev-enterprise] .evx-sidebar:not(.compact) .evx-brand>span,html:root[data-ev-enterprise] .evx-sidebar:not(.compact) nav a>span,html:root[data-ev-enterprise] .evx-sidebar:not(.compact) .evx-sidebar-bottom span{display:block}
html:root[data-ev-enterprise] .evx-sidebar-bottom{margin-top:22px;padding-top:14px}
html:root[data-ev-enterprise] .evx-sidebar-bottom>a{padding:12px;gap:12px;min-height:46px}
html:root[data-ev-enterprise] .evx-sidebar-bottom>a:first-child{background:linear-gradient(110deg,#005a933d,#007bb65c);border:1px solid #2d8db342}
html:root[data-ev-enterprise] .evx-sidebar-bottom small{font-size:10px}
.evx-role-crown{color:#ffc34b;font-size:28px!important}
html:root[data-ev-enterprise] .evx-sidebar .evx-view-site{font-size:12px;background:transparent}
.evx-view-site b{margin-left:8px}
html:root[data-ev-enterprise] .evx-sidebar.compact nav a{justify-content:center;padding:10px}
html:root[data-ev-enterprise] .evx-sidebar.compact .evx-brand>span,html:root[data-ev-enterprise] .evx-sidebar.compact nav a>span,html:root[data-ev-enterprise] .evx-sidebar.compact .evx-sidebar-bottom span{display:none}
/* Dashboard: main workspace and the finance/builder rail from the approved reference. */
.evx-control-center{display:grid;grid-template-columns:minmax(0,1fr) 286px;gap:20px;align-items:start}
.evx-control-main,.evx-control-rail{min-width:0}
html:root[data-ev-enterprise] .evx-heading{gap:14px;align-items:center;margin:4px 0 23px}
html:root[data-ev-enterprise] .evx-heading .evx-eyebrow{display:none}
html:root[data-ev-enterprise] .evx-heading h1{font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:clamp(25px,2.2vw,36px);letter-spacing:-1.25px;line-height:1.16;margin-bottom:8px;font-weight:800;color:var(--evx-ink)}
html:root[data-ev-enterprise] .evx-heading p{font-size:14px;color:var(--evx-muted)}
.evx-control-main .evx-heading h1:before{content:'⌂';display:inline-block;color:#0577fb;margin-right:10px;font-size:1.05em}
html:root[data-ev-enterprise] .evx-toolbar{gap:8px;flex-shrink:0}
html:root[data-ev-enterprise] .evx-period{font-size:10px;gap:3px}
html:root[data-ev-enterprise] .evx-period select{min-height:36px;padding:7px 9px;font-size:12px;border-radius:8px}
html:root[data-ev-enterprise] .evx-toolbar>.btn{min-height:36px;padding:8px 10px;font-size:12px}
html:root[data-ev-enterprise] .evx-kpis{gap:12px;margin-bottom:18px}
html:root[data-ev-enterprise] .evx-kpi{display:flex;gap:11px;align-items:flex-start;padding:18px 14px;box-shadow:0 4px 20px #1062ad06;border-color:var(--evx-line)}
html:root[data-ev-enterprise] .evx-kpi .evx-icon{position:static;flex-shrink:0;padding:9px;border-radius:13px}
html:root[data-ev-enterprise] .evx-kpi p{font-size:11px;line-height:1.4;margin:0 0 8px;padding:0;color:var(--evx-ink)}
.evx-kpi>div{min-width:0}
.evx-kpi>div>strong{display:block;font-size:clamp(19px,1.65vw,27px);font-weight:800;letter-spacing:-.8px;line-height:1.25;overflow-wrap:anywhere}
html:root[data-ev-enterprise] .evx-kpi small{font-size:10px;margin-top:11px;line-height:1.35}
.evx-kpi>a{position:absolute;right:9px;top:7px;color:#517aab;font-size:18px;text-decoration:none}
.evx-dashboard-panels{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(250px,1fr);gap:18px}
html:root[data-ev-enterprise] .evx-panel{padding:20px;border-color:var(--evx-line);box-shadow:0 5px 22px #1264af07;margin-bottom:18px}
html:root[data-ev-enterprise] .evx-panel h2{font-size:17px;letter-spacing:-.45px;line-height:1.25;color:var(--evx-ink)}
html:root[data-ev-enterprise] .evx-panel>header{margin-bottom:17px;gap:10px}
html:root[data-ev-enterprise] .evx-panel>header>a{font-size:11px;color:#0962bd;white-space:nowrap}
.evx-card-value{font-size:30px;font-weight:800;letter-spacing:-.8px;line-height:1.2;color:var(--evx-ink)}
.evx-card-value small{display:block;font-size:11px;letter-spacing:0;font-weight:400;color:var(--evx-muted);margin-top:7px}
html:root[data-ev-enterprise] .evx-chart{height:185px;margin-top:22px;padding-top:8px}
.evx-control-rail .evx-chart{height:140px}
.evx-control-rail .evx-card-value{font-size:30px}
html:root[data-ev-enterprise] .evx-chart span{background:linear-gradient(#b2a1ff,#8769fb);border-radius:4px 4px 0 0}
.evx-dashboard-panels .evx-chart span{background:linear-gradient(#70cffd,#1179ff)}
html:root[data-ev-enterprise] .evx-chart+details{font-size:11px;color:var(--evx-muted)}
.evx-access-state{display:flex;align-items:center;gap:11px;background:linear-gradient(110deg,#d4f8ec,#edfdf7);color:#08794f;border-radius:10px;padding:14px 12px;margin-bottom:10px}
.evx-access-state>span{display:grid;place-items:center;background:#00b887;border-radius:50%;width:30px;height:30px;font-size:22px;color:#fff}
.evx-access-state strong{display:block;font-size:13px}.evx-access-state small{font-size:10px}
html:root[data-ev-enterprise] .evx-status-list li{padding:12px 0;gap:10px}
html:root[data-ev-enterprise] .evx-status-list strong{font-size:12px}
html:root[data-ev-enterprise] .evx-status-list small{font-size:10px}
html:root[data-ev-enterprise] .evx-chip{font-size:10px;border-radius:5px;padding:4px 6px}
html:root[data-ev-enterprise] .evx-chip.good{color:#00714d;background:#e6f8ef}
.evx-text-link{display:inline-block;margin-top:10px;color:#0767c5;font-size:12px;font-weight:650;text-decoration:none}
.evx-dashboard-bottom{display:grid;grid-template-columns:minmax(225px,.85fr) minmax(0,1.8fr);gap:18px}
.evx-staff-row{display:flex;gap:10px;align-items:center}.evx-staff-row>div{flex:1;min-width:0}.evx-staff-row strong{display:block;font-size:13px}.evx-staff-row small{display:block;font-size:10px;color:var(--evx-muted);margin-top:4px}
.evx-person-avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:linear-gradient(#e7e4ff,#c9d9ff);color:#243d79;font-size:19px;font-weight:700}
.evx-quick-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-content:start}
.evx-quick-grid>a{display:flex;gap:9px;align-items:center;position:relative;min-height:82px;padding:14px 10px;border:1px solid var(--evx-line);border-radius:12px;background:var(--evx-card);text-decoration:none;color:var(--evx-ink)}
.evx-quick-grid strong{display:block;font-size:11px;line-height:1.45}.evx-quick-grid small{display:block;font-size:10px;line-height:1.5;color:var(--evx-muted);margin-top:4px}.evx-quick-grid>a>b{position:absolute;right:7px;top:7px;color:#687fab}
.evx-quick-icon{display:grid;place-items:center;flex-shrink:0;width:34px;height:38px;border-radius:10px;background:#e9e5ff;color:#8150f4}.evx-quick-icon svg{width:23px;height:23px}.evx-quick-icon.products{background:#fff0da;color:#ed8900}.evx-quick-icon.users,.evx-quick-icon.website{background:#dff2ff;color:#087dff}.evx-quick-icon.marketing{background:#ffe6ed;color:#f34574}
.evx-rail-intro{margin:-8px 0 17px!important;font-size:12px!important;color:var(--evx-muted)}
.evx-security-note{display:flex;align-items:center;gap:10px;padding:14px;border:1px solid var(--evx-line);border-radius:10px;color:var(--evx-muted);font-size:12px;text-decoration:none;background:var(--evx-card)}.evx-security-note svg{width:22px;height:22px;color:#057cf4}
/* Code-native browser preview, using existing EduVista brand and artwork. */
.evx-mini-browser{width:100%;overflow:hidden;border:1px solid #b2d7ff;border-radius:11px;background:#fff;color:#122348;box-shadow:0 8px 25px #00386b1f;text-align:left}
.evx-browser-chrome{display:flex;gap:4px;align-items:center;padding:7px 9px;background:#eef5ff;border-bottom:1px solid #d5e6f6}.evx-browser-chrome i{width:5px;height:5px;background:#32b6fa;border-radius:50%}.evx-browser-chrome i:nth-child(2){background:#7f75ef}.evx-browser-chrome i:nth-child(3){background:#4dd6b5}.evx-browser-chrome>span{font-size:8px;color:#7183a0;margin:auto}
.evx-mini-nav{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:9px 11px}.evx-mini-nav>b{display:flex;align-items:center;font-size:12px;letter-spacing:-.5px;white-space:nowrap}.evx-mini-nav>b>span{color:#a8296d}.evx-mini-nav img{width:22px!important;height:22px!important;object-fit:contain!important;margin-right:4px;border:0!important;border-radius:0!important}.evx-mini-nav>span{font-size:6px;white-space:nowrap}
.evx-mini-hero{min-height:170px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:9px;padding:22px 18px;background:linear-gradient(90deg,#05234bef,#062a5290 55%,#00357610),var(--evx-preview-art) center/cover;color:#fff}
.evx-mini-hero>strong{font-size:23px;line-height:1.03;max-width:190px;letter-spacing:-.7px;color:#fff!important}.evx-mini-hero>span{font-size:10px;color:#d8edff!important}.evx-mini-hero>b{font-size:9px;padding:6px 9px;border-radius:4px;background:#00a9e8;color:#fff}
.evx-mini-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:8px}.evx-mini-thumbs>div{overflow:hidden;border-radius:5px;border:1px solid #d2e4f7}.evx-mini-thumbs img{display:block;width:100%!important;height:34px!important;object-fit:cover;border:0!important;border-radius:0!important}.evx-mini-thumbs span{display:block;text-align:center;font-size:7px;color:#233d68;padding:4px 0}
html:root[data-ev-enterprise] .evx-builder-card{gap:13px}.evx-builder-card>b{font-size:12px;color:#0767c5}
/* Website Builder retains the original inputs, event handlers and approval controls. */
html:root[data-ev-enterprise] .ev67-builder-page .ev56-shell{max-width:1800px;margin:auto;display:flex;flex-direction:column;gap:0}
html:root[data-ev-enterprise] .evx-builder-hero{display:grid!important;grid-template-columns:minmax(0,1.25fr) minmax(270px,.85fr)!important;gap:30px;padding:30px 34px!important;border:1px solid #7fcfff!important;border-radius:16px;background:linear-gradient(145deg,transparent 65%,#00b9ef45 65.2%,transparent 82%),linear-gradient(115deg,#042650,#064da3 63%,#9ddfff)!important;color:#fff;box-shadow:0 7px 20px #0b60a914}
html:root[data-ev-enterprise] .evx-builder-hero h1{font-size:clamp(32px,3.1vw,49px)!important;font-weight:800;letter-spacing:-1.4px;color:#fff!important;margin:9px 0 13px}
html:root[data-ev-enterprise] .evx-builder-hero .evx-eyebrow{font-size:10px;letter-spacing:2px;font-weight:750;color:#fff!important}
html:root[data-ev-enterprise] .evx-builder-hero p{font-size:14px;line-height:1.6;color:#eef6ff!important;margin:0;max-width:540px}
html:root[data-ev-enterprise] .evx-builder-hero .evx-actions{gap:9px;margin-top:21px}
html:root[data-ev-enterprise] .evx-builder-hero .btn{font-size:12px;min-height:40px;padding:10px 13px;border-radius:9px;color:#102449;background:#fff;border:1px solid #d6eaff}
html:root[data-ev-enterprise] .evx-builder-hero .btn.primary{background:linear-gradient(110deg,#00bbf1,#0860ff);color:#fff;border-color:#16bfff;box-shadow:0 0 15px #00bcfb60}
.evx-builder-benefits{display:flex;gap:20px;flex-wrap:wrap;margin-top:25px}.evx-builder-benefits>span{display:flex;gap:8px;align-items:center}.evx-builder-benefits>span>b{width:30px;height:32px;display:grid;place-items:center;background:#00b99d;border-radius:8px;font-size:20px;color:#fff}.evx-builder-benefits>span:nth-child(2)>b{background:#8c40f9}.evx-builder-benefits>span:nth-child(3)>b{background:#00a5ec}.evx-builder-benefits strong{color:#fff!important;font-size:10px;line-height:1.4}.evx-builder-benefits small{display:block;font-size:9px;font-weight:400;color:#d7e9ff!important;margin-top:3px}
.evx-builder-screen{transform:perspective(1000px) rotateY(-4deg);padding:8px;background:#ffffff30;border:1px solid #d1efff88;border-radius:15px;box-shadow:0 0 24px #c5ffff55;align-self:center}.evx-builder-screen>span{display:block;font-size:10px;text-align:center;color:#f0faff;padding-top:5px}.evx-builder-screen .evx-mini-hero{min-height:143px}.evx-builder-screen .evx-mini-hero strong{max-width:220px;font-size:29px}
html:root[data-ev-enterprise] #evxBuilderTools{margin-top:16px}.evx-tabs{box-shadow:0 3px 18px #1263aa07}
html:root[data-ev-enterprise] .evx-tabs{border-radius:12px;padding:5px;gap:5px;margin-bottom:13px}
html:root[data-ev-enterprise] .evx-tabs button,html:root[data-ev-enterprise] .evx-tabs a{min-height:35px;padding:8px 14px;font-size:12px;border-radius:8px}
html:root[data-ev-enterprise] .evx-tabs .active{background:linear-gradient(110deg,#009eff,#064df5);box-shadow:0 3px 10px #0067ff30}
.evx-design-board{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(265px,.85fr);gap:18px;align-items:start;order:3}.evx-design-main,.evx-design-side{min-width:0}
html:root[data-ev-enterprise] .evx-design-jumps{order:2;gap:8px;margin:0 0 15px;display:flex;flex-wrap:wrap}
html:root[data-ev-enterprise] .evx-design-jumps a{min-height:33px;padding:7px 13px;font-size:11px;border-color:var(--evx-line);background:var(--evx-card);color:var(--evx-ink)}
html:root[data-ev-enterprise] .evx-builder-secondary{order:4}
html:root[data-ev-enterprise] .ev67-builder-preview-actions,html:root[data-ev-enterprise] .ev67-builder-page .ev57-proposal{order:5}
html:root[data-ev-enterprise] .ev67-master-builder{margin:0;background:var(--evx-card);color:var(--evx-ink);border:1px solid var(--evx-line);border-radius:15px;padding:22px}
html:root[data-ev-enterprise] .ev67-master-builder>header{margin-bottom:15px}
html:root[data-ev-enterprise] .ev67-master-builder>header h2{font-size:21px;color:var(--evx-ink);margin:0 0 7px}
html:root[data-ev-enterprise] .ev67-master-builder>header p{font-size:12px;color:var(--evx-muted);line-height:1.5}
html:root[data-ev-enterprise] .ev67-master-builder>header .ev56-kicker{display:none}
html:root[data-ev-enterprise] .ev67-master-builder>header>span{font-size:10px;color:#476590;white-space:nowrap}
html:root[data-ev-enterprise] .ev67-master-top{gap:12px;margin:16px 0;grid-template-columns:repeat(3,minmax(0,1fr))}
html:root[data-ev-enterprise] .ev67-master-top>label{font-size:11px;gap:7px;color:var(--evx-ink)}
html:root[data-ev-enterprise] .ev67-master-top :is(input,select){min-height:35px;height:35px;font-size:12px;border-radius:7px;background:var(--evx-bg);border-color:var(--evx-line);color:var(--evx-ink);padding:6px 9px}
html:root[data-ev-enterprise] .ev67-master-grid{grid-template-columns:1fr 1fr;gap:12px}
html:root[data-ev-enterprise] .ev67-master-card{padding:14px;background:var(--evx-card);border-color:var(--evx-line);border-radius:10px}
html:root[data-ev-enterprise] .ev67-master-card h3{font-size:14px;color:var(--evx-ink);margin:0 0 6px}
html:root[data-ev-enterprise] .ev67-master-card>p,html:root[data-ev-enterprise] .ev67-master-card small{font-size:10px;color:var(--evx-muted);line-height:1.5;margin:0 0 8px}
html:root[data-ev-enterprise] .ev67-master-fields{grid-template-columns:1fr 1fr;gap:7px}
html:root[data-ev-enterprise] .ev67-master-card label{font-size:10px;margin:4px 0;gap:5px;color:var(--evx-ink)}
html:root[data-ev-enterprise] .ev67-color-control{padding:4px;gap:5px;border-radius:7px;border-color:var(--evx-line);background:var(--evx-bg);min-width:0}
html:root[data-ev-enterprise] .ev67-color-control input[type=color]{height:25px;min-height:25px;min-width:22px;max-width:100%;padding:0}
html:root[data-ev-enterprise] .ev67-color-control code{font-size:9px;min-width:45px;color:var(--evx-ink)}
html:root[data-ev-enterprise] .ev67-master-status{font-size:10px!important;line-height:1.5;margin-top:13px!important;padding:10px;background:var(--evx-bg);border-color:var(--evx-line);color:var(--evx-muted)!important}
.evx-banner-manager .evx-note{margin:-8px 0 12px;font-size:11px!important}
.evx-banner-thumb{position:relative;display:flex;align-items:center;gap:9px;width:100%;height:61px;padding:0;overflow:hidden;border:1px solid #b9d6f2;border-radius:9px;margin:8px 0;background:#082e5d;color:#fff;text-align:left;cursor:pointer}
.evx-banner-thumb:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#052c59ea,transparent)}
.evx-banner-thumb img{position:absolute;inset:0;object-fit:cover;width:100%;height:100%}.evx-banner-thumb strong{position:relative;z-index:1;padding-left:13px;color:#fff!important;font-size:12px}.evx-banner-thumb>span{position:absolute;z-index:1;right:12px;font-size:22px}
.evx-banner-details{margin-top:12px;font-size:12px}.evx-banner-details>summary{padding:9px;border-radius:6px;background:var(--evx-bg);color:var(--evx-ink);cursor:pointer}
html:root[data-ev-enterprise] .evx-banner-details #ev67Banners{padding:12px 0;margin:0;background:transparent;border:0}.evx-banner-details .ev65-builder-settings{display:grid;grid-template-columns:1fr!important;gap:10px}.evx-banner-details h3{font-size:14px!important}.evx-banner-details p{font-size:11px!important}.evx-banner-details label{font-size:11px!important}.evx-banner-details input{width:100%;min-width:0}
html:root[data-ev-enterprise] .evx-design-preview .evx-preview-sizes{margin:0 0 12px;font-size:11px;color:var(--evx-muted)}
html:root[data-ev-enterprise] .ev65-builder.ev67-builder-content{background:transparent;border:0;padding:0;margin-top:18px;color:var(--evx-ink)}
html:root[data-ev-enterprise] .ev65-builder.ev67-builder-content>summary{display:none}
html:root[data-ev-enterprise] .ev67-builder-content>.ev65-builder-body{display:grid;grid-template-columns:1fr 1fr;gap:18px;padding:0}
html:root[data-ev-enterprise] .ev67-builder-content #ev67HomepageSections{grid-column:1;grid-row:1;grid-template-columns:1fr}
html:root[data-ev-enterprise] .ev67-builder-content #ev67Menus{grid-column:2;grid-row:1;grid-template-columns:1fr}
html:root[data-ev-enterprise] .ev67-builder-content #ev67LayoutSettings{grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr))}
html:root[data-ev-enterprise] .ev67-builder-content :is(#ev67HomepageSections,#ev67Menus,#ev67LayoutSettings,#ev67StudioSettings,.ev65-builder-actions){margin:0;padding:20px;background:var(--evx-card);border-color:var(--evx-line);border-radius:15px;min-width:0}
html:root[data-ev-enterprise] .ev67-builder-content :is(h3,h4,label,strong){color:var(--evx-ink)}
html:root[data-ev-enterprise] .ev67-builder-content h3{font-size:18px}
html:root[data-ev-enterprise] .ev67-builder-content p{font-size:12px;color:var(--evx-muted)}
html:root[data-ev-enterprise] .ev67-builder-content :is(input,select){font-size:12px;border-color:var(--evx-line);background:var(--evx-bg);color:var(--evx-ink)}
html:root[data-ev-enterprise] .ev67-builder-content .ev65-builder-actions{grid-column:1/-1}
/* Fit based on available CSS pixels, including desktop browser zoom. */
@media(max-width:1550px){html:root[data-ev-enterprise]{--evx-sidebar:218px}html:root[data-ev-enterprise] #app-header .header-inner{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:62px 38px;padding:0 18px 6px;gap:0 16px}html:root[data-ev-enterprise] #app-header .header-actions{grid-column:3;grid-row:1}html:root[data-ev-enterprise] #app-header .header-search{grid-column:2/4;grid-row:2}html:root[data-ev-enterprise] #app-header .top-nav{grid-column:2;grid-row:1;gap:12px}html:root[data-ev-enterprise] #app-header .top-nav a{font-size:11px}html:root[data-ev-enterprise] #app-header .logo{grid-row:1/3}.evx-control-center{grid-template-columns:minmax(0,1fr) 252px;gap:16px}html:root[data-ev-enterprise] .evx-heading{align-items:flex-start;flex-direction:column;gap:10px}.evx-toolbar{align-self:flex-end}.evx-control-main .evx-heading{position:relative;padding-right:0}.evx-dashboard-panels{grid-template-columns:minmax(0,1fr) minmax(225px,1fr)}html:root[data-ev-enterprise] .evx-kpi{display:block;padding:16px 12px}html:root[data-ev-enterprise] .evx-kpi .evx-icon{display:inline-flex;padding:7px;margin-bottom:9px}.evx-dashboard-bottom{grid-template-columns:1fr}.evx-quick-grid{margin-bottom:18px}.evx-builder-benefits{gap:12px}.evx-builder-benefits>span:last-child{display:none}}
@media(max-width:1250px){html:root[data-ev-enterprise]{--evx-sidebar:205px}html:root[data-ev-enterprise] .evx-brand strong{font-size:21px}html:root[data-ev-enterprise] .evx-brand img{width:38px;height:38px}html:root[data-ev-enterprise] #app-header .header-inner{grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:58px 38px 36px;padding-bottom:6px}html:root[data-ev-enterprise] #app-header .logo{grid-row:1;grid-column:1/3}html:root[data-ev-enterprise] #app-header .top-nav{grid-row:2;grid-column:1/-1;justify-content:flex-start;gap:20px}html:root[data-ev-enterprise] #app-header .header-search{grid-column:1/-1;grid-row:3}.evx-control-center{grid-template-columns:minmax(0,1fr)}.evx-control-rail{display:grid;grid-template-columns:1fr 1fr;gap:18px}.evx-control-rail>.evx-security-note{grid-column:1/-1}.evx-dashboard-panels{grid-template-columns:1.35fr 1fr}html:root[data-ev-enterprise] .evx-kpis{grid-template-columns:repeat(4,minmax(0,1fr))}.evx-design-board{grid-template-columns:minmax(0,1.6fr) minmax(225px,1fr)}html:root[data-ev-enterprise] .ev67-master-top{grid-template-columns:1fr}html:root[data-ev-enterprise] .ev67-master-grid{grid-template-columns:1fr}.evx-builder-screen .evx-mini-nav>span{display:none}}
@media(min-width:981px){html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .header-inner{grid-template-columns:34px auto minmax(0,1fr) auto;grid-template-rows:64px;padding:0 18px}html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .menu-btn{display:inline-flex;grid-column:1;grid-row:1}html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .logo{grid-column:2;grid-row:1}html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .top-nav{display:none}html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .header-search{grid-column:3;grid-row:1}html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .header-actions{grid-column:4;grid-row:1}}
@media(min-width:761px) and (max-width:980px){html:root[data-ev-enterprise]{--evx-sidebar:76px}html:root[data-ev-enterprise] .evx-sidebar:not(.compact) .evx-brand>span,html:root[data-ev-enterprise] .evx-sidebar:not(.compact) nav a>span,html:root[data-ev-enterprise] .evx-sidebar:not(.compact) .evx-sidebar-bottom span{display:none}html:root[data-ev-enterprise] .evx-sidebar nav a{justify-content:center;padding:10px}.evx-rail-toggle{display:none}html:root[data-ev-enterprise] .evx-builder-hero{grid-template-columns:1.2fr 1fr!important;padding:24px!important;gap:20px}.evx-builder-benefits{display:none}}
@media(max-width:760px){html:root[data-ev-enterprise] #app-header,html:root[data-ev-enterprise] #app,html:root[data-ev-enterprise] #app-footer{margin-left:0;width:100%}html:root[data-ev-enterprise] #app-header .header-inner{grid-template-columns:30px minmax(0,1fr) auto;grid-template-rows:58px 37px;padding:0 12px 7px;gap:0 8px}html:root[data-ev-enterprise] #app-header .menu-btn{display:inline-flex;grid-column:1;grid-row:1;width:30px;min-height:36px}html:root[data-ev-enterprise] #app-header .logo{grid-column:2;grid-row:1}html:root[data-ev-enterprise] #app-header .logo .brand-word{font-size:20px}html:root[data-ev-enterprise] #app-header .ev70-brand-mark{width:31px;height:31px}html:root[data-ev-enterprise] #app-header .top-nav{display:none}html:root[data-ev-enterprise] #app-header .header-actions{grid-column:3;grid-row:1;gap:5px}html:root[data-ev-enterprise] #app-header .header-search{grid-column:1/3;grid-row:2}html:root[data-ev-enterprise] #app-header .ev66-display-controls{position:absolute;right:12px;top:60px}html:root[data-ev-enterprise] #app-header .header-actions [data-action=favourites],html:root[data-ev-enterprise] #app-header .evx-header-avatar{display:none}html:root[data-ev-enterprise] #app-header .header-actions .btn{padding:0 10px;font-size:11px}html:root[data-ev-enterprise] .ev-maint-preview-banner{padding:7px 12px;justify-content:space-between;font-size:10px;gap:10px}html:root[data-ev-enterprise] .ev-maint-preview-banner>span{display:none}html:root[data-ev-enterprise] .evx-sidebar{width:260px;transform:translateX(-100%);transition:transform .18s ease;z-index:110}html:root[data-ev-enterprise] .evx-sidebar.is-open{transform:translateX(0)}html:root[data-ev-enterprise] .evx-sidebar.is-open .evx-brand>span,html:root[data-ev-enterprise] .evx-sidebar.is-open nav a>span,html:root[data-ev-enterprise] .evx-sidebar.is-open .evx-sidebar-bottom span{display:block}.evx-rail-toggle{display:none}.evx-backdrop{display:block;position:fixed;inset:0;background:#001227a6;z-index:100;border:0}html:root[data-ev-enterprise] .evx-mobile-menu{display:inline-flex;min-height:36px;padding:8px 12px;margin-bottom:16px;font-size:12px}.evx-control-center{display:block}html:root[data-ev-enterprise] .evx-workspace,html:root[data-ev-enterprise] .ev67-builder-page,html:root[data-ev-enterprise] .ev71-admin-page{padding:16px 12px}html:root[data-ev-enterprise] .evx-kpis{grid-template-columns:1fr 1fr}html:root[data-ev-enterprise] .evx-kpi{display:flex;padding:15px 12px}html:root[data-ev-enterprise] .evx-kpi p{margin-top:0}html:root[data-ev-enterprise] .evx-kpi .evx-icon{margin:0;padding:6px}.evx-kpi>div>strong{font-size:22px}.evx-dashboard-panels,.evx-dashboard-bottom,.evx-control-rail{grid-template-columns:1fr}.evx-quick-grid{grid-template-columns:1fr 1fr}.evx-design-board{grid-template-columns:1fr}html:root[data-ev-enterprise] .ev67-master-grid{grid-template-columns:1fr 1fr}html:root[data-ev-enterprise] .ev67-master-top{grid-template-columns:1fr}html:root[data-ev-enterprise] .evx-builder-hero{grid-template-columns:1fr!important;padding:25px 22px!important}.evx-builder-screen{display:none}.evx-builder-benefits{gap:13px;display:flex}.evx-builder-benefits>span:nth-child(3){display:none}html:root[data-ev-enterprise] .evx-builder-hero h1{font-size:36px!important}.evx-design-side{display:grid;grid-template-columns:1fr 1fr;gap:12px}html:root[data-ev-enterprise] .ev67-builder-content>.ev65-builder-body{grid-template-columns:1fr}html:root[data-ev-enterprise] .ev67-builder-content #ev67HomepageSections,html:root[data-ev-enterprise] .ev67-builder-content #ev67Menus{grid-column:1;grid-row:auto}html:root[data-ev-enterprise] .ev67-builder-content #ev67LayoutSettings{grid-template-columns:1fr 1fr}html:root[data-ev-enterprise] .evx-status-list li{flex-direction:row;align-items:center}html:root[data-ev-enterprise] .evx-heading h1{font-size:28px}.evx-control-main .evx-heading h1:before{display:none}}
@media(max-width:440px){html:root[data-ev-enterprise] .evx-kpi{display:block}html:root[data-ev-enterprise] .evx-kpi .evx-icon{margin-bottom:8px}html:root[data-ev-enterprise] .ev67-master-grid,.evx-design-side{grid-template-columns:1fr}html:root[data-ev-enterprise] .evx-heading h1{font-size:26px}html:root[data-ev-enterprise] #app-header .header-search{max-width:calc(100% - 28px)}html:root[data-ev-enterprise] #app-header .ev66-display-controls select{max-width:75px;font-size:9px}.evx-builder-benefits>span:nth-child(2){display:none}}
@media(prefers-reduced-motion:reduce){html:root[data-ev-enterprise] .evx-sidebar{transition:none}}

/* Compact desktop header: at most two rows, including browsers zoomed on a PC. */
@media(min-width:981px) and (max-width:1550px){
 html:root[data-ev-enterprise] #app-header .header-inner{position:relative;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:58px 36px;gap:0 14px;padding:0 18px 7px}
 html:root[data-ev-enterprise] #app-header .logo{grid-row:1;grid-column:1}
 html:root[data-ev-enterprise] #app-header .logo .brand-word{font-size:20px}
 html:root[data-ev-enterprise] #app-header .top-nav{grid-row:1;grid-column:2;justify-content:center;gap:12px}
 html:root[data-ev-enterprise] #app-header .top-nav a{font-size:11px}
 html:root[data-ev-enterprise] #app-header .header-actions{grid-row:1;grid-column:3}
 html:root[data-ev-enterprise] #app-header .header-search{grid-row:2;grid-column:1/-1;width:calc(100% - 178px)}
 html:root[data-ev-enterprise] #app-header .ev66-display-controls{position:absolute;top:59px;right:18px}
 html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .header-inner{grid-template-columns:30px auto minmax(0,1fr) auto;grid-template-rows:58px 36px}
 html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .logo{grid-column:2}
 html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .header-actions{grid-column:4}
 html:root[data-ev-enterprise] #app-header.ev65-menu-hamburger .header-search{grid-column:1/-1;grid-row:2}
}
@media(min-width:981px) and (max-width:1120px){
 html:root[data-ev-enterprise] #app-header .header-actions [data-action=favourites],html:root[data-ev-enterprise] #app-header .evx-header-avatar{display:none}
 html:root[data-ev-enterprise] #app-header .top-nav{gap:9px}
 html:root[data-ev-enterprise] #app-header .top-nav a{font-size:10px}
 html:root[data-ev-enterprise] #app-header .ev70-brand-mark{width:30px;height:30px}
 html:root[data-ev-enterprise] #app-header .logo .brand-word{font-size:18px}
}
