/* 体験デモの案内層だけのスタイル。画面本体の見た目は assets/dashboard.css（実物のコピー）が正 */

.demo-hint {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 14px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.demo-hint-spacer { flex: 1; }
.demo-hint-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--accent);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.demo-hint-link:hover { text-decoration: underline; }

/* バーの高さぶんだけ画面全体を下げる（サイドバーごと） */
body.demo-mode { padding-top: 37px; }
body.demo-mode .sidebar { top: 37px; height: calc(100vh - 37px); }

/* 埋め込み表示（紹介ページの iframe）ではバーを出さない */
body.demo-embed .demo-hint { display: none; }

/* デモに含めていないページへのナビ項目 */
.sb-item.demo-off { opacity: 0.45; }
.sb-item.demo-off:hover { opacity: 0.65; }

#demo-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translate(-50%, 8px);
  z-index: 400;
  padding: 9px 16px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease;
  max-width: min(92vw, 480px);
}
#demo-toast.on {
  opacity: 0.95;
  transform: translate(-50%, 0);
}
