/* Refined consultation dock. Existing knowledge and delivery endpoints are retained. */
.sh-dock{position:fixed;right:20px;bottom:20px;z-index:80;display:flex;align-items:center;gap:0;padding:5px;background:#fff;border-radius:12px;box-shadow:0 6px 26px #142d4926;border:1px solid #eef0f3;max-width:calc(100vw - 32px);box-sizing:border-box;font-family:var(--ls-sans,'Noto Sans SC',sans-serif)}.sh-dock .sh-launcher{position:static;border:0;border-radius:8px;box-shadow:none;background:white;color:#18334f;min-height:54px;padding:0 10px 0 0;gap:8px;transform:none;max-width:none}.sh-dock .sh-launcher>.sh-icon{width:48px;height:48px;background:none}.sh-launcher>.sh-icon img{width:48px;height:48px;display:block}.sh-dock .sh-launch-copy strong{font-size:14px;color:#18334f}.sh-dock .sh-launch-copy small{display:none}.sh-dock button.sh-dock-faq,.sh-dock button.sh-dock-teacher{border:0;border-radius:6px;margin:0;min-height:52px;padding:12px 17px;font:600 16px/1.5 var(--ls-sans,sans-serif);cursor:pointer;width:auto;box-sizing:border-box;white-space:normal}.sh-dock button.sh-dock-faq{background:#18334f;color:#fff}.sh-dock button.sh-dock-teacher{background:#ffda72;color:#18334f;margin-left:4px}.sh-dock button:hover{filter:brightness(.96)}.sh-dock.sh-dock-open{padding:0;border:0;background:transparent;box-shadow:none}.sh-dock-open .sh-launch-copy,.sh-dock-open .sh-dock-faq,.sh-dock-open .sh-dock-teacher{display:none!important}.sh-dock.sh-dock-open .sh-launcher{padding:0;background:transparent}.sh-dialog{inset:auto 20px 95px auto;width:420px;max-width:calc(100vw - 32px);height:650px;max-height:calc(100dvh - 120px);border-radius:12px;border:1px solid #dce2e9;background:#fff;color:#18334f;font:400 16px/1.65 var(--ls-sans,'Noto Sans SC',sans-serif);box-shadow:0 15px 55px #172e4933;z-index:81}.sh-dialog[open]{display:flex}.sh-chat-head{background:#18334f;color:white;border:0;padding:18px;gap:10px;flex:none}.sh-chat-head .sh-seal{border:0;background:none;border-radius:0;box-shadow:none;width:45px;height:45px;padding:0}.sh-chat-head h2{font:600 21px/1.4 var(--ls-serif,'Noto Serif SC','Songti SC',serif);color:white;margin:0}.sh-chat-head .sh-title-block small{display:block;color:#d5dfeb;font-size:12px;letter-spacing:0;margin-top:3px}.sh-chat-head .sh-close{color:white;font-size:28px;min-height:40px}.sh-chat-head .sh-expand,.sh-chat-head .sh-separate{color:#fff;width:27px;font-size:20px}.sh-view-tabs{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:5px;border-bottom:1px solid #e3e8ee;background:#fff;flex:none}.sh-view-tabs>button{min-height:54px;padding:10px 8px;border:0;border-radius:4px;font:600 17px/1.45 var(--ls-sans,sans-serif);cursor:pointer;color:#18334f;background:#f0f3f6;width:100%}.sh-view-tabs>button:last-child{background:#ffe7a3}.sh-view-tabs>button[aria-pressed=true]{background:#18334f;color:#fff}.sh-view-tabs>button:last-child[aria-pressed=true]{background:#ffda72;color:#18334f}.sh-messages{padding:18px;min-height:100px;overflow:auto;flex:1;background:white}.sh-message{background:#f0f3f6;border:0;border-radius:8px;font-size:15px;line-height:1.8;color:#253e58}.sh-message-user{background:#fff4d4}.sh-welcome{padding:0;background:none;margin:0}.sh-welcome h3{font-size:20px;color:#18334f;margin-bottom:7px}.sh-welcome>p{font-size:14px;color:#697785;margin-bottom:16px}.sh-quick-grid{grid-template-columns:1fr;gap:9px}.sh-quick-grid button{background:white;border:1px solid #d6dee7;border-radius:6px;color:#18334f;font-size:16px;align-items:center;min-height:55px;padding:11px 13px}.sh-quick-grid button:last-child{display:none}.sh-quick-grid small{font-size:12px;color:#6b7986;margin-top:2px}.sh-topic-list button{color:#18334f;font-size:15px;min-height:44px}.sh-chat-input{flex:none;background:#fff;padding:12px 16px;border-color:#e0e6ec}.sh-chat-input input{background:#fff;border-color:#d4dce5;border-radius:5px;font-size:16px;min-height:44px;box-sizing:border-box}.sh-chat-input button{border-radius:5px;font-size:15px;background:#18334f}.sh-chat-actions{flex:none;padding:4px 18px}.sh-chat-actions>button{font-size:13px;color:#586d80}.sh-chat-footer{display:none!important}.sh-message-source{font-size:14px;color:#8e2c36}.sh-handoff{flex:1;min-height:0;overflow:auto}.sh-handoff-intro{padding:18px 20px 10px}.sh-handoff-intro h3{font-size:21px;color:#18334f}.sh-handoff-intro p{font-size:14px;color:#687785;line-height:1.6}.sh-handoff .ui-enquiry-form{padding:0 20px 20px;display:grid;gap:14px;margin:0}.sh-handoff .ui-form-row{display:block}.sh-handoff label{font-size:14px;color:#18334f;font-weight:500;display:block;line-height:1.5}.sh-handoff input:not([type=hidden]),.sh-handoff select,.sh-handoff textarea{display:block;box-sizing:border-box;width:100%;padding:9px 11px;border:1px solid #cbd5df;border-radius:4px;background:white;color:#18334f;font:400 16px/1.5 var(--ls-sans,sans-serif);margin-top:6px}.sh-handoff select{min-height:44px}.sh-handoff textarea{min-height:86px;resize:vertical}.sh-handoff .ui-form-end{display:flex;flex-direction:column-reverse;align-items:stretch;gap:10px}.sh-handoff .ui-form-end>span{font-size:12px;color:#6a7785}.sh-handoff button[type=submit]{width:100%;border:0;border-radius:5px;background:#ffda72;color:#18334f;min-height:48px;font-size:17px;font-weight:600;padding:10px}.sh-handoff .ui-form-end button:disabled{opacity:.65}.sh-handoff [data-enquiry-status]{font-size:14px;margin:0;color:#365c48}.sh-handoff [data-enquiry-status][data-error=true]{color:#a12d34}.sh-handoff-loading{padding:20px;font-size:15px}.sh-handoff-external{font-size:16px}.sh-handoff .eq-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sh-dialog :focus-visible,.sh-dock :focus-visible{outline:3px solid #bd9130;outline-offset:3px}.sh-dialog.sh-fullscreen .sh-messages{font-size:16px}.sh-dialog.sh-fullscreen .sh-handoff{width:100%;max-width:760px;margin-inline:auto}
@media(max-width:650px){.sh-dock{right:10px;bottom:max(10px,env(safe-area-inset-bottom));max-width:calc(100vw - 20px);padding:4px}.sh-dock .sh-launch-copy{display:none}.sh-dock .sh-launcher{padding-right:5px;min-height:48px}.sh-dock .sh-launcher>.sh-icon,.sh-launcher>.sh-icon img{width:42px;height:42px}.sh-dock button.sh-dock-faq,.sh-dock button.sh-dock-teacher{font-size:14px;padding:10px;min-height:46px}.sh-dialog{inset:auto 10px 76px 10px;margin:0;width:auto;max-width:none;height:650px;max-height:calc(100dvh - 94px)}.sh-chat-head{padding:12px 14px}.sh-chat-head h2{font-size:19px}.sh-chat-head .sh-seal{width:38px;height:38px}.sh-chat-head .sh-title-block small{font-size:11px}.sh-chat-head .sh-expand,.sh-chat-head .sh-separate{display:none}.sh-view-tabs>button{font-size:16px;min-height:49px}.sh-messages{padding:15px}.sh-welcome h3{font-size:19px}.sh-handoff-intro{padding:13px 16px 8px}.sh-handoff-intro h3{font-size:20px}.sh-handoff .ui-enquiry-form{padding:0 16px 15px;gap:11px}.sh-handoff input:not([type=hidden]),.sh-handoff select,.sh-handoff textarea{padding:8px 10px}.sh-handoff textarea{min-height:72px}}
@media print{.sh-dock,.sh-dialog{display:none!important}}
.sh-dialog{height:700px}.sh-handoff .ui-enquiry-form textarea{min-height:86px}.sh-handoff .ui-enquiry-form .ui-form-end>span{line-height:1.5}.sh-handoff .ui-enquiry-form label{margin:0}.sh-handoff .ui-enquiry-form .ui-form-row{margin:0}
@media(max-width:650px){.sh-dialog{height:680px}.sh-handoff-intro p{font-size:13px}.sh-handoff .ui-enquiry-form textarea{min-height:72px}}
/* A single, familiar chatbot entry; FAQ and teacher contact live inside the same window. */
.sh-dock{padding:0;border:0;border-radius:30px;background:#18334f;box-shadow:0 5px 22px #18334f29}.sh-dock .sh-launcher{background:#18334f;color:#fff;padding:7px 17px 7px 8px;border-radius:30px;min-height:54px;gap:8px}.sh-dock .sh-launch-copy strong{color:#fff;font-size:15px}.sh-dock .sh-launch-copy{display:flex}.sh-dock .sh-launcher>.sh-icon,.sh-launcher>.sh-icon img{width:38px;height:38px}.sh-dock-open .sh-launcher{padding:0!important}.sh-dock-open .sh-launcher>.sh-icon,.sh-dock-open .sh-launcher>.sh-icon img{width:49px;height:49px}.sh-dock-open .sh-launch-copy{display:none!important}.sh-message .sh-message-source{float:right;display:inline;margin:0 0 0 12px;font-size:12px;line-height:2.25;color:#73818d;font-weight:400;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}.sh-message p:has(.sh-message-source)::after{content:'';display:table;clear:both}
@media(max-width:650px){.sh-dock .sh-launch-copy{display:flex}.sh-dock .sh-launch-copy strong{font-size:14px}.sh-dock .sh-launcher{padding:6px 14px 6px 6px;min-height:48px}.sh-dock .sh-launcher>.sh-icon,.sh-launcher>.sh-icon img{width:34px;height:34px}.sh-dock-open .sh-launcher>.sh-icon,.sh-dock-open .sh-launcher>.sh-icon img{width:45px;height:45px}}
/* A calm, readable topic picker, with the native topic value retained for mail routing. */
.sh-handoff .sh-topic-field{position:relative}.sh-topic-label{display:block;font:500 14px/1.5 var(--ls-sans,sans-serif);color:#18334f;margin-bottom:6px}.sh-topic-picker{position:relative;border:0;padding:0;margin:0}.sh-topic-picker>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;border:1px solid #ccd6e1;border-radius:6px;padding:11px 13px;min-height:48px;box-sizing:border-box;font:400 16px/1.5 var(--ls-sans,sans-serif);color:#18334f;background:#fff;cursor:pointer}.sh-topic-picker>summary::-webkit-details-marker{display:none}.sh-topic-picker[open]>summary{border-color:#a18954;box-shadow:0 0 0 2px #d9bd7524}.sh-topic-chevron{color:#708193;font-size:21px;line-height:1;flex:none}.sh-topic-options{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:5;margin:0;padding:6px;border:1px solid #d8e0e8;border-radius:8px;background:#fff;box-shadow:0 10px 30px #18334f24;min-width:0}.sh-picker-legend{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.sh-handoff .sh-topic-option{display:flex;align-items:center;gap:10px;padding:10px 11px;min-height:44px;box-sizing:border-box;cursor:pointer;border-radius:5px;font:400 15px/1.5 var(--ls-sans,sans-serif);color:#284158;position:relative}.sh-handoff .sh-topic-option:has(input:checked){background:#edf2f7;color:#18334f;font-weight:600}.sh-handoff .sh-topic-option:hover{background:#f3f6f9}.sh-handoff .sh-topic-option input{position:absolute;opacity:0;inset:0;width:100%;height:100%;margin:0;cursor:pointer}.sh-topic-option .sh-icon{font-size:19px;flex:none}.sh-topic-option:has(input:focus-visible){outline:2px solid #b48c37;outline-offset:1px}.sh-handoff .sh-topic-field>select[hidden]{display:none!important}.sh-handoff .ui-form-end{margin-top:2px}.sh-handoff .ui-form-end button{font-size:16px!important}.sh-handoff .ui-enquiry-form textarea{min-height:110px}.sh-handoff .sh-topic-selected{overflow-wrap:anywhere}.sh-handoff input[type=email]{background:#fffdf7;border-color:#c7d1dc}
@media(max-width:650px){.sh-topic-picker>summary{padding:10px 12px;min-height:46px}.sh-handoff .sh-topic-option{font-size:14px;min-height:43px}.sh-handoff .ui-enquiry-form textarea{min-height:90px}}
.sh-is-handoff .sh-chat-head{padding:13px 16px}.sh-is-handoff .sh-view-tabs>button{min-height:47px}.sh-is-handoff .sh-handoff-intro{padding:13px 18px 8px}.sh-is-handoff .sh-handoff-intro h3{font-size:19px;margin-bottom:4px}.sh-is-handoff .sh-handoff-intro p{font-size:13px;line-height:1.6}.sh-is-handoff .ui-enquiry-form{gap:11px;padding:0 18px 16px}.sh-is-handoff .ui-enquiry-form textarea{min-height:90px}.sh-is-handoff .ui-enquiry-form button[type=submit]{color:#18334f!important;min-height:45px}.sh-is-handoff .sh-topic-picker>summary{padding:9px 12px;min-height:45px}.sh-is-handoff .ui-enquiry-form input[type=email]{min-height:43px;padding:8px 11px}.sh-is-handoff .ui-enquiry-form .ui-preview-status:empty{display:none}.sh-topic-options label>span{color:#284158!important}.sh-topic-options .sh-icon{font-size:19px!important}
