:root{
  --navy:#0d2b3e;
  --navy-2:#163f56;
  --steel:#627987;
  --cyan:#27b3c8;
  --cyan-soft:#e8f8fb;
  --orange:#f3a51f;
  --green:#2c9c69;
  --red:#d95c5c;
  --bg:#f4f7f9;
  --card:#ffffff;
  --text:#21313a;
  --muted:#7a8b95;
  --line:#e4ebef;
  --shadow:0 12px 30px rgba(13,43,62,.08);
  --radius:18px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text)}
a{text-decoration:none;color:inherit}
.app{min-height:100vh;display:grid;grid-template-columns:250px 1fr}
.sidebar{position:sticky;top:0;height:100vh;background:linear-gradient(180deg,var(--navy),#092131 80%);color:white;padding:24px 18px;display:flex;flex-direction:column;gap:22px}
.brand{display:flex;align-items:center;gap:12px;padding:4px 8px 12px}
.logo{width:46px;height:46px;border-radius:13px;background:linear-gradient(135deg,var(--orange),#ffd166);display:grid;place-items:center;color:var(--navy);font-weight:900;box-shadow:0 10px 20px rgba(243,165,31,.22)}
.brand h1{font-size:16px;line-height:1.1;margin:0;letter-spacing:.4px}
.brand small{color:#bdd0db;font-size:11px}
.nav{display:flex;flex-direction:column;gap:6px}
.nav a{display:flex;align-items:center;gap:11px;padding:11px 12px;border-radius:12px;color:#d9e7ed;font-size:13px;font-weight:600}
.nav a:hover,.nav a.active{background:rgba(255,255,255,.1);color:white}
.ico{width:28px;height:28px;display:grid;place-items:center;border-radius:9px;background:rgba(255,255,255,.07);font-size:14px}
.side-note{margin-top:auto;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:14px;font-size:11px;color:#c7d8df;line-height:1.5}
.main{min-width:0}
.topbar{height:74px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 28px;position:sticky;top:0;z-index:4}
.breadcrumb{font-size:13px;color:var(--muted)}
.breadcrumb b{color:var(--text)}
.user{display:flex;align-items:center;gap:10px}
.avatar{width:38px;height:38px;border-radius:12px;background:var(--cyan-soft);color:var(--navy);display:grid;place-items:center;font-weight:800}
.content{padding:28px;max-width:1500px;margin:auto}
.hero{background:linear-gradient(120deg,var(--navy),var(--navy-2));color:white;border-radius:24px;padding:28px;box-shadow:var(--shadow);display:grid;grid-template-columns:1.4fr .8fr;gap:24px;overflow:hidden;position:relative}
.hero:after{content:"";position:absolute;width:260px;height:260px;border-radius:50%;right:-90px;top:-110px;background:rgba(39,179,200,.15)}
.hero h2{margin:0 0 10px;font-size:28px}.hero p{margin:0;color:#d6e5eb;max-width:760px;line-height:1.6;font-size:13px}
.hero-kpi{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-content:center;position:relative;z-index:1}
.hero-box{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.09);padding:14px;border-radius:14px}.hero-box b{display:block;font-size:20px}.hero-box span{font-size:11px;color:#cce0e7}
.grid{display:grid;gap:18px}.grid-4{grid-template-columns:repeat(4,1fr)}.grid-3{grid-template-columns:repeat(3,1fr)}.grid-2{grid-template-columns:repeat(2,1fr)}
.section-title{display:flex;align-items:end;justify-content:space-between;margin:26px 0 12px}.section-title h3{margin:0;font-size:17px}.section-title p{margin:3px 0 0;font-size:12px;color:var(--muted)}
.card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:0 6px 16px rgba(13,43,62,.04)}
.stat{display:flex;justify-content:space-between;gap:14px;align-items:start}.stat .value{font-size:26px;font-weight:800;margin:5px 0}.label{font-size:12px;color:var(--muted)}.trend{font-size:11px;color:var(--green);font-weight:700}.trend.warn{color:var(--orange)}.trend.bad{color:var(--red)}
.badge-icon{width:45px;height:45px;border-radius:13px;display:grid;place-items:center;font-size:20px}.b-cyan{background:var(--cyan-soft)}.b-orange{background:#fff4df}.b-green{background:#e7f6ef}.b-red{background:#fdecec}
.table-card{padding:0;overflow:hidden}.table-head{display:flex;justify-content:space-between;align-items:center;padding:18px;border-bottom:1px solid var(--line)}
.table-head h3{margin:0;font-size:15px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:none;border-radius:10px;padding:10px 13px;background:var(--navy);color:white;font-size:12px;font-weight:700}.btn.orange{background:var(--orange);color:var(--navy)}.btn.light{background:#eef4f6;color:var(--navy)}
table{width:100%;border-collapse:collapse;font-size:12px}th,td{padding:13px 16px;text-align:left;border-bottom:1px solid var(--line)}th{font-size:11px;color:var(--muted);background:#fbfcfd;text-transform:uppercase;letter-spacing:.04em}tr:last-child td{border-bottom:none}.status{font-size:10px;font-weight:800;padding:6px 9px;border-radius:999px;display:inline-block}.ok{background:#e7f6ef;color:#197247}.pending{background:#fff4df;color:#95620a}.hold{background:#fdecec;color:#9d3535}.info{background:var(--cyan-soft);color:#14778a}
.module{display:block;transition:.2s}.module:hover{transform:translateY(-2px);box-shadow:var(--shadow)}.module-top{display:flex;justify-content:space-between;gap:12px;align-items:start}.module h4{margin:10px 0 6px;font-size:15px}.module p{margin:0;color:var(--muted);font-size:12px;line-height:1.5}.arrow{color:var(--cyan);font-weight:900}
.progress{height:8px;background:#edf2f5;border-radius:99px;overflow:hidden;margin-top:10px}.bar{height:100%;border-radius:99px;background:var(--cyan)}.bar.orange{background:var(--orange)}.bar.green{background:var(--green)}.bar.red{background:var(--red)}
.form-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.field label{display:block;font-size:11px;font-weight:700;color:var(--muted);margin-bottom:6px}.field input,.field select{width:100%;padding:11px 12px;border:1px solid #d8e2e7;border-radius:10px;background:white;color:var(--text)}
.flow{display:grid;grid-template-columns:repeat(5,1fr);gap:10px}.step{background:white;border:1px solid var(--line);border-radius:14px;padding:14px;position:relative}.step .num{width:26px;height:26px;border-radius:8px;background:var(--navy);color:white;display:grid;place-items:center;font-size:11px;font-weight:800;margin-bottom:9px}.step b{font-size:12px}.step p{font-size:10px;color:var(--muted);line-height:1.5;margin:6px 0 0}
.callout{background:#eef8fa;border-left:4px solid var(--cyan);padding:14px 16px;border-radius:12px;font-size:12px;line-height:1.6}
.footer{padding:26px 0 6px;font-size:10px;color:#94a4ad;text-align:center}
@media(max-width:1050px){.app{grid-template-columns:80px 1fr}.brand h1,.brand small,.nav a span:not(.ico),.side-note{display:none}.brand{justify-content:center}.nav a{justify-content:center;padding:10px}.grid-4{grid-template-columns:repeat(2,1fr)}.hero{grid-template-columns:1fr}.flow{grid-template-columns:repeat(2,1fr)}}
@media(max-width:700px){.app{display:block}.sidebar{height:auto;position:static;flex-direction:row;overflow:auto;padding:10px}.brand{display:none}.nav{flex-direction:row}.nav a{min-width:48px}.main{width:100%}.topbar{padding:0 14px}.content{padding:14px}.grid-4,.grid-3,.grid-2,.form-grid,.hero-kpi,.flow{grid-template-columns:1fr}.hero{padding:20px}.hero h2{font-size:22px}.table-card{overflow:auto}table{min-width:720px}}
