/* ポケット社員（見本）｜見本だけの見た目。画面の部品は style.css（本物と同じ物）。
   文字は11px以上。インライン style は使わない（CSP）。 */

/* 画面の上の帯：左は「これは見本です」（押すと案内）、右は最後の入口へのボタン（flex の order で、DOM の位置にかかわらず一番上） */
.demo-bar { order: -1; flex: none; display: flex; align-items: center; gap: 8px; padding: 4px 10px 4px 14px; background: #335F3D; color: #fff; font-family: var(--font); }
.demo-msg { flex: 1; min-width: 0; display: grid; gap: 1px; padding: 2px 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; line-height: 1.35; }
.demo-msg b { font-size: 13px; letter-spacing: .02em; }
.demo-q { display: inline-grid; place-items: center; width: 16px; height: 16px; margin-left: 2px; border: 1.5px solid rgba(255, 255, 255, .85); border-radius: 50%; font-size: 11px; line-height: 1; }
.demo-sub { font-size: 11px; opacity: .94; }
.demo-cta { flex: none; min-height: 36px; padding: 0 12px; border: 0; border-radius: 18px; background: #FFF6DF; color: var(--leaf-d); font-family: var(--round); font-size: 13px; font-weight: 800; box-shadow: 0 2px 0 rgba(0, 0, 0, .25); }
.demo-cta:active { transform: translateY(1px); }
#app:has(textarea:focus) > .demo-bar { display: none; }      /* 文字を入れている間は、キーボードの分を広く使う */

/* ビルの下の説明（本物用の文）は、見本では帯が言うので出さない。芝生は、下まで続ける */
.bnote { padding: 0; background: var(--grass, #9BCB86); font-size: 0; line-height: 0; }
.bnote > *, .bnote small { display: none !important; }

/* シート（最初の案内・最後の入口）の中身 */
.demo-sheet .demo-lead { margin: 10px 0 0; font-size: 15px; line-height: 1.75; }
.demo-sheet a.btn { display: block; box-sizing: border-box; text-align: center; text-decoration: none; }
.demo-sheet .btn.ghost.block { margin-top: 8px; }
.demo-sheet .closer { margin-top: 8px; }
.demo-sheet { animation: none; }      /* 画面の作り直しのたびに、シートが下から上がり直さないように */
.demo-sheet .demo-privacy { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted); }
.demo-sheet .link.center { display: block; width: 100%; margin-top: 0; }

/* 最初の案内：画面の真ん中のカード */
.demo-intro-back { align-items: center; padding: 18px; }
.demo-intro { border: 3px solid var(--wood); border-radius: 22px; padding: 18px 18px 14px; animation: none; }
.demo-faces { display: flex; justify-content: center; gap: 6px; margin: 0 0 10px; }
.demo-faces .av { border: 2px solid #fff; box-shadow: 0 1px 3px rgba(80, 50, 20, .3); }
.demo-intro h2 { margin: 0 0 12px; font-size: 19px; line-height: 1.55; text-align: center; text-wrap: balance; word-break: auto-phrase; }
.demo-points { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 8px; }
.demo-points li { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border-radius: 12px; background: var(--leaf-soft); font-size: 15px; font-weight: 700; line-height: 1.6; }
.demo-no { flex: none; display: grid; place-items: center; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--leaf-d); color: #fff; font-size: 13px; line-height: 1; }
.demo-intro .demo-note { margin: 0 0 6px; font-size: 13px; line-height: 1.7; color: var(--muted); text-align: center; }
.demo-intro .demo-first { margin: 0 0 12px; font-size: 13px; font-weight: 700; line-height: 1.6; color: var(--leaf-d); text-align: center; }

/* 最後の入口：値段・用意する物 */
.demo-info { margin: 8px 0 0; padding: 2px 14px; border-radius: 12px; background: var(--leaf-soft); }
.demo-row { padding: 6px 0; }
.demo-row + .demo-row { border-top: 1px solid rgba(58, 122, 58, .25); }
.demo-row dt { font-size: 12px; font-weight: 800; color: var(--leaf-d); }
.demo-row dd { margin: 1px 0 0; font-size: 14px; font-weight: 700; line-height: 1.5; }
.demo-row dd b { font-size: 16px; }
.demo-row dd small { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--muted); }
.demo-sheet .demo-steps { margin: 8px 0 10px; padding: 8px 14px; border-radius: 12px; background: #FFF4DC; font-size: 13px; font-weight: 700; line-height: 1.65; }
.demo-steps ol { margin: 0; padding-left: 20px; }
.demo-steps p { margin: 4px 0 0; font-size: 13px; font-weight: 700; line-height: 1.6; color: #974B20; }
/* 見本のトーク：入力欄の上の一言 */
.demo-trial + .wmenu { border-top: 0; }
.demo-trial { flex: none; margin: 0; padding: 6px 14px 0; background: var(--paper); border-top: 1px solid var(--line); font-size: 12px; font-weight: 700; color: var(--leaf-d); font-family: var(--font); }
.demo-sheet .demo-id { margin: 6px 0 0; text-align: center; font-size: 12px; color: var(--muted); }
