:root {
  --brand: #059669;
  --brand-d: #047857;
  --brand-l: #d1fae5;
  --brand-mid: #10b981;
  --brand-accent: #34d399;
  --brand-light: #6ee7b7;
  --sidebar-bg: #064e3b;
  --sidebar-mid: #065f46;
  --gradient-btn: linear-gradient(135deg, #059669 0%, #34d399 100%);
  --gradient-logo: linear-gradient(135deg, #10b981, #6ee7b7);
  --gradient-login: linear-gradient(145deg, #064e3b 0%, #065f46 35%, #047857 70%, #10b981 100%);
  --nav-active: rgba(16,185,129,0.35);
  --focus: #10b981;
  --focus-ring: rgba(16,185,129,0.1);
  --btn-shadow: rgba(5,150,105,0.35);
}

/* Sidebar & navigation */
.sidebar { background: var(--sidebar-bg) !important; }
.sidebar-brand .logo { background: #fff !important; }
.nav-link.active { background: var(--nav-active) !important; }
.user-avatar,
.profile-avatar-big,
.logo-upload-preview .placeholder { background: #fff !important; }

/* Buttons & CTAs */
.btn-new-doc,
.btn-save,
.btn-login,
.btn-submit,
.btn-create,
.btn-create-doc,
.btn-primary-theme,
.theme-btn-primary,
.profile-save-btn,
.chat-send-btn,
.ai-panel-send,
.sign-panel .btn-primary,
.docs-sidebar .btn-send,
button.btn-ai-open,
.btn-sidebar-submit { background: var(--gradient-btn) !important; }

.btn-new-doc:hover,
.btn-login:hover,
.btn-save:hover,
.theme-btn-primary:hover { box-shadow: 0 8px 20px var(--btn-shadow) !important; }

/* Login */
.left-panel { background: var(--gradient-login) !important; }
.footer-note a { color: var(--brand-mid) !important; }

/* Focus states */
input:focus,
textarea:focus,
select:focus,
.form-group input:focus,
.user-search-input:focus,
.chat-input-row textarea:focus { border-color: var(--focus) !important; }
input:focus,
textarea:focus,
.form-group input:focus { box-shadow: 0 0 0 4px var(--focus-ring) !important; }

/* Docs / editor UI */
.chat-msg.assistant .chat-avatar,
.ai-modal-icon,
.theme-gradient-icon { background: var(--gradient-btn) !important; }
.sign-mode-btn.active { background: var(--brand) !important; color: #fff !important; }
.modal-tab-btn.active { color: var(--brand) !important; border-bottom-color: var(--brand-mid) !important; }
.modal-tab-btn { border-bottom: 2px solid transparent; }
.docs-right-panel-header { background: var(--sidebar-bg) !important; border-color: var(--sidebar-mid) !important; }
.btn-dashboard { background: var(--sidebar-bg) !important; color: #fff !important; border-color: var(--sidebar-mid) !important; }
.btn-dashboard:hover { background: var(--sidebar-mid) !important; }

/* Utility classes */
.theme-gradient-header { background: var(--gradient-btn) !important; color: #fff !important; }
.theme-text-brand { color: var(--brand) !important; }
.theme-link { color: var(--brand) !important; font-weight: 600; }