:root{font-family:"Leelawadee UI",Tahoma,system-ui,sans-serif;background:#f4f7f6;color:#203d38}button,a,input{touch-action:manipulation}.login-art{background:radial-gradient(ellipse at 0 0,#316756,transparent 70%),#103f35;padding:5vw;gap:50px}.login-art h1{font-size:clamp(34px,4.1vw,66px);line-height:1.48;letter-spacing:-1.5px}.login-art h1 em{font-style:normal;color:#e7c989}.login-art p{line-height:1.9;color:#c0d9d0}.login-mark,.brand{display:flex;align-items:center;gap:14px}.login-mark small,.brand small{display:block;font-size:12px;font-weight:400;letter-spacing:0;margin-top:6px}.city-logo{height:64px;width:64px;object-fit:contain;border-radius:50%;background:white;flex-shrink:0}.login-flow{display:grid;grid-template-columns:1fr 1fr;gap:13px;font-size:13px;color:#d9e5de;border-top:1px solid #ffffff30;padding-top:24px}.login-foot{font-size:11px!important;letter-spacing:1px;margin-top:25px}.login-card{border-radius:20px;padding:38px;box-shadow:0 25px 70px #14382d0c}.login-form-wrap{background:#f4f7f3}.primary{background:#185c49}.primary:hover{background:#104535}.secondary,.row-actions button{background:#eaf2ee;color:#185c49}.demo-box{background:#f3f7f1;border-color:#dce7da;color:#426248}.sidebar{background:#103f35;position:sticky;top:0;height:100vh;padding:25px 12px}.app{grid-template-columns:265px 1fr}.brand{padding:0 8px;font-size:13px;line-height:1.6}.brand .city-logo{width:49px;height:49px}.brand>small{display:none}.nav button{font-weight:500;color:#c9dbd3}.nav button.active,.nav button:hover{background:#2a5b4e}.sidebar-foot{line-height:1.9}.topbar{height:76px;gap:18px;padding:0 30px}.topbar strong{flex:1;color:#294b40}.demo-tag{font-size:10px;font-weight:700;letter-spacing:1px;border:1px solid #dbcba7;border-radius:5px;color:#8d6b29;padding:6px 9px;background:#fcf8ee}.content{max-width:1380px;padding:30px}.welcome{display:flex;justify-content:space-between;gap:20px;padding:32px 38px;background:linear-gradient(115deg,#e4eee7,#f1f3e9);border:1px solid #d8e4d9;border-radius:18px;margin-bottom:22px}.welcome h2{font-size:27px;color:#244b3b;margin:12px 0}.welcome p{font-size:14px;color:#62786d;line-height:1.8}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:#728d70}.welcome-seal{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;font-size:11px;min-width:160px;color:#46614e}.welcome-seal img{width:112px;height:112px;border-radius:50%;box-shadow:0 8px 25px #234a331c}.journey{display:flex;align-items:center;justify-content:space-between;gap:10px;background:white;border:1px solid #e2e9e3;border-radius:12px;padding:19px 23px;margin-bottom:30px;font-size:12px;color:#526e5d}.journey b{color:#b4c0b7}.page-head h1{color:#244b3b;font-size:24px}.card,.table-wrap{border-color:#e0e8e2;box-shadow:none}.stat{border-left:3px solid #9bab81}.stat .num{color:#185c49}.step.on{background:#dcecdf;color:#205439}.note{background:#edf5ef;border-left-color:#709774;color:#405e48}.document-city{display:flex;align-items:center;justify-content:center;gap:7px;margin:7px 0 15px;font-size:12px}.document-city img{width:32px;height:32px}.official-layout{font-family:"Leelawadee UI",Tahoma,sans-serif;min-height:1000px}.official-layout .doc-status{line-height:1.6}.field label{line-height:1.7}.footer-note{line-height:1.8}.official-layout .doc-row{overflow-wrap:anywhere}.doc-value{max-width:100%}
@media(max-width:1000px){.welcome{padding:24px}.welcome h2{font-size:23px}.journey{flex-wrap:wrap}.app{grid-template-columns:225px 1fr}.brand{flex-wrap:wrap}.content{padding:22px}}
@media(max-width:850px){.app{grid-template-columns:1fr}.sidebar{position:static;height:auto}.brand{flex-wrap:nowrap}.brand .city-logo{height:38px;width:38px}.brand span small{display:none}.welcome-seal{display:none}.welcome h2{font-size:23px}.journey{font-size:11px}.official-layout{padding:24px 20px;min-height:0}.demo-tag{display:none}.login-art{padding:30px;gap:30px}.login-art h1{font-size:34px}.login-flow{display:none}.content{padding:18px}.modal .official-layout{font-size:12px}.login-card{padding:28px}}
@media print{html,body{background:white!important}.login,.app,.modal-bg,.toast{display:none!important}.print-only{display:block!important;padding:0!important}.official-layout{font-family:"Leelawadee UI",Tahoma,sans-serif;width:190mm;max-width:190mm;min-height:0;padding:0 5mm;font-size:10pt;line-height:1.45;box-shadow:none;border:0;overflow:visible}.official-layout h2{font-size:15pt;margin-bottom:9px}.official-layout .doc-garuda{width:19mm;margin-top:0}.official-layout .doc-row{margin:4px 0;line-height:1.55}.official-layout .doc-signature{margin-top:8mm}.official-layout .doc-watermark{font-size:65pt;left:12%;color:#9b555520!important;print-color-adjust:exact}.official-layout .doc-status{margin-top:7mm;font-size:8pt}.document-city{margin:3px 0 8px;font-size:9pt}.document-city img{width:7mm;height:7mm}.official-layout .doc-condition-line{margin:2px 0 2px 15px}.official-layout .doc-conditions{margin-top:15px}@page{size:A4;margin:10mm}}
.scan-paper{position:relative;width:100%;max-width:760px;aspect-ratio:990/1400;margin:0 auto;background:#fff;container-type:inline-size;color:#111;font-family:"Leelawadee UI",Tahoma,sans-serif;box-shadow:0 4px 25px #183d2f13;border:1px solid #dde5dd}.scan-template{width:100%;height:100%;display:block}.scan-value{position:absolute;display:block;text-align:center;white-space:nowrap;line-height:1.3;font-size:1.65cqw;color:#111;overflow:hidden;text-overflow:clip}.scan-small{font-size:1.4cqw}.scan-paper:before{content:none!important}@media print{.scan-paper{width:190mm;max-width:190mm;height:268.68mm;margin:0;border:0;box-shadow:none;break-inside:avoid}.scan-value{font-size:9pt}.scan-small{font-size:7.6pt}.scan-template{print-color-adjust:exact;width:190mm;height:268.68mm}@page{size:A4;margin:10mm}}

/* Monthly dashboard */
.monthly-hero{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:20px;padding:6px 2px}.monthly-hero h1{font-size:30px;line-height:1.25;margin:8px 0 7px;color:#173f34}.monthly-hero p{margin:0;color:#687d73}.report-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;padding:17px 20px;margin-bottom:18px}.month-range{display:flex;align-items:flex-end;gap:12px}.month-range .field{margin:0;min-width:185px}.month-range>span{padding-bottom:12px;color:#789087}.report-actions{display:flex;gap:9px;flex-wrap:wrap}.metrics-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.metric-card{position:relative;overflow:hidden;background:#fff;border:1px solid #dde7e0;border-radius:15px;padding:19px 20px;min-height:126px;box-shadow:0 5px 18px #183d2f08}.metric-card:before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:#9aaf9f}.metric-card span{display:block;color:#627970;font-size:13px;font-weight:700}.metric-card strong{display:block;color:#194b3b;font-size:32px;line-height:1.15;margin:12px 0 5px}.metric-card small{color:#82958d}.metric-card.accent:before{background:#2d7159}.metric-card.good:before{background:#4f9b68}.metric-card.pending:before{background:#d6a23c}.metric-card.danger:before{background:#c96558}.metric-card.danger strong,.danger-text{color:#b94e43!important}.success-text{color:#2d7e50!important}.money{white-space:nowrap;text-align:right}.progress-card{margin:0 0 28px;padding:17px 20px}.progress-card>div:first-child{display:flex;justify-content:space-between;gap:15px;margin-bottom:11px}.progress-card span{color:#70877d;font-size:13px}.progress-track{height:9px;border-radius:100px;background:#e6eee9;overflow:hidden}.progress-track i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#2d725a,#70a475)}.dashboard-split{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(270px,.7fr);gap:18px;margin-bottom:28px}.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;margin:26px 0 12px}.dashboard-split .section-head{margin-top:0}.section-head h2{font-size:18px;margin:0 0 4px;color:#244b3b}.section-head p{font-size:13px;margin:0;color:#71867d}.compact-table table{min-width:620px}.compact-table th,.compact-table td{padding:13px 14px}.new-license-card{padding:21px}.count-pill{background:#e8f1eb;color:#2f6f55;border-radius:100px;padding:6px 11px;font-size:12px;font-weight:800;white-space:nowrap}.new-revenue{border-top:1px solid #e3ebe5;border-bottom:1px solid #e3ebe5;padding:18px 0;margin:14px 0;display:grid;gap:7px}.new-revenue span{font-size:13px;color:#70857c}.new-revenue strong{font-size:24px;color:#225b45}.monthly-table{min-width:1050px}.monthly-report-print{background:white;color:#1f302a;font-family:"Leelawadee UI",Tahoma,sans-serif}.monthly-report-print header{display:flex;align-items:center;gap:16px;border-bottom:2px solid #285b47;padding-bottom:14px;margin-bottom:18px}.monthly-report-print header img{width:62px;height:62px;object-fit:contain}.monthly-report-print h1{font-size:22px;margin:0 0 3px}.monthly-report-print header p{margin:0;color:#60756c}.print-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:22px}.print-summary>div{border:1px solid #dce6df;border-radius:8px;padding:11px}.print-summary span{display:block;color:#6c8077;font-size:11px}.print-summary strong{display:block;margin-top:5px}.monthly-report-print table{font-size:11px;min-width:0}.monthly-report-print th,.monthly-report-print td{padding:8px}.print-date{text-align:right;margin-top:20px;color:#64776f;font-size:11px}
@media(max-width:1000px){.metrics-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-split{grid-template-columns:1fr}.report-toolbar{align-items:stretch;flex-direction:column}.report-actions{justify-content:flex-end}}
@media(max-width:650px){.monthly-hero{align-items:flex-start;flex-direction:column}.monthly-hero h1{font-size:25px}.metrics-grid{grid-template-columns:1fr}.month-range{align-items:stretch;flex-direction:column}.month-range .field{min-width:0}.month-range>span{display:none}.report-actions>*{flex:1}.progress-card>div:first-child{flex-direction:column;gap:4px}}
@media print{.monthly-report-print{display:block!important;padding:0}.monthly-report-print table{width:100%;border-collapse:collapse}.monthly-report-print th,.monthly-report-print td{border:1px solid #cfd9d2}.monthly-report-print th{background:#eef3ef!important;print-color-adjust:exact}.monthly-report-print .print-summary>div{break-inside:avoid}}

/* New permit request form */
.request-kind{max-width:420px}.form-section{border:1px solid #dfe8e1;border-radius:15px;padding:20px;margin-top:6px;background:#fbfdfb}.form-section-head{display:flex;align-items:flex-start;gap:12px;padding-bottom:13px;margin-bottom:4px;border-bottom:1px solid #e6ede8}.form-section-head>span{display:grid;place-items:center;flex:0 0 30px;width:30px;height:30px;border-radius:50%;background:#245e4b;color:#fff;font-size:13px;font-weight:800}.form-section-head h3{margin:1px 0 3px;color:#244b3b;font-size:16px}.form-section-head p{margin:0;color:#71867d;font-size:12px;line-height:1.6}.inner-grid{margin-top:3px}.form-submit{justify-content:flex-end}
@media(max-width:650px){.form-section{padding:16px}.request-kind{max-width:none}}

/* Printed monthly report summary page */
.summary-intro{margin:0 0 18px;color:#60756c}.report-total-table th:not(:first-child),.report-total-table td:not(:first-child){text-align:right;white-space:nowrap}.report-total-table tfoot th{background:#e1ece5;color:#173f34;font-size:12px}.report-grand-total{margin-top:28px;margin-left:auto;width:min(100%,360px);border:2px solid #285b47;border-radius:10px;padding:18px 20px;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#eef5f0}.report-grand-total span{font-size:13px;color:#49685b}.report-grand-total strong{font-size:20px;color:#173f34;white-space:nowrap}
@media print{.report-page{min-height:267mm}.report-summary-page{break-before:page;page-break-before:always}.report-total-table tfoot th,.report-grand-total{print-color-adjust:exact}.report-total-table,.report-grand-total{break-inside:avoid}}

/* Staff accounts and Super Admin */
.data-mode-picker{display:flex;align-items:center;gap:7px;font-size:12px;color:#416052;white-space:nowrap}.data-mode-picker select{border:1px solid #c8dace;border-radius:8px;padding:7px 10px;background:#fff;color:#214e3b;font:inherit}.topbar{gap:12px}.account-area{flex-wrap:wrap}
.account-area{display:flex;align-items:center;gap:18px}.account-area>span{display:grid;text-align:right;line-height:1.25}.account-area>span strong{font-size:13px;color:#254b3d}.account-area>span small{font-size:10px;color:#7a8d85;text-transform:uppercase;letter-spacing:.04em}.user-security-note{display:flex;align-items:flex-start;gap:18px;margin-bottom:16px;border-left:4px solid #2d7159}.user-security-note strong{white-space:nowrap;color:#214f3e}.user-security-note span{color:#657b72;font-size:13px;line-height:1.7}.admin-badge{background:#e8e1f5;color:#62478a}.danger-button{background:#fff0ee!important;color:#a94136!important}.login-card .error:not(:empty){margin:13px 0;padding:10px 12px;border-radius:9px;background:#fff1ef}.login-card button{min-height:45px}
@media(max-width:850px){.account-area>span{display:none}.user-security-note{display:grid;gap:7px}.user-security-note strong{white-space:normal}}
