@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root{
  --bg:#071015;--bg-elev:#0b171d;--surface:#0d1a20;--surface-2:#101f26;--surface-3:#15262e;
  --line:#263840;--line-soft:#1b2b32;--text:#f4f0e8;--muted:#9daaad;--muted-2:#74858a;
  --gold:#d5a744;--gold-2:#f0cf7c;--gold-3:#a97525;--cream:#f4eee2;--cream-2:#ebe2d3;
  --ok:#47b77b;--warn:#d5a744;--bad:#d86e67;--shadow:0 20px 55px rgba(0,0,0,.26);
  --radius:16px;--radius-sm:11px;--sidebar:258px;
}
:root[data-theme="light"]{
  --bg:#f4efe6;--bg-elev:#fbf8f2;--surface:#fffdf9;--surface-2:#f8f3eb;--surface-3:#eee7dc;
  --line:#d9d0c2;--line-soft:#e9e1d6;--text:#172126;--muted:#647176;--muted-2:#7d898d;
  --gold:#9a671b;--gold-2:#b67b22;--gold-3:#7a5017;--cream:#f8f3e9;--cream-2:#ece3d6;
  --ok:#24784d;--warn:#936214;--bad:#9f4742;--shadow:0 18px 50px rgba(81,61,30,.10);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--text);font-family:'Vazirmatn','Noto Sans Arabic',Tahoma,Arial,sans-serif;direction:rtl;-webkit-font-smoothing:antialiased}
body.nav-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
img{max-width:100%}
.ui-icon{width:1.1em;height:1.1em;stroke:currentColor}
.hidden{display:none!important}
.muted{color:var(--muted)}
.eyebrow{font-size:11px;letter-spacing:.08em;color:var(--gold);font-weight:800}
.goldtext,.link-gold{color:var(--gold)}
.link-gold:hover{text-decoration:underline}

.logo-switch{display:inline-flex;align-items:center}
.logo-switch img{display:block;height:auto}
.logo-light{display:none!important}
:root[data-theme="light"] .logo-dark{display:none!important}
:root[data-theme="light"] .logo-light{display:block!important}

/* Buttons */
.btn,.evx-btn,.evx-login,.icon-btn,.filter-reset,.nav-logout{border:1px solid transparent;transition:.18s ease}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:39px;padding:8px 15px;border-radius:11px;font-size:12px;font-weight:750;background:var(--surface-2);color:var(--text)}
.btn.gold,.evx-btn-primary,.evx-login{background:linear-gradient(135deg,#f1d88f,#ca9136);border-color:#e4bf6a;color:#15130e;box-shadow:inset 0 1px rgba(255,255,255,.58),0 8px 20px rgba(183,126,32,.14)}
.btn.gold:hover,.evx-btn-primary:hover,.evx-login:hover{transform:translateY(-1px);filter:brightness(1.035)}
.btn.outline{background:transparent;border-color:rgba(213,167,68,.48);color:var(--gold-2)}
:root[data-theme="light"] .btn.outline{background:#fffaf0;color:#795116;border-color:#cda85f}
.btn.danger{background:rgba(216,110,103,.08);border-color:rgba(216,110,103,.32);color:#e48b84}
:root[data-theme="light"] .btn.danger{color:#913d38;background:#fff2f0;border-color:#dfb2ae}
.btn.wide{width:100%}.btn.mini{min-height:30px;padding:5px 10px;font-size:10px;border-radius:9px}.btn.subtle{min-height:36px}
.icon-btn{width:32px;height:32px;display:inline-grid;place-items:center;border-radius:9px;background:var(--surface-2);border-color:var(--line);color:var(--text)}
.icon-btn.approve{color:var(--ok)}.icon-btn.reject{color:var(--bad)}
.action-row{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.inline-form{display:inline}

/* Theme toggle */
.theme-toggle{width:38px;height:36px;border:1px solid rgba(213,167,68,.34);border-radius:12px;background:rgba(8,17,21,.78);color:#f1cf78;display:grid;place-items:center;padding:0;flex:0 0 auto}
.theme-toggle .sun{display:none}.theme-toggle .moon{display:inline}
:root[data-theme="light"] .theme-toggle{background:#fff9ef;color:#946119;border-color:#d7bd8a}
:root[data-theme="light"] .theme-toggle .sun{display:inline}:root[data-theme="light"] .theme-toggle .moon{display:none}

/* ================================================================
   LANDING — cinematic editorial system
   ================================================================ */
.evx-landing{background:#071015;color:#f5f1e8;overflow:hidden}
.evx-nav-shell{position:absolute;z-index:50;top:14px;left:50%;transform:translateX(-50%);width:min(1480px,calc(100% - 34px))}
.evx-nav{height:68px;padding:0 18px 0 12px;border:1px solid rgba(239,207,124,.14);border-radius:18px;background:rgba(5,13,17,.84);backdrop-filter:blur(18px);display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;box-shadow:0 14px 35px rgba(0,0,0,.18)}
.evx-brand .logo-switch img{width:210px}
.evx-desktop-nav{display:flex;align-items:center;justify-content:center;gap:30px;font-size:12px;color:#e0e3df}
.evx-desktop-nav a{position:relative;padding:24px 2px 20px}
.evx-desktop-nav a:after{content:"";position:absolute;left:50%;right:50%;bottom:11px;height:2px;background:#d6a84d;transition:.2s}
.evx-desktop-nav a:hover:after,.evx-desktop-nav a.active:after{left:18%;right:18%}
.evx-desktop-nav a.active{color:#f1cf78}
.evx-nav-actions{display:flex;align-items:center;gap:10px}
.evx-login{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:8px 18px;border-radius:12px;font-size:11px;font-weight:800}
.evx-menu-toggle{display:none;width:38px;height:36px;border:1px solid rgba(213,167,68,.34);border-radius:12px;background:rgba(8,17,21,.78);color:#f1cf78;font-size:20px}
.evx-mobile-menu{display:none}

.evx-hero{position:relative;min-height:690px;height:min(73vw,740px);max-height:760px;display:flex;align-items:center;overflow:hidden}
.evx-hero-picture{position:absolute;inset:0}
.evx-hero-picture img{width:100%;height:100%;object-fit:cover;object-position:center 46%;display:block;filter:saturate(.98) contrast(1.04)}
.evx-hero-grade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,11,14,.76) 0%,rgba(5,11,14,.54) 28%,rgba(5,11,14,.18) 55%,rgba(5,11,14,.05) 76%),linear-gradient(0deg,rgba(5,11,14,.50),transparent 48%)}
.evx-hero-copy{position:relative;z-index:3;width:min(720px,48vw);margin-right:max(7vw,70px);padding-top:70px}
.evx-kicker{display:block;color:#e0b65a;font-size:11px;font-weight:800;letter-spacing:.12em;margin-bottom:8px}
.evx-hero-copy h1{font-size:clamp(48px,5.2vw,76px);line-height:1.28;margin:0 0 14px;font-weight:800;letter-spacing:-.035em;text-shadow:0 8px 30px rgba(0,0,0,.28)}
.evx-hero-copy h1 strong{color:#f2cf78;font-weight:900}
.evx-hero-copy p{max-width:680px;color:#edf0ed;font-size:15px;line-height:2.05;margin:0;text-shadow:0 4px 20px rgba(0,0,0,.34)}
.evx-hero-actions{display:flex;gap:12px;margin-top:24px}
.evx-btn{display:inline-flex;align-items:center;justify-content:center;min-height:45px;padding:10px 20px;border-radius:12px;font-size:12px;font-weight:800}
.evx-btn-ghost{border-color:rgba(248,241,224,.38);background:rgba(5,12,15,.34);color:#fff;backdrop-filter:blur(8px)}
.evx-btn-ghost:hover{border-color:rgba(240,207,124,.68);background:rgba(5,12,15,.48)}
.evx-hero-tags{display:flex;align-items:center;gap:13px;margin-top:20px;color:#f0eee8;font-size:12px;font-weight:650}
.evx-hero-tags i{width:5px;height:5px;border-radius:50%;background:#e3b553}

.evx-benefits-wrap{position:relative;background:#f5f0e7;color:#182126;padding:40px 6vw 46px;border-bottom:1px solid #dcd2c3}
.evx-benefits-wrap:before{content:"";position:absolute;inset:0;background:url('/assets/img/persian-pattern-clean.svg') center/620px auto;opacity:.035;pointer-events:none}
.evx-benefits-head{position:relative;z-index:1;text-align:center;max-width:900px;margin:0 auto 30px}
.evx-benefits-head span{color:#98651d;font-size:12px;font-weight:850;letter-spacing:.06em}
.evx-benefits-head h2{margin:4px 0 0;font-size:24px;line-height:1.7;font-weight:850}
.evx-benefits{position:relative;z-index:1;max-width:1280px;margin:auto;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(161,119,43,.18)}
.evx-feature{text-align:center;padding:28px 28px 10px;position:relative}
.evx-feature:not(:last-child):after{content:"";position:absolute;left:0;top:24px;bottom:4px;width:1px;background:#ded5c7}
.evx-icon-ring{width:54px;height:54px;margin:0 auto 13px;border:1px solid #c79236;border-radius:50%;display:grid;place-items:center;color:#b77a1d;background:#fffaf1}
.evx-icon-ring .ui-icon{width:25px;height:25px}
.evx-feature h3{margin:0 0 5px;color:#2a2923;font-size:16px}
.evx-feature p{margin:0 auto;max-width:220px;color:#596368;font-size:12px;line-height:1.8}

.evx-process{position:relative;padding:46px 6vw 52px;background:#071116;color:#f5f1e8;overflow:hidden}
.evx-process:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(4,10,13,.89),rgba(4,10,13,.94)),url('/assets/img/hero-iran-nature.webp') center 60%/cover no-repeat;opacity:.95}
.evx-process>*{position:relative;z-index:1}
.evx-section-title{text-align:center;color:#1a252a;margin-bottom:28px}
.evx-section-title h2{margin:0;font-size:30px;font-weight:900;letter-spacing:-.02em}
.evx-section-title p{margin:6px auto 0;color:#6c787c;font-size:12px}
.evx-section-title i{display:block;width:46px;height:2px;background:#c48b2d;margin:10px auto 0}
.evx-section-title-dark{color:#f5f1e8}.evx-section-title-dark i{background:#d9ac4f}
.evx-steps{max-width:1260px;margin:32px auto 0;display:grid;grid-template-columns:repeat(4,1fr);position:relative}
.evx-steps:before{content:"";position:absolute;top:33px;right:9%;left:9%;height:1px;background:linear-gradient(90deg,transparent,#a87a2f 12%,#d3aa56 50%,#a87a2f 88%,transparent)}
.evx-steps article{text-align:center;padding:0 25px;position:relative}
.evx-step-no{position:absolute;top:20px;right:12px;color:#b9c0c1;font-size:10px}
.evx-step-icon-wrap{position:relative;z-index:2;width:64px;height:64px;margin:0 auto 14px;border:1px solid #c49338;border-radius:50%;display:grid;place-items:center;color:#efc969;background:#081318;box-shadow:0 0 0 8px #071116}
.evx-step-icon{width:25px;height:25px}
.evx-steps h3{margin:0 0 7px;color:#f0d393;font-size:16px}
.evx-steps p{margin:0 auto;max-width:235px;color:#b5c0c2;font-size:11px;line-height:1.85}

.evx-sectors{position:relative;padding:50px 6vw 58px;background:#f5f0e7;color:#182126}
.evx-sectors:after{content:"";position:absolute;inset:0;background:url('/assets/img/persian-pattern-clean.svg') center/720px auto;opacity:.025;pointer-events:none}
.evx-sectors>*{position:relative;z-index:1}
.evx-sector-grid{max-width:1300px;margin:auto;display:grid;grid-template-columns:1.12fr 1fr;grid-template-rows:repeat(3,150px);gap:12px}
.evx-sector-card{background:#fffdf9;border:1px solid #ded4c6;border-radius:16px;overflow:hidden;display:grid;grid-template-columns:44% 1fr;min-width:0;box-shadow:0 12px 30px rgba(66,48,21,.055)}
.evx-sector-main{grid-row:1/4;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto}
.evx-sector-card img{width:100%;height:100%;object-fit:cover;display:block}
.evx-sector-main img{min-height:320px}
.evx-sector-card>div{padding:16px 18px;position:relative}
.evx-sector-main>div{padding:18px 22px 20px}
.evx-sector-icon{position:absolute;top:14px;left:15px;width:38px;height:38px;border:1px solid #c69337;border-radius:50%;display:grid;place-items:center;color:#a46a16;background:#fff8e9}
.evx-sector-icon .ui-icon{width:18px;height:18px}
.evx-sector-card h3{margin:0 0 5px;padding-left:45px;color:#72501d;font-size:16px}
.evx-sector-card p{margin:0;color:#647075;font-size:11px;line-height:1.75;max-width:460px}
.evx-sector-card a{display:inline-block;margin-top:9px;color:#9c6517;font-size:10px;font-weight:800}
.evx-sector-main h3{font-size:20px}.evx-sector-main p{font-size:12px}

.evx-trust{display:grid;grid-template-columns:1fr 1fr;min-height:430px;background:#071116;color:#f5f1e8}
.evx-trust-photo{position:relative;overflow:hidden}
.evx-trust-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,17,22,.08),rgba(7,17,22,.55) 88%)}
.evx-trust-photo img{width:100%;height:100%;object-fit:cover;object-position:center 48%;display:block}
.evx-trust-copy{padding:56px clamp(34px,6vw,94px);display:flex;flex-direction:column;justify-content:center}
.evx-trust-copy h2{margin:0 0 8px;font-size:30px;line-height:1.5}
.evx-trust-copy p{margin:0 0 22px;color:#b5c0c2;font-size:12px;line-height:2;max-width:560px}
.evx-trust-copy ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.evx-trust-copy li{display:flex;align-items:center;gap:9px;color:#d9dfde;font-size:12px}
.evx-trust-copy li .ui-icon{width:17px;height:17px;color:#e1b754}

.evx-final-cta{position:relative;isolation:isolate;aspect-ratio:2.5/1;min-height:360px;max-height:720px;display:flex;align-items:flex-end;overflow:hidden;background:#061015}
.evx-final-cta>img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center center;background:#061015;z-index:-3}
.evx-final-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,10,13,.78) 0%,rgba(4,10,13,.62) 34%,rgba(4,10,13,.12) 66%,rgba(4,10,13,.04) 100%),linear-gradient(0deg,rgba(4,10,13,.45),transparent 42%);z-index:-2}
.evx-final-copy{padding:0 7vw 7%;max-width:690px}
.evx-final-copy h2{font-size:clamp(34px,4vw,58px);line-height:1.35;margin:0 0 8px;font-weight:900}.evx-final-copy h2 strong{color:#f0c85f}
.evx-final-copy p{margin:0 0 18px;color:#edf0ee;font-size:13px;line-height:1.9;max-width:590px}
.evx-final-copy .evx-kicker{color:#f0cf78;text-shadow:0 2px 14px rgba(0,0,0,.45)}

.evx-footer{min-height:94px;padding:20px 5vw;background:#061015;border-top:1px solid #1e2c32;display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:30px;color:#9faeb1;font-size:11px}
.evx-footer-brand .logo-switch img{width:170px}
.evx-footer nav{display:flex;justify-content:center;gap:24px}.evx-footer nav a:hover{color:#f0cf78}
.evx-social{display:flex;gap:7px}.evx-social span{width:27px;height:27px;border:1px solid #34434a;border-radius:50%;display:grid;place-items:center;color:#d9e0df}

/* Light landing — editorial cream, photography stays cinematic */
:root[data-theme="light"] .evx-landing{background:#f5f0e7;color:#182126}
:root[data-theme="light"] .evx-nav{background:rgba(255,252,246,.91);border-color:#d8cdbd;box-shadow:0 14px 35px rgba(61,46,22,.08)}
:root[data-theme="light"] .evx-desktop-nav{color:#323d41}:root[data-theme="light"] .evx-desktop-nav a.active{color:#8c5c17}
:root[data-theme="light"] .evx-menu-toggle{background:#fff9ef;color:#8c5c17;border-color:#d7bd8a}
:root[data-theme="light"] .evx-hero-grade{background:linear-gradient(90deg,rgba(18,14,9,.67) 0%,rgba(18,14,9,.45) 28%,rgba(18,14,9,.14) 58%,rgba(18,14,9,.03) 77%),linear-gradient(0deg,rgba(18,14,9,.24),transparent 45%)}
:root[data-theme="light"] .evx-process,:root[data-theme="light"] .evx-trust,:root[data-theme="light"] .evx-footer{background:#091317}
:root[data-theme="light"] .evx-benefits-wrap,:root[data-theme="light"] .evx-sectors{background:#f6f1e8}

/* ================================================================
   AUTH — full-viewport composition, single visual surface
   ================================================================ */
.login-page{position:relative;min-height:100svh;display:flex;align-items:center;justify-content:flex-start;padding:32px clamp(28px,6vw,90px);overflow:hidden;background:#071015}
.login-page:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(5,12,15,.90) 0%,rgba(5,12,15,.82) 31%,rgba(5,12,15,.38) 50%,rgba(5,12,15,.08) 100%),url('/assets/img/login-persian-architecture.webp') center/cover no-repeat}
.login-photo{position:absolute;inset:0;z-index:0}.login-photo:before{content:"";position:absolute;inset:0}.login-nature-label{position:absolute;left:34px;bottom:28px;z-index:1;color:#f1d38c;font-size:12px;border-left:2px solid #d6a84d;padding-left:12px}
.login-card{position:relative;z-index:2;width:min(430px,92vw);padding:28px 30px 24px;border-radius:24px;border:1px solid rgba(213,167,68,.22);background:rgba(8,18,23,.90);backdrop-filter:blur(18px);box-shadow:0 28px 90px rgba(0,0,0,.42)}
.login-card>.logo-switch img{width:205px}.login-theme{position:absolute;left:22px;top:22px}.login-card h2{margin:21px 0 6px;font-size:27px}.login-card>p{margin:0 0 17px;color:#aebbc0;font-size:13px;line-height:1.9}
.login-card form{display:flex;flex-direction:column;gap:10px}.login-card label{display:flex;flex-direction:column;gap:6px;font-size:12px;color:#d5dcde;font-weight:650}
.login-card input{width:100%;height:46px;padding:0 13px;border:1px solid #2b3c44;border-radius:12px;background:rgba(5,13,17,.78);color:#f5f1e8;outline:none}.login-card input:focus{border-color:#bd8b35;box-shadow:0 0 0 3px rgba(213,167,68,.10)}
.login-card .btn.wide{min-height:43px;margin-top:3px}.login-links-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}.subtle-link,.back-home{font-size:11px;font-weight:700}.subtle-link{color:#edca70}.back-home{color:#aab8bb}
:root[data-theme="light"] .login-page{background:#f5efe6}:root[data-theme="light"] .login-page:before{background:linear-gradient(90deg,rgba(246,240,231,.96) 0%,rgba(246,240,231,.86) 30%,rgba(246,240,231,.28) 52%,rgba(246,240,231,.04) 100%),url('/assets/img/login-persian-architecture.webp') center/cover no-repeat}
:root[data-theme="light"] .login-card{background:rgba(255,253,249,.92);border-color:#d7cbb9;box-shadow:0 26px 75px rgba(76,58,28,.13)}
:root[data-theme="light"] .login-card h2{color:#172126}:root[data-theme="light"] .login-card>p{color:#68757a}:root[data-theme="light"] .login-card label{color:#465359}
:root[data-theme="light"] .login-card input{background:#fffefb;color:#192226;border-color:#d9cfbf}:root[data-theme="light"] .back-home{color:#667277}:root[data-theme="light"] .subtle-link{color:#8e5e18}

/* ================================================================
   APP SHELL / SIDEBAR / TOPBAR
   ================================================================ */
.app-shell{min-height:100vh;background:var(--bg)}
.sidebar{position:fixed;z-index:80;right:0;top:0;bottom:0;width:var(--sidebar);padding:20px 15px 14px;background:linear-gradient(180deg,#081319,#061015);border-left:1px solid #1f3038;display:flex;flex-direction:column;overflow:hidden}
:root[data-theme="light"] .sidebar{background:linear-gradient(180deg,#fffdf9,#f8f3eb);border-color:#dcd2c4}
.sidebar-head{min-height:58px;display:flex;align-items:center;justify-content:space-between;padding:0 5px}.sidebar-head .logo-switch img{width:178px}.sidebar-close{display:none;width:34px;height:34px;border:0;background:transparent;color:var(--text);font-size:28px}
.user-mini{display:flex;align-items:center;gap:11px;padding:17px 8px;margin:8px 0 10px;border-top:1px solid var(--line-soft);border-bottom:1px solid var(--line-soft)}
.avatar{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;flex:0 0 auto;background:linear-gradient(135deg,#f0cb6c,#ad7626);color:#11150f;font-weight:900}.avatar-photo{overflow:hidden}.avatar-photo img{width:100%;height:100%;object-fit:cover}.avatar.huge{width:82px;height:82px;font-size:28px}
.user-mini-copy{min-width:0}.user-mini-copy b,.user-mini-copy small,.user-mini-copy em{display:block}.user-mini-copy b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.user-mini-copy small{color:var(--muted);font-size:10px;margin-top:2px}.user-mini-copy em{font-style:normal;color:var(--gold);font-size:9px;margin-top:3px}
.sidebar-nav{min-height:0;overflow-y:auto;overscroll-behavior:contain;display:flex;flex-direction:column;gap:4px;padding:2px 2px 10px;scrollbar-width:thin;scrollbar-color:#34454c transparent}
.sidebar-nav a,.nav-logout{display:flex;align-items:center;gap:10px;width:100%;min-height:43px;padding:9px 11px;border-radius:11px;color:#aebbbe;font-size:12px;font-weight:650;background:transparent}.sidebar-nav a .ui-icon,.nav-logout .ui-icon{width:18px;height:18px;color:#e7bd5d;flex:0 0 auto}
.sidebar-nav a.active,.sidebar-nav a:hover{color:#f0d58d;background:linear-gradient(90deg,rgba(213,167,68,.15),rgba(213,167,68,.03));box-shadow:inset 0 0 0 1px rgba(213,167,68,.16)}
:root[data-theme="light"] .sidebar-nav a,.nav-logout{color:#58666b}:root[data-theme="light"] .sidebar-nav a.active,:root[data-theme="light"] .sidebar-nav a:hover{color:#815716;background:#f4ead7;box-shadow:inset 0 0 0 1px #dfc99e}
.sidebar-footer{flex:0 0 auto;padding-top:10px;border-top:1px solid var(--line-soft);background:inherit}.logout-form{margin:0}.nav-logout{border-color:rgba(216,110,103,.20);color:#df8b85;justify-content:flex-start}.nav-logout .ui-icon{color:#df8b85}.nav-logout:hover{background:rgba(216,110,103,.08);border-color:rgba(216,110,103,.28)}
.app-main{margin-right:var(--sidebar);width:calc(100% - var(--sidebar));min-height:100vh;padding:0 clamp(18px,2.5vw,38px) 48px;background:radial-gradient(circle at 50% -20%,rgba(26,53,64,.68),transparent 40%),var(--bg)}
:root[data-theme="light"] .app-main{background:radial-gradient(circle at 50% -20%,rgba(229,215,190,.58),transparent 40%),var(--bg)}
.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line-soft);margin-bottom:24px}.topbar-title{display:flex;align-items:center;gap:12px}.topbar-title small{display:block;color:var(--muted-2);font-size:9px;letter-spacing:.12em}.topbar h2{margin:2px 0 0;font-size:19px}.topbar-right{display:flex;align-items:center;gap:9px}.secure-pill{display:inline-flex;align-items:center;min-height:32px;padding:5px 11px;border:1px solid rgba(213,167,68,.25);border-radius:999px;background:rgba(213,167,68,.06);color:var(--gold);font-size:10px}.mobile-brand,.app-menu-toggle{display:none}.app-nav-overlay{display:none}

/* Panels / metrics */
.welcome-panel{position:relative;min-height:210px;border-radius:18px;overflow:hidden;padding:36px;display:flex;align-items:center;border:1px solid var(--line);background:linear-gradient(90deg,rgba(6,15,19,.91),rgba(6,15,19,.52)),url('/assets/img/hero-iran-nature.webp') center 48%/cover no-repeat;box-shadow:var(--shadow)}
.welcome-panel>div{max-width:660px}.welcome-panel h1{margin:5px 0 7px;font-size:30px}.welcome-panel p{margin:0;color:#cad4d5;line-height:1.9;font-size:13px}.welcome-name{display:flex;gap:6px;align-items:baseline;flex-wrap:wrap}.welcome-name strong{font-weight:900}
:root[data-theme="light"] .welcome-panel{background:linear-gradient(90deg,rgba(255,252,246,.95),rgba(255,252,246,.72)),url('/assets/img/hero-iran-nature.webp') center 48%/cover no-repeat;border-color:#d8cebf}.welcome-panel h1,:root[data-theme="light"] .welcome-panel h1{color:var(--text)}:root[data-theme="light"] .welcome-panel p{color:#526065}
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:16px 0 27px}.metric-grid.admin{grid-template-columns:repeat(5,minmax(0,1fr))}.metric{min-height:100px;padding:17px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,var(--surface),var(--bg-elev));display:grid;grid-template-columns:auto 1fr;align-content:center;gap:4px 11px}.metric .ui-icon{grid-row:1/3;width:23px;height:23px;color:var(--gold);margin-top:5px}.metric span{font-size:10px;color:var(--muted)}.metric strong{font-size:17px;color:var(--text);overflow-wrap:anywhere}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 12px}.section-head h1,.section-head h2{margin:0;font-size:18px}.section-head a{font-size:11px;color:var(--gold);font-weight:750}
.page-intro{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:0 0 18px}.page-intro h1{margin:3px 0 5px;font-size:28px}.page-intro p{margin:0;color:var(--muted);font-size:12px;line-height:1.8}.large-code{display:inline-flex;margin-top:8px}

/* Project cards */
.project-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.project-grid.large{grid-template-columns:repeat(3,minmax(0,1fr))}.project-grid.dashboard-five{grid-template-columns:repeat(5,minmax(0,1fr))}
.project-card{border:1px solid var(--line);border-radius:15px;overflow:hidden;background:var(--surface);transition:.18s;min-width:0}.project-card:hover{transform:translateY(-2px);border-color:rgba(213,167,68,.45);box-shadow:0 12px 28px rgba(0,0,0,.10)}
.project-cover-wrap{height:158px;position:relative;overflow:hidden}.project-cover-wrap>img{width:100%;height:100%;object-fit:cover;display:block}.project-closed .project-cover-wrap>img{filter:saturate(.7) brightness(.8)}.project-closed-badge{position:absolute;top:9px;right:9px;padding:5px 9px;border-radius:999px;background:rgba(6,14,18,.88);border:1px solid rgba(240,207,124,.35);color:#f1cf78;font-size:9px;font-weight:800;backdrop-filter:blur(7px)}
.project-body{padding:14px}.card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px}.entity-code{display:inline-flex;align-items:center;padding:4px 7px;border-radius:999px;border:1px solid rgba(213,167,68,.25);background:rgba(213,167,68,.06);color:var(--gold);font-size:8px;font-weight:800}.project-body h3{margin:7px 0 4px;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-body p{height:39px;margin:0;color:var(--muted);font-size:10px;line-height:1.8;overflow:hidden}.amount-row{display:flex;justify-content:space-between;gap:10px;margin:12px 0 8px}.amount-row small,.amount-row b{display:block}.amount-row small{font-size:8px;color:var(--muted-2)}.amount-row b{font-size:10px}.progress{height:6px;border-radius:99px;background:var(--surface-3);overflow:hidden}.progress i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#a97120,#e1b95a)}.progress.big{height:9px;margin:12px 0 22px}.between{display:flex;justify-content:space-between;margin:7px 0 10px;color:var(--muted);font-size:9px}
.recent-compact{margin-top:25px}.recent-strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}.recent-strip article{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 11px;border:1px solid var(--line);border-radius:11px;background:var(--surface)}.recent-strip b,.recent-strip small{display:block}.recent-strip b{font-size:10px}.recent-strip small{margin-top:3px;color:var(--muted);font-size:8px}

/* Filter */
.opportunity-filter{padding:15px;border:1px solid var(--line);border-radius:15px;background:var(--surface);margin-bottom:15px}.filter-bar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px}.filter-bar-head strong{display:block;font-size:13px}.filter-bar-head small{display:block;margin-top:2px;color:var(--muted);font-size:9px}.filter-actions-inline{display:flex;align-items:center;gap:8px}.filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.filter-field{display:flex;flex-direction:column;gap:5px}.filter-field span{font-size:9px;color:var(--muted)}.filter-field select{width:100%;height:40px;padding:0 10px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev);color:var(--text);outline:none}.filter-field select:focus{border-color:var(--gold)}.filter-reset{display:inline-flex;align-items:center;justify-content:center;min-height:35px;padding:6px 10px;border-radius:9px;background:transparent;border-color:var(--line);color:var(--muted);font-size:9px}.filter-count{margin-top:9px;color:var(--muted);font-size:9px}

/* Deal room */
.deal-hero{display:grid;grid-template-columns:42% 1fr;min-height:295px;border:1px solid var(--line);border-radius:18px;overflow:hidden;background:var(--surface);box-shadow:var(--shadow)}.deal-hero img{width:100%;height:100%;object-fit:cover}.deal-hero>div{padding:34px;display:flex;flex-direction:column;justify-content:center}.deal-hero h1{font-size:30px;margin:14px 0 8px}.deal-hero p{margin:0;color:var(--muted);font-size:13px;line-height:2}.deal-layout{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:18px;margin-top:18px}.deal-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.deal-metrics>div{padding:16px;border:1px solid var(--line);border-radius:13px;background:var(--surface)}.deal-metrics small,.deal-metrics b{display:block}.deal-metrics small{font-size:9px;color:var(--muted)}.deal-metrics b{margin-top:5px;font-size:14px}.deal-tabs{display:flex;align-items:center;gap:4px;border-bottom:1px solid var(--line);overflow-x:auto}.deal-tabs button{white-space:nowrap;padding:10px 13px;border:0;border-bottom:2px solid transparent;background:transparent;color:var(--muted);font-size:11px}.deal-tabs button.active{color:var(--gold);border-bottom-color:var(--gold)}.deal-tab-panels{padding-top:14px}.tab-panel{display:none}.tab-panel.active{display:block}.deal-copy{padding:20px;border:1px solid var(--line);border-radius:14px;background:var(--surface)}.deal-copy h3{margin:0 0 8px;font-size:17px}.deal-copy p{margin:0;color:var(--muted);font-size:12px;line-height:2.05}.info-cards{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:16px}.info-cards>div{padding:13px;border:1px solid var(--line);border-radius:11px;background:var(--bg-elev)}.info-cards .ui-icon{color:var(--gold);width:18px;height:18px}.info-cards b,.info-cards p{display:block}.info-cards b{margin-top:6px;font-size:11px}.info-cards p{font-size:10px}.document-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:14px}.doc-chip{display:flex;align-items:center;gap:8px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev);color:var(--gold)}.doc-chip small{display:block;color:var(--muted);font-size:8px;margin-top:2px}.commit-box{align-self:start;position:sticky;top:18px;padding:19px;border:1px solid rgba(213,167,68,.30);border-radius:16px;background:linear-gradient(145deg,rgba(213,167,68,.08),var(--surface) 30%)}.commit-box h2{margin:0 0 13px;font-size:17px}.minmax{display:flex;justify-content:space-between;gap:12px;padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev);margin-bottom:13px}.minmax span,.minmax b{display:block}.minmax span{font-size:9px;color:var(--muted)}.minmax b{margin-top:4px;color:var(--gold-2);font-size:11px}.commit-box form{display:flex;flex-direction:column;gap:10px}.commit-box label{display:flex;flex-direction:column;gap:5px;font-size:10px;color:var(--muted)}.commit-box input,.commit-box textarea{width:100%;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev);color:var(--text);outline:none}.commit-box textarea{min-height:78px;resize:vertical}.commit-box small{color:var(--muted);font-size:8px;line-height:1.7}.pending-edit-note,.closed-box{padding:11px;border-radius:10px;font-size:10px;line-height:1.8}.pending-edit-note{background:rgba(213,167,68,.08);border:1px solid rgba(213,167,68,.26);color:var(--gold-2)}.closed-box{background:rgba(71,183,123,.08);border:1px solid rgba(71,183,123,.26);color:#8bd4aa}.danger-form{margin-top:8px}

/* Tables / forms / profile */
.table-card,.admin-form,.profile-summary,.recent-box,.project-list-box,.empty-state{border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:0 10px 30px rgba(0,0,0,.05)}.table-card{padding:16px}.table-wrap{overflow:auto}table{width:100%;border-collapse:separate;border-spacing:0;font-size:11px}th,td{text-align:right;padding:11px 10px;border-bottom:1px solid var(--line-soft);vertical-align:middle}th{color:var(--muted);font-size:9px;font-weight:700;background:var(--bg-elev)}td{color:var(--text)}td small{display:block;margin-top:3px;color:var(--muted);font-size:8px}tr:last-child td{border-bottom:0}.project-cell{display:flex;align-items:center;gap:10px}.project-cell img{width:62px;height:46px;object-fit:cover;border-radius:8px}.project-cell b,.project-cell small{display:block}.status,.operation-state{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;border:1px solid;font-size:8px;font-weight:750}.status.pending,.operation-state.waiting{color:#e0b85c;border-color:rgba(213,167,68,.32);background:rgba(213,167,68,.07)}.status.confirmed,.operation-state.ready{color:#72c796;border-color:rgba(71,183,123,.30);background:rgba(71,183,123,.07)}.status.rejected{color:#df837c;border-color:rgba(216,110,103,.30);background:rgba(216,110,103,.07)}.status.closed{color:#d0af72;border-color:rgba(208,175,114,.3);background:rgba(208,175,114,.07)}.operation-state.muted-op{color:var(--muted);border-color:var(--line);background:transparent}
.form-section-title{margin:3px 0 12px;padding-bottom:8px;border-bottom:1px solid var(--line-soft)}.form-section-title h3{margin:0;color:var(--gold-2);font-size:14px}.form-section-title p{margin:3px 0 0;color:var(--muted);font-size:9px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 13px}.form-grid .full{grid-column:1/-1}.admin-form label,.upload-form label,.profile-form label,.installer-form label{display:flex;flex-direction:column;gap:5px;color:var(--muted);font-size:10px}.admin-form input,.admin-form textarea,.admin-form select,.upload-form input,.upload-form select,.profile-form input,.profile-form textarea,.installer-form input{width:100%;padding:10px 11px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev);color:var(--text);outline:none}.admin-form textarea,.profile-form textarea{min-height:96px;resize:vertical}.admin-form select,.upload-form select{min-height:41px}.admin-form input:focus,.admin-form textarea:focus,.admin-form select:focus,.profile-form input:focus,.profile-form textarea:focus{border-color:var(--gold);box-shadow:0 0 0 3px rgba(213,167,68,.09)}.admin-form>.btn,.upload-form>.btn{margin-top:13px}.form-cover-preview{width:100%;max-height:260px;object-fit:cover;border-radius:11px;border:1px solid var(--line);margin-bottom:12px}
.profile-layout{display:grid;grid-template-columns:300px 1fr;gap:14px}.profile-summary{padding:22px;display:flex;align-items:center;gap:14px}.profile-summary h2{margin:0 0 4px}.profile-summary p{margin:0 0 8px;color:var(--muted);font-size:11px}.profile-summary .status{margin-right:5px}.profile-layout>.table-card:last-child{grid-column:1/-1}.document-list{display:grid;gap:8px}.document-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev)}.document-row>div{display:flex;align-items:center;gap:8px}.document-row .ui-icon{color:var(--gold)}.document-row b,.document-row small{display:block}.document-row small{font-size:8px;color:var(--muted);margin-top:2px}.settings-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:14px}.sector-list{display:grid;gap:8px}.sector-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev)}.sector-row b,.sector-row small{display:block}.sector-row small{font-size:8px;color:var(--muted);margin-top:3px}.permission-tags{display:flex;flex-wrap:wrap;gap:4px}.permission-tags span{padding:3px 7px;border:1px solid rgba(213,167,68,.22);border-radius:999px;background:rgba(213,167,68,.06);color:var(--gold);font-size:8px}.permission-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.permission-grid label{display:flex;flex-direction:row;align-items:center;gap:8px;padding:10px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev);font-size:10px;color:var(--text)}.permission-grid input{width:16px;height:16px;accent-color:#b57e27}.profile-read-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:14px}.profile-read-grid>div{padding:11px;border:1px solid var(--line);border-radius:10px;background:var(--bg-elev)}.profile-read-grid .full{grid-column:1/-1}.profile-read-grid small,.profile-read-grid b{display:block}.profile-read-grid small{font-size:8px;color:var(--muted);margin-bottom:3px}
.empty-state{padding:40px;text-align:center;color:var(--muted);border-style:dashed;grid-column:1/-1}.flash{padding:10px 12px;border-radius:10px;margin-bottom:13px;font-size:10px}.flash.ok{background:rgba(71,183,123,.08);border:1px solid rgba(71,183,123,.28);color:#80d3a2}.flash.err{background:rgba(216,110,103,.08);border:1px solid rgba(216,110,103,.28);color:#e58d86}

/* Light app components */
:root[data-theme="light"] .metric,:root[data-theme="light"] .project-card,:root[data-theme="light"] .table-card,:root[data-theme="light"] .admin-form,:root[data-theme="light"] .profile-summary,:root[data-theme="light"] .deal-hero,:root[data-theme="light"] .deal-metrics>div,:root[data-theme="light"] .deal-copy,:root[data-theme="light"] .commit-box,:root[data-theme="light"] .recent-strip article,:root[data-theme="light"] .empty-state{background:var(--surface);border-color:var(--line);color:var(--text)}
:root[data-theme="light"] .project-body p,:root[data-theme="light"] .deal-hero p,:root[data-theme="light"] .deal-copy p,:root[data-theme="light"] .welcome-panel p{color:var(--muted)}
:root[data-theme="light"] .filter-field select,:root[data-theme="light"] .commit-box input,:root[data-theme="light"] .commit-box textarea,:root[data-theme="light"] .minmax,:root[data-theme="light"] .info-cards>div,:root[data-theme="light"] .doc-chip,:root[data-theme="light"] .document-row,:root[data-theme="light"] .sector-row,:root[data-theme="light"] .profile-read-grid>div,:root[data-theme="light"] .permission-grid label{background:#fbf7f0;border-color:#ddd3c6;color:#182126}
:root[data-theme="light"] table th{background:#f3ede4;color:#59666b}:root[data-theme="light"] th,:root[data-theme="light"] td{border-color:#e6ddd2}:root[data-theme="light"] .project-closed-badge{background:rgba(255,250,241,.94);color:#79521a;border-color:#d1aa64}

/* Installer */
.installer-body{min-height:100vh;margin:0;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at 50% 0,#16272e,#05090b 52%);font-family:'Vazirmatn','Noto Sans Arabic',Tahoma,Arial,sans-serif;color:#f7f4ed}.installer-card{width:min(860px,96vw);background:#091216;border:1px solid #334149;border-radius:18px;padding:28px;box-shadow:0 24px 80px rgba(0,0,0,.45)}.installer-logo{width:220px}.installer-card h1{margin:16px 0 4px}.installer-card>p{color:#aeb9bb;line-height:2}.installer-card h2{font-size:17px;color:#f0d58d;border-bottom:1px solid #26343a;padding-bottom:8px;margin-top:22px}.installer-card h2 small{color:#7e8d90;font-weight:400}.installer-form label{color:#bac4c5}.installer-form input{background:#071014;color:#f4f4f1;border-color:#2c3a40}

/* ================================================================
   RESPONSIVE — laptop / tablet / mobile are independent compositions
   ================================================================ */
@media(max-width:1300px){
  .evx-hero{min-height:620px}.evx-hero-copy{width:min(650px,54vw);margin-right:6vw}.evx-hero-copy h1{font-size:clamp(44px,5vw,64px)}
  .evx-sector-grid{grid-template-rows:repeat(3,142px)}
  .project-grid.dashboard-five{grid-template-columns:repeat(3,minmax(0,1fr))}
  .metric-grid.admin{grid-template-columns:repeat(3,minmax(0,1fr))}
  .recent-strip{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:1100px){
  .evx-desktop-nav{gap:18px}.evx-brand .logo-switch img{width:185px}.evx-nav{gap:16px}
  .evx-hero{min-height:580px;height:64vw}.evx-hero-copy{width:58vw;margin-right:5vw}.evx-hero-copy p{font-size:13px}
  .evx-benefits{grid-template-columns:repeat(2,1fr);border-top:0}.evx-feature{border-top:1px solid #ded5c7}.evx-feature:nth-child(odd):after{content:"";position:absolute;left:0;top:24px;bottom:4px;width:1px;background:#ded5c7}.evx-feature:nth-child(even):after{display:none}
  .evx-sector-grid{grid-template-columns:1fr 1fr;grid-template-rows:auto}.evx-sector-main{grid-column:1/-1;grid-row:auto;grid-template-columns:52% 1fr;grid-template-rows:320px}.evx-sector-card{min-height:150px}
  .deal-layout{grid-template-columns:1fr}.commit-box{position:static}.profile-layout{grid-template-columns:1fr}.profile-summary{justify-content:flex-start}.profile-layout>.table-card:last-child{grid-column:auto}.settings-grid{grid-template-columns:1fr}
  .filter-grid{grid-template-columns:repeat(2,1fr)}
  .project-grid,.project-grid.large{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:900px){
  :root{--sidebar:252px}
  .evx-nav-shell{top:10px;width:calc(100% - 20px)}.evx-nav{height:62px;border-radius:16px;padding:0 12px}.evx-desktop-nav{display:none}.evx-nav{grid-template-columns:1fr auto}.evx-brand .logo-switch img{width:165px}.evx-menu-toggle{display:inline-grid;place-items:center}.evx-login{min-height:36px;padding:7px 11px;font-size:10px}
  .evx-mobile-menu{position:absolute;top:70px;left:0;right:0;padding:10px;background:rgba(6,15,19,.96);border:1px solid rgba(213,167,68,.18);border-radius:15px;backdrop-filter:blur(18px);box-shadow:0 20px 40px rgba(0,0,0,.24)}.evx-mobile-menu.open{display:grid}.evx-mobile-menu a{padding:11px 12px;border-bottom:1px solid rgba(255,255,255,.05);font-size:11px}.evx-mobile-menu a:last-child{border-bottom:0}
  :root[data-theme="light"] .evx-mobile-menu{background:rgba(255,252,246,.98);border-color:#d8cdbd;color:#243036}:root[data-theme="light"] .evx-mobile-menu a{border-color:#ece3d7}
  .evx-hero{min-height:540px;height:66vw}.evx-hero-copy{margin-right:5vw;width:62vw}.evx-hero-copy h1{font-size:clamp(38px,5vw,52px)}
  .evx-steps{grid-template-columns:repeat(2,1fr);gap:30px 0}.evx-steps:before{display:none}.evx-step-icon-wrap{box-shadow:none}.evx-step-no{right:18%}
  .evx-trust{grid-template-columns:44% 56%}.evx-trust-copy{padding:38px 32px}.evx-trust-copy h2{font-size:25px}
  .evx-footer{grid-template-columns:1fr 1fr}.evx-footer nav{justify-content:flex-end;flex-wrap:wrap}.evx-footer small{text-align:left}
  .sidebar{transform:translateX(110%);transition:transform .24s ease;width:280px;box-shadow:-18px 0 45px rgba(0,0,0,.32)}body.nav-open .sidebar{transform:translateX(0)}.sidebar-close{display:block}.app-nav-overlay{position:fixed;z-index:70;inset:0;border:0;background:rgba(0,0,0,.45);backdrop-filter:blur(2px)}body.nav-open .app-nav-overlay{display:block}.app-main{margin-right:0;width:100%;padding:0 18px 38px}.app-menu-toggle{display:grid;place-items:center;width:38px;height:36px;border:1px solid var(--line);border-radius:11px;background:var(--surface);color:var(--text);font-size:19px}.mobile-brand{display:none}.topbar{height:74px}
  .metric-grid{grid-template-columns:repeat(2,1fr)}.metric-grid.admin{grid-template-columns:repeat(2,1fr)}.recent-strip{grid-template-columns:repeat(2,1fr)}
  .deal-hero{grid-template-columns:1fr}.deal-hero img{height:250px}.deal-hero>div{padding:24px}.deal-metrics{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .evx-nav{height:60px}.evx-brand .logo-switch img{width:145px}.evx-login{padding:7px 9px}.evx-nav-actions{gap:6px}.theme-toggle{width:34px;height:34px}.evx-menu-toggle{width:34px;height:34px}
  .evx-hero{display:block;min-height:0;height:auto;padding-top:60px;background:#071015}.evx-hero-picture{position:relative;display:block;height:44svh;min-height:310px;max-height:430px}.evx-hero-picture img{object-position:center 44%}.evx-hero-grade{top:60px;height:44svh;min-height:310px;max-height:430px;bottom:auto;background:linear-gradient(180deg,rgba(5,11,14,.02),rgba(5,11,14,.08) 58%,rgba(7,16,21,.70) 86%,#071015 100%)}
  .evx-hero-copy{width:auto;margin:-24px 0 0;padding:0 20px 34px;text-align:right;position:relative;z-index:4}.evx-hero-copy h1{font-size:clamp(34px,9vw,44px);line-height:1.35;text-shadow:none}.evx-hero-copy p{font-size:12px;line-height:1.9;text-shadow:none;color:#c7d1d2}.evx-hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.evx-btn{min-height:43px;padding:8px 10px;font-size:11px}.evx-hero-tags{justify-content:flex-start}
  :root[data-theme="light"] .evx-hero{background:#f6f1e8}:root[data-theme="light"] .evx-hero-grade{background:linear-gradient(180deg,rgba(246,241,232,.01),rgba(246,241,232,.08) 64%,#f6f1e8 100%)}:root[data-theme="light"] .evx-hero-copy h1{color:#172126}:root[data-theme="light"] .evx-hero-copy h1 strong{color:#8e5e18}:root[data-theme="light"] .evx-hero-copy p,:root[data-theme="light"] .evx-hero-tags{color:#566469}
  .evx-benefits-wrap{padding:32px 18px 36px}.evx-benefits-head{margin-bottom:20px}.evx-benefits-head h2{font-size:21px}.evx-benefits{grid-template-columns:1fr}.evx-feature{display:grid;grid-template-columns:52px 1fr;text-align:right;gap:13px;padding:14px 4px;border-top:1px solid #ded5c7}.evx-feature:after{display:none!important}.evx-icon-ring{width:48px;height:48px;margin:0;grid-row:1/3}.evx-feature h3{margin:3px 0 0}.evx-feature p{max-width:none;margin:0}
  .evx-process{padding:38px 18px 44px}.evx-section-title h2{font-size:26px}.evx-steps{grid-template-columns:1fr;margin-top:24px;gap:0;padding-right:18px}.evx-steps article{text-align:right;padding:0 70px 28px 0;min-height:110px}.evx-steps article:not(:last-child):before{content:"";position:absolute;right:28px;top:54px;bottom:0;width:1px;background:#9f742e}.evx-step-icon-wrap{position:absolute;right:0;top:0;width:56px;height:56px;margin:0}.evx-step-no{position:static;display:block;margin-bottom:3px;color:#d0aa59}.evx-steps h3{margin:0 0 4px}.evx-steps p{max-width:none;margin:0}.evx-section-title-dark i{margin-right:0}
  .evx-sectors{padding:38px 16px 44px}.evx-sector-grid{grid-template-columns:1fr;gap:10px}.evx-sector-main{grid-column:auto;grid-template-columns:1fr;grid-template-rows:230px auto}.evx-sector-card{grid-template-columns:40% 1fr;min-height:145px}.evx-sector-main img{min-height:0}.evx-sector-card>div{padding:14px}.evx-sector-card h3{font-size:14px}.evx-sector-main h3{font-size:17px}.evx-sector-icon{width:34px;height:34px;top:12px;left:12px}
  .evx-trust{grid-template-columns:1fr}.evx-trust-photo{height:300px}.evx-trust-photo:after{background:linear-gradient(0deg,#071116 0%,rgba(7,17,22,.08) 46%)}.evx-trust-copy{padding:30px 20px 38px}.evx-trust-copy h2{font-size:24px}.evx-trust-copy p{font-size:11px}
  .evx-final-cta{aspect-ratio:auto;min-height:560px;max-height:none;align-items:flex-end}.evx-final-cta>img{width:auto;max-width:none;height:100%;object-fit:contain;object-position:right center}.evx-final-overlay{background:linear-gradient(180deg,rgba(4,10,13,.06) 0%,rgba(4,10,13,.20) 36%,rgba(4,10,13,.80) 72%,rgba(4,10,13,.94) 100%)}.evx-final-copy{padding:0 20px 34px;max-width:100%}.evx-final-copy h2{font-size:34px}.evx-final-copy p{font-size:11px}.evx-final-copy .evx-btn{width:100%}
  .evx-footer{grid-template-columns:1fr;padding:26px 20px;text-align:center;gap:18px}.evx-footer-brand{justify-self:center}.evx-footer nav{justify-content:center;gap:15px;flex-wrap:wrap}.evx-social{justify-content:center}.evx-footer small{text-align:center}

  .login-page{align-items:flex-end;padding:0;min-height:100svh;overflow:auto}.login-page:before{background:linear-gradient(180deg,rgba(5,12,15,.10) 0%,rgba(5,12,15,.12) 34%,rgba(5,12,15,.72) 61%,rgba(5,12,15,.96) 100%),url('/assets/img/login-persian-architecture.webp') center 35%/cover no-repeat}.login-photo{display:none}.login-card{width:calc(100% - 24px);margin:38svh 12px 12px;padding:22px 18px 18px;border-radius:22px;background:rgba(8,18,23,.92)}.login-card>.logo-switch img{width:172px}.login-theme{left:16px;top:16px}.login-card h2{font-size:23px;margin:16px 0 4px}.login-card>p{font-size:11px;margin-bottom:13px}.login-card input{height:43px}.login-links-row{gap:8px}.subtle-link,.back-home{font-size:10px}
  :root[data-theme="light"] .login-page:before{background:linear-gradient(180deg,rgba(246,240,231,.04) 0%,rgba(246,240,231,.08) 34%,rgba(246,240,231,.72) 61%,rgba(246,240,231,.96) 100%),url('/assets/img/login-persian-architecture.webp') center 35%/cover no-repeat}:root[data-theme="light"] .login-card{background:rgba(255,253,249,.93)}

  .app-main{padding:0 12px 28px}.topbar{height:68px;margin-bottom:16px}.topbar-title small{display:none}.topbar h2{font-size:15px;max-width:165px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.secure-pill{display:none}.mobile-brand{display:inline-flex}.mobile-brand .logo-switch img{width:110px}.app-menu-toggle{width:34px;height:34px}
  .sidebar{width:min(300px,86vw);padding:16px 13px 12px}.sidebar-head .logo-switch img{width:165px}.sidebar-nav a,.nav-logout{min-height:44px;font-size:12px}
  .welcome-panel{min-height:180px;padding:22px}.welcome-panel h1{font-size:23px}.welcome-panel p{font-size:10px}.metric-grid,.metric-grid.admin{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.metric{min-height:84px;padding:12px}.metric strong{font-size:13px}.metric span{font-size:9px}.metric .ui-icon{width:20px;height:20px}
  .project-grid,.project-grid.large,.project-grid.dashboard-five{grid-template-columns:1fr}.project-cover-wrap{height:205px}.project-body{padding:15px}.project-body h3{font-size:16px}.recent-strip{grid-template-columns:1fr}.page-intro{align-items:flex-start;flex-direction:column}.page-intro h1{font-size:22px}.filter-bar-head{flex-direction:column}.filter-actions-inline{width:100%;justify-content:space-between}.filter-grid{grid-template-columns:1fr}.deal-hero{border-radius:15px}.deal-hero img{height:220px}.deal-hero>div{padding:18px}.deal-hero h1{font-size:23px}.deal-metrics{grid-template-columns:repeat(2,1fr);gap:8px}.deal-metrics>div{padding:12px}.deal-tabs button{padding:9px 10px;font-size:10px}.deal-copy{padding:15px}.info-cards,.document-grid{grid-template-columns:1fr}.commit-box{padding:15px}.profile-layout{grid-template-columns:1fr}.profile-summary{padding:17px}.avatar.huge{width:68px;height:68px}.form-grid{grid-template-columns:1fr}.form-grid .full{grid-column:auto}.permission-grid,.profile-read-grid{grid-template-columns:1fr}.profile-read-grid .full{grid-column:auto}.table-card{padding:12px;overflow:auto}.table-card table{min-width:720px}.settings-grid{grid-template-columns:1fr}.document-row{align-items:flex-start}.document-row .action-row{flex-direction:column}.section-head h2{font-size:16px}
}
@media(max-width:390px){
  .evx-login{font-size:9px;padding:6px 8px}.evx-brand .logo-switch img{width:132px}.evx-nav-actions{gap:4px}.evx-hero-actions{grid-template-columns:1fr}.evx-hero-copy h1{font-size:32px}.evx-final-copy h2{font-size:30px}.metric-grid,.metric-grid.admin{grid-template-columns:1fr}.mobile-brand{display:none}.topbar h2{max-width:180px}
}

/* final visual safeguards */
.evx-hero-copy h1{color:#fffdf8}.evx-hero-copy p,.evx-hero-tags{color:#edf0ed}
.evx-final-cta>img{z-index:0}.evx-final-overlay{z-index:1}.evx-final-copy{position:relative;z-index:2}
.status.open{color:#d7ae55;border-color:rgba(213,167,68,.30);background:rgba(213,167,68,.07)}
.status.funded{color:#6fc493;border-color:rgba(71,183,123,.30);background:rgba(71,183,123,.07)}
.status.cancelled{color:var(--muted);border-color:var(--line);background:transparent}
.modal-card,.profile-card{border:1px solid var(--line);border-radius:15px;background:var(--surface);box-shadow:var(--shadow)}
@media(max-width:760px){
  .evx-final-cta>img{inset:auto 0 0 auto;width:auto;height:100%;max-width:none;object-fit:contain;object-position:right center}
}

/* approved landing composition: logo/text/image placement */
@media(min-width:761px){
  .evx-nav{direction:ltr}.evx-brand{grid-column:1;direction:rtl}.evx-desktop-nav{grid-column:2;direction:rtl}.evx-nav-actions{grid-column:3;direction:rtl}
  .evx-hero-copy{margin-right:auto;margin-left:max(7vw,70px)}
  .evx-sector-grid{direction:ltr}.evx-sector-card>div{direction:rtl}
  .evx-trust{direction:ltr}.evx-trust-copy{direction:rtl}
  .evx-final-cta{direction:ltr}.evx-final-copy{direction:rtl}
  .evx-footer{direction:ltr}.evx-footer nav,.evx-footer small{direction:rtl}
}
@media(min-width:761px) and (max-width:1300px){.evx-hero-copy{margin-right:auto;margin-left:6vw}}
@media(min-width:761px) and (max-width:1100px){.evx-hero-copy{margin-right:auto;margin-left:5vw}}

/* explicit light-surface guarantees */
:root[data-theme="light"] .project-card{background:#fffdf9!important;color:#172126!important;border-color:#d9d0c2!important}
:root[data-theme="light"] .project-card .project-body{background:#fffdf9!important;color:#172126!important}
:root[data-theme="light"] .project-card h3,:root[data-theme="light"] .project-card b{color:#172126!important}
:root[data-theme="light"] .project-card p,:root[data-theme="light"] .project-card small,:root[data-theme="light"] .project-card .between{color:#647176!important}
.evx-final-copy h2{color:#fffdf8}.evx-final-copy p{color:#edf0ed}.evx-final-copy .evx-kicker{color:#f0cf78}
.project-card{transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}
@media(max-width:760px){
  .evx-hero-picture{height:75vw;min-height:270px;max-height:330px}
  .evx-hero-grade{height:75vw;min-height:270px;max-height:330px}
}
