/* ============================================================
   デアエル デモ 固有スタイル（共通 demo.css への追加のみ）
   ============================================================ */
[hidden] { display: none !important; }

/* ---------- 案内バー（ボタン付き） ---------- */
.dm-guide { flex-wrap: wrap; align-items: center; }
.de-guide-btn { margin-left: auto; }

/* ---------- ダッシュボード: 2つの棒グラフ ---------- */
.de-charts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
.de-charts__t { font-size: 12.5px; font-weight: 900; color: var(--gray); margin-bottom: 2px; }

/* ---------- ターゲット設計: 条件 ---------- */
.de-cond { display: grid; gap: 14px; }
.de-cond__row { display: grid; grid-template-columns: 110px 1fr; gap: 10px; align-items: start; }
.de-cond__label { font-size: 13px; font-weight: 900; padding-top: 6px; line-height: 1.4; }
.de-cond__label small { display: block; font-size: 11.5px; color: var(--gray); font-weight: 700; }

/* ---------- 表: 補助表示・経路タグ ---------- */
.dm-tbl td, .dm-tbl th { white-space: nowrap; }
.de-sub { display: block; font-size: 11.5px; color: var(--gray); font-weight: 700; line-height: 1.4; }
.de-route { display: inline-block; font-size: 12px; font-weight: 900; padding: 2px 9px; border-radius: 6px; background: var(--p-bg); color: var(--p-text); white-space: nowrap; }
.de-route--mail { background: var(--hair); color: var(--gray); }
.dm-tbl .dm-pill--p i { width: 10px; height: 10px; border: 2px solid var(--p-weak); border-top-color: var(--p); border-radius: 50%; animation: dm-spin .7s linear infinite; }
.dm-tbl .dm-pill--p.is-spin::before { display: none; }

/* ---------- 文面生成: 出力（紙） ---------- */
.de-out { min-height: 300px; padding: 22px 24px; border-top: 4px solid var(--p); box-shadow: var(--sh); font-size: 14.5px; line-height: 2; }
.de-out .de-sig { display: block; margin-top: 14px; color: var(--gray); font-size: 13px; line-height: 1.7; font-weight: 700; }
.de-out .ph { line-height: 1.8; }
.de-check__t { font-size: 13px; font-weight: 900; margin-bottom: 8px; }
.de-check { display: flex; flex-wrap: wrap; gap: 8px; }
.de-check .dm-pill { padding: 5px 12px; white-space: normal; }

/* ---------- 送信ルール・レポート ---------- */
.de-rules { display: grid; gap: 12px; }
.de-rule { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; font-weight: 900; line-height: 1.55; }
.de-rule i { width: 20px; height: 20px; border-radius: 50%; background: var(--ok); flex-shrink: 0; display: grid; place-items: center; margin-top: 2px; }
.de-rule i::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-top: -2px; }
.de-rule small { display: block; color: var(--gray); font-weight: 700; font-size: 12.5px; margin-top: 2px; }
.de-report { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.de-report__it { background: var(--bg); border: 1px solid var(--hair); border-radius: var(--r-s); padding: 10px 12px; min-width: 0; }
.de-report__it span { display: block; font-size: 11.5px; color: var(--gray); font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.de-report__it b { display: block; font-size: 20px; line-height: 1.3; font-weight: 700; color: var(--ink); }
.de-report__it b small { font-family: var(--ff); font-size: 12px; color: var(--gray); font-weight: 900; margin-left: 4px; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  /* 横スクロール防止: サイドナビ（横並び）が最小幅を押し広げないようにする */
  .dm-app { grid-template-columns: minmax(0, 1fr); }
  .dm-side, .dm-nav { min-width: 0; }
  .de-charts { grid-template-columns: 1fr; }
  .de-cond__row { grid-template-columns: 1fr; gap: 6px; }
  .de-cond__label { padding-top: 0; }
  .de-cond__label small { display: inline; margin-left: 6px; }
  .de-guide-btn { margin-left: 0; width: 100%; }
  .de-report { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .de-out { padding: 18px 16px; min-height: 240px; }
}
