:root{font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;color:#1a2940;background:#edf2f8;font-synthesis:none}*{box-sizing:border-box}body{margin:0}#app{max-width:720px;margin:auto;min-height:100dvh;background:#f9fbfe;padding-bottom:90px}.top{background:#092b54;color:white;padding:18px 18px 16px;display:flex;align-items:center;justify-content:space-between;gap:10px}.brand{display:flex;gap:12px;align-items:center}.brand img{width:46px;height:46px}.brand strong{display:block;font-size:19px}.brand small{display:block;font-size:11px;color:#d9e8f6}.prototype{font-size:9px;letter-spacing:.08em;border:1px solid #a7c5e3;border-radius:30px;padding:6px}.hero{background:linear-gradient(125deg,#092b54,#087cc5);color:white;padding:23px;border-radius:17px;margin:18px 16px}.hero h1{font-size:24px;margin:0 0 8px}.hero p{margin:0;line-height:1.5;color:#e7f1fa}.section{margin:18px 16px}.section h2{font-size:18px;margin:0 0 12px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.tile,.panel,.item{border:1px solid #dce5ee;background:white;border-radius:14px;box-shadow:0 2px 5px #152e4c09}.tile{padding:22px 12px;text-align:center;cursor:pointer;color:#092b54;font-weight:650;font-size:15px}.tile .symbol{display:block;font-size:29px;margin-bottom:10px}.panel{padding:17px;line-height:1.6}.panel p{margin:6px 0;color:#50627a}.item{display:flex;align-items:center;gap:12px;padding:15px;margin:9px 0}.avatar{background:#e3eef8;border-radius:12px;padding:12px;font-size:22px}.item .details{flex:1}.item strong{display:block}.item small{color:#5d6b7c}.tag{font-size:11px;border-radius:50px;padding:5px 9px;background:#e8f1fa;color:#244d77;white-space:nowrap}.tag.restricted{background:#fbe9e8;color:#8c3330}.tag.hidden{background:#f2eafa;color:#693f88}.note{font-size:13px;color:#5b6d81;line-height:1.5}.section-title{padding:22px 16px 0;margin:0;font-size:25px;color:#092b54}#nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:720px;background:white;display:grid;grid-template-columns:repeat(5,1fr);border-top:1px solid #dce5ee;padding:7px 2px max(9px,env(safe-area-inset-bottom));box-shadow:0 -3px 16px #172c4912}#nav button{background:none;border:0;padding:8px 0;color:#66788b;font:inherit;font-size:11px;cursor:pointer}#nav button .navicon{display:block;font-size:22px;margin-bottom:3px}#nav button.active{color:#006cb5;font-weight:750}button:focus-visible,a:focus-visible{outline:3px solid #edb64d;outline-offset:3px}.primary{background:#092b54;color:white;border:0;padding:12px 17px;border-radius:9px;font-weight:650;cursor:pointer}.primary:disabled{opacity:.5;cursor:not-allowed}input{width:100%;padding:12px;border:1px solid #aabacc;border-radius:8px;font:inherit;margin:7px 0 15px}label{font-weight:650;font-size:14px}.warning{background:#fff6e6;border:1px solid #f0d7a2;padding:13px;border-radius:10px;font-size:13px;line-height:1.5;color:#704f1a}@media(min-width:721px){#app{box-shadow:0 0 30px #1c3a5a18}}

/* Official NCIC branding */
.top{background:linear-gradient(115deg,#061a34,#093d70);border-bottom:3px solid #06b9ec}
.brand img{width:52px;height:52px;object-fit:contain}
.hero{background:linear-gradient(125deg,#082b55,#0968a9);border:1px solid #149ad0}

/* NCIC Connect custom branded header — mobile-first, scales without clipping */
.top.top-custom{position:relative;display:block;padding:0;background:#06264b;overflow:hidden;border-bottom:3px solid #06b9ec;line-height:0}
.custom-header-logo{display:block;width:100%;height:auto;max-height:240px;object-fit:contain}
.top-custom .prototype{position:absolute;top:6px;right:7px;background:#082d52dd;color:#e9f5ff;font-size:8px;line-height:1.2;padding:4px 6px;letter-spacing:.04em}
@media(max-width:420px){.top-custom .prototype{font-size:7px;padding:3px 5px;top:4px;right:4px}}
