.stc,.stc *{box-sizing:border-box}.stc{color:#17213c;background:#fff;border:1px solid #d7d0fc;border-radius:24px;width:100%;min-width:0;max-width:100%;font-family:inherit;overflow:hidden;box-shadow:0 14px 36px #35307915;container:tutor-chat/inline-size}.stc-header{text-align:left;width:100%;min-width:0;font:inherit;cursor:pointer;background:linear-gradient(110deg,#efe8ff,#f4f4ff 62%,#e8f6ff);border:0;align-items:center;gap:14px;padding:18px 22px;display:flex}.stc-avatar{object-fit:cover;background:#e8deff;border:3px solid #fff;border-radius:18px;flex:0 0 64px;width:64px;height:64px;box-shadow:0 4px 16px #3929a722}.stc-fallback{color:#5633d0;place-items:center;font-weight:800;display:grid}.stc-heading{flex-direction:column;flex:1;gap:5px;min-width:0;display:flex}.stc-heading strong{color:#2d185d;font-size:clamp(17px,2vw,22px);font-weight:900;line-height:1.3}.stc-heading small{overflow-wrap:anywhere;color:#5e5884;font-size:13px;font-weight:750;line-height:1.5}.stc-header-hint{color:#5b46b5;flex:none;font-size:12px;font-weight:800}.stc-chevron{color:#583fc4;font-size:28px;font-weight:750}.stc-body{background:linear-gradient(#fff,#fcfbff);gap:20px;min-width:0;padding:20px;display:grid}.stc-conversation,.stc-interact{min-width:0}.stc-zone-title{color:#514294;letter-spacing:.03em;margin:0 0 10px;font-size:13px;font-weight:900}.stc-history{overscroll-behavior:contain;scrollbar-color:#b7a6f2 #f6f3ff;background:#fff;border:1px solid #ebe6ff;border-radius:17px;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;height:min(48vh,385px);min-height:240px;padding:15px;display:flex;overflow:hidden auto}.stc-bubble{white-space:pre-wrap;overflow-wrap:anywhere;border-radius:17px;max-width:min(88%,760px);padding:13px 16px;font-size:15px;line-height:1.75}.stc-bubble--tutor{color:#303159;background:#f3efff;border:1px solid #e6defc;border-top-left-radius:6px;align-self:flex-start}.stc-bubble--student{color:#fff;background:#5b40dd;border-top-right-radius:6px;align-self:flex-end}.stc-thinking{color:#66718b;margin:4px 0;font-size:13px;font-weight:750}.stc-quick{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:0 0 18px;display:grid}.stc-quick button{color:#5433b8;min-width:0;min-height:48px;font:inherit;cursor:pointer;background:#f8f6ff;border:1px solid #ddd6fc;border-radius:12px;padding:10px 12px;font-size:13px;font-weight:850;line-height:1.4}.stc-quick button:hover:enabled{background:#eee8ff;border-color:#b4a1ff}.stc-label{color:#352a63;margin-bottom:9px;font-size:13px;font-weight:850;display:block}.stc-form textarea{resize:vertical;color:#18203d;width:100%;min-width:0;min-height:112px;font:inherit;background:#fff;border:1px solid #d1c6eb;border-radius:14px;padding:14px 15px;font-size:15px;line-height:1.55;display:block}.stc-form-actions{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-top:13px;display:flex}.stc-send{color:#fff;font:inherit;cursor:pointer;background:linear-gradient(110deg,#7439e8,#3f62e9);border:0;border-radius:12px;padding:12px 19px;font-size:14px;font-weight:850}.stc-clear{color:#6f648d;font:inherit;cursor:pointer;background:0 0;border:0;padding:8px 2px;font-size:12px;font-weight:750;text-decoration:underline}.stc button:disabled{cursor:not-allowed;opacity:.5}.stc-caption{color:#63718a;margin:12px 0 0;font-size:12px;line-height:1.6}.stc-error{color:#9a3412;overflow-wrap:anywhere;background:#fff4e7;border:1px solid #fbd4aa;border-radius:11px;margin:0 0 12px;padding:12px;font-size:13px;font-weight:750}.stc-visual{color:#17203e;background:#fff;border-radius:12px;min-width:0;max-width:100%;margin:12px 0;padding:10px;overflow-x:auto}.stc-visual-grid{grid-template-columns:repeat(7,minmax(58px,1fr));gap:3px;display:grid}.stc-place{text-align:center;background:#e9f0ff;border-radius:6px;min-width:0;padding:7px 3px}.stc-place small{overflow-wrap:anywhere;min-height:30px;font-size:10px;line-height:1.3;display:block}.stc-place strong{font-size:19px}.stc-visual p{margin:6px 3px;font-size:12px}.stc-header:focus-visible,.stc button:focus-visible,.stc textarea:focus-visible{outline-offset:3px;outline:3px solid #7452f5}@container tutor-chat (min-width:760px){.stc-body{grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);align-items:start;gap:22px;padding:22px}.stc-history{height:420px;max-height:60vh}}@container tutor-chat (max-width:500px){.stc-body{gap:17px;padding:13px}.stc-header{gap:10px;padding:13px}.stc-header-hint{display:none}.stc-avatar{border-radius:13px;flex-basis:48px;width:48px;height:48px}.stc-heading strong{font-size:16px}.stc-heading small{font-size:11px}.stc-history{height:310px;min-height:190px;padding:11px}.stc-bubble{max-width:95%;padding:11px 12px;font-size:14px}.stc-quick button{font-size:12px}}@media (prefers-reduced-motion:reduce){.stc *{scroll-behavior:auto!important;transition:none!important}}
