body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #1f2937;
}
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: #0f172a; color: #fff; padding: 16px 0; box-shadow: 0 2px 12px rgba(15, 23, 42, 0.15); }
.topbar .brand { font-weight: 700; font-size: 20px; }
.nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.nav a { color: #cbd5e1; text-decoration: none; padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a.active { background: #1e293b; color: #fff; }
.flex-between { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.page { padding: 24px 0 40px; }
.grid { display: grid; gap: 16px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-col-span-2 { grid-column: span 2; }
.card { background: white; border-radius: 16px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08); padding: 20px; }
.card h2, .card h3 { margin-top: 0; }
.stat { font-size: 30px; font-weight: 700; margin: 8px 0; }
.muted { color: #64748b; }
.badge { display: inline-block; padding: 6px 10px; border-radius: 999px; background: #e2e8f0; font-size: 12px; }
.badge.success { background: #dcfce7; color: #166534; }
.badge.warning { background: #fef3c7; color: #92400e; }
.badge.danger { background: #fee2e2; color: #991b1b; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 10px; border-bottom: 1px solid #e2e8f0; text-align: left; vertical-align: top; }
input, select, textarea, button { width: 100%; box-sizing: border-box; padding: 11px 12px; border: 1px solid #cbd5e1; border-radius: 10px; font-size: 14px; }
textarea { min-height: 120px; }
button, .btn { background: #2563eb; color: #fff; border: 0; cursor: pointer; text-decoration: none; display: inline-block; width: auto; padding: 11px 16px; }
.btn.secondary { background: #334155; }
.btn.light { background: #e2e8f0; color: #0f172a; }
.alert { padding: 14px 16px; border-radius: 12px; margin-bottom: 16px; }
.alert.success { background: #dcfce7; color: #166534; }
.alert.error { background: #fee2e2; color: #991b1b; }
.kv { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid #e2e8f0; padding: 10px 0; }
.kv:last-child { border-bottom: 0; }
.preview-box { position: sticky; top: 20px; }
.service-section { display: none; }
.service-section.active { display: block; }
.hero { padding: 56px 0; }
.login-box { max-width: 460px; margin: 0 auto; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.actions form { margin: 0; }
.small { font-size: 12px; }
.logo-preview { max-height: 70px; max-width: 220px; border: 1px solid #e2e8f0; border-radius: 10px; padding: 6px; background: #fff; }
@media (max-width: 980px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .grid-col-span-2 { grid-column: auto; }
    .flex-between { flex-direction: column; align-items: flex-start; }
    .preview-box { position: static; }
}
