
:root { color-scheme: dark; --bg:#07111f; --panel:#0e1b2d; --line:#22324a; --text:#e8eef7; --muted:#91a2b8; --accent:#4ce0b3; --accent2:#5fa8ff; --danger:#ff6b7c; font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif; }
* { box-sizing:border-box; }
body { margin:0; min-height:100vh; color:var(--text); background:radial-gradient(circle at 5% 0%,#123052 0,transparent 33%),radial-gradient(circle at 95% 10%,#123c36 0,transparent 28%),var(--bg); }
button,input,select { font:inherit; }
button,a.download { border:0; border-radius:10px; padding:10px 16px; color:#06151a; background:var(--accent); font-weight:750; cursor:pointer; text-decoration:none; }
button:hover,a.download:hover { filter:brightness(1.08); }
.ghost,.secondary { color:var(--text); background:#17263b; border:1px solid var(--line); }
.eyebrow { margin:0 0 5px; color:var(--accent); font-size:11px; font-weight:800; letter-spacing:.16em; }
h1,h2,p { margin-top:0; } h1 { margin-bottom:0; font-size:clamp(24px,4vw,36px); } h2 { margin-bottom:0; font-size:20px; }
.muted,.privacy-note { color:var(--muted); line-height:1.55; }
.login-wrap { min-height:100vh; display:grid; place-items:center; padding:24px; }
.login-card { width:min(440px,100%); padding:38px; border:1px solid var(--line); border-radius:24px; background:rgba(14,27,45,.92); box-shadow:0 28px 90px rgba(0,0,0,.38); }
.brand-mark { display:grid; place-items:center; width:48px; height:48px; margin-bottom:24px; border-radius:15px; color:#06221c; background:linear-gradient(145deg,var(--accent),#8cf5d4); font-size:24px; font-weight:900; }
.login-form { display:grid; gap:16px; margin-top:26px; }
label { display:grid; gap:7px; color:#bcc9d8; font-size:13px; font-weight:650; }
input,select { width:100%; border:1px solid var(--line); border-radius:10px; padding:11px 12px; outline:none; color:var(--text); background:#081523; }
input:focus,select:focus { border-color:var(--accent2); box-shadow:0 0 0 3px rgba(95,168,255,.13); }
.alert { margin-top:20px; padding:12px; border:1px solid #633142; border-radius:10px; color:#ffc1c8; background:#351923; }
.privacy-note { margin:22px 0 0; font-size:12px; }
.topbar { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:24px max(24px,calc((100vw - 1400px)/2)); border-bottom:1px solid var(--line); background:rgba(7,17,31,.76); backdrop-filter:blur(16px); }
.account { display:flex; align-items:center; gap:12px; color:var(--muted); }
.workspace { width:min(1400px,calc(100% - 32px)); margin:28px auto 60px; display:grid; gap:20px; }
.summary-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.summary-grid article,.panel { border:1px solid var(--line); border-radius:17px; background:rgba(14,27,45,.9); box-shadow:0 14px 45px rgba(0,0,0,.18); }
.summary-grid article { padding:20px; } .summary-grid span { display:block; margin-bottom:8px; color:var(--muted); font-size:12px; } .summary-grid strong { font-size:18px; }
.panel { padding:22px; overflow:hidden; }
.panel-title { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:20px; }
.status { color:var(--muted); font-size:13px; }
.filter-grid { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:14px; align-items:end; }
.filter-grid .wide { grid-column:span 3; } .actions { grid-column:span 3; display:flex; justify-content:flex-end; gap:10px; } .actions.full { grid-column:1/-1; }
.panel-actions { display:flex; align-items:center; gap:12px; }
.empty { padding:34px 18px; border:1px dashed var(--line); border-radius:12px; text-align:center; color:var(--muted); }
.log-results { display:grid; gap:9px; max-height:760px; overflow:auto; padding-right:5px; }
.log-row { border-left:3px solid #53647a; border-radius:8px; padding:11px 13px; background:#081523; }
.log-row.level-e,.log-row.level-f,.log-row.level-a { border-left-color:var(--danger); } .log-row.level-w { border-left-color:#f4bd61; } .log-row.level-i { border-left-color:var(--accent); }
.log-meta { display:flex; flex-wrap:wrap; gap:8px 14px; margin-bottom:8px; color:var(--muted); font-size:11px; }
.log-meta .level { color:var(--text); font-weight:900; } .log-meta .tag { color:#8fc2ff; }
pre { margin:0; white-space:pre-wrap; overflow-wrap:anywhere; color:#d5dfeb; font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace; }
.bundle-list { display:grid; gap:10px; }
.bundle-row { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:14px; border:1px solid var(--line); border-radius:12px; background:#081523; }
.bundle-row div { display:grid; gap:4px; } .bundle-row span { color:var(--muted); font-size:12px; }
@media (max-width:1000px) { .filter-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } .filter-grid .wide,.actions { grid-column:span 3; } }
@media (max-width:700px) { .topbar { align-items:flex-start; } .account { flex-direction:column; align-items:flex-end; } .summary-grid { grid-template-columns:1fr; } .filter-grid { grid-template-columns:1fr; } .filter-grid .wide,.actions { grid-column:auto; } .actions { justify-content:stretch; } .actions button { flex:1; } .bundle-row { align-items:flex-start; flex-direction:column; } .download { width:100%; text-align:center; } .panel { padding:17px; } }
