/* data-list-1: リスト 1 — 基本スタイル */

/* デモコンテナをリスト縦並びにする */
.demo-container {
  display: block;
  padding: 24px;
}

/* ====== リスト本体 ====== */
.dl1-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

/* リストアイテム */
.dl1-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid #E5E9F2;
  transition: background 0.1s;
}

.dl1-item:last-child {
  border-bottom: none;
}

.dl1-item:hover {
  background: #F4F7FF;
}

/* アバター（イニシャル円形） */
.dl1-avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

/* アバター5色パレット */
:root {
  --dl1-av1: #2B7FE8;
  --dl1-av2: #10B981;
  --dl1-av3: #F59E0B;
  --dl1-av4: #8B5CF6;
  --dl1-av5: #EF4444;
}

.dl1-avatar[data-color="1"] { background: var(--dl1-av1); }
.dl1-avatar[data-color="2"] { background: var(--dl1-av2); }
.dl1-avatar[data-color="3"] { background: var(--dl1-av3); }
.dl1-avatar[data-color="4"] { background: var(--dl1-av4); }
.dl1-avatar[data-color="5"] { background: var(--dl1-av5); }

/* 本文エリア（氏名＋サブテキスト） */
.dl1-body {
  flex: 1;
  min-width: 0;
}

.dl1-name {
  font-size: 14px;
  font-weight: 700;
  color: #1A2332;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dl1-meta {
  font-size: 12px;
  color: #6B7280;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 状態バッジ */
.dl1-status {
  flex-shrink: 0;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

.dl1-status[data-status="在籍"] { background: #D1FAE5; color: #065F46; }
.dl1-status[data-status="休職"] { background: #FEF3C7; color: #92400E; }
.dl1-status[data-status="退職"] { background: #F3F4F6; color: #6B7280; }


/* サンプルソースヒント */
.source-hint {
  margin: 0 0 16px;
  padding: 10px 14px;
  background: #F4F7FF;
  border-radius: 6px;
  font-size: 13px;
  color: #3D5A80;
  line-height: 1.7;
}

.source-hint code {
  font-family: monospace;
  background: #E8EDF4;
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 12px;
}

/* プロンプト補足（注意・ヒント） */
.prompt-notes {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: #F9FAFB;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.7;
}

.prompt-note-caution {
  margin: 0 0 8px;
  color: #E65100;
}

.prompt-note-tip {
  margin: 0;
  color: #5A6A7A;
}

/* レスポンシブ */
@media (max-width: 480px) {
  .demo-container { padding: 16px; }
  .dl1-item { gap: 10px; padding: 10px 12px; }
  .dl1-avatar { width: 36px; height: 36px; font-size: 14px; }
}
