@import url('./attendance-timeline.css');
.cc-attendance{display:grid;grid-template-columns:372px minmax(360px,1fr) auto;height:100%;min-height:0;min-width:0;flex:1;font-family:Inter,system-ui,sans-serif;color:#1B1F24;font-size:13px}.cc-attendance *{box-sizing:border-box}.cc-attendance button,.cc-attendance input,.cc-attendance select,.cc-attendance textarea{font:inherit}.cc-attendance button{cursor:pointer}.cc-attendance button:disabled,.cc-attendance input:disabled,.cc-attendance select:disabled,.cc-attendance textarea:disabled{cursor:not-allowed;color:#8892A0}.cc-attendance button:focus-visible,.cc-attendance input:focus-visible{outline:2px solid #128A76;outline-offset:2px}.cc-attendance__list{border-right:1px solid #E5E7EB;display:flex;flex-direction:column;background:#fff;min-height:0}.cc-attendance__list-head{padding:14px 16px 10px}.cc-attendance__title-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}.cc-attendance__title{font-family:'Playfair Display',serif;font-size:21px;font-weight:700;margin:0}.cc-attendance__new{width:34px;height:34px;border-radius:9px;border:1px solid #E5E7EB;background:#fff;display:grid;place-items:center}.cc-attendance__search-box{display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;background:#F4F5F7;border:1px solid #EAECEF;border-radius:10px}.cc-attendance__search-mark{font-size:22px;color:#98A2B3}.cc-attendance__search{min-height:24px;flex:1;min-width:0;border:0;outline:0;background:transparent;font-size:13.5px!important}.cc-attendance__quick{display:flex;gap:6px;margin-top:11px;flex-wrap:wrap}.cc-attendance__pill{display:inline-flex;gap:5px;align-items:center;border:0;border-radius:20px;padding:6px 12px;font-size:12.5px!important;font-weight:700!important;white-space:nowrap}.cc-attendance__pill.red{background:#FDE8E8;color:#9E2B2F}.cc-attendance__pill.teal{background:#E1F2EE;color:#0E6B5B}.cc-attendance__pill.amber{background:#FBEED0;color:#7A5A10}.cc-attendance__pill[aria-pressed=true]{outline:2px solid #128A76;outline-offset:1px}.cc-attendance__count{opacity:.7;margin-left:4px}.cc-attendance__filters{margin-top:8px;padding:13px 14px;background:#F7F8FA;border:1px solid #EDEEF1;border-radius:12px}.cc-attendance__fields{display:grid;grid-template-columns:1fr 1fr;gap:11px}.cc-attendance__field{display:block;font-size:11.5px;font-weight:700;color:#3B4453}.cc-attendance__field:last-child{grid-column:1/-1}.cc-attendance__field-input{display:block;width:100%;height:36px;margin-top:5px;padding:0 8px;border:1px solid #E0E3E8;border-radius:8px;background:#fff;font-size:12.5px!important}.cc-attendance__show-title{font-size:11px;font-weight:800;color:#98A2B3;text-transform:uppercase;letter-spacing:.05em;border-top:1px solid #EDEEF1;padding-top:12px;margin:13px 0 8px}.cc-attendance__show-also{display:flex;flex-wrap:wrap;gap:8px 16px}.cc-attendance__checkbox{background:transparent;border:0;padding:0;font-size:12.5px!important;font-weight:600!important}.cc-attendance__hint{font-size:10.5px;color:#98A2B3;line-height:1.45;margin:7px 0}.cc-attendance__filter-buttons{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}.cc-attendance__clear,.cc-attendance__apply{height:32px;padding:0 12px;border:1px solid #E0E3E8;border-radius:8px;background:#fff;font-size:11.5px!important;font-weight:700!important}.cc-attendance__apply{background:#128A76;color:#fff;border:0}.cc-attendance__scope-label{font-size:10px;color:#98A2B3;font-weight:800;text-transform:uppercase;letter-spacing:.06em;margin:11px 0 5px}.cc-attendance__scopes{display:flex;background:#F4F5F7;border-radius:10px;padding:3px;gap:3px}.cc-attendance__scope{flex:1;height:30px;border:0;border-radius:8px;background:transparent;font-size:11.5px!important;font-weight:700!important;padding:0 5px}.cc-attendance__scope[aria-pressed=true]{background:#fff;box-shadow:0 1px 3px #1419231f}.cc-attendance__list-meta{display:flex;align-items:center;justify-content:space-between;margin-top:12px}.cc-attendance__rows{flex:1;overflow-y:auto;min-height:0}.cc-attendance__row[data-selected=true]{background:#E1F2EE}.cc-attendance__row[data-unread=true]{box-shadow:inset 3px 0 0 #E5484D}.cc-attendance__avatar{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:50%;background:#6B7688;color:#fff;font-size:13px;font-weight:700}.cc-attendance__status{padding:3px 8px;border-radius:6px;font-size:10px;font-weight:800;letter-spacing:.03em;white-space:nowrap}.cc-attendance__status.open{background:#FDE8E8;color:#9E2B2F}.cc-attendance__status.active{background:#E1F2EE;color:#0E6B5B}.cc-attendance__status.wait{background:#FBEED0;color:#7A5A10}.cc-attendance__status.resolved{background:#E7F5E4;color:#1E7A34}.cc-attendance__empty{text-align:center;padding:40px 24px}.cc-attendance__notice{padding:14px 16px;font-size:12px;color:#5F6B7A;line-height:1.5}.cc-attendance__notice[data-state=error]{color:#9E2B2F;background:#FDF3F3}.cc-attendance__thread{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.cc-attendance__thread-head{height:62px;flex:none;display:flex;align-items:center;gap:12px;padding:0 16px;border-bottom:1px solid #E5E7EB}.cc-attendance__contact-avatar{width:40px;height:40px;flex:none;display:grid;place-items:center;border-radius:50%;background:#6B7688;color:#fff;font-size:13px;font-weight:700}.cc-attendance__identity{flex:1;min-width:0}.cc-attendance__contact-name{display:block;max-width:100%;border:0;background:transparent;font-size:15.5px!important;font-weight:700!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding:0}.cc-attendance__contact-meta{font-size:12px;color:#98A2B3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cc-attendance__pick{height:34px;padding:0 13px;border:0;border-radius:9px;background:#128A76;font-size:12.5px!important;font-weight:800!important}.cc-attendance__head-status{border:0;border-radius:6px;font-size:10px!important;max-width:95px}.cc-attendance__icon{flex:none;width:28px;height:28px;border:1px solid #E5E7EB;border-radius:8px;background:#fff;display:grid;place-items:center;padding:0}.cc-attendance__messages{flex:1;min-height:0;overflow-y:auto;padding:20px 8%;background:#ECEAE0}.cc-attendance__older{width:100%;padding:9px 0;margin:0 0 14px;border:0;border-radius:9px;background:#128A76;font-size:12.5px!important;font-weight:800!important}.cc-attendance__composer{display:flex;align-items:center;gap:4px;padding:12px 10px;flex-wrap:wrap;border-top:1px solid #E5E7EB}.cc-attendance__composer-input{flex:1;min-width:100px;height:40px;resize:none;border:1px solid #E5E7EB;border-radius:9px;padding:10px}.cc-attendance__operation-note{margin:0 10px 8px;font-size:10.5px;color:#98A2B3}.cc-attendance__panel{width:384px;min-height:0;border-left:1px solid #E5E7EB;background:#fff;display:flex;flex-direction:column}.cc-attendance__panel-head{display:flex;align-items:center;justify-content:space-between;padding:10px 12px 8px;font-size:14px}.cc-attendance__tabs{display:flex;align-items:center;gap:3px;padding:0 10px 9px;overflow-x:auto;border-bottom:1px solid #E5E7EB}.cc-attendance__tab{border:0;border-radius:8px;padding:6px 3px;background:#fff;font-size:9px!important;min-width:25px}
/* D012 L770 and L809–838; native sibling controls preserve keyboard semantics. */
.cc-attendance__field-input{font-weight:400!important}.cc-attendance__filter-buttons .cc-attendance__clear,.cc-attendance__filter-buttons .cc-attendance__apply{height:36px;padding:0 14px;border-radius:9px;font-size:12.5px!important}.cc-attendance__checkbox{display:inline-flex;align-items:center;gap:7px}.cc-attendance__check-box{width:17px;height:17px;border-radius:5px;border:1.5px solid #C9CDD3;flex:none}.cc-attendance__tab{display:grid;place-items:center;width:30px;height:30px;flex:none;padding:0}.cc-attendance__tabs-expand{margin-left:auto;width:24px;height:24px;flex:none;border:1px solid #E5E7EB;border-radius:7px;background:#fff;font-size:11px!important;font-weight:800!important}.cc-attendance__tabs{padding-top:0;min-height:39px}

/* D012 L683/L800: header has padding only; conversation rows own scrolling. */
.cc-attendance__expand{display:flex;width:100%;align-items:center;justify-content:center;gap:7px;margin-top:9px;padding:5px;border:0;border-radius:8px;cursor:pointer;color:#98A2B3;background:#fff}.cc-attendance__expand:hover{background:#F4F5F7}.cc-attendance__divider{flex:1;height:1px;background:#EDEEF1}.cc-attendance__expand-label{font-size:10.5px;font-weight:700;letter-spacing:.04em;white-space:nowrap}.cc-attendance__chevron{font-size:12px}.cc-attendance__filters-title{display:flex;width:100%;align-items:center;gap:8px;margin-top:11px;padding:9px 12px;border:1px solid #EAECEF;border-radius:10px;cursor:pointer;background:#fff}.cc-attendance__filters-title svg{color:#5F6B7A;flex:none}.cc-attendance__filters-label{font-size:13px;font-weight:700;color:#3B4453}.cc-attendance__filter-chevron{margin-left:auto;color:#98A2B3;font-size:12px}.cc-attendance__filter-link{position:relative;font-size:12px!important;color:#1D4ED8;font-weight:600!important;cursor:pointer;background:transparent;border:0;padding:0}.cc-attendance__filter-link:after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:24px;min-height:24px;border-radius:inherit}
/* D012 L803–840: native siblings maintain both source lines and control order. */
.cc-attendance__row{display:flex;gap:11px;align-items:center;cursor:pointer;padding:var(--row-pad,13px) 15px;min-height:var(--row-h,72px);border-bottom:1px solid #F0F1F3}.cc-attendance__row-info{flex:1;min-width:0}.cc-attendance__row-line{display:flex;align-items:baseline;gap:8px}.cc-attendance__row-open{display:block;background:transparent;border:0;text-align:left;padding:0}.cc-attendance__row-name{font-size:14.5px!important;font-weight:700!important;color:#1B1F24;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1;min-width:0}.cc-attendance__favorite{position:relative;width:22px;height:22px;flex:none;border:0;background:transparent;cursor:pointer;padding:0;display:grid;place-items:center}.cc-attendance__favorite svg{width:14px;height:14px}.cc-attendance__favorite:after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:24px;min-height:24px;border-radius:inherit}.cc-attendance__time{font-size:11.5px;color:#98A2B3;white-space:nowrap}.cc-attendance__row-lower{display:flex;align-items:center;gap:8px;margin-top:4px}.cc-attendance__row-preview{flex:1;min-width:0;font-size:12.5px;color:#6B7688;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cc-attendance__row[data-unread=true] .cc-attendance__row-preview{color:#1B1F24;font-weight:800}.cc-attendance__status{flex:none}.cc-attendance__unread{position:relative;flex:none;min-width:20px;height:20px;padding:0 6px;border:0;border-radius:10px;background:#E5484D;font-size:11px!important;font-weight:800!important;display:grid;place-items:center}.cc-attendance__unread:after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:100%;height:100%;min-width:24px;min-height:24px;border-radius:inherit}.cc-attendance__pick-row{flex:none;height:24px;padding:0 9px;border:1px solid #128A76;border-radius:7px;background:#fff;font-size:10.5px!important;font-weight:800!important;white-space:nowrap}

/* D012 V2 operational profile; provider absence leaves the existing panel unchanged. */
.cc-attendance__profile-body{flex:1;overflow-y:auto;min-height:0;padding:16px 16px 24px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-hero{display:flex;flex-direction:column;align-items:center;text-align:center}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-avatar{width:100px;height:100px;border:0;border-radius:50%;background:#6B7688;color:#fff;font-size:30px;font-weight:700}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-name-row{margin-top:12px;display:flex;align-items:center;gap:6px;max-width:100%}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-name{border:0;padding:0;background:transparent;color:#0E7060;font-size:18px;font-weight:700;overflow-wrap:anywhere}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-rename{width:24px;height:24px;flex-shrink:0;display:grid;place-items:center;padding:0;border:0;border-radius:7px;background:transparent;color:#98A2B3}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-phone{font-size:13.5px;color:#5F6B7A;margin-top:2px;overflow-wrap:anywhere;max-width:100%}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-ai{margin-top:7px;height:26px;padding:0 10px;border:1px solid #E4DCF0;border-radius:7px;background:#F5F2FA;color:#5B3A8C;font-size:10.5px;font-weight:800}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:14px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-link,.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-whatsapp{height:44px;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #E5E7EB;border-radius:10px;background:#fff;color:#1B1F24;font-size:13px;font-weight:700}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-whatsapp{border-color:#C7E6DE;background:#E1F2EE;color:#0E6B5B}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-actions{margin-top:18px;display:grid;gap:8px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-label{font-size:11.5px;font-weight:800;color:#98A2B3;text-transform:uppercase;letter-spacing:.06em;margin:0 0 9px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-actions .cc-attendance__profile-label{margin-bottom:1px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-action-row{width:100%;padding:11px 13px;border:1px solid #E5E7EB;border-radius:11px;background:#fff;display:flex;align-items:center;justify-content:space-between;gap:11px;text-align:left;color:#1B1F24;font-size:13px;font-weight:700}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-muted{font-size:11px;font-weight:400;color:#98A2B3}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-bot{border:0;background:transparent;color:#98A2B3;font-size:11px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-section{margin-top:22px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-extract{width:100%;height:40px;border:1px solid #E4DCF0;border-radius:10px;background:#F5F2FA;color:#5B3A8C;font-size:12.5px;font-weight:800}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-assignment-row{display:flex;gap:8px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-assignment{flex:1;min-width:0;height:38px;display:flex;align-items:center;gap:8px;padding:0 11px;border:1px solid #E5E7EB;border-radius:9px;font-size:13px;font-weight:600;color:#1B1F24}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-assignment[data-assignment-state="unassigned"]{border:1.5px dashed #C9CDD3;color:#98A2B3;font-weight:400}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-assignment[data-assignment-state="unknown"]{color:#98A2B3;font-weight:400}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-assignee-avatar{width:22px;height:22px;flex-shrink:0;display:grid;place-items:center;border-radius:50%;background:#6B7688;color:#fff;font-size:10px}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-assignee-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-delegate{height:38px;padding:0 12px;border:1px solid #C7E6DE;border-radius:9px;background:#E1F2EE;color:#0E6B5B;font-size:12.5px;font-weight:700}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-source{margin:22px 0 0;color:#98A2B3;font-size:11px}

.cc-attendance__profile-copy-result{font-size:11px;color:#5F6B7A;margin:8px 0 0;line-height:1.4}

.cc-attendance__check-box[data-checked="true"]{display:grid;place-items:center;background:#128A76;border-color:#128A76;color:#fff;font-size:11px;font-weight:800}

/* D012 L708-716 and quickPills: native header geometry, no new responsive rule. */
.cc-attendance__search-mark{flex:none;width:17px;height:17px}
.cc-attendance__pill{flex:none}
.cc-attendance__pill .cc-attendance__count{margin-left:0}
.cc-attendance__clear-all-row{margin-top:8px}
.cc-attendance__clear-all{height:28px;padding:0 11px;border:1px solid #E0E3E8;border-radius:8px;background:#fff;color:#9E2B2F;font-size:11.5px!important;font-weight:700!important}

/* D012 composer1457-1581/10324; draft-only transport remains unavailable. */
.cc-attendance__composer{flex:none;flex-wrap:nowrap;gap:6px;padding:12px 14px;background:#fff}
.cc-attendance__composer .cc-attendance__icon{position:relative;width:38px;height:38px;border:0;border-radius:50%;background:transparent;color:#5F6B7A}
.cc-attendance__composer .cc-attendance__icon[hidden]{display:none}
.cc-attendance__composer [data-action-id="D012-A0278"]{border-radius:10px;border:1px solid #F0DE8A;background:#FFF6C7;color:#A8891F}
.cc-attendance__composer [data-action-id="D012-A0281"]{width:40px;height:40px}
.cc-attendance__composer [data-action-id="D012-A0294"],.cc-attendance__composer [data-action-id="D012-A0295"]{width:44px;height:44px}
.cc-attendance__composer [data-action-id="D012-A0295"]{background:#128A76;color:#fff}
.cc-attendance__composer-box{flex:1;display:flex;align-items:center;min-height:44px;max-height:132px;padding:6px 14px;border-radius:22px;background:#F4F5F7;border:1.5px solid #128A76}
.cc-attendance__composer-input{flex:1;min-width:0;height:auto;max-height:120px;border:0;border-radius:0;padding:0;background:transparent;outline:none;resize:none;overflow-y:auto;line-height:1.4;font-size:14px!important;color:#1B1F24}

/* D012 emoji selector: local draft only. */
.cc-attendance__emoji-anchor{position:relative;flex:none}
.cc-attendance .cc-attendance__emoji-toggle{font-size:18px}
.cc-attendance__emoji-pop{position:absolute;bottom:48px;left:0;width:266px;box-sizing:border-box;background:#fff;border:1px solid #E5E7EB;border-radius:12px;box-shadow:0 14px 34px rgba(20,25,35,.2);padding:10px;z-index:40}
.cc-attendance__emoji-search-row{display:flex;align-items:center;gap:8px;height:34px;padding:0 10px;background:#F4F5F7;border-radius:8px;margin-bottom:8px}
.cc-attendance .cc-attendance__emoji-search{min-width:0;min-height:24px;flex:1;border:0;outline:0;background:transparent;font:12px Inter,sans-serif;color:#1B1F24}
.cc-attendance__emoji-categories{display:flex;gap:6px;margin-bottom:8px}
.cc-attendance .cc-attendance__emoji-category{position:relative;height:22px;padding:0 9px;border:0;border-radius:6px;background:transparent;color:#98A2B3;font:800 10.5px Inter,sans-serif;cursor:pointer}
.cc-attendance__emoji-category[aria-pressed=true]{background:#EFF1E9;color:#2E3B23}
.cc-attendance__emoji-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:4px}
.cc-attendance .cc-attendance__emoji-pick{height:30px;min-width:0;padding:0;border:0;border-radius:7px;background:transparent;font:19px/1 'Apple Color Emoji','Segoe UI Emoji','Noto Color Emoji',sans-serif;cursor:pointer}
.cc-attendance__emoji-pick:hover{background:#F4F5F7}
.cc-attendance__emoji-status{padding:14px 4px;text-align:center;font-size:11.5px;color:#98A2B3;margin:0}
.cc-attendance__emoji-status[hidden]{display:none}
.cc-attendance__emoji-category:focus-visible,.cc-attendance__emoji-pick:focus-visible{outline:2px solid #128A76;outline-offset:1px}

/* D012 note panel, native controls with explicit backend outcome. */
.cc-attendance__note-composer{margin:0 16px 8px;background:#FFF6C7;border:1px solid #F0DE8A;border-radius:10px;padding:10px 12px}
.cc-attendance__note-composer-title{font-size:11px;font-weight:800;color:#8A6D00;text-transform:uppercase;letter-spacing:.04em;margin-bottom:6px}
.cc-attendance__note-composer-input{width:100%;min-height:52px;padding:8px 10px;border:1px solid #E9DDA0;background:#FFFDF2;border-radius:9px;font-family:inherit;font-size:13px;line-height:1.5;color:#6b5a1a;resize:vertical;box-sizing:border-box}
.cc-attendance__note-save,.cc-attendance__note-cancel{padding:6px 13px;border-radius:7px;border:none;font-size:12px;font-weight:700;cursor:pointer;margin:8px 8px 0 0}
.cc-attendance__note-save{background:#35A03F;color:#fff}.cc-attendance__note-cancel{background:#E9DDA0;color:#7a6410}
.cc-attendance__note-save:disabled{opacity:.5;cursor:not-allowed}.cc-attendance__command-refresh{margin-left:8px;font:inherit;color:inherit}

/* Native D012 Funil & Lead, source lines1904-1960. No legacy shell. */
.cc-attendance__crm-admission{border:1.5px dashed #d8b25a;background:#fdf9ee;border-radius:10px;padding:10px 12px;font-size:11.5px;color:#5c4a12;line-height:1.5;margin-bottom:12px}
.cc-attendance__crm-empty{border:1.5px dashed #c9cdd3;border-radius:10px;padding:16px 14px;text-align:center;margin-bottom:10px;font-size:12.5px}
.cc-attendance__crm-choice{border:1px solid #ebd9a8;background:#fbf7ee;border-radius:10px;padding:11px 12px;margin-bottom:10px;font-size:12px;color:#8a6d1b}
.cc-attendance__crm-promotion{border:1px solid #c7e6de;background:#f2faf7;border-radius:10px;padding:12px 13px;margin-bottom:10px;font-size:12.5px;color:#0e6b5b}
.cc-attendance__crm-primary,.cc-attendance__crm-secondary,.cc-attendance__crm-stage,.cc-attendance__crm-choice-option{font-family:Inter,sans-serif;cursor:pointer;border-radius:9px;font-size:12px;font-weight:700;min-height:34px;padding:6px 12px;margin:4px 5px 4px 0}
.cc-attendance__crm-primary{background:#0e6b5b;color:#fff;border:0}.cc-attendance__crm-secondary,.cc-attendance__crm-stage,.cc-attendance__crm-choice-option{background:#fff;border:1px solid #c7e6de;color:#0e6b5b}.cc-attendance__crm-choice-option{display:block;width:100%;text-align:left;margin:6px 0}
.cc-attendance__crm-funnels{display:flex;flex-wrap:wrap;gap:6px;margin-top:9px}.cc-attendance__crm-funnels [aria-pressed=true]{background:#e5f5ef;border-color:#128a76}
.cc-attendance__crm-muted{font-size:11px;color:#5f6b7a;line-height:1.5;margin:5px 0 8px}.cc-attendance__crm-warning{font-size:11px;color:#8a6d1b;background:#fbf7ee;border:1px solid #ebd9a8;border-radius:8px;padding:7px 9px}.cc-attendance__crm-feedback{font-size:11px;color:#0e6b5b;line-height:1.5}.cc-attendance__crm-target{font-size:10px;font-weight:800;color:#0e6b5b;margin:9px 0 6px}.cc-attendance__crm-phase{display:inline-flex;padding:4px 11px;border-radius:999px;background:#128a76;color:white;font-size:11px;font-weight:800}.cc-attendance__crm-stages{display:flex;flex-direction:column;margin-top:8px}.cc-attendance__crm-stage[aria-current=step]{background:#e5f5ef}

/* D012 vertical phase rail geometry (1948-1953); no fabricated prior-stage completion. */
.cc-attendance__crm-stages{gap:6px;padding:10px 12px;border:1px solid #edeef1;border-radius:10px}
.cc-attendance__crm-stages .cc-attendance__crm-stage{display:flex;align-items:center;gap:9px;border:0;border-radius:0;background:transparent;min-height:13px;margin:0;padding:0;text-align:left;font-size:11.5px;font-weight:600;color:#98a2b3}
.cc-attendance__crm-stages .cc-attendance__crm-stage:disabled{opacity:1;cursor:not-allowed}
.cc-attendance__crm-stage-dot{width:13px;height:13px;border-radius:50%;flex:none;background:#e5e7eb}
.cc-attendance__crm-stages .cc-attendance__crm-stage[aria-current=step]{font-weight:800;color:#1b1f24;background:transparent}
.cc-attendance__crm-stage[aria-current=step] .cc-attendance__crm-stage-dot{background:#128a76;outline:3px solid #128a7644}

/* D012 loss dialog 4082-4089, native modal semantics and no provider-side shortcut. */
.cc-attendance__loss-dialog{position:fixed;inset:0;margin:auto;width:360px;max-width:92vw;box-sizing:border-box;background:#fff;border:0;border-radius:15px;box-shadow:0 24px 60px rgba(20,25,35,.28);padding:20px;color:#1b1f24}
.cc-attendance__loss-dialog::backdrop{background:rgba(20,25,35,.34)}
.cc-attendance__loss-title{font-size:16px;font-weight:700;color:#1b1f24}
.cc-attendance__loss-description{font-size:12.5px;color:#98a2b3;margin:3px 0 14px}
.cc-attendance__loss-options{display:flex;flex-direction:column;gap:7px}
.cc-attendance__loss-option{height:42px;padding:0 14px;border:1px solid #e5e7eb;border-radius:10px;background:#fff;color:#1b1f24;font-size:13px;font-weight:600;text-align:left;cursor:pointer;font-family:Inter,sans-serif}
.cc-attendance__loss-option:hover{background:#fdf3ee;border-color:#f0c9b4}
.cc-attendance__loss-cancel{margin-top:12px;height:36px;width:100%;border:0;border-radius:9px;background:#f1f3f5;color:#5f6b7a;font-size:12.5px;font-weight:700;cursor:pointer;font-family:Inter,sans-serif}
.cc-attendance__loss-dialog button:focus-visible{outline:2px solid #128a76;outline-offset:2px}

/* D012 native scheduling popover; attachments remain unavailable. */
.cc-attendance__schedule-anchor{position:relative}
.cc-attendance__schedule-pop{position:absolute;bottom:50px;right:0;width:250px;background:#fff;border:1px solid #E5E7EB;border-radius:13px;box-shadow:0 14px 34px rgba(20,25,35,.22);padding:15px 16px;z-index:40;color:#1B1F24}
.cc-attendance__schedule-title{font-size:13.5px;font-weight:800;margin-bottom:10px}
.cc-attendance__schedule-label{font-size:11px;font-weight:700;color:#5F6B7A;display:block;margin-bottom:4px}
.cc-attendance__schedule-field{display:block;width:100%;height:38px;padding:0 10px;border:1px solid #CBD3DA;border-radius:9px;font:13px Inter,sans-serif;color:#1B1F24;margin:4px 0 10px;box-sizing:border-box;background:#fff}
textarea.cc-attendance__schedule-field{height:auto;min-height:54px;padding:8px 10px;font-size:12.5px;resize:vertical}
.cc-attendance__schedule-attachment{width:100%;height:38px;border:1px dashed #CBD3DA;border-radius:9px;background:#F8F9FA;color:#5F6B7A;font:700 11.5px Inter,sans-serif;margin-bottom:11px}
.cc-attendance__schedule-hint{font-size:10px;color:#667085;margin:0 0 11px;line-height:1.45}
.cc-attendance__schedule-actions{display:flex;gap:8px}
.cc-attendance__schedule-actions button{flex:1;height:36px;border:1px solid #E0E3E8;border-radius:9px;background:#fff;color:#3B4453;font:700 12.5px Inter,sans-serif;cursor:pointer}
.cc-attendance__schedule-actions .cc-attendance__schedule-save{border:0;background:var(--active,#128A76);color:#fff;font-weight:800}
.cc-attendance__schedule-actions button:disabled{opacity:.55;cursor:not-allowed}
.cc-attendance__schedule-result{font-size:11px;line-height:1.45;margin:0 0 8px;color:#9E2B2F}
.cc-attendance__schedule-result:empty{display:none}

/* D012 conversation schedule projection, lines965-990. */
.cc-attendance__schedule-list{flex:none;background:#FDF6E3;border-bottom:1px solid #EBD9A8}
.cc-attendance__schedule-list-toggle{display:flex;align-items:center;width:100%;padding:7px 16px;background:transparent;border:0;color:#8A6D1B;font:700 11.5px Inter,sans-serif;cursor:pointer;text-align:left}
.cc-attendance__schedule-list-body{padding:10px 16px;max-height:260px;overflow-y:auto}
.cc-attendance__schedule-list-title{font-size:11px;letter-spacing:.05em;color:#8A6D1B}
.cc-attendance__schedule-list-scope{font-size:10.5px;color:#667085;line-height:1.45;margin:5px 0}
.cc-attendance__schedule-card{background:#fff;border:1px solid #EBD9A8;border-radius:10px;padding:9px 12px;margin-top:6px}
.cc-attendance__schedule-card-heading{display:flex;align-items:center;gap:8px;font-size:12px;color:#5C4A12}
.cc-attendance__schedule-badge{font-size:10px;border-radius:6px;padding:2px 6px;background:#EEF0F2;color:#5F6B7A}
.cc-attendance__schedule-card-text{font-size:12.5px;color:#5F6B7A;margin-top:5px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}
.cc-attendance__schedule-card-actions{display:flex;gap:7px;margin-top:9px;flex-wrap:wrap}
.cc-attendance__schedule-card-actions button,.cc-attendance__schedule-list-refresh,.cc-attendance__schedule-list-more{height:28px;padding:0 10px;border:1px solid #DDE2D7;border-radius:7px;background:#fff;color:#2E3B23;font:700 11px Inter,sans-serif;margin-top:6px;cursor:pointer}
.cc-attendance__schedule-card-actions button:disabled{opacity:.55;cursor:not-allowed}

/* D012 schedule edit modal; native dialog contains focus. */
.cc-attendance__schedule-edit{position:fixed;inset:0;width:520px;max-width:calc(100% - 40px);max-height:calc(100% - 40px);margin:auto;padding:0;border:0;border-radius:16px;background:#fff;color:#182014;box-shadow:0 24px 60px rgba(20,25,20,.35);font-family:inherit;overflow:auto}
.cc-attendance__schedule-edit::backdrop{background:rgba(20,25,20,.42)}
.cc-attendance__schedule-edit-head{padding:16px 20px;background:#2E3B23;color:#fff;display:flex;align-items:center;justify-content:space-between;font-size:15px;font-weight:800}
.cc-attendance__schedule-edit-sub{font-size:11.5px;color:#AEBA98;margin-top:1px;font-weight:400}
.cc-attendance__schedule-edit-head button{width:30px;height:30px;border:0;border-radius:8px;background:rgba(255,255,255,.12);color:#fff;font-size:15px}
.cc-attendance__schedule-edit-body{padding:18px 20px}
.cc-attendance__schedule-edit-chip{display:inline-flex;padding:5px 11px;border-radius:999px;background:#F5F2FA;border:1px solid #E4DCF0;color:#5B3A8C;font-size:10.5px;font-weight:800;letter-spacing:.03em;margin-bottom:14px}
.cc-attendance__schedule-edit-label{display:block;font-size:11px;font-weight:800;letter-spacing:.04em;color:#64705F;text-transform:uppercase}
.cc-attendance .cc-attendance__schedule-edit-field{font-weight:400;text-transform:none;letter-spacing:normal;display:block;box-sizing:border-box;width:100%;height:40px;margin-top:6px;padding:0 11px;border:1px solid #DDE2D7;border-radius:10px;font-family:inherit;font-size:13.5px;color:#182014}
.cc-attendance textarea.cc-attendance__schedule-edit-field{min-height:88px;padding:10px 12px;resize:vertical}
.cc-attendance__schedule-edit-dates{display:flex;gap:12px;margin-top:14px}.cc-attendance__schedule-edit-dates label:first-child{flex:1;min-width:0}.cc-attendance__schedule-edit-dates label:last-child{width:130px}
.cc-attendance__schedule-edit-hint{font-size:11px;color:#98A2B3;margin-top:8px;line-height:1.5}
.cc-attendance__schedule-edit-error{margin-top:10px;padding:8px 11px;background:#FDF2F2;border:1px solid #F3D3D3;border-radius:9px;font-size:12px;color:#9E2B2F}
.cc-attendance__schedule-edit-footer{padding:14px 20px;border-top:1px solid #EDEEF1;display:flex;justify-content:flex-end;gap:10px}.cc-attendance__schedule-edit-footer button{height:40px;padding:0 18px;border:1px solid #DDE2D7;border-radius:10px;background:#fff;color:#2E3B23;font-family:inherit;font-size:13.5px;font-weight:700}.cc-attendance__schedule-edit-footer .cc-attendance__schedule-edit-save{padding:0 20px;border:0;background:#2E3B23;color:#fff}.cc-attendance__schedule-edit button:disabled{opacity:.5;cursor:not-allowed}

/* D012 file modal; storage confirmation does not mean message delivery. */
.cc-attendance__attachment-dialog{width:460px;max-width:calc(100vw - 40px);max-height:calc(100vh - 40px);padding:0;border:0;border-radius:15px;background:#fff;color:#1B1F24;box-shadow:0 24px 60px rgba(20,25,20,.35);font-family:Inter,sans-serif;overflow:auto}
.cc-attendance__attachment-dialog::backdrop{background:rgba(20,25,20,.42)}
.cc-attendance__attachment-head{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-bottom:1px solid #EDEEF1;font-size:15px;font-weight:800}.cc-attendance__attachment-head button{width:30px;height:30px;border:0;border-radius:8px;background:#EEF0F2;color:#5F6B7A;font-size:15px;cursor:pointer}
.cc-attendance__attachment-body{padding:18px}.cc-attendance__attachment-card{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #EDEEF1;border-radius:12px;margin-bottom:12px;font-size:13.5px;overflow-wrap:anywhere}.cc-attendance__attachment-mark{width:46px;height:46px;flex:none;display:grid;place-items:center;border-radius:10px;background:#FDE8E8;color:#9E2B2F;font-size:11px;font-weight:800}
.cc-attendance__attachment-picker{max-width:100%;font:12px Inter,sans-serif}.cc-attendance__attachment-status{font-size:12px;line-height:1.5;color:#64705F}.cc-attendance__attachment-label{display:block;font-size:11px;font-weight:800;color:#64705F;text-transform:uppercase;letter-spacing:.04em}.cc-attendance__attachment-caption{display:block;width:100%;min-height:64px;margin-top:6px;padding:10px 12px;border:1px solid #CBD3DA;border-radius:10px;box-sizing:border-box;font:13.5px Inter,sans-serif;resize:vertical}.cc-attendance__attachment-limit{font-size:10.5px;color:#64705F;margin-top:8px}
.cc-attendance__attachment-footer{display:flex;justify-content:flex-end;gap:10px;padding:14px 18px;border-top:1px solid #EDEEF1}.cc-attendance__attachment-footer button{height:40px;padding:0 15px;border:0;border-radius:10px;background:#EEF0F2;color:#5F6B7A;font:700 13px Inter,sans-serif;cursor:pointer}.cc-attendance__attachment-footer .cc-attendance__attachment-send{padding:0 20px;background:#2E3B23;color:#fff;font-weight:800;cursor:not-allowed;opacity:.55}

.cc-attendance__attachment-history{margin:14px 0;padding-top:12px;border-top:1px solid #EDEEF1}.cc-attendance__attachment-history button{padding:8px 10px;border:0;border-radius:8px;background:#EEF0F2;color:#5F6B7A;font:600 12px Inter,sans-serif;cursor:pointer}.cc-attendance__attachment-history button:disabled{opacity:.55;cursor:not-allowed}.cc-attendance__attachment-history-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;font-size:12px;overflow-wrap:anywhere}.cc-attendance__attachment-history-row button{flex:none}

/* D012 L1681-1690: action copy and extraction icon; controls stay unavailable. */
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-action-copy{flex:1;min-width:0}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-action-copy>span{display:block}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-action-title{font-size:13px;font-weight:700}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-action-row>svg{flex:none;color:#98A2B3}
.cc-attendance .cc-attendance__profile-body .cc-attendance__profile-extract{display:flex;align-items:center;justify-content:center;gap:7px}

/* D012 reply chip: native text nodes, memory-only selection. */
.cc-attendance__reply-chip{font-size:16px;flex:none;display:flex;align-items:center;gap:10px;padding:9px 14px 0;background:#fff}
.cc-attendance__reply-quote{flex:1;min-width:0;border-left:3px solid #128A76;background:#F0F5F3;border-radius:0 8px 8px 0;padding:6px 10px}
.cc-attendance__reply-author{font-size:10.5px;font-weight:800;color:#0E6B5B}
.cc-attendance__reply-text{font-size:12px;color:#5F6B7A;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cc-attendance .cc-attendance__reply-cancel{font:400 13.3333px Arial;width:28px;height:28px;border:none;border-radius:8px;background:#EEF0F2;color:#5F6B7A;cursor:pointer;flex:none}

/* Match D012 textarea metrics; empty placeholder must not autosize the composer. */
.cc-attendance .cc-attendance__composer-input{font-family:Inter,sans-serif;line-height:1.4;padding:2px}
.cc-attendance__operation-note:empty{margin:0}

/* D012 direct toolbar buttons shrink; wrapper controls and send remain fixed. */
.cc-attendance__composer [data-action-id="D012-A0270"],.cc-attendance__composer [data-action-id="D012-A0278"],.cc-attendance__composer [data-action-id="D012-A0294"]{flex-shrink:1;padding:1px 6px}
.cc-attendance__composer [data-action-id="D012-A0270"] svg{width:19px;height:19px}
.cc-attendance__composer [data-action-id="D012-A0278"] svg{width:18px;height:18px}
.cc-attendance__composer [data-action-id="D012-A0294"] svg{width:21px;height:21px}

/* D012 local audio capture states. Waveform heights come from the captured signal. */
.cc-attendance__composer[hidden],.cc-attendance__operation-note[hidden]{display:none}
.cc-attendance__audio-region{flex:none;display:flex;align-items:center;gap:12px;padding:12px 14px;border-top:1px solid #E5E7EB;background:#F5F2FA}
.cc-attendance__audio-region button{font-family:Inter,sans-serif;cursor:pointer}
.cc-attendance__audio-region button:disabled{cursor:not-allowed}
.cc-attendance__audio-wait{font-size:13px;font-weight:700;color:#5B3A8C;flex:1}
.cc-attendance__audio-cancel{height:34px;padding:0 13px;border:1px solid #E4DCF0;border-radius:9px;background:#fff;color:#5B3A8C;font-size:12px;font-weight:700}
.cc-attendance__audio-region[data-audio-state="recording"]{background:#FEECEC}
.cc-attendance__audio-dot{width:12px;height:12px;flex:none;border-radius:50%;background:#E5484D}
.cc-attendance__audio-time{font-size:13.5px;font-weight:800;color:#9E2B2F;font-variant-numeric:tabular-nums}
.cc-attendance__audio-space{flex:1;min-width:0;height:22px}
.cc-attendance__audio-cancel-recording{width:40px;height:40px;border-radius:50%;border:1px solid #E5C0C0;background:#fff;display:grid;place-items:center;color:#9E2B2F}
.cc-attendance__audio-stop{width:44px;height:44px;border-radius:50%;border:none;background:#2E3B23;display:grid;place-items:center}
.cc-attendance__audio-region[data-audio-state="preview"]{gap:10px;background:#F0F5F3}
.cc-attendance__audio-play{flex:none;width:40px;height:40px;border-radius:50%;border:none;background:#B9D5CE;display:grid;place-items:center}
.cc-attendance__audio-copy{flex:1;min-width:0}
.cc-attendance__audio-preview-time{font-size:12.5px;font-weight:700;color:#0E6B5B}
.cc-attendance__audio-hint{font-size:11px;color:#5F8578}
.cc-attendance__audio-discard{height:38px;padding:0 13px;border:1px solid #C7E6DE;border-radius:9px;background:#fff;color:#0E6B5B;font-size:12px;font-weight:700}
.cc-attendance__audio-send{height:38px;padding:0 16px;border:none;border-radius:9px;background:var(--active,#128A76);color:#fff;font-size:12.5px;font-weight:800}
.cc-attendance__audio-send:disabled{opacity:.55}
.cc-attendance__audio-region[data-audio-state="error"]{gap:10px;background:#FDF3F3}
.cc-attendance__audio-error{flex:1;font-size:12.5px;color:#9E2B2F}
.cc-attendance__audio-region[data-audio-state="error"] .cc-attendance__audio-cancel{border-color:#E5C1C3;color:#9E2B2F}

.cc-attendance__audio-spinner,.cc-attendance__audio-error-icon{flex:none}
.cc-attendance__audio-spinner{animation:cc-audio-spin 1s linear infinite}
@keyframes cc-audio-spin{to{transform:rotate(360deg)}}
.cc-attendance__audio-waveform{flex:1;min-width:0;display:flex;align-items:center;gap:3px;height:22px;overflow:hidden;font-size:11px;color:#9E2B2F}
.cc-attendance__audio-wave-bar{width:3px;flex:none;border-radius:2px;background:#E5484D;opacity:.75}
@media(prefers-reduced-motion:reduce){.cc-attendance__audio-spinner{animation:none}}

/* D012-A0073/A0074: native modal, actual decoded passive image instead of oracle placeholder. */
.cc-attendance__image-lightbox{position:fixed;inset:0;box-sizing:border-box;width:100vw;height:100vh;max-width:none;max-height:none;margin:0;border:0;padding:40px;background:rgba(12,14,18,.88);color:#EAE7D9;cursor:zoom-out}
.cc-attendance__image-lightbox[open]{display:grid;place-items:center}.cc-attendance__image-lightbox::backdrop{background:transparent}
.cc-attendance__image-lightbox-content{max-width:80vw;max-height:80vh;display:flex;flex-direction:column;align-items:center;gap:14px;cursor:default}
.cc-attendance__image-lightbox-frame{width:min(70vw,520px);height:min(60vh,520px);border-radius:14px;background:linear-gradient(135deg,#6B7688,#4E5766);display:grid;place-items:center;box-shadow:0 24px 60px rgba(0,0,0,.4);overflow:hidden;flex-shrink:0}
.cc-attendance__image-lightbox-image{display:block;width:100%;height:100%;object-fit:contain}.cc-attendance__image-lightbox-status{font-size:13px}.cc-attendance__image-lightbox-status[hidden]{display:none}
.cc-attendance__image-lightbox-footer{display:flex;align-items:center;gap:14px;max-width:100%}.cc-attendance__image-lightbox-name{color:#EAE7D9;font-size:13px;overflow-wrap:anywhere;min-width:0}
.cc-attendance__image-lightbox .cc-attendance__image-lightbox-close{height:34px;padding:0 15px;border:1px solid rgba(255,255,255,.3);border-radius:9px;background:rgba(255,255,255,.1);color:#fff;font:700 12.5px Inter,sans-serif;cursor:pointer;flex-shrink:0}

.cc-attendance__image-lightbox{font-family:Inter,sans-serif;font-weight:400}

/* D012 Notas A0334-A0347; existing panel width and responsive limits retained. */
.cc-attendance__notes-hint{font-size:10.5px;color:#98A2B3;line-height:1.5;margin:4px 0 8px}
.cc-attendance__notes-draft{width:100%;min-height:64px;padding:9px 10px;border:1px solid #F0DE8A;background:#FFFDF2;border-radius:10px;font:12px/1.5 Inter,sans-serif;resize:vertical;box-sizing:border-box;color:#1B1F24}
.cc-attendance__notes-save{margin-top:8px;height:34px;width:100%;border:0;border-radius:9px;background:#128A76;color:#fff;font:800 12px Inter,sans-serif;cursor:pointer}
.cc-attendance__notes-save:disabled{opacity:.55;cursor:not-allowed}
.cc-attendance__notes-search-row{display:flex;gap:8px;margin-top:14px}
.cc-attendance__notes-search-box{flex:1;min-width:0;display:flex;align-items:center;gap:7px;height:32px;padding:0 10px;background:#F4F5F7;border-radius:8px}
.cc-attendance__notes-search{flex:1;min-width:0;min-height:24px;border:0;outline:0;background:transparent;font:12px Inter,sans-serif}
.cc-attendance__notes-reload{width:32px;height:32px;flex-shrink:0;border:1px solid #E5E7EB;border-radius:8px;background:#fff;color:#5F6B7A;display:grid;place-items:center;cursor:pointer}
.cc-attendance__notes-list{display:flex;flex-direction:column;gap:9px;margin-top:12px}
.cc-attendance__notes-card{padding:11px 13px;background:#FFF6C7;border:1px solid #F0DE8A;border-radius:10px;overflow-wrap:anywhere}
.cc-attendance__notes-card-head{display:flex;align-items:center;gap:6px;font-size:11.5px;color:#6b5a1a}
.cc-attendance__notes-card-actions{display:flex;margin-left:auto;gap:4px}
.cc-attendance__notes-card-action{width:26px;height:26px;border:0;border-radius:6px;background:rgba(0,0,0,.05);color:#8A6D00}
.cc-attendance__notes-card-text{font-size:12.5px;line-height:1.5;margin-top:3px;white-space:pre-wrap}
.cc-attendance__notes-thread{margin-top:7px;border:0;padding:0;background:none;font:700 10.5px Inter,sans-serif;color:#0E7060;cursor:pointer}
.cc-attendance__notes-more{margin-top:10px;width:100%;height:30px;border:1px solid #E5E7EB;border-radius:8px;background:#fff;color:#5F6B7A;font:700 11.5px Inter,sans-serif;cursor:pointer}
.cc-attendance__notes-empty{margin-top:14px;padding:14px;text-align:center;border:1px dashed #E0D9C0;border-radius:10px;font-size:12px;color:#98A2B3}
.cc-attendance__notes-error{margin-top:10px;padding:8px 10px;background:#FDF3F3;border:1px solid #F3D3D3;border-radius:9px;font-size:11px;color:#9E2B2F}
.cc-attendance-timeline__note[data-highlighted="true"]{border:2px solid #C88A0E;box-shadow:0 0 0 4px rgba(200,138,14,.20)}
.cc-attendance__notes-card[data-highlighted="true"]{border:2px solid #C88A0E}
.cc-attendance__note-navigation{margin:0;padding:8px 16px;font:12px/1.5 Inter,sans-serif;color:#5F6B7A;background:#FFFDF2}
.cc-attendance__note-navigation[hidden]{display:none}

/* D012 L868-874: filter-empty state; source-empty/error notices remain distinct. */
.cc-attendance__empty[data-state=filter-empty]{font-size:16px}
.cc-attendance__empty-icon{margin:0 auto 8px}
.cc-attendance__empty-title{font-size:13px;font-weight:700;color:#5F6B7A}
.cc-attendance__empty-message{font-size:12px;color:#98A2B3;margin-top:4px;line-height:1.5}
.cc-attendance .cc-attendance__empty-clear{margin-top:12px;height:32px;padding:0 14px;border:1px solid #E0E3E8;border-radius:8px;background:#fff;color:#3B4453;font:700 12px Inter,sans-serif;cursor:pointer}

/* D012 lines1551-1570: catalog popover, without changing shell breakpoints. */
.cc-attendance__canned-anchor{position:relative;flex:none}
.cc-attendance__canned-pop{position:absolute;bottom:48px;right:0;width:322px;background:#fff;border:1px solid #E5E7EB;border-radius:12px;box-shadow:0 14px 34px rgba(20,25,35,.2);padding:8px;z-index:42}
.cc-attendance__canned-head{display:flex;align-items:center;justify-content:space-between;padding:4px 6px 8px}
.cc-attendance__canned-head strong{font-size:11px;font-weight:800;color:#2E3B23;text-transform:uppercase;letter-spacing:.05em}
.cc-attendance__canned-head span{font-size:10.5px;color:#98A2B3}
.cc-attendance__canned-list{display:flex;flex-direction:column;gap:4px;max-height:232px;overflow-y:auto}
.cc-attendance__canned-pick{text-align:left;border:1px solid #EDEEF1;border-radius:9px;background:#F8F9FA;padding:8px 10px;flex:none;overflow-wrap:anywhere}
.cc-attendance__canned-short{font-family:monospace;font-size:11px;font-weight:700;color:#128A76}
.cc-attendance__canned-text{font-size:12px;color:#3B4453;line-height:1.4;margin-top:2px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.cc-attendance__canned-status{padding:14px 10px;text-align:center;font-size:12px;color:#98A2B3}
.cc-attendance__canned-more{border:1px solid #EDEEF1;border-radius:9px;padding:8px 10px;background:#fff;color:#128A76;flex:none}
@media(max-width:700px){
 .cc-attendance{position:relative;width:100%;max-width:100%;grid-template-columns:minmax(0,1fr);overflow:hidden}
 .cc-attendance__list,.cc-attendance__thread{grid-area:1/1;min-width:0;width:100%}
 .cc-attendance[data-has-selection=true] .cc-attendance__list{display:none}
 .cc-attendance[data-has-selection=false] .cc-attendance__thread{display:none}
 .cc-attendance__panel{position:absolute;inset:0;z-index:30;width:100%;max-width:100%;border-left:0}
 .cc-attendance[data-panel-available=false] .cc-attendance__panel{display:none}
 .cc-attendance__thread-head{height:auto;min-height:62px;gap:6px;padding:8px}
 .cc-attendance__contact-avatar{width:34px;height:34px}
 .cc-attendance__thread-head>.cc-attendance__pick,.cc-attendance__thread-head>.cc-attendance__head-status,.cc-attendance__thread-head>[data-action-id="D012-A0180"]{display:none}
 .cc-attendance__messages{padding:14px 10px}
 .cc-attendance__composer{padding:9px 7px}
 .cc-attendance__composer-input{flex-basis:160px}
 .cc-attendance__profile-body{padding:12px}
 .cc-attendance__canned-pop{width:min(322px,calc(100vw - 90px))}
}

/* D0121964 / A0358: reactivation link; explicit predecessor choice uses existing choice surface. */
.cc-attendance .cc-attendance__crm-reactivate{border:0;padding:0;background:transparent;font:700 12px Inter,sans-serif;color:var(--link,#0E7060);cursor:pointer;text-align:left;margin-top:8px}
.cc-attendance__crm-reactivate:disabled{opacity:.5;cursor:not-allowed}
.cc-attendance__crm-choice-option[aria-pressed=true]{border-color:#128A76;background:#E1F2EE}
/* E-TAGS: the contact's Cactus tags in the profile (D012 8148-8157): chips with remover and the catalog picker. */
.cc-ctags__chips{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.cc-ctags__chip{display:inline-flex;align-items:center;gap:6px;height:26px;padding:0 4px 0 9px;border-radius:8px;border:1px solid #E5E7EB;background:#fff;font-size:12px;font-weight:600;color:#1B1F24}
.cc-ctags__dot{width:8px;height:8px;border-radius:50%}
.cc-ctags__remove{width:20px;height:20px;border:none;border-radius:50%;background:#F1F2F4;color:#3B4453;cursor:pointer;font-size:12px;line-height:1}
.cc-ctags__add,.cc-ctags__retry{height:26px;padding:0 10px;border:1px dashed #98A2B3;border-radius:8px;background:#fff;color:#3B4453;font-size:12px;font-weight:700;cursor:pointer}
.cc-ctags__picker{margin-top:8px;padding:8px;border:1px solid #E5E7EB;border-radius:10px;background:#fff}
.cc-ctags__search{width:100%;height:32px;padding:0 9px;border:1px solid #E0E3E8;border-radius:8px;font-size:12.5px;box-sizing:border-box;margin-bottom:6px}
.cc-ctags__options{display:flex;flex-direction:column;gap:2px;max-height:200px;overflow:auto}
.cc-ctags__option{text-align:left;height:30px;padding:0 8px;border:none;border-radius:6px;background:transparent;color:#1B1F24;font-size:12.5px;cursor:pointer}
.cc-ctags__option[aria-pressed=true]{font-weight:700;background:#E1F2EE}
.cc-ctags__muted,.cc-ctags__message{font-size:12px;color:#5F6B7A;margin:4px 0}
/* E-PERFIL: the contact profile panel (contact-profile-panel.mjs). */
.cc-cprofile{display:flex;flex-direction:column;gap:6px}
.cc-cprofile__facts{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;margin:0;font-size:12.5px}
.cc-cprofile__term{color:#5F6B7A;font-weight:600}
.cc-cprofile__value{margin:0;color:#1B1F24}
.cc-cprofile__form{display:flex;flex-direction:column;gap:8px}
.cc-cprofile__field{display:flex;flex-direction:column;gap:3px;font-size:11.5px;color:#5F6B7A;font-weight:600}
.cc-cprofile__input{height:32px;padding:0 9px;border:1px solid #CBD3DA;border-radius:8px;font-size:12.5px;color:#1B1F24;background:#fff;box-sizing:border-box}
.cc-cprofile__actions{display:flex;flex-wrap:wrap;gap:6px;align-items:center}
.cc-cprofile__edit,.cc-cprofile__save,.cc-cprofile__cancel,.cc-cprofile__clear,.cc-cprofile__clear-confirm,.cc-cprofile__retry{height:28px;padding:0 11px;border:1px solid #CBD3DA;border-radius:8px;background:#fff;color:#3B4453;font-size:12px;font-weight:700;cursor:pointer}
.cc-cprofile__save{background:#1F7A6A;border-color:#1F7A6A;color:#fff}
.cc-cprofile__clear-confirm{border-color:#9E2B2F;color:#9E2B2F}
.cc-cprofile__muted,.cc-cprofile__message,.cc-cprofile__note,.cc-cprofile__confirm-text{font-size:12px;color:#5F6B7A;margin:2px 0}
/* E-ASSIN-1 (#12, F03): the discreet "Assinando como NOME" under the composer of a public reply (no control of its own). */
.cc-attendance__signature-hint{margin:2px 16px 0;font-size:11px;color:#5F6B7A;line-height:1.4;overflow-wrap:anywhere}

/* D012 1463-1474 / 8025-8031: signature switch, description and scope cards. */
.cc-attendance__signature-anchor{position:relative}
.cc-attendance__signature-pop{position:absolute;bottom:48px;left:0;width:264px;max-width:calc(100vw - 32px);box-sizing:border-box;background:#fff;border:1px solid #E5E7EB;border-radius:12px;box-shadow:0 14px 34px rgba(20,25,35,.2);padding:12px;z-index:42}
.cc-attendance__signature-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:9px;cursor:pointer}
.cc-attendance__signature-title{font-size:12.5px;font-weight:800;color:#1B1F24}
.cc-attendance__signature-switch{appearance:none;width:40px;height:22px;border-radius:999px;border:none;background:#CBD3DA;position:relative;cursor:pointer;flex:none;padding:2px;margin:0;box-sizing:border-box}
.cc-attendance__signature-switch::before{content:'';display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.cc-attendance__signature-switch:checked{background:var(--active,#128A76)}
.cc-attendance__signature-switch:checked::before{transform:translateX(18px)}
.cc-attendance__signature-description{font-size:11px;color:#98A2B3;margin-bottom:10px;line-height:1.45}
.cc-attendance__signature-who{color:#0E6B5B}
.cc-attendance__signature-choices{display:flex;flex-direction:column;gap:6px}
.cc-attendance__signature-choice{display:flex;align-items:flex-start;gap:9px;padding:8px 10px;border:1px solid #E5E7EB;background:#fff;border-radius:9px;cursor:pointer}
.cc-attendance__signature-choice[data-selected=true]{border-color:var(--active,#128A76);background:var(--active-bg,#E1F2EE)}
.cc-attendance__signature-choice input{appearance:none;width:15px;height:15px;flex:none;margin:1px 0 0;border-radius:50%;border:2px solid #CBD3DA;background:#fff;box-sizing:border-box}
.cc-attendance__signature-choice input:checked{border:4px solid var(--active,#128A76)}
.cc-attendance__signature-choice-title{font-size:12px;font-weight:700;color:#1B1F24}
.cc-attendance__signature-choice-hint{font-size:10.5px;color:#98A2B3}
.cc-attendance__signature-pop input:focus-visible{outline:2px solid var(--active,#128A76);outline-offset:3px}
.cc-attendance__signature-pop input:disabled{cursor:not-allowed;opacity:.6}
.cc-attendance__signature-note{font-size:12px;line-height:1.4;color:#5F6B7A;margin:10px 0}
.cc-attendance__signature-retry{font:inherit;background:#fff;border:1px solid #CBD2C7;border-radius:6px;padding:6px 9px;cursor:pointer}

/* Keep signing and scheduling controls inside a narrow viewport. */
@media(max-width:700px){.cc-attendance__signature-pop,.cc-attendance__schedule-pop{position:fixed;left:12px;right:12px;bottom:64px;width:auto;max-width:none;max-height:calc(100dvh - 88px);overflow-y:auto}}

.cc-attendance__connection{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding:6px 0;font-size:11px;color:#53616c}.cc-attendance__connection[data-connection-state="offline"],.cc-attendance__connection[data-connection-state="stale"]{color:#854d0e}.cc-attendance__connection-retry{background:#fff;border:1px solid #cbd5e1;border-radius:6px;padding:4px 8px;color:#334155;font:inherit}.cc-attendance__connection-retry:focus-visible{outline:2px solid #0f766e;outline-offset:2px}

.cc-attendance[data-connection-enabled=true]{grid-template-rows:auto minmax(0,1fr)}.cc-attendance[data-connection-enabled=true]>.cc-attendance__connection{grid-row:1;grid-column:1/-1;width:min(100%,calc(100vw - 66px));padding:6px 12px;background:#fff;border-bottom:1px solid #e5e7eb}.cc-attendance[data-connection-enabled=true]>.cc-attendance__list,.cc-attendance[data-connection-enabled=true]>.cc-attendance__thread,.cc-attendance[data-connection-enabled=true]>.cc-attendance__panel{grid-row:2}@media(max-width:700px){.cc-attendance[data-connection-enabled=true]>.cc-attendance__panel{position:relative;inset:auto;grid-area:2/1;min-height:0}}
