*{box-sizing:border-box} :root{--navy:#0d2a42;--blue:#2878a4;--line:#cbd3da}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:#eef2f5;color:#17212b}
button,input,textarea{font:inherit} button{cursor:pointer}
.topbar{min-height:68px;padding:12px 28px;background:#0d2a42;color:#fff;display:flex;align-items:center;justify-content:space-between;box-shadow:0 2px 10px #0002}
.topbar>div{display:flex;flex-direction:column;gap:3px}.topbar strong{letter-spacing:.08em}.topbar span{font-size:12px;opacity:.7}
.topbar nav{display:flex;gap:8px}.primary,.dark,.ghost,.tiny{border:0;border-radius:7px;padding:11px 16px;font-weight:700}
.primary{background:#2f8bc0;color:#fff}.dark{background:#111923;color:#fff}.ghost{background:#ffffff18;color:#fff;border:1px solid #ffffff38}
.compact{padding:9px 13px}.tiny{padding:7px 10px;background:#e7edf2;color:#123}
.login-page{min-height:100vh;display:grid;place-items:center;background:linear-gradient(140deg,#0d2a42,#275f81)}
.login-card{width:min(390px,90vw);background:white;padding:34px;border-radius:18px;box-shadow:0 30px 70px #0005}
.login-card h1{margin:12px 0 4px}.login-card p{margin:0 0 25px;color:#68737e}
.login-card label,.editor label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:700;margin-bottom:13px}
.login-card input,.editor input,.editor textarea{border:1px solid #c8d0d7;border-radius:7px;padding:10px;background:#fff}
.login-card .primary{width:100%;margin:7px 0 12px}.login-card small{color:#77818b}.mini-mark{width:48px;height:48px;border-radius:50%;background:#0d2a42;color:#fff;display:grid;place-items:center;font-weight:bold}
.dashboard,.history-page{max-width:1100px;margin:45px auto;padding:0 24px}.eyebrow{font-size:12px;font-weight:bold;letter-spacing:.18em;color:#317ca6}.dashboard h1{font-size:38px;margin:5px 0}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:35px}.menu-card{display:block;text-decoration:none;color:inherit;background:#fff;border:1px solid #dce3e8;border-radius:15px;padding:25px;box-shadow:0 8px 25px #1231}
.menu-card:hover{transform:translateY(-2px)}.menu-card.disabled{opacity:.5}.menu-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:12px;background:#e8f1f6;color:#145275;font-weight:bold}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}.section-title{display:flex;align-items:center;justify-content:space-between;margin-top:18px}
.item-editor{border:1px solid #d8e0e5;border-radius:9px;padding:10px;margin-bottom:10px;background:#f9fbfc}.item-editor .row{display:grid;grid-template-columns:50px 1fr;gap:8px}.item-editor .row4{display:grid;grid-template-columns:1fr 1fr 1.3fr 38px;gap:8px}.item-editor button{border:0;border-radius:6px;background:#fee;color:#a22}
.history-list{display:grid;gap:12px}.history-card{background:#fff;padding:18px;border-radius:12px;display:flex;justify-content:space-between;align-items:center;border:1px solid #dbe3e8}
.history-card>div:first-child{display:flex;flex-direction:column;gap:5px}.history-card small{color:#69737d}.history-card button{padding:8px 12px;border:0;border-radius:6px;margin-left:6px}.danger{background:#fbe4e4;color:#8d1e1e}
@media(max-width:800px){.cards{grid-template-columns:1fr}.topbar{padding:0 14px}.dashboard,.history-page{margin-top:25px}}
