/* ═══════════════════════════════════════════
   WOLARO PANEL — STYLESHEET v1
   Même design system que le site principal
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

:root {
  --primary:       #7B5CF6;
  --primary-light: #9B7FFF;
  --primary-dark:  #5B3FD4;
  --accent:        #A855F7;
  --discord:       #5865F2;
  --grad:          linear-gradient(135deg, #5B3FD4 0%, #7B5CF6 55%, #A855F7 100%);

  --dark:  #07071A;
  --dark2: #0B0B20;
  --dark3: #0F0F28;
  --card:  #141430;
  --card2: #181840;

  --border:  rgba(123,92,246,0.18);
  --border2: rgba(255,255,255,0.06);

  --text:   #EEEEFF;
  --muted:  #8888BB;
  --muted2: #5555A0;

  --green:  #22C55E;
  --yellow: #F59E0B;
  --red:    #EF4444;

  --font: 'Space Grotesk', -apple-system, sans-serif;
  --radius: 14px;
  --sidebar-w: 260px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  background: var(--dark);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── STARS ─── */
.stars { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.star { position: absolute; width: 2px; height: 2px; background: white; border-radius: 50%; opacity: 0; animation: twinkle var(--dur,3s) var(--delay,0s) infinite; }
@keyframes twinkle { 0%,100%{opacity:0;transform:scale(.5)} 50%{opacity:var(--op,.3);transform:scale(1)} }

/* ─── BACKGROUND GLOW ─── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 50% at 5% -5%, rgba(91,63,212,.15) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 95% 105%, rgba(168,85,247,.10) 0%, transparent 65%);
}

/* ═══════════════════════════════════════════
   LOGIN PAGE
   ═══════════════════════════════════════════ */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  padding: 2rem;
}

.login-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.8rem 2.5rem;
  width: 100%;
  max-width: 420px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,.6);
  animation: fadeUp .5s ease both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.login-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  margin-bottom: 1.8rem;
  text-decoration: none;
}
.login-logo img { width: 44px; height: 44px; }
.login-logo span { font-size: 1.5rem; font-weight: 700; color: var(--text); }

.login-card h1 { font-size: 1.4rem; font-weight: 700; margin-bottom: .4rem; }
.login-card p { color: var(--muted); font-size: .88rem; margin-bottom: 2rem; line-height: 1.5; }

.btn-discord-login {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .7rem;
  width: 100%;
  padding: .9rem 1.5rem;
  background: var(--discord);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: .95rem;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
  box-shadow: 0 6px 28px rgba(88,101,242,.35);
}
.btn-discord-login:hover { transform: translateY(-2px); box-shadow: 0 10px 38px rgba(88,101,242,.55); }
.btn-discord-login svg { width: 20px; height: 20px; fill: white; flex-shrink: 0; }

.login-footer { margin-top: 1.5rem; font-size: .78rem; color: var(--muted2); }
.login-footer a { color: var(--primary-light); text-decoration: none; }

/* ═══════════════════════════════════════════
   PANEL LAYOUT
   ═══════════════════════════════════════════ */
.panel-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ─── SIDEBAR ─── */
.sidebar {
  width: var(--sidebar-w);
  background: var(--dark2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
  transition: transform .3s;
}
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }

.sidebar-header {
  padding: 1.3rem 1.2rem 1rem;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.sidebar-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--text);
}
.sidebar-logo img { width: 32px; height: 32px; }
.sidebar-logo span { font-size: 1.1rem; font-weight: 700; }
.sidebar-badge {
  margin-left: auto;
  background: var(--grad);
  color: white;
  font-size: .6rem;
  font-weight: 700;
  padding: .15rem .45rem;
  border-radius: 6px;
  letter-spacing: .04em;
}

/* Server selector */
.server-selector {
  padding: .9rem 1.2rem;
  border-bottom: 1px solid var(--border);
}
.server-selector label {
  font-size: .7rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  display: block;
  margin-bottom: .45rem;
}
.server-select-btn {
  display: flex;
  align-items: center;
  gap: .65rem;
  width: 100%;
  padding: .55rem .75rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: var(--font);
  font-size: .82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all .2s;
  text-align: left;
}
.server-select-btn:hover { border-color: var(--primary); background: var(--card2); }
.server-select-btn img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.server-select-btn .server-name { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-select-btn svg { color: var(--muted); width: 14px; height: 14px; flex-shrink: 0; }

/* Nav groups */
.sidebar-nav {
  padding: .8rem .8rem;
  flex: 1;
}
.nav-group { margin-bottom: 1.2rem; }
.nav-group-label {
  font-size: .67rem;
  font-weight: 700;
  color: var(--muted2);
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: 0 .6rem;
  margin-bottom: .3rem;
}
.nav-item {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .5rem .7rem;
  border-radius: 9px;
  text-decoration: none;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 500;
  transition: all .2s;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  font-family: var(--font);
  position: relative;
}
.nav-item:hover { background: rgba(123,92,246,.08); color: var(--text); }
.nav-item.active { background: rgba(123,92,246,.16); color: var(--text); }
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: var(--grad);
  border-radius: 0 3px 3px 0;
}
.nav-item img { width: 20px; height: 20px; object-fit: contain; flex-shrink: 0; opacity: .75; }
.nav-item.active img, .nav-item:hover img { opacity: 1; }
.nav-item .nav-badge {
  margin-left: auto;
  background: var(--primary);
  color: white;
  font-size: .6rem;
  font-weight: 700;
  padding: .1rem .4rem;
  border-radius: 5px;
}

/* Sidebar footer */
.sidebar-footer {
  padding: .9rem 1.2rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}
.user-card {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .5rem .6rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s;
}
.user-card:hover { background: var(--card); }
.user-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
}
.user-avatar-fallback {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.user-info { flex: 1; min-width: 0; }
.user-name { font-size: .82rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-tag { font-size: .7rem; color: var(--muted); }
.user-card svg { color: var(--muted); width: 14px; height: 14px; flex-shrink: 0; }

/* ─── MAIN CONTENT ─── */
.panel-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,26,.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.topbar-title h1 { font-size: 1.1rem; font-weight: 700; }
.topbar-title p { font-size: .78rem; color: var(--muted); margin-top: .1rem; }
.topbar-actions { display: flex; align-items: center; gap: .7rem; }

/* Bot status pill in topbar */
.bot-pill {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .85rem;
  border-radius: 50px;
  border: 1px solid rgba(34,197,94,.25);
  background: rgba(34,197,94,.08);
  font-size: .78rem;
  font-weight: 600;
  color: var(--green);
}
.bot-pill.offline { border-color: rgba(239,68,68,.25); background: rgba(239,68,68,.08); color: var(--red); }
.bot-pill .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.bot-pill.offline .dot { background: var(--red); animation: none; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.6;transform:scale(1.3)} }

/* Save bar */
.save-bar {
  position: fixed;
  bottom: 0; left: var(--sidebar-w); right: 0;
  background: var(--card);
  border-top: 1px solid var(--border);
  padding: .9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 90;
  transform: translateY(100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.save-bar.visible { transform: translateY(0); }
.save-bar-text { font-size: .85rem; color: var(--muted); }
.save-bar-text strong { color: var(--yellow); }
.save-bar-actions { display: flex; gap: .65rem; }

/* Page content */
.page-content {
  padding: 2rem;
  flex: 1;
  padding-bottom: 5rem;
}
.page-content.hidden { display: none; }

/* ─── CARDS ─── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.2rem;
}
.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
  flex-wrap: wrap;
  gap: .5rem;
}
.card-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1rem;
  font-weight: 700;
}
.card-title img { width: 24px; height: 24px; object-fit: contain; }
.card-desc { font-size: .82rem; color: var(--muted); margin-top: .15rem; }

/* ─── STAT CARDS ─── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 80px;
  border-radius: 50%;
  background: var(--grad);
  opacity: .06;
  transform: translate(25px, -25px);
}
.stat-label { font-size: .73rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .3rem; }
.stat-value { font-size: 1.7rem; font-weight: 700; line-height: 1; }
.stat-sub { font-size: .73rem; color: var(--muted); margin-top: .3rem; }
.stat-icon { position: absolute; top: 1.1rem; right: 1.1rem; width: 28px; height: 28px; object-fit: contain; opacity: .6; }

/* ─── FORM ELEMENTS ─── */
.form-group { margin-bottom: 1.1rem; }
.form-group:last-child { margin-bottom: 0; }
.form-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}
.form-hint { font-size: .72rem; color: var(--muted); margin-top: .3rem; }

.form-input, .form-select, .form-textarea {
  width: 100%;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .62rem .9rem;
  color: var(--text);
  font-family: var(--font);
  font-size: .85rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(123,92,246,.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--muted2); }
.form-select { cursor: pointer; }
.form-select option { background: var(--dark3); color: var(--text); }
.form-textarea { resize: vertical; min-height: 90px; }

/* Row layout */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form-row, .form-row-3 { grid-template-columns: 1fr; } }

/* ─── TOGGLE ─── */
.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .8rem 0;
  border-bottom: 1px solid var(--border2);
}
.toggle-row:last-child { border-bottom: none; }
.toggle-info { flex: 1; }
.toggle-title { font-size: .85rem; font-weight: 600; margin-bottom: .1rem; }
.toggle-desc { font-size: .75rem; color: var(--muted); }
.toggle {
  position: relative;
  width: 42px; height: 24px;
  flex-shrink: 0;
}
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: .25s;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 2px; top: 2px;
  background: var(--muted);
  border-radius: 50%;
  transition: .25s;
}
.toggle input:checked + .toggle-slider { background: rgba(123,92,246,.3); border-color: var(--primary); }
.toggle input:checked + .toggle-slider::before { transform: translateX(18px); background: var(--primary-light); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem 1.2rem;
  border-radius: 9px;
  font-family: var(--font);
  font-size: .83rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-primary { background: var(--grad); color: white; box-shadow: 0 4px 18px rgba(123,92,246,.3); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(123,92,246,.5); }
.btn-secondary { background: var(--card2); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--dark3); border-color: var(--primary); }
.btn-danger { background: rgba(239,68,68,.12); color: var(--red); border: 1px solid rgba(239,68,68,.25); }
.btn-danger:hover { background: rgba(239,68,68,.2); }
.btn-sm { padding: .38rem .85rem; font-size: .77rem; border-radius: 8px; }
.btn-icon { padding: .5rem; border-radius: 8px; }
.btn svg { width: 15px; height: 15px; }

/* ─── CHANNEL / ROLE PICKER ─── */
.picker-list {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 4px;
}
.picker-list::-webkit-scrollbar { width: 4px; }
.picker-list::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.picker-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .45rem .7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background .15s;
  font-size: .82rem;
}
.picker-item:hover { background: var(--card2); }
.picker-item.selected { background: rgba(123,92,246,.15); color: var(--text); }
.picker-item .channel-hash { color: var(--muted); font-size: .9rem; }
.picker-item .role-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ─── ALERT / NOTICE ─── */
.alert {
  display: flex;
  gap: .75rem;
  padding: .9rem 1rem;
  border-radius: 10px;
  font-size: .83rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}
.alert-info { background: rgba(123,92,246,.1); border: 1px solid rgba(123,92,246,.25); color: var(--primary-light); }
.alert-warn { background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.25); color: var(--yellow); }
.alert-success { background: rgba(34,197,94,.1); border: 1px solid rgba(34,197,94,.25); color: var(--green); }
.alert-danger { background: rgba(239,68,68,.1); border: 1px solid rgba(239,68,68,.25); color: var(--red); }
.alert svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: .1rem; }

/* ─── BADGE ─── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .15rem .55rem;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .03em;
}
.badge-purple { background: rgba(123,92,246,.2); color: var(--primary-light); }
.badge-green { background: rgba(34,197,94,.15); color: var(--green); }
.badge-yellow { background: rgba(245,158,11,.15); color: var(--yellow); }
.badge-red { background: rgba(239,68,68,.15); color: var(--red); }

/* ─── TABLE ─── */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .83rem; }
th {
  text-align: left;
  padding: .55rem .9rem;
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
td {
  padding: .7rem .9rem;
  border-bottom: 1px solid var(--border2);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(123,92,246,.04); }

/* ─── SERVER SELECT MODAL ─── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.7);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.8rem;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  transform: scale(.95);
  transition: transform .25s;
}
.modal-overlay.open .modal { transform: scale(1); }
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}
.modal-header h2 { font-size: 1rem; font-weight: 700; }
.modal-close { background: none; border: none; color: var(--muted); cursor: pointer; padding: .3rem; border-radius: 6px; transition: color .2s; }
.modal-close:hover { color: var(--text); }

.server-list { display: flex; flex-direction: column; gap: .5rem; }
.server-list-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem .9rem;
  background: var(--dark3);
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.server-list-item:hover { border-color: var(--primary); background: var(--card2); }
.server-list-item.active { border-color: var(--primary); background: rgba(123,92,246,.1); }
.server-list-item img { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.server-list-item .server-icon-fallback {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; font-weight: 700; color: white;
  flex-shrink: 0;
}
.server-list-item .sli-info { flex: 1; min-width: 0; }
.server-list-item .sli-name { font-size: .88rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-list-item .sli-members { font-size: .73rem; color: var(--muted); }
.server-list-item .sli-badge { font-size: .67rem; padding: .12rem .45rem; }

/* ─── EMBED PREVIEW ─── */
.embed-preview {
  border-left: 4px solid var(--primary);
  background: var(--dark3);
  border-radius: 0 10px 10px 0;
  padding: .9rem 1rem;
  font-size: .83rem;
  margin-top: .8rem;
}
.embed-title { font-weight: 700; margin-bottom: .3rem; }
.embed-desc { color: var(--muted); line-height: 1.5; }

/* ─── COLOR PICKER ROW ─── */
.color-row {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.color-swatch {
  width: 34px; height: 34px;
  border-radius: 8px;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color .2s;
}
.color-swatch:hover { border-color: var(--primary); }

/* ─── TOAST ─── */
.toast-container {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  pointer-events: none;
}
.toast {
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .8rem 1.1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: .83rem;
  font-weight: 500;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  pointer-events: all;
  animation: toastIn .3s ease both;
  max-width: 320px;
}
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }
.toast.out { animation: toastOut .3s ease both; }
@keyframes toastOut { to { opacity:0; transform:translateX(20px); } }
.toast-success { border-color: rgba(34,197,94,.3); }
.toast-success svg { color: var(--green); }
.toast-error { border-color: rgba(239,68,68,.3); }
.toast-error svg { color: var(--red); }

/* ─── MOBILE ─── */
.hamburger-btn {
  display: none;
  background: none; border: none;
  color: var(--text); cursor: pointer;
  padding: .4rem;
}
.sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 99; }

@media (max-width: 768px) {
  .hamburger-btn { display: flex; align-items: center; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .sidebar-overlay.open { display: block; }
  .panel-main { margin-left: 0; }
  .save-bar { left: 0; }
  .page-content { padding: 1rem; }
  .topbar { padding: .8rem 1rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
