.waTeachingOverlay[hidden]{display:none!important}.waTeachingOverlay{position:absolute;inset:0;z-index:20;background:#102f29c9;display:flex;justify-content:flex-start;padding:18px;backdrop-filter:blur(6px)}.waTeachingCard{width:min(620px,100%);height:100%;overflow:auto;background:#fffdf9;border:1px solid #e7dfd3;border-radius:22px;padding:24px;box-shadow:0 24px 80px #0003}.waTeachingCard header{display:flex;align-items:center;justify-content:space-between;gap:20px}.waTeachingCard h2{font-size:23px;margin:6px 0;color:#163c34}.waTeachingCard h3{font-size:16px;margin:0;color:#163c34}.waTeachingCard p{line-height:1.8;color:#657267}.waTeachingCard label{display:block;font-weight:600;font-size:13px;margin:16px 0 8px}.waTeachingCard textarea,.waTeachingCard select{width:100%;font:inherit;font-size:14px;color:#17231f;border:1px solid #d9dfd3;border-radius:12px;padding:12px;background:#fafbf5}.waTeachingCard textarea{resize:vertical;min-height:112px}.waTeachingTarget{padding:9px 12px;border-radius:10px;background:#e5f0ea;color:#163c34!important}.waTeachingFormFoot,.waTeachingListHead{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:14px 0}.waTeachingFormFoot span{font-size:11px;color:#7b7771}.waTeachingFormFoot>div{display:flex;align-items:center;gap:12px}.waTeachingListHead{padding-top:16px;border-top:1px solid #e7dfd3}.waTeachingList{display:grid;gap:12px}.waTeachingItem{padding:14px;border:1px solid #e0e5d9;border-radius:14px;background:#f7faf4}.waTeachingItem[data-active="false"]{background:#f3f1ec;color:#7b7771}.waTeachingItemMeta{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}.waTeachingItemMeta strong{font-size:12px;color:#245c4e}.waTeachingItemMeta small{font-size:10px;color:#7b7771}.waTeachingItem p{white-space:pre-wrap;overflow-wrap:anywhere;margin:10px 0;color:#17231f}.waTeachingItemActions{display:flex;gap:18px}.waTeachingItemActions button{padding:8px 0}.waTeachingCard :focus-visible{outline:3px solid #c49a61;outline-offset:2px}#waTeachEntry{white-space:nowrap}#waTeachStatus{color:#245c4e}.waTeachingCard button:disabled{opacity:.5}
@media(max-width:720px){.waTeachingOverlay{padding:0}.waTeachingCard{width:100%;border-radius:0;padding:18px}.waAiBar{flex-wrap:wrap}#waTeachEntry{margin-inline-start:auto}.waTeachingFormFoot{align-items:flex-start;flex-wrap:wrap}}

/* Teaching occupies its own column; the conversation stays usable. */
.waTeachingBody{display:flex;flex:1;min-height:0;min-width:0;overflow:hidden;direction:rtl}
.waTeachingBody>.waLayout{flex:1;min-width:0}
.waTeachingBody>.waTeachingOverlay{position:static;inset:auto;z-index:auto;flex:0 0 390px;min-width:0;padding:0;background:none;backdrop-filter:none;display:block;border-inline-start:1px solid #e2e5da}
.waTeachingCard{width:100%;height:100%;border:0;border-radius:0;box-shadow:none;padding:18px;box-sizing:border-box;overscroll-behavior:contain}
.waTeachingCard header{position:sticky;top:-18px;background:#fffdf9;padding:12px 0;z-index:1;gap:12px}
.waTeachingCard h2{font-size:19px}
#waTeachClose{width:auto;min-width:120px;padding:8px 12px;font-size:12px!important}
.waTeachingOpen>.waLayout{grid-template-columns:210px minmax(0,1fr)}
@media(max-width:1200px) and (min-width:961px){.waTeachingOpen>.waLayout{grid-template-columns:minmax(0,1fr)}.waTeachingOpen>.waLayout>.waSidebar{display:none}.waTeachingBody>.waTeachingOverlay{flex-basis:360px}}
@media(max-width:960px){.waTeachingOpen>.waLayout{display:none!important}.waTeachingBody>.waTeachingOverlay{flex:1;border:0}.waTeachingCard{padding:16px}.waTeachingCard header{top:-16px}.waAiBar{flex-wrap:wrap}}

.waTeachingCard *{box-sizing:border-box}
#whatsappSheet .waTeachingOpen>.waLayout{grid-template-columns:210px minmax(0,1fr)}
@media(max-width:1200px) and (min-width:961px){#whatsappSheet .waTeachingOpen>.waLayout{grid-template-columns:minmax(0,1fr)}}

.waTeachingChatCard{display:flex;flex-direction:column;gap:8px;overflow:hidden!important}
.waTeachingChatCard header{flex-shrink:0;position:static!important}.waTeachingChatCard h2{font-size:21px}.waTeachingChatCard>p{margin:0}
.waTeachChat{flex:1;min-height:140px;overflow:auto;display:flex;flex-direction:column;gap:10px;padding:8px 2px;overscroll-behavior:contain}
.waTeachBubble{margin:0;padding:12px;border-radius:14px;white-space:pre-wrap;line-height:1.7;max-width:95%;overflow-wrap:anywhere}.waTeachBubble.admin{background:#e3eee7;align-self:flex-start}.waTeachBubble.assistant{background:#f3eee4;align-self:flex-end}
.waTeachProposal{border:1px solid #c6a16d;background:#fffaf0;border-radius:12px;padding:12px;line-height:1.6}.waTeachProposal p{margin:0 0 8px;white-space:pre-wrap}
.waTeachingChatCard form{flex-shrink:0;border-top:1px solid #e3e7dc;padding-top:8px}.waTeachingChatCard textarea{min-height:65px!important;max-height:100px}.waTeachingChatCard #waTeachCounter,.waTeachingChatCard #waTeachScopeHelp{display:none}
.waTeachMemory{flex-shrink:0;max-height:150px;overflow:auto;border:1px solid #e0e5d9;border-radius:12px;padding:10px}.waTeachMemory summary{cursor:pointer;font-weight:700}.waTeachMemory>p,.waTeachMemory h3{display:none}
.waTeachingChatCard{padding:10px!important;gap:5px;overflow:auto!important;min-height:0}
.waTeachingChatCard header{padding:0!important;min-height:44px}.waTeachingChatCard h2{font-size:17px!important;margin:0}.waTeachingChatCard header .waEyebrow{display:none}.waTeachingChatCard>p:not(.waTeachingTarget){display:none}.waTeachingChatCard .waTeachingTarget{padding:4px 8px;font-size:11px!important;flex-shrink:0}
.waTeachScopeRow{display:flex;gap:8px;align-items:center;flex-shrink:0}.waTeachScopeRow label{margin:0!important;white-space:nowrap}.waTeachScopeRow select{padding:6px!important;font-size:12px!important;height:36px!important}
.waTeachingChatCard #waTeachForm{margin:0!important;padding-top:5px!important}.waTeachingChatCard #waTeachForm label{margin:0 0 3px!important}.waTeachingChatCard #waTeachText{height:60px!important;min-height:60px!important;padding:8px!important;margin:0!important}.waTeachingChatCard .waTeachingFormFoot{margin:4px 0!important}.waTeachingChatCard #waTeachStatus{margin:0!important;font-size:11px!important;max-height:36px;overflow:auto}.waTeachingChatCard .waPrimary{padding:8px 16px!important;min-height:34px!important}.waTeachMemory{padding:6px 10px!important;font-size:12px}.waTeachingChatCard .waTeachChat{min-height:140px}
