/* A案：左は保存済みセッション、上部はその会話に参加するAI社員。 */
.crew-session-team{position:relative;flex:none;margin-right:3px}
.crew-session-team>summary{display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer;border:1px solid transparent;border-radius:10px;padding:5px 4px;background:transparent}
.crew-session-team>summary::-webkit-details-marker{display:none}
.crew-session-team>summary:hover,.crew-session-team[open]>summary{background:#f7eef2;border-color:#ead7e0}
.crew-session-team>summary:focus-visible{outline:2px solid #a8365c;outline-offset:2px}
.crew-session-stack{display:flex;align-items:center;padding-left:0;isolation:isolate}
.crew-session-person{display:block;flex:none;border:2px solid #fff;border-radius:50%;background:#fff}
.crew-session-stack>.crew-session-person+.crew-session-person{margin-left:-10px}
.crew-session-person .crew-eyes{width:34px;height:34px}
.crew-session-person .crew-eyes svg{display:block;width:100%;height:100%}
.crew-session-more{font-size:10px;font-weight:600;min-width:24px;text-align:center;color:#6f6f7b}
.crew-session-chevron{color:#6f6f7b;width:14px;height:14px;flex:none}
.crew-session-person[data-team-person="bloom-coordinator"] .crew-eye-body{fill:#84c5b5}
.crew-session-person[data-team-person="research"] .crew-eye-body{fill:#76afe0}
.crew-session-person[data-team-person="images"] .crew-eye-body{fill:#a594df}
.crew-session-team-panel{position:absolute;top:calc(100% + 9px);left:0;width:370px;max-width:calc(100vw - 40px);max-height:min(380px,45dvh);overflow-y:auto;overscroll-behavior:contain;background:#fff;border:1px solid #e8e5eb;border-radius:14px;box-shadow:0 14px 45px #1616201a;padding:0;z-index:30;text-align:left}
.crew-session-team-panel>header{display:flex;flex-direction:column;gap:7px;padding:18px;border-bottom:1px solid #eeeaf0}
.crew-workspace .crew-session-team-panel>header strong{font-size:13px;max-width:none;white-space:normal}
.crew-session-team-panel>header small{font-size:11px;color:#6f6f7b;line-height:1.7;overflow-wrap:anywhere}
.crew-session-team-panel ul{list-style:none;padding:6px 16px;margin:0}
.crew-session-team-panel li{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #f0edf1}
.crew-session-team-panel li:last-child{border-bottom:0}
.crew-session-team-panel li>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}
.crew-workspace .crew-session-team-panel li strong{font-size:12px;max-width:none;white-space:normal;overflow-wrap:anywhere}
.crew-session-team-panel li small,.crew-session-member-state{font-size:10px;color:#6f6f7b;line-height:1.6}
.crew-session-member-state{max-width:105px;text-align:right}
.crew-session-team-panel>p{margin:0;padding:20px;font-size:12px;line-height:1.9;color:#6f6f7b}
.crew-session-team-panel>footer{padding:12px 18px;font-size:11px;line-height:1.6;color:#1b7a53;background:#f3faf6;border-radius:0 0 14px 14px}
.crew-workspace .bai-header .crew-work-heading{flex:1;min-width:0}
.crew-workspace .bai-header>div:first-child{flex:1;min-width:0}
.crew-workspace .bai-header [data-crew-heading]{max-width:100%}
.crew-workspace .bai-header [data-crew-subtitle]{display:block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#6f6f7b;line-height:1.6}
/* 元の狭幅ルール .bai-header span{display:none} を担当表示へ持ち込まない。 */
.crew-workspace .bai-header .crew-session-stack{display:flex;margin:0}
.crew-workspace .bai-header .crew-session-person,.crew-workspace .bai-header .crew-eyes{display:block;margin:0}
.crew-workspace .bai-header .crew-session-stack>.crew-session-person+.crew-session-person{margin-left:-10px}
.crew-workspace .bai-header .crew-session-member-state,.crew-workspace .bai-header .crew-session-more{display:block;margin:0}
.crew-workspace .bai-header .crew-work-heading,.crew-workspace .crew-session-team-panel li>span:nth-child(2){color:#161620;margin-left:0}
@media(max-width:760px){.crew-session-person .crew-eyes{width:28px;height:28px}.crew-session-stack>.crew-session-person+.crew-session-person{margin-left:-10px}.crew-session-team{position:static}.crew-session-team-panel{position:absolute;top:calc(100% + 1px);left:12px;right:12px;width:auto;max-width:none}.crew-workspace .bai-header{position:relative;gap:8px;padding-left:14px;padding-right:14px}}
