.today-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}
.today-head h3{margin:0 0 4px;font-size:19px}
.today-head p{margin:0;color:#66736d;font-size:13px}
.today-scope{display:flex;flex:0 0 auto;gap:6px;padding:4px;border:1px solid #d3ded8;border-radius:11px;background:#f4f8f6}
.today-scope button{border:0;border-radius:8px;background:transparent;padding:7px 13px;color:#4c5c54;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.today-scope button.active{background:#fff;color:#17402e;box-shadow:0 1px 3px rgba(20,50,36,.12)}
.today-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:18px}
.today-stat{display:flex;flex-direction:column;gap:4px;padding:13px 15px;border:1px solid #d8e1dc;border-radius:12px;background:#fff}
.today-stat small{color:#66736d;font-size:11px;font-weight:800}
.today-stat strong{font-size:24px;color:#17402e}
.today-stat.is-overdue{border-color:#e6c6bb;background:#fdf6f3}.today-stat.is-overdue strong{color:#a8431f}
.today-stat.is-today{border-color:#dbd6b6;background:#fdfbf1}.today-stat.is-today strong{color:#7d6414}
.today-list{display:flex;flex-direction:column;gap:20px}
.today-group h4{display:flex;align-items:center;gap:9px;margin:0 0 9px;font-size:13px;color:#35463e}
.today-group h4 span{padding:2px 8px;border-radius:999px;background:#eef3f0;color:#4c5c54;font-size:11px;font-weight:800}
.today-group.is-overdue h4 span{background:#f7e4dd;color:#a8431f}
.today-group.is-today h4 span{background:#f6f1da;color:#7d6414}
.today-group-list{display:flex;flex-direction:column;gap:8px}
.today-item{display:grid;grid-template-columns:118px minmax(0,1fr) 210px;gap:14px;align-items:center;width:100%;padding:13px 15px;border:1px solid #d8e1dc;border-left:4px solid #cbd8d2;border-radius:12px;background:#fff;text-align:left;font:inherit;cursor:pointer}
.today-item:hover:not(:disabled){border-color:#9fbdae;background:#fbfdfc}
.today-item:disabled{cursor:default;opacity:.75}
.today-item.is-overdue{border-left-color:#c4562b}
.today-item.is-today{border-left-color:#c2a63a}
.today-item.is-priority .today-item-label{background:#f7e4dd;color:#a8431f}
.today-item-label{padding:5px 8px;border-radius:8px;background:#eef3f0;color:#3d5145;font-size:11px;font-weight:800;text-align:center}
.today-item-main{display:flex;min-width:0;flex-direction:column;gap:3px}
.today-item-main strong{font-size:13px;color:#17251e;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.today-item-main small{color:#66736d;font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.today-item-due{display:flex;flex-direction:column;gap:3px;align-items:flex-end;text-align:right}
.today-item-state{color:#4c5c54;font-size:11px;font-weight:800}
.today-item-due time{color:#35463e;font-size:12px;font-weight:700;white-space:nowrap}
.today-item.is-overdue .today-item-due time{color:#a8431f}
.today-item-amount{color:#193f2e;font-size:12px;font-weight:800}
.today-note{margin:4px 0 0;color:#66736d;font-size:11px}
.today-empty{display:flex;flex-direction:column;align-items:center;gap:8px;padding:52px 20px;border:1px dashed #cedbd4;border-radius:14px;background:#fbfdfc;text-align:center}
.today-empty span{font-size:30px;color:#8fae9f}
.today-empty h3{margin:0;font-size:16px;color:#25382e}
.today-empty p{margin:0;max-width:460px;color:#66736d;font-size:13px}
.today-empty.is-error span{color:#c4562b}
@media(max-width:900px){
  .today-item{grid-template-columns:100px minmax(0,1fr);gap:10px}
  .today-item-due{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;gap:10px;text-align:left}
}
@media(max-width:760px){
  .today-head{flex-direction:column}.today-scope{width:100%}.today-scope button{flex:1}
  .today-summary{grid-template-columns:1fr}
}

/* 同じ受付番号の再送をまとめた行。DB上の件数は減っていないので、
   関連件数を必ず添え、展開すれば個別の行に到達できるようにする。 */
.today-bundle{border:1px solid #c8a86b;border-radius:8px;background:#fdf9f0;margin-bottom:8px}
.today-bundle.is-priority{border-color:#b8823f}
.today-bundle-head{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;
  width:100%;padding:12px 14px;border:0;background:none;text-align:left;cursor:pointer}
.today-bundle-head:hover{background:#faf3e4}
.today-bundle-head:focus-visible{outline:2px solid var(--green);outline-offset:-2px}
.today-bundle-count{display:inline-block;margin-left:6px;padding:1px 7px;border-radius:999px;
  background:#f0dfba;color:#6b5320;font-size:11px}
.today-bundle-cta,.today-item-cta{padding:4px 12px;border:1px solid var(--green);border-radius:6px;
  color:var(--green);font-size:12px;white-space:nowrap}
.today-bundle-members{padding:0 10px 10px;border-top:1px dashed #ddc9a0}
.today-bundle-members .today-item{background:#fff}
