:root{--nav:#102f49;--blue:#125d98;--ink:#17202a;--muted:#617080;--line:#d7e0e7;--bg:#eef3f6;--white:#fff}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0;background:linear-gradient(160deg,#e8f1f7,#f7f9fa 48%,#edf3f6);color:var(--ink);font:15px/1.45 "Segoe UI",Arial,sans-serif;min-height:100vh}button,a{font:inherit}.home-shell{max-width:880px;margin:0 auto;padding:calc(26px + env(safe-area-inset-top)) 16px calc(32px + env(safe-area-inset-bottom))}.home-head{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:24px}.home-head h1{font-size:clamp(28px,7vw,42px);line-height:1.08;margin:3px 0 10px;color:var(--nav)}.home-head p{margin:0;color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:800;color:var(--blue)!important}.install-button{flex:0 0 52px;height:52px;border:0;border-radius:14px;background:var(--nav);color:white;font-weight:800;box-shadow:0 5px 14px #102f4930}.install-button.install-ready{background:#198754}.tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.tile{min-height:142px;border:1px solid var(--line);border-radius:18px;padding:17px;text-align:left;background:#fff;color:var(--ink);text-decoration:none;display:flex;flex-direction:column;align-items:flex-start;cursor:pointer;box-shadow:0 4px 16px #102f490b;transition:.15s}.tile:active{transform:scale(.98)}.tile-primary{grid-column:1/-1;min-height:154px;background:linear-gradient(135deg,#102f49,#125d98);color:#fff;border:0}.tile-icon{display:grid;place-items:center;min-width:42px;height:42px;padding:0 9px;border-radius:12px;background:#e9f3fb;color:#125d98;font-weight:900;font-size:18px;margin-bottom:auto}.tile-primary .tile-icon{background:#ffffff21;color:white}.tile strong{font-size:17px;line-height:1.15;margin:14px 0 4px}.tile small{font-size:12px;color:var(--muted)}.tile-primary small{color:#d5e6f2}.toast{position:fixed;left:50%;bottom:calc(22px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(90%,430px);background:#17202a;color:white;padding:13px 16px;border-radius:12px;text-align:center;box-shadow:0 8px 28px #0005;z-index:50}.update-dialog{border:0;border-radius:16px;padding:0;width:min(92%,440px);box-shadow:0 20px 70px #0005}.update-dialog::backdrop{background:#10202faa}.update-dialog form{padding:22px}.update-dialog h2{margin:0 0 8px}.update-dialog p{color:var(--muted);white-space:pre-line}.dialog-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:20px}.dialog-actions button{border:0;border-radius:9px;padding:10px 14px}.primary-action{background:var(--blue);color:white;font-weight:700}.simple-page{max-width:760px;margin:0 auto;padding:24px 16px}.simple-page .back{display:inline-block;color:var(--blue);font-weight:700;text-decoration:none;margin-bottom:20px}.simple-page h1{color:var(--nav)}.update-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;margin:12px 0}.update-card h2{font-size:18px;margin:0}.update-card time{color:var(--muted);font-size:13px}.update-card ul{padding-left:20px;margin-bottom:0}.empty-message{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px;color:var(--muted)}@media(max-width:430px){.home-shell{padding-left:12px;padding-right:12px}.tile-grid{gap:9px}.tile{min-height:132px;padding:14px;border-radius:15px}.tile strong{font-size:15px}.home-head{gap:10px}.home-head>div>p:not(.eyebrow){font-size:13px}}
