:root { --gap: 12px; --radius: 12px; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, sans-serif; background:#0b1020; color:#e7ebff; }
.container { max-width: 960px; margin: 24px auto; padding: 0 16px; }
h1 { margin-bottom: var(--gap); }
.card { background: #131a33; border: 1px solid #2a3566; border-radius: var(--radius); padding: 16px; margin-bottom: var(--gap); }
label { display: block; margin-bottom: 6px; }
input[type="text"], input[type="password"], select, textarea, input[type="file"] {
  width: 100%; padding: 10px; border-radius: 10px; border: 1px solid #2a3566; background:#0f1530; color:#e7ebff;
}
textarea[readonly] { opacity: 0.9; min-height: 500px}
button, .assistant-btn, .link {
  background: #3046d3; color: white; border: none; padding: 10px 14px; border-radius: 10px;
  text-decoration: none; display: inline-block; cursor: pointer; white-space: nowrap;
}
button:hover, .assistant-btn:hover, .link:hover { filter: brightness(1.1); }
.assistants { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: var(--gap); }
.assistant-btn { background: #2637a8; }
.assistant-btn.active { background: #ffd700; color: #0b1020; }
.assistant-btn.aichat { background: transparent; border: 1px solid #2637a8; }
.authbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--gap); }
.form-row { margin-bottom: 10px; }
.form-actions { margin-top: 8px; display: flex; justify-content: flex-start; gap: 8px; text-align: right; }
.statusbar { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; background:#0f1530; border:1px solid #2a3566; border-radius: var(--radius); padding: 10px 12px; }
.error { color: #ff6b6b; }
.muted { color: #9fb2ff; opacity: 0.8; font-size: 0.9em; }
.hint { color:#9fb2ff; }
