/* Sign-in view shell */
.signin-view {
  padding-top: 0 !important;
}
.signin-view-content {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
}

/* Auth page layout */
.auth-page {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}
@media (min-width: 900px) {
  .auth-page {
    grid-template-columns: 1.05fr 1fr;
    gap: 28px;
    align-items: stretch;
  }
}
@media (max-width: 899px) {
  .auth-form-card { order: -1; }
  .auth-hero { order: 1; }
}

.auth-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, rgba(255, 161, 22, 0.14) 0%, rgba(14, 14, 16, 0.95) 48%, rgba(10, 10, 12, 1) 100%);
  border: 1px solid rgba(255, 161, 22, 0.22);
  border-radius: 24px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 0;
}
@media (min-width: 900px) {
  .auth-hero { min-height: 520px; padding: 36px 32px; }
}
.auth-hero-glow {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 161, 22, 0.22) 0%, transparent 70%);
  pointer-events: none;
}
.auth-hero-inner {
  position: relative;
  z-index: 1;
}
.auth-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.auth-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffa116, #ff8c00);
  color: #000;
  font-size: 22px !important;
}
.auth-brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #e5e1e4;
}
.auth-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 161, 22, 0.15);
  color: #ffa116;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  width: fit-content;
  margin-bottom: 16px;
}
.auth-hero h2 {
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #e5e1e4;
  margin-bottom: 12px;
}
.auth-hero p {
  font-size: 14px;
  color: #8b949e;
  line-height: 1.65;
  max-width: 36ch;
}
.auth-features {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.auth-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #c9c4c8;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(63, 63, 70, 0.25);
}
.auth-feature .material-symbols-outlined {
  font-size: 18px;
  color: #ffa116;
  flex-shrink: 0;
}
.auth-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.auth-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #a8a3a8;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(63, 63, 70, 0.3);
}
.auth-pill .material-symbols-outlined {
  font-size: 14px !important;
  color: #00a572;
}

.auth-card {
  background: rgba(14, 14, 16, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(63, 63, 70, 0.35);
  border-radius: 24px;
  padding: 24px 20px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}
@media (min-width: 480px) {
  .auth-card { padding: 28px 26px; }
}
.auth-form-card {
  border-top: 3px solid rgba(255, 161, 22, 0.55);
}
.auth-form-header {
  margin-bottom: 20px;
}
.auth-form-header h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #e5e1e4;
  margin-bottom: 4px;
}
.auth-form-header p {
  font-size: 13px;
  color: #8b949e;
  line-height: 1.5;
}
.auth-tabs {
  display: flex;
  background: rgba(32, 31, 34, 0.85);
  border-radius: 14px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 20px;
}
.auth-tab {
  flex: 1;
  min-height: 44px;
  padding: 10px 16px;
  border: none;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: all 0.2s;
  background: transparent;
  color: #8b949e;
}
.auth-tab.active {
  background: #ffa116;
  color: #000;
  box-shadow: 0 4px 14px rgba(255, 161, 22, 0.25);
}
.auth-tab:not(.active):hover { color: #e5e1e4; }

.auth-form-fields { margin-bottom: 4px; }
.auth-field {
  margin-bottom: 14px;
}
.auth-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b949e;
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(20, 20, 22, 0.95);
  border: 1px solid rgba(63, 63, 70, 0.4);
  color: #e5e1e4;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.auth-field input:focus {
  border-color: rgba(255, 161, 22, 0.55);
  box-shadow: 0 0 0 3px rgba(255, 161, 22, 0.12);
}
.auth-field input::placeholder { color: #6b7280; }

.auth-btn-primary {
  width: 100%;
  min-height: 48px;
  padding: 13px 20px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffa116, #ff8c00);
  color: #000;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.auth-btn-primary--inline {
  width: auto;
  padding: 12px 22px;
}
.auth-btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }
.auth-btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.auth-btn-google {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 20px;
  border-radius: 12px;
  background: #fff;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.auth-btn-google:hover { background: #f5f5f5; }
.auth-btn-google:disabled { opacity: 0.5; cursor: not-allowed; }

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  font-size: 11px;
  color: #8b949e;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(63, 63, 70, 0.35);
}
.auth-divider span { white-space: nowrap; }

.auth-form-footer {
  margin-top: 18px;
  text-align: center;
  font-size: 13px;
  color: #8b949e;
  line-height: 1.5;
}
.auth-link-btn {
  background: none;
  border: none;
  padding: 0;
  color: #ffa116;
  font-size: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.auth-link-btn:hover { color: #ffc04d; }

.auth-status {
  font-size: 12px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  min-height: 0;
}
.auth-status.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  color: #f87171;
}
.auth-status.ok {
  background: rgba(0, 165, 114, 0.1);
  border: 1px solid rgba(0, 165, 114, 0.25);
  color: #00a572;
}
.auth-status.info {
  background: rgba(255, 161, 22, 0.08);
  border: 1px solid rgba(255, 161, 22, 0.2);
  color: #d9c3ad;
}

.auth-state-card {
  text-align: center;
  padding: 48px 24px;
  border-radius: 24px;
  background: rgba(14, 14, 16, 0.9);
  border: 1px solid rgba(63, 63, 70, 0.35);
  max-width: 480px;
  margin: 0 auto;
}
.auth-state-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: #e5e1e4;
  margin-bottom: 8px;
}
.auth-state-card p {
  font-size: 13px;
  color: #8b949e;
  line-height: 1.6;
}
.auth-state-card--error .auth-state-icon { color: #f87171; }
.auth-state-icon {
  margin-bottom: 16px;
  color: #8b949e;
}
.auth-state-icon .material-symbols-outlined { font-size: 48px !important; }
.auth-state-spinner {
  width: 36px;
  height: 36px;
  margin: 0 auto 16px;
  border: 3px solid rgba(255, 161, 22, 0.2);
  border-top-color: #ffa116;
  border-radius: 50%;
  animation: auth-spin 0.8s linear infinite;
}
@keyframes auth-spin { to { transform: rotate(360deg); } }

.auth-setup-toggle {
  width: 100%;
  margin-top: 16px;
  padding: 12px;
  background: transparent;
  border: 1px dashed rgba(63, 63, 70, 0.4);
  border-radius: 10px;
  color: #8b949e;
  font-size: 11px;
  cursor: pointer;
  text-align: left;
}
.auth-setup-toggle:hover { border-color: rgba(255, 161, 22, 0.4); color: #e5e1e4; }
.auth-setup-panel {
  display: none;
  margin-top: 10px;
  padding: 14px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(63, 63, 70, 0.25);
  font-size: 11px;
  color: #8b949e;
  overflow-wrap: anywhere;
}
.auth-setup-panel.open { display: block; }
.auth-setup-panel code {
  display: block;
  margin-top: 8px;
  padding: 8px;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.4);
  color: #ffa116;
  word-break: break-all;
  font-size: 10px;
}

.auth-welcome-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255, 161, 22, 0.25);
  background: rgba(14, 14, 16, 0.92);
  max-width: 560px;
  margin: 0 auto;
}
.auth-welcome-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top, rgba(255, 161, 22, 0.12) 0%, transparent 55%);
  pointer-events: none;
}
.auth-welcome-body {
  position: relative;
  z-index: 1;
  padding: 36px 24px;
  text-align: center;
}
@media (min-width: 480px) {
  .auth-welcome-body { padding: 44px 36px; }
}
.auth-welcome-text { margin-bottom: 24px; }
.auth-welcome-label {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #00a572;
  margin-bottom: 8px;
}
.auth-welcome-text h3 {
  font-size: clamp(22px, 4vw, 26px);
  font-weight: 800;
  color: #e5e1e4;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.auth-welcome-text p {
  font-size: 13px;
  color: #8b949e;
  word-break: break-word;
}

.auth-signed-in-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 20px;
  border: 3px solid rgba(255, 161, 22, 0.45);
  object-fit: cover;
  display: block;
}
.auth-signed-in-placeholder {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, rgba(255, 161, 22, 0.25), rgba(255, 140, 0, 0.1));
  border: 2px solid rgba(255, 161, 22, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #ffa116;
}
.auth-signed-in-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.auth-btn-outline {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid rgba(63, 63, 70, 0.45);
  background: transparent;
  color: #e5e1e4;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.auth-btn-outline:hover { border-color: rgba(255, 161, 22, 0.5); color: #ffa116; }
.auth-btn-logout {
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 12px;
  border: 1px solid rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
  color: #f87171;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}
.auth-btn-logout:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.55);
}

.header-logout-btn {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(239, 68, 68, 0.3);
  background: transparent;
  color: #f87171;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
}
.header-logout-btn:hover {
  background: rgba(239, 68, 68, 0.1);
}

/* Enhanced dashboard components */
.sync-hub {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 768px) {
  .sync-hub { grid-template-columns: 1fr 1fr; }
}

.sync-card {
  background: rgba(14, 14, 16, 0.75);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(63, 63, 70, 0.25);
  border-radius: 16px;
  padding: 20px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sync-card:hover {
  border-color: rgba(255, 161, 22, 0.2);
}
.sync-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.sync-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.sync-card-icon.lc { background: rgba(255, 161, 22, 0.12); color: #ffa116; }
.sync-card-icon.lc .lc-logo-icon,
.sync-summary-icon.lc .lc-logo-icon {
  width: 22px;
  height: 22px;
  display: block;
}
.profile-lc-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffa116;
}
.profile-lc-icon .lc-logo-icon {
  width: 18px;
  height: 18px;
}
.lc-logo-icon { flex-shrink: 0; }

/* Desktop-only nav items & views (Extension tab) */
@media (max-width: 1023px) {
  .nav-desktop-only,
  .view-desktop-only {
    display: none !important;
  }
}

.sync-input-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sync-input {
  flex: 1;
  min-width: 140px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(32, 31, 34, 0.8);
  border: 1px solid rgba(63, 63, 70, 0.3);
  color: #e5e1e4;
  font-size: 13px;
  outline: none;
}
.sync-input:focus { border-color: rgba(255, 161, 22, 0.5); }

.sync-btn {
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.sync-btn-primary {
  background: #ffa116;
  color: #000;
}
.sync-btn-primary:hover { opacity: 0.9; }
.sync-btn-secondary {
  background: rgba(32, 31, 34, 0.9);
  color: #e5e1e4;
  border: 1px solid rgba(63, 63, 70, 0.4);
}
.sync-btn-secondary:hover { border-color: rgba(255, 161, 22, 0.4); }
.sync-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.sync-status {
  font-size: 11px;
  margin-top: 10px;
  min-height: 16px;
}
.sync-status.ok { color: #00a572; }
.sync-status.err { color: #ef4444; }
.sync-status.info { color: #8b949e; }

.sync-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(63, 63, 70, 0.2);
}
.sync-stat {
  text-align: center;
}
.sync-stat-val {
  font-size: 18px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
}
.sync-stat-label {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b949e;
  margin-top: 2px;
}

/* Analytics enhanced */
.analytics-hero {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) {
  .analytics-hero { grid-template-columns: repeat(4, 1fr); }
}
.analytics-kpi {
  background: rgba(14, 14, 16, 0.75);
  border: 1px solid rgba(63, 63, 70, 0.2);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}
.analytics-kpi::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ffa116, transparent);
  opacity: 0.6;
}
.analytics-kpi-val {
  font-size: 28px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.02em;
}
.analytics-kpi-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #8b949e;
  margin-bottom: 6px;
}

.chart-bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
}
.chart-bar-label {
  width: 72px;
  color: #8b949e;
  font-family: 'JetBrains Mono', monospace;
  flex-shrink: 0;
}
.chart-bar-track {
  flex: 1;
  height: 22px;
  background: rgba(32, 31, 34, 0.9);
  border-radius: 6px;
  overflow: hidden;
}
.chart-bar-fill {
  height: 100%;
  border-radius: 6px;
  background: linear-gradient(90deg, #ffa116, #ff8c00);
  transition: width 0.4s ease;
  min-width: 2px;
}
.chart-bar-val {
  width: 28px;
  text-align: right;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.diff-pill-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.diff-pill {
  flex: 1;
  min-width: 100px;
  padding: 12px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(63, 63, 70, 0.2);
}
.diff-pill.easy { border-color: rgba(0, 165, 114, 0.3); background: rgba(0, 165, 114, 0.06); }
.diff-pill.medium { border-color: rgba(251, 163, 21, 0.3); background: rgba(251, 163, 21, 0.06); }
.diff-pill.hard { border-color: rgba(255, 180, 171, 0.3); background: rgba(255, 180, 171, 0.06); }

/* Striver enhanced */
.striver-progress-ring {
  position: relative;
  width: 120px;
  height: 120px;
}
.striver-section-card {
  border: 1px solid rgba(63, 63, 70, 0.2);
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 12px;
}
.striver-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: rgba(32, 31, 34, 0.5);
  cursor: pointer;
  user-select: none;
  transition: background 0.2s;
}
.striver-section-header:hover { background: rgba(255, 161, 22, 0.04); }
.striver-section-progress {
  height: 4px;
  background: rgba(32, 31, 34, 0.9);
}
.striver-section-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00a572, #ffa116);
  transition: width 0.3s;
}
.striver-section-body { display: none; }
.striver-section-body.open { display: block; }
.striver-problem-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-top: 1px solid rgba(63, 63, 70, 0.15);
  transition: background 0.15s;
}
.striver-problem-row:hover { background: rgba(255, 255, 255, 0.02); }
.striver-problem-row.done { border-left: 3px solid #00a572; }

.overview-section-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #8b949e;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.overview-section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(63, 63, 70, 0.2);
}


.gh-lang-tag {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  background: rgba(255, 161, 22, 0.1);
  color: #ffa116;
  margin-right: 4px;
}

/* Developers page */
.dev-hero {
  position: relative;
  text-align: center;
  padding: 48px 24px 40px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 161, 22, 0.1) 0%, rgba(14, 14, 16, 0.95) 50%);
  border: 1px solid rgba(255, 161, 22, 0.15);
  overflow: hidden;
  margin-bottom: 28px;
}
.dev-hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 161, 22, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.dev-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 161, 22, 0.15);
  color: #ffa116;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.dev-hero-title {
  font-size: clamp(24px, 5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #e5e1e4;
  margin-bottom: 12px;
  word-wrap: break-word;
}
.dev-hero-sub {
  font-size: 14px;
  color: #8b949e;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
  padding: 0 4px;
}
.dev-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
  min-width: 0;
}
@media (min-width: 640px) {
  .dev-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
}
.dev-card {
  background: rgba(20, 20, 22, 0.8);
  border: 1px solid rgba(63, 63, 70, 0.25);
  border-radius: 20px;
  padding: 24px 18px;
  text-align: center;
  transition: border-color 0.25s, transform 0.25s;
  min-width: 0;
  overflow: hidden;
}
@media (min-width: 480px) {
  .dev-card { padding: 28px 24px; }
}
.dev-card:hover {
  border-color: rgba(255, 161, 22, 0.35);
  transform: translateY(-2px);
}
.dev-photo-wrap {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
}
.dev-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 161, 22, 0.3);
}
.dev-photo-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 161, 22, 0.15);
  pointer-events: none;
}
.dev-name {
  font-size: 18px;
  font-weight: 700;
  color: #e5e1e4;
  margin-bottom: 4px;
}
.dev-role {
  font-size: 11px;
  color: #ffa116;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.dev-meta {
  text-align: left;
  font-size: 12px;
  color: #8b949e;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dev-meta > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dev-meta > div span:last-child {
  word-break: break-word;
  overflow-wrap: anywhere;
}
.dev-footer {
  width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}
.dev-meta-label {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #555;
}
.dev-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.dev-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid rgba(63, 63, 70, 0.3);
  font-size: 11px;
  font-weight: 600;
  color: #c9c4c8;
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.dev-social-btn:hover {
  border-color: rgba(255, 161, 22, 0.4);
  color: #ffa116;
}

/* Developers / profile view shells */
.developers-view,
.developers-view-content {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: hidden;
}

/* Profile page */
.profile-view-content {
  width: 100%;
  max-width: 720px;
  min-width: 0;
}
.profile-page-card {
  background: rgba(14, 14, 16, 0.9);
  border: 1px solid rgba(63, 63, 70, 0.35);
  border-radius: 24px;
  padding: 20px 16px;
  overflow: hidden;
}
@media (min-width: 480px) {
  .profile-page-card { padding: 24px 22px; }
}
.profile-header {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(63, 63, 70, 0.25);
}
@media (min-width: 560px) {
  .profile-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.profile-header-main {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  flex: 1;
}
.profile-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 161, 22, 0.35);
  flex-shrink: 0;
}
.profile-avatar--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 161, 22, 0.15);
  color: #ffa116;
}
.profile-header-info {
  min-width: 0;
  flex: 1;
}
.profile-header-info h2 {
  font-size: 18px;
  font-weight: 700;
  color: #e5e1e4;
  word-break: break-word;
}
.profile-email {
  font-size: 13px;
  color: #8b949e;
  word-break: break-all;
}
.profile-member-since {
  font-size: 11px;
  color: #6b7280;
  margin-top: 4px;
}
.profile-signout-btn {
  align-self: flex-start;
  width: 100%;
}
@media (min-width: 560px) {
  .profile-signout-btn { width: auto; align-self: center; }
}
.profile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 22px;
}
@media (min-width: 640px) {
  .profile-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.profile-stat {
  padding: 14px 12px;
  border-radius: 14px;
  background: rgba(32, 31, 34, 0.55);
  border: 1px solid rgba(63, 63, 70, 0.25);
  text-align: center;
  min-width: 0;
}
.profile-stat-label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b949e;
  margin-bottom: 6px;
}
.profile-stat-val {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.1;
}
.profile-section {
  padding-top: 18px;
  margin-top: 18px;
  border-top: 1px solid rgba(63, 63, 70, 0.2);
}
.profile-section--last { margin-bottom: 0; }
.profile-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #e5e1e4;
  margin-bottom: 12px;
}
.profile-section-title .material-symbols-outlined {
  font-size: 18px !important;
  color: #ffa116;
}
.profile-link-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media (min-width: 560px) {
  .profile-link-row {
    flex-direction: row;
    align-items: stretch;
  }
}
.profile-input {
  flex: 1;
  min-width: 0;
  min-height: 46px;
  padding: 11px 14px;
  border-radius: 12px;
  background: rgba(20, 20, 22, 0.95);
  border: 1px solid rgba(63, 63, 70, 0.4);
  color: #e5e1e4;
  font-size: 16px;
  outline: none;
}
.profile-input:focus {
  border-color: rgba(255, 161, 22, 0.5);
}
.profile-link-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.profile-btn {
  flex: 1;
  min-height: 46px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
@media (min-width: 560px) {
  .profile-btn { flex: 0 0 auto; }
}
.profile-btn--secondary {
  background: rgba(63, 63, 70, 0.45);
  color: #e5e1e4;
}
.profile-btn--primary {
  background: transparent;
  border: 1px solid rgba(255, 161, 22, 0.45);
  color: #ffa116;
}
.profile-btn--primary:disabled { opacity: 0.5; cursor: not-allowed; }
.profile-meta-line {
  font-size: 11px;
  color: #8b949e;
  margin-top: 8px;
}
.profile-toggle-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #c9c4c8;
  line-height: 1.5;
  cursor: pointer;
}
.profile-toggle-row input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.profile-guest-card {
  text-align: center;
  padding: 40px 20px;
  border-radius: 24px;
  background: rgba(14, 14, 16, 0.9);
  border: 1px solid rgba(63, 63, 70, 0.35);
  max-width: 420px;
  margin: 0 auto;
}
.profile-guest-card h2 {
  font-size: 18px;
  font-weight: 700;
  color: #e5e1e4;
  margin-bottom: 8px;
}
.profile-guest-card p {
  font-size: 13px;
  color: #8b949e;
  margin-bottom: 20px;
  line-height: 1.5;
}
.profile-guest-icon {
  font-size: 48px !important;
  color: rgba(139, 148, 158, 0.45);
  margin-bottom: 12px;
}

/* Overview sync summary (after first full sync) */
.sync-summary-card {
  background: rgba(20, 20, 22, 0.85);
  border: 1px solid rgba(63, 63, 70, 0.3);
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sync-summary-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
}
.sync-summary-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  flex-shrink: 0;
}
.sync-summary-icon.lc {
  background: rgba(255, 161, 22, 0.12);
  color: #ffa116;
}
.sync-summary-icon.gh {
  background: rgba(255, 255, 255, 0.08);
  color: #e5e1e4;
}
.sync-card-icon.gh { background: rgba(255, 255, 255, 0.08); color: #e5e1e4; }
.sync-summary-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.sync-summary-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b949e;
}
.sync-summary-value {
  font-size: 14px;
  font-weight: 700;
  color: #e5e1e4;
  word-break: break-all;
}
.sync-summary-meta {
  font-size: 11px;
  color: #6b7280;
  line-height: 1.4;
  word-break: break-word;
}
.sync-summary-manage {
  align-self: flex-start;
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 161, 22, 0.35);
  background: transparent;
  color: #ffa116;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
}
.sync-summary-manage:hover {
  background: rgba(255, 161, 22, 0.08);
}

/* Weekly plan goals */
.plan-hero { border: 1px solid rgba(255, 161, 22, 0.12); }
.plan-goal-card { border: 1px solid rgba(63, 63, 70, 0.2); transition: border-color 0.2s; }
.plan-goal-card.completed { border-color: rgba(0, 165, 114, 0.3); }
.plan-goal-card:hover { border-color: rgba(255, 161, 22, 0.25); }

/* Analytics stat cards */
.stat-card-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
}
@media (min-width: 480px) {
  .stat-card-grid { grid-template-columns: repeat(3, 1fr); }
}
.stat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 16px;
  border-radius: 14px;
  background: rgba(32, 31, 34, 0.5);
  border: 1px solid rgba(63, 63, 70, 0.25);
  text-align: center;
  min-height: 120px;
}
.stat-card-easy { border-color: rgba(0, 165, 114, 0.3); background: rgba(0, 165, 114, 0.06); }
.stat-card-medium { border-color: rgba(251, 163, 21, 0.3); background: rgba(251, 163, 21, 0.06); }
.stat-card-hard { border-color: rgba(255, 180, 171, 0.3); background: rgba(255, 180, 171, 0.06); }
.stat-card-value {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}
.stat-card-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #c9c4c8;
}
.stat-card-sub {
  font-size: 11px;
  color: #8b949e;
  line-height: 1.4;
}
.analytics-notice {
  border: 1px solid rgba(255, 161, 22, 0.2);
  background: rgba(255, 161, 22, 0.05);
}

/* GitHub sync page */
.github-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 900px) {
  .github-layout {
    grid-template-columns: 320px 1fr;
    gap: 24px;
    align-items: start;
  }
}
.github-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.github-input { width: 100%; min-width: 0; }
.github-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.github-form-actions .sync-btn { flex: 1; min-width: 100px; }
.github-profile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 24px !important;
}
@media (min-width: 480px) {
  .github-profile-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
}
.github-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid rgba(63, 63, 70, 0.3);
  flex-shrink: 0;
}
.github-profile-info { flex: 1; min-width: 0; }
.github-kpis { margin-bottom: 0; }
.gh-lang-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.gh-lang-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  background: rgba(255, 161, 22, 0.1);
  color: #ffa116;
  border: 1px solid rgba(255, 161, 22, 0.15);
}
.gh-lang-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  opacity: 0.8;
}
.gh-repo-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.gh-repo-card {
  padding: 16px 18px;
  border: 1px solid rgba(63, 63, 70, 0.25);
  border-radius: 12px;
  transition: border-color 0.2s;
}
.gh-repo-card:hover { border-color: rgba(255, 161, 22, 0.3); }
.gh-repo-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}
.gh-repo-name {
  font-size: 14px;
  font-weight: 700;
  color: #e5e1e4;
  text-decoration: none;
}
.gh-repo-name:hover { color: #ffa116; }
.gh-repo-stars {
  font-size: 12px;
  font-family: 'JetBrains Mono', monospace;
  color: #fba315;
  flex-shrink: 0;
}
.gh-repo-desc {
  font-size: 13px;
  color: #8b949e;
  line-height: 1.5;
  margin-bottom: 10px;
}
.gh-repo-lang {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #8b949e;
}

/* SRM Insider banner */
.srm-insider-banner {
  display: block;
  position: relative;
  margin-bottom: 28px;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid rgba(255, 161, 22, 0.25);
  background: linear-gradient(135deg, rgba(255, 161, 22, 0.12) 0%, rgba(14, 14, 16, 0.95) 60%);
  transition: border-color 0.25s, transform 0.25s;
}
.srm-insider-banner:hover {
  border-color: rgba(255, 161, 22, 0.5);
  transform: translateY(-2px);
}
.srm-insider-glow {
  position: absolute;
  right: -20%;
  top: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 161, 22, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.srm-insider-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  position: relative;
  min-width: 0;
}
@media (max-width: 640px) {
  .srm-insider-content {
    flex-wrap: wrap;
    padding: 16px !important;
    gap: 12px;
  }
  .srm-insider-arrow { display: none; }
}
.srm-insider-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 161, 22, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffa116;
  flex-shrink: 0;
}
.srm-insider-text { flex: 1; min-width: 0; }
.srm-insider-tag {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffa116;
  margin-bottom: 4px;
}
.srm-insider-title {
  font-size: 20px;
  font-weight: 800;
  color: #e5e1e4;
  letter-spacing: -0.02em;
}
.srm-insider-sub {
  font-size: 12px;
  color: #8b949e;
  margin-top: 4px;
  line-height: 1.5;
}
.srm-insider-arrow {
  color: #ffa116;
  flex-shrink: 0;
}

/* Global responsive helpers */
@media (max-width: 1023px) {
  .sync-hub { grid-template-columns: 1fr !important; }
  .analytics-hero { grid-template-columns: repeat(2, 1fr) !important; }
  .github-layout { grid-template-columns: 1fr !important; }
  .ext-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .auth-page { grid-template-columns: 1fr !important; }
  .dev-grid { grid-template-columns: 1fr !important; }
  .stat-card-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .analytics-hero { grid-template-columns: repeat(2, 1fr) !important; }
  .github-kpis { grid-template-columns: repeat(2, 1fr) !important; }
  .plan-hero .flex-wrap { flex-direction: column; align-items: flex-start !important; }
  .sync-card { padding: 16px !important; }
  .auth-hero { padding: 22px 18px !important; }
  .auth-features { grid-template-columns: 1fr !important; }
  .auth-pills { gap: 6px; }
  .auth-signed-in-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .auth-signed-in-actions .auth-btn-primary--inline,
  .auth-signed-in-actions .auth-btn-outline,
  .auth-signed-in-actions .auth-btn-logout {
    width: 100%;
  }
  .srm-insider-content { padding: 16px !important; }
}
@media (max-width: 640px) {
  .analytics-hero { grid-template-columns: 1fr !important; }
  .github-kpis { grid-template-columns: 1fr !important; }
  .stat-card-grid { grid-template-columns: 1fr !important; }
  .ext-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 480px) {
  .analytics-kpi { padding: 14px !important; }
  .analytics-kpi-val { font-size: 22px !important; }
  .sync-input-row { flex-direction: column; }
  .sync-input-row .sync-btn { width: 100%; }
  .ext-feature-grid { grid-template-columns: 1fr !important; }
  .github-form-actions { flex-direction: column; }
  .github-form-actions .sync-btn { width: 100%; }
  .nav-item { padding: 12px 14px !important; font-size: 12px !important; }
  .signin-view-content { padding: 0 2px; }
  .auth-card { border-radius: 20px; }
  .auth-hero { border-radius: 20px; }
  .auth-brand-name { font-size: 20px; }
}

/* Heatmap */
.heatmap-grid { display: flex; gap: 3px; min-width: max-content; }
.heatmap-week { display: flex; flex-direction: column; gap: 3px; }
.heatmap-cell { width: 12px; height: 12px; border-radius: 2px; }
.heatmap-cell.level-0 { background: var(--hm-0, #201f22); }
.heatmap-cell.level-1 { background: var(--hm-1, rgba(0, 165, 114, 0.35)); }
.heatmap-cell.level-2 { background: var(--hm-2, rgba(0, 165, 114, 0.55)); }
.heatmap-cell.level-3 { background: var(--hm-3, rgba(255, 161, 22, 0.65)); }
.heatmap-cell.level-4 { background: var(--hm-4, #ffa116); }
.heatmap-legend { width: 12px; height: 12px; border-radius: 2px; }
.heatmap-legend.level-0 { background: var(--hm-0, #201f22); }
.heatmap-legend.level-1 { background: var(--hm-1); }
.heatmap-legend.level-2 { background: var(--hm-2); }
.heatmap-legend.level-3 { background: var(--hm-3); }
.heatmap-legend.level-4 { background: var(--hm-4); }

/* Problem source badges */
.problem-src-badge {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
  vertical-align: middle;
}
.problem-src-badge.lc { background: rgba(255, 161, 22, 0.15); color: #ffa116; }
.problem-src-badge.tracked { background: rgba(0, 165, 114, 0.12); color: #00a572; }
.problem-src-badge.both { background: rgba(251, 163, 21, 0.15); color: #fba315; }

/* GitHub analytics extras */
.gh-insight-list { display: flex; flex-direction: column; gap: 10px; }
.gh-insight-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(63, 63, 70, 0.15);
}
.gh-insight-row:last-child { border-bottom: none; }
.gh-insight-row span { color: #8b949e; }
.gh-insight-row strong { color: #e5e1e4; font-family: 'JetBrains Mono', monospace; }
.gh-top-repo-name {
  font-size: 16px;
  font-weight: 700;
  color: #e5e1e4;
  text-decoration: none;
}
.gh-top-repo-name:hover { color: #ffa116; }
.gh-lang-bars { display: flex; flex-direction: column; gap: 12px; }
.gh-lang-bar-row { width: 100%; }
.gh-lang-bar-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  margin-bottom: 6px;
}
.gh-lang-bar-name { font-weight: 600; color: #e5e1e4; }
.gh-lang-bar-pct { color: #8b949e; font-size: 11px; }
.gh-lang-bar-track {
  height: 8px;
  background: rgba(63, 63, 70, 0.3);
  border-radius: 4px;
  overflow: hidden;
}
.gh-lang-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ffa116, #fba315);
  border-radius: 4px;
}
.gh-repo-pagination {
  display: flex;
  align-items: center;
  gap: 4px;
}
.gh-repo-pagination button:disabled { opacity: 0.3; cursor: not-allowed; }
.gh-repo-meta { display: flex; gap: 10px; flex-shrink: 0; }
.gh-repo-forks { font-size: 12px; color: #8b949e; font-family: 'JetBrains Mono', monospace; }
.gh-repo-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
  font-size: 11px;
}
.gh-repo-updated { color: #8b949e; }

/* Extension page */
.ext-hero {
  position: relative;
  text-align: center;
  padding: 40px 24px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(255, 161, 22, 0.08) 0%, rgba(14, 14, 16, 0.95) 55%);
  border: 1px solid rgba(63, 63, 70, 0.25);
  margin-bottom: 20px;
  overflow: hidden;
}
.ext-hero-active { border-color: rgba(0, 165, 114, 0.35); }
.ext-hero-glow {
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 161, 22, 0.1) 0%, transparent 70%);
  pointer-events: none;
}
.ext-hero-icon { font-size: 48px !important; color: #8b949e; margin-bottom: 12px; }
.ext-hero-title { font-size: 24px; font-weight: 800; color: #e5e1e4; margin-bottom: 8px; }
.ext-hero-sub { font-size: 14px; color: #8b949e; max-width: 480px; margin: 0 auto; line-height: 1.6; }
.ext-live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #00a572;
  box-shadow: 0 0 12px rgba(0, 165, 114, 0.6);
  margin-bottom: 12px;
  animation: ext-pulse 2s infinite;
}
@keyframes ext-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}
.ext-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
.ext-stat-card {
  background: rgba(20, 20, 22, 0.8);
  border: 1px solid rgba(63, 63, 70, 0.25);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
}
.ext-stat-val {
  font-size: 28px;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  color: #e5e1e4;
  margin: 8px 0 4px;
}
.ext-stat-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8b949e;
}
.ext-install-panel { text-align: center; }
.ext-install-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
  margin-bottom: 24px;
}
.ext-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ext-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 161, 22, 0.15);
  color: #ffa116;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ext-step strong { display: block; font-size: 13px; color: #e5e1e4; margin-bottom: 2px; }
.ext-step p { font-size: 12px; color: #8b949e; margin: 0; line-height: 1.5; }
.ext-install-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: #ffa116;
  color: #000;
  font-weight: 700;
  font-size: 13px;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
  max-width: 360px;
}
.ext-install-btn:hover { opacity: 0.9; }
.ext-install-btn.secondary {
  background: transparent;
  color: #ffa116;
  border: 1px solid rgba(255, 161, 22, 0.4);
}
.ext-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.ext-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(32, 31, 34, 0.5);
  border-radius: 10px;
  font-size: 12px;
  color: #c9c4c8;
}
.ext-feature .material-symbols-outlined { font-size: 18px !important; color: #ffa116; }
.ext-active-session {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255, 161, 22, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 161, 22, 0.2);
}
.ext-status-card {
  text-align: center;
  padding: 48px 24px;
  border-radius: 20px;
  border: 1px solid rgba(63, 63, 70, 0.25);
  background: rgba(14, 14, 16, 0.9);
}
.ext-status-icon { font-size: 56px !important; margin-bottom: 16px; }
.ext-status-icon.ok { color: #00a572; }
.ext-status-icon.warn { color: #fba315; }
.ext-status-title { font-size: 20px; font-weight: 700; color: #e5e1e4; margin-bottom: 8px; }
.ext-status-desc { font-size: 14px; color: #8b949e; max-width: 420px; margin: 0 auto; line-height: 1.6; }
.ext-mobile-notice { border-color: rgba(251, 163, 21, 0.3); }
.ext-tips div { padding: 4px 0; }
