/* Consistent, selectable transcripts. No simulated phone chrome or fabricated metadata. */
.alc-chat-card,.alc-chat-detail{--chat-ink:#182e38;--chat-green:#0d6254;color:var(--chat-ink);font-family:Arial,Helvetica,sans-serif;text-align:left;white-space:normal;user-select:text;box-sizing:border-box}
.alc-chat-card{display:flex;flex-direction:column;width:100%;height:100%;min-width:0;border:1px solid #dce5e7;border-radius:22px;overflow:hidden;background:#fff;box-shadow:0 5px 24px #19344708}
.alc-chat-card *,.alc-chat-detail *{box-sizing:border-box}
.alc-chat-head{display:flex;align-items:center;gap:11px;padding:20px;background:#f8fbfb;border-bottom:1px solid #e4ebea;min-width:0}
.alc-chat-avatar{display:grid;place-items:center;width:42px;height:42px;flex:0 0 42px;border-radius:50%;color:#47796f;background:#e1efea}
.alc-chat-avatar svg{width:25px;height:25px}
.alc-chat-contact{display:flex;flex:1;flex-direction:column;gap:4px;min-width:0}
.alc-chat-contact strong{display:block;font:700 16px/1.35 Arial,Helvetica,sans-serif;color:#163333;overflow-wrap:anywhere}
.alc-chat-contact>span{font:400 12px/1.4 Arial,Helvetica,sans-serif;color:#59716d}
.alc-chat-channel{display:flex;flex-direction:column;align-items:center;gap:3px;font:500 10px/1.2 Arial,Helvetica,sans-serif;color:#267a64;flex:0 0 auto}
.alc-chat-channel svg{width:22px;height:22px}
.alc-chat-canvas,.alc-chat-conversation{display:flex;flex-direction:column;align-items:flex-start;gap:14px;padding:25px 20px;background-color:#f0ede6;background-image:radial-gradient(#c3bcae4a .7px,transparent .7px);background-size:13px 13px;min-width:0}
.alc-chat-canvas{flex:1;min-height:244px}
.alc-chat-bubble,.alc-chat-message{position:relative;display:block;background:#fff;border-radius:0 14px 14px 14px;border:1px solid #e5e4df;box-shadow:0 1px 2px #24342d0b;color:#1d2929;padding:17px 18px;max-width:100%;min-width:0}
.alc-chat-bubble:before,.alc-chat-message:before{content:"";position:absolute;top:-1px;left:-8px;width:9px;height:12px;background:#fff;clip-path:polygon(0 0,100% 0,100% 100%)}
.alc-chat-preview{display:-webkit-box;-webkit-line-clamp:7;-webkit-box-orient:vertical;overflow:hidden;font:400 16px/1.65 Arial,Helvetica,sans-serif;white-space:pre-line;overflow-wrap:anywhere}
.alc-chat-footer{display:flex;flex-direction:column;gap:13px;padding:20px;background:#fff}
.alc-chat-program{font:600 12px/1.55 Poppins,Arial,sans-serif;color:#354d60;display:block}
.alc-chat-read{display:flex;justify-content:space-between;gap:8px;align-items:center;border-top:1px solid #e5ebed;padding-top:13px;color:#a52660;font:600 13px/1.5 Poppins,Arial,sans-serif}
.alc-chat-read>span{font-size:20px;line-height:1}
.alc-chat-card:hover .alc-chat-read{color:#d20c65}
button:has(>.alc-chat-card){padding:0!important;border:0;background:transparent;cursor:pointer;color:inherit;text-align:left;white-space:normal}
button:has(>.alc-chat-card):focus-visible{outline:3px solid #146fa0;outline-offset:4px}
#testimonial-track .testimonial-card:has(.alc-chat-card){padding:0;overflow:hidden}
#testimonial-track .testimonial-card>.alc-chat-card{border:0;box-shadow:none}
.testimonial-option-button>.alc-chat-card{max-width:700px;margin-inline:auto}
.math-feedback-poster>.alc-chat-card{max-width:640px;margin-inline:auto}
.english-testimonial-poster>.alc-chat-card{max-width:580px;margin-inline:auto}
.math-feedback-carousel:has(.alc-chat-card){padding-inline:56px}
.math-feedback-carousel .math-feedback-arrow{z-index:2}
.math-feedback-hint{max-width:600px;margin-inline:auto}
.testimonial-option-button>.alc-chat-card .alc-chat-canvas,.math-feedback-poster>.alc-chat-card .alc-chat-canvas{min-height:260px}
.testimonial-option-button>.alc-chat-card .alc-chat-preview,.math-feedback-poster>.alc-chat-card .alc-chat-preview{-webkit-line-clamp:7;font-size:18px;line-height:1.7}
.alc-chat-dialog{margin:auto;padding:0;border:1px solid #dce5e7;border-radius:24px;width:min(690px,calc(100% - 32px));max-width:calc(100% - 32px);max-height:calc(100dvh - 40px);background:#fff;overflow:auto;color:#193740;box-shadow:0 24px 80px #081f3452;overscroll-behavior:contain}
.alc-chat-dialog::backdrop{background:#0c223bb3;backdrop-filter:blur(3px)}
.alc-chat-dialog-bar{position:sticky;top:0;z-index:3;display:flex;justify-content:space-between;align-items:center;gap:16px;background:#fff;border-bottom:1px solid #e3e9eb;padding:16px 22px}
.alc-chat-dialog-bar h2{margin:0!important;font:600 16px/1.5 Poppins,Arial,sans-serif!important;color:#173145;letter-spacing:0}
.alc-chat-close{display:grid;place-items:center;border:1px solid #dbe3e7;border-radius:50%;width:42px;height:42px;min-width:42px;padding:0;font:400 27px/1 Arial,sans-serif;background:#f6f9fa;color:#284457;cursor:pointer}
.alc-chat-close:focus-visible,.alc-chat-source summary:focus-visible,.alc-chat-source a:focus-visible{outline:3px solid #146fa0;outline-offset:3px}
.alc-chat-detail>.alc-chat-head{padding:22px 26px}
.alc-chat-context{font:600 13px/1.6 Poppins,Arial,sans-serif!important;color:#435c68;margin:20px 26px 7px!important}
.alc-chat-disclosure{font:400 13px/1.65 Arial,sans-serif!important;color:#637375;margin:0 26px 20px!important}
.alc-chat-conversation{padding:28px 30px;gap:16px}
.alc-chat-message{width:fit-content;max-width:93%;padding:15px 17px}
.alc-chat-message p{font:400 17px/1.65 Arial,Helvetica,sans-serif!important;color:#1d2929!important;white-space:pre-line;overflow-wrap:anywhere;margin:5px 0 0!important}
.alc-chat-sender{font:600 12px/1.5 Arial,sans-serif;color:#197166;display:block}
.alc-chat-outgoing{align-self:flex-end;border-color:#c7e1bd;background:#d9f4c9;border-radius:14px 0 14px 14px}
.alc-chat-outgoing:before{left:auto;right:-8px;background:#d9f4c9;transform:scaleX(-1)}
.alc-chat-note{font:400 13px/1.65 Arial,sans-serif!important;color:#64716f;margin:20px 26px!important}
.alc-chat-source{margin:24px 26px;border:1px solid #dbe4e5;border-radius:13px;overflow:hidden;background:#f9fbfb}
.alc-chat-source summary{padding:16px;cursor:pointer;font:600 14px/1.5 Poppins,Arial,sans-serif;color:#1a6658;list-style-position:inside}
.alc-chat-source-body{border-top:1px solid #dbe4e5;padding:18px}
.alc-chat-source-body p{font:400 13px/1.6 Arial,sans-serif!important;margin:0 0 12px!important;color:#5d6c71}
.alc-chat-source-body a{display:inline-block;color:#12668a;text-decoration:underline;font:500 14px/1.6 Arial,sans-serif;margin-bottom:18px}
.alc-chat-source-body img{display:block;width:auto!important;height:auto!important;max-width:100%;margin:auto;border-radius:8px;object-fit:contain}
body.alc-chat-open{overflow:hidden}
@media(min-width:900px){.english-testimonial-poster>.alc-chat-card .alc-chat-canvas{min-height:280px}}
@media(max-width:600px){
 .alc-chat-head{padding:18px 16px;gap:9px}.alc-chat-contact strong{font-size:15px}.alc-chat-avatar{width:37px;height:37px;flex-basis:37px}.alc-chat-avatar svg{width:23px;height:23px}
 .alc-chat-canvas{padding:24px 19px;min-height:240px}.alc-chat-bubble{padding:15px}.alc-chat-preview{font-size:16px;line-height:1.65}
 .alc-chat-footer{padding:18px 16px}.alc-chat-card{border-radius:18px}.alc-chat-program{font-size:12px}
 .testimonial-option-button>.alc-chat-card .alc-chat-preview,.math-feedback-poster>.alc-chat-card .alc-chat-preview{font-size:16px}
 .math-feedback-carousel:has(.alc-chat-card){padding-inline:0}.math-feedback-carousel .math-feedback-arrow{top:auto;bottom:-56px;width:42px;height:42px;transform:none}.math-feedback-carousel .math-feedback-arrow.previous{left:calc(50% - 51px)}.math-feedback-carousel .math-feedback-arrow.next{right:calc(50% - 51px)}.math-feedback-author{margin-top:72px!important}
 .alc-chat-dialog{width:calc(100% - 20px);max-width:calc(100% - 20px);max-height:calc(100dvh - 24px);border-radius:18px}
 .alc-chat-dialog-bar{padding:13px 16px}.alc-chat-dialog-bar h2{font-size:14px!important}.alc-chat-detail>.alc-chat-head{padding:20px 18px}
 .alc-chat-context{margin:18px 18px 7px!important}.alc-chat-disclosure{margin:0 18px 18px!important}.alc-chat-conversation{padding:24px 20px}.alc-chat-message{max-width:96%;padding:14px}.alc-chat-message p{font-size:16px!important}.alc-chat-note{margin:18px!important}.alc-chat-source{margin:20px 18px}.alc-chat-source-body{padding:14px}
}
@media(prefers-reduced-motion:reduce){.alc-chat-card{scroll-behavior:auto}}

.english-testimonial-poster>button{display:block;width:100%;max-width:580px;margin:auto;border-radius:22px}
