.tools-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}.tools-summary>div{padding:18px 22px;border:1px solid #e2e9df;background:#fff;border-radius:18px}.tools-summary small{display:block;color:#6b8072;font-size:11px}.tools-summary strong{font-size:27px;color:#244b39;display:block;margin-top:8px}.tools-filters{display:flex;gap:16px;align-items:center;flex-wrap:wrap;margin:20px 0}.tools-filters .search{margin:0;min-width:200px;flex:1}.tools-filters>label{font-size:12px;color:#58725e;display:flex;align-items:center;gap:10px}.tools-filters select{padding:12px;border:1px solid #dce5d8;border-radius:12px;background:#fff;color:#284936;max-width:240px}.tools-filters .list-tabs{overflow:auto;max-width:100%;flex-shrink:0}.gestion-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:18px;align-items:start}.gestion-card{padding:24px;background:#fff;border:1px solid #e1e8dd;border-radius:20px;animation:tools-arrive .25s ease both;min-width:0}.gestion-card.archived{background:#f7f8f4}.gestion-card-top{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}.gestion-card-top small{font-size:10px;color:#758773}.gestion-card h2{font-size:18px;line-height:1.4;margin:18px 0 10px;color:#214935;overflow-wrap:anywhere}.gestion-card p{font-size:12px;line-height:1.8;color:#6c8070;white-space:pre-wrap;overflow-wrap:anywhere}.gestion-description,.follow-note{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.gestion-card .follow-note{background:#f7f9f2;padding:12px;border-radius:10px}.gestion-progress{margin-top:18px;display:grid;gap:8px}.gestion-progress span{font-size:11px;color:#597460}.gestion-progress progress{width:100%;height:6px;accent-color:#729e58}.gestion-meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}.gestion-meta small,.task-due{font-size:10px;color:#7d8c79;display:flex;gap:4px;align-items:center}.gestion-meta .icon,.task-due .icon{width:12px;height:12px}.task-due.overdue{color:#a36b37}.gestion-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.tools-empty{grid-column:1/-1;text-align:center;padding:40px!important}.tools-empty h2{font-size:20px}.tools-empty p{color:#7a8c73;font-size:12px;line-height:1.7}.tools-empty>span{display:inline-flex;padding:14px;background:#ebf3de;border-radius:18px}.work-tools-modal{width:min(640px,94vw);max-width:640px}.gestion-step{display:flex;gap:10px;align-items:center;margin:9px 0}.gestion-step input[type=checkbox]{width:18px;flex:0 0 18px;accent-color:#385e43}.gestion-step input:not([type=checkbox]){flex:1;min-width:0}.gestion-step .icon-button{flex:0 0 28px}.case-checks{border:1px solid #dde6d8;border-radius:13px;padding:15px;display:grid;gap:12px}.case-checks legend{font-size:11px;color:#667c63;padding:0 7px}.case-shared{margin-top:26px;padding-top:20px;border-top:1px solid #e1e8db}.case-shared h3{font-size:16px}.case-shared .gestion-grid{margin-top:20px;grid-template-columns:1fr}.case-launch{flex-shrink:0;color:#5a795a;background:#f0f5e9;border-radius:11px}.worker .chat-header>div{min-width:0;flex:1}.worker .chat-header h2{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.worker .chat{position:relative}.worker .polished-composer{align-items:flex-end;padding:8px;border-radius:19px;background:#fafcf7;box-shadow:0 2px 6px #27452d04;transition:border-color .18s,box-shadow .18s,background .18s}.worker .polished-composer:focus-within{background:#fff;border-color:#91b480;box-shadow:0 0 0 3px #99bb8520}.polished-composer textarea{padding:10px 8px;resize:none;line-height:1.65;min-height:42px}.polished-composer .send-button{width:42px;height:42px;flex:0 0 42px;border-radius:13px;margin:0;transition:transform .15s,background .18s,opacity .18s}.polished-composer .send-button:not(:disabled):active{transform:scale(.92)}.polished-composer .send-button:disabled{opacity:.4}.polished-composer.is-sending .send-button{position:relative;opacity:.75}.polished-composer.is-sending .send-button svg{opacity:0}.polished-composer.is-sending .send-button:after{content:'';position:absolute;inset:13px;border:2px solid #ffffff50;border-top-color:#fff;border-radius:50%;animation:chat-sending .8s linear infinite}.composer-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 18px 8px}.composer-actions .button{padding:5px 0;font-size:10px;color:#719069}.composer-actions .icon{width:13px;height:13px}.composer-actions>span{font-size:9px;color:#829078}.near-limit{color:#a66f36!important;font-weight:600}.chat-jump-latest{position:absolute;bottom:140px;right:22px;z-index:3;display:flex;align-items:center;gap:8px;border:1px solid #d1dfc4;border-radius:30px;background:#edf5e3;color:#365937;padding:10px 14px;font:inherit;font-size:11px;box-shadow:0 5px 15px #1e432517;cursor:pointer;animation:tools-arrive .2s ease}.chat-jump-latest[hidden]{display:none}.chat-jump-latest .icon{transform:rotate(90deg);width:14px;height:14px}.message-copy{border:0;background:transparent;font:inherit;font-size:9px;color:#778d75;padding:3px 5px;margin-left:5px;cursor:pointer;opacity:0;transition:opacity .15s}.message-row:hover .message-copy,.message-row:focus-within .message-copy{opacity:1}.message-arrived{animation:chat-message-arrive .3s ease both}.polished-composer.just-sent{border-color:#80ac65}.reply-templates{display:grid;gap:12px}.reply-templates button{text-align:left;font:inherit;background:#f6f9f0;border:1px solid #dde7d3;border-radius:15px;padding:18px;cursor:pointer;color:#244a36}.reply-templates button strong{font-size:13px}.reply-templates button p{font-size:12px;line-height:1.7;color:#6a7e64;margin:8px 0}.reply-templates button small{font-size:10px;color:#6b9460}.work-tools-modal input[readonly],.work-tools-modal textarea[readonly]{background:#f8faf5;color:#71806d}.case-checks .check-label{font-size:12px!important}.tools-filters button:focus-visible,.gestion-card button:focus-visible,.reply-templates button:focus-visible{outline:3px solid #a3c586;outline-offset:3px}@keyframes tools-arrive{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes chat-message-arrive{from{opacity:.3;transform:translateY(7px)}to{opacity:1;transform:none}}@keyframes chat-sending{to{transform:rotate(360deg)}}@media(max-width:760px){.tools-summary{gap:8px}.tools-summary>div{padding:15px 13px}.tools-summary small{font-size:9px}.tools-summary strong{font-size:24px}.tools-filters{gap:12px}.tools-filters .list-tabs{width:100%}.tools-filters .search{width:100%}.gestion-grid{grid-template-columns:1fr;gap:13px}.gestion-card{padding:20px}.work-tools-modal{padding:22px}.worker .chat-header{gap:7px}.case-launch{width:30px;height:32px}.case-launch .icon{width:16px;height:16px}.worker .polished-composer{margin:0 12px;padding:6px}.worker .polished-composer textarea{font-size:16px}.composer-actions{padding:0 15px 8px}.chat-jump-latest{font-size:10px;right:15px}.message-copy{opacity:.8}.worker .composer-foot span:first-child{font-size:8px}.worker .composer-foot span:first-child:before{content:none}.gestion-actions .button{font-size:11px}.gestion-card .status-pill{font-size:10px}.tools-summary{margin:18px 0}}@media(prefers-reduced-motion:reduce){.gestion-card,.message-arrived,.chat-jump-latest,.polished-composer.is-sending .send-button:after{animation:none}.worker .polished-composer,.polished-composer .send-button,.message-copy{transition:none}}
