*{box-sizing:border-box} :root{--navy:#06264a;--navy2:#073c70;--blue:#0878c9;--sky:#bfe7ff;--pale:#eef7ff;--ink:#0a2347;--muted:#5c6d84;--line:#d7e8f8;--green:#07964c;--purple:#6b35c8;--red:#dc4545;--shadow:0 7px 20px rgba(8,66,117,.12)}
html,body{margin:0;min-height:100%;background:#eaf2f8;color:var(--ink);font-family:Inter,Arial,sans-serif}
body{display:flex;justify-content:center}
#app{width:100%;max-width:480px;min-height:100dvh;background:linear-gradient(180deg,#f8fcff,#e8f4ff);position:relative;overflow:hidden;box-shadow:0 0 28px #163a5b22}
button,input,select,textarea{font:inherit}button{cursor:pointer;border:0}
.boot{min-height:100dvh;background:var(--navy);color:white;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.brand-mark{font-size:58px;font-weight:800;color:#83d8ff;border-bottom:5px solid #83d8ff;padding:0 18px 6px}.boot b{font-size:28px;letter-spacing:2px}.boot span{opacity:.7;font-size:13px}
.top{background:linear-gradient(135deg,#031c38,#07508b);color:#fff;padding:22px 18px 24px;border-radius:0 0 28px 28px;position:relative}.top:after{content:"";position:absolute;bottom:-14px;left:-5%;width:110%;height:28px;background:#9bdcff;border-radius:50%;opacity:.65}.topline{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.brand{font-weight:800;letter-spacing:1.2px;font-size:23px}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:0;margin-top:3px}.top button{background:transparent;color:white;font-size:23px;padding:4px 8px}.screen-title{text-align:center;font-size:19px;font-weight:750;margin-top:13px;position:relative;z-index:1}
.content{padding:22px 16px 110px}.card{background:#fff;border:1px solid #dcecfb;border-radius:22px;padding:16px;margin-bottom:13px;box-shadow:var(--shadow)}.hero-card{background:linear-gradient(145deg,#fff,#e8f4ff)}.section-title{font-size:18px;font-weight:800;margin:4px 0 12px}.muted{color:var(--muted);font-size:13px;line-height:1.5}.tiny{font-size:11px;color:var(--muted)}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.metric{padding:15px;border-radius:18px;color:white;background:linear-gradient(145deg,#087bc9,#06315c);min-height:104px}.metric.purple{background:linear-gradient(145deg,#8252df,#392078)}.metric.green{background:linear-gradient(145deg,#15b981,#08714f)}.metric strong{display:block;font-size:23px;margin-top:9px}.metric span{font-size:12px;font-weight:650}
.btn{width:100%;padding:14px 16px;border-radius:16px;background:linear-gradient(110deg,#087bc9,#03294f);color:white;font-weight:750;box-shadow:0 7px 14px #073c7025}.btn.secondary{background:#fff;color:var(--navy);border:1px solid #a8d2f6;box-shadow:none}.btn.green{background:linear-gradient(110deg,#10ad70,#006b4b)}.btn.danger{background:#fff0f0;color:#c42d2d;border:1px solid #ffcaca;box-shadow:none}.btn.small{width:auto;padding:9px 12px;font-size:12px}.link{background:none;color:#064fc4;font-weight:700;padding:8px}.field{margin:12px 0}.field label{display:block;font-size:13px;font-weight:700;margin-bottom:7px}.field input,.field select,.field textarea,.search{width:100%;padding:14px;border:1px solid #c9e0f7;border-radius:14px;background:#fbfdff;color:var(--ink);outline:none}.field textarea{min-height:90px;resize:vertical}.field input:focus,.field select:focus,.field textarea:focus{border-color:#1689df;box-shadow:0 0 0 3px #1689df18}
.pill{display:inline-flex;padding:6px 10px;border-radius:30px;font-size:11px;font-weight:750;background:#e6f3ff;color:#07518b}.pill.green{background:#e3f8ec;color:#08713d}.pill.orange{background:#fff1d8;color:#a75b00}.pill.red{background:#ffe7e7;color:#b52b2b}
.tile{background:linear-gradient(145deg,#fff,#e8f5ff);border:1px solid #d3e9fb;border-radius:17px;padding:14px 8px;text-align:center;box-shadow:var(--shadow);color:var(--ink);font-size:12px;font-weight:750;min-height:78px}.tile i{font-style:normal;display:block;font-size:24px;margin-bottom:7px}.listrow{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #e7f0f8}.listrow:last-child{border:0}.avatar{width:42px;height:42px;border-radius:14px;background:#dff1ff;display:grid;place-items:center;font-weight:800;color:#07518b;flex-shrink:0}.grow{flex:1;min-width:0}.grow b{font-size:13px}.grow p{margin:4px 0 0;font-size:11px;color:var(--muted);line-height:1.4}
.bottom{position:fixed;bottom:0;width:min(100%,480px);display:grid;grid-template-columns:repeat(5,1fr);gap:2px;padding:9px 8px calc(10px + env(safe-area-inset-bottom));background:#ffffffed;backdrop-filter:blur(12px);border-top:1px solid #d8eafa;z-index:5}.bottom button{background:none;color:#172b51;font-size:10px;font-weight:700;padding:7px 2px;border-radius:14px}.bottom button span{display:block;font-size:20px;margin-bottom:3px}.bottom button.active{background:linear-gradient(145deg,#087bc9,#052a50);color:white}
.tabs{display:flex;gap:7px;overflow:auto;margin:12px 0}.tabs button{white-space:nowrap;padding:9px 13px;border-radius:22px;background:#fff;border:1px solid #d2e6f8;color:var(--ink);font-size:12px;font-weight:700}.tabs button.active{background:#063a6c;color:#fff}
.notice{padding:13px;border-radius:16px;background:#e8f4ff;margin:9px 0;font-size:12px;line-height:1.5}.notice.warn{background:#fff5e6}.notice.good{background:#e6f8ee}
.table{width:100%;border-collapse:collapse;font-size:11px}.table th,.table td{text-align:left;padding:9px 6px;border-bottom:1px solid #e5eef7}.table th{background:#e8f4ff}.scroll{overflow:auto}
.empty{text-align:center;padding:28px 12px;color:var(--muted)}.empty b{display:block;color:var(--ink);margin:8px}
.modalback{position:fixed;inset:0;background:#00152dcc;z-index:20;display:grid;place-items:center;padding:18px}.modal{background:#fff;border-radius:24px;padding:22px;width:100%;max-width:440px;max-height:85dvh;overflow:auto}.modal h2{margin:0 0 8px;font-size:20px}.close{float:right;background:#edf5fc;border-radius:50%;padding:6px 10px}
.auth{min-height:100dvh;background:linear-gradient(160deg,#031a35 0%,#07508c 42%,#dff1ff 42%,#f8fcff 100%);padding:42px 20px 30px}.authbrand{text-align:center;color:white;margin:10px 0 34px}.authbrand .symbol{font-size:58px;font-weight:800;color:#8ddcff}.authbrand h1{font-size:30px;margin:0}.authbrand p{margin:6px 0;font-size:13px}.authbox{background:#f9fcff;border-radius:28px;padding:24px 20px;box-shadow:0 10px 28px #001e3c35}.authbox h2{margin:0 0 5px;font-size:25px}.authbox>p{font-size:13px;color:#455a75;line-height:1.5;margin-bottom:18px}.authfoot{text-align:center;font-size:12px;margin-top:17px}
@media(min-width:481px){body{background:#dce8f1}#app{border-left:1px solid #d4e3ef;border-right:1px solid #d4e3ef}}
@media(max-width:360px){.content{padding-left:12px;padding-right:12px}.metric strong{font-size:20px}.brand{font-size:20px}}
