/* 予定を人物ラベル付きの一列へ統合。旧データの保存形式は維持する。 */
.folio-reference .ref-left {grid-template-rows:minmax(120px,26%) minmax(150px,1fr) minmax(100px,23%) 44px}
.folio-reference .ref-left>.ref-favorites-block {grid-row:3}
.folio-reference .ref-left>.ref-cover-shortcuts {grid-row:4}
.folio-reference .ref-today-list {display:block;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:0 3px 0 0}
/* 一行40pxで件数を増やし、名前は濃い色の札として読める大きさにする。 */
.home-task-row {border-left:3px solid var(--person);padding:0 3px;margin:0;gap:3px;align-items:center}
.home-task-row .home-task-check {flex:0 0 24px;min-height:40px;font:400 20px/1.2 sans-serif;padding:0}
.home-task-row .home-task-open {flex:1;display:flex;flex-direction:row;align-items:center;gap:6px;min-width:0;min-height:40px;text-align:left;padding:0;overflow:hidden}
.home-task-open .schedule-person {display:block;flex:none;min-width:3em;box-sizing:content-box;padding:3px 5px;border-radius:3px;background:var(--person);color:#fffaf0;text-align:center;font:700 13px/1.35 var(--body);white-space:nowrap}
.home-task-open .schedule-when {flex:none;font:12px/1.5 var(--body);font-variant-numeric:tabular-nums;color:var(--ref-ink);white-space:nowrap}
.home-task-open .schedule-title {flex:1;min-width:0;font:14px/1.5 var(--body);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.home-task-open .schedule-priority {flex:none;font:600 11px/1.5 var(--body);color:var(--ref-ink)}
.today-agenda-columns {grid-template-columns:minmax(0,1fr)}
/* 原文がアイコン列へ自動配置されないよう、本文の行と幅を明示する。 */
.ref-candidate-paper .schedule-candidate {grid-template-columns:28px minmax(0,1fr);grid-template-rows:auto auto auto auto auto}
.ref-candidate-paper .schedule-candidate>h3,.ref-candidate-paper .ref-candidate-date,.ref-candidate-paper .ref-candidate-received {min-width:0;overflow-wrap:anywhere}
.ref-candidate-paper .schedule-candidate>.candidate-evidence {grid-column:2/-1;grid-row:4;min-width:0;width:auto;max-width:none;margin:10px 0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.8}
.ref-candidate-paper .schedule-candidate>.candidate-actions {grid-column:2/-1;grid-row:5;width:auto;display:flex;flex-wrap:wrap;gap:6px}
.ref-candidate-paper .candidate-actions>button {flex:1 1 auto;min-height:44px;width:auto}
.ref-candidate-paper .candidate-actions>button.candidate-edit {flex:1 1 auto;order:0}

/* 人物色はapp.jsの共通定義を使い、名前札・絞り込み・詳細タグで統一する。 */
.folio-reference .category-tag.self,.folio-reference .category-filter.self.is-active {background:var(--person-self);color:#fffaf0}
.folio-reference .category-tag.household,.folio-reference .category-filter.household.is-active {background:var(--person-household);color:#fffaf0}
.folio-reference .category-tag.kanako,.folio-reference .category-filter.kanako.is-active {background:var(--person-kanako);color:#fffaf0}
.folio-reference .category-tag.yuto,.folio-reference .category-filter.yuto.is-active {background:var(--person-yuto);color:#fffaf0}
.folio-reference .category-tag.minazuki,.folio-reference .category-filter.minazuki.is-active {background:var(--person-minazuki);color:#fffaf0}
