/* HDI_V6_13_TAREAS_ASIGNACION_MENSAJES_EMAIL */
.hdi-v613-top-actions{display:flex;align-items:center;gap:8px}.hdi-v613-action-wrap{position:relative}.hdi-v613-icon-btn{position:relative;width:46px;height:46px;min-width:46px;border:1px solid #d8e6df;border-radius:14px;background:#f0f8f3;color:#00843d;display:inline-flex;align-items:center;justify-content:center;font-size:19px;cursor:pointer;box-shadow:0 7px 18px rgba(0,72,55,.07);transition:.18s ease}.hdi-v613-icon-btn:hover,.hdi-v613-icon-btn.is-open{transform:translateY(-1px);background:#00843d;color:#fff}.hdi-v613-badge{position:absolute;top:-5px;right:-4px;min-width:19px;height:19px;padding:0 5px;border-radius:10px;background:#ed1c24;color:#fff;font:800 11px/19px Arial,sans-serif;text-align:center;border:2px solid #fff}.hdi-v613-badge.is-empty{display:none}
.hdi-v613-task-pop{position:absolute;top:calc(100% + 10px);right:0;width:min(390px,calc(100vw - 28px));z-index:1200;border:1px solid #dbe8e1;border-radius:16px;background:#fff;box-shadow:0 22px 56px rgba(14,45,35,.2);overflow:hidden;display:none}.hdi-v613-task-pop.is-open{display:block}.hdi-v613-pop-head{padding:14px 16px;background:linear-gradient(135deg,#f7fbf8,#eef8f2);border-bottom:1px solid #e4eee8}.hdi-v613-pop-head strong{display:block;color:#17382f;font-size:14px}.hdi-v613-pop-head span{font-size:12px;color:#6b7f78}.hdi-v613-task-list{max-height:360px;overflow:auto}.hdi-v613-task-item{display:flex;gap:11px;padding:13px 15px;border-bottom:1px solid #edf2ef;align-items:flex-start}.hdi-v613-task-item:last-child{border-bottom:0}.hdi-v613-task-dot{width:9px;height:9px;border-radius:50%;background:#65a518;margin-top:5px;flex:0 0 auto}.hdi-v613-task-item.is-high .hdi-v613-task-dot{background:#ed1c24}.hdi-v613-task-item strong{font-size:13px;color:#243a33}.hdi-v613-empty{padding:22px 16px;text-align:center;color:#6f817b;font-size:13px}
.hdi-v613-modal{position:fixed;inset:0;z-index:3000;display:none}.hdi-v613-modal.is-open{display:block}.hdi-v613-modal-backdrop{position:absolute;inset:0;background:rgba(15,37,30,.48);backdrop-filter:blur(3px)}.hdi-v613-modal-dialog{position:relative;width:min(1040px,calc(100vw - 34px));height:min(720px,calc(100vh - 50px));margin:25px auto;background:#fff;border-radius:20px;box-shadow:0 28px 90px rgba(0,0,0,.28);display:flex;flex-direction:column;overflow:hidden}.hdi-v613-modal-head{display:flex;align-items:center;justify-content:space-between;padding:15px 18px;background:linear-gradient(110deg,#006f3c,#65a518);color:#fff}.hdi-v613-modal-head strong{display:block;font-size:16px}.hdi-v613-modal-head small{opacity:.86}.hdi-v613-close{border:0;background:rgba(255,255,255,.18);color:#fff;width:36px;height:36px;border-radius:11px;cursor:pointer}.hdi-v613-message-layout{display:grid;grid-template-columns:330px minmax(0,1fr);min-height:0;flex:1}.hdi-v613-conversations{border-right:1px solid #e5ece8;overflow:auto;background:#f8fbf9}.hdi-v613-conv{width:100%;border:0;border-bottom:1px solid #e5ece8;background:transparent;text-align:left;padding:14px 15px;cursor:pointer}.hdi-v613-conv:hover,.hdi-v613-conv.is-active{background:#eef8f2}.hdi-v613-conv strong,.hdi-v613-conv span,.hdi-v613-conv small{display:block}.hdi-v613-conv strong{font-size:13px;color:#203a31}.hdi-v613-conv span{font-size:12px;color:#60756d;margin-top:3px}.hdi-v613-conv small{font-size:11px;color:#8a9994;margin-top:4px}.hdi-v613-unread{display:inline-flex!important;margin-top:6px!important;background:#ed1c24;color:#fff!important;border-radius:10px;padding:2px 7px;font-weight:800}.hdi-v613-thread-pane{display:flex;flex-direction:column;min-width:0}.hdi-v613-thread-title{padding:13px 16px;border-bottom:1px solid #e5ece8;font-size:13px;color:#385248}.hdi-v613-thread{flex:1;overflow:auto;padding:16px;background:#f7faf8}.hdi-v613-msg{max-width:78%;padding:10px 12px;border-radius:14px;margin:0 0 10px;background:#fff;border:1px solid #e0e9e4;color:#273c35;font-size:13px}.hdi-v613-msg.is-team{margin-left:auto;background:#e9f6ed;border-color:#cbe7d4}.hdi-v613-msg small{display:block;margin-top:5px;color:#7c8d87;font-size:10px}.hdi-v613-reply{display:flex;gap:9px;padding:12px;border-top:1px solid #e5ece8}.hdi-v613-reply textarea{flex:1;min-height:68px;resize:vertical;border:1px solid #cfddd6;border-radius:12px;padding:10px 12px}.hdi-v613-reply button,.hdi-v613-save-btn{border:0;border-radius:11px;background:#00843d;color:#fff;font-weight:800;padding:10px 15px;cursor:pointer}.hdi-v613-reply button:disabled,.hdi-v613-save-btn:disabled{opacity:.5;cursor:not-allowed}
.hdi-v613-assignment,.hdi-v613-email-panel{border:1px solid #dce9e2;background:linear-gradient(135deg,#f8fbf9,#f1f8f4);border-radius:15px;padding:14px 15px}.hdi-v613-assignment{display:none}.hdi-v613-assignment.is-visible{display:block}.hdi-v613-field-row{display:flex;gap:10px;align-items:flex-end;flex-wrap:wrap}.hdi-v613-field{flex:1 1 260px}.hdi-v613-field label{display:block;font-weight:800;color:#29433a;font-size:12px;margin-bottom:5px}.hdi-v613-field input,.hdi-v613-field select{width:100%;height:42px;border:1px solid #cdded5;border-radius:10px;padding:0 11px;background:#fff;color:#203a31}.hdi-v613-help{font-size:11px;color:#71837c;margin-top:7px}.hdi-v613-status{display:inline-flex;margin-top:8px;border-radius:12px;padding:6px 9px;background:#eaf3ee;color:#365248;font-size:11px;font-weight:700}.hdi-v613-status.is-ok{background:#e6f5e7;color:#236a2a}.hdi-v613-status.is-warn{background:#fff4dd;color:#8b5d00}.hdi-v613-status.is-error{background:#fdeaea;color:#9c2626}.hdi-v613-doc-state{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.hdi-v613-doc-pill{border-radius:11px;padding:5px 8px;background:#f2f4f3;color:#61736c;font-size:10px;font-weight:800}.hdi-v613-doc-pill.is-ok{background:#e6f5e7;color:#23722f}
@media(max-width:800px){.hdi-v613-message-layout{grid-template-columns:1fr}.hdi-v613-conversations{max-height:190px;border-right:0;border-bottom:1px solid #e5ece8}.hdi-v613-modal-dialog{height:calc(100vh - 22px);margin:11px auto}.demo-user-text{display:none}.hdi-v613-top-actions{gap:5px}.hdi-v613-icon-btn{width:42px;height:42px;min-width:42px}}

/* HDI_ASSIGNMENT_V3_UI_START */
.hdi-v613-assignment-v2{padding:16px 17px;border:1px solid #cfe4d6;background:linear-gradient(135deg,#fbfefc,#f0f8f3);box-shadow:0 8px 24px rgba(16,78,44,.06)}
.hdi-v613-assignment-head{display:flex;align-items:center;gap:11px;margin-bottom:12px}.hdi-v613-assignment-icon{width:38px;height:38px;border-radius:12px;background:#e4f4e9;color:#08753e;display:flex;align-items:center;justify-content:center;font-size:15px}.hdi-v613-assignment-head strong{display:block;color:#173b2b;font-size:13px}.hdi-v613-assignment-head small{display:block;color:#74857d;font-size:11px;margin-top:2px}.hdi-v613-assigned-card{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:12px;padding:10px 12px;border:1px solid #dbeadf;border-radius:12px;background:#fff}.hdi-v613-assigned-card>span{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.07em;color:#728078}.hdi-v613-assigned-card>strong{color:#056a38;font-size:13px}.hdi-v613-assigned-card>small{width:100%;color:#7b8982;font-size:10px}.hdi-v613-assignment-v2 .hdi-v613-save-btn{height:42px;border:0;border-radius:10px;padding:0 15px;background:linear-gradient(135deg,#0b7a42,#5aa818);color:#fff;font-weight:900;box-shadow:0 6px 14px rgba(32,119,56,.16)}.hdi-v613-assignment-v2 .hdi-v613-save-btn:hover{filter:brightness(1.02);transform:translateY(-1px)}
/* HDI_ASSIGNMENT_V3_UI_END */


/* HDI_V6_15_TASK_MESSAGE_NAV_CSS */
.hdi-v613-task-item[data-task-type]{cursor:pointer;position:relative;align-items:flex-start;transition:background .15s ease,transform .15s ease}
.hdi-v613-task-item[data-task-type]:hover{background:rgba(43,132,46,.07)}
.hdi-v615-task-copy{flex:1;min-width:0}
.hdi-v615-task-copy>small{display:block;margin-top:4px;color:#748078;font-size:11px;font-weight:600}
.hdi-v615-task-arrow{margin-left:auto;margin-top:4px;color:#6aa530;font-size:11px}
.hdi-v615-task-cases{display:none;margin-top:9px;padding-top:8px;border-top:1px solid rgba(43,132,46,.12)}
.hdi-v615-task-cases.is-open{display:grid;gap:6px}
.hdi-v615-task-case{width:100%;border:1px solid rgba(43,132,46,.14);background:#fff;border-radius:10px;padding:8px 10px;text-align:left;display:grid;gap:2px;cursor:pointer}
.hdi-v615-task-case:hover{border-color:#2d8b3d;background:#f6fbf6}
.hdi-v615-task-case strong{font-size:12px;color:#173b31}
.hdi-v615-task-case span,.hdi-v615-task-case small{font-size:11px;color:#68736d}
.hdi-v613-conversations{display:flex;flex-direction:column;overflow:hidden}
.hdi-v615-msg-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px;border-bottom:1px solid #e7ece8;background:#fbfdfb;flex:0 0 auto}
.hdi-v615-msg-tabs button{border:1px solid #dfe8e1;background:#fff;border-radius:9px;padding:8px 6px;font-size:12px;font-weight:800;color:#66736c;cursor:pointer}
.hdi-v615-msg-tabs button.is-active{background:#148d3e;color:#fff;border-color:#148d3e}
.hdi-v615-msg-tabs button span{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;margin-left:4px;padding:0 5px;border-radius:10px;background:rgba(0,0,0,.08);font-size:10px}
.hdi-v615-msg-tabs button.is-active span{background:rgba(255,255,255,.2)}
.hdi-v615-conversation-list{flex:1;min-height:0;overflow:auto}
.hdi-v615-conv-status{display:inline-flex!important;width:max-content;margin-top:5px!important;padding:3px 7px;border-radius:999px;font-size:10px!important;font-weight:800!important}
.hdi-v615-conv-status.is-pending{background:#fff3cd;color:#8a6400}
.hdi-v615-conv-status.is-answered{background:#e7f7eb;color:#18713a}
.hdi-v615-conv-status.is-read{background:#edf1f4;color:#5e6870}
