:root { --bg:#f3f8fd; --card:#fff; --ink:#1a2b3d; --brand:#0057b8; --line:#d7e3ef; --muted:#5f7388; }
* { box-sizing:border-box; }
body { margin:0; font-family:"Segoe UI", Arial, sans-serif; background:var(--bg); color:var(--ink); }
.screen { display:none; min-height:100vh; }
.screen.active { display:flex; }
.login-panel { max-width:520px; margin:auto; }
.panel,.card { background:var(--card); border:1px solid var(--line); border-radius:12px; padding:16px; box-shadow:0 8px 20px rgba(0,0,0,.06); }
.stack { display:flex; flex-direction:column; gap:10px; }
label { display:flex; flex-direction:column; gap:6px; font-size:14px; }
input,select,button { font:inherit; border-radius:8px; }
input,select { border:1px solid var(--line); padding:8px 10px; }
button { border:0; padding:9px 12px; background:var(--brand); color:#fff; cursor:pointer; }
button.secondary { background:#4f6b87; }
button.danger { background:#ad1f2f; width:100%; margin-top:auto; }
.row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.sub,.status { color:var(--muted); font-size:13px; }
.sidebar { width:230px; background:#0e2238; color:#fff; padding:16px; display:flex; flex-direction:column; gap:10px; }
.sidebar h2 { margin:0 0 8px 0; }
.menu-btn { text-align:left; background:#173b61; }
.menu-btn.active { background:#1e5185; }
.content { flex:1; padding:18px; display:flex; flex-direction:column; gap:14px; }
.view { display:none; }
.view.active { display:block; }
.cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(320px,1fr)); gap:12px; }
.step { font-weight:700; margin:8px 0; }
.step span { display:inline-block; width:24px; height:24px; border-radius:50%; background:var(--brand); color:#fff; text-align:center; line-height:24px; margin-right:6px; }
table { width:100%; border-collapse:collapse; }
th,td { border-bottom:1px solid var(--line); padding:8px 6px; text-align:left; font-size:13px; }
.output { background:#0f2235; color:#d6e6f7; border-radius:8px; padding:10px; min-height:56px; overflow-x:auto; }
.inline { display:inline-flex; gap:6px; align-items:center; }
@media (max-width:900px){ .screen.active { flex-direction:column; } .sidebar { width:100%; } }
