*{box-sizing:border-box}body{margin:0;font:16px/1.45 system-ui,Arial,sans-serif;background:#f3f5f8;color:#1b2430}
.top{background:#1f3a5f;color:#fff;padding:.6rem 1rem;display:flex;flex-wrap:wrap;gap:.5rem 1rem;align-items:center;justify-content:space-between}
.top a{color:#fff;text-decoration:none}.brand{font-weight:700}.top nav{display:flex;flex-wrap:wrap;gap:.2rem .9rem;align-items:center}
main{max-width:760px;margin:0 auto;padding:1rem}h1{font-size:1.4rem;margin:.4rem 0}h2{font-size:1.1rem;margin:1rem 0 .4rem}
.card{background:#fff;border-radius:10px;padding:.9rem;margin:.6rem 0;box-shadow:0 1px 3px #0001}
.item{display:flex;flex-direction:column;gap:.15rem;color:inherit;text-decoration:none}.item span{color:#456}
.narrow{max-width:360px;margin:3rem auto}label{display:block;font-size:.85rem;color:#456;margin:.5rem 0}
input,select,textarea{width:100%;padding:.6rem;border:1px solid #b9c3d0;border-radius:8px;font:inherit;background:#fff}
.two{display:grid;grid-template-columns:1fr 1fr;gap:.6rem}.three{display:grid;grid-template-columns:.7fr 1fr 1.3fr;gap:.5rem}
.btn{display:inline-block;background:#1f3a5f;color:#fff;border:0;border-radius:8px;padding:.65rem 1rem;font:inherit;text-decoration:none;cursor:pointer;margin:.3rem 0}
.btn.light{background:#dfe7f2;color:#1f3a5f}.btn.danger{background:#b3261e}
.row{display:flex;justify-content:space-between;align-items:center;gap:.6rem;flex-wrap:wrap}.inl{display:flex;gap:.6rem;align-items:center;justify-content:space-between}
.links a{margin-right:.8rem}.muted{color:#678}.hint,.flash{background:#fff7d6;border-radius:8px;padding:.6rem .8rem;margin:.6rem 0}.flash{background:#e0f3e3}.err{background:#fde4e2;border-radius:8px;padding:.6rem;margin:.5rem 0}
.link{background:none;border:0;color:inherit;text-decoration:underline;cursor:pointer;font:inherit;padding:0}.top .link{color:#fff}.inline{display:inline}
.sticky{position:sticky;bottom:0;background:#f3f5f8;padding:.5rem 0}.sticky .btn{width:100%}.search{margin:.6rem 0}
a{color:#1f3a5f}.total{background:#eaf1fb}.sum{color:#456}
