/* ═══════════════════════════════════════════════════════════════════
   LS DOMÓTICA — portal-clients.css
   ------------------------------------------------------------------
   Overlay full-screen con 2 vistas: LOGIN (centrada) y DASHBOARD
   (topbar + sidebar + content). Prefix cp- en todos los selectores.
═══════════════════════════════════════════════════════════════════ */

/* ─── Overlay ─────────────────────────────────────────────────── */
.cp-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: rgba(3, 6, 12, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  animation: cpFadeIn 220ms ease-out both;
}

.cp-overlay.hidden { display: none; }

@keyframes cpFadeIn { from { opacity: 0; } to { opacity: 1; } }

.cp-shell {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* ─── Vistas (switch) ─────────────────────────────────────────── */
.cp-view { width: 100%; flex: 1; min-height: 0; display: flex; }
.cp-view.hidden { display: none; }

/* ═══════════════════════════════════════════════════════════════
   VISTA LOGIN
═══════════════════════════════════════════════════════════════ */

.cp-view-login {
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  position: relative;
  background:
    radial-gradient(circle at 30% 20%, rgba(0, 212, 255, 0.04), transparent 60%),
    radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.04), transparent 60%);
}

.cp-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary, rgba(255, 255, 255, 0.7));
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: all 150ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cp-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: scale(1.05);
}

.cp-close-float {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 2;
}

.cp-login-card {
  width: 100%;
  max-width: 440px;
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.015) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 36px 32px;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  animation: cpSlide 280ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes cpSlide {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.cp-login-brand {
  text-align: center;
  margin-bottom: 26px;
}

.cp-login-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg,
    rgba(0, 149, 255, 0.08),
    rgba(0, 212, 255, 0.04));
  border: 1px solid rgba(0, 149, 255, 0.22);
  border-radius: 14px;
  margin-bottom: 16px;
  box-shadow: 0 0 40px rgba(0, 149, 255, 0.15);
}

.cp-login-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0 0 6px;
}

.cp-login-sub {
  font-size: 13.5px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
  line-height: 1.55;
  margin: 0;
}

/* ─── Tabs login/register ─────────────────────────────────────── */
.cp-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 4px;
  margin-bottom: 22px;
}

.cp-tab-btn {
  padding: 10px 12px;
  background: transparent;
  border: 0;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  border-radius: 9px;
  cursor: pointer;
  transition: all 180ms ease;
}

.cp-tab-btn.active {
  background: linear-gradient(135deg, #0095ff 0%, #00d4ff 100%);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 149, 255, 0.25);
}

/* ─── Form ────────────────────────────────────────────────────── */
.cp-form { display: flex; flex-direction: column; gap: 14px; }
.cp-form.hidden { display: none; }

.cp-field { display: flex; flex-direction: column; gap: 6px; position: relative; }

.cp-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary, rgba(255, 255, 255, 0.7));
  letter-spacing: 0.02em;
}

.cp-input, .cp-textarea {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 150ms ease, background 150ms ease;
}

.cp-input::placeholder, .cp-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.cp-input:focus, .cp-textarea:focus {
  outline: none;
  border-color: rgba(0, 149, 255, 0.5);
  background: rgba(0, 149, 255, 0.05);
}

.cp-textarea { resize: vertical; min-height: 90px; }

.cp-forgot {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 11.5px;
  color: #00d4ff;
  text-decoration: none;
  transition: color 150ms ease;
}

.cp-forgot:hover { color: #0095ff; text-decoration: underline; }

.cp-submit {
  width: 100%;
  padding: 12px 18px;
  font-size: 14.5px;
  font-weight: 600;
  margin-top: 4px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.cp-submit[disabled] { opacity: 0.6; cursor: not-allowed; }

.cp-submit-spinner {
  display: none;
  width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: cpSpin 720ms linear infinite;
}

.cp-submit.loading .cp-submit-spinner { display: inline-block; }

#cp-ticket-submit.loading .cp-submit-spinner { display: inline-block; }

#cp-ticket-submit[disabled],
.cp-google-btn[disabled] {
  opacity: 0.6;
  cursor: wait;
}

@keyframes cpSpin { to { transform: rotate(360deg); } }

.cp-err {
  font-size: 12.5px;
  color: #fca5a5;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.18);
  border-radius: 8px;
  padding: 8px 12px;
  margin: 6px 0 0;
}

.cp-err[hidden] { display: none; }

.cp-privacy {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  line-height: 1.45;
  margin: 6px 0 0;
}

/* ─── Divider + Google ────────────────────────────────────────── */
.cp-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 16px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cp-divider::before,
.cp-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.cp-google-btn {
  width: 100%;
  padding: 11px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: var(--text-primary, #fff);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 180ms ease;
}

.cp-google-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   VISTA DASHBOARD
═══════════════════════════════════════════════════════════════ */

.cp-view-dashboard {
  flex-direction: column;
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 149, 255, 0.03), transparent 50%),
    #060913;
}

/* ─── Topbar ──────────────────────────────────────────────────── */
.cp-topbar {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
}

.cp-topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.cp-brand-mini {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(0, 149, 255, 0.08), rgba(0, 212, 255, 0.04));
  border: 1px solid rgba(0, 149, 255, 0.2);
  border-radius: 10px;
  flex-shrink: 0;
}

.cp-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.cp-brand-text strong {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 14px;
  color: var(--text-primary, #fff);
}

.cp-brand-text span {
  font-size: 11.5px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.55));
}

.cp-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cp-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
}

.cp-user-avatar {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #0095ff, #00d4ff);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  text-transform: uppercase;
}

.cp-user-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.cp-user-meta strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.cp-user-meta span {
  font-size: 11px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 160px;
}

.cp-logout-btn {
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.7));
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 150ms ease;
}

.cp-logout-btn:hover {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.25);
  color: #fca5a5;
}

/* ─── Body (sidebar + content) ────────────────────────────────── */
.cp-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 240px 1fr;
  overflow: hidden;
}

/* ─── Sidebar ─────────────────────────────────────────────────── */
.cp-sidebar {
  padding: 24px 16px;
  background: rgba(255, 255, 255, 0.015);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow-y: auto;
}

.cp-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cp-nav-btn {
  padding: 11px 14px;
  background: transparent;
  border: 0;
  color: var(--text-secondary, rgba(255, 255, 255, 0.65));
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  transition: all 150ms ease;
}

.cp-nav-btn:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.cp-nav-btn.active {
  background: linear-gradient(135deg,
    rgba(0, 149, 255, 0.12) 0%,
    rgba(0, 212, 255, 0.06) 100%);
  border: 1px solid rgba(0, 149, 255, 0.28);
  color: #fff;
}

.cp-nav-ico {
  font-size: 15px;
  line-height: 1;
}

.cp-sidebar-foot {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cp-quick-help {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg,
    rgba(34, 197, 94, 0.06) 0%,
    rgba(34, 197, 94, 0.02) 100%);
  border: 1px solid rgba(34, 197, 94, 0.22);
  border-radius: 12px;
  color: var(--text-primary, #fff);
  text-decoration: none;
  transition: all 180ms ease;
}

.cp-quick-help:hover {
  border-color: rgba(34, 197, 94, 0.45);
  transform: translateY(-1px);
}

.cp-quick-help > span {
  font-size: 18px;
  flex-shrink: 0;
}

.cp-quick-help > div {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  min-width: 0;
}

.cp-quick-help strong {
  font-size: 12.5px;
  font-weight: 700;
}

.cp-quick-help span:last-child {
  font-size: 11px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
}

/* ─── Content ─────────────────────────────────────────────────── */
.cp-content {
  padding: 28px 32px 40px;
  overflow-y: auto;
}

.cp-section.hidden { display: none; }

.cp-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}

.cp-section-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0 0 4px;
}

.cp-section-sub {
  font-size: 13.5px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
  margin: 0;
}

/* ─── Proyectos ───────────────────────────────────────────────── */
.cp-projects-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.cp-project-card {
  background: linear-gradient(160deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.012) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 180ms ease, transform 180ms ease;
}

.cp-project-card:hover {
  border-color: rgba(0, 149, 255, 0.25);
  transform: translateY(-2px);
}

.cp-project-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.cp-project-title {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0 0 4px;
}

.cp-project-meta {
  font-size: 12px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.55));
}

.cp-project-stage {
  padding: 4px 10px;
  background: rgba(0, 149, 255, 0.1);
  border: 1px solid rgba(0, 149, 255, 0.28);
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  color: #00d4ff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.cp-project-stage.done {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.cp-project-stage.paused {
  background: rgba(245, 158, 11, 0.08);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.cp-project-progress {
  margin-bottom: 14px;
}

.cp-progress-head {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.6));
  margin-bottom: 6px;
}

.cp-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
  overflow: hidden;
}

.cp-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0095ff 0%, #00d4ff 100%);
  border-radius: 999px;
  transition: width 400ms ease;
}

.cp-project-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cp-project-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.65));
}

.cp-project-step::before {
  content: '○';
  color: rgba(255, 255, 255, 0.25);
  font-size: 10px;
}

.cp-project-step.done::before {
  content: '●';
  color: #22c55e;
}

.cp-project-step.active {
  color: var(--text-primary, #fff);
}

.cp-project-step.active::before {
  content: '●';
  color: #00d4ff;
}

/* ─── Documentos ──────────────────────────────────────────────── */
.cp-docs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cp-doc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  transition: border-color 150ms ease, background 150ms ease;
  text-decoration: none;
  color: inherit;
}

.cp-doc-row:hover {
  background: rgba(0, 149, 255, 0.04);
  border-color: rgba(0, 149, 255, 0.22);
}

.cp-doc-ico {
  width: 36px;
  height: 36px;
  background: rgba(0, 149, 255, 0.08);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.cp-doc-body {
  flex: 1;
  min-width: 0;
}

.cp-doc-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary, #fff);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cp-doc-meta {
  font-size: 11.5px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
}

.cp-doc-download {
  font-size: 11px;
  color: #00d4ff;
  padding: 5px 10px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  border-radius: 6px;
  flex-shrink: 0;
}

/* ─── Soporte (tickets) ───────────────────────────────────────── */
.cp-ticket-form {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(0, 149, 255, 0.2);
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cp-ticket-form.hidden { display: none; }

.cp-ticket-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

.cp-tickets-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cp-ticket-row {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
}

.cp-ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
}

.cp-ticket-subj {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary, #fff);
}

.cp-ticket-status {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cp-ticket-status.open {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.28);
}

.cp-ticket-status.closed {
  background: rgba(34, 197, 94, 0.08);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.cp-ticket-meta {
  font-size: 11.5px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.5));
}

/* ─── Empty / loading states ──────────────────────────────────── */
.cp-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-secondary, rgba(255, 255, 255, 0.55));
}

.cp-empty-ico {
  font-size: 40px;
  margin-bottom: 10px;
}

.cp-empty h4 {
  font-family: var(--font-display, 'Plus Jakarta Sans', sans-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary, #fff);
  margin: 0 0 6px;
}

.cp-empty p { font-size: 13.5px; margin: 0; max-width: 360px; margin-inline: auto; line-height: 1.55; }

.cp-skeleton {
  background: linear-gradient(90deg,
    rgba(255, 255, 255, 0.04) 0%,
    rgba(255, 255, 255, 0.08) 50%,
    rgba(255, 255, 255, 0.04) 100%);
  background-size: 200% 100%;
  border-radius: 12px;
  animation: cpShimmer 1.6s ease-in-out infinite;
}

@keyframes cpShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.cp-skeleton-card { height: 160px; }
.cp-skeleton-row  { height: 60px; margin-bottom: 8px; }

/* ─── Responsive ──────────────────────────────────────────────── */
@media (max-width: 860px) {
  .cp-body {
    grid-template-columns: 1fr;
  }
  .cp-sidebar {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 14px 16px;
    justify-content: flex-start;
    flex-direction: column;
  }
  .cp-nav {
    flex-direction: row;
    gap: 6px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .cp-nav-btn { flex-shrink: 0; }
  .cp-nav-btn > span:last-child { white-space: nowrap; }
  .cp-sidebar-foot { display: none; }
  .cp-content { padding: 20px 16px 32px; }
}

@media (max-width: 560px) {
  .cp-topbar { padding: 12px 14px; flex-wrap: wrap; }
  .cp-user { padding: 4px 8px 4px 4px; }
  .cp-user-meta { display: none; }
  .cp-user-avatar { width: 28px; height: 28px; font-size: 12px; }
  .cp-logout-btn span { display: none; }
  .cp-logout-btn { padding: 8px; }
  .cp-section-title { font-size: 19px; }
  .cp-login-card { padding: 28px 22px; }
  .cp-projects-list { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cp-overlay, .cp-login-card, .cp-skeleton, .cp-submit-spinner,
  .cp-progress-fill { animation: none; transition: none; }
}
