:root{--deep:#0a3029;--deep2:#08251f;--green:#0eaa72;--green2:#087a54;--gold:#d4af37;--ink:#17231f;--muted:#6d7b76;--line:#dce7e2;--soft:#f3f7f5;--white:#fff;--shadow:0 18px 55px rgba(12,46,40,.11)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#f5f8f7;font-family:Cairo,Arial,sans-serif}button,input,select,textarea{font:inherit}button,a{transition:.2s}button{cursor:pointer}.hidden{display:none!important}.brand{display:flex;align-items:center;gap:13px;color:inherit;text-decoration:none}.brand img{width:58px;height:58px;object-fit:contain;background:#fff;border-radius:15px;padding:5px}.brand span{display:flex;flex-direction:column}.brand b{font:800 1.45rem Manrope,sans-serif;letter-spacing:2px}.brand small{font:600 .65rem Manrope,sans-serif;letter-spacing:.5px}
.auth-shell{min-height:100vh;display:grid;grid-template-columns:minmax(430px,46%) 1fr;background:#fff}.auth-brand{position:relative;min-height:100vh;padding:45px clamp(35px,5vw,78px);display:flex;flex-direction:column;color:#fff;background:linear-gradient(145deg,rgba(5,31,25,.97),rgba(7,63,49,.88)),url("../images/elevator-office.jpg") center/cover}.auth-copy{margin:auto 0;max-width:560px}.eyebrow,.step-label,.page-kicker{display:block;color:var(--green);font:800 .7rem Manrope,Cairo,sans-serif;letter-spacing:1.5px;text-transform:uppercase}.auth-copy h1{font-size:clamp(2.4rem,4.7vw,4.7rem);line-height:1.12;margin:20px 0}.auth-copy p{color:#cfe0da;line-height:1.9;max-width:530px}.auth-features{display:grid;gap:14px;margin-top:32px}.auth-features span:before{content:"✓";display:inline-grid;place-items:center;width:25px;height:25px;margin-left:10px;border:1px solid rgba(255,255,255,.25);border-radius:50%;color:#7ce2b8}.auth-contact{font-size:.75rem;color:#b5ccc3}.auth-contact a{color:#fff;text-decoration:none}.auth-panel{display:grid;place-items:center;padding:35px}.auth-card{width:min(520px,100%)}.mobile-logo{display:none}.auth-card h2{font-size:2rem;margin:12px 0 5px;color:var(--deep)}.muted{color:var(--muted);line-height:1.8;margin:0 0 27px;font-size:.88rem}.auth-card label,.request-form label,.account-form label{display:block;margin-bottom:16px}.auth-card label>span,.request-form label>span,.account-form label>span{display:block;font-weight:700;font-size:.78rem;margin-bottom:7px}.auth-card input,.request-form input,.request-form select,.request-form textarea,.account-form input,.table-toolbar input,.table-toolbar select{width:100%;border:1px solid #ccd9d4;border-radius:12px;background:#fbfdfc;padding:13px 14px;outline:0}.auth-card input:focus,.request-form input:focus,.request-form select:focus,.request-form textarea:focus,.account-form input:focus{border-color:var(--green);box-shadow:0 0 0 4px rgba(14,170,114,.1)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.phone-input{display:flex;direction:ltr}.phone-input b{display:grid;place-items:center;padding:0 15px;border:1px solid #ccd9d4;border-right:0;background:var(--soft);border-radius:12px 0 0 12px}.phone-input input{border-radius:0 12px 12px 0}.check{display:flex!important;gap:9px;align-items:flex-start;color:var(--muted);font-size:.72rem;line-height:1.7}.check input{width:auto;margin-top:5px}.check span{font-weight:500!important;margin:0!important}.primary{border:0;background:linear-gradient(135deg,var(--green),var(--green2));color:#fff;border-radius:12px;width:100%;padding:14px 20px;font-weight:800;box-shadow:0 10px 22px rgba(14,170,114,.18)}.primary:hover{transform:translateY(-1px);box-shadow:0 13px 25px rgba(14,170,114,.25)}.form-message{min-height:22px;text-align:center;font-size:.75rem;color:var(--green2)}.form-message.error{color:#b42318}.switch{text-align:center;color:var(--muted);font-size:.8rem}.switch button,.back-link,.resend{border:0;background:none;color:var(--green2);font-weight:800}.back-link{padding:0;margin-bottom:25px}.resend{display:block;margin:auto}.otp{text-align:center;letter-spacing:12px;font:800 1.4rem Manrope,sans-serif;direction:ltr}
.portal{min-height:100vh}.sidebar{position:fixed;right:0;top:0;bottom:0;width:268px;padding:26px 18px;background:var(--deep2);color:#fff;z-index:50;display:flex;flex-direction:column}.portal-brand{padding:0 8px 25px;border-bottom:1px solid rgba(255,255,255,.1)}.portal-brand img{width:50px;height:50px}.sidebar nav{display:grid;gap:7px;margin-top:25px}.sidebar nav button{position:relative;display:flex;align-items:center;gap:13px;border:0;border-radius:12px;background:transparent;color:#b9cec6;padding:12px 14px;text-align:right}.sidebar nav button:hover,.sidebar nav button.active{background:rgba(14,170,114,.17);color:#fff}.sidebar nav i{font-style:normal;width:27px;font:700 1.2rem Manrope}.sidebar nav em{margin-right:auto;font-style:normal;background:var(--gold);color:#23352f;border-radius:20px;min-width:22px;padding:2px 6px;text-align:center;font-size:.65rem}.sidebar-help{margin-top:auto;padding:17px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:rgba(255,255,255,.05);display:grid;gap:5px}.sidebar-help span{font-size:.7rem;color:#a8beb6}.sidebar-help a{margin-top:8px;color:#6fe0b3;font-size:.72rem;font-weight:800;text-decoration:none}.workspace{margin-right:268px;min-height:100vh}.topbar{height:91px;padding:0 34px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:rgba(255,255,255,.95);position:sticky;top:0;z-index:40}.topbar h2{margin:2px 0 0;font-size:1.2rem}.top-actions{display:flex;align-items:center;gap:14px}.icon-button{position:relative;width:42px;height:42px;border:1px solid var(--line);border-radius:12px;background:#fff}.icon-button b{position:absolute;top:-5px;left:-4px;width:18px;height:18px;border-radius:50%;background:#d33;color:#fff;font-size:.55rem;display:grid;place-items:center}.user-chip{display:flex;align-items:center;gap:10px}.user-chip>span{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:var(--deep);color:#fff;font-weight:800}.user-chip div{display:flex;flex-direction:column}.user-chip b{font-size:.78rem}.user-chip small{color:var(--muted);font-size:.65rem}.logout{border:0;background:var(--soft);border-radius:10px;padding:9px 12px;color:var(--muted);font-size:.72rem}.menu-toggle{display:none;border:0;background:none;font-size:1.4rem}.view{display:none;padding:30px 34px 50px}.view.active{display:block}.welcome{min-height:260px;border-radius:24px;overflow:hidden;background:var(--deep);color:#fff;display:grid;grid-template-columns:1.2fr .8fr;box-shadow:var(--shadow)}.welcome>div{padding:40px}.welcome h1{font-size:2.3rem;line-height:1.25;margin:13px 0 8px}.welcome p{color:#c9ddd5}.welcome img{width:100%;height:100%;object-fit:cover;mask-image:linear-gradient(to left,#000,transparent)}.light-button{margin-top:15px;border:0;background:#fff;color:var(--deep);border-radius:10px;padding:11px 18px;font-weight:800}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:20px 0}.stats-grid article{display:flex;gap:13px;background:#fff;border:1px solid var(--line);border-radius:17px;padding:19px;box-shadow:0 8px 25px rgba(12,46,40,.04)}.stats-grid article div{display:flex;flex-direction:column}.stats-grid small{color:var(--muted);font-size:.68rem}.stats-grid b{font:800 1.8rem Manrope,sans-serif;color:var(--deep)}.stats-grid em{font-style:normal;font-size:.58rem;color:#89958f}.stat-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:12px;font-weight:800}.stat-icon.green{background:#e1f6ed;color:#07875b}.stat-icon.gold{background:#fbf4dd;color:#9a7610}.stat-icon.blue{background:#e6f1ff;color:#2668aa}.stat-icon.violet{background:#f0eaff;color:#6d4eb0}.content-grid{display:grid;grid-template-columns:1.55fr .75fr;gap:18px}.panel{background:#fff;border:1px solid var(--line);border-radius:19px;padding:23px;box-shadow:0 8px 30px rgba(12,46,40,.04)}.panel-head{display:flex;justify-content:space-between;align-items:center}.panel h3{margin:5px 0 18px;color:var(--deep)}.service-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.service-grid button{display:grid;grid-template-columns:44px 1fr;text-align:right;column-gap:11px;border:1px solid var(--line);background:#fbfdfc;border-radius:13px;padding:15px;color:var(--ink)}.service-grid button:hover{border-color:var(--green);transform:translateY(-2px)}.service-grid button span{grid-row:1/3;width:43px;height:43px;border-radius:11px;background:#e2f6ed;color:var(--green2);display:grid;place-items:center;font-size:1.2rem}.service-grid button b{font-size:.78rem}.service-grid button small{color:var(--muted);font-size:.62rem}.profile-card{background:linear-gradient(150deg,#fff,#edf7f2)}.profile-visual{height:105px;border-radius:14px;padding:16px;display:flex;align-items:end;justify-content:space-between;background:linear-gradient(140deg,rgba(4,36,28,.96),rgba(8,85,63,.83)),url("../images/project_02.jpg") center/cover;color:#fff;font:700 .55rem Manrope}.profile-visual img{width:53px;height:53px;object-fit:contain;background:#fff;border-radius:10px;padding:4px}.profile-card p{font-size:.72rem;color:var(--muted);line-height:1.7}.profile-card a{display:inline-block;color:var(--green2);font-size:.75rem;font-weight:800;text-decoration:none}.activity-panel{margin-top:18px}.empty-state{text-align:center;padding:42px 20px;color:var(--muted)}.empty-state>span{display:grid;place-items:center;margin:0 auto 12px;width:52px;height:52px;border-radius:50%;background:var(--soft);color:var(--green2);font-size:1.4rem}.empty-state b{display:block;color:var(--deep)}.empty-state p{font-size:.75rem}.empty-state button{border:0;background:none;color:var(--green2);font-weight:800;font-size:.75rem}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:22px}.section-head h1{margin:6px 0;font-size:1.9rem;color:var(--deep)}.section-head p{margin:0;color:var(--muted);font-size:.78rem}.compact{width:auto;padding:11px 18px}.table-toolbar{display:flex;gap:12px}.table-toolbar input{flex:1}.table-toolbar select{width:190px}.compact-empty{padding:65px 20px}.upload-zone{border:2px dashed #b9d5ca;text-align:center;cursor:pointer}.upload-zone:hover{border-color:var(--green);background:#f8fcfa}.upload-zone input{display:none}.upload-zone>span{font-size:2rem;color:var(--green)}.upload-zone h3{margin:8px 0}.upload-zone p{font-size:.7rem;color:var(--muted)}.file-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:18px}.file-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;display:flex;gap:12px;align-items:center}.file-card span{width:40px;height:40px;display:grid;place-items:center;background:var(--soft);border-radius:10px;color:var(--green2)}.file-card div{min-width:0}.file-card b{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:.72rem}.file-card small{color:var(--muted);font-size:.62rem}.account-form{max-width:820px}
dialog{width:min(760px,calc(100% - 28px));border:0;border-radius:22px;padding:0;box-shadow:0 25px 90px rgba(0,0,0,.25)}dialog::backdrop{background:rgba(4,25,20,.7);backdrop-filter:blur(3px)}.request-form{padding:27px}.dialog-head{display:flex;justify-content:space-between;align-items:start;margin-bottom:25px}.dialog-head h2{margin:5px 0}.dialog-head button{border:0;background:var(--soft);width:38px;height:38px;border-radius:10px;font-size:1.3rem}.request-form textarea{resize:vertical}.dialog-upload{padding:15px;border:1px dashed #b9d5ca;border-radius:12px}.dialog-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:20px}.secondary{border:1px solid var(--line);background:#fff;border-radius:11px;padding:10px 18px}
@media(max-width:1100px){.stats-grid{grid-template-columns:1fr 1fr}.content-grid{grid-template-columns:1fr}.file-grid{grid-template-columns:1fr 1fr}}@media(max-width:850px){.auth-shell{grid-template-columns:1fr}.auth-brand{display:none}.auth-panel{min-height:100vh;padding:25px}.mobile-logo{display:block;margin-bottom:22px}.mobile-logo img{width:68px}.sidebar{transform:translateX(110%);transition:.25s}.sidebar.open{transform:none}.workspace{margin-right:0}.menu-toggle{display:block}.topbar{padding:0 18px}.topbar>div:first-of-type{margin-left:auto;margin-right:12px}.view{padding:22px 16px}.welcome{grid-template-columns:1fr}.welcome>div{padding:28px}.welcome img{display:none}.user-chip div,.logout{display:none}}@media(max-width:560px){.form-grid,.stats-grid,.service-grid,.file-grid{grid-template-columns:1fr}.topbar{height:76px}.topbar h2{font-size:1rem}.icon-button{display:none}.welcome h1{font-size:1.7rem}.section-head{align-items:start;gap:15px}.section-head .primary{white-space:nowrap}.table-toolbar{flex-direction:column}.table-toolbar select{width:100%}.request-form{padding:20px}.dialog-actions{display:grid;grid-template-columns:1fr 1fr}.dialog-actions button{width:100%}}

/* English portal alignment and refined authentication layout */
.auth-panel{padding:clamp(28px,5vw,72px);background:linear-gradient(145deg,#f8fbfa,#fff)}
.auth-card{width:min(560px,100%);padding:clamp(25px,3vw,40px);border:1px solid var(--line);border-radius:22px;background:#fff;box-shadow:0 22px 65px rgba(12,46,40,.09)}
.sidebar{left:0;right:auto}
.workspace{margin-left:268px;margin-right:0}
.sidebar nav button,.service-grid button{text-align:left}
.sidebar nav em{margin-left:auto;margin-right:0}
@media(max-width:850px){.sidebar{transform:translateX(-110%)}.sidebar.open{transform:none}.workspace{margin-left:0;margin-right:0}.auth-card{padding:26px 22px}}
