/* キャスト page: the casts in service, the casts who left (退店) and the casts who have not worked for over a year
   (the owner's request of 2026-11-18). static/cast-roster.mjs */

.roster-tabs{margin-bottom:12px}
.roster-tabs .tab:disabled{opacity:.6;cursor:not-allowed}
.roster-panel .toolbar{padding-top:0}
.roster-lead{margin:0 0 10px;font-size:12px;color:#44584a;line-height:1.8}
.roster-note,.roster-unnamed{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;margin:0 0 10px;padding:9px 12px;border:1px solid #d4e4d5;border-radius:8px;background:#f0f6ec;color:#3f5a45;font-size:12px;line-height:1.7}
.roster-busy{margin:0 0 10px;font-size:12px;color:#44584a;font-variant-numeric:tabular-nums}

/* The line of the marks: how many are ticked, and the one button that asks before anything is changed. */
.roster-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0;padding:10px 12px;border:1px solid #e3e8e0;border-radius:8px;background:#f7f9f5}
.roster-count{flex:1 1 200px;min-width:0;font-size:12px;color:#44584a;font-variant-numeric:tabular-nums}
.roster-pick{width:1%;white-space:nowrap}
.roster-pick input{width:18px;height:18px;margin:0;cursor:pointer}
.roster-pick input:disabled{cursor:not-allowed}

/* The question before the marks are sent: every name, in a box that scrolls when there are many. */
.roster-ask{margin:0 0 12px;padding:12px 14px;border:1px solid #e8dfb9;border-radius:8px;background:#fbf8e9;color:#5d5126;font-size:12px;line-height:1.8}
.roster-ask p{margin:0 0 8px}
.roster-names{max-height:210px;overflow:auto;margin:0 0 10px;padding:8px 10px 8px 26px;border:1px solid #eadfb6;border-radius:6px;background:#fff;columns:3 200px;column-gap:28px}
.roster-names li{break-inside:avoid;line-height:1.7}
.roster-names small{margin-left:6px;color:#7c7550;font-size:10px}
.roster-buttons{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}
.roster-result p{margin:0 0 6px}
.roster-result ul{margin:0 0 8px;padding-left:20px}
.roster-upcoming{color:#85682b}
.roster-missing{border-top:1px solid #edf0eb}

/* A row of the cast's form: the box 「退店」 beside the day she left. */
.cast-left-field small{display:block;margin-top:4px;line-height:1.6}

@media(max-width:760px){.roster-names{columns:1}.roster-bulk .btn{flex:1 1 auto}}
