:root { --navy:#081D3F; --navy2:#13305e; --gold:#9A7B12; --bg:#f2f4f8; --line:#d7dde7; }
* { box-sizing: border-box; }
body { margin:0; background:var(--bg); color:#15181d;
  font-family:"Pyidaungsu","Noto Sans Myanmar","Myanmar Text",-apple-system,sans-serif;
  font-size:15px; line-height:1.9; }
header.top { background:var(--navy); color:#fff; display:flex; align-items:center; gap:18px;
  padding:8px 18px; flex-wrap:wrap; position:sticky; top:0; z-index:5; }
.brand { display:flex; align-items:center; gap:10px; color:#fff; text-decoration:none; }
.brand img { width:40px; height:40px; background:#fff; border-radius:8px; padding:2px; }
.brand span { display:flex; flex-direction:column; line-height:1.3; }
.brand small { color:#c6d2e8; font-size:10.5px; }
nav { display:flex; gap:2px; flex-wrap:wrap; }
nav a { color:#dbe4f2; text-decoration:none; padding:6px 11px; border-radius:7px; font-size:14px; }
nav a:hover { background:var(--navy2); color:#fff; }
.who { margin-left:auto; display:flex; gap:10px; align-items:center; font-size:13px; color:#c6d2e8; }
.who a { color:#fff; text-decoration:none; }
main { max-width:1100px; margin:0 auto; padding:18px 14px 50px; }
footer { text-align:center; color:#8a93a3; font-size:12px; padding:18px; }
h1 { font-size:21px; color:var(--navy); margin:8px 0 14px; }
h2 { font-size:15.5px; color:var(--navy); margin:4px 0 8px; }
h3 { font-size:14.5px; color:var(--navy); margin:12px 0 4px; }
.pagehead { display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:8px; }
.card { background:#fff; border:1px solid var(--line); border-radius:12px; padding:14px 16px; margin-bottom:14px; }
.cards { display:flex; gap:10px; flex-wrap:wrap; margin-bottom:14px; }
.cards .card { flex:1; min-width:150px; margin-bottom:0; }
.card.stat small { color:#6b7585; display:block; font-size:12px; }
.card.stat b { font-size:19px; color:var(--navy); }
.card.go { text-decoration:none; color:var(--navy); font-weight:bold; text-align:center; font-size:16px; padding:22px 10px; }
.card.go:hover { border-color:var(--navy); }
.cols { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
@media (max-width:820px){ .cols { grid-template-columns:1fr; } }
.narrow { max-width:480px; }
table.list { width:100%; border-collapse:collapse; }
table.list td, table.list th { padding:6px 9px; border-bottom:1px solid #eceff4; text-align:left; font-size:13.5px; }
table.list tr.h th { background:var(--navy); color:#fff; font-size:12.5px; }
table.list tr:nth-child(even) td { background:#f7f9fc; }
table.list tr.tot td { font-weight:bold; background:#eef1f7; border-top:2px solid var(--navy); }
table.list tr.voided td { text-decoration:line-through; color:#9aa2b1; }
table.list tr.lowrow td { background:#fdecec; }
td.num, th.num { text-align:right; white-space:nowrap; }
td.bar { width:30%; } td.bar div { background:#2E75B6; height:10px; border-radius:5px; min-width:2px; }
.pos { color:#1B5E20; } .neg { color:#C00000; }
.muted { color:#77808f; font-size:13px; }
.flash { padding:9px 14px; border-radius:9px; margin-bottom:12px; }
.flash.ok { background:#e6f3e8; color:#1B5E20; border:1px solid #bcd9c1; }
.flash.error { background:#fdeaea; color:#9d1313; border:1px solid #efc3c3; }
.btn { display:inline-block; background:#fff; border:1.5px solid var(--navy); color:var(--navy);
  padding:7px 14px; border-radius:9px; font-size:14px; cursor:pointer; text-decoration:none;
  font-family:inherit; }
.btn:hover { background:#eef2f9; }
.btn.primary { background:var(--navy); color:#fff; }
.btn.primary:hover { background:var(--navy2); }
.btn.danger { border-color:#C00000; color:#C00000; }
.btn.tiny { padding:2px 8px; font-size:12px; border-radius:6px; }
.btn.wide { width:100%; }
.tag { background:#e7ebf3; color:var(--navy); border-radius:12px; padding:1px 10px; font-size:11.5px; }
.tag.ok { background:#e6f3e8; color:#1B5E20; }
.tag.danger { background:#fdeaea; color:#9d1313; }
.warnbox { background:#fdf3d6; border-left:4px solid var(--gold); padding:8px 12px; border-radius:0 8px 8px 0; font-size:13px; }
form .grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(170px,1fr)); gap:8px 12px; margin-bottom:10px; }
label { display:flex; flex-direction:column; font-size:12.5px; color:#525b69; gap:2px; }
label.wide2 { grid-column:span 2; }
label.inline { flex-direction:row; align-items:center; gap:6px; }
input, select { padding:8px 10px; border:1px solid #c3ccda; border-radius:8px; font-size:14px;
  font-family:inherit; background:#fff; }
input:focus, select:focus { outline:2px solid #2E75B6; border-color:#2E75B6; }
.mform input { padding:6px 10px; }
.inline { display:inline-block; }
.login-box { max-width:360px; margin:60px auto; background:#fff; border:1px solid var(--line);
  border-radius:16px; padding:30px; text-align:center; }
.login-box h1 { margin:6px 0 0; }
.login-box form { text-align:left; margin-top:14px; display:flex; flex-direction:column; gap:10px; }
.login-logo { width:84px; }
.entry { background:#fbfcfe; }
