.sh-main{max-width:1120px;margin:auto;padding:38px 24px 60px;color:#263b34;line-height:1.8}.sh-heading{margin-bottom:38px}.sh-heading>p:first-child{font-size:13px;letter-spacing:.08em;color:#8d713e}.sh-heading h1{font-size:clamp(28px,4vw,40px);line-height:1.3;margin:8px 0 16px}.sh-heading>p{max-width:680px}.sh-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:40px;align-items:start}.sh-faq-section{margin-bottom:32px}.sh-faq-section h2,.sh-teacher h2{font-size:23px;line-height:1.4;color:#173b32}.sh-faq{border-bottom:1px solid #dde3dc;padding:17px 0}.sh-faq summary{cursor:pointer;font-weight:600;line-height:1.6}.sh-faq p{white-space:pre-line;overflow-wrap:anywhere;margin:16px 0 10px}.sh-link{color:#315e4c;text-underline-offset:4px;font-weight:500}.sh-assistant-intro{background:#f3f5ef;padding:24px;border-radius:12px;position:sticky;top:100px;font-size:14px}.sh-assistant-intro h2{font-size:20px;margin-top:0}.sh-assistant-intro button,.sh-entry button{background:#213d58;color:white;border:0;border-radius:6px;padding:10px 18px;cursor:pointer;font:inherit}.sh-teacher{border-top:1px solid #dde3dc;padding-top:28px;margin-top:20px;scroll-margin-top:90px}.sh-note{font-size:13px;color:#627168}.sh-enquiry{border:0;border-radius:10px;background:#f8f9fa;max-width:760px;display:block;margin:20px auto}.sh-entry{max-width:1120px;display:flex;gap:22px;align-items:center;flex-wrap:wrap;padding:24px;margin:32px auto;background:#f5f6f2;border-radius:10px}.sh-entry>div{flex:1}.sh-entry h2{font-size:21px;margin:0 0 7px}.sh-entry p{margin:0;font-size:14px}.sh-entry>a,.sh-footer-link{color:inherit;text-underline-offset:4px}.sh-launcher{position:fixed;right:22px;bottom:22px;z-index:55;border:1px solid #fff8;border-radius:24px;padding:11px 19px;min-height:44px;color:white;background:#223d58;box-shadow:0 4px 16px #10283926;font:600 14px 'Noto Sans','Noto Sans SC',sans-serif;cursor:pointer}.sh-dialog{position:fixed;inset:auto 22px 22px auto;margin:0;width:410px;max-width:calc(100vw - 32px);height:650px;max-height:calc(100dvh - 36px);padding:0;border:1px solid #d4ddd8;border-radius:16px;color:#263b34;background:#fff;box-shadow:0 12px 60px #172d3d33;overflow:hidden;font:14px/1.7 'Noto Sans','Noto Sans SC',sans-serif}.sh-dialog[open]{display:flex;flex-direction:column}.sh-dialog::backdrop{background:#16253622}.sh-chat-head{display:flex;align-items:center;gap:15px;padding:15px 18px;border-bottom:1px solid #e3e8e2}.sh-chat-head h2{font-size:18px;line-height:1.4;margin:0;flex:1}.sh-close{font-size:26px;border:0;background:transparent;color:#324c40;cursor:pointer;min-height:36px;min-width:36px}.sh-chat-note{margin:0;padding:10px 18px;background:#f4f6f1;color:#627168;font-size:12px}.sh-messages{overflow:auto;flex:1;padding:16px;min-height:80px;overscroll-behavior:contain}.sh-message{background:#f0f3ee;border-radius:12px;padding:12px 14px;margin:0 16px 14px 0;white-space:pre-line;overflow-wrap:anywhere}.sh-message-user{margin:0 0 14px 30px;background:#e9eff4}.sh-message-source{display:block;margin-top:8px;color:#315e4c;text-decoration:underline;white-space:normal}.sh-chat-actions{display:flex;flex-wrap:wrap;gap:7px;max-height:170px;overflow:auto;padding:0 16px 12px}.sh-chat-actions button{font:inherit;text-align:left;border:1px solid #ccd8ce;border-radius:7px;padding:7px 10px;cursor:pointer;background:#fff;color:#294e3d;min-height:36px}.sh-chat-input{display:flex;gap:8px;padding:12px 16px;border-top:1px solid #e3e8e2}.sh-chat-input input{flex:1;width:0;border:1px solid #c9d3ce;border-radius:6px;padding:9px;font:inherit;min-width:0}.sh-chat-input button{border:0;border-radius:6px;background:#223d58;color:#fff;font:inherit;padding:8px 14px;cursor:pointer}.sh-chat-input button:disabled{opacity:.5}.sh-chat-footer{padding:0 16px 12px;display:flex;justify-content:space-between;font-size:12px}.sh-chat-footer a,.sh-chat-footer button{color:#315e4c;background:none;border:0;text-decoration:underline;cursor:pointer;font:inherit}.sh-handoff-frame{width:100%;height:780px;border:0;background:#fff;margin:12px 0;border-radius:6px}.sh-dialog :focus-visible,.sh-main :focus-visible,.sh-entry :focus-visible{outline:3px solid #af8f4c;outline-offset:3px}
@media(max-width:700px){.sh-main{padding:25px 20px 45px}.sh-layout{grid-template-columns:1fr;gap:12px}.sh-assistant-intro{position:static}.sh-entry{margin-inline:20px;padding:20px}.sh-entry>div{flex-basis:100%}.sh-launcher{right:14px;bottom:16px;font-size:13px;padding:9px 16px}.sh-dialog{inset:auto 10px 10px 10px;width:auto;max-width:none;max-height:calc(100dvh - 20px);height:650px}.sh-enquiry{height:940px}.sh-chat-actions{max-height:150px}}
@media(max-width:700px){.sh-chat-input input{font-size:16px}}
/* Friendly school helper: compact launcher, familiar navy, green and warm gold. */
.sh-launcher{display:flex;align-items:center;gap:10px;padding:10px 17px 10px 11px;border-radius:30px;background:#223d58;box-shadow:0 5px 20px #172d3d26;text-align:left;transition:transform .16s ease,box-shadow .16s ease}.sh-launcher:hover{transform:translateY(-2px);box-shadow:0 8px 24px #172d3d30}.sh-launcher>.sh-icon{display:grid;place-items:center;width:34px;height:34px;background:#f5ead2;border-radius:50%;font-size:21px}.sh-launch-copy{display:flex;flex-direction:column;gap:1px}.sh-launch-copy strong{font-size:13px;font-weight:600}.sh-launch-copy small{font-size:10px;font-weight:400;color:#e2e9eb;letter-spacing:.03em}.sh-dialog{width:420px;height:670px;background:#fcfcf9;border:1px solid #dbe2dc;box-shadow:0 16px 60px #172d3d30}.sh-chat-head{background:#fff;padding:15px 18px;gap:11px;border-bottom-color:#e2e5dc}.sh-seal{flex:none;background:#fff;border-radius:50%;border:1px solid #decba5;padding:2px;box-sizing:border-box}.sh-title-block{flex:1;min-width:0}.sh-title-block small{font-size:10px;letter-spacing:.04em;color:#7e7058}.sh-chat-head h2{font-size:18px;color:#213d58;margin:1px 0 0}.sh-close{color:#69766d;border-radius:50%;min-width:32px;min-height:32px}.sh-close:hover{background:#f2f4ef}.sh-page-chip{margin:0;padding:8px 18px;font-size:11px;line-height:1.5;color:#627168;background:#f4f6ef;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.sh-messages{padding:17px 16px 10px;scroll-behavior:smooth}.sh-message{line-height:1.8;background:#f0f4ed;border:1px solid #e4e9df;margin-right:18px;box-shadow:0 1px 2px #20352b03}.sh-message p{margin:0}.sh-message-user{background:#eaf0f5;border-color:#e0e8ee;margin-right:0;margin-left:38px}.sh-welcome{margin-right:0;background:#fff;border-color:#e8e9e0;padding:17px 15px}.sh-welcome h3{font-size:19px;line-height:1.45;color:#223d58;margin:0 0 8px}.sh-welcome>p{font-size:13px;color:#607166;margin-bottom:16px}.sh-quick-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sh-quick-grid button{display:flex;gap:8px;align-items:flex-start;text-align:left;background:#faf9f4;color:#294a3a;border:1px solid #e7e4d9;padding:11px 9px;border-radius:10px;font:inherit;font-size:13px;font-weight:600;line-height:1.5;cursor:pointer;min-height:75px}.sh-quick-grid button:hover{border-color:#c4ae77;background:#fff9e9}.sh-quick-grid .sh-icon{font-size:21px}.sh-quick-grid small{display:block;font-size:10px;font-weight:400;line-height:1.5;color:#7c8277;margin-top:4px}.sh-topic-list{display:grid;gap:7px;margin-top:12px}.sh-topic-list button{display:flex;align-items:center;gap:8px;justify-content:space-between;font:inherit;font-size:12px;text-align:left;border:1px solid #d5dfd0;background:#fff;color:#315e4c;padding:9px 10px;border-radius:8px;cursor:pointer;line-height:1.6}.sh-topic-list button:hover{background:#fff9eb;border-color:#c4ae77}.sh-option-arrow{flex:none;color:#a88b4e;font-size:20px}.sh-chat-actions{padding:0 17px 8px;display:block;max-height:none}.sh-chat-actions>button{font-size:11px;border:0;background:none;color:#6d776c;padding:3px;min-height:28px;text-decoration:underline;text-underline-offset:3px}.sh-chat-input{padding:10px 15px;background:#fff;border-top:1px solid #e1e6de}.sh-chat-input input{border-radius:9px;background:#fafbf8;border-color:#d4dcd0;font-size:13px;padding:10px 11px}.sh-chat-input button{font-size:13px;border-radius:9px;padding:9px 15px}.sh-chat-footer{background:#fff;font-size:11px;padding:1px 16px 8px;gap:10px}.sh-chat-footer a,.sh-chat-footer button{text-decoration:none;font-weight:500;color:#315e4c;line-height:1.6}.sh-chat-footer a:hover,.sh-chat-footer button:hover{text-decoration:underline}.sh-chat-note{background:#fff;font-size:10px;color:#969c90;padding:0 16px 10px;text-align:center}.sh-message-source{font-size:12px;font-weight:500}.sh-handoff[hidden],.sh-messages[hidden],.sh-chat-input[hidden],.sh-chat-actions[hidden]{display:none!important}.sh-handoff{display:flex;flex-direction:column;flex:1;min-height:0;background:#fff}.sh-back{align-self:flex-start;margin:10px 16px 0;border:0;background:none;font:inherit;font-size:12px;color:#315e4c;cursor:pointer}.sh-handoff-intro{padding:9px 17px 12px}.sh-handoff-intro h3{margin:0 0 6px;font-size:18px;color:#223d58}.sh-handoff-intro p{font-size:12px;line-height:1.7;margin:0;color:#647168}.sh-handoff-frame{width:100%;flex:1;min-height:150px;height:auto;border:0;border-radius:0;background:#f7f7f3;margin:0}.sh-handoff-external{display:block;text-align:center;font-size:12px;color:#315e4c;padding:10px;background:#fff}.sh-is-handoff .sh-chat-footer{border-top:1px solid #e4e8df;padding-top:8px}.sh-is-handoff .sh-chat-footer button{visibility:hidden}
@media(max-width:700px){.sh-launcher{right:14px;bottom:max(14px,env(safe-area-inset-bottom));padding:8px 14px 8px 8px;gap:8px}.sh-launch-copy small{display:none}.sh-launcher>.sh-icon{width:29px;height:29px;font-size:18px}.sh-launch-copy strong{font-size:12px}.sh-dialog{inset:auto 10px 10px 10px;width:auto;height:680px;max-height:calc(100dvh - 20px)}.sh-chat-head{padding:12px 15px}.sh-chat-head h2{font-size:17px}.sh-chat-input input{font-size:16px}.sh-quick-grid button{font-size:13px}.sh-quick-grid small{font-size:11px}.sh-messages{scroll-behavior:auto}}
@media(prefers-reduced-motion:reduce){.sh-launcher{transition:none}.sh-messages{scroll-behavior:auto}}
@media print{.sh-launcher,.sh-dialog{display:none!important}}
/* Keep legacy lesson-page button rules from stretching the helper controls. */
.sh-launcher{width:auto;max-width:calc(100vw - 28px);min-width:0;letter-spacing:normal;text-transform:none}.sh-dialog button{width:auto;letter-spacing:normal;text-transform:none}.sh-quick-grid button{width:100%}.sh-topic-list button{width:100%}
.sh-message .sh-answer-context{font-size:12px;color:#687666;margin-bottom:8px;line-height:1.6}.sh-message .sh-topic-list{white-space:normal}
/* Expand the same conversation without losing the draft or current answer. */
.sh-chat-head .sh-expand,.sh-chat-head .sh-separate{display:inline-flex;align-items:center;justify-content:center;flex:none;width:34px;height:36px;border:0;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:21px;text-decoration:none;cursor:pointer;padding:0}.sh-chat-head .sh-expand:hover,.sh-chat-head .sh-separate:hover{background:#ffffff20}.sh-chat-head .sh-title-block{min-width:0}.sh-chat-head .sh-close{margin-left:0}
.sh-dialog.sh-fullscreen{inset:0!important;margin:0!important;width:100vw!important;max-width:none!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}.sh-fullscreen .sh-messages,.sh-fullscreen .sh-chat-input,.sh-fullscreen .sh-chat-actions{padding-inline:max(20px,calc((100vw - 940px)/2))}.sh-fullscreen .sh-message{max-width:850px}.sh-fullscreen .sh-chat-input input{font-size:16px}.sh-fullscreen .sh-messages{font-size:16px}.sh-fullscreen .sh-quick-grid button,.sh-fullscreen .sh-topic-list button{font-size:15px}.sh-fullscreen .sh-chat-note{font-size:12px}
@media(max-width:420px){.sh-chat-head{gap:6px}.sh-chat-head .sh-seal{width:30px;height:30px}.sh-chat-head h2{font-size:16px}.sh-chat-head .sh-expand,.sh-chat-head .sh-separate,.sh-chat-head .sh-close{width:30px}}
