/* Atención y CRM · Modas Nuria */
.crm-inbox,.crm-inbox .o-chat-list,.crm-list-tools,.crm-filter-pair,.crm-contact-grid>*{min-width:0}
.crm-inbox select{min-width:0;max-width:100%}
.crm-overview{display:flex;gap:20px;align-items:stretch;margin-bottom:22px;flex-wrap:wrap}
.crm-queues{display:grid;grid-template-columns:repeat(4,minmax(115px,1fr));gap:9px;flex:1}
.crm-queue{border:1px solid #ded3e6;background:#fffdfa;color:#6c5c78;border-radius:12px;padding:15px 13px;display:flex;align-items:center;gap:9px;min-height:65px;font:500 .8rem var(--texto);transition:background .2s,border-color .2s,transform .2s}
.crm-queue .oi{width:19px;height:19px}.crm-queue:hover{border-color:#9270ac;transform:translateY(-2px)}
.crm-queue b{margin-left:auto;background:#f0e9f5;border-radius:7px;min-width:25px;text-align:center;padding:3px 6px;font-size:.78rem}
.crm-queue.active{background:#352343;border-color:#352343;color:#fff}.crm-queue.active b{background:#a58bb7;color:#fff}
.crm-availability{display:flex;align-items:center;gap:10px;padding:10px 16px;background:#f3ede8;border-radius:12px}
.crm-availability .o-field{margin:0}.crm-availability .o-field>span{font-size:.61rem;color:#786d78}.crm-availability select{font-size:.72rem;min-height:34px;padding:4px 25px 4px 0;border:0;background:transparent;max-width:205px}
.crm-dot{width:8px;height:8px;border-radius:50%;background:#39866e;box-shadow:0 0 0 4px #e2ede6;flex-shrink:0}.crm-dot.away{background:#b58b42;box-shadow:0 0 0 4px #f2e6cf}
.crm-inbox{grid-template-columns:minmax(260px,31%) minmax(0,1fr);height:760px;max-height:86vh;min-height:620px;box-shadow:0 8px 30px #45314d05;border-radius:16px}
.crm-list-tools{padding:17px 17px 10px;border-bottom:1px solid #e9dfec;background:#fcf9fd}
.crm-search{display:flex;align-items:center;background:#fff;border:1px solid #e0d4e7;border-radius:9px;padding:3px 7px 3px 12px;gap:9px;margin-bottom:14px}
.crm-search>.oi{width:16px;color:#8b7899}.crm-search input{width:100%;min-width:0;border:0;background:transparent;font:400 max(.74rem,16px) var(--texto);color:#3f2d4b;outline-offset:3px}
.crm-search .o-icon-btn{width:36px;height:38px;flex-shrink:0}.crm-search .o-icon-btn .oi{width:16px}
.crm-filter-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.crm-list-tools .o-field{margin:0 0 10px;min-width:0}.crm-list-tools .o-field>span{font-size:.6rem;letter-spacing:.02em;margin-bottom:5px}
.crm-list-tools select{font-size:.71rem;padding:8px 7px;min-height:40px;background:#fff;border-color:#e1d7e6;width:100%;text-overflow:ellipsis}.crm-list-tools>.o-small{font-size:.62rem;margin:3px 0 0;color:#998a9f}
.crm-avatar{position:relative;flex-shrink:0;width:43px;height:43px;display:inline-flex;align-items:center;justify-content:center;background:#eee7f0;color:#6f4c8a;border-radius:50%;font:500 1rem var(--texto)}
.crm-network{position:absolute;right:-3px;bottom:-3px;width:20px;height:20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#39876e;color:white;font:700 .55rem var(--texto);border:2px solid #fffdfa}
.crm-network.instagram{background:#b55f8f;font-size:.85rem}.crm-network.facebook{background:#5276b7}.crm-network.tiktok{background:#30293a}
.crm-inbox .o-chat-row{padding:21px 17px;gap:13px;transition:background .18s}.crm-inbox .o-chat-row:hover{background:#f5eef8}.crm-inbox .o-chat-row.active{background:#eee6f4;padding-left:14px;border-left:3px solid #9166ae}
.crm-inbox .o-chat-row strong{font-size:.8rem;font-weight:600}.crm-inbox .o-chat-row small{font-size:.63rem;line-height:1.5}.crm-inbox .o-chat-row p{font-size:.73rem;color:#7f7188;margin:9px 0 10px}
.crm-row-title{display:flex;align-items:center;justify-content:space-between;gap:6px}.crm-unread{min-width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;background:#82609d;color:white;border-radius:50%;font-size:.62rem}
.crm-row-tags{display:flex;gap:5px;flex-wrap:wrap;margin:9px 0 0}.crm-row-tags .o-pill{font-size:.55rem;padding:4px 8px;line-height:1.2}
.crm-list-empty{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;padding:50px 25px;color:#96849e;text-align:center}.crm-list-empty .oi{width:30px;height:30px}.crm-list-empty strong{font-size:.8rem;color:#6c557d}.crm-list-empty p{font-size:.72rem;line-height:1.7;margin:0}
.crm-chat-head{padding:21px 23px;flex-wrap:wrap;gap:12px}.crm-chat-person{display:flex;gap:12px;align-items:center;min-width:0}.crm-chat-person h2{font-size:1rem;font-weight:600}.crm-chat-person p{font-size:.67rem;line-height:1.5}.crm-chat-head>.o-actions{margin-left:auto}
.crm-chat-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 20px;background:#fffdfa;border-bottom:1px solid #e7deec;flex-wrap:wrap}
.crm-chat-toolbar .o-field{margin:0}.crm-chat-toolbar .o-field>span{font-size:.55rem;margin:0 0 2px}.crm-chat-toolbar select{max-width:200px;padding:5px 8px;min-height:35px;font-size:.65rem}
.crm-chat-toolbar .o-btn{padding:8px 10px;min-height:38px;font-size:.65rem;gap:6px}.crm-chat-toolbar .oi{width:16px;height:16px}.crm-chat-toolbar .o-actions{gap:5px}
.crm-chat-context{display:flex;align-items:center;gap:7px;padding:10px 22px 0;flex-wrap:wrap}.crm-chat-context .o-pill{font-size:.58rem;padding:4px 9px}.crm-chat-context>span:not(.o-pill){font-size:.64rem}.crm-chat-context .o-btn{font-size:.58rem;min-height:27px;padding:3px 6px;margin-left:auto}
.crm-inbox .o-chat-messages{padding:22px;gap:17px}.crm-inbox .o-bubble{font-size:.85rem;line-height:1.7;max-width:85%;padding:16px 19px;border-radius:0 14px 14px;background:white;box-shadow:0 2px 5px #35234304;white-space:pre-wrap;overflow-wrap:anywhere}
.crm-inbox .o-bubble.out{background:#e6dced;border-radius:14px 0 14px 14px;color:#422c52}.crm-inbox .o-bubble.note{background:#fbf0d3;color:#705526;border:1px solid #edddb0}
.crm-inbox .o-bubble small{font-size:.56rem;line-height:1.6;color:#9a8ca4;margin-top:10px}.crm-note-label{display:flex;align-items:center;gap:5px;margin-bottom:7px;font-size:.6rem;font-weight:600}.crm-note-label .oi{width:14px;height:14px}
.crm-composer{padding:12px 20px 18px;gap:8px}.crm-composer-tools{display:flex!important;justify-content:space-between;gap:10px;align-items:center!important}.crm-composer-tools .o-btn{font-size:.66rem;min-height:34px;padding:6px 8px}.crm-composer-tools .oi{width:16px;height:16px}
.crm-composer textarea{height:69px;background:white;padding:13px 16px}.crm-composer>div>.o-btn{min-height:50px;font-size:.75rem}.crm-composer .o-checkbox{font-size:.68rem}
.crm-resolved{padding:20px;display:flex;gap:10px;align-items:center;background:#edf4ec;color:#526f58;font-size:.77rem}.crm-resolved .oi{width:20px;flex-shrink:0}
.crm-footnote{display:flex;align-items:center;justify-content:space-between;margin-top:16px;gap:12px;color:#8b7a96;font-size:.7rem}.crm-footnote>span{display:flex;align-items:center;gap:8px}.crm-footnote .oi{width:17px;height:17px}.crm-footnote>a{color:#7d579a}
.crm-contact-search{display:flex;align-items:end;gap:12px;margin:0 0 25px;max-width:550px}.crm-contact-search .o-field{margin:0;flex:1}
.crm-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.crm-contact-card{display:flex;flex-direction:column;padding:25px}.crm-contact-card .o-person{align-items:center;gap:12px}.crm-contact-card h2{font:600 .94rem var(--texto);line-height:1.5}.crm-contact-card .o-person small{font-size:.65rem;display:block;overflow-wrap:anywhere;margin-top:5px;color:#93809f}.crm-contact-card>p{font-size:.77rem;line-height:1.9;margin:22px 0;color:#8c7996}.crm-contact-bottom{margin-top:auto;display:grid;gap:17px}.crm-contact-bottom>.o-pill{width:fit-content;font-size:.59rem}.crm-contact-bottom .o-btn{min-height:39px;font-size:.67rem}
.crm-kanban{display:flex;gap:17px;overflow-x:auto;max-width:100%;padding:4px 2px 20px;scroll-snap-type:x proximity;overscroll-behavior-x:contain}.crm-stage{background:#eee8ee;border:1px solid #e4dae8;border-radius:14px;width:270px;min-width:270px;scroll-snap-align:start;min-height:430px;padding:16px 12px}.crm-stage>header{display:flex;gap:8px;align-items:center;padding:4px 5px 18px}.crm-stage h2{font:500 .81rem var(--texto);flex:1}.crm-stage>header>b{font-size:.7rem;min-width:22px;border-radius:50%;background:#fffdfa;color:#8f7b9b;text-align:center;padding:4px}.crm-stage-dot{width:7px;height:7px;border-radius:50%;background:#a588ba}.crm-stage.payment .crm-stage-dot{background:#d0a15d}.crm-stage.preparing .crm-stage-dot{background:#6e8da8}.crm-stage.won .crm-stage-dot{background:#75a18c}.crm-stage.lost .crm-stage-dot{background:#b99496}.crm-stage-cards{display:grid;gap:15px}.crm-deal-card{padding:20px 16px;background:#fffdfa;border-radius:10px;box-shadow:0 2px 8px #4a345a04}.crm-deal-card>.o-kicker{font-size:.55rem;color:#9c8aa4}.crm-deal-card h3{font:500 1.05rem var(--titulos);line-height:1.4;margin:10px 0 12px;color:#46334f}.crm-deal-price{font:500 1.16rem var(--texto);color:#77548c}.crm-deal-card p{font-size:.68rem;line-height:1.8;color:#9b8ca2;margin:12px 0}.crm-deal-card>small{font-size:.6rem;color:#8f7c9a}.crm-deal-card .o-field{margin:20px 0 8px}.crm-deal-card .o-field>span{font-size:.6rem}.crm-deal-card select{font-size:.68rem;min-height:40px;background:#faf6fc;padding:8px}.crm-deal-card .o-btn{font-size:.6rem;min-height:30px;padding:7px}.crm-stage-empty{padding:35px 15px;color:#a593af;font-size:.73rem;text-align:center;line-height:1.8}.crm-history{padding-left:18px;font-size:.72rem;line-height:2;color:#806b8e}
.crm-template-layout{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(250px,1fr);gap:27px;align-items:start}.crm-section-title{font:400 1.5rem var(--titulos);margin:0 0 20px;color:#5b3e70}.crm-template>div{display:flex;align-items:center;justify-content:space-between;gap:10px}.crm-template h3{font:500 .96rem var(--texto)}.crm-template .o-kicker{font-size:.49rem}.crm-template p{font-size:.84rem;line-height:1.9;margin:22px 0;color:#887394;white-space:pre-wrap;overflow-wrap:anywhere}.crm-template .o-btn{font-size:.7rem;min-height:41px}.crm-label-card{background:#f1eaf5}.crm-label-card h2{font-size:1.65rem;line-height:1.3;margin-top:12px}.crm-labels-list{display:grid;gap:10px;margin:25px 0}.crm-labels-list>div{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dfd2e7;padding-bottom:10px}.crm-labels-list .o-btn{font-size:.63rem;min-height:35px}.crm-label-card hr{border:0;border-top:1px solid #dfd2e7;margin:25px 0}.crm-label-card h3{font:500 .9rem var(--texto)}.crm-label-card code{font-size:.72rem;line-height:2.1;color:#76548d}
.crm-reply-choice{padding:20px 23px;border:1px solid #e5dae9;border-radius:10px;text-align:left;background:#fdfbf9;color:#674e78;transition:border-color .2s,background .2s}.crm-reply-choice:hover{background:#f3edf7;border-color:#a588b8}.crm-reply-choice strong{font:500 .9rem var(--texto)}.crm-reply-choice p{font:400 .81rem/1.8 var(--texto);color:#8b7898}.crm-reply-choice span{font:500 .67rem var(--texto);color:#8a669f}
.crm-internal{max-width:900px;padding:0;overflow:hidden}.crm-internal-intro{display:flex;align-items:center;gap:16px;padding:24px 28px;border-bottom:1px solid #e9dfec}.crm-internal-intro>.oi{width:31px;height:31px;color:#9b7caf}.crm-internal-intro strong{font-size:.86rem}.crm-internal-intro p{font-size:.71rem;color:#99869f;margin:7px 0 0}.crm-internal-intro>.o-pill{margin-left:auto}.crm-internal-messages{background:#f7f3f7;min-height:220px;max-height:490px;overflow:auto;display:flex;flex-direction:column;gap:18px;padding:27px}.crm-internal-note{border:1px solid #e8dfec;background:#fffdfa;padding:19px 22px;border-radius:12px;max-width:85%;align-self:flex-start}.crm-internal-note.mine{align-self:flex-end;background:#eee6f5}.crm-internal-note>strong{font-size:.65rem;color:#846496}.crm-internal-note p{font-size:.84rem;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0}.crm-internal-note small{font-size:.58rem;color:#a08ba8}.crm-internal-form{padding:25px 28px;display:grid;gap:12px}.crm-internal-form .o-field{margin:0}.crm-internal-form>.o-btn{justify-self:end}
.crm-connection-hub .o-card-head{align-items:center;gap:15px;flex-wrap:wrap}.crm-connection-hub .o-kicker{font-size:.6rem}.crm-connection-hub h2{margin-top:10px}.crm-connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 27px}.crm-connection-grid article,.crm-connect-options article{display:flex;gap:16px;padding:25px 0;border-bottom:1px solid #eae0ef}.crm-connection-icon{width:43px;height:43px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:#e6efe9;color:#53866b;flex-shrink:0}.crm-connection-icon.facebook{background:#e4eaf5;color:#557ab6}.crm-connection-icon.instagram{background:#f2e4ef;color:#b66b98}.crm-connection-icon.tiktok{background:#ebe7ed;color:#5e4a6d}.crm-connection-icon.telegram{background:#e3eff4;color:#6c9caf}.crm-connection-icon .oi{width:22px;height:22px}.crm-connection-grid h3,.crm-connect-options h3{font:500 .88rem var(--texto);margin:0 0 10px}.crm-connection-grid p,.crm-connect-options p{font-size:.72rem;line-height:1.85;color:#98849f;margin:0 0 12px}.crm-connection-grid .o-pill,.crm-connect-options .o-pill{font-size:.55rem}.crm-connect-options{display:grid;grid-template-columns:1fr 1fr;gap:0 25px}.crm-connect-options .o-btn{font-size:.65rem;min-height:38px;margin-top:14px;display:flex;width:fit-content}
@media(min-width:1600px){.crm-inbox{height:820px;grid-template-columns:350px minmax(0,1fr)}}
@media(max-width:1250px){.crm-availability{width:100%;padding:8px 15px;justify-content:end}.crm-availability .o-field{display:flex;align-items:center;gap:15px}.crm-inbox{grid-template-columns:275px minmax(0,1fr)}.crm-chat-toolbar{padding:10px 14px}.crm-chat-toolbar>.o-actions{width:100%;justify-content:end}.crm-contact-grid{grid-template-columns:1fr 1fr}.crm-queue{padding:13px 10px;font-size:.72rem;gap:6px}}
@media(max-width:900px){.crm-template-layout{grid-template-columns:1fr}.crm-label-card{max-width:none}.crm-connection-grid,.crm-connect-options{grid-template-columns:1fr}.crm-inbox{grid-template-columns:250px minmax(0,1fr)}.crm-chat-head{padding:18px 15px}.crm-chat-head>.o-actions{margin-left:0}.crm-chat-person h2{font-size:.9rem}.crm-chat-toolbar select{max-width:210px}.crm-inbox .o-bubble{max-width:94%;font-size:.83rem;padding:14px}.crm-inbox .o-chat-messages{padding:17px}.crm-composer{padding:13px}.crm-composer textarea{padding:11px}.crm-queue .oi{display:none}}
@media(max-width:700px){.crm-overview{margin-bottom:16px;gap:10px}.crm-queues{grid-template-columns:repeat(2,1fr);gap:8px;width:100%}.crm-queue{min-height:55px;font-size:.8rem;padding:13px}.crm-queue .oi{display:block;width:17px;height:17px}.crm-availability{justify-content:start}.crm-availability select{font-size:.74rem}.crm-inbox{grid-template-columns:minmax(0,1fr);height:auto;max-height:none;min-height:650px;border-radius:12px}.crm-inbox .o-chat-list{max-height:520px;min-height:0}.crm-list-tools{padding:15px}.crm-list-tools .o-field>span{font-size:.65rem}.crm-list-tools select{font-size:.78rem;min-height:43px}.crm-list-tools>.o-small{font-size:.65rem}.crm-filter-pair{grid-template-columns:repeat(2,minmax(0,1fr))}.crm-inbox .o-chat-list-body{max-height:260px}.crm-inbox .o-chat-row{padding:19px 17px}.crm-inbox .o-chat-row.active{padding-left:14px}.crm-inbox .o-chat-row strong{font-size:.9rem}.crm-inbox .o-chat-row p{font-size:.8rem}.crm-inbox .o-chat-row small{font-size:.7rem}.crm-row-tags .o-pill{font-size:.62rem}.crm-inbox .o-chat{min-height:590px;max-height:none}.crm-inbox .o-chat-messages{min-height:230px;max-height:440px;padding:22px 15px}.crm-chat-head{padding:20px 16px}.crm-chat-head>.o-actions{margin-left:auto}.crm-chat-head h2{font-size:.97rem}.crm-chat-head p{font-size:.7rem}.crm-chat-head .o-btn{font-size:.67rem}.crm-chat-toolbar .o-btn{font-size:.7rem;min-height:43px}.crm-chat-toolbar>.o-actions{justify-content:start}.crm-chat-toolbar .o-field>span{font-size:.64rem}.crm-chat-toolbar select{min-height:43px;font-size:.76rem}.crm-chat-context{padding:12px 15px 0}.crm-chat-context .o-pill{font-size:.64rem}.crm-chat-context .o-btn{font-size:.64rem}.crm-inbox .o-bubble{font-size:.9rem;max-width:94%}.crm-inbox .o-bubble small{font-size:.62rem}.crm-composer{padding:14px 15px 20px}.crm-composer textarea{height:85px}.crm-composer-tools .o-btn{font-size:.7rem}.crm-composer .o-checkbox{font-size:.73rem}.crm-footnote{flex-direction:column;align-items:start;line-height:1.7;font-size:.72rem}.crm-contact-grid{grid-template-columns:1fr}.crm-contact-search{gap:9px}.crm-contact-search>.o-btn{min-height:47px;padding:10px 13px}.crm-contact-card h2{font-size:1rem}.crm-contact-card .o-person small{font-size:.74rem}.crm-contact-card>p{font-size:.84rem}.crm-contact-bottom>.o-pill{font-size:.65rem}.crm-contact-bottom .o-btn{font-size:.75rem;min-height:43px}.crm-kanban{gap:12px}.crm-stage{width:282px;min-width:282px}.crm-deal-card p{font-size:.76rem}.crm-deal-card>small{font-size:.7rem}.crm-deal-card select{font-size:.78rem;min-height:45px}.crm-stage h2{font-size:.85rem}.crm-template{padding:24px}.crm-template>div{align-items:start;flex-direction:column}.crm-template .o-kicker{font-size:.58rem}.crm-template h3{font-size:1rem}.crm-template p{font-size:.87rem}.crm-labels-list .o-btn{font-size:.75rem}.crm-label-card code{font-size:.8rem}.crm-internal-intro{padding:22px 19px;flex-wrap:wrap}.crm-internal-intro>.o-pill{margin-left:0}.crm-internal-intro p{font-size:.76rem}.crm-internal-messages{padding:20px 16px}.crm-internal-note{max-width:95%;padding:18px}.crm-internal-note p{font-size:.9rem}.crm-internal-note>strong{font-size:.73rem}.crm-internal-note small{font-size:.65rem}.crm-internal-form{padding:20px 18px}.crm-connection-grid h3,.crm-connect-options h3{font-size:.95rem}.crm-connection-grid p,.crm-connect-options p{font-size:.8rem}.crm-connection-grid .o-pill,.crm-connect-options .o-pill{font-size:.62rem}}
@media(prefers-reduced-motion:reduce){.crm-queue,.crm-inbox .o-chat-row,.crm-reply-choice{transition:none}.crm-queue:hover{transform:none}}

.crm-back-list{display:none}@media(max-width:700px){.crm-back-list{display:block;border:0;border-bottom:1px solid #e8ddeb;background:#fffdfa;color:#86659b;font:500 .76rem var(--texto);text-align:left;padding:16px;min-height:47px}}
