/* =================================================================
   HONEYBEE BRAND PORTAL — CRM-style demo dashboard
   ================================================================= */

:root {
  --honey: #f5b400;
  --honey-dk: #c98a00;
  --honey-soft: #fff4cc;
  --honey-glow: rgba(245, 180, 0, 0.35);
  --ink: #0a0a0a;
  --ink-2: #14141a;
  --ink-3: #1f1f28;
  --ink-4: #2a2a33;
  --line: #2a2a33;
  --cream: #faf6ec;
  --text: #e8e8ee;
  --muted: #8a8a96;
  --hot: #ef4444;
  --warm: #f59e0b;
  --cool: #3b82f6;
  --good: #22c55e;
  --bad: #ef4444;
}

.dash-page { background: var(--ink); color: var(--text); min-height: 100vh; }

/* ---------- Portal layout ---------- */
.portal {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: calc(100vh - 70px);
}
.portal-side {
  background: var(--ink-2);
  border-right: 1px solid var(--line);
  padding: 24px 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
}
.portal-side .who { padding: 0 22px 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.portal-side .who h3 { margin: 0 0 2px; font-size: 14.5px; color: #fff; display: flex; align-items: center; gap: 8px; }
.portal-side .who h3 img { width: 22px; height: 22px; object-fit: contain; }
.portal-side .who small { color: var(--muted); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; }
.portal-side .group-label { padding: 14px 22px 6px; color: var(--muted); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; }
.portal-side .nav-tab {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 22px; color: var(--text); cursor: pointer;
  border-left: 3px solid transparent;
  font-size: 13.5px; font-weight: 500; user-select: none;
}
.portal-side .nav-tab:hover { background: rgba(255,255,255,0.03); }
.portal-side .nav-tab.active {
  background: linear-gradient(90deg, rgba(245,180,0,0.13), transparent 70%);
  border-left-color: var(--honey); color: var(--honey); font-weight: 700;
}
.portal-side .nav-tab .ic { font-size: 16px; width: 22px; text-align: center; }
.portal-side .nav-tab .badge {
  margin-left: auto; background: var(--ink-3); color: var(--muted);
  font-size: 10.5px; padding: 2px 7px; border-radius: 10px; font-weight: 700;
}
.portal-side .nav-tab.active .badge { background: var(--honey); color: var(--ink); }
.portal-side .nav-tab .lock { margin-left: auto; font-size: 11px; color: var(--muted); }
.portal-main { padding: 26px 32px 80px; background: var(--ink); min-width: 0; }

/* ---------- Panels ---------- */
.panel { display: none; }
.panel.active { display: block; }

.panel-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 18px; flex-wrap: wrap;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.panel-head h1 { margin: 0 0 4px; font-size: 1.7rem; color: #fff; letter-spacing: -0.015em; font-weight: 800; }
.panel-head h1 .gold { color: var(--honey); }
.panel-head .sub { color: var(--muted); font-size: 13.5px; margin: 0; max-width: 600px; }
.panel-actions { display: flex; gap: 8px; align-items: center; }

.btn {
  border: none; cursor: pointer; padding: 10px 16px;
  border-radius: 9px; font-size: 13px; font-weight: 700;
  font-family: inherit; text-decoration: none;
  display: inline-flex; align-items: center; gap: 6px;
  transition: 0.15s;
}
.btn-honey { background: var(--honey); color: var(--ink); }
.btn-honey:hover { background: #ffd34d; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--honey); color: var(--honey); }
.btn-sm { padding: 7px 11px; font-size: 12px; }

/* ---------- KPI cards ---------- */
.kpis {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px; margin-bottom: 26px;
}
.kpi { background: var(--ink-2); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.kpi .lbl { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-bottom: 6px; }
.kpi .num { color: #fff; font-size: 1.9rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1; }
.kpi .delta { margin-top: 6px; color: var(--good); font-size: 11.5px; font-weight: 700; }
.kpi .delta.bad { color: var(--bad); }

/* ---------- Toolbar ---------- */
.toolbar { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar input, .toolbar select {
  background: var(--ink-2); border: 1px solid var(--line);
  color: var(--text); padding: 9px 14px; border-radius: 8px;
  font-size: 13px; font-family: inherit;
}
.toolbar input { flex: 1; min-width: 220px; }
.toolbar input:focus, .toolbar select:focus { outline: none; border-color: var(--honey); }

/* ---------- Data table ---------- */
.dtable {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; border-collapse: collapse;
}
.dtable thead th {
  background: var(--ink-3); color: var(--muted);
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.1em;
  font-weight: 700; padding: 12px 16px; text-align: left;
  border-bottom: 1px solid var(--line);
}
.dtable tbody tr { border-bottom: 1px solid var(--line); transition: 0.12s; }
.dtable tbody tr:hover { background: rgba(255,255,255,0.03); }
.dtable tbody tr:last-child { border-bottom: none; }
.dtable tbody td { padding: 14px 16px; font-size: 13.5px; color: var(--text); }
.dtable .vend { display: flex; align-items: center; gap: 12px; }
.dtable .vend .avatar {
  width: 36px; height: 36px; border-radius: 9px;
  background: linear-gradient(135deg, var(--honey-dk), var(--honey));
  color: var(--ink); display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 13px; flex-shrink: 0;
}
.dtable .vend .nm strong { display: block; color: #fff; font-weight: 700; font-size: 13.5px; }
.dtable .vend .nm small { color: var(--muted); font-size: 11.5px; }
.dtable .pill {
  display: inline-block; background: var(--ink-3); color: var(--muted);
  font-size: 11px; padding: 3px 9px; border-radius: 5px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
}
.dtable .pill.cat { background: rgba(245,180,0,0.14); color: var(--honey); }
.dtable .pill.country { background: var(--ink-4); color: #ddd; text-transform: none; letter-spacing: 0; }
.dtable .pill.active { background: rgba(34,197,94,0.15); color: var(--good); }
.dtable .pill.paused { background: rgba(239,68,68,0.15); color: var(--bad); }
.dtable .row-actions { display: flex; gap: 6px; justify-content: flex-end; }
.dtable .row-actions button {
  background: var(--ink-3); border: 1px solid var(--line); color: var(--muted);
  width: 32px; height: 32px; border-radius: 7px; cursor: pointer; font-size: 13px;
}
.dtable .row-actions button:hover { color: var(--honey); border-color: var(--honey); }
.empty { padding: 50px 24px; text-align: center; color: var(--muted); }
.empty .ic { font-size: 36px; margin-bottom: 10px; }

/* ---------- Modal ---------- */
.modal-bg {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(6px);
  z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 20px;
}
.modal-bg.open { display: flex; }
.modal {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 16px; width: min(560px, 100%);
  max-height: 90vh; overflow-y: auto;
  animation: pop 0.2s ease-out;
}
@keyframes pop { from { transform: scale(0.95); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head {
  padding: 20px 24px; border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-head h3 { margin: 0; font-size: 1.15rem; color: #fff; }
.modal-head .x {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 16px;
}
.modal-body { padding: 22px 24px; }
.modal-foot {
  padding: 14px 24px; border-top: 1px solid var(--line);
  display: flex; justify-content: flex-end; gap: 8px;
  background: rgba(0,0,0,0.18);
}
.field { margin-bottom: 14px; }
.field label {
  display: block; color: var(--muted); font-size: 11.5px;
  letter-spacing: 0.07em; text-transform: uppercase;
  font-weight: 700; margin-bottom: 6px;
}
.field input, .field select, .field textarea {
  width: 100%; background: var(--ink); border: 1px solid var(--line);
  color: var(--text); padding: 10px 14px; border-radius: 8px;
  font-size: 14px; font-family: inherit; box-sizing: border-box;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--honey); }
.field .row { display: flex; gap: 10px; }
.field .row > * { flex: 1; }

/* ---------- Locked feature panel ---------- */
.lock-panel {
  padding: 60px 30px; text-align: center;
  background: var(--ink-2); border: 1px dashed var(--line);
  border-radius: 16px;
}
.lock-panel .lock-ic {
  font-size: 48px; margin-bottom: 14px;
  filter: drop-shadow(0 0 12px var(--honey-glow));
}
.lock-panel h3 { color: #fff; margin: 0 0 8px; font-size: 1.4rem; }
.lock-panel p { color: var(--muted); margin: 0 auto 20px; max-width: 480px; line-height: 1.6; }
.lock-panel .price-line {
  display: inline-block; background: rgba(245,180,0,0.14); color: var(--honey);
  padding: 8px 16px; border-radius: 8px; font-weight: 700; font-size: 13px;
  margin-bottom: 18px;
}

/* ---------- Add-ons grid ---------- */
.addon-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px;
}
.addon-card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 14px; padding: 22px 22px 18px;
  display: flex; flex-direction: column; position: relative;
}
.addon-card .ic { font-size: 26px; margin-bottom: 10px; }
.addon-card h4 { margin: 0 0 4px; color: #fff; font-size: 1.05rem; }
.addon-card .blurb { color: var(--muted); font-size: 13px; line-height: 1.5; margin-bottom: 14px; min-height: 56px; }
.addon-card .price { font-size: 1.6rem; font-weight: 800; color: var(--honey); margin-bottom: 4px; letter-spacing: -0.02em; }
.addon-card .price small { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.addon-card .meta { color: var(--muted); font-size: 11.5px; margin-bottom: 14px; }
.addon-card .add-btn { margin-top: auto; }
.addon-card.installed { border-color: var(--good); }
.addon-card.installed::before {
  content: "● Installed"; position: absolute; top: 14px; right: 14px;
  font-size: 11px; color: var(--good); font-weight: 700; letter-spacing: 0.05em;
}

/* ---------- Brand-asset gallery ---------- */
.asset-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px;
}
.asset {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 10px; padding: 14px; cursor: pointer;
  display: flex; flex-direction: column; gap: 6px; transition: 0.15s;
}
.asset:hover { border-color: var(--honey); transform: translateY(-2px); }
.asset .thumb {
  height: 90px; border-radius: 8px; background: var(--ink-3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--muted);
}
.asset .name { font-size: 12.5px; color: #fff; font-weight: 600; word-break: break-word; }
.asset .meta { font-size: 11px; color: var(--muted); }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 30px; left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--ink-3); color: #fff;
  padding: 12px 20px; border-radius: 10px;
  border: 1px solid var(--honey); font-size: 13px; font-weight: 600;
  z-index: 300; transition: 0.3s; pointer-events: none; opacity: 0;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

/* ---------- Demo banner ---------- */
.demo-banner {
  background: rgba(245,180,0,0.1); border: 1px solid rgba(245,180,0,0.25);
  color: var(--honey); padding: 9px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 600; margin-bottom: 18px;
  display: flex; align-items: center; gap: 8px;
}
.demo-banner b { color: #fff; font-weight: 800; letter-spacing: 0.05em; }

/* ---------- Notes ---------- */
.note {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 12px; padding: 18px 20px;
}
.note h4 { margin: 0 0 8px; color: var(--honey); font-size: 13.5px; }
.note p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.note-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px;
}
.notes-block { max-width: 1100px; margin: 50px auto 0; padding: 0 26px; }
.notes-block h2 { font-size: 1.6rem; color: #fff; margin: 0 0 18px; letter-spacing: -0.01em; }

/* ---------- Generic hero (used on addons / hosting / platform pages) ---------- */
.dash-hero {
  padding: 50px 26px 30px;
  background:
    radial-gradient(ellipse at 20% 30%, rgba(245,180,0,.18), transparent 50%),
    radial-gradient(ellipse at 80% 70%, rgba(245,180,0,.10), transparent 45%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}
.dash-hero-inner {
  max-width: 1280px; margin: 0 auto;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 30px; flex-wrap: wrap;
}
.dash-eyebrow {
  display: inline-block; background: rgba(245, 180, 0, 0.16);
  color: var(--honey); padding: 6px 14px; border-radius: 20px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; margin-bottom: 18px;
  border: 1px solid rgba(245, 180, 0, 0.3);
}
.dash-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05;
  letter-spacing: -0.025em; font-weight: 800;
  color: #fff; margin: 0 0 14px;
}
.dash-hero h1 .gold { color: var(--honey); }
.dash-hero p.lead { font-size: 1.05rem; color: var(--muted); max-width: 680px; line-height: 1.6; margin: 0; }

/* ---------- Pricing tier cards ---------- */
.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px; max-width: 1280px; margin: 40px auto 0; padding: 0 26px;
}
.tier-card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 20px; padding: 30px 26px 26px;
  position: relative; display: flex; flex-direction: column;
}
.tier-card.featured {
  border: 2px solid var(--honey);
  box-shadow: 0 20px 60px rgba(245, 180, 0, 0.15);
  transform: translateY(-8px);
}
.tier-card .ribbon {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--honey); color: var(--ink);
  padding: 5px 14px; border-radius: 12px;
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em;
}
.tier-card h3 { margin: 0 0 6px; color: #fff; font-size: 1.3rem; letter-spacing: -0.01em; }
.tier-card .blurb { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; line-height: 1.5; min-height: 40px; }
.tier-card .price { font-size: 2.5rem; font-weight: 800; color: var(--honey); letter-spacing: -0.025em; line-height: 1; }
.tier-card .price small { color: var(--muted); font-size: 0.95rem; font-weight: 600; }
.tier-card .setup { color: var(--muted); font-size: 12px; margin-top: 4px; margin-bottom: 22px; }
.tier-card ul { list-style: none; padding: 0; margin: 0 0 24px; flex: 1; }
.tier-card ul li {
  padding: 9px 0; font-size: 13.5px; color: var(--text);
  border-bottom: 1px solid var(--line);
  display: flex; gap: 8px; align-items: flex-start;
}
.tier-card ul li:last-child { border-bottom: none; }
.tier-card ul li::before { content: "✓"; color: var(--honey); font-weight: 800; flex-shrink: 0; }
.tier-card ul li.dim { color: var(--muted); opacity: 0.55; }
.tier-card ul li.dim::before { content: "—"; color: var(--muted); }
.tier-card .btn-tier {
  display: block; text-align: center;
  background: var(--honey); color: var(--ink);
  padding: 13px 18px; border-radius: 10px;
  font-weight: 800; font-size: 14px; text-decoration: none;
}
.tier-card .btn-tier:hover { background: #ffd34d; }
.tier-card.ghost .btn-tier {
  background: transparent; color: var(--honey); border: 1.5px solid var(--honey);
}
.tier-card.ghost .btn-tier:hover { background: var(--honey); color: var(--ink); }

.compare-table { max-width: 1100px; margin: 50px auto 0; padding: 0 26px; overflow-x: auto; }
.compare-table table {
  width: 100%; border-collapse: collapse;
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden;
}
.compare-table th, .compare-table td {
  padding: 14px 18px; text-align: left;
  border-bottom: 1px solid var(--line); font-size: 13.5px;
}
.compare-table th {
  background: var(--ink-3); color: var(--honey);
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table .y { color: var(--good); font-weight: 700; }
.compare-table .n { color: var(--muted); }

/* ---------- Bee chatbot ---------- */
.bee-fab {
  position: fixed; bottom: 22px; right: 22px;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, #ffd34d, var(--honey));
  border: 3px solid #fff; border-radius: 50%; cursor: pointer;
  box-shadow: 0 12px 36px rgba(245, 180, 0, 0.5);
  z-index: 90; display: flex; align-items: center; justify-content: center;
  transition: 0.2s; padding: 0; overflow: hidden;
}
.bee-fab:hover { transform: scale(1.08) rotate(-6deg); }
.bee-fab .robo-bee { width: 78%; height: 78%; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.bee-fab .bee-logo-img { width: 92%; height: 92%; object-fit: contain; pointer-events: none; mix-blend-mode: multiply; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.bee-fab .bee-head-svg { width: 86%; height: 86%; pointer-events: none; filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }
.bee-head .bee-logo-img-sm { width: 44px; height: 44px; object-fit: contain; background: #fff; border-radius: 50%; padding: 2px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.bee-head .bee-head-sm .bee-head-svg { width: 44px; height: 44px; display: block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.25)); }
.bee-fab .pulse-dot {
  position: absolute; top: 4px; right: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--good); border: 2px solid #fff;
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.bee-panel {
  position: fixed; bottom: 100px; right: 22px;
  width: 380px; max-width: calc(100vw - 44px);
  height: 540px; max-height: calc(100vh - 130px);
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: 18px; display: none; flex-direction: column;
  z-index: 91; box-shadow: 0 20px 60px rgba(0,0,0,0.6); overflow: hidden;
}
.bee-panel.open { display: flex; }
.bee-head {
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--honey-dk), var(--honey));
  display: flex; align-items: center; gap: 12px;
}
.bee-head .robo-bee { width: 44px; height: 44px; flex-shrink: 0; filter: drop-shadow(0 2px 3px rgba(0,0,0,.2)); }
.bee-head .info { flex: 1; color: var(--ink); }
.bee-head .info h4 { margin: 0; font-size: 14px; font-weight: 800; }
.bee-head .info small { font-size: 11px; opacity: 0.75; font-weight: 600; }
.bee-head .x {
  background: rgba(0,0,0,0.18); color: var(--ink); border: none;
  width: 28px; height: 28px; border-radius: 50%;
  cursor: pointer; font-size: 16px; font-weight: 700;
}
.bee-body {
  flex: 1; overflow-y: auto; padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
  background: var(--ink);
}
.bee-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13.5px; line-height: 1.5; }
.bee-msg.bot { background: var(--ink-3); color: var(--text); border-bottom-left-radius: 4px; align-self: flex-start; }
.bee-msg.user { background: var(--honey); color: var(--ink); border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 600; }
.bee-msg a { color: var(--honey); }
.bee-msg.user a { color: var(--ink); text-decoration: underline; }
.bee-typing {
  align-self: flex-start; background: var(--ink-3);
  padding: 12px 16px; border-radius: 14px; border-bottom-left-radius: 4px;
}
.bee-typing span {
  display: inline-block; width: 6px; height: 6px;
  border-radius: 50%; background: var(--muted); margin: 0 2px;
  animation: bouncedot 1.4s infinite ease-in-out;
}
.bee-typing span:nth-child(2) { animation-delay: 0.2s; }
.bee-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bouncedot {
  0%,80%,100% { transform: translateY(0); opacity: 0.5; }
  40% { transform: translateY(-6px); opacity: 1; }
}
.bee-quick {
  display: flex; gap: 6px; padding: 10px 14px;
  border-top: 1px solid var(--line);
  background: var(--ink-2); flex-wrap: wrap;
}
.bee-quick button {
  background: var(--ink-3); color: var(--text);
  border: 1px solid var(--line); padding: 6px 11px;
  border-radius: 14px; font-size: 11.5px; cursor: pointer;
  font-family: inherit; font-weight: 600;
}
.bee-quick button:hover { background: var(--honey); color: var(--ink); border-color: var(--honey); }
.bee-foot { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line); background: var(--ink-2); }
.bee-foot input {
  flex: 1; background: var(--ink); border: 1px solid var(--line);
  color: var(--text); padding: 9px 14px;
  border-radius: 18px; font-size: 13px; font-family: inherit;
}
.bee-foot input:focus { outline: none; border-color: var(--honey); }
.bee-foot button {
  background: var(--honey); color: var(--ink); border: none;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 18px; font-weight: 800; cursor: pointer;
}

.flying-bee {
  display: none !important;
}
/* Robotic bee — wings flutter, antennae jiggle */
.robo-bee .rb-wings { transform-origin: 60px 40px; animation: rb-flutter 0.18s infinite ease-in-out; }
.robo-bee .rb-wing-l { transform-origin: 60px 40px; animation: rb-wingL 0.14s infinite ease-in-out; }
.robo-bee .rb-wing-r { transform-origin: 60px 40px; animation: rb-wingR 0.14s infinite ease-in-out; }
.robo-bee .rb-antennae { transform-origin: 60px 38px; animation: rb-antenna 1.6s infinite ease-in-out; }
@keyframes rb-flutter { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-1px); } }
@keyframes rb-wingL { 0%,100% { transform: scaleX(1) translateX(0); } 50% { transform: scaleX(0.6) translateX(6px); } }
@keyframes rb-wingR { 0%,100% { transform: scaleX(1) translateX(0); } 50% { transform: scaleX(0.6) translateX(-6px); } }
@keyframes rb-antenna { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(2deg); } }
.bee-fab:hover .robo-bee .rb-wing-l,
.bee-fab:hover .robo-bee .rb-wing-r { animation-duration: 0.08s; }
@media (prefers-reduced-motion: reduce) {
  .robo-bee .rb-wings, .robo-bee .rb-wing-l, .robo-bee .rb-wing-r, .robo-bee .rb-antennae { animation: none; }
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
  .portal { grid-template-columns: 1fr; }
  .portal-side {
    position: relative; top: 0; height: auto;
    border-right: none; border-bottom: 1px solid var(--line);
    display: flex; overflow-x: auto; padding: 12px 8px;
  }
  .portal-side .who, .portal-side .group-label { display: none; }
  .portal-side .nav-tab {
    border-left: none; border-bottom: 3px solid transparent;
    flex-shrink: 0; padding: 8px 14px;
  }
  .portal-side .nav-tab.active { border-left: none; border-bottom-color: var(--honey); }
  .portal-main { padding: 18px 16px 60px; }
  .pricing-grid { padding: 0 16px; }
  .tier-card.featured { transform: none; }
  .bee-panel { right: 12px; bottom: 90px; }
  .dtable { display: block; overflow-x: auto; }
}
