*{box-sizing:border-box}
:root{
  --navy:#0d2b5a;--blue:#1687f8;--blue-soft:#e8f4ff;--green:#28c779;
  --orange:#f5a623;--purple:#6678e9;--bg:#f5f9ff;--text:#17345f;--muted:#6d82a2;
  --white:#fff;--shadow:0 12px 32px rgba(35,88,145,.10);--radius:28px
}
html{scroll-behavior:smooth}
body{margin:0;background:var(--bg);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text)}
button,a{font:inherit}
button{border:0;cursor:pointer}
.app-shell{min-height:100vh;max-width:1180px;margin:auto;padding-bottom:94px}
.topbar{height:92px;display:flex;align-items:center;gap:20px;padding:18px 24px;position:sticky;top:0;z-index:20;background:rgba(245,249,255,.92);backdrop-filter:blur(14px)}
.icon-btn{width:58px;height:58px;border-radius:50%;background:#fff;box-shadow:0 8px 25px rgba(45,91,135,.12);display:grid;place-items:center;color:var(--navy);position:relative}
.menu-btn{gap:5px;padding:17px}.menu-btn span{display:block;width:27px;height:3px;background:var(--navy);border-radius:4px}
.brand{flex:1}.brand h1{font-size:24px;margin:0;font-weight:800;letter-spacing:-.6px}.brand p{margin:4px 0 0;color:var(--muted);font-size:14px}
.notification-btn{font-size:27px}.bell{transform:rotate(180deg);display:block}.badge{position:absolute;right:-1px;top:-1px;background:#f04438;color:white;width:26px;height:26px;border-radius:50%;font-size:13px;display:grid;place-items:center;font-weight:800;border:3px solid var(--bg)}
main{padding:6px 24px 30px}
.hero-card{min-height:340px;border-radius:30px;overflow:hidden;background:linear-gradient(112deg,#e9f6ff 0%,#cceaff 55%,#e9f7ff 100%);position:relative;display:flex;box-shadow:var(--shadow);margin:8px 0 22px}
.hero-copy{padding:48px 0 32px 52px;width:50%;position:relative;z-index:3}.eyebrow{font-size:11px;letter-spacing:1.5px;font-weight:800;color:#3e85c8}.hero-copy h2{font-size:42px;line-height:1.08;margin:13px 0 18px;letter-spacing:-1.8px}.hero-copy p{font-size:18px;line-height:1.65;max-width:410px;margin:0;color:#315784}.slider-dots{display:flex;gap:10px;margin-top:30px}.slider-dots i{width:20px;height:6px;border-radius:5px;background:#b9dcfa}.slider-dots i.active{width:43px;background:var(--blue)}
.hero-art{position:absolute;inset:0 0 0 45%;overflow:hidden}.sun{position:absolute;width:210px;height:210px;background:rgba(255,255,255,.35);border-radius:50%;right:18%;top:20px}.city{position:absolute;bottom:0;background:rgba(107,175,230,.22);width:80px}.city-1{height:140px;right:9%}.city-2{height:100px;right:25%;width:65px}.city-3{height:180px;right:38%;width:60px}
.building{position:absolute;bottom:0;right:18%;width:180px;height:190px;background:rgba(255,255,255,.68);border:6px solid rgba(54,130,193,.28);transform:skewY(0deg);box-shadow:inset 0 0 0 5px rgba(96,157,202,.12)}.floor{height:38px;border-bottom:5px solid rgba(54,130,193,.3);position:relative}.floor:before,.floor:after{content:"";position:absolute;top:9px;width:22px;height:18px;background:#a9d8f5}.floor:before{left:17px}.floor:after{right:17px}
.crane{position:absolute;right:10%;bottom:82px;width:180px;height:215px}.mast{position:absolute;right:48px;bottom:0;width:9px;height:205px;background:#f2a51b;box-shadow:0 0 0 2px #df9010}.boom{position:absolute;right:47px;top:0;width:160px;height:7px;background:#f2a51b;transform-origin:right center;transform:rotate(-3deg)}.counter{position:absolute;right:195px;top:-2px;width:35px;height:18px;background:#e69513}.cable{position:absolute;right:70px;top:5px;height:150px;width:1px;background:#6d7780}
.tree{position:absolute;width:35px;height:35px;border-radius:50%;background:#6bc65e;bottom:15px}.t1{right:6%;}.t2{right:28%;width:42px;height:42px}
.quick-actions{display:grid;gap:18px}.action-card{min-height:150px;border-radius:28px;padding:24px 26px;display:flex;align-items:center;text-align:left;position:relative;overflow:hidden;transition:.2s;box-shadow:0 8px 25px rgba(45,91,135,.06)}.action-card:hover{transform:translateY(-2px)}.action-card.blue{background:linear-gradient(110deg,#dff1ff,#cbe7ff)}.action-card.green{background:linear-gradient(110deg,#e2f9e9,#d0f6da)}.action-card.orange{background:linear-gradient(110deg,#fff0cf,#ffe3b2)}.action-icon{width:120px;height:110px;border-radius:26px;display:grid;place-items:center;font-weight:800;font-size:55px;flex:none;background:rgba(255,255,255,.48);box-shadow:inset 0 0 0 1px rgba(255,255,255,.5)}.document{color:#1687f8}.chart{color:#22be72}.excavator{color:#e99812}.action-text{padding-left:28px}.action-text h3{margin:0 0 8px;font-size:25px;letter-spacing:-.5px}.action-text p{margin:0;font-size:16px;line-height:1.5;color:#345477}.arrow{margin-left:auto;width:54px;height:54px;border-radius:50%;background:#fff;display:grid;place-items:center;font-size:42px;line-height:1;box-shadow:0 5px 16px rgba(60,95,130,.12)}
.summary-card,.mobile-projects,.equipment-section{margin-top:22px;background:#fff;border:1px solid #e2ebf4;border-radius:28px;padding:24px;box-shadow:0 8px 25px rgba(45,91,135,.05)}.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}.section-heading h2{margin:0;font-size:20px}.section-heading button{background:none;color:var(--blue);font-weight:700}
.summary-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.stat-card{min-height:125px;border-radius:22px;background:#f7fbff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}.stat-icon{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;margin-bottom:8px;font-weight:800}.blue-icon{background:#e5f2ff;color:#3d96ef}.green-icon{background:#e5faef;color:#2ac77b}.orange-icon{background:#fff3d9;color:#f2a517}.purple-icon{background:#edf0ff;color:#6678e9}.stat-card strong{font-size:27px}.stat-card small{color:var(--muted);margin-top:2px}
.mobile-projects,.equipment-section{display:block}.project-list{display:grid;gap:12px}.project-item{display:flex;align-items:center;gap:14px;padding:14px;border:1px solid #e8eef5;border-radius:20px}.project-avatar{width:48px;height:48px;border-radius:15px;display:grid;place-items:center;font-weight:800}.blue-bg{background:#e8f4ff;color:#1687f8}.green-bg{background:#e7faee;color:#25bd72}.project-info{flex:1;min-width:0}.project-info h3{margin:0;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.project-info p{margin:4px 0 10px;color:var(--muted);font-size:12px}.progress-row{display:flex;justify-content:space-between;font-size:10px;color:var(--muted)}.progress-row b{color:var(--text)}.progress{height:6px;background:#edf2f7;border-radius:10px;margin-top:4px;overflow:hidden}.progress span{height:100%;display:block;background:var(--blue);border-radius:10px}.status{font-size:10px;padding:7px 9px;border-radius:10px;font-weight:700}.status.running{background:#edf5ff;color:#1687f8}.status.done{background:#e8faef;color:#1db36b}
.equipment-mini{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.equipment-mini>div{border:1px solid #e8eef5;border-radius:18px;padding:15px;display:grid;grid-template-columns:42px 1fr;align-items:center}.eq-symbol{grid-row:span 2;font-size:26px}.equipment-mini strong{font-size:14px}.equipment-mini small{color:var(--muted);font-size:11px}
.bottom-nav{position:fixed;z-index:30;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,1180px);height:78px;background:rgba(255,255,255,.96);backdrop-filter:blur(18px);border-top:1px solid #e5ecf4;display:grid;grid-template-columns:repeat(5,1fr);padding:7px max(10px,env(safe-area-inset-left)) calc(7px + env(safe-area-inset-bottom));box-shadow:0 -5px 25px rgba(30,70,110,.08)}.nav-item{text-decoration:none;color:#627795;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-radius:15px}.nav-item span{font-size:25px;line-height:1}.nav-item small{font-size:11px}.nav-item.active{color:var(--blue)}
.side-menu{position:fixed;z-index:50;top:0;left:-310px;width:290px;height:100%;background:#fff;padding:24px;box-shadow:15px 0 35px rgba(20,50,90,.16);transition:.25s}.side-menu.open{left:0}.side-header{display:flex;justify-content:space-between;align-items:center;font-size:19px;margin-bottom:30px}.close-btn{background:#f1f6fb;width:38px;height:38px;border-radius:50%;font-size:26px}.side-menu nav{display:grid;gap:8px}.side-menu a{padding:15px;border-radius:14px;text-decoration:none;color:var(--text);font-weight:700}.side-menu a.active,.side-menu a:hover{background:#eaf5ff;color:var(--blue)}.side-menu a span{margin-left:12px}.overlay{display:none;position:fixed;inset:0;background:rgba(12,35,65,.35);z-index:40}.overlay.show{display:block}
.toast{position:fixed;z-index:100;left:50%;bottom:95px;transform:translate(-50%,20px);background:#17345f;color:#fff;padding:13px 18px;border-radius:14px;font-size:13px;opacity:0;pointer-events:none;transition:.25s;white-space:nowrap}.toast.show{opacity:1;transform:translate(-50%,0)}
@media (min-width:800px){.quick-actions{grid-template-columns:repeat(3,1fr)}.action-card{min-height:210px;display:grid;grid-template-columns:1fr;gap:10px}.action-icon{width:80px;height:70px;font-size:35px}.action-text{padding-left:0}.arrow{position:absolute;right:20px;top:20px}.action-text h3{font-size:21px}.action-text p{font-size:13px}.bottom-nav{display:none}}
@media (max-width:700px){.app-shell{max-width:520px}.topbar{height:84px;padding:14px 16px}.icon-btn{width:52px;height:52px}.brand h1{font-size:21px}.brand p{font-size:12px}main{padding:2px 14px 24px}.hero-card{min-height:350px;margin-top:8px}.hero-copy{width:70%;padding:34px 0 28px 28px}.hero-copy h2{font-size:30px}.hero-copy p{font-size:14px;line-height:1.55}.hero-art{left:35%}.building{right:-6%;width:145px;height:150px}.crane{right:-5%;transform:scale(.8);transform-origin:bottom right}.summary-card,.mobile-projects,.equipment-section{padding:18px;border-radius:24px}.summary-grid{grid-template-columns:repeat(2,1fr)}.stat-card{min-height:115px}.equipment-mini{grid-template-columns:1fr}.action-card{min-height:136px;padding:18px}.action-icon{width:94px;height:92px}.action-text{padding-left:18px}.action-text h3{font-size:19px}.action-text p{font-size:13px}.arrow{width:45px;height:45px;font-size:34px}.status{display:none}}
@media (max-width:380px){.hero-copy{padding-left:22px}.hero-copy h2{font-size:27px}.action-icon{width:78px;height:78px;font-size:38px}.action-text{padding-left:13px}.action-text h3{font-size:17px}.action-text p{font-size:12px}.arrow{width:40px;height:40px}}


/* Revised mobile-first layout: hero/banner removed to save screen space. */
.hero-card { display: none !important; }
main { padding-top: 0; }
.quick-actions { margin-top: 8px; }
@media (max-width:700px) {
  .quick-actions { margin-top: 4px; }
}

.language-wrap{position:relative}
.language-btn{height:42px;padding:0 11px;border-radius:14px;background:#fff;color:#17345f;display:flex;align-items:center;gap:5px;font-size:12px;font-weight:800;box-shadow:0 7px 20px rgba(45,91,135,.10)}
.globe{font-size:18px;color:#1687f8}
.chevron{font-size:14px;color:#6d82a2}
.language-menu{display:none;position:absolute;right:0;top:49px;width:145px;background:#fff;border:1px solid #e4ecf4;border-radius:15px;padding:6px;box-shadow:0 14px 35px rgba(25,65,105,.16);z-index:60}
.language-menu.open{display:grid}
.language-option{background:#fff;border-radius:10px;padding:10px;text-align:left;color:#17345f;font-size:12px;display:flex;gap:8px;align-items:center}
.language-option:hover,.language-option.active{background:#edf6ff;color:#1687f8}
@media(max-width:380px){.language-btn{padding:0 8px}.language-btn .chevron{display:none}.brand p{font-size:11px}}


.project-loading{
  padding:18px 8px;
  text-align:center;
  color:#64748b;
  font-size:14px;
}

.project-item{position:relative;padding-right:132px;cursor:pointer}
.project-item:hover{box-shadow:0 8px 24px rgba(27,75,130,.08)}
.project-actions{position:absolute;right:18px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:4px;z-index:2}
.project-action{border:0;background:transparent;padding:0;font-size:13px;font-weight:700;cursor:pointer;line-height:1.15}
.project-action.edit{color:#1557ff}.project-action.delete{color:#e11d2e}
.project-action:hover{text-decoration:underline}
.project-item .status{right:48px}
.modal{position:fixed;inset:0;background:rgba(12,37,67,.38);display:none;align-items:center;justify-content:center;padding:18px;z-index:1000;backdrop-filter:blur(3px)}
.modal.show{display:flex}
.modal-card{width:min(680px,100%);max-height:90vh;overflow:auto;background:#fff;border-radius:22px;padding:22px;box-shadow:0 20px 60px rgba(10,45,90,.22)}
.modal-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:18px}.modal-head h2{margin:0;color:#123b70}.modal-head p{margin:5px 0 0;color:#7a8da7;font-size:13px}.modal-close{border:0;background:#eef5fc;border-radius:50%;width:36px;height:36px;font-size:24px;color:#47617f;cursor:pointer}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.form-grid label{display:flex;flex-direction:column;gap:6px;color:#24466f;font-size:12px;font-weight:700}.form-grid label.full{grid-column:1/-1}.form-grid input,.form-grid select,.form-grid textarea{width:100%;box-sizing:border-box;border:1px solid #dbe7f3;border-radius:10px;padding:11px 12px;font:inherit;color:#173b6d;background:#fbfdff}.form-grid textarea{resize:vertical}.modal-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.btn-cancel,.btn-save{border:0;border-radius:11px;padding:11px 16px;font-weight:700;cursor:pointer}.btn-cancel{background:#edf3f8;color:#48627f}.btn-save{background:#1688f8;color:#fff}.btn-save:disabled{opacity:.6;cursor:not-allowed}
@media(max-width:600px){.project-item{padding-right:92px}.project-actions{right:12px}.project-action{font-size:12px}.project-item .status{right:12px;top:12px;transform:none}.project-info{padding-top:18px}.form-grid{grid-template-columns:1fr}.form-grid label.full{grid-column:auto}.modal-card{padding:18px;border-radius:18px}}
