.edu .edu-guide-open{display:inline-flex;align-items:center;justify-content:space-between;gap:24px;border:0;background:var(--edu-ink);color:var(--edu-paper);padding:15px 22px;min-height:48px;border-radius:30px;font-size:13px}
.edu .edu-guide-float{position:fixed;right:24px;bottom:24px;z-index:900;background:#ff592c;color:#151815;box-shadow:0 4px 20px #0002;padding:12px 18px;gap:12px}.edu-guide-float>span{font-size:10px;border-right:1px solid;padding-right:12px;font-weight:700;letter-spacing:.05em}.edu-guide-float svg{width:20px}
html:has(.edu-guide-dialog[open]){overflow:hidden;scrollbar-gutter:stable}.edu:has(.edu-guide-dialog[open]) .edu-guide-float{opacity:0;pointer-events:none}
.edu-guide-dialog{position:fixed;inset:0;padding:0;margin:auto;width:min(490px,calc(100vw - 32px));height:min(740px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);max-width:none;border:1px solid #c8c7bf;background:var(--edu-paper);color:var(--edu-ink);border-radius:4px;box-shadow:0 18px 70px #0003;overflow:hidden}.edu-guide-dialog::backdrop{background:#111b}
.edu-guide-shell{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;height:100%;min-height:0}.edu-guide-shell>*{min-width:0}.edu-guide-input-row textarea{width:0}
.edu-guide-head{padding:24px;display:flex;align-items:start;justify-content:space-between;gap:12px;border-bottom:1px solid var(--edu-line);background:var(--edu-ink);color:var(--edu-paper)}.edu-guide-head>div>span{font-size:9px;letter-spacing:.1em;color:#ff9a74}.edu-guide-head h2{font-size:25px;line-height:1.4;margin-top:9px!important;font-weight:500;letter-spacing:-.04em}
.edu .edu-guide-close{border:1px solid #657066;background:transparent;width:44px;height:44px;flex-shrink:0;display:grid;place-items:center;padding:8px}.edu-guide-dialog button:focus-visible,.edu-guide-dialog a:focus-visible{outline:2px solid #ff8d67;outline-offset:2px}
.edu-guide-scroll{overflow-y:auto;overscroll-behavior:contain;padding:22px;min-height:0;scroll-behavior:auto}.edu-guide-scroll>p{font-size:12px;line-height:1.85}.edu-guide-state{margin-top:14px!important;color:#62665e;border-left:2px solid #cc441d;padding-left:10px}.edu-guide-log{display:grid;gap:14px;margin-top:22px}.edu-guide-message{padding:14px 16px;background:#e7e4db;font-size:13px;line-height:1.85;white-space:pre-wrap;overflow-wrap:anywhere;border-radius:2px}.edu-guide-message[data-role=user]{background:#26362b;color:#fff6e8;margin-left:30px}.edu-guide-message[data-role=assistant]{margin-right:12px}.edu-guide-message>span{display:block;font-size:9px;letter-spacing:.08em;opacity:.75;margin-bottom:5px}.edu-guide-error{border-left:2px solid #c23816;background:#fae4d9}
.edu-guide-card-links{display:grid;gap:6px;margin-top:12px}.edu-guide-card-links a{padding:9px 0;min-height:44px;border-top:1px solid #aaa99f;text-decoration:underline;font-size:12px;text-underline-offset:4px}
.edu-guide-suggestions{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}.edu-guide-suggestions button{background:transparent;border:1px solid #b3b7ac;border-radius:22px;padding:10px 13px;font-size:12px;min-height:44px}
.edu-guide-form{border-top:1px solid var(--edu-line);padding:17px 22px 15px;background:var(--edu-paper)}.edu-guide-form label{display:block;font-size:11px;margin-bottom:8px}.edu-guide-input-row{display:flex;gap:9px;align-items:stretch}.edu-guide-input-row textarea{font:16px/1.45 Arial,"PingFang TC",sans-serif;border:1px solid #9caa9e;color:#151815;background:#fffdf7;min-width:0;flex:1;resize:none;padding:10px;border-radius:0}.edu-guide-input-row textarea:focus-visible{outline:2px solid #b5330e;outline-offset:1px}.edu .edu-guide-send{background:#ff592c;color:#151815;border:0;padding:12px 14px;font-size:12px;display:flex;align-items:center;justify-content:center;gap:6px;min-width:70px}.edu-guide-send svg{width:18px}.edu-guide-dialog button:disabled{opacity:.5;cursor:not-allowed}
.edu-guide-tools{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-top:5px;font-size:11px}.edu-guide-tools button{padding:10px 0;background:transparent;border:0;font-size:11px;min-height:44px}.edu-guide-tools a{margin-left:auto;text-decoration:underline;text-underline-offset:3px;min-height:44px;display:flex;align-items:center}.edu-guide-privacy{font-size:10px!important;line-height:1.7;color:#696e63}.edu-guide-cancel[hidden]{display:none}
@media(max-width:700px){.edu .edu-guide-float{right:14px;bottom:max(14px,env(safe-area-inset-bottom));font-size:12px;padding:11px 15px}.edu-guide-dialog{width:calc(100vw - 20px);height:calc(100dvh - 20px);max-height:calc(100dvh - 20px)}.edu-guide-head{padding:17px}.edu-guide-head h2{font-size:23px}.edu-guide-scroll{padding:18px}.edu-guide-form{padding:13px 16px max(12px,env(safe-area-inset-bottom))}.edu-guide-message{font-size:13px}.edu-guide-send svg{display:none}.edu-guide-input-row textarea{padding:9px}.edu-guide-head>div>span{font-size:8px}}
@media(max-height:550px){.edu-guide-dialog{height:calc(100dvh - 12px);max-height:calc(100dvh - 12px)}.edu-guide-head{padding:8px 16px;align-items:center}.edu-guide-head h2{font-size:18px;margin-top:0!important}.edu-guide-head>div>span{display:none}.edu-guide-form{padding:8px 16px}.edu-guide-privacy{max-height:35px;overflow:auto}.edu-guide-tools{margin-top:0}.edu-guide-form label{margin-bottom:4px}}

/* Study 08: one-click persistent course guide */
.edu .edu-ai-direct{padding-top:22px}.edu .edu-ai-direct .edu-guide-open{font-size:15px;min-height:48px}
.edu .edu-guide-float{right:24px;bottom:calc(24px + env(safe-area-inset-bottom,0px));display:inline-flex;gap:10px;min-height:52px;padding:12px 18px;border:1px solid #151815;border-radius:999px;font-size:15px;font-weight:600;line-height:1.4;background:#ff592c;color:#151815;box-shadow:0 4px 20px #0002;cursor:pointer}
.edu .edu-guide-float>span{border:0;padding:0;font-size:inherit;letter-spacing:0}.edu .edu-guide-float .edu-guide-float-ai{font-size:10px;letter-spacing:.04em;border-left:1px solid #15181566;padding-left:9px}.edu .edu-guide-float svg{width:22px;height:22px;stroke:currentColor;stroke-width:1.5;fill:none;flex:none}
.edu .edu-guide-float:hover{background:#ff724b;color:#151815}.edu .edu-guide-float:focus-visible{outline:2px solid #151815;outline-offset:4px}body:has(#omo-global-menu[open]) .edu-guide-float{visibility:hidden}
@media(max-width:700px){.edu .edu-guide-float{right:14px;bottom:calc(16px + env(safe-area-inset-bottom,0px));min-height:48px;padding:11px 14px;font-size:14px;gap:8px}.edu .edu-guide-float svg{width:20px;height:20px}.edu .edu-guide-float .edu-guide-float-ai{display:none}}

.edu .edu-guide-float{font-size:14px;gap:8px;padding:12px 14px}.edu .edu-guide-float .edu-guide-float-ai{display:none}.edu .edu-guide-float svg{width:20px;height:20px}

.edu-guide-reference{font-size:11px!important;color:#5c655a;overflow-wrap:anywhere;letter-spacing:.02em;margin-top:12px!important}
