:root{--blue:#1e5eff;--nav:#0d1a33;--bg:#f5f7fb;--line:#e4e9f1;--muted:#66758c;--green:#0aa66f;--red:#c83b3b}
*{box-sizing:border-box}body{margin:0;font-family:Inter,system-ui,Segoe UI,Arial,sans-serif;background:var(--bg);color:#101827}button,input,select{font:inherit}.hidden{display:none!important}
.login-wrap{min-height:100vh;display:grid;place-items:center;background:linear-gradient(140deg,#f8fbff,#eef4ff)}.login-card{width:min(430px,92vw);background:white;border:1px solid var(--line);border-radius:20px;padding:28px;box-shadow:0 25px 60px rgba(20,40,100,.12)}.brand{display:flex;gap:12px;align-items:center}.brandmark{width:44px;height:44px;border-radius:13px;display:grid;place-items:center;color:white;font-weight:900;font-size:24px;background:linear-gradient(145deg,#1264ff,#42d6ce)}.brand div:last-child{display:flex;flex-direction:column}.brand span{font-size:11px;color:var(--muted)}.login-card h1{margin:24px 0 7px}.login-card p{color:var(--muted);line-height:1.5}.login-card input{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;margin:7px 0}.primary{background:var(--blue);color:#fff;border:0!important;font-weight:800}.login-card button{width:100%;padding:12px;border-radius:10px;margin-top:10px}.error{color:var(--red);margin-top:10px}
.app{display:grid;grid-template-columns:230px 1fr;min-height:100vh}aside{background:var(--nav);color:#dce6f7;padding:18px 12px}.sidebrand{padding:3px 7px 22px}.sidebrand b{color:white}nav button{width:100%;display:flex;gap:12px;border:0;background:transparent;color:#bdcae0;padding:11px 12px;border-radius:10px;margin:3px 0;text-align:left;cursor:pointer}nav button.active,nav button:hover{background:#234579;color:white}main{min-width:0}header{height:64px;background:white;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;align-items:center;padding:0 22px;position:sticky;top:0;z-index:2}.muted{color:var(--muted);margin-left:10px;font-size:12px}.head-actions{display:flex;gap:9px}.head-actions select,.head-actions button{padding:8px 10px;border:1px solid var(--line);background:white;border-radius:8px}.page{display:none;padding:22px}.page.active{display:block}.pagehead{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:16px;gap:12px}.pagehead h1{margin:0;font-size:27px}.pagehead p{margin:5px 0;color:var(--muted)}.live{background:#e9fbf4;color:#087853;border:1px solid #b6ead4;padding:7px 9px;border-radius:9px;font-size:11px;font-weight:800}.cards{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.cards.three{grid-template-columns:repeat(3,1fr)}.card,.panel,.integration-card{background:white;border:1px solid var(--line);border-radius:15px;padding:17px}.card span{font-size:12px;color:var(--muted)}.card b{display:block;font-size:28px;margin-top:8px}.panel{margin-top:14px}.checkgrid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;color:#30415e}.small{padding:9px 12px;border-radius:9px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse}th,td{padding:11px 10px;border-bottom:1px solid #eef1f5;text-align:left;font-size:13px}th{font-size:11px;color:var(--muted);text-transform:uppercase}.integration-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.integration-title{display:flex;justify-content:space-between;align-items:center}.integration-card button{padding:9px 11px;border:1px solid var(--line);background:white;border-radius:9px;margin-right:6px}.status{font-size:10px;font-weight:900;padding:5px 8px;border-radius:999px}.status.off{background:#fff1f1;color:#b83333}.status.on{background:#e9fbf4;color:#087853}.status.pending{background:#fff7df;color:#9a6b00}.shoplist{margin-top:12px}.shopitem{padding:10px;background:#f7f9fc;border-radius:9px;margin-top:7px}.ok{color:#087853}.bad{color:#b83333}
@media(max-width:900px){.app{grid-template-columns:78px 1fr}nav span,.sidebrand div:last-child{display:none}nav button{justify-content:center}.cards{grid-template-columns:repeat(2,1fr)}.integration-grid{grid-template-columns:1fr}}
