/* ── Login Screen ── */
#loginScreen {
  position: fixed; inset: 0; z-index: 99999;
  background: linear-gradient(135deg, #890103 0%, #5c0102 100%);
  display: flex; align-items: center; justify-content: center;
}
.login-container {
  background: #fff; border-radius: 12px; padding: 48px 40px;
  text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  max-width: 400px; width: 90%;
}
.login-logo { height: 48px; margin-bottom: 16px; }
.login-title { font-size: 24px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.login-subtitle { font-size: 14px; color: #64748b; margin: 0 0 32px; }
.login-error {
  background: #fef2f2; border: 1px solid #fecaca; color: #991b1b;
  padding: 8px 12px; border-radius: 6px; font-size: 13px; margin-bottom: 16px;
}
.login-button {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid #d1d5db; border-radius: 6px;
  padding: 12px 24px; font-size: 15px; font-weight: 500;
  color: #1f2937; cursor: pointer; transition: all .15s;
  width: 100%; justify-content: center;
}
.login-button:hover {
  background: #f9fafb; border-color: #9ca3af;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.login-ms-icon { flex-shrink: 0; }
.login-footer { font-size: 12px; color: #94a3b8; margin: 24px 0 0; }

/* ── Octopus 2.0 panel ── */
#sidebar-panel-octopus .section { margin-bottom: 10px; }
#sidebar-panel-octopus label { font-size: 12px; font-weight: 500; color: var(--text-secondary); display: block; }
#sidebar-panel-octopus input[type="text"],
#sidebar-panel-octopus input[type="number"],
#sidebar-panel-octopus select {
  width: 100%; padding: 5px 8px; border: 1px solid var(--border);
  border-radius: var(--radius-sm); font-size: 13px;
  background: var(--surface); color: var(--text-main);
  box-sizing: border-box;
}
#sidebar-panel-octopus input[type="number"] { width: auto; }
#sidebar-panel-octopus input:focus,
#sidebar-panel-octopus select:focus {
  border-color: var(--interactive); outline: none;
  box-shadow: 0 0 0 2px rgba(37,99,235,0.15);
}
#sidebar-panel-octopus .inline-field {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; cursor: pointer;
}
#sidebar-panel-octopus .inline-field input[type="checkbox"] { width: auto; }
#sidebar-panel-octopus .btn-row { display: flex; gap: 6px; flex-wrap: wrap; }
#sidebar-panel-octopus .badge {
  display: inline-block; padding: 2px 8px; border-radius: 10px;
  font-size: 11px; font-weight: 600;
}
#sidebar-panel-octopus small {
  font-size: 11px; color: var(--text-muted); display: block; margin-top: 4px;
}
#sidebar-panel-octopus h2 { font-size: 14px; margin: 0 0 6px 0; }
#octopusJobsList table th { font-weight: 600; color: var(--text-secondary); }
#octopusJobsList table td { border-bottom: 1px solid #f3f4f6; }
#octopusResultLog { padding: 6px 0; border-top: 1px solid var(--border); font-size: 12px; }
.octo-crm-card-meta span { white-space: nowrap; }
.octo-crm-empty { text-align: center; color: var(--text-muted); padding: 16px 8px; font-size: 12px; }
