/* v87 TEST: an ordinary homepage with a contained, interactive solar system. */
body.home87-enabled.portal-visible{overflow:auto!important;background:var(--ws-bg)}
body.home87-enabled #intro-home{position:relative!important;inset:auto!important;z-index:auto!important;min-height:100dvh!important;height:auto!important;overflow:visible!important;padding:0!important;margin:0!important;background:var(--ws-bg,#f2f5f8)!important;--portal-blue:var(--ws-accent,#3b638b);--portal-ink:var(--ws-text,#25364c);--portal-muted:var(--ws-muted,#7a899b);--portal-line:var(--ws-line,#dfe6ee)}
body.home87-enabled #intro-home>.portal-nav:not(#stellar-root){display:flex!important}
body.home87-enabled #intro-home>.portal-hero:not(#stellar-root){display:grid!important}
body.home87-enabled #intro-home>.portal-resources:not(#stellar-root),body.home87-enabled #intro-home>.portal-about:not(#stellar-root){display:block!important}
.home87-enabled #intro-home .portal-nav{height:88px;padding:0 max(32px,calc((100vw - 1260px)/2));border-bottom:1px solid var(--portal-line);background:var(--ws-panel,#fff)}
.home87-enabled #intro-home .portal-nav nav{gap:24px}.home87-enabled #intro-home .portal-nav button{font-size:13px!important;font-weight:400!important;padding:10px 2px}
.home87-enabled #intro-home .portal-brand{gap:11px}.home87-enabled #intro-home .portal-brand img{width:43px;height:43px;object-fit:contain;border-radius:0}.home87-enabled #intro-home .portal-brand strong{font-size:25px;font-weight:650;letter-spacing:-1px}
.home87-enabled #intro-home #account-button{border:1px solid var(--portal-line);border-radius:10px;padding:10px 16px;background:var(--ws-bg);font-size:12px!important}
body:not(.light).home87-enabled #intro-home #account-button{background:var(--ws-panel);color:var(--ws-text);border-color:var(--ws-line)}
.home87-enabled #intro-home .portal-hero{width:min(1260px,calc(100% - 64px));grid-template-columns:minmax(0,.88fr) minmax(0,1.12fr);gap:64px;min-height:520px;padding:52px 0 48px;align-items:center;margin:auto}
.home87-enabled #intro-home .portal-hero-copy{padding:12px 0;max-width:none;width:auto;order:0}
.home87-enabled #intro-home .hero-coordinate{display:block;font:10px/1.5 system-ui;letter-spacing:2.2px;color:var(--portal-muted);margin-bottom:23px}
.home87-enabled #intro-home .portal-hero h1{font:650 clamp(44px,4.4vw,65px)/1.2 system-ui,'Microsoft YaHei',sans-serif;letter-spacing:-2.5px;color:var(--portal-ink);margin:0}
.home87-enabled #intro-home .portal-hero h1 em{color:var(--portal-blue);font-style:normal;font-weight:inherit}
.home87-enabled #intro-home .portal-hero-copy>p{font-size:14px;line-height:1.8;white-space:normal;letter-spacing:.5px;color:var(--portal-muted);margin:22px 0 0}
.home87-enabled #intro-home .portal-actions{margin-top:32px;gap:20px;flex-wrap:wrap}
.home87-enabled #intro-home .portal-primary{min-width:0;height:48px;padding:0 21px;font-size:13px!important;gap:28px;background:var(--ws-accent,#3b638b);border-color:var(--ws-accent,#3b638b);color:var(--ws-panel,#fff);border-radius:10px}
.home87-enabled #intro-home .portal-text{font-size:12px!important;border:0;background:none;padding:12px 0;color:var(--portal-muted);gap:9px}
.home87-enabled #intro-home .home87-solar{position:relative;inset:auto;order:1;width:100%;height:420px;margin:0;border-radius:24px;overflow:hidden;isolation:isolate;background:#030610;box-shadow:0 18px 45px #0d1b3017;border:1px solid #8292aa30;contain:layout paint}
.home87-enabled #intro-home .home87-solar{mask-image:none;-webkit-mask-image:none;opacity:1;pointer-events:auto}
.home87-enabled #intro-home .home87-solar:before,.home87-enabled #intro-home .home87-solar:after{display:none}
.home87-solar #stellar-root{position:absolute;inset:0;width:100%;height:100%;border-radius:inherit}
.home87-solar .stellar-brand,.home87-solar .stellar-copy{display:none!important}
.home87-enabled #intro-home #stellar-enter{font-size:10px!important;min-height:34px;padding:7px 12px;gap:4px;background:#091423a8;color:#e7d4b2;border-color:#dcc08a55;border-radius:22px}
.home87-enabled #intro-home .stellar-planet-label{font-size:9px!important;padding:4px 6px;min-height:26px}
.home87-motion{position:absolute;z-index:8;top:14px;right:14px;display:grid;place-items:center;width:32px;height:32px;color:#d7e3f2;border:1px solid #c8dcff40;border-radius:50%;background:#07152388;cursor:pointer;font:12px system-ui!important}
.home87-enabled #intro-home .portal-resources{width:min(1260px,calc(100% - 64px));padding:16px 0 64px;margin:0 auto}
.home87-enabled #intro-home .resource-heading{margin:0 0 22px;padding:0;display:flex;align-items:center}
.home87-enabled #intro-home .resource-heading h2{font-size:20px;letter-spacing:0;font-weight:600;margin:0;color:var(--portal-ink)}
.home87-directions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.home87-enabled #intro-home .resource-console{display:none!important}
.home87-enabled #intro-home .home87-directions button{display:flex;align-items:center;gap:17px;text-align:left;background:var(--ws-panel,#fff);border:1px solid var(--portal-line);border-radius:15px;padding:22px 23px;color:var(--portal-ink);min-width:0;min-height:104px;transition:transform .18s,border-color .18s,box-shadow .18s}
.home87-enabled #intro-home .home87-directions button:hover{transform:translateY(-3px);border-color:#7697b3;box-shadow:0 8px 22px #1a355a08}
.home87-subject-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border-radius:12px;background:var(--ws-soft,#edf2f7);color:var(--portal-blue)}
.home87-subject-icon svg{width:26px;height:26px}.home87-directions small{display:block;font:10px/1.5 system-ui;color:var(--portal-muted);margin-bottom:4px}
.home87-directions strong{display:block;font:500 15px/1.5 system-ui}.home87-card-arrow{margin-left:auto;width:17px;height:17px;flex:none;color:var(--portal-muted)}
.home87-enabled #intro-home .portal-about{border-color:var(--portal-line);padding:22px 0;background:none}.home87-enabled #intro-home .portal-about>div{width:min(1260px,calc(100% - 64px))}
/* The writer always gets its entire pane; the assistant is a left-column block. */
.workspace-ui .focus-writing.ai66-writing{display:flex!important;grid-template-rows:none!important}
.workspace-ui .focus-reference-body .ai66-chat{display:flex;flex-direction:column;flex:none;min-height:300px;height:clamp(320px,48dvh,530px);max-height:none;margin:12px 0 20px;border:1px solid var(--ai-line);border-radius:12px;overflow:hidden;box-shadow:0 4px 18px #20354b05}
.workspace-ui .focus-reference-body .ai66-chat-head{position:static;min-height:43px;height:auto;flex:0 0 43px}
.workspace-ui .focus-reference-body .ai66-messages{flex:1;min-height:0;padding:12px 14px;overflow:auto;overflow-wrap:anywhere;scrollbar-gutter:auto}
.workspace-ui .focus-reference-body .ai66-chat-form{position:static;flex:none;min-height:70px;align-items:center}
.workspace-ui .focus-reference-body .ai66-rich{font-size:13px}.workspace-ui .focus-reference-body .ai66-chat .ai70-web-answer{max-width:100%;min-width:0}
.workspace-ui .focus-reference-body .ai66-chat .ai70-web-answer svg{max-width:100%}
#ai87-launcher{min-height:39px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border:1px solid var(--ws-line,#dce5ed);border-radius:8px;padding:8px 13px;background:var(--ws-soft,#edf2f7);color:var(--ws-accent,#3b638b);font:11px/1.4 system-ui;cursor:pointer}
#ai87-launcher.selected{border-color:var(--ws-accent);box-shadow:inset 0 0 0 1px var(--ws-accent)}
.answer-switch:has(#ai87-launcher){display:flex;gap:8px;flex-wrap:wrap;align-items:center}.ai87-actions{display:flex;align-items:center;gap:8px;margin:18px 0 12px}
.workspace-ui .focus-reference-body:has(.english-reading-workspace):has(.ai66-chat){overflow:auto!important}
.workspace-ui .focus-reference-body:has(.ai66-chat)>.english-reading-workspace{flex:0 0 auto;overflow:visible!important;min-height:170px!important;max-height:none!important}
.workspace-ui .focus-reference-body:has(.ai66-chat) .english-reading-workspace .english-passage{flex:none!important;max-height:none!important}
.workspace-ui .focus-reference-body:has(.ai66-chat) .english-reading-workspace .english-answer-pane{flex:none!important;max-height:none!important;overflow:visible!important}
@media(max-width:1050px){.home87-enabled #intro-home .portal-hero{gap:30px;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);min-height:440px}.home87-enabled #intro-home .home87-solar{height:340px}.home87-directions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.home87-enabled #intro-home .portal-nav{height:70px;padding:0 20px}.home87-enabled #intro-home .portal-nav nav{gap:12px}.home87-enabled #intro-home .portal-brand strong{font-size:22px}.home87-enabled #intro-home .portal-brand img{width:34px;height:34px}.home87-enabled #intro-home #account-button{padding:8px 10px;font-size:10px!important}.home87-enabled #intro-home .portal-hero{width:calc(100% - 40px);grid-template-columns:1fr;gap:24px;padding:35px 0 30px;min-height:0}.home87-enabled #intro-home .hero-coordinate{font-size:8px;margin-bottom:17px}.home87-enabled #intro-home .portal-hero h1{font-size:44px;letter-spacing:-1.5px}.home87-enabled #intro-home .portal-hero-copy>p{font-size:12px;margin-top:18px}.home87-enabled #intro-home .portal-actions{margin-top:22px}.home87-enabled #intro-home .home87-solar{height:290px;border-radius:18px}.home87-enabled #intro-home .portal-resources{width:calc(100% - 40px);padding:8px 0 36px}.home87-enabled #intro-home .resource-heading h2{font-size:18px}.home87-directions{gap:10px}.home87-enabled #intro-home .home87-directions button{padding:16px 12px;gap:10px;min-height:100px;align-items:flex-start;position:relative}.home87-subject-icon{width:32px;height:32px;border-radius:9px}.home87-subject-icon svg{width:22px;height:22px}.home87-directions strong{font-size:12px}.home87-card-arrow{position:absolute;bottom:13px;right:12px;width:13px}.home87-enabled #intro-home .portal-about>div{width:calc(100% - 40px)}.workspace-ui .focus-reference-body .ai66-chat{height:370px;min-height:300px;margin:10px 0}.workspace-ui .focus-reference-body:has(.ai66-chat){overflow:auto!important}.workspace-ui .focus-reference-body .ai66-chat-head{flex-basis:38px}.workspace-ui .focus-reference-body .ai66-chat-form{min-height:63px}.workspace-ui .focus-reference-body .ai66-rich{font-size:12px}}
@media(prefers-reduced-motion:reduce){.home87-enabled #intro-home .home87-directions button{transition:none;transform:none}}
