*{box-sizing:border-box}body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#f4f8f7;color:#10273a;font-size:14px}button,input,select{font:inherit}button{cursor:pointer}#side{position:fixed;left:0;top:0;bottom:0;width:232px;background:linear-gradient(180deg,#00655f,#00534f);color:#fff;z-index:30;overflow:auto}.brand{height:122px;background:#fff;color:#111;text-align:center;padding:22px 10px 12px;border-right:1px solid #ddd}.brandName{font-size:38px;letter-spacing:1px;font-weight:700}.brandName span{color:#e31d2b}.brand small{font-size:9px}.brand:before{content:'▲';display:block;color:#e31d2b;font-size:25px;line-height:20px}.asideArt{display:none}nav{padding:14px 12px}nav button{display:block;width:100%;border:0;background:transparent;color:#fff;text-align:left;padding:15px 18px;margin-bottom:4px;border-radius:6px;font-size:16px}nav button.active{background:linear-gradient(90deg,#ffd64a,#ffc33b);color:#171717;font-weight:700;box-shadow:0 0 0 1px #f1b900 inset}main{margin-left:232px;min-height:100vh}header{height:60px;position:absolute;right:0;top:0;z-index:10;display:flex;align-items:center;justify-content:flex-end;padding:0 18px;gap:18px;background:rgba(255,255,255,.9);border-radius:0 0 0 12px}#menu{position:fixed;left:240px;top:12px;z-index:40;border:0;border-radius:6px;background:#e7e8d7;padding:8px 10px;font-size:22px}.headerSpacer{display:none}.notify{font-size:20px;position:relative}.notify i{position:absolute;top:-8px;right:-8px;background:#e7272f;color:#fff;font-style:normal;font-size:10px;border-radius:20px;padding:3px 5px}.profile{display:flex;align-items:center;gap:10px}.profile .avatar{width:38px;height:38px;border-radius:50%;background:#dbe7e9;display:grid;place-items:center}.profile small{display:block;color:#60717c;margin-top:3px}.hero{height:226px;display:grid;grid-template-columns:340px 1fr 380px;overflow:hidden;background:#fff4d7;border-bottom:2px solid #d58b00}.heroLeft{overflow:hidden;background:#f8e8c5}.heroLeft img{width:100%;height:100%;object-fit:cover;object-position:47% center;transform:scale(1.04)}.heroCenter{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(circle,#fffaf0 0,#fff3d4 68%,#f5ddb0 100%);overflow:hidden}.heroCenter:before,.heroCenter:after{content:'✥';position:absolute;color:#d89732;font-size:52px;opacity:.18}.heroCenter:before{left:10%;top:30%}.heroCenter:after{right:10%;bottom:22%}.heroCenter .watermark{position:absolute;width:160px;opacity:.09}.heroCenter b{font-family:Georgia,serif;font-size:48px;color:#c8491f;z-index:1;text-shadow:0 1px #fff}.heroCenter span{font-family:Georgia,serif;color:#7b4c21;margin-top:12px;z-index:1}.heroRight{overflow:hidden;background:#f5e4bd}.heroRight img{width:100%;height:100%;object-fit:cover;object-position:center 18%;transform:scale(1.08)}.content{padding:16px 18px 35px}.toolbar{background:#fff;display:grid;grid-template-columns:1.45fr .9fr 1.2fr auto;gap:14px;align-items:end;padding:0 0 15px;border:0}.toolbar label{font-weight:700;font-size:12px}.toolbar select,.toolbar input{display:block;width:100%;height:42px;border:1px solid #d7e1e5;border-radius:5px;background:#fff;padding:0 13px;margin-top:6px;color:#2b4050}.toolbar button{height:42px;border:0;border-radius:5px;background:#059a83;color:#fff;font-weight:700;padding:0 28px}.cards{display:grid;grid-template-columns:repeat(5,1fr);gap:14px;margin-bottom:14px}.card{min-height:118px;border-radius:8px;padding:20px 20px 15px;border:1px solid #d9edf0;display:flex;flex-direction:column;justify-content:center}.card:nth-child(1){background:#ddf7ff}.card:nth-child(2){background:#e1f8e9}.card:nth-child(3){background:#fff5c9}.card:nth-child(4){background:#dcf8e3}.card:nth-child(5){background:#ffe0df}.card span{font-weight:700}.card strong{font-size:27px;margin:8px 0}.card small{color:#526c7a}.card:nth-child(4) strong{color:#00823d}.card:nth-child(5) strong{color:#d92920}.moduleTabs{background:#fff;border:1px solid #e0e8eb;border-radius:6px;display:flex;gap:12px;padding:0 18px;margin-bottom:10px}.moduleTabs button{border:0;background:none;padding:14px 12px;color:#173b54;font-weight:700}.moduleTabs button:first-child{color:#00865d;border-bottom:3px solid #19a96f}.pagehead{display:flex;justify-content:space-between;align-items:center;margin:0 0 8px;background:#fff;border:1px solid #e3e9eb;border-radius:6px;padding:9px 10px}.pagehead h1{font-size:18px;margin:0}.pagehead p{display:none}.headActions{display:flex;gap:10px}.headActions button{border:0;border-radius:5px;color:#fff;padding:10px 16px;font-weight:700}.add{background:#ed9700}.export{background:#079d83}.pdf{background:#f3292d}.panel{background:#fff;border:1px solid #dde6e8;border-radius:6px;overflow:hidden}.panelTitle{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border-bottom:1px solid #e4e9ea}.panelTitle h2{font-size:17px;margin:0}.panelTitle .action{background:#069c84;color:#fff;border:0;border-radius:4px;padding:8px 12px}.tablewrap{overflow:auto}table{border-collapse:collapse;width:100%;min-width:1250px;font-size:11px}th{background:#f3f8f9;text-align:left;padding:10px 8px;border-right:1px solid #dce6e8;border-bottom:1px solid #dce6e8;white-space:nowrap}td{padding:8px;border-right:1px solid #e1e8ea;border-bottom:1px solid #e5ebec;white-space:nowrap}tbody tr:hover{background:#f7fbfb}.badge{display:inline-block;padding:5px 9px;border-radius:5px;background:#ffd974;color:#6e5200}.badge.confirmed{background:#c8f4d8;color:#08773b}.badge.pending{background:#ffe09a;color:#785500}.receivedMoney{color:#078545;font-weight:700}.pendingMoney{color:#d52828;font-weight:700}.action{border:1px solid #1497a3;background:#fff;color:#087f91;border-radius:4px;padding:5px 8px;margin-right:4px}.action.danger{border-color:#ef4242;color:#e32929}.summaryGrid{display:grid;grid-template-columns:2fr 1fr;gap:14px}.chartbox,.activity{background:#fff;border:1px solid #dde6e8;border-radius:6px;padding:18px}.barrow{display:grid;grid-template-columns:130px 1fr 45px;gap:10px;align-items:center;margin:17px 0}.bar{height:10px;background:#e8efef;border-radius:10px;overflow:hidden}.bar i{display:block;height:100%;background:linear-gradient(90deg,#079c84,#f3a312)}.activity div{padding:12px 0;border-bottom:1px solid #e7ecee}.activity div b{display:block}.modal{display:none;position:fixed;inset:0;background:#001c1ba8;z-index:100;align-items:center;justify-content:center;padding:20px}.modal.show{display:flex}.modalBox{background:#fff;width:min(900px,96vw);max-height:90vh;overflow:auto;border-radius:10px}.modalHead{display:flex;justify-content:space-between;align-items:start;padding:20px;border-bottom:1px solid #ddd}.modalHead h2,.modalHead p{margin:0 0 5px}.modalHead button{border:0;background:none;font-size:28px}.formGrid{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;padding:20px}.formGrid label{font-weight:700;font-size:12px}.formGrid input,.formGrid select{display:block;width:100%;height:42px;margin-top:6px;border:1px solid #ccdadd;border-radius:5px;padding:0 10px}.modalActions{padding:15px 20px;border-top:1px solid #ddd;text-align:right}.modalActions button{border:0;border-radius:5px;padding:10px 18px;margin-left:8px}.save{background:#079d83;color:#fff}.cancel{background:#edf1f2}#toast{display:none;position:fixed;right:20px;bottom:20px;background:#073d39;color:#fff;padding:13px 18px;border-radius:6px;z-index:200}@media(max-width:1000px){#side{transform:translateX(-100%);transition:.2s}#side.open{transform:none}main{margin-left:0}#menu{left:12px}.hero{grid-template-columns:1fr 1.2fr}.heroLeft{display:none}.cards{grid-template-columns:repeat(2,1fr)}.toolbar{grid-template-columns:1fr 1fr}.summaryGrid{grid-template-columns:1fr}}@media(max-width:650px){.hero{height:180px;grid-template-columns:1fr}.heroRight{display:none}.heroCenter b{font-size:38px}.cards{grid-template-columns:1fr}.toolbar{grid-template-columns:1fr}.moduleTabs{overflow:auto}.pagehead{align-items:flex-start;gap:10px;flex-direction:column}.formGrid{grid-template-columns:1fr}.content{padding:10px}}

.brand{display:flex;align-items:center;justify-content:center;padding:12px 16px!important;background:#fff!important}.brandLogo{display:block;width:118px;height:72px;object-fit:contain}.brandName{display:none!important}
/* Fast final: authentication/profile */
.loginScreen{position:fixed;inset:0;z-index:1000;background:linear-gradient(135deg,#005b55,#008779 48%,#f5b21b);display:grid;place-items:center;padding:20px}.loginScreen.hidden{display:none}.loginCard{width:min(390px,94vw);background:#fff;border-radius:14px;padding:30px;box-shadow:0 24px 70px #002d2a66;text-align:center}.loginLogo{width:125px;height:80px;object-fit:contain;margin-bottom:8px}.loginCard h1{margin:4px 0 6px;font-size:24px}.loginCard p{margin:0 0 22px;color:#667b83}.loginCard label{display:block;text-align:left;font-weight:700;font-size:12px;margin:12px 0}.loginCard input{display:block;width:100%;height:44px;border:1px solid #ccdadd;border-radius:6px;padding:0 12px;margin-top:7px}.loginCard button{width:100%;height:45px;border:0;border-radius:6px;background:#078d79;color:#fff;font-weight:700;margin-top:8px}.loginCard>small{display:block;color:#829299;margin-top:18px}#loginError{min-height:18px;color:#d32626;margin-top:10px;font-size:12px}.profile{position:relative;cursor:pointer;user-select:none}.profileMenu{display:none;position:absolute;right:0;top:52px;width:175px;background:#fff;border:1px solid #dce5e7;border-radius:7px;box-shadow:0 12px 30px #10273a26;overflow:hidden}.profileMenu.show{display:block}.profileMenu button{display:block;width:100%;border:0;background:#fff;text-align:left;padding:11px 14px;color:#173447}.profileMenu button:hover{background:#f0f7f6}.avatar{font-size:12px;font-weight:800;color:#075c56}.passwordBox{width:min(560px,96vw)}body.viewer .add,body.viewer .action.danger,body.viewer .panelTitle .action{display:none!important}body.viewer .formGrid input,body.viewer .formGrid select{pointer-events:none;background:#f3f5f5}.readonlyNote{font-size:12px;color:#60717c}
