/* Beginner Mode visibility rules.
   .bm-only         — block element, shown only when body.beginner-mode
   .bm-only-inline  — inline element, same idea
   Off by default so existing users never see these. */

.bm-only        { display: none !important; }
.bm-only-inline { display: none !important; }

body.beginner-mode .bm-only        { display: block !important; }
body.beginner-mode .bm-only-inline { display: inline !important; }

/* ── Banner styling for help cards ──────────────────────────────── */
.bm-banner {
  background: linear-gradient(90deg, #fff8e1, #fff3cd);
  border: 1px solid #ffd54f;
  border-left: 5px solid #ff9800;
  border-radius: 8px;
  padding: 14px 18px;
  margin: 14px auto 18px;
  max-width: 840px;
  font-size: 13px;
  color: #5d4037;
  line-height: 1.55;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.bm-banner h4 {
  font-size: 14px; font-weight: bold; color: #6d4c00;
  margin: 0 0 6px;
}
.bm-banner ul { margin: 4px 0 0 18px; }
.bm-banner li { margin: 3px 0; }
.bm-banner kbd {
  background: #fff; border: 1px solid #d7ccc8; border-radius: 3px;
  padding: 1px 6px; font-family: monospace; font-size: 11px;
  color: #4e342e;
}
.bm-banner .bm-tip-foot {
  margin-top: 8px; font-size: 11px; color: #8d6e63;
}

/* ── Toggle button styling ──────────────────────────────────────── */
.bm-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: #cfe1f3;
  padding: 4px 11px; border-radius: 14px;
  font-size: 11px; font-family: inherit; cursor: pointer;
}
.bm-toggle:hover { background: rgba(255,255,255,.12); color: #fff; }
.bm-toggle.bm-toggle-on {
  background: #fff3cd; color: #6d4c00; border-color: #ffd54f;
  font-weight: bold;
}

/* When beginner mode is ON, hide advanced tabs (per user request).
   Dashboard cards stay visible so power users can still navigate from
   the dashboard even with Beginner Mode on. */
body.beginner-mode #tab-chemtable,
body.beginner-mode #tab-moreport,
body.beginner-mode .bm-hide {
  display: none !important;
}
