/* 作成元は既存タグの右下へ。社員のキャラクターを主役に保つ。 */
.crew-directory-actions{display:flex;align-items:center;gap:12px}.crew-create-button{display:flex;align-items:center;justify-content:center;gap:6px;white-space:nowrap;border:1px solid #c7406d;border-radius:9px;background:#c7406d;color:#fff;padding:12px 14px;font-size:12px!important;font-weight:600;min-height:44px}.crew-create-button:disabled{opacity:.5;cursor:wait}.crew-create-button:hover:not(:disabled){background:#b23962}.crew-employee-note{font-size:12px;line-height:1.8;color:#6f6f7b}.crew-employee-note:empty,.crew-employee-note[hidden]{display:none}.crew-employee-note button{margin-left:10px;border:0;background:none;color:#a8365c;text-decoration:underline}.crew-card-main{padding-bottom:16px}.crew-card-tags{padding-right:84px;min-height:32px;align-content:start}.crew-creator{display:inline-flex;align-items:center;gap:6px;color:#3a3a45;max-width:130px;min-width:0;vertical-align:middle;line-height:1.35;text-align:left}.crew-card .crew-creator{position:absolute;right:16px;bottom:18px;max-width:100px}.crew-creator>img,.crew-creator-initial{width:24px;height:24px;border:1px solid #e8e8ec;border-radius:7px;background:#fff;object-fit:contain;flex:none}.crew-creator-initial{display:grid;place-items:center;color:#a8365c;background:#fff2f6;font-size:11px}.crew-creator>span:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}.crew-creator small{font-size:8px;color:#6f6f7b}.crew-creator>span>span{font-size:10px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.crew-add-card{border:1px dashed #d6c5cc;border-radius:14px;background:#fffafb;color:#a8365c;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;min-height:260px;padding:24px;cursor:pointer}.crew-add-card>svg{width:32px;height:32px;stroke-width:1.4}.crew-add-card strong{font-size:14px;font-weight:600}.crew-add-card>span{font-size:11px;line-height:1.8;color:#6f6f7b;text-align:center}.crew-add-card:hover{background:#fff2f6;border-color:#c7406d}.crew-add-card:disabled{cursor:wait;opacity:.5}.crew-profile-creator{display:flex;align-items:center;gap:16px;margin:16px 0}.crew-profile-creator .crew-creator{max-width:200px}.crew-profile-creator .crew-creator small{font-size:10px}.crew-profile-creator .crew-creator>span>span{font-size:12px}.crew-visibility{color:#1b7a53;background:#ecfaf3;border:1px solid #c9ecdb;padding:4px 8px;border-radius:6px;font-size:10px}.crew-knowledge-list{list-style:none;padding:0;margin:8px 0;font-size:12px;line-height:1.8}.crew-knowledge-list li{margin:8px 0;overflow-wrap:anywhere}.crew-knowledge-list a{color:#a8365c;text-decoration:underline}.crew-profile-instructions{white-space:pre-wrap;overflow-wrap:anywhere}
@media(min-width:601px){.crew-profile:has(.crew-profile-instructions) .crew-profile-art{align-content:start;padding-top:40px}}

.crew-editor{box-sizing:border-box;border:1px solid #e8e8ec;border-radius:20px;background:#fff;color:#161620;width:min(680px,calc(100vw - 24px));max-height:92dvh;padding:0;box-shadow:0 20px 100px #16162026;overflow:auto}.crew-editor::backdrop{background:#16162066;backdrop-filter:blur(3px)}.crew-editor *{box-sizing:border-box}.crew-editor form{padding:28px 32px 20px}.crew-editor header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.crew-editor h2{margin:8px 0 0;font-size:24px;line-height:1.5;letter-spacing:-.5px}.crew-editor button,.crew-editor input,.crew-editor select,.crew-editor textarea{font:inherit}.crew-editor button{cursor:pointer}.crew-editor button:disabled{cursor:wait}.crew-editor [data-editor-close]{width:32px;height:32px;border:0;border-radius:50%;font-size:24px;background:#f1f1f4;color:#6f6f7b}.crew-editor-intro{font-size:12px;line-height:1.9;color:#6f6f7b;margin:16px 0 24px}.crew-editor label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:600;margin:18px 0 0}.crew-editor label>small,.crew-editor h3>small{font-weight:400;color:#6f6f7b;font-size:10px}.crew-editor input:not([type=file]),.crew-editor select,.crew-editor textarea{width:100%;min-width:0;border:1px solid #e8e8ec;border-radius:8px;background:#fff;padding:11px 12px;line-height:1.7;color:#161620;font-size:13px;font-weight:400}.crew-editor textarea{resize:vertical}.crew-editor-row{display:grid;grid-template-columns:1.4fr 1fr;gap:16px}.crew-editor :is(input,select,textarea,button):focus-visible{outline:3px solid #c7406d66;outline-offset:2px}.crew-editor :is(input,select,textarea):disabled{background:#f8f8fa;color:#6f6f7b}.crew-editor-knowledge{border-top:1px solid #e8e8ec;margin-top:24px;padding-top:18px}.crew-editor h3{font-size:13px;margin:0}.crew-editor .crew-file-drop{position:relative;align-items:center;text-align:center;border:1px dashed #d6c5cc;border-radius:10px;padding:20px 16px;background:#fdfbfc;cursor:pointer;margin-top:12px;gap:9px}.crew-file-drop svg,.crew-editor [data-editor-file-list] svg{width:20px;height:20px;flex:none;color:#a8365c}.crew-file-drop strong{font-size:12px}.crew-file-drop>span{font-size:10px;line-height:1.8;color:#6f6f7b;font-weight:400}.crew-file-drop input{position:absolute;inset:0;opacity:0;width:100%;height:100%;cursor:pointer}.crew-file-drop.is-over{background:#fff2f6;border-color:#c7406d}.crew-editor-knowledge>p,.crew-sharing-hint{font-size:11px;line-height:1.8;color:#6f6f7b;margin:10px 0 0}.crew-editor [data-editor-file-list]{list-style:none;padding:0;margin:0}.crew-editor [data-editor-file-list] li{display:flex;align-items:center;gap:10px;border:1px solid #e8e8ec;border-radius:8px;padding:10px 12px;margin-top:8px}.crew-editor [data-editor-file-list] li>span{flex:1;min-width:0;font-size:12px;overflow-wrap:anywhere}.crew-editor [data-editor-file-list] small{display:block;font-size:10px;color:#6f6f7b;margin-top:4px}.crew-editor [data-file-remove]{border:0;background:none;color:#6f6f7b;font-size:20px}.crew-editor-author{display:flex;justify-content:space-between;gap:12px;font-size:11px;margin-top:20px;color:#3a3a45}.crew-editor-author span{font-size:10px;color:#6f6f7b}.crew-editor-status{font-size:12px;line-height:1.8;color:#a8365c;overflow-wrap:anywhere;margin:14px 0}.crew-editor-status:empty{display:none}.crew-editor footer{position:sticky;bottom:0;background:#fff;display:flex;justify-content:flex-end;gap:10px;border-top:1px solid #e8e8ec;margin-top:22px;padding:14px 0 4px}.crew-editor footer button{font-size:12px;border:1px solid #e8e8ec;border-radius:8px;padding:11px 15px;background:#fff;color:#6f6f7b;min-height:44px}.crew-editor footer .crew-create-submit{background:#c7406d;border-color:#c7406d;color:#fff;font-weight:600}.crew-editor footer button:disabled{opacity:.6}.crew-editor [hidden]{display:none!important}
@media(max-width:1100px){.crew-directory-actions{flex-direction:column-reverse;align-items:stretch;gap:8px}.crew-create-button{padding:9px 12px;min-height:40px}.crew-card-tags{padding-right:0;margin-bottom:40px}.crew-card .crew-creator{left:20px;right:auto;bottom:16px;max-width:calc(100% - 40px)}.crew-card .crew-creator small{font-size:9px}.crew-card .crew-creator>span>span{font-size:11px}}
@media(max-width:600px){.crew-directory-actions{width:100%;flex-direction:column-reverse}.crew-directory-head{align-items:stretch;flex-direction:column;gap:14px}.crew-search{min-width:0}.crew-create-button{width:100%}.crew-add-card{min-height:220px}.crew-editor form{padding:22px 20px 16px}.crew-editor-row{grid-template-columns:1fr;gap:0}.crew-editor-author{flex-direction:column;gap:6px}.crew-editor footer{bottom:0}.crew-editor h2{font-size:22px}.crew-editor footer button{padding:11px 12px}.crew-creator>img,.crew-creator-initial{width:26px;height:26px}}
/* 作成モードは、既存の入力欄で選ぶ。 */
.bai-compose-actions [data-employee-mode]{max-width:200px;min-height:34px;border:1px solid var(--line,#ddd);border-radius:9px;background:#fff;color:var(--ink,#161620);padding:5px 9px;font:inherit;font-size:12px}
.employee-interview,.employee-proposal{width:min(100%,720px);box-sizing:border-box;margin:20px auto;padding:25px;border:1px solid #e6e6e9;border-radius:18px;background:#fff;color:#161620;text-align:left}
.employee-interview h2{font-size:25px;line-height:1.5;margin:8px 0 20px}.employee-interview p,.employee-proposal p{line-height:1.9}.employee-interview small{color:#6f6f7b;line-height:1.8}
.employee-interview ol{display:flex;flex-wrap:wrap;list-style:none;gap:8px;margin:0 0 20px;padding:0}.employee-interview li{padding:7px 10px;background:#f5f5f7;border-radius:8px;color:#6f6f7b;font-size:12px}.employee-interview li[aria-current]{background:#fceef3;color:#a8365c;font-weight:650}
.employee-proposal h3{font-size:22px;margin:10px 0}.employee-proposal ul{padding-left:20px;overflow-wrap:anywhere}.employee-proposal select{display:block;margin:8px 0;padding:10px;border:1px solid #ddd;border-radius:9px;background:#fff;font:inherit;color:#161620}.employee-proposal button{padding:12px 20px}.employee-proposal [role=status]{color:#a8365c}
.employee-profile-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.employee-profile-actions button{border:1px solid #ddd;border-radius:10px;padding:10px 15px;background:#fff;color:#161620;font:inherit}.employee-profile-actions [data-employee-share]{color:#a8365c}.employee-confirm{padding:28px!important;max-width:480px}.employee-confirm h2{margin:0}.employee-confirm p{line-height:1.8}.employee-confirm [data-commit]{background:#161620;color:#fff;padding:12px;border:0;border-radius:10px}
@media(max-width:600px){.bai-compose-actions [data-employee-mode]{max-width:175px;font-size:11px}.bai-compose-actions [id^=bai-input-hint]{display:none}.employee-interview,.employee-proposal{padding:18px;margin:12px 0}.employee-interview h2{font-size:21px}}
.employee-management{padding:24px!important}.employee-management header{display:flex;justify-content:space-between}.employee-management-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-bottom:1px solid #e6e6e9}.employee-management-row h3{font-size:16px;margin:0}.employee-management-row p{font-size:12px;color:#6f6f7b}.employee-management-row button{border:1px solid #ddd;border-radius:8px;background:#fff;padding:9px 14px;color:#161620}
