.chat{color:#123d25;direction:rtl;gap:16px;display:grid}.chat *{box-sizing:border-box;min-width:0}.chat-grid{grid-template-columns:minmax(250px,.7fr) minmax(360px,1.3fr);gap:16px;display:grid}.chat-card{background:#fff;border:1px solid #dbe8df;border-radius:18px;padding:16px}.chat-list{gap:8px;max-height:70vh;display:grid;overflow:auto}.chat-list button,.chat-expert{text-align:right;width:100%;font:inherit;color:inherit;cursor:pointer;background:#fff;border:1px solid #dbe8df;border-radius:13px;padding:12px}.chat-list button.active{background:#eff8f2;border-color:#16723b}.chat-dot{background:#9ca8a0;border-radius:50%;width:10px;height:10px;margin-left:6px;display:inline-block}.chat-dot.online{background:#19a653;box-shadow:0 0 0 3px #dff5e7}.chat-dot.away{background:#d89d24}.chat-muted{color:#64776a;font-size:13px;line-height:1.9}.chat-messages{background:#f5f8f6;border-radius:14px;flex-direction:column;gap:9px;height:48vh;padding:10px;display:flex;overflow:auto}.chat-bubble{white-space:pre-wrap;background:#fff;border:1px solid #dbe8df;border-radius:14px;max-width:78%;padding:10px 13px;line-height:1.9}.chat-bubble.mine{background:#daf2e2;border-color:#b8ddc4;align-self:flex-start}.chat-bubble small{color:#687a6e;display:block}.chat-compose{grid-template-columns:1fr auto;gap:8px;margin-top:10px;display:grid}.chat :is(input,textarea,select){font:inherit;background:#fff;border:1px solid #bdcec2;border-radius:10px;padding:10px}.chat textarea{resize:vertical;min-height:76px}.chat button,.chat-btn{font:inherit;color:#fff;cursor:pointer;background:#176b39;border:1px solid #176b39;border-radius:10px;padding:9px 14px;text-decoration:none}.chat button.secondary{color:#176b39;background:#fff}.chat-crisis{color:#7b2923;background:#fff0ed;border:1px solid #e4a49a;border-radius:14px;padding:14px;line-height:2}.chat-consent{background:#fff9e9;border:1px solid #ead49c;border-radius:14px;padding:14px;line-height:2}.chat-start{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;display:grid}.chat-start section{border:1px solid #dbe8df;border-radius:14px;gap:8px;padding:12px;display:grid}.chat-typing{color:#64776a;min-height:24px;font-size:13px}.chat-badge{color:#8c3029;background:#fff0ed;border-radius:99px;padding:3px 8px;font-size:12px;display:inline-flex}.chat-supervisor-row{border-bottom:1px solid #edf2ef;grid-template-columns:1fr auto;gap:10px;padding:12px 0;display:grid}.chat-profile{gap:10px;display:grid}.chat-profile label{gap:5px;display:grid}.chat-experts{grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;display:grid}.chat-expert img{object-fit:cover;background:#eef3ef;border-radius:50%;width:58px;height:58px}.chat h1,.chat h2,.chat h3{margin-top:0}.chat-error{color:#982e28}.chat-empty{text-align:center;color:#64776a;padding:24px}.chat-read{color:#597062;font-size:11px}@media (max-width:760px){.chat-grid,.chat-start{grid-template-columns:1fr}.chat-messages{height:52vh}.chat-card{padding:12px}.chat-bubble{max-width:90%}.chat-compose{grid-template-columns:1fr}.chat-compose button{justify-self:end}.chat-supervisor-row{grid-template-columns:1fr}}.chat-packages{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px;display:grid}.chat-packages article,.chat-feedback{border:1px solid var(--chat-line,#d8e3dd);border-radius:12px;padding:12px}.chat-packages p{margin:6px 0}.chat-quick-picks{flex-wrap:wrap;grid-column:1/-1;gap:6px;display:flex}.chat-quick-picks button{width:auto}.chat-close{margin-top:8px}.chat-feedback{margin-top:14px}.chat-feedback label{margin:8px 0;display:block}.chat-feedback textarea{width:100%}.chat-quick-list p{border-bottom:1px solid #e6ece8;padding:8px}@media (max-width:600px){.chat-packages{grid-template-columns:1fr}.chat-quick-picks button{flex:45%}}.chat-attachments-controls{flex-wrap:wrap;align-items:center;gap:8px;margin-top:8px;display:flex}.chat-attachments-controls button{width:auto}.chat-attachments-controls .recording{background:#a52b35;animation:1.2s infinite chat-pulse}.chat-audio{width:min(100%,320px);margin-top:8px;display:block}.chat-image{margin-top:8px;display:block}.chat-image img{object-fit:contain;border-radius:12px;max-width:min(100%,320px);max-height:280px;display:block}.chat-file{overflow-wrap:anywhere;border:1px solid;border-radius:9px;margin-top:8px;padding:9px 12px;display:block}@keyframes chat-pulse{50%{opacity:.7}}@media (max-width:600px){.chat-attachments-controls{grid-template-columns:1fr 1fr;display:grid}.chat-attachments-controls button,.chat-audio{width:100%}}.chat-public{max-width:1120px;margin:32px auto;padding:0 20px}.chat-hero{text-align:center;padding:40px 24px}.chat-hero p{max-width:720px;margin:12px auto 24px;line-height:2}.chat-button{color:#fff;background:#145a30;border-radius:12px;margin:4px;padding:11px 18px;font-weight:700;text-decoration:none;display:inline-flex}.chat-button.secondary{color:#145a30;background:#fff;border:1px solid #b9d3c2}.chat-profile-photo{object-fit:cover;border-radius:50%;width:112px;height:112px;margin:auto;display:block}.chat-action-error{color:#78261f;background:#fff4f2;border:1px solid #e2aaa3;border-radius:12px;flex-wrap:wrap;align-items:center;gap:10px;padding:12px;display:flex}.chat-action-error span{flex:240px}.chat-start-flow{max-width:1100px;margin:auto}.chat-step{color:#fff;background:#176b39;border-radius:50%;place-items:center;width:34px;height:34px;margin-left:8px;display:inline-grid}.chat-service-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;display:grid}.chat-service-grid button{text-align:right;align-content:start;gap:8px;min-height:180px;display:grid}.chat-service-grid button.selected{color:#123d25;background:#eff8f2;box-shadow:0 0 0 3px #93c5a4}.chat-expert-choice{cursor:pointer;border:1px solid #dbe8df;border-radius:14px;grid-template-columns:auto 58px 1fr;align-items:center;gap:10px;padding:10px;display:grid}.chat-expert-choice.selected{background:#eff8f2;border-color:#176b39}.chat-expert-choice input{width:auto}.chat-expert-choice img,.chat-avatar{object-fit:cover;border-radius:50%;width:58px;height:58px}.chat-avatar{background:#dcebe1;place-items:center;font-size:22px;font-weight:700;display:grid}@media (max-width:600px){.chat-public{margin:16px auto;padding:0 12px}.chat-hero{padding:28px 16px}.chat-hero .chat-button{display:flex}.chat-service-grid{grid-template-columns:1fr}.chat-service-grid button{min-height:0}}.chat-card{box-shadow:0 5px 18px #173c2510}.chat-list button{color:#173d28;grid-template-columns:44px 1fr auto;align-items:center;gap:8px;display:grid}.chat-list-avatar{color:#124c2b;background:#dcebe1;border-radius:50%;place-items:center;width:42px;height:42px;font-weight:800;display:grid;overflow:hidden}.chat-list-avatar img{object-fit:cover;width:100%;height:100%}.chat-list-main{gap:3px;display:grid}.chat-list-main small{color:#425d4b}.chat-status{border-radius:99px;padding:3px 8px;font-size:11px;font-weight:700}.status-active{color:#14532d;background:#daf2e2}.status-closed{color:#46534b;background:#e9ecea}.status-upcoming{color:#70460d;background:#fff0d6}.chat-unread{color:#fff;background:#176b39;border-radius:50%;grid-column:3;place-items:center;min-width:24px;height:24px;font-size:11px;display:grid}.chat-room-title{background:0 0;border:0;align-items:center;gap:10px;padding:0 0 12px;display:flex}.chat-room-title h2{margin:0}.chat-welcome,.chat-ended{text-align:center;color:#385444;background:#f5f8f6;border-radius:14px;padding:36px 20px}.chat-bubble.theirs{align-self:flex-end}.chat-bubble p{margin:0}.chat-quick-menu{grid-column:1/-1}.chat-quick-menu summary{cursor:pointer;color:#176b39;font-weight:700}.chat-quick-menu button{margin:4px}.chat-mobile-back{display:none}.chat-ended{margin-top:10px}.chat-btn.secondary{color:#176b39;background:#fff}.chat .chat-list button{color:#173d28;background:#fff;border-color:#dbe8df}.chat .chat-list button.active{color:#123d25;background:#eff8f2;border-color:#16723b}.chat .chat-list button:hover{border-color:#16723b}.chat-sidebar{align-content:start;gap:12px;display:grid}.chat-new{justify-self:start}.status-waiting{color:#70460d;background:#fff0d6}@media (max-width:760px){.chat-grid{display:block}.chat-grid.show-list .chat-room,.chat-grid.show-room .chat-sidebar{display:none}.chat-mobile-back{margin-bottom:12px;display:inline-flex}.chat-room{min-height:72vh}.chat-list{max-height:none}.chat-list button{grid-template-columns:44px 1fr auto}.chat-compose textarea{min-height:92px}}
