/* Follow-up drawer only: shared HR attachment language, separate local scope. */
#followupTaskDrawer {width:min(720px,100vw);padding:24px 26px;background:#fff;}
#followupTaskDrawer .followup-task-drawer-form{gap:20px;padding-top:20px;scrollbar-gutter:stable;}
#followupTaskDrawer label{font-size:13px;line-height:1.5;color:#53617a;}
#followupTaskDrawer input:not([type=checkbox]),#followupTaskDrawer select,#followupTaskDrawer textarea{box-sizing:border-box;min-width:0;border:1px solid #dfe5f0;border-radius:11px;background:#fff;padding:12px 13px;color:#283a58;font:inherit;}
#followupTaskDrawer input:focus-visible,#followupTaskDrawer select:focus-visible,#followupTaskDrawer textarea:focus-visible{outline:2px solid #8577ed;outline-offset:2px;}
#followupTaskDrawer .followup-picker{min-height:46px;display:block;width:100%;padding:11px 13px;border:1px solid #dfe5f0;border-radius:11px;background:#fafbff;text-align:left;color:#394c6b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;cursor:pointer;font:inherit;font-weight:500;}
#followupTaskDrawer .followup-picker:disabled{background:#f5f7fb;color:#9aa6bb;cursor:not-allowed;}
#followupTaskDrawer .followup-picker:not(:disabled):hover{border-color:#9c8ff0;background:#f8f6ff;}
#followupTaskDrawer .connection-hint{font-size:11px;font-weight:400;color:#8491a8;}
#followupTaskDrawer .followup-drawer-grid{gap:14px;}
#followupTaskDrawer .followup-message-card{padding:16px;border:1px solid #e3e7f2;border-radius:15px;background:#fcfcff;box-shadow:none;}
#followupTaskDrawer .followup-message-card-head{margin-bottom:10px;}
#followupTaskDrawer .followup-message-card textarea{display:block;width:100%;min-height:115px;line-height:1.7;resize:vertical;margin-top:10px;}
#followupTaskDrawer .followup-material-title{display:flex;align-items:center;gap:12px;margin:20px 0 12px;font-size:12px;color:#66718b;font-weight:600;}
#followupTaskDrawer .followup-material-title:after{content:'';height:1px;flex:1;background:#e8ebf4;}
#followupTaskDrawer .hr-attachment-tools{display:flex;align-items:center;gap:8px;margin:0 0 12px;}
#followupTaskDrawer .hr-attachment-tools button,#followupTaskDrawer .followup-add-link{padding:9px 11px;border:1px solid #e1dcff;border-radius:10px;background:#f7f5ff;color:#6853df;cursor:pointer;font-size:12px;}
#followupTaskDrawer .hr-attachment-tools small{flex:1 1 170px;font-size:10px;color:#8c96aa;font-weight:400;}
#followupTaskDrawer .followup-message-links{display:grid;gap:9px;}
#followupTaskDrawer .followup-message-link{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) 34px;gap:8px;align-items:start;}
#followupTaskDrawer .followup-message-link input{width:100%;font-size:12px;margin:0;}
#followupTaskDrawer .followup-message-link button{min-height:40px;padding:0;border:1px solid #dfe5f0;border-radius:10px;background:#f1f3f8;color:#61708a;cursor:pointer;}
#followupTaskDrawer .followup-add-link{margin-top:9px;background:transparent;border-color:transparent;padding-left:0;}
#followupTaskDrawer .followup-message-attachments{display:grid;gap:8px;margin-top:10px;}
#followupTaskDrawer .followup-message-attachment{display:flex;gap:12px;align-items:center;padding:10px;border:1px solid #e3e7f2;border-radius:11px;background:#fff;}
#followupTaskDrawer .followup-message-attachment>img,#followupTaskDrawer .followup-message-attachment>video,#followupTaskDrawer .followup-file-icon{width:76px;height:64px;flex-shrink:0;object-fit:cover;border-radius:7px;background:#f2f3fb;}
#followupTaskDrawer .followup-file-icon{display:grid;place-items:center;color:#7868d2;font-size:12px;}
#followupTaskDrawer .followup-message-attachment>span:not(.followup-file-icon){flex:1;min-width:0;}
#followupTaskDrawer .followup-message-attachment strong{display:block;overflow-wrap:anywhere;font-size:12px;font-weight:500;}
#followupTaskDrawer .followup-message-attachment small{display:block;margin-top:6px;color:#8994a9;font-size:11px;}
#followupTaskDrawer .followup-message-attachment>button{width:28px;height:28px;padding:0;border:0;border-radius:7px;background:#f6f3fc;color:#8c7c9e;cursor:pointer;}
#followupTaskDrawer .followup-keyword-field{display:grid;gap:9px;min-width:0;}
#followupTaskDrawer .followup-keyword-field>label{font-weight:600;}
#followupTaskDrawer .followup-keyword-active{padding:12px 13px;border:1px solid #e8e6f5;border-radius:11px;background:#fbfaff;}
#followupTaskDrawer .followup-keyword-active header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8790a7;font-size:11px;}
#followupTaskDrawer .followup-copy{display:grid;place-items:center;width:28px;height:28px;padding:5px;border:1px solid #e1ddf6;border-radius:8px;background:#fff;color:#7a69cb;cursor:pointer;}
#followupTaskDrawer .followup-copy svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linejoin:round;}
#followupTaskDrawer .followup-copy:disabled{opacity:.4;cursor:default;}
#followupTaskDrawer .followup-keyword-tags{display:flex;flex-wrap:wrap;gap:7px;padding-top:8px;min-height:24px;}
#followupTaskDrawer .followup-keyword-tag{display:inline-flex;max-width:100%;align-items:center;gap:6px;padding:5px 8px 5px 10px;border:1px solid #e2dcfb;border-radius:8px;color:#6750b5;background:#f0ebff;font-size:12px;line-height:1.5;}
#followupTaskDrawer .followup-keyword-tag>span{min-width:0;overflow-wrap:anywhere;white-space:pre-wrap;}
#followupTaskDrawer .followup-keyword-tag button{padding:0;width:20px;height:20px;flex-shrink:0;border:0;border-radius:5px;background:transparent;color:#9685bd;cursor:pointer;}
#followupTaskDrawer .followup-keyword-tag button:hover{background:#e4dcfa;color:#5b3ba0;}
#followupTaskDrawer .followup-keyword-empty{font-size:11px;color:#a0a6b7;}
#followupTaskDrawer .followup-clipboard-helper{position:absolute;width:1px;height:1px;opacity:.01;}
#followupTaskDrawer .followup-form-status{margin:0;font-size:12px;color:#6c7991;line-height:1.6;}
#followupTaskDrawer .followup-form-status:empty{display:none;}
#followupTaskDrawer .followup-form-status.error{padding:10px 12px;border-radius:9px;background:#fff5f4;color:#b55757;}
.followup-scope-dialog{box-sizing:border-box;width:min(680px,calc(100vw - 36px));max-height:85vh;padding:23px;border:1px solid #e3e6f2;border-radius:20px;background:#fff;color:#31435e;box-shadow:0 24px 70px #26335c33;}
.followup-scope-dialog::backdrop{background:#26324c55;backdrop-filter:blur(5px);}
.followup-scope-dialog header{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;}
.followup-scope-dialog h3{margin:0;font-size:19px;}
.followup-scope-dialog button{font:inherit;cursor:pointer;}
.followup-scope-dialog header button{width:30px;height:30px;border:0;border-radius:8px;background:#f5f4fb;color:#7b8499;}
.followup-scope-dialog input[type=search]{box-sizing:border-box;width:100%;padding:12px 13px;border:1px solid #dfe4f0;border-radius:10px;font:inherit;}
.followup-scope-dialog input:focus-visible,.followup-scope-dialog button:focus-visible{outline:2px solid #8a78e5;outline-offset:2px;}
#followupPickerStatus{font-size:12px;color:#8792a8;line-height:1.6;}
#followupPickerItems{display:grid;gap:9px;max-height:48vh;overflow:auto;padding:3px;}
.followup-scope-option{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid #e3e7f1;border-radius:11px;background:#fff;text-align:left;color:#3d4e69;}
.followup-scope-option:hover,.followup-scope-all:hover{border-color:#b4a7ef;background:#faf8ff;}
.followup-scope-option>span:first-of-type{min-width:0;flex:1;}
.followup-scope-option strong{display:block;font-size:13px;overflow-wrap:anywhere;}
.followup-scope-option small{display:block;margin-top:6px;font-size:11px;color:#97a0b2;overflow-wrap:anywhere;}
.followup-scope-option:disabled{opacity:.5;cursor:not-allowed;}
.followup-scope-option img,.followup-product-fallback{width:70px;height:70px;flex-shrink:0;object-fit:cover;border-radius:8px;background:#f3f4f9;}
.followup-product-fallback{display:grid;place-items:center;font-size:10px;color:#a2aabd;}
.followup-scope-all{padding:12px;border:1px dashed #dcd4f4;border-radius:10px;background:#faf8ff;color:#7e69c5;text-align:left;}
.followup-scope-dialog footer{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;}
.followup-scope-dialog footer button{padding:7px 10px;border:1px solid #e2e5ef;border-radius:8px;color:#718099;background:#fff;font-size:12px;}
.followup-scope-dialog footer button:disabled{opacity:.4;cursor:default;}
#followupPickerPage{font-size:11px;color:#96a0b3;}
@media(max-width:600px){#followupTaskDrawer{padding:20px 16px;}#followupTaskDrawer .followup-drawer-grid{grid-template-columns:1fr;}#followupTaskDrawer .followup-message-link{grid-template-columns:minmax(0,1fr) 32px;}#followupTaskDrawer .followup-message-link input:first-child{grid-column:1/-1;}#followupTaskDrawer .hr-attachment-tools small{flex-basis:100%;}.followup-scope-dialog{padding:18px;}}
