* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, "Segoe UI", Roboto, Arial, sans-serif; background: #f4f6f9; color: #1f2933; }
nav { display: flex; gap: 18px; align-items: center; padding: 12px 24px; background: #1f2a44; color: #fff; flex-wrap: wrap; }
nav a { color: #cfd8ff; text-decoration: none; }
nav a:hover { color: #fff; }
nav .brand { font-weight: 700; }
nav .spacer { flex: 1; }
nav .who { opacity: .8; font-size: 14px; }
main { max-width: 1100px; margin: 24px auto; padding: 0 16px; }
h1 { margin-top: 0; }
h2 { font-size: 17px; margin: 0 0 10px; }
.card { background: #fff; border: 1px solid #e1e5eb; border-radius: 8px; padding: 16px; margin-bottom: 16px; }
.login { max-width: 360px; margin: 80px auto; }
.login label { display: block; margin-bottom: 12px; }
.login input { width: 100%; margin-top: 4px; }
.msg { background: #e7f0ff; border: 1px solid #b6ccf5; padding: 10px 14px; border-radius: 6px; margin-bottom: 16px; }
.toolbar { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.toolbar form, form.inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
input, select, button, .btn { font: inherit; font-size: 14px; padding: 6px 10px; border: 1px solid #c5ccd6; border-radius: 6px; background: #fff; }
button, .btn { cursor: pointer; background: #2f5bd3; color: #fff; border-color: #2f5bd3; text-decoration: none; display: inline-block; }
button:hover, .btn:hover { background: #2448ab; }
button.danger { background: #c62828; border-color: #c62828; }
table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid #e1e5eb; border-radius: 8px; }
th, td { text-align: left; padding: 9px 12px; border-bottom: 1px solid #eef1f5; vertical-align: middle; }
th { background: #f8fafc; font-size: 13px; color: #52606d; }
td a { color: #2f5bd3; }
td.actions { white-space: nowrap; }
td.actions form { display: inline; }
td.empty { text-align: center; color: #7b8794; padding: 24px; }
label { font-size: 14px; }
.crumbs { color: #52606d; }
.hint { color: #7b8794; font-size: 13px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.stat h3 { margin: 0 0 6px; font-size: 14px; color: #52606d; }
.big { font-size: 34px; font-weight: 700; }
.bar { height: 10px; background: #e4e7eb; border-radius: 5px; overflow: hidden; margin: 8px 0; }
.bar span { display: block; height: 100%; background: #2f5bd3; transition: width .4s; }
details { background: #fff; border: 1px solid #e1e5eb; border-radius: 8px; margin-bottom: 10px; }
summary { padding: 10px 14px; cursor: pointer; font-weight: 600; }
pre { margin: 0; padding: 12px 14px; background: #111827; color: #d1fae5; font-size: 12px; overflow-x: auto; max-height: 360px; white-space: pre-wrap; }
pre.cron { border-radius: 6px; margin-top: 8px; }
