/* EZMAVIQUE CONNECT — rebuilt interface system v4.0 */
:root{--cx-blue:#1877f2;--cx-blue-dark:#0866ff;--cx-ink:#17202f;--cx-muted:#656f7d;--cx-line:#e4e6eb;--cx-bg:#f0f2f5;--cx-card:#fff;--cx-soft:#e7f3ff;--cx-radius:14px;--cx-shadow:0 1px 2px rgba(0,0,0,.08);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
html,body{background:var(--cx-bg)!important;color:var(--cx-ink)!important}
body{font-size:15px;line-height:1.48;-webkit-font-smoothing:antialiased}
button,input,textarea,select{font:inherit}
button{min-height:40px}
a{color:var(--cx-blue)}
.hidden{display:none!important}
#authScreen.hidden{display:none!important}
#authScreen{min-height:100svh!important;display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(340px,.85fr)!important;align-items:center!important;gap:clamp(24px,5vw,84px)!important;padding:clamp(24px,6vw,88px)!important;background:radial-gradient(ellipse at 15% 20%,#2458a9 0,transparent 42%),linear-gradient(135deg,#07152f 0%,#102e59 55%,#123e75 100%)!important;position:relative;isolation:isolate}
#authScreen:before{content:"";position:absolute;inset:0;z-index:-1;opacity:.22;background-image:linear-gradient(120deg,transparent 0 48%,#ffffff12 48.2% 48.5%,transparent 48.7%),radial-gradient(circle at 80% 15%,#7db6ff55 0 1px,transparent 2px);background-size:100% 100%,34px 34px}
#authScreen .auth-hero{max-width:680px!important;width:100%;margin:auto!important}
#authScreen .top-brand{gap:13px!important}
#authScreen .brand-logo{width:54px!important;height:54px!important}
#authScreen .brand-word{font-size:clamp(18px,2vw,25px)!important;letter-spacing:.1em!important;color:#fff!important}
#authScreen .brand-word span{color:#83b7ff!important}
#authScreen .hero-copy{margin-top:clamp(34px,7vh,72px)!important}
#authScreen .hero-eyebrow{display:inline-flex;padding:8px 12px;border:1px solid #ffffff38;border-radius:999px;background:#ffffff10;color:#bcd8ff;font-size:11px;font-weight:800;letter-spacing:.16em}
#authScreen .hero-copy h1{max-width:640px;font-size:clamp(38px,5.6vw,76px)!important;line-height:.99!important;letter-spacing:-.065em!important;margin:20px 0!important;color:#fff}
#authScreen .hero-copy p{max-width:560px!important;color:#d4e4fb!important;font-size:clamp(16px,1.6vw,20px)!important;line-height:1.65}
#authScreen .hero-highlights{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:10px!important;margin-top:34px!important}
#authScreen .hero-highlight{display:flex!important;align-items:flex-start!important;gap:10px!important;padding:14px!important;border:1px solid #ffffff25!important;border-radius:14px!important;background:#ffffff0d!important;backdrop-filter:blur(12px)}
#authScreen .hero-highlight strong{display:block;color:#fff;font-size:13px}
#authScreen .hero-highlight small{display:block;color:#c5d7ef;font-size:11px;line-height:1.4;margin-top:3px}
#authScreen .highlight-icon{display:grid;place-items:center;flex:0 0 32px;height:32px;border-radius:10px;background:#ffffff18;color:#9bc5ff;font-size:19px}
#authScreen .hero-tagline{margin-top:26px;color:#a9c8f2;font-size:12px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
#authScreen .auth-card{width:min(100%,470px)!important;padding:clamp(22px,3vw,34px)!important;border:1px solid #ffffffaa!important;border-radius:22px!important;background:#fff!important;box-shadow:0 30px 100px #020b1c66!important}
#authScreen .auth-card-heading .badge{background:#e7f1ff;color:#1766d1;border-radius:999px;padding:7px 10px;font-size:10px;font-weight:850;letter-spacing:.1em}
#authScreen .auth-card h2{font-size:30px!important;letter-spacing:-.045em!important;color:#14213a;margin:14px 0 3px!important}
#authScreen .auth-card-heading p{color:#657187;margin:0 0 18px!important}
#authScreen .auth-tabs{background:#f0f2f5!important;border-radius:12px!important;padding:4px!important}
#authScreen .auth-tabs button{min-height:44px!important}
#authScreen .auth-tabs button.active{background:#fff!important;color:var(--cx-blue)!important;box-shadow:0 1px 4px #17202f1c!important}
#authScreen .field{gap:7px!important;margin:12px 0!important}
#authScreen .field label{font-size:12px!important;color:#39465a!important}
#authScreen .field input,#authScreen .field select{min-height:48px!important;border:1px solid #d8dde6!important;border-radius:10px!important;background:#fff!important;padding:12px 13px!important}
#authScreen .primary{min-height:48px!important;border-radius:10px!important;background:var(--cx-blue)!important;border-color:var(--cx-blue)!important;font-weight:800!important}
#authScreen .auth-footer{grid-column:1/-1;display:flex;justify-content:center;gap:22px;flex-wrap:wrap;color:#c3d5ef!important;font-size:11px!important}
#authScreen .auth-footer a{color:#fff!important}
#appShell{min-height:100svh!important;background:var(--cx-bg)!important}
#appShell .topbar{height:64px!important;display:grid!important;grid-template-columns:minmax(190px,260px) minmax(180px,620px) minmax(190px,260px)!important;justify-content:space-between!important;gap:24px!important;padding:0 clamp(14px,2.2vw,36px)!important;background:#fff!important;border-bottom:1px solid var(--cx-line)!important;box-shadow:0 1px 2px #00000008!important}
#appShell .top-brand{min-width:0}
#appShell .brand-logo{width:40px!important;height:40px!important}
#appShell .brand-word{font-size:16px!important;letter-spacing:.08em!important}
#appShell .searchbox{width:100%!important;max-width:620px!important;min-height:42px!important;background:#f0f2f5!important;border:0!important;border-radius:999px!important;padding:0 16px!important}
#appShell .searchbox input{background:transparent!important;border:0!important;box-shadow:none!important}
#appShell .icon-btn{width:42px!important;height:42px!important;min-height:42px!important;border-radius:50%!important;background:#e4e6eb!important;color:#202a3a!important}
#appShell .layout{width:100%!important;max-width:1680px!important;margin:0 auto!important;padding:20px clamp(12px,2vw,30px) 90px!important;display:grid!important;grid-template-columns:minmax(210px,270px) minmax(0,760px) minmax(240px,320px)!important;justify-content:center!important;gap:22px!important}
#appShell .left-rail,#appShell .right-rail{top:78px!important;max-height:calc(100svh - 94px)!important;overflow-y:auto!important;scrollbar-width:thin}
#appShell .rail-card,#appShell .card{background:var(--cx-card)!important;border:1px solid var(--cx-line)!important;border-radius:var(--cx-radius)!important;box-shadow:var(--cx-shadow)!important}
#appShell .rail-card{padding:12px!important;margin-bottom:12px!important}
#appShell .nav-item{min-height:44px!important;border-radius:10px!important;color:#344054!important}
#appShell .nav-item.active,#appShell .nav-item:hover{background:#e7f3ff!important;color:#0866ff!important}
#appShell .content{min-width:0!important}
#appShell .page-head{margin:0 0 14px!important}
#appShell .page-head h1{font-size:25px!important;font-weight:800!important;letter-spacing:-.04em!important}
#appShell .stories{background:#fff!important;border:1px solid var(--cx-line)!important;border-radius:var(--cx-radius)!important;box-shadow:var(--cx-shadow)!important}
#appShell .composer{padding:15px!important;margin-bottom:14px!important}
#appShell .composer-trigger{background:#f0f2f5!important;border:0!important;min-height:44px!important}
#appShell .composer-actions{border-color:#edf0f3!important}
#appShell .primary{background:#1877f2!important;border-color:#1877f2!important;border-radius:9px!important}
#appShell .secondary{border-radius:9px!important}
#appShell .post-card{padding:16px!important;margin-bottom:12px!important;border-radius:var(--cx-radius)!important}
#appShell .post-body{font-size:15px!important;line-height:1.6!important;color:#1c2533!important}
#appShell .post-media{max-height:640px!important;border-radius:12px!important;background:#f0f2f5!important}
#appShell .post-actions button{min-height:42px!important;border-radius:8px!important}
#appShell .comment-bubble{background:#f0f2f5!important}
#appShell .avatar{background:#e4e6eb!important}
#appShell .screen{min-width:0!important}
#appShell .screen>.page-head{padding:0 0 8px!important}
#appShell .screen>.card{padding:16px!important}
#appShell .mobile-nav{display:none!important}
#appShell .toast-wrap{z-index:10000}
@media(max-width:1120px){
 #appShell .layout{grid-template-columns:minmax(190px,240px) minmax(0,760px)!important;max-width:1100px!important}
 #appShell .right-rail{display:none!important}
}
@media(max-width:760px){
 #authScreen{min-height:100svh!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:18px!important;padding:20px 14px 14px!important}
 #authScreen .auth-hero{max-width:540px!important;text-align:center!important}
 #authScreen .hero-copy{margin-top:18px!important}
 #authScreen .hero-copy h1{font-size:clamp(34px,10vw,48px)!important;margin:14px auto!important}
 #authScreen .hero-copy p{font-size:14px!important;margin:0 auto!important}
 #authScreen .hero-highlights{grid-template-columns:1fr!important;gap:7px!important;margin-top:14px!important}
 #authScreen .hero-highlight{padding:9px 12px!important;text-align:left}
 #authScreen .hero-highlight small{font-size:11px!important}
 #authScreen .hero-tagline{margin-top:14px!important;font-size:10px!important}
 #authScreen .auth-card{width:100%!important;max-width:520px!important;margin:0 auto!important;padding:20px!important}
 #authScreen .auth-card h2{font-size:25px!important}
 #authScreen .auth-footer{gap:12px!important;padding:10px 0 4px!important}
 #appShell .topbar{height:58px!important;grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;padding:0 10px!important}
 #appShell .topbar>.searchbox{display:none!important}
 #appShell .brand-logo{width:36px!important;height:36px!important}
 #appShell .brand-word{font-size:13px!important;letter-spacing:.06em!important}
 #appShell .top-actions{gap:5px!important}
 #appShell .top-actions .icon-btn{width:38px!important;height:38px!important;min-height:38px!important}
 #appShell .layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:10px 0 78px!important}
 #appShell .left-rail,#appShell .right-rail{display:none!important}
 #appShell .content{width:100%!important;max-width:none!important;padding:0!important;margin:0!important}
 #appShell .screen{width:100%!important;max-width:none!important}
 #appShell .card,#appShell .rail-card{border-radius:0!important;border-left:0!important;border-right:0!important;box-shadow:none!important}
 #appShell .stories{border-radius:0!important;border-left:0!important;border-right:0!important;margin-bottom:8px!important}
 #appShell .composer{border-left:0!important;border-right:0!important;border-radius:0!important;margin-bottom:8px!important}
 #appShell .post-card{border-radius:0!important;border-left:0!important;border-right:0!important;margin-bottom:8px!important;padding:14px 13px!important}
 #appShell .mobile-nav{position:fixed!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;left:0!important;right:0!important;bottom:0!important;z-index:1000!important;min-height:62px!important;padding:5px 4px max(5px,env(safe-area-inset-bottom))!important;background:#fff!important;border-top:1px solid #dfe3e9!important;box-shadow:0 -3px 14px #17202f0b!important}
 #appShell .mobile-nav button{display:flex!important;min-width:0!important;min-height:48px!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:2px!important;border:0!important;background:transparent!important;color:#656f7d!important;font-size:10px!important;font-weight:700!important;padding:3px 1px!important}
 #appShell .mobile-nav button.active{color:#1877f2!important}
 #appShell .mobile-nav button>span{font-size:19px!important;line-height:1.1!important}
 #appShell .mobile-nav svg{width:21px!important;height:21px!important}
 #appShell .messenger-screen{padding:0!important}
 #appShell .screen>.page-head{padding:12px 14px 6px!important}
 #appShell .screen>.card{padding:12px!important}
}
@media(prefers-reduced-motion:no-preference){
 #appShell .card,#appShell .rail-card,#appShell .nav-item,#appShell .icon-btn{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease!important}
 #appShell .post-card:hover{box-shadow:0 4px 18px #17202f0b!important}
}
@media(max-width:420px){
 #appShell .mobile-nav button{white-space:nowrap!important;overflow:hidden!important;font-size:9px!important;letter-spacing:-.02em!important}
}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
