/* Escrow Village v266 — brand-first refinement layer
   Purpose: true light/dark backoffice, unified wallet, editorial homepage,
   dense responsive marketplace, three-colour EV menu, Space Grotesk typography. */

:root{
  --ev-brand:#1A3E5C;
  --ev-brand-rgb:26,62,92;
  --ev-brand-strong:#123149;
  --ev-brand-soft:#E9F0F4;
  --ev-ash:#EEF1F3;
  --ev-ash-2:#F7F8F9;
  --ev-fine-font:"Space Grotesk","Geist","Avenir Next","SF Pro Text","SF Pro Display","Segoe UI Variable Text","Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --ev-fine-display:"Space Grotesk","Geist","Avenir Next","SF Pro Display","Segoe UI Variable Display","Segoe UI Variable",ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  --evx-font:var(--ev-fine-font)!important;
  --evx-display:var(--ev-fine-display)!important;
  --ev-font-sans:var(--ev-fine-font)!important;
}

html,body,button,input,select,textarea,optgroup,.ev-user,.ev-admin,.ev-village-chat-page,.ev-private-clean-page,.ev-admin-village-chat-page,.ev-admin-direct-clean-page,.village-clean-shell,.private-clean-shell,#chatBox,#marketChatBody,.message,.msg,.bubble{
  font-family:var(--ev-fine-font)!important;
  font-feature-settings:"kern" 1,"liga" 1,"calt" 1;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

h1,h2,h3,.evx-display,body.ev-admin .ev-topbar .text-base{
  font-family:var(--ev-fine-display)!important;
  letter-spacing:-.035em;
}

/* Brand colour is the product accent everywhere. Semantic states remain semantic. */
body,
body[data-ev-section],
body.ev-user,
body.ev-admin{
  --evx-route:var(--ev-brand)!important;
  --evx-route-rgb:var(--ev-brand-rgb)!important;
  --evx-accent:var(--ev-brand)!important;
  --evx-accent-rgb:var(--ev-brand-rgb)!important;
}

::selection{background:rgba(var(--ev-brand-rgb),.2);color:inherit;}
a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{
  outline:3px solid rgba(var(--ev-brand-rgb),.22)!important;
  outline-offset:3px;
}

/* --------------------------------------------------------------------------
   TRUE ADMIN THEMES + DESKTOP BACKOFFICE COMPOSITION
   -------------------------------------------------------------------------- */
html:not(.dark) body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page){
  --evx-bg:#F3F5F6!important;
  --evx-bg-2:#F8FAFA!important;
  --evx-surface:#FFFFFF!important;
  --evx-surface-2:#F6F8F9!important;
  --evx-surface-3:#EDF1F3!important;
  --evx-text:#10202C!important;
  --evx-text-2:#40515E!important;
  --evx-muted:#74818A!important;
  --evx-line:rgba(26,62,92,.105)!important;
  --evx-line-strong:rgba(26,62,92,.19)!important;
  --ev-bg:#F3F5F6!important;
  --ev-card:#FFFFFF!important;
  --ev-card-2:#F6F8F9!important;
  --ev-text:#10202C!important;
  --ev-muted:#74818A!important;
  --ev-border:rgba(26,62,92,.105)!important;
  --ev-border-strong:rgba(26,62,92,.19)!important;
  background:#F3F5F6!important;
  color:#10202C!important;
}
html.dark body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page){
  --evx-bg:#08131B!important;
  --evx-bg-2:#0B1822!important;
  --evx-surface:#0E1D27!important;
  --evx-surface-2:#12242F!important;
  --evx-surface-3:#172C38!important;
  --evx-text:#F4F8FA!important;
  --evx-text-2:#BAC7CE!important;
  --evx-muted:#8FA0AA!important;
  --evx-line:rgba(220,236,245,.095)!important;
  --evx-line-strong:rgba(220,236,245,.17)!important;
  --ev-bg:#08131B!important;
  --ev-card:#0E1D27!important;
  --ev-card-2:#12242F!important;
  --ev-text:#F4F8FA!important;
  --ev-muted:#8FA0AA!important;
  --ev-border:rgba(220,236,245,.095)!important;
  --ev-border-strong:rgba(220,236,245,.17)!important;
  background:#08131B!important;
  color:#F4F8FA!important;
}

body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page){
  min-height:100dvh;
  background-image:none!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page)::before,
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page)::after{display:none!important;}

body.ev-admin .ev-admin-shell,
body.ev-admin .ev-main,
body.ev-admin .ev-content{background:transparent!important;}
body.ev-admin .ev-main{min-height:100dvh!important;}


body.ev-admin .ev-topbar-inner{
  
  max-width:none!important;
  
}
body.ev-admin .ev-topbar .text-\[11px\]{
  color:var(--evx-muted)!important;
  letter-spacing:.16em!important;
  font-size:9px!important;
}
body.ev-admin .ev-topbar .text-base{
  color:var(--evx-text)!important;
  font-size:clamp(18px,1.6vw,24px)!important;
  line-height:1.05!important;
  font-weight:650!important;
}


body.ev-admin #themeBtnMobile{width:auto!important;font-weight:700!important;}
body.ev-admin .ev-logout-power{
  width:38px!important;height:38px!important;min-width:38px!important;
  border-radius:12px!important;background:transparent!important;
  color:#D84444!important;border:1px solid color-mix(in srgb,#D84444 35%,transparent)!important;
  box-shadow:none!important;
}
body.ev-admin .ev-logout-power:hover{background:rgba(216,68,68,.1)!important;}
body.ev-admin .ev-logout-svg{width:18px!important;height:18px!important;filter:none!important;}

body.ev-admin .ev-content{
  width:100%!important;max-width:none!important;
  padding:clamp(14px,2vw,28px)!important;
  color:var(--evx-text)!important;
}
body.ev-admin .ev-content>*{max-width:none;}

/* Old dark-forcing selectors are neutralised with a deliberate theme surface. */


body.ev-admin .glass,
body.ev-admin .app-card{
  border:1px solid var(--evx-line)!important;
  border-radius:18px!important;
  box-shadow:none!important;
  backdrop-filter:none!important;
}
body.ev-admin .glass.app-card{padding:clamp(14px,1.6vw,22px)!important;}
body.ev-admin .ev-table-wrap,
body.ev-admin .ev-admin-scroll,
body.ev-admin .overflow-x-auto{
  border:1px solid var(--evx-line)!important;
  border-radius:16px!important;
  box-shadow:none!important;
  background:var(--evx-surface)!important;
}
body.ev-admin table{background:transparent!important;border-collapse:separate!important;border-spacing:0!important;}
body.ev-admin thead th{
  position:sticky;top:0;z-index:2;
  
  color:var(--evx-muted)!important;
  
  
  letter-spacing:.075em!important;text-transform:uppercase!important;
  
}
body.ev-admin tbody td{
  background:transparent!important;color:var(--evx-text-2)!important;
  border-bottom:1px solid var(--evx-line)!important;
  
  
}
body.ev-admin tbody tr:last-child td{border-bottom:0!important;}
body.ev-admin tbody tr:hover td{}
body.ev-admin input,body.ev-admin select,body.ev-admin textarea{
  border:1px solid var(--evx-line-strong)!important;
  border-radius:12px!important;box-shadow:none!important;
}
body.ev-admin input:focus,body.ev-admin select:focus,body.ev-admin textarea:focus{
  border-color:rgba(var(--ev-brand-rgb),.48)!important;
  box-shadow:0 0 0 4px rgba(var(--ev-brand-rgb),.09)!important;
}
body.ev-admin button[class*="bg-"],body.ev-admin a[class*="bg-"]{box-shadow:none!important;}
body.ev-admin .bg-\[var\(--ev-brand\)\],body.ev-admin .bg-blue-600,body.ev-admin .bg-sky-600{
  background:var(--ev-brand)!important;color:white!important;
}

/* Drawer: crisp mobile overlay by default. */



body.ev-admin .ev-menu-group{margin:0!important;}
body.ev-admin .ev-menu-group-title{
  font-size:9px!important;
  letter-spacing:.13em!important;text-transform:uppercase!important;
  font-weight:750!important;padding:0 8px!important;
}
body.ev-admin .ev-menu-link{
  
  background:transparent!important;
  color:var(--evx-text-2)!important;
  font-size:12px!important;font-weight:650!important;
  gap:11px!important;
}
body.ev-admin .ev-menu-link:hover{color:var(--evx-text)!important;}
body.ev-admin .ev-menu-link.is-active{
  background:var(--ev-brand)!important;color:#fff!important;
  
}
body.ev-admin .ev-menu-icon{
  width:20px!important;height:20px!important;min-width:20px!important;
  display:grid!important;place-items:center!important;
  color:currentColor!important;font-size:0!important;
}
body.ev-admin .ev-menu-icon svg{width:18px;height:18px;display:block;stroke:currentColor;}

@media(min-width:1180px){
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page){--ev-admin-rail:258px;}
  
  
  
  
  
  
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-main{
    margin-left:var(--ev-admin-rail)!important;width:calc(100% - var(--ev-admin-rail))!important;max-width:none!important;
  }
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-topbar{margin-left:0!important;}
  
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content{
    padding:clamp(18px,2.2vw,34px)!important;
  }
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-table-wrap,
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-admin-scroll,
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .overflow-x-auto{
    max-width:calc(100vw - var(--ev-admin-rail) - 68px)!important;
  }
}

@media(max-width:1179px){
  body.ev-admin .ev-content{padding:14px!important;}
  body.ev-admin .ev-topbar-inner{min-height:62px!important;padding:8px 12px!important;}
  body.ev-admin .ev-topbar .text-base{font-size:17px!important;}
}
@media(max-width:520px){
  body.ev-admin .ev-topbar-inner{}
  body.ev-admin .ev-topbar .ev-btn,
  body.ev-admin .ev-logout-power{width:34px!important;height:34px!important;min-width:34px!important;border-radius:10px!important;}
  body.ev-admin #themeBtnMobile{display:inline-flex!important;}
  body.ev-admin .ev-content{padding:10px!important;}
  body.ev-admin .glass,body.ev-admin .app-card{border-radius:14px!important;}
  body.ev-admin .glass.app-card{padding:12px!important;}
}

/* --------------------------------------------------------------------------
   ONE-CARD WALLET — both currencies, minimal, brand-led, animated
   -------------------------------------------------------------------------- */
body.ev-user[data-ev-section="wallet"] .ev-wallet-banner-stack{gap:0!important;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-grid{
  display:block!important;margin:0!important;width:100%!important;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-card--unified{
  position:relative!important;display:block!important;overflow:hidden!important;
  
  border:0!important;color:#fff!important;
  background:linear-gradient(125deg,#102D43 0%,var(--ev-brand) 48%,#285C81 100%)!important;
  box-shadow:0 18px 46px rgba(var(--ev-brand-rgb),.18)!important;
  isolation:isolate;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-card--unified::before{
  content:"";position:absolute;inset:-90% -15% auto auto;width:330px;height:330px;
  border-radius:50%;background:radial-gradient(circle,rgba(255,255,255,.17),rgba(255,255,255,0) 68%);
  animation:evWalletAura 8s ease-in-out infinite alternate;z-index:-1;pointer-events:none;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-card--unified::after{
  content:"";position:absolute;left:-7%;bottom:-90px;width:310px;height:180px;
  background:radial-gradient(ellipse,rgba(255,255,255,.10),transparent 68%);
  transform:rotate(-9deg);z-index:-1;pointer-events:none;
}
@keyframes evWalletAura{from{transform:translate3d(-12px,8px,0) scale(.92)}to{transform:translate3d(18px,-10px,0) scale(1.08)}}
body.ev-user[data-ev-section="wallet"] .ev-wallet-unified-head{
  display:flex;align-items:center;justify-content:space-between;gap:12px;position:relative;z-index:2;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-unified-kicker{
  display:flex;align-items:center;gap:8px;font-size:10px;font-weight:700;letter-spacing:.13em;text-transform:uppercase;color:rgba(255,255,255,.72);
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-unified-kicker::before{
  content:"";width:7px;height:7px;border-radius:50%;background:#fff;box-shadow:0 0 0 5px rgba(255,255,255,.11);animation:evWalletPulse 2.4s ease-out infinite;
}
@keyframes evWalletPulse{0%,45%{box-shadow:0 0 0 4px rgba(255,255,255,.12)}100%{box-shadow:0 0 0 12px rgba(255,255,255,0)}}
body.ev-user[data-ev-section="wallet"] .ev-wallet-hide-btn{
  
  
  color:#fff!important;box-shadow:none!important;backdrop-filter:blur(8px)!important;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-hide-btn::before{
  
  
  
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-hide-btn[aria-pressed="true"]{background:rgba(255,255,255,.18)!important;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-currencies{
  position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.2fr) 1px minmax(0,1fr);
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-divider{height:58px;background:rgba(255,255,255,.16);align-self:center;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-currency{min-width:0;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-currency-label{
  display:flex;align-items:center;gap:7px;color:rgba(255,255,255,.7);font-size:10px;font-weight:650;letter-spacing:.08em;text-transform:uppercase;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-symbol{
  width:23px;height:23px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.1);color:#fff;font-size:11px;font-weight:750;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-balance{
  margin-top:8px!important;color:#fff!important;font-size:clamp(19px,3.5vw,31px)!important;line-height:1!important;font-weight:620!important;letter-spacing:-.045em!important;text-shadow:none!important;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-freeze{
  padding:0!important;background:transparent!important;border-radius:0!important;color:rgba(255,255,255,.58)!important;font-size:10px!important;font-weight:550!important;
}
@media(max-width:520px){
  body.ev-user[data-ev-section="wallet"] .ev-wallet-card--unified{}
  body.ev-user[data-ev-section="wallet"] .ev-wallet-currencies{grid-template-columns:minmax(0,1.08fr) 1px minmax(0,.92fr);}
  body.ev-user[data-ev-section="wallet"] .ev-wallet-divider{height:52px;}
  body.ev-user[data-ev-section="wallet"] .ev-wallet-balance{font-size:clamp(17px,6vw,23px)!important;}
  body.ev-user[data-ev-section="wallet"] .ev-wallet-currency-label{font-size:9px;letter-spacing:.055em;}
  body.ev-user[data-ev-section="wallet"] .ev-wallet-symbol{width:20px;height:20px;border-radius:7px;font-size:10px;}
}

/* EV menu styling is owned by user/footer.php. */

/* --------------------------------------------------------------------------
   MARKETPLACE — 2 columns on every practical mobile width, denser desktop.
   -------------------------------------------------------------------------- */
body.ev-user[data-ev-section="market"] .market-grid,
.village-market-shell .market-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(min(100%,205px),1fr))!important;
  gap:clamp(10px,1.3vw,18px)!important;
}
body.ev-user[data-ev-section="market"] .market-card,
.village-market-shell .market-card{
  min-width:0!important;border-radius:16px!important;
  border:0!important;background:var(--evx-surface,#fff)!important;
  box-shadow:0 5px 20px rgba(18,49,73,.07)!important;
  overflow:hidden!important;
}
html.dark body.ev-user[data-ev-section="market"] .market-card,
html.dark .village-market-shell .market-card{background:var(--evx-surface,#101f29)!important;box-shadow:0 8px 26px rgba(0,0,0,.18)!important;}
body.ev-user[data-ev-section="market"] .market-card:hover,
.village-market-shell .market-card:hover{transform:translateY(-3px)!important;box-shadow:0 14px 34px rgba(18,49,73,.12)!important;}
body.ev-user[data-ev-section="market"] .market-img-wrap,
.village-market-shell .market-img-wrap{border-radius:0!important;}
body.ev-user[data-ev-section="market"] .market-title,
.village-market-shell .market-title{font-size:13px!important;line-height:1.25!important;font-weight:650!important;letter-spacing:-.015em!important;}
@media(min-width:1280px){
  body.ev-user[data-ev-section="market"] .market-grid,
  .village-market-shell .market-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))!important;}
}
@media(max-width:800px){
  body.ev-user[data-ev-section="market"] .market-grid,
  .village-market-shell .market-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important;
  }
  body.ev-user[data-ev-section="market"] .market-card,
  .village-market-shell .market-card{border-radius:13px!important;}
  body.ev-user[data-ev-section="market"] .market-card-body,
  .village-market-shell .market-card-body{padding:9px!important;}
  body.ev-user[data-ev-section="market"] .market-title,
  .village-market-shell .market-title{font-size:11.5px!important;line-height:1.22!important;}
  body.ev-user[data-ev-section="market"] .market-meta,
  .village-market-shell .market-meta{font-size:9px!important;}
  body.ev-user[data-ev-section="market"] .market-price,
  .village-market-shell .market-price{font-size:12px!important;}
}
@media(max-width:360px){
  body.ev-user[data-ev-section="market"] .market-grid,
  .village-market-shell .market-grid{gap:7px!important;}
  body.ev-user[data-ev-section="market"] .market-card-body,
  .village-market-shell .market-card-body{padding:7px!important;}
}

/* --------------------------------------------------------------------------
   HOMEPAGE — editorial, open, interactive. Avoid card-on-card and border theatre.
   -------------------------------------------------------------------------- */
















/* Login is an open access column, not another floating card. */







/* Strip repeated boxes from marketing sections; preserve images and real controls. */









/* --------------------------------------------------------------------------
   SLOW-NAVIGATION PROTECTOR — one owner, one trigger condition.
   Appears only after an unresolved app navigation exceeds 2 seconds.
   -------------------------------------------------------------------------- */
#evSlowProtect{--ev-protect-x:0px;--ev-protect-y:0px;position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:24px;background:rgba(248,250,252,.92);backdrop-filter:blur(18px) saturate(1.08);-webkit-backdrop-filter:blur(18px) saturate(1.08);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .25s ease,visibility 0s linear .25s;}
html.dark #evSlowProtect{background:rgba(2,8,14,.94);}
#evSlowProtect.is-visible{opacity:1;visibility:visible;pointer-events:auto;transition:opacity .25s ease;}
#evSlowProtect .ev-protect-stage{width:min(420px,92vw);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;transform:translate3d(var(--ev-protect-x),var(--ev-protect-y),0);transition:transform .28s cubic-bezier(.2,.8,.2,1);}
#evSlowProtect .ev-protect-visual{position:relative;width:148px;height:148px;display:grid;place-items:center;flex:0 0 148px;}
#evSlowProtect .ev-protect-ring{position:absolute;inset:10px;border:4px solid rgba(26,62,92,.16);border-top-color:#1A3E5C;border-right-color:#0ea5e9;border-radius:50%;box-shadow:0 0 0 1px rgba(14,165,233,.06),0 16px 42px rgba(26,62,92,.10);animation:evProtectSpin 1.12s linear infinite;}
html.dark #evSlowProtect .ev-protect-ring{border-color:rgba(248,250,252,.20);border-top-color:#fff;border-right-color:#38bdf8;box-shadow:0 0 0 1px rgba(125,211,252,.12),0 0 34px rgba(56,189,248,.16);}
#evSlowProtect .ev-protect-core{position:relative;z-index:1;width:72px;height:72px;padding:7px;display:grid;place-items:center;border:1px solid rgba(26,62,92,.14);border-radius:20px;background:#fff;box-shadow:0 14px 36px rgba(15,39,64,.18),0 0 0 6px rgba(255,255,255,.72);}
html.dark #evSlowProtect .ev-protect-core{border-color:rgba(125,211,252,.32);background:#fff;box-shadow:0 18px 48px rgba(0,0,0,.52),0 0 0 6px rgba(125,211,252,.10),0 0 30px rgba(56,189,248,.16);}
#evSlowProtect .ev-protect-core img{display:block;width:100%;height:100%;object-fit:contain;border-radius:13px;pointer-events:none;user-select:none;-webkit-user-drag:none;}
#evSlowProtect .ev-protect-message{width:min(360px,90vw);margin-top:24px;color:#17334a;font-size:14px;line-height:1.5;font-weight:950;letter-spacing:-.012em;}
html.dark #evSlowProtect .ev-protect-message{color:#f8fafc;}
#evSlowProtect .ev-protect-copy{width:min(390px,92vw);margin-top:14px;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .25s ease,transform .25s ease,visibility .25s ease;}
#evSlowProtect.is-slow .ev-protect-copy{opacity:1;visibility:visible;transform:translateY(0);}
#evSlowProtect .ev-protect-copy span{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:9px 14px;border:1px solid rgba(26,62,92,.16);border-radius:999px;background:rgba(255,255,255,.96);color:#17334a;box-shadow:0 10px 28px rgba(15,39,64,.12);font-size:12px;line-height:1.45;font-weight:900;letter-spacing:.002em;}
html.dark #evSlowProtect .ev-protect-copy span{border-color:rgba(125,211,252,.28);background:rgba(15,31,42,.98);color:#fff;box-shadow:0 14px 34px rgba(0,0,0,.42),0 0 0 1px rgba(56,189,248,.08);}
#evSlowProtect.is-slow .ev-protect-copy span{animation:evSlowCopyPulse 1.15s ease-in-out infinite alternate;}
#evSlowProtect.is-reacting .ev-protect-ring{animation-duration:.68s;}
@keyframes evProtectSpin{to{transform:rotate(360deg)}}
@keyframes evSlowCopyPulse{from{opacity:.66;transform:translateY(2px) scale(.99)}to{opacity:1;transform:translateY(-2px) scale(1.01)}}

/* Fine chat typography. */
.village-clean-shell,.private-clean-shell,
body.ev-village-chat-page,body.ev-private-clean-page,
body.ev-admin-village-chat-page,body.ev-admin-direct-clean-page,
.village-clean-shell button,.village-clean-shell input,.village-clean-shell textarea,
.private-clean-shell button,.private-clean-shell input,.private-clean-shell textarea{
  font-family:var(--ev-fine-font)!important;
}
.village-clean-shell .message,.private-clean-shell .message,
.village-clean-shell [class*="bubble"],.private-clean-shell [class*="bubble"]{
  letter-spacing:-.008em!important;
}

@media(prefers-reduced-motion:reduce){
  body.ev-user[data-ev-section="wallet"] .ev-wallet-card--unified::before,
  body.ev-user[data-ev-section="wallet"] .ev-wallet-unified-kicker::before,
  #evSlowProtect .ev-protect-ring{animation:none!important;}
  
}

/* v266 homepage structure bridge for the existing PHP markup. */





























/* Homepage dark canvas and editorial content rows. */

body:not(.ev-user):not(.ev-admin) #evThemeBtn{
  border:0!important;background:transparent!important;box-shadow:none!important;
  color:var(--ev-brand)!important;font-size:11px!important;font-weight:650!important;
  backdrop-filter:none!important;
}
html.dark body:not(.ev-user):not(.ev-admin) #evThemeBtn{color:#fff!important;}








/* Admin utility-class bridge: flatten legacy card-on-card composition into a modern operations canvas. */
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .max-w-7xl{
  width:100%!important;max-width:none!important;margin-inline:0!important;padding-inline:0!important;padding-top:0!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content h1{
  color:var(--evx-text)!important;font-family:var(--ev-fine-display)!important;
  font-size:clamp(24px,2.5vw,38px)!important;line-height:1.03!important;font-weight:620!important;letter-spacing:-.045em!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content h2{
  color:var(--evx-text)!important;font-weight:650!important;letter-spacing:-.02em!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content [class*="bg-[color:var(--ev-card)]"]{
  background:var(--evx-surface)!important;border-color:transparent!important;
  box-shadow:0 8px 26px rgba(18,49,73,.055)!important;
}
html.dark body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content [class*="bg-[color:var(--ev-card)]"]{
  box-shadow:0 10px 28px rgba(0,0,0,.15)!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content [class*="bg-slate-50"],
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content [class*="dark:bg-slate-900"]{
  background:var(--evx-surface-2)!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .rounded-xl.border,
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .rounded-2xl.border{
  border-color:var(--evx-line)!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content a.rounded-xl.border:hover,
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content a.rounded-2xl.border:hover{
  border-color:rgba(var(--ev-brand-rgb),.22)!important;background:rgba(var(--ev-brand-rgb),.045)!important;box-shadow:none!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content a.group.rounded-2xl{
  border:0!important;box-shadow:0 8px 24px rgba(18,49,73,.055)!important;transition:transform .2s ease,box-shadow .2s ease!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content a.group.rounded-2xl:hover{
  transform:translateY(-2px)!important;box-shadow:0 16px 36px rgba(18,49,73,.10)!important;
}
html.dark body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content a.group.rounded-2xl{box-shadow:0 8px 24px rgba(0,0,0,.16)!important;}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content a.group.rounded-2xl .w-10.h-10{
  background:var(--ev-brand-soft)!important;border:0!important;color:var(--ev-brand)!important;
}
html.dark body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content a.group.rounded-2xl .w-10.h-10{
  background:rgba(var(--ev-brand-rgb),.28)!important;
}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content [class*="shadow-sm"]{box-shadow:none!important;}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .animate-pulse{animation:none!important;}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .bg-amber-500,
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .bg-rose-500,
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .bg-indigo-500,
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .bg-evbrand{
  background:var(--ev-brand)!important;
}
@media(max-width:640px){
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content h1{font-size:25px!important;}
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content .mt-6.grid{gap:10px!important;}
}

/* Brand-first decorative signals on public marketing surfaces. */



/* ========================================================================== 
   EV v267 — precision refinement pass
   ========================================================================== */

/* Fine product typography everywhere, including dense chat content. */
:root{
  --ev-fine-font:"Space Grotesk","Geist","Avenir Next","SF Pro Text","SF Pro Display","Segoe UI Variable Text","Segoe UI Variable",Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}
html,body,button,input,select,textarea,.ev-user,.ev-admin,.ev-public-wide-shell,.village-clean-shell,.private-clean-shell{
  font-family:var(--ev-fine-font)!important;
}

/* Wallet greeting: broadcast copy is quieter, smaller and allowed to use the row width. */
body.ev-user[data-ev-section="wallet"] .ev-wallet-greeting-row{align-items:flex-start!important;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-greeting-copy{flex:1 1 auto!important;min-width:0!important;max-width:none!important;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-broadcast{
  width:min(100%,96ch)!important;max-width:none!important;
  font-size:10.5px!important;line-height:1.42!important;letter-spacing:-.004em!important;
  color:var(--evx-muted,var(--ev-muted))!important;
}
@media(max-width:640px){
  body.ev-user[data-ev-section="wallet"] .ev-wallet-greeting-card{padding:12px!important;}
  body.ev-user[data-ev-section="wallet"] .ev-wallet-broadcast{font-size:10px!important;line-height:1.38!important;}
}

/* Unified wallet: no top kicker and no dead height before the Naira / Dollar labels. */
body.ev-user[data-ev-section="wallet"] .ev-wallet-card--unified{
  min-height:0!important;height:auto!important;
  padding:14px clamp(15px,2.3vw,22px)!important;border-radius:18px!important;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-unified-head,
body.ev-user[data-ev-section="wallet"] .ev-wallet-unified-kicker{display:none!important;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-currencies{
  margin-top:0!important;min-height:0!important;align-items:start!important;
  padding-right:44px!important;gap:clamp(12px,2vw,24px)!important;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-hide-btn{
  position:absolute!important;top:10px!important;right:10px!important;z-index:4!important;
  
  border-radius:8px!important;font-weight:700!important;
  border:1px solid rgba(255,255,255,.22)!important;background:rgba(255,255,255,.10)!important;color:#fff!important;
  backdrop-filter:blur(8px)!important;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-currency-label{margin:0 0 7px!important;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-balance{line-height:1!important;}
body.ev-user[data-ev-section="wallet"] .ev-wallet-freeze{margin-top:6px!important;}
@media(max-width:520px){
  body.ev-user[data-ev-section="wallet"] .ev-wallet-card--unified{min-height:0!important;padding:12px 12px!important;border-radius:16px!important;}
  body.ev-user[data-ev-section="wallet"] .ev-wallet-currencies{margin-top:0!important;padding-right:36px!important;gap:9px!important;}
  body.ev-user[data-ev-section="wallet"] .ev-wallet-hide-btn{top:8px!important;right:8px!important;min-width:30px!important;height:25px!important;padding:0 5px!important;font-size:8px!important;}
}

/* One exact public theme-control position — the Create Account position is now the public standard. */
body:not(.ev-user):not(.ev-admin) :is(#evThemeBtn,#themeBtn,.ev-public-theme-toggle,.ev-appeal-theme-btn,.theme-btn){
  position:fixed!important;top:max(16px,env(safe-area-inset-top))!important;right:max(16px,env(safe-area-inset-right))!important;
  z-index:1000!important;min-width:72px!important;height:34px!important;padding:0 10px!important;margin:0!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:10px!important;border:1px solid rgba(var(--ev-brand-rgb),.16)!important;
  background:color-mix(in srgb,var(--evx-surface,#fff) 92%,transparent)!important;
  color:var(--ev-brand)!important;font-size:10px!important;font-weight:720!important;
  box-shadow:0 8px 22px rgba(18,49,73,.08)!important;backdrop-filter:blur(14px)!important;
}
html.dark body:not(.ev-user):not(.ev-admin) :is(#evThemeBtn,#themeBtn,.ev-public-theme-toggle,.ev-appeal-theme-btn,.theme-btn){
  background:rgba(13,28,38,.90)!important;color:#FFFFFF!important;border-color:rgba(255,255,255,.10)!important;
}

/* Reset password is an open workflow, not a floating card. */
.ev-reset-open{padding-top:4px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;backdrop-filter:none!important;}
.ev-reset-open>div:first-child{padding-bottom:15px;border-bottom:1px solid rgba(var(--ev-brand-rgb),.12);}

/* Reduce pill theatre around the rotating message. */


/* Press proof uses real visual previews and open whitespace instead of a container card. */









/* Exact anchors remain visible below sticky public chrome. */
#faq{scroll-margin-top:88px!important;}
.ev-login-error{scroll-margin-top:84px!important;animation:evLoginErrorArrive .38s cubic-bezier(.2,.8,.2,1) both;}
@keyframes evLoginErrorArrive{from{opacity:.35;transform:translateY(-6px)}to{opacity:1;transform:none}}




/* Admin header and drawer — explicitly theme-aware, with persistent mobile controls. */
html:not(.dark) body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-topbar{
  background:rgba(250,252,253,.94)!important;color:#10202C!important;border-bottom:1px solid rgba(26,62,92,.10)!important;
  box-shadow:0 4px 16px rgba(20,39,52,.035)!important;
}
html.dark body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-topbar{
  background:rgba(8,22,31,.94)!important;color:#F4F8FA!important;border-bottom:1px solid rgba(255,255,255,.075)!important;
  box-shadow:none!important;
}
body.ev-admin .ev-topbar-inner{color:inherit!important;}


body.ev-admin #themeBtnMobile{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-width:58px!important;width:auto!important;padding:0 8px!important;font-size:9px!important;font-weight:700!important;}


@media(max-width:520px){
  body.ev-admin .ev-topbar-inner{min-height:58px!important;padding:7px 9px!important;gap:6px!important;}
  body.ev-admin .ev-topbar-inner>div:first-child{min-width:0!important;flex:1 1 auto!important;}
  body.ev-admin .ev-topbar-inner>div:first-child .text-\[11px\]{font-size:8px!important;}
  body.ev-admin .ev-topbar-inner>div:first-child .text-base{font-size:14px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;}
  body.ev-admin .ev-topbar-inner>div:last-child{gap:4px!important;flex-wrap:nowrap!important;}
  body.ev-admin .ev-topbar .ev-btn,body.ev-admin .ev-logout-power{width:31px!important;height:31px!important;min-width:31px!important;border-radius:8px!important;}
  body.ev-admin #themeBtnMobile{display:inline-flex!important;min-width:48px!important;width:48px!important;padding:0 4px!important;font-size:8px!important;}
  
}

/* A fallback theme control created only on unusual logged-in shells. */
.ev-v267-user-theme-floating{
  position:fixed!important;top:max(12px,env(safe-area-inset-top))!important;right:max(58px,env(safe-area-inset-right))!important;z-index:900!important;
  height:34px!important;min-width:58px!important;padding:0 8px!important;border-radius:9px!important;
  border:1px solid rgba(var(--ev-brand-rgb),.16)!important;background:var(--evx-surface,#fff)!important;color:var(--ev-brand)!important;
  font-size:9px!important;font-weight:700!important;
}

/* v267 final EV Menu palette lock: brand, white, ash — including the legacy mini-menu ID. */
html:not(.dark) #evMiniMenuPanel :is(a,button),
html:not(.dark) .ev-mini-menu-panel :is(a,button){
  background:#EEF1F3!important;color:var(--ev-brand)!important;border:1px solid transparent!important;box-shadow:none!important;text-shadow:none!important;
}
html:not(.dark) #evMiniMenuPanel :is(a,button):hover,
html:not(.dark) .ev-mini-menu-panel :is(a,button):hover{
  background:color-mix(in srgb,#EEF1F3 78%,var(--ev-brand) 22%)!important;color:var(--ev-brand)!important;
}
html:not(.dark) #evMiniMenuPanel :is(a,button).is-active,
html:not(.dark) #evMiniMenuPanel :is(a,button).active,
html:not(.dark) #evMiniMenuPanel :is(a,button)[aria-current="page"],
html:not(.dark) .ev-mini-menu-panel :is(a,button).is-active,
html:not(.dark) .ev-mini-menu-panel :is(a,button).active{
  background:var(--ev-brand)!important;color:#FFFFFF!important;border-color:#FFFFFF!important;
  box-shadow:0 0 0 2px rgba(var(--ev-brand-rgb),.20)!important;
}
html.dark #evMiniMenuPanel :is(a,button),html.dark .ev-mini-menu-panel :is(a,button){
  background:rgba(255,255,255,.075)!important;color:#FFFFFF!important;border:1px solid transparent!important;box-shadow:none!important;
}
html.dark #evMiniMenuPanel :is(a,button).is-active,html.dark #evMiniMenuPanel :is(a,button).active,
html.dark #evMiniMenuPanel :is(a,button)[aria-current="page"],html.dark .ev-mini-menu-panel :is(a,button).is-active,
html.dark .ev-mini-menu-panel :is(a,button).active{
  background:var(--ev-brand)!important;color:#FFFFFF!important;border-color:#FFFFFF!important;
  box-shadow:0 0 0 2px rgba(255,255,255,.11)!important;
}
#evMiniMenuPanel :is(a,button) *, .ev-mini-menu-panel :is(a,button) *{color:inherit!important;text-shadow:none!important;}

/* Clean chat shells hide the normal dashboard header, so keep the same top-action theme control visible. */
.ev-v267-chat-theme-btn{
  position:fixed!important;top:max(11px,env(safe-area-inset-top))!important;right:max(58px,env(safe-area-inset-right))!important;
  z-index:10040!important;height:34px!important;min-width:56px!important;padding:0 8px!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  border-radius:9px!important;border:1px solid rgba(var(--ev-brand-rgb),.16)!important;
  background:rgba(255,255,255,.92)!important;color:var(--ev-brand)!important;
  font-size:9px!important;font-weight:700!important;box-shadow:0 6px 18px rgba(18,49,73,.08)!important;
  backdrop-filter:blur(12px)!important;
}
html.dark .ev-v267-chat-theme-btn{background:rgba(11,27,37,.92)!important;color:#FFFFFF!important;border-color:rgba(255,255,255,.10)!important;}

/* ========================================================================== 
   EV v268 precision corrections
   ========================================================================== */

/* Dedicated FAQ page: open editorial list, not nested cards. */
.ev-faq-page{background:var(--ev-bg)!important;color:var(--ev-text)!important;}
.ev-faq-page .ev-faq-item[open] .ev-faq-chevron{transform:rotate(45deg);}
.ev-faq-page .ev-faq-item summary::-webkit-details-marker{display:none;}
.ev-faq-page .ev-faq-item:hover{border-color:rgba(var(--ev-brand-rgb),.28)!important;}

/* Wallet privacy control: exactly one white eye that changes open/closed. */
body.ev-user[data-ev-section="wallet"] .ev-wallet-hide-btn{
  width:32px!important;min-width:32px!important;height:28px!important;padding:0!important;
  display:grid!important;place-items:center!important;font-size:0!important;line-height:0!important;
  color:#fff!important;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-hide-btn::before{
  content:""!important;width:17px!important;height:17px!important;display:block!important;background:currentColor!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 12s3.5-6 9.5-6 9.5 6 9.5 6-3.5 6-9.5 6-9.5-6-9.5-6Z'/%3E%3Ccircle cx='12' cy='12' r='2.8'/%3E%3C/svg%3E") center/contain no-repeat!important;
}
body.ev-user[data-ev-section="wallet"] .ev-wallet-hide-btn[aria-pressed="true"]::before{
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 5.2A10.9 10.9 0 0 1 12 5c6 0 9.5 7 9.5 7a16 16 0 0 1-2.2 3.1M6.2 6.2C3.8 8 2.5 12 2.5 12S6 19 12 19c1.6 0 3-.4 4.3-1.1'/%3E%3Cpath d='M9.9 9.9A3 3 0 0 0 14.1 14.1'/%3E%3C/svg%3E") center/contain no-repeat!important;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 3l18 18'/%3E%3Cpath d='M10.6 5.2A10.9 10.9 0 0 1 12 5c6 0 9.5 7 9.5 7a16 16 0 0 1-2.2 3.1M6.2 6.2C3.8 8 2.5 12 2.5 12S6 19 12 19c1.6 0 3-.4 4.3-1.1'/%3E%3Cpath d='M9.9 9.9A3 3 0 0 0 14.1 14.1'/%3E%3C/svg%3E") center/contain no-repeat!important;
}

/* User header theme switch: the surface follows the full Light/Dark text width. */
body.ev-user .ev-user-theme-btn{
  font-size:10px!important;min-width:70px!important;width:auto!important;height:32px!important;
  padding:0 9px!important;border-radius:9px!important;white-space:nowrap!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  background:var(--ev-card)!important;color:var(--ev-brand)!important;border:1px solid rgba(var(--ev-brand-rgb),.18)!important;
  box-shadow:none!important;
}
body.ev-user .ev-user-theme-btn::before{display:none!important;content:none!important;}
html.dark body.ev-user .ev-user-theme-btn{background:rgba(255,255,255,.07)!important;color:#fff!important;border-color:rgba(255,255,255,.14)!important;}
@media(max-width:640px){body.ev-user .ev-user-theme-btn{min-width:64px!important;height:30px!important;padding:0 7px!important;font-size:9.5px!important;border-radius:8px!important;}}
@media(max-width:380px){body.ev-user .ev-user-theme-btn{min-width:58px!important;font-size:9px!important;padding-inline:6px!important;}}

/* Marketplace promise: intentionally exactly two concise lines. */



/* Admin: the menu is a dismissible overlay on every viewport, and content owns the full canvas. */
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page){--ev-admin-rail:0px!important;}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-main{
  margin-left:0!important;width:100%!important;max-width:none!important;padding:0!important;
}

body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content{
  width:100%!important;max-width:none!important;
}






body.ev-admin .ev-topbar-inner{max-width:none!important;width:100%!important;}

/* Admin surfaces and tables: cleaner operational density, consistent in both themes. */
body.ev-admin .ev-table-wrap,
body.ev-admin .ev-admin-scroll,
body.ev-admin .overflow-x-auto:has(table){
  width:100%!important;max-width:100%!important;border:1px solid var(--evx-line)!important;
  border-radius:12px!important;background:var(--evx-surface)!important;box-shadow:none!important;
  overflow-x:auto!important;
}
body.ev-admin table{width:100%!important;max-width:none!important;border-collapse:separate!important;border-spacing:0!important;}
body.ev-admin thead th{
  position:sticky;top:0;z-index:2;
  background:color-mix(in srgb,var(--evx-surface-2) 86%,var(--ev-brand) 14%)!important;
  color:var(--evx-muted)!important;font-weight:780!important;
  letter-spacing:.075em!important;text-transform:uppercase!important;
  border-bottom:1px solid var(--evx-line-strong)!important;
}
body.ev-admin tbody td{line-height:1.45!important;}
body.ev-admin tbody tr:nth-child(even) td{background:color-mix(in srgb,var(--evx-surface-2) 42%,transparent)!important;}
body.ev-admin tbody tr:hover td{background:rgba(var(--ev-brand-rgb),.075)!important;}
body.ev-admin .glass,body.ev-admin .app-card{
  border-color:var(--evx-line)!important;box-shadow:none!important;
}
html:not(.dark) body.ev-admin .ev-topbar{}
html.dark body.ev-admin .ev-topbar{}
@media(max-width:640px){
  body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content{padding:9px!important;}
  
  
}

/* v268 footer access: FAQ is available from public, user and backoffice footers. */
.ev-user-page-footer,.ev-admin-page-footer{
  margin:24px 0 86px;padding:14px 0 4px;border-top:1px solid var(--ev-border);
  color:var(--ev-muted);font-size:11px;font-weight:700;
}
.ev-user-page-footer a,.ev-admin-page-footer a{color:var(--ev-brand);text-decoration:none;}
.ev-user-page-footer a:hover,.ev-admin-page-footer a:hover{text-decoration:underline;text-underline-offset:4px;}
.ev-admin-page-footer{margin:18px clamp(12px,2vw,28px) 28px;}
.ev-standalone-footer{display:flex;flex-wrap:wrap;gap:12px;margin:22px auto 0;color:var(--ev-muted,#64748b);font-size:11px;font-weight:750;}
.ev-standalone-footer a{color:inherit;text-decoration:none;}
.ev-standalone-footer a:hover{color:var(--ev-brand,#1A3E5C);text-decoration:underline;text-underline-offset:4px;}


/* EV v269 precision finance, support and admin refinements */

.ev-pass-eye{display:block;}.ev-pass-eye.hidden{display:none!important;}
.ev-finance-wallet-overview{margin:0 0 12px;border:1px solid var(--ev-border);background:color-mix(in srgb,var(--ev-card) 94%,var(--ev-brand) 6%);}
.ev-finance-wallet-title{font-size:11px;font-weight:900;color:var(--ev-muted);margin:0 0 8px;letter-spacing:.01em;}
.ev-finance-wallet-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
.ev-finance-wallet-card{display:flex;align-items:center;gap:9px;min-width:0;padding:10px 11px;background:var(--ev-card);border:1px solid color-mix(in srgb,var(--ev-border) 82%,var(--ev-brand) 18%);color:var(--ev-text);text-decoration:none;transition:transform .16s ease,border-color .16s ease,box-shadow .16s ease;}
a.ev-finance-wallet-card:hover{transform:translateY(-1px);border-color:var(--ev-brand);box-shadow:0 10px 24px rgba(var(--ev-brand-rgb),.10);}
.ev-finance-wallet-symbol{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:var(--ev-brand);color:#fff;font-weight:950;flex:0 0 30px;}
.ev-finance-wallet-copy{display:flex;flex-direction:column;min-width:0;line-height:1.1;}.ev-finance-wallet-copy small{font-size:10px;color:var(--ev-muted);font-weight:800;}.ev-finance-wallet-copy strong{margin-top:4px;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.ev-finance-wallet-arrow{margin-left:auto;color:var(--ev-brand);font-weight:950;}
@media(max-width:420px){.ev-finance-wallet-overview{padding:9px;}.ev-finance-wallet-grid{gap:6px;}.ev-finance-wallet-card{padding:9px 8px;gap:7px;}.ev-finance-wallet-symbol{width:27px;height:27px;flex-basis:27px;}.ev-finance-wallet-copy strong{font-size:11.5px;}}
.ev-deposit-nudge{position:fixed;inset:0;z-index:2147483200;display:grid;place-items:center;padding:18px;opacity:0;visibility:hidden;pointer-events:none;transition:.18s ease;}.ev-deposit-nudge.show{opacity:1;visibility:visible;pointer-events:auto;}.ev-deposit-nudge-backdrop{position:absolute;inset:0;background:rgba(2,6,23,.48);backdrop-filter:blur(8px);}.ev-deposit-nudge-card{position:relative;width:min(430px,100%);padding:20px;border-radius:22px;background:var(--ev-card);color:var(--ev-text);border:1px solid color-mix(in srgb,var(--ev-border) 75%,var(--ev-brand) 25%);box-shadow:0 28px 80px rgba(2,6,23,.28);}.ev-deposit-nudge-x{position:absolute;right:10px;top:9px;width:32px;height:32px;border:0;border-radius:10px;background:transparent;color:var(--ev-muted);font-size:20px;}.ev-deposit-nudge-kicker{display:inline-flex;color:var(--ev-brand);font-size:10px;font-weight:950;text-transform:uppercase;letter-spacing:.1em;}.ev-deposit-nudge-card h3{margin:7px 28px 0 0;font-size:19px;line-height:1.15;font-weight:950;letter-spacing:-.03em;}.ev-deposit-nudge-card p{margin:10px 0 0;color:var(--ev-muted);font-size:13px;line-height:1.55;}.ev-deposit-nudge-card p strong{color:var(--ev-text);}.ev-deposit-nudge-actions{display:grid;grid-template-columns:1fr 1.25fr;gap:8px;margin-top:16px;}.ev-deposit-nudge-actions button{min-height:42px;border-radius:13px;padding:8px 10px;font-size:11px;font-weight:950;}.ev-deposit-nudge-secondary{border:1px solid var(--ev-border);background:transparent;color:var(--ev-text);}.ev-deposit-nudge-primary{border:0;background:var(--ev-brand);color:#fff;}
.evdm-support-status strong{font-weight:1000;color:var(--ev-brand);}html.dark .evdm-support-status strong{color:#fff;}.evdm-support-status.is-connected{border-color:rgba(16,185,129,.35)!important;background:rgba(16,185,129,.08)!important;}
.ev-twofa-open-head,.ev-twofa-open-form,.ev-twofa-open-footer{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;backdrop-filter:none!important;}
.ev-admin-user-search{position:relative;flex:1;}.ev-admin-user-searchbar{display:flex;align-items:center;gap:6px;border:1px solid var(--ev-border);border-radius:16px;background:var(--ev-card);padding:5px;}.ev-admin-user-searchbar>input[name="q"]{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0!important;padding:9px 11px!important;}.ev-admin-user-filter-toggle{width:40px;height:40px;display:grid;place-items:center;border:0;border-radius:12px;background:var(--ev-brand);color:#fff;flex:0 0 40px;}.ev-admin-user-filter-panel{position:absolute;right:0;top:calc(100% + 8px);z-index:200;width:min(760px,calc(100vw - 28px));padding:12px;border:1px solid var(--ev-border);border-radius:18px;background:var(--ev-card);box-shadow:0 24px 70px rgba(2,6,23,.22);display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;}.ev-admin-user-filter-panel[hidden]{display:none!important;}.ev-admin-user-filter-panel select,.ev-admin-user-filter-panel button,.ev-admin-user-filter-panel a{min-width:0;width:100%!important;margin:0!important;}.ev-admin-user-filter-panel button,.ev-admin-user-filter-panel a{display:flex;align-items:center;justify-content:center;}
@media(max-width:760px){.ev-admin-users-shell>.flex{align-items:flex-start!important;flex-direction:column!important;}.ev-admin-user-search{}.ev-admin-user-filter-panel{grid-template-columns:1fr 1fr;}}@media(max-width:460px){.ev-admin-user-filter-panel{grid-template-columns:1fr;}}

.ev-wallet-greeting-card{padding-top:10px!important;}.ev-market-showcase + script + .ev-wallet-banner-stack,.ev-market-showcase ~ .ev-wallet-banner-stack{margin-top:2px!important;}
.ev-user-page-footer{display:flex!important;align-items:center!important;justify-content:center!important;gap:12px!important;flex-wrap:wrap!important;}.ev-user-page-footer a{font-size:11px!important;font-weight:850!important;color:var(--ev-brand)!important;text-decoration:none!important;}


/* EV v269 final polish: finance, menus, admin operations and exact two-line marketplace copy */



/* Wallet picker balances: compact enough for selection flows, clear enough to prevent blind currency choices. */
.ev-finance-wallet-overview{border-radius:14px!important;padding:10px!important;margin-bottom:10px!important;box-shadow:none!important;}
.ev-finance-wallet-card{border-radius:12px!important;min-height:54px!important;}

/* Two-factor authentication is intentionally open, not a floating card. */
body.ev-page-twofa .ev-twofa-open-form,body.ev-page-twofa .ev-twofa-open-head,body.ev-page-twofa .ev-twofa-open-footer,
.ev-twofa-open-form,.ev-twofa-open-head,.ev-twofa-open-footer{background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;}
.ev-twofa-open-form{padding-inline:0!important;}

/* Support connection message stays one visual sentence; only connection state/countdown is emphasized. */
.evdm-support-status{font-size:11.5px!important;line-height:1.45!important;padding:8px 11px!important;border-radius:10px!important;}
.evdm-support-status strong{display:inline!important;font-size:inherit!important;white-space:nowrap!important;}

/* Marketplace promise: two small, stable lines on every viewport. */




/* Admin command surface: overlay navigation, full-width work canvas, intentional light and dark modes. */
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-main{margin:0!important;width:100%!important;max-width:none!important;min-width:0!important;}
body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-content{max-width:none!important;width:100%!important;padding:clamp(10px,1.8vw,24px)!important;}
body.ev-admin .ev-topbar{border-bottom:1px solid var(--ev-border)!important;box-shadow:0 5px 20px rgba(8,25,36,.045)!important;}
body.ev-admin .ev-topbar-inner{min-height:58px!important;padding:8px clamp(10px,1.8vw,22px)!important;}
html:not(.dark) body.ev-admin .ev-topbar{background:rgba(250,252,253,.97)!important;color:#102431!important;}
html.dark body.ev-admin .ev-topbar{background:rgba(7,19,28,.97)!important;color:#f4f8fa!important;border-bottom-color:rgba(255,255,255,.09)!important;}








body.ev-admin .ev-menu-link{border:1px solid transparent!important;border-radius:10px!important;min-height:40px!important;padding:8px 10px!important;}
body.ev-admin .ev-menu-link:hover{background:rgba(var(--ev-brand-rgb),.07)!important;border-color:rgba(var(--ev-brand-rgb),.12)!important;}
body.ev-admin .ev-menu-link.is-active{background:var(--ev-brand)!important;color:#fff!important;border-color:var(--ev-brand)!important;box-shadow:0 8px 20px rgba(var(--ev-brand-rgb),.18)!important;}
body.ev-admin .ev-menu-link.is-active svg{stroke:#fff!important;}
body.ev-admin .ev-menu-group-title{font-size:9px!important;letter-spacing:.13em!important;color:var(--ev-muted)!important;}

/* Admin cards and tables read as operations software rather than stacked template cards. */
body.ev-admin .glass,body.ev-admin .app-card{border-radius:11px!important;box-shadow:none!important;}
body.ev-admin .ev-table-wrap,body.ev-admin .overflow-x-auto:has(table){border-radius:10px!important;box-shadow:none!important;}
body.ev-admin table{font-variant-numeric:tabular-nums!important;}
body.ev-admin thead th{font-size:9px!important;padding:9px 10px!important;white-space:nowrap!important;}
body.ev-admin tbody td{font-size:11px!important;padding:9px 10px!important;vertical-align:middle!important;}
html:not(.dark) body.ev-admin tbody tr:nth-child(even) td{background:#f7f9fa!important;}
html:not(.dark) body.ev-admin tbody tr:hover td{background:rgba(26,62,92,.065)!important;}
html.dark body.ev-admin tbody tr:nth-child(even) td{background:rgba(255,255,255,.025)!important;}
html.dark body.ev-admin tbody tr:hover td{background:rgba(26,62,92,.28)!important;}

/* Users filters live behind the search-field filter button. */
.ev-admin-users-toolbar{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;}
.ev-admin-user-search{width:min(920px,100%)!important;max-width:920px!important;}
.ev-admin-user-search-input{width:100%!important;color:var(--ev-text)!important;}
.ev-admin-user-filter-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;grid-column:1/-1!important;}
@media(max-width:760px){.ev-admin-users-toolbar{align-items:stretch!important;flex-direction:column!important;}.ev-admin-user-search{width:100%!important;max-width:none!important;}.ev-admin-user-filter-panel{left:0!important;right:auto!important;width:min(680px,calc(100vw - 24px))!important;}}

.ev-wallet-greeting-card{padding:8px 10px!important;border-radius:12px!important;}
.ev-wallet-broadcast{font-size:11px!important;line-height:1.35!important;max-width:min(100%,72ch)!important;}
.ev-wallet-banner-stack{margin-top:0!important;}


/* EV_V271_TARGETED_WORKING_BASE_REFINEMENTS */
/* Read-only unified balance strip used on finance entry screens. */
.ev-finance-balance-strip{
  box-sizing:border-box;
  display:grid;
  grid-template-columns:minmax(120px,.78fr) minmax(0,1fr) 1px minmax(0,1fr);
  align-items:center;
  gap:clamp(10px,1.4vw,18px);
  width:100%;
  min-width:0;
  padding:12px 14px;
  border:1px solid color-mix(in srgb,var(--ev-brand) 18%,var(--ev-border));
  border-radius:14px;
  background:color-mix(in srgb,var(--ev-brand) 5%,var(--ev-card));
  box-shadow:none;
}
.ev-finance-balance-strip-label{
  min-width:0;
  font-size:10px;
  line-height:1.25;
  font-weight:850;
  color:var(--ev-muted);
  letter-spacing:.04em;
  text-transform:uppercase;
}
.ev-finance-balance-strip-item{display:flex;min-width:0;flex-direction:column;gap:2px;line-height:1.12;}
.ev-finance-balance-strip-item small{font-size:9px;line-height:1.15;font-weight:800;color:var(--ev-muted);}
.ev-finance-balance-strip-item strong{
  min-width:0;
  margin-top:2px;
  font-size:clamp(12px,1.15vw,14px);
  line-height:1.2;
  font-weight:950;
  letter-spacing:-.025em;
  color:var(--ev-text);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.ev-finance-balance-strip-divider{align-self:stretch;width:1px;min-height:32px;background:var(--ev-border);}
.ev-finance-choice-card{box-sizing:border-box;width:min(100%,720px);max-width:100%;margin-left:auto;margin-right:auto;}
@media(max-width:760px){
  .ev-finance-balance-strip{grid-template-columns:minmax(0,1fr) 1px minmax(0,1fr);gap:10px;padding:10px 12px;}
  .ev-finance-balance-strip-label{grid-column:1 / -1;}
}
@media(max-width:380px){
  .ev-finance-balance-strip{grid-template-columns:1fr;gap:8px;}
  .ev-finance-balance-strip-divider{display:none;}
}

/* Press proof: smaller newspaper previews, explicit editorial heading. */








/* Top Ad: mobile always has at most four visual slots; desktop uses a fuller responsive grid. */

.ev-ad-market-rotator{position:relative!important;min-height:100%!important;}
.ev-ad-market-rotator .ev-ad-market-rot-item{display:none!important;width:100%!important;height:100%!important;min-height:100%!important;}
.ev-ad-market-rotator .ev-ad-market-rot-item.is-active{display:flex!important;}
.ev-ad-market-text{display:flex!important;width:100%!important;height:100%!important;min-height:160px!important;flex-direction:column!important;align-items:flex-start!important;justify-content:flex-end!important;gap:6px!important;padding:24px 14px 14px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--ev-brand) 94%,#fff),var(--ev-brand))!important;color:#fff!important;}
.ev-ad-market-text small{font-size:9px!important;font-weight:850!important;opacity:.78!important;text-transform:uppercase!important;letter-spacing:.1em!important;}.ev-ad-market-text strong{font-size:14px!important;line-height:1.2!important;font-weight:950!important;}.ev-ad-market-text span{font-size:10px!important;font-weight:850!important;opacity:.86!important;}
@media(max-width:760px){.ev-ad-market-text{min-height:120px!important;padding:22px 10px 10px!important;}.ev-ad-market-text strong{font-size:11px!important;}}

/* Chat list light mode: one uninterrupted canvas; no split/half-screen background. */
html:not(.dark) body.ev-chat-list-page-body,
html:not(.dark) body.ev-chat-list-page-body #ev-app-main,
html:not(.dark) body.ev-chat-list-page-body #ev-app-main>.max-w-5xl,
html:not(.dark) body.ev-chat-list-page-body .ev-chat-list-page{background-color:var(--ev-bg)!important;background-image:none!important;}
html:not(.dark) body.ev-chat-list-page-body::before,
html:not(.dark) body.ev-chat-list-page-body::after,
html:not(.dark) body.ev-chat-list-page-body #ev-app-main::before,
html:not(.dark) body.ev-chat-list-page-body #ev-app-main::after{content:none!important;display:none!important;background:none!important;}

/* User footer links: visibly separate FAQ, Chat Support and Ticket actions. */
.ev-user-page-footer{padding-inline:8px!important;}
@media(max-width:520px){.ev-user-page-footer{}}

/* Marketplace intro: exactly two explicit, small full-width lines on public and logged-in pages. */




/* Login password eye must remain visible above legacy button rules. */







/* EV_V271_CONSERVATIVE_REFINEMENTS */

/* Deposit fee suggestion: appears only after Continue and never occupies flow space. */
.ev-deposit-fee-nudge{position:fixed;inset:0;z-index:2147483500;display:grid;place-items:center;padding:16px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .16s ease,visibility .16s ease;}.ev-deposit-fee-nudge.show{opacity:1;visibility:visible;pointer-events:auto;}.ev-deposit-fee-nudge-backdrop{backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);}.ev-deposit-fee-nudge-panel{position:relative;width:min(430px,100%);padding:19px;border:1px solid color-mix(in srgb,var(--ev-border) 75%,var(--ev-brand) 25%);border-radius:18px;background:var(--ev-card);color:var(--ev-text);box-shadow:0 28px 80px rgba(2,6,23,.30);}.ev-deposit-fee-nudge-close{position:absolute;right:9px;top:8px;width:32px;height:32px;font-size:20px;line-height:1;}.ev-deposit-fee-nudge-kicker{font-size:9.5px;font-weight:950;letter-spacing:.1em;text-transform:uppercase;color:var(--ev-brand);}html.dark .ev-deposit-fee-nudge-kicker{color:#7dd3fc;}.ev-deposit-fee-nudge-panel h3{margin:6px 34px 0 0;font-size:18px;line-height:1.16;font-weight:950;letter-spacing:-.025em;}.ev-deposit-fee-nudge-panel p{margin:10px 0 0;font-size:12.5px;line-height:1.55;color:var(--ev-muted);}.ev-deposit-fee-nudge-panel p strong{color:var(--ev-text);}.ev-deposit-fee-nudge-actions{display:grid;grid-template-columns:1fr 1.12fr;gap:8px;margin-top:15px;}.ev-deposit-fee-nudge-actions button{min-height:41px;padding:8px 10px;border-radius:12px;font-size:10.5px;font-weight:950;cursor:pointer;}.ev-deposit-fee-nudge-keep{border:1px solid var(--ev-border);background:transparent;color:var(--ev-text);}.ev-deposit-fee-nudge-use{border:0;background:var(--ev-brand);color:#fff;}@media(max-width:430px){.ev-deposit-fee-nudge-panel{padding:17px;}.ev-deposit-fee-nudge-actions{grid-template-columns:1fr;}.ev-deposit-fee-nudge-panel h3{font-size:16.5px;}}

/* Public/user marketplace intro: exactly two explicit small lines, full available width. */


/* Chats list light mode: one uninterrupted canvas; remove split/pseudo backgrounds. */
html:not(.dark) body.ev-chat-list-page-body,html:not(.dark) body.ev-chat-list-page-body #ev-app-main,html:not(.dark) body.ev-chat-list-page-body .ev-chat-list-page{background:var(--ev-bg)!important;background-image:none!important;}.ev-chat-list-page-body::before,.ev-chat-list-page-body::after,.ev-chat-list-page::before,.ev-chat-list-page::after{content:none!important;display:none!important;background:none!important;}

/* User footer links need breathing room. */
.ev-user-page-footer{padding-inline:8px!important;}.ev-user-page-footer a{display:inline-flex!important;align-items:center!important;min-height:28px!important;}@media(max-width:520px){.ev-user-page-footer{}}

/* Login password eye is always a real visible control. */


/* App prompt belongs beside Wallet Overview, compact enough not to become another section. */
@media(max-width:640px){}

/* Top Ad: four visual spaces on mobile. Extra desktop listings remain available. */
.ev-ad-market-rotator{min-width:0!important;}@media(max-width:760px){.home-market-mobile-extra{display:none!important;}}

/* EV_V271_FINAL_HOME_TUNING — restrained marketing scale, denser rhythm, brand-led proof. */










/* EV_V272_CONSERVATIVE_CORRECTIONS */
/* Admin drawer: final state is class-driven on every viewport; no permanent rail can outrank the toggle. */




body.ev-admin:not(.ev-admin-village-chat-page):not(.ev-admin-direct-clean-page) .ev-main{margin-left:0!important;width:100%!important;max-width:none!important;}


/* Signup desktop composition is centered, not pinned to the left edge. */
@media(min-width:1024px){.ev-auth-wide{margin-left:auto!important;margin-right:auto!important;}}

/* User footer support links remain readable in dark mode and clearly separated. */
.ev-user-page-footer{column-gap:32px!important;row-gap:14px!important;}
html.dark .ev-user-page-footer a{color:#d7ecf8!important;}
@media(max-width:520px){.ev-user-page-footer{column-gap:23px!important;row-gap:12px!important;}}

/* Deposit suggestion modal: clean overlay, no black circular decoration. */
.ev-deposit-fee-nudge-close{background:transparent!important;color:var(--ev-muted)!important;border:0!important;box-shadow:none!important;border-radius:8px!important;}
.ev-deposit-fee-nudge-panel::before,.ev-deposit-fee-nudge-panel::after{display:none!important;content:none!important;}

/* Marketplace intro: visible, exact two lines, full width on both public and user pages. */






/* Escrow chat identity contrast: role tags visible in light mode, usernames visible in dark mode. */
body.ev-escrow-private-layout .evdm-name,body.ev-escrow-admin-chat-page .evdm-name{font-weight:950!important;}
html.dark body.ev-escrow-private-layout .evdm-name,html.dark body.ev-escrow-admin-chat-page .evdm-name{color:#f8fafc!important;}
html:not(.dark) body.ev-escrow-private-layout .evdm-name span[class*="BUYER"],html:not(.dark) body.ev-escrow-private-layout .evdm-name span[class*="SELLER"],html:not(.dark) body.ev-escrow-admin-chat-page .evdm-name span[class*="BUYER"],html:not(.dark) body.ev-escrow-admin-chat-page .evdm-name span[class*="SELLER"]{background:rgba(var(--ev-brand-rgb),.10)!important;color:var(--ev-brand)!important;border-color:rgba(var(--ev-brand-rgb),.24)!important;}
body.ev-escrow-private-layout .evdm-meta .evdm-name+span,body.ev-escrow-admin-chat-page .evdm-meta .evdm-name+span{color:inherit!important;}

/* Escrow voice recording mirrors the compact private-chat treatment. */
body.ev-escrow-private-layout #escrowRecord,body.ev-escrow-admin-chat-page #escrowRecord{display:none!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;margin:0 0 7px!important;padding:7px 9px!important;border-radius:12px!important;background:rgba(239,68,68,.09)!important;border:1px solid rgba(239,68,68,.18)!important;color:#991b1b!important;font-size:11px!important;font-weight:850!important;}
body.ev-escrow-private-layout #escrowRecord.show,body.ev-escrow-admin-chat-page #escrowRecord.show{display:flex!important;}
body.ev-escrow-private-layout #escrowRecord button,body.ev-escrow-admin-chat-page #escrowRecord button{min-height:28px!important;padding:4px 9px!important;border-radius:9px!important;background:var(--ev-card)!important;border:1px solid var(--ev-border)!important;color:var(--ev-text)!important;font-size:10px!important;}




/* EV_V272B_TARGETED_FINISH */
/* Exact role labels: visible in light and dark escrow-chat themes. */
body.ev-escrow-private-layout .ev-escrow-role-tag,body.ev-escrow-admin-chat-page .ev-escrow-role-tag{display:inline-flex!important;align-items:center!important;padding:2px 7px!important;border-radius:999px!important;font-size:9px!important;line-height:1.2!important;font-weight:900!important;letter-spacing:.04em!important;}
html:not(.dark) body.ev-escrow-private-layout .ev-escrow-role-tag,html:not(.dark) body.ev-escrow-admin-chat-page .ev-escrow-role-tag{background:rgba(26,62,92,.10)!important;color:#1A3E5C!important;border-color:rgba(26,62,92,.28)!important;}
html.dark body.ev-escrow-private-layout .ev-escrow-role-tag,html.dark body.ev-escrow-admin-chat-page .ev-escrow-role-tag{background:rgba(255,255,255,.12)!important;color:#fff!important;border-color:rgba(255,255,255,.24)!important;}
html.dark body.ev-escrow-private-layout .evdm-meta .evdm-name,html.dark body.ev-escrow-admin-chat-page .evdm-meta .evdm-name{color:#f8fafc!important;}

/* Recording UI and sent voice notes stay compact and visible in escrow chat. */
body.ev-escrow-private-layout #escrowRecord.show,body.ev-escrow-admin-chat-page #escrowRecord.show{display:flex!important;visibility:visible!important;opacity:1!important;}
html.dark body.ev-escrow-private-layout #escrowRecord,html.dark body.ev-escrow-admin-chat-page #escrowRecord{background:rgba(127,29,29,.30)!important;color:#fecaca!important;border-color:rgba(248,113,113,.28)!important;}


/* EV_V273_CANONICAL_UNREAD_BADGES — unread chat counts stay bold red in light and dark mode. */



/* EV_V280_FINANCE_AMOUNT_FIELD — symbol occupies real layout space beside the input; no overlay. */
body.ev-user .ev-money-wrap{
  display:grid;
  grid-template-columns:36px minmax(0,1fr);
  align-items:center;
  gap:12px;
  width:100%;
  min-width:0;
}
body.ev-user .ev-money-wrap .ev-money-prefix{
  position:static;
  transform:none;
  box-sizing:border-box;
  width:36px;
  height:36px;
  padding:0;
  display:grid;
  place-items:center;
  border:1px solid rgba(var(--ev-brand-rgb),.16);
  border-radius:10px;
  background:rgba(var(--ev-brand-rgb),.08);
  color:#102a3d;
  font-size:13px;
  font-weight:950;
  line-height:1;
  pointer-events:none;
}
body.ev-user .ev-money-wrap > .ev-money-input{
  grid-column:2;
  min-width:0;
  width:100%;
  padding-inline-start:1rem;
}
body.ev-user .ev-money-wrap > .ev-money-input[data-no-prefix="1"]{
  grid-column:1 / -1;
}
html.dark body.ev-user .ev-money-wrap .ev-money-prefix{
  border-color:rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  color:#f8fafc;
}

/* EV_V273_ESCROW_AUDIO_COMPACT — same small playable voice-note treatment for user and backoffice escrow chat. */



/* EV_V273_EVCHAT_MENU_BADGE */



/* EV_V274_PRODUCT_BALANCE — professional homepage rhythm, explicit unread red, compact escrow audio, clean deposit modal. */
/* Homepage: restore deliberate breathing space without returning to oversized empty gaps. */





















/* Deposit nudge: plain full-screen overlay only; no oval/circular/button surface behind the dialog. */
.ev-deposit-fee-nudge-backdrop{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;appearance:none!important;-webkit-appearance:none!important;background:rgba(2,6,23,.50)!important;box-shadow:none!important;transform:none!important;clip-path:none!important;filter:none!important;outline:0!important;}
.ev-deposit-fee-nudge-backdrop::before,.ev-deposit-fee-nudge-backdrop::after{display:none!important;content:none!important;}

/* Escrow voice notes: compact like private chats, playable with the same speed controls. */






/* Unread chat numbers: unequivocally red on user and support/backoffice surfaces in both themes. */



/* Admin menu button remains above the drawer and is always click-targetable for the second toggle. */




/* EV_V276_MARKET_SEARCH_COMPONENT — one owner for public and logged-in Market search. */
.market-search-hero{
  box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;
  overflow:hidden;margin:8px 0 16px;}
.market-search-heading{
  box-sizing:border-box;display:block;width:100%;max-width:100%;min-width:0;
  margin:0 0 12px;font-size:clamp(21px,2.35vw,32px);line-height:1.12;
  font-weight:900;letter-spacing:-.025em;color:var(--ev-text,#0f172a);text-align:left;
  overflow-wrap:anywhere;word-break:normal;}
.market-search-heading .ev-market-line{
  display:block;width:100%;max-width:100%;min-width:0;
  white-space:normal;overflow-wrap:anywhere;word-break:normal;overflow:visible;text-overflow:clip;}
.market-search-long,.ev-market-search-tools{
  box-sizing:border-box;display:flex;align-items:center;gap:0;
  width:100%;max-width:100%;min-width:0;overflow:hidden;
  border:1px solid rgba(148,163,184,.30);border-radius:24px;padding:6px;
  background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(248,250,252,.94));
  box-shadow:0 18px 42px rgba(15,23,42,.09);}
html.dark .market-search-long,html.dark .ev-market-search-tools{
  background:linear-gradient(135deg,rgba(15,23,42,.98),rgba(2,6,23,.94));
  border-color:rgba(148,163,184,.24);box-shadow:0 18px 42px rgba(0,0,0,.30);}
.market-search-long .ev-market-searchbox,.ev-market-search-tools .ev-market-searchbox{
  box-sizing:border-box;display:flex;align-items:center;gap:8px;
  flex:1 1 0%;width:auto;max-width:100%;min-width:0;overflow:hidden;
  border:0;border-radius:18px;background:transparent;box-shadow:none;padding:0 10px;}
.market-search-long .ev-market-searchbox input,.ev-market-search-tools .ev-market-searchbox input{
  box-sizing:border-box;display:block;flex:1 1 auto;width:100%;max-width:100%;min-width:0;
  min-height:46px;margin:0;padding:0;border:0;outline:0;background:transparent;
  color:var(--ev-text,#0f172a);font-size:14px;font-weight:850;overflow:hidden;text-overflow:ellipsis;}
.market-search-long .market-filter-toggle,.ev-market-search-tools .market-filter-toggle{
  box-sizing:border-box;position:relative;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 46px;width:46px;max-width:46px;min-width:46px;height:46px;
  border:0;border-radius:16px;background:var(--ev-brand,#1A3E5C);color:#fff;
  box-shadow:0 12px 26px rgba(26,62,92,.24);}
.market-search-long .market-filter-state,.ev-market-search-tools .market-filter-state{display:none;}
@media(max-width:900px){.market-search-heading{font-size:clamp(17px,2.8vw,24px);}}
@media(max-width:640px){
  .market-search-hero{margin:6px 0 13px;}
  .market-search-heading{font-size:clamp(12.5px,3.55vw,15.5px);line-height:1.22;margin-bottom:9px;letter-spacing:-.02em;}
  .market-search-long,.ev-market-search-tools{padding:5px;border-radius:18px;}
  .market-search-long .ev-market-searchbox,.ev-market-search-tools .ev-market-searchbox{padding:0 7px;}
  .market-search-long .ev-market-searchbox input,.ev-market-search-tools .ev-market-searchbox input{min-height:42px;font-size:12.5px;}
  .market-search-long .market-filter-toggle,.ev-market-search-tools .market-filter-toggle{flex-basis:42px;width:42px;min-width:42px;max-width:42px;height:42px;border-radius:14px;}
}
@media(max-width:360px){.market-search-heading{font-size:12.25px;}}

/* EV_V276_UNREAD_BADGE_COMPONENT — one red unread owner for the actual user/support chat badge markup. */
body.ev-user .ev-unread-badge,
body.ev-user [data-ev-unread-badge],
body.ev-admin .hsc-unread-badge,
body.ev-admin [data-ev-unread-badge]{
  box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;
  min-width:20px;height:20px;padding:0 6px;margin:0;border:0;border-radius:999px;
  background:#dc2626;color:#fff;font-size:10px;line-height:1;font-weight:1000;
  font-style:normal;opacity:1;visibility:visible;
  box-shadow:0 0 0 2px rgba(255,255,255,.92),0 5px 14px rgba(220,38,38,.30);
}
html.dark body.ev-user .ev-unread-badge,
html.dark body.ev-user [data-ev-unread-badge],
html.dark body.ev-admin .hsc-unread-badge,
html.dark body.ev-admin [data-ev-unread-badge]{
  background:#dc2626;color:#fff;
  box-shadow:0 0 0 2px rgba(2,6,23,.94),0 5px 16px rgba(220,38,38,.38);
}

/* EV_V279_ESCROW_SYSTEM_MESSAGE — one renderer contract for user, support and polled escrow system messages. */
body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row{
  justify-content:center;
}
body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row .evdm-bubble{
  max-width:min(620px,94vw);
  border:1px solid rgba(26,62,92,.16);
  border-radius:18px;
  background:rgba(241,245,249,.96);
  color:#0f172a;
  box-shadow:0 8px 22px rgba(15,23,42,.06);
}
body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row .evdm-text{
  color:#0f172a;font-size:12px;font-weight:850;line-height:1.55;white-space:pre-wrap;text-align:left;
}
body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row .evdm-text strong:first-child{
  color:#1A3E5C;font-size:12px;text-transform:uppercase;letter-spacing:.04em;
}
body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row .evdm-time{
  justify-content:center;margin-top:4px;color:#64748b;
}
html.dark body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row .evdm-bubble{
  border-color:rgba(125,211,252,.24);background:rgba(15,23,42,.96);color:#f8fafc;
  box-shadow:0 10px 26px rgba(0,0,0,.24);
}
html.dark body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row .evdm-text{color:#f8fafc;}
html.dark body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row .evdm-text strong:first-child{color:#7dd3fc;}
html.dark body:is(.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-system-row .evdm-time{color:#cbd5e1;}

/* EV_V276_VOICE_NOTE_COMPONENT — one owner for the exact private-chat voice-note UI on private and escrow chats. */
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) :is(.msg-type-voice,.msg-type-audio) :is(.evdm-media,.evdm-single){
  margin:2px 0 0;padding:0;max-width:100%;background:transparent;border:0;box-shadow:none;
}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-line{
  width:min(326px,80vw);min-width:0;max-width:100%;margin:0;padding:0;
  background:transparent;border:0;box-shadow:none;border-radius:0;
  display:flex;flex-direction:column;align-items:stretch;gap:1px;
}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-line audio{
  width:100%;height:36px;display:block;margin:0;opacity:1;visibility:visible;position:relative;z-index:1;
}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-speeds{
  display:flex;justify-content:flex-end;gap:3px;margin:0;padding:0 2px;line-height:1;
}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-speed{
  height:19px;min-width:28px;padding:0 5px;margin:0;border-radius:999px;
  border:1px solid rgba(14,165,233,.22);background:#0ea5e914;color:#0369a1;
  font-size:8.5px;font-weight:1000;display:inline-flex;align-items:center;justify-content:center;
}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-speed.active{
  background:#0ea5e9;color:#fff;border-color:#0ea5e9;
}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-line{position:relative;}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-line>.evdm-media-loading{
  display:none;position:absolute;right:10px;top:7px;left:auto;width:22px;height:22px;margin:0;
  border-radius:999px;border:2px solid rgba(255,255,255,.9);border-top-color:#0ea5e9;background:#0f172a85;
  box-shadow:0 4px 14px #00000047;z-index:6;pointer-events:none;animation:evVoiceSpin .75s linear infinite;
}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-line.is-loading>.evdm-media-loading{display:block;}
body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-line.is-ready>.evdm-media-loading{display:none;}
@keyframes evVoiceSpin{to{transform:rotate(360deg)}}
@media(max-width:640px){
  body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) :is(.msg-type-voice,.msg-type-audio) .evdm-bubble{max-width:min(315px,86vw);}
  body:is(.ev-private-clean-page,.ev-admin-direct-clean-page,.ev-escrow-private-layout,.ev-escrow-admin-chat-page) .evdm-audio-line{width:min(304px,78vw);}
}


/* EV_V276_HOMEPAGE_CANONICAL — single homepage owner; older homepage generations were removed. */
body:not(.ev-user):not(.ev-admin) .ev-home-shell{
  --home-ink:#10212c;--home-muted:#5f707b;--home-soft:#7b8a94;--home-canvas:#fafbfb;--home-line:rgba(16,33,44,.11);
  width:100%;max-width:1440px;margin-inline:auto;padding:20px clamp(18px,4vw,64px) 52px;
  background:var(--home-canvas);color:var(--home-ink);overflow-x:clip;
}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell{
  --home-ink:#f3f7f9;--home-muted:#b6c3ca;--home-soft:#94a6b0;--home-canvas:#08131b;--home-line:rgba(231,240,245,.13);
}
body:not(.ev-user):not(.ev-admin) main.min-h-screen{background:var(--home-canvas,#fafbfb);color:var(--home-ink,#10212c);}
html.dark body:not(.ev-user):not(.ev-admin) main.min-h-screen{background:#08131b;}
body:not(.ev-user):not(.ev-admin) .ev-home-legacy-glow{display:none;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-header{
  position:sticky;top:0;z-index:40;min-height:64px;
  margin-inline:calc(clamp(18px,4vw,64px) * -1);padding:8px clamp(18px,4vw,64px);
  background:color-mix(in srgb,var(--home-canvas) 88%,transparent);border:0;box-shadow:none;
  backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);
}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-nav{gap:18px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-nav a{color:var(--home-muted);text-decoration:none;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-nav a:hover{color:var(--ev-brand);}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-nav-cta{background:var(--ev-brand);color:#fff;border-radius:999px;padding:10px 16px;}

body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-hero{margin-top:26px;padding:34px 0 44px;min-height:0;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-hero>.grid{
  display:grid;grid-template-columns:minmax(0,1.18fr) minmax(310px,.82fr);align-items:start;
  gap:clamp(38px,6vw,88px);
}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-copy-glow{display:none;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-kicker{margin:0 0 8px;padding:0;color:var(--home-muted);font-size:11px;line-height:1.4;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #rMain{
  margin:0;max-width:18ch;color:var(--home-ink);font-size:clamp(38px,4.3vw,64px);
  line-height:1.02;letter-spacing:-.045em;font-weight:780;text-wrap:balance;
}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #rSub{
  margin-top:14px;max-width:58ch;color:var(--home-muted);font-size:clamp(15px,1.3vw,18px);line-height:1.62;
}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-hero .mt-3.flex.flex-wrap.items-center.gap-2{margin-top:18px;gap:8px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-proof-chip{border:1px solid rgba(var(--ev-brand-rgb),.25);background:rgba(var(--ev-brand-rgb),.08);color:var(--ev-brand);}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-proof-chip{border-color:rgba(255,255,255,.17);background:rgba(255,255,255,.07);color:#f4f8fa;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-hero .mt-4.flex.flex-wrap.items-center.gap-2{margin-top:18px;}

body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm{
  margin:0;padding:clamp(20px,2.5vw,30px);border:1px solid var(--home-line);border-radius:24px;
  background:color-mix(in srgb,var(--home-canvas) 93%,white 7%);box-shadow:0 18px 54px rgba(16,33,44,.08);backdrop-filter:none;
}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm{background:#0e1d27;box-shadow:0 24px 60px rgba(0,0,0,.28);}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm::before,
body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm::after{content:none;display:none;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm label{color:var(--home-ink);}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm input:not([type="checkbox"]){min-height:52px;color:var(--home-ink);background:transparent;border-color:var(--home-line);}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm button[type="submit"]{min-height:52px;background:var(--ev-brand);color:#fff;border-radius:16px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm #togglePass{display:inline-flex;visibility:visible;opacity:1;color:var(--ev-brand);}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm #togglePass .ev-pass-eye{display:block;width:20px;height:20px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm #togglePass .ev-pass-eye.hidden{display:none;}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm #togglePass{color:#f4f8fa;}

/* One spacing rhythm. No utility generation is allowed to collapse these sections. */
body:not(.ev-user):not(.ev-admin) .ev-home-shell>section.mt-10,
body:not(.ev-user):not(.ev-admin) .ev-home-shell>section.mt-14{margin-top:46px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .space-y-16{display:block;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .space-y-16>:not([hidden])~:not([hidden]){margin-top:42px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .space-y-10>:not([hidden])~:not([hidden]){margin-top:34px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .space-y-8>:not([hidden])~:not([hidden]){margin-top:28px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .mt-14,.ev-home-shell .mt-12{margin-top:38px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .mt-10{margin-top:30px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .mt-8{margin-top:24px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .mt-6{margin-top:18px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-use-grid,
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-trust-grid{gap:22px 30px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-use-grid>div,
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-trust-grid>div{padding:16px 0;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-blog-section{margin-top:44px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-blog-shell{padding:24px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-press-proof{margin-top:30px;padding:8px 0;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-press-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;}
body:not(.ev-user):not(.ev-admin) .ev-home-shell footer.mt-14{margin-top:50px;}

body:not(.ev-user):not(.ev-admin) .home-market-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px;}

/* Dark-mode text ownership for homepage copy that previously inherited light-only values. */
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell :is(.text-slate-900,.text-slate-800,.text-slate-700){color:#eef4f7;}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell :is(.text-slate-600,.text-slate-500,.text-slate-400){color:var(--home-muted);}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell :is(.market-title,.market-snippet-title,.market-listedby,.market-meta,.market-location-row){color:var(--home-muted);}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell .market-title{color:var(--home-ink);}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell .market-loc{color:#67e8c8;}
html.dark body:not(.ev-user):not(.ev-admin) .ev-home-shell .market-seller-link{color:#93c5fd;}

@media(max-width:900px){
  body:not(.ev-user):not(.ev-admin) .ev-home-shell{padding:16px 20px 42px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-header{margin-inline:-20px;padding-inline:20px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-hero{margin-top:18px;padding:28px 0 36px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-hero>.grid{grid-template-columns:1fr;gap:36px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-press-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:640px){
  body:not(.ev-user):not(.ev-admin) .ev-home-shell{padding:12px 16px 32px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-header{margin-inline:-16px;padding:7px 16px;min-height:58px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-hero{margin-top:12px;padding:22px 0 30px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-hero>.grid{gap:30px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell #rMain{font-size:clamp(30px,9.4vw,42px);line-height:1.04;max-width:20ch;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell #rSub{font-size:14px;line-height:1.58;margin-top:12px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell #evLoginForm{padding:18px;border-radius:20px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell>section.mt-10,
  body:not(.ev-user):not(.ev-admin) .ev-home-shell>section.mt-14{margin-top:34px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .space-y-16>:not([hidden])~:not([hidden]){margin-top:30px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .space-y-10>:not([hidden])~:not([hidden]){margin-top:26px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .space-y-8>:not([hidden])~:not([hidden]){margin-top:22px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .mt-14,.ev-home-shell .mt-12{margin-top:30px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .mt-10{margin-top:24px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .mt-8{margin-top:20px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .mt-6{margin-top:16px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-use-grid,
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-trust-grid{gap:16px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-use-grid>div,
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-trust-grid>div{padding:13px 0;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-blog-section{margin-top:34px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell .ev-home-blog-shell{padding:18px;}
  body:not(.ev-user):not(.ev-admin) .ev-home-shell footer.mt-14{margin-top:38px;}
  body:not(.ev-user):not(.ev-admin) .home-market-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
}
