* { box-sizing: border-box; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0f172a; color: #e2e8f0; min-height: 100vh; }
.login-card { max-width: 420px; margin: 80px auto; padding: 28px;
  background: #1e293b; border-radius: 10px; border: 1px solid #334155; }
.login-card h1 { margin: 0 0 18px; font-size: 22px; }
.login-card input, .login-card select { width: 100%; padding: 10px; margin-bottom: 10px;
  background: #0f172a; border: 1px solid #334155; border-radius: 6px; color: #e2e8f0; }
.btn { padding: 10px 16px; border-radius: 6px; border: 1px solid #475569;
  background: #334155; color: #e2e8f0; cursor: pointer; font-size: 14px; }
.btn.primary { background: #3b82f6; border-color: #3b82f6; }
.btn.danger { background: #ef4444; border-color: #ef4444; }
.btn.success { background: #22c55e; border-color: #22c55e; }
.btn.ghost { background: transparent; }
.btn.small { padding: 6px 10px; font-size: 12px; }
.btn:hover { opacity: 0.9; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.topbar { display: flex; justify-content: space-between; align-items: center;
  padding: 14px 24px; background: #1e293b; border-bottom: 1px solid #334155; }
.brand { font-size: 16px; font-weight: 600; }
.main { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 20px; }
.card { background: #1e293b; border: 1px solid #334155; border-radius: 10px; padding: 18px; }
.card h3 { margin: 0 0 14px; font-size: 15px; }
.history-row { display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #334155; gap: 8px; }
.history-row:last-child { border-bottom: none; }
.meta { font-size: 12px; color: #94a3b8; margin-top: 2px; }
.muted { color: #94a3b8; }
.empty { color: #94a3b8; text-align: center; padding: 20px; }
.error { color: #ef4444; margin-top: 8px; font-size: 13px; }
.hint { font-size: 13px; color: #94a3b8; }
.call-banner { padding: 20px; background: #1e293b; border: 2px solid #22c55e;
  border-radius: 10px; text-align: center; margin: 20px; }
.call-banner h2 { margin: 0 0 8px; }
.call-actions-row { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 14px; }
input, textarea, select { font-family: inherit; background: #0f172a; color: #e2e8f0;
  border: 1px solid #334155; border-radius: 6px; padding: 10px; }
textarea { width: 100%; min-height: 80px; }
.ivr-row { display: grid; grid-template-columns: 60px 1fr 150px 1fr auto; gap: 8px; align-items: center;
  margin-bottom: 8px; padding: 10px; background: #0f172a; border-radius: 6px; }
.dtmf-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.dtmf-pad button { padding: 12px; font-size: 18px; }
.dtmf-log { font-family: monospace; font-size: 18px; letter-spacing: 4px;
  padding: 8px 12px; background: #0f172a; border-radius: 6px; margin-top: 8px; min-height: 28px; }
.transfer-pop { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);
  background: #1e293b; border: 1px solid #475569; border-radius: 10px; padding: 20px;
  min-width: 320px; z-index: 100; max-height: 80vh; overflow-y: auto; }
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 99; }
.file-input { display: none; }
.file-label { display: inline-block; padding: 10px 16px; background: #334155;
  border-radius: 6px; cursor: pointer; border: 1px solid #475569; }
.badge { display: inline-block; padding: 2px 8px; background: #3b82f6;
  border-radius: 10px; font-size: 11px; margin-left: 4px; }
