/* One conversation canvas; the feature library opens only when requested. */
@media(min-width:1000px){
 html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai]:not([hidden]){width:calc(100% - 48px)!important;max-width:1920px!important;grid-template-columns:220px minmax(0,1fr)!important;margin:16px auto!important;min-height:calc(100dvh - 32px)!important;}
}
html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai]>.app-main{margin:0!important;width:100%!important;max-width:none!important;padding:28px clamp(20px,2.5vw,48px) 40px!important;}
html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-view=ai]>.page-header{width:100%!important;margin-bottom:22px!important;}
html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-ai-tier]{width:fit-content!important;max-width:100%;flex:0 0 auto!important;align-self:start;justify-self:start;padding:5px 12px!important;font-size:12px!important;}
html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-view=ai] .ai-tutor-layout:not([hidden]){display:grid!important;grid-template-columns:minmax(0,1fr) 260px!important;align-items:start!important;gap:24px!important;}
html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] .preview-coda-main{display:flex!important;flex-direction:column!important;gap:18px!important;min-width:0;}
html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] .preview-coda-sidebar{margin:0!important;gap:14px!important;}
[data-coda-workspace] .coda-workspace-showcase{--coda-accent:#4e54c8;--coda-soft:#efefff;--coda-on-accent:#fff;--coda-surface:#f7fcff;--coda-border:#d0ddef;--coda-muted:#53617c;--coda-text:#172646;min-width:0;color:var(--coda-text);}
html.theme-dark [data-coda-workspace] .coda-workspace-showcase{--coda-accent:#c5c3ff;--coda-soft:#363c66;--coda-on-accent:#182039;--coda-surface:#212c49;--coda-border:#647398;--coda-muted:#becbe4;--coda-text:#f1f4ff;}
.coda-workspace-intro{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:24px;}
.coda-workspace-intro>div{min-width:0;}
.coda-workspace-eyebrow{font-size:10px!important;font-weight:800;letter-spacing:.1em;line-height:1.6;color:var(--coda-accent);margin:0 0 10px;}
.coda-workspace-intro h2{font-size:clamp(24px,2.1vw,34px)!important;line-height:1.16;margin:0 0 9px;max-width:650px;}
.coda-workspace-intro>div>p:last-child{font-size:14px;line-height:1.6;color:var(--coda-muted);margin:0;}
.coda-workspace-talk,.coda-workspace-launch{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:11px 18px;border:1px solid var(--coda-border);border-radius:14px;background:var(--coda-surface);color:var(--coda-text);font:750 13px/1.5 Manrope,system-ui,sans-serif;cursor:pointer;text-decoration:none;}
.coda-workspace-talk{flex-shrink:0;}
.coda-workspace-launch{margin-top:16px;background:var(--coda-accent);color:var(--coda-on-accent);border-color:transparent;align-self:flex-start;}
.coda-workspace-stage{position:relative;border:1px solid var(--coda-border);border-radius:24px;background:linear-gradient(125deg,var(--coda-surface),var(--coda-soft));overflow:visible;}
.coda-workspace-slide{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:24px;align-items:center;min-height:360px;padding:32px 30px 46px;box-sizing:border-box;}
.coda-workspace-slide-copy{min-width:0;}
.coda-workspace-slide-copy h3{font-size:clamp(25px,2.1vw,38px)!important;line-height:1.12;margin:0 0 16px;max-width:340px;}
.coda-workspace-slide-copy>p:not(.coda-workspace-eyebrow){font-size:14px;line-height:1.8;color:var(--coda-muted);margin:0;max-width:370px;}
.coda-workspace-visual{position:relative;min-width:0;padding:8px 0 122px;}
.coda-workspace-visual-title{margin:0 0 14px;text-align:center;font-size:12px;font-weight:750;color:var(--coda-muted);}
.coda-workspace-example{position:relative;min-height:170px;box-sizing:border-box;padding:28px 16px 18px;background:var(--coda-surface);border:1px solid var(--coda-border);border-radius:16px;box-shadow:0 12px 24px #07145b0a;font-size:12px;}
.coda-workspace-example-label{position:absolute;top:10px;left:16px;color:var(--coda-muted);font-size:8px;font-weight:800;letter-spacing:.12em;}
.coda-workspace-week{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;}
.coda-workspace-week>div{display:flex;flex-direction:column;gap:7px;min-height:112px;border-right:1px solid var(--coda-border);padding-right:5px;}
.coda-workspace-week>div:last-child{border:0;padding-right:0;}
.coda-workspace-week strong{font-size:9px;margin-bottom:5px;color:var(--coda-muted);}
.coda-workspace-week span{padding:8px 2px;background:var(--coda-soft);border-radius:6px;text-align:center;font-size:9px;font-weight:750;overflow-wrap:anywhere;}
.coda-workspace-week .is-break{background:#c4f5e2;color:#124836;}
.coda-workspace-example--syllabus{display:flex;align-items:center;gap:10px;}
.coda-workspace-document{display:flex;flex:1;flex-direction:column;gap:10px;min-width:0;border:1px solid var(--coda-border);border-radius:8px;padding:12px 9px;transform:rotate(-3deg);background:var(--coda-surface);font-size:9px;}
.coda-workspace-document strong{font-size:11px;}
.coda-workspace-document span{padding-top:6px;border-top:1px solid var(--coda-border);}
.coda-workspace-checklist{display:flex;flex:1;flex-direction:column;gap:12px;font-size:10px;color:var(--coda-text);}
.coda-workspace-example-arrow{color:var(--coda-accent);font-size:21px;}
.coda-workspace-map{position:relative;min-height:130px;}
.coda-workspace-map:before,.coda-workspace-map:after{content:'';position:absolute;inset:31% 22%;border:1px solid var(--coda-border);transform:rotate(25deg);}
.coda-workspace-map:after{transform:rotate(-25deg);}
.coda-workspace-map span{position:absolute;z-index:1;border:1px solid var(--coda-border);border-radius:9px;padding:9px;background:var(--coda-surface);font-size:11px;}
.coda-workspace-map .center{top:42px;left:31%;background:var(--coda-soft);font-weight:800;}
.coda-workspace-map .first{top:0;right:1%;}.coda-workspace-map .second{bottom:0;right:0;}.coda-workspace-map .third{top:0;left:0;}
.coda-workspace-reminder{display:grid;grid-template-columns:32px minmax(0,1fr);gap:7px;align-items:center;padding:16px 4px 0;}
.coda-workspace-bell{grid-row:1/3;font-size:30px;color:var(--coda-accent);}
.coda-workspace-reminder strong{font-size:14px;}.coda-workspace-reminder>span:last-of-type{color:var(--coda-muted);}
.coda-workspace-reminder small{grid-column:1/-1;padding-top:14px;border-top:1px solid var(--coda-border);color:var(--coda-muted);font-size:10px;}
.coda-workspace-avatar-dock{position:absolute;bottom:-4px;left:12%;display:flex;align-items:center;gap:4px;width:max-content;max-width:100%;}
.coda-workspace-avatar-dock[data-position="1"]{left:3%;}.coda-workspace-avatar-dock[data-position="2"]{left:23%;}.coda-workspace-avatar-dock[data-position="3"]{left:8%;}
.coda-workspace-avatar-hint{max-width:100px;padding:8px 10px;border:1px solid var(--coda-border);border-radius:12px 12px 12px 2px;background:var(--coda-surface);font-size:11px;color:var(--coda-muted);}
html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-approved-tap{width:120px!important;height:120px!important;flex-shrink:0!important;margin:0!important;border-color:transparent!important;background:transparent!important;box-shadow:none!important;}
[data-coda-workspace] .coda-approved-tap .today-coda-tilt{animation:coda-workspace-float 4.8s ease-in-out infinite!important;transform-origin:50% 80%;}
[data-coda-workspace] .coda-approved-tap[data-workspace-motion=still] .today-coda-tilt{animation:none!important;transform:none!important;}
@keyframes coda-workspace-float{0%,100%{transform:translateY(0) rotate(-3deg)}50%{transform:translateY(-9px) rotate(3deg)}}
.coda-workspace-slide-controls{position:absolute;right:20px;bottom:12px;display:flex;align-items:center;gap:12px;}
.coda-workspace-arrow{display:grid;place-items:center;width:40px;min-height:40px;border:1px solid var(--coda-border);border-radius:50%;background:var(--coda-surface);color:var(--coda-text);font-size:19px;cursor:pointer;}
.coda-workspace-counter{font-size:11px;color:var(--coda-muted);font-variant-numeric:tabular-nums;}
html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-board-actions{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important;margin-top:14px!important;}
html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-board-actions button{position:relative;min-width:0;min-height:102px!important;padding:14px 12px!important;gap:7px!important;justify-content:flex-start!important;align-items:flex-start!important;flex-direction:column!important;border-radius:14px!important;background:transparent!important;border:1px solid var(--coda-border)!important;box-shadow:none!important;font-size:12px!important;font-weight:800!important;color:var(--coda-text)!important;text-align:start;}
html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-board-actions button[aria-pressed=true]{background:var(--coda-soft)!important;border-color:var(--coda-accent)!important;}
html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-board-actions svg{width:20px!important;height:20px!important;color:var(--coda-accent)!important;}
.coda-workspace-action-hint{font-size:10px;font-weight:500;line-height:1.5;color:var(--coda-muted);}
[data-coda-workspace] :is(.coda-space-start,.coda-mobile-starts){display:none!important;}
[data-coda-workspace] .coda-space-tools{margin:0!important;}
.coda-workspace-coming{font-size:12px;color:var(--board-ink);}
.coda-workspace-coming>summary{min-height:44px;display:flex;align-items:center;cursor:pointer;}
html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .preview-coda-upcoming{margin-top:0!important;}
html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .preview-coda-soon{min-height:76px!important;}
body[data-coda-corner=true] .mc-coda-companion{display:none!important;}
.coda-workspace-corner{position:fixed;z-index:95;right:24px;bottom:24px;display:flex;align-items:center;gap:4px;padding:4px 16px 4px 0;border:1px solid #bbcbea;border-radius:22px;background:#f6fbfff5;color:#172646;box-shadow:0 12px 32px #07145b26;cursor:pointer;font-family:Manrope,system-ui,sans-serif;}
.coda-workspace-corner img{width:88px;height:88px;object-fit:contain;}
.coda-workspace-corner[data-motion=float] img{animation:coda-workspace-float 4.8s ease-in-out infinite;}
.coda-workspace-corner>span{display:flex;flex-direction:column;align-items:flex-start;gap:4px;}
.coda-workspace-corner strong{font-size:13px;}.coda-workspace-corner small{font-size:10px;}
.coda-workspace-corner[hidden],body.is-privacy-locked .coda-workspace-corner{display:none!important;}
body[data-student-coda-artwork=none] .coda-workspace-corner img{display:none!important;}
body[data-student-coda-artwork=none] .coda-workspace-corner{min-height:54px;padding:12px 16px;}
html.theme-dark .coda-workspace-corner{background:#243453f5;color:#f1f4ff;border-color:#697da5;}
@media(max-width:760px){.coda-workspace-corner{right:12px;bottom:calc(88px + env(safe-area-inset-bottom,0px));padding-right:12px;}.coda-workspace-corner img{width:54px;height:54px;}}
[data-coda-workspace] :is(.coda-workspace-chat,.coda-workspace-slide,.coda-workspace-chat-empty)[hidden]{display:none!important;}
[data-coda-workspace] .coda-workspace-showcase :is(button:focus-visible){outline:3px solid var(--coda-accent);outline-offset:4px;}
@media(max-width:1250px){
 html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-view=ai] .ai-tutor-layout:not([hidden]){grid-template-columns:minmax(0,1fr)!important;}
 html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] .preview-coda-sidebar{grid-template-columns:repeat(3,minmax(0,1fr))!important;}
 .coda-workspace-slide{min-height:330px;}
}
@media(max-width:760px){
 html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai]>.app-main{padding:16px 16px 110px!important;}
 html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-view=ai]>.page-header{display:flex!important;gap:12px!important;}
 html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-view=ai]>.page-header>.preview-status{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;}
 html body.student-experience #app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] .preview-coda-sidebar{grid-template-columns:1fr!important;}
 .coda-workspace-intro{align-items:flex-start;flex-direction:column;gap:12px;margin-bottom:18px;}.coda-workspace-intro h2{font-size:28px!important;}.coda-workspace-intro>div>p:last-child{font-size:12px;}
 .coda-workspace-intro .coda-workspace-eyebrow{margin-bottom:8px;}
 .coda-workspace-slide{grid-template-columns:minmax(0,1fr);gap:20px;min-height:0;padding:24px 20px 54px;}
 .coda-workspace-slide-copy h3{font-size:29px!important;margin-bottom:12px;}.coda-workspace-slide-copy>p:not(.coda-workspace-eyebrow){font-size:13px;line-height:1.75;}.coda-workspace-launch{margin-top:14px;}
 .coda-workspace-visual{padding-top:0;}.coda-workspace-visual-title{text-align:start;font-size:11px;}.coda-workspace-example{min-height:156px;}
 html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-board-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
 html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-board-actions button{min-height:100px!important;}
 .coda-workspace-chat{inset:auto 12px calc(84px + env(safe-area-inset-bottom,0px) + var(--coda-keyboard-offset,0px)) 12px!important;width:auto!important;max-width:none;height:min(650px,calc(var(--coda-visible-height,100dvh) - 112px));max-height:calc(var(--coda-visible-height,100dvh) - 112px);border-radius:20px;}
 .coda-workspace-chat-head{padding:8px 12px;}.coda-workspace-chat-head span{font-size:10px;}
 html body.student-experience #app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-workspace-chat .ai-conversation-card{padding:12px!important;}
}
@media(prefers-reduced-motion:reduce){[data-coda-workspace] .coda-approved-tap .today-coda-tilt{animation:none!important;transform:none!important;}}
html:is([data-reduced-motion=true],[data-personalize-motion=true],[data-design-motion=still],.mc-reduce-motion) [data-coda-workspace] .coda-approved-tap .today-coda-tilt{animation:none!important;transform:none!important;}

.coda-workspace-guide{display:block;min-height:44px;padding:10px 0;border:0;background:transparent;color:var(--coda-accent);font:750 12px/1.5 Manrope,system-ui,sans-serif;text-align:start;cursor:pointer;}
.coda-workspace-ring{position:absolute;inset:3%;border:2px solid #8edfd6;border-left-color:#a8a0ff;border-bottom-color:transparent;border-radius:50%;pointer-events:none;opacity:.35;transform:rotateX(63deg) rotate(-25deg);}
.coda-workspace-ring--second{inset:8%;border-color:#aaa0f8;border-right-color:#89e9dd;border-bottom-color:transparent;transform:rotateY(66deg) rotate(35deg);}
[data-ring-state=working]>.coda-workspace-ring,[data-ring-state=working]>.coda-workspace-corner-orb>.coda-workspace-ring{opacity:.95;animation:coda-question-orbit 2.4s linear infinite;}
[data-ring-state=working]>.coda-workspace-ring--second,[data-ring-state=working]>.coda-workspace-corner-orb>.coda-workspace-ring--second{animation-name:coda-question-orbit-second;animation-direction:reverse;}
.coda-workspace-corner-orb{position:relative;display:block!important;flex-shrink:0;}
@keyframes coda-question-orbit{from{transform:rotateX(63deg) rotate(0deg)}to{transform:rotateX(63deg) rotate(360deg)}}
@keyframes coda-question-orbit-second{from{transform:rotateY(66deg) rotate(0deg)}to{transform:rotateY(66deg) rotate(360deg)}}
[data-workspace-motion=still]>.coda-workspace-ring,[data-motion=still] .coda-workspace-ring{animation:none!important;opacity:.35!important;}
@media(prefers-reduced-motion:reduce){.coda-workspace-ring{animation:none!important;}}
.coda-workspace-chat{--coda-text:#172646;--coda-muted:#5e6e8c;--coda-surface:#fff;--coda-soft:#edf3ff;--coda-border:#dce5f2;--coda-accent:#245ed5;position:relative;isolation:isolate;display:flex;flex-direction:column;min-width:0;color:var(--coda-text);}
html.theme-dark .coda-workspace-chat{--coda-text:#edf4ff;--coda-muted:#b0c1dc;--coda-surface:#192946;--coda-soft:#253b61;--coda-border:#3e5578;--coda-accent:#b4d3ff;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .ai-tutor-layout:not([hidden]){grid-template-columns:minmax(0,1fr)!important;max-width:960px;margin-inline:auto;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .preview-coda-main{gap:16px!important;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace]>.page-header{max-width:960px;margin-inline:auto!important;margin-bottom:10px!important;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace]>.page-header h1{font-size:18px!important;letter-spacing:-.03em;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;min-height:min(660px,calc(100dvh - 220px));overflow:visible!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;}
.coda-workspace-chat-head{display:flex;align-items:center;gap:14px;min-height:70px;padding:8px 0 16px;border-bottom:1px solid var(--coda-border);}
.coda-workspace-chat-title{display:flex;flex-direction:column;gap:4px;min-width:0;margin-right:auto;}
.coda-workspace-chat-title strong{font-size:18px;font-weight:700;letter-spacing:-.025em;}
.coda-workspace-chat-title span{font-size:12px;color:var(--coda-muted);line-height:1.5;}
.coda-workspace-chat-avatar:empty{display:none;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat-avatar .coda-approved-tap{width:48px!important;height:48px!important;}
.coda-workspace-chat-head :is(.ai-new-conversation,.coda-workspace-chat-close){display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;width:auto!important;margin:0;padding:9px 13px!important;border:1px solid var(--coda-border)!important;border-radius:12px!important;background:transparent!important;color:var(--coda-text)!important;box-shadow:none!important;font:600 13px/1.4 Manrope,system-ui,sans-serif;cursor:pointer;}
.coda-workspace-chat-head .coda-local-chat-actions{display:flex;gap:8px;min-width:0;}
.coda-workspace-chat-head .ai-new-conversation svg{width:15px;height:15px;}
.coda-workspace-chat-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;min-height:350px;padding:34px 16px 28px;text-align:center;}
.coda-workspace-welcome-avatar{position:relative;display:grid;place-items:center;width:150px;height:142px;margin-bottom:4px;background:radial-gradient(ellipse,#b6ffdf55,transparent 70%);}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-welcome-avatar .coda-approved-tap{width:136px!important;height:136px!important;}
.coda-workspace-chat-empty .coda-workspace-welcome-label{margin:0;color:var(--coda-muted);font-size:10px;font-weight:700;letter-spacing:.15em;}
.coda-workspace-chat-empty h3{margin:0!important;max-width:100%;font-size:clamp(27px,3.3vw,40px)!important;font-weight:650;line-height:1.2;letter-spacing:-.05em;color:var(--coda-text);}
.coda-workspace-chat-empty>p:last-of-type{max-width:42ch;margin:0;color:var(--coda-muted);font-size:15px;line-height:1.65;}
.coda-workspace-starters{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:10px;}
.coda-workspace-starters button{min-height:44px;padding:10px 15px;border:1px solid var(--coda-border);border-radius:999px;background:color-mix(in srgb,var(--coda-surface) 75%,transparent);color:var(--coda-text);font:500 13px/1.5 Manrope,system-ui,sans-serif;cursor:pointer;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat .ai-conversation-card{display:flex!important;flex-direction:column!important;gap:18px!important;min-height:0!important;max-height:none!important;overflow:visible!important;margin:0!important;padding:24px 0 18px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat :is([data-coda-chat-intro],.ai-conversation-header){display:none!important;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat .ai-message-list{display:flex!important;flex-direction:column!important;gap:24px!important;min-height:0!important;max-height:none!important;overflow:visible!important;padding:0!important;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace][data-coda-has-conversation=false] .coda-workspace-chat .ai-conversation-card{display:none!important;}
.coda-workspace-chat :is(.coda-board-exchange,.coda-local-messages){display:flex;flex-direction:column;gap:16px;margin:0;padding:0;min-width:0;}
.coda-workspace-chat :is(.ai-message,.coda-board-bubble){box-sizing:border-box;max-width:100%;margin:0;border:0!important;box-shadow:none!important;font-size:15px!important;line-height:1.75!important;overflow-wrap:anywhere;}
.coda-workspace-chat :is(.ai-message--student,.ai-message--user,.coda-board-bubble--student){align-self:flex-end;margin-left:auto;padding:13px 18px!important;max-width:min(80%,640px);border-radius:20px 20px 5px 20px!important;background:var(--coda-soft)!important;color:var(--coda-text)!important;}
.coda-workspace-chat :is(.ai-message--assistant,.coda-board-bubble--coda){align-self:flex-start;max-width:76ch;padding:6px 0!important;border-radius:0!important;background:transparent!important;color:var(--coda-text)!important;}
.coda-workspace-chat .ai-verify-note{margin:0;padding:0;color:var(--coda-muted);font-size:11px;line-height:1.6;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat #ai-composer{position:sticky!important;inset:auto!important;bottom:16px!important;display:flex!important;flex-direction:column!important;gap:12px!important;z-index:3;width:100%!important;max-width:100%!important;box-sizing:border-box;margin:16px 0 0!important;padding:18px 20px 12px!important;border:1px solid var(--coda-border)!important;border-radius:24px!important;background:var(--coda-surface)!important;color:var(--coda-text)!important;box-shadow:0 18px 48px -30px #173a7766!important;transform:none!important;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat #ai-composer:focus-within{border-color:color-mix(in srgb,var(--coda-accent) 60%,var(--coda-border))!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--coda-accent) 8%,transparent),0 18px 48px -30px #173a7766!important;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat #ai-composer textarea{flex:0 0 auto!important;width:100%!important;min-height:56px!important;max-height:180px!important;box-sizing:border-box;resize:none!important;padding:4px 0!important;border:0!important;background:transparent!important;color:inherit!important;font-size:16px!important;line-height:1.6!important;box-shadow:none!important;}
.coda-workspace-chat #ai-composer textarea::placeholder{color:var(--coda-muted);opacity:.9;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat .ai-composer__bottom{display:flex!important;align-items:center!important;justify-content:space-between!important;flex-wrap:wrap;gap:10px;width:100%;margin:0!important;}
.coda-workspace-chat [data-ai-composer-note]{display:block!important;min-width:0;margin:0!important;color:var(--coda-muted);font-size:11px!important;line-height:1.5;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat [data-ai-send]{display:inline-flex!important;align-items:center;justify-content:center;gap:8px;min-height:44px;min-width:86px;margin:0 0 0 auto!important;padding:10px 17px!important;border:0!important;border-radius:14px!important;background:linear-gradient(135deg,#347ff0,#2348ba)!important;color:#fff!important;font-size:13px;font-weight:650;box-shadow:0 5px 12px #275fd51a!important;}
.coda-workspace-chat .coda-space-allowance{margin:0;padding:0;border-top:1px solid var(--coda-border);font-size:11px;}
.coda-workspace-chat .coda-space-allowance>summary{min-height:36px;font-size:11px;line-height:1.6;color:var(--coda-muted);}
.coda-workspace-chat .ai-action-allowance{font-size:11px!important;}
.coda-workspace-chat .coda-free-preview{margin:8px 0;padding:12px 14px!important;border:1px solid var(--coda-border);border-radius:14px;background:var(--coda-soft);font-size:12px;box-shadow:none;}
.coda-workspace-chat .coda-free-preview p{font-size:12px;line-height:1.6;}
[data-coda-workspace] .coda-workspace-showcase>.preview-coda-sidebar{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:16px!important;margin-top:24px!important;}
[data-coda-workspace] .coda-workspace-showcase>.coda-space-tools{margin-top:24px!important;}
[data-coda-workspace] :is(.coda-workspace-showcase,.coda-workspace-chat,.coda-workspace-chat-empty)[hidden]{display:none!important;}
[data-coda-workspace] .coda-workspace-chat :is(button,textarea):focus-visible{outline:2px solid var(--coda-accent);outline-offset:4px;}
[data-coda-workspace] .coda-workspace-chat button:disabled{opacity:.5;cursor:default;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat .coda-approved-tap .today-coda-tilt{animation:none!important;transform:none;}
@media(prefers-reduced-motion:no-preference){.coda-workspace-chat :is(button,#ai-composer){transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease,opacity .18s ease;} .coda-workspace-chat button:not(:disabled):hover{border-color:var(--coda-accent)!important;}}
@media(max-width:760px){
 html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai]>.app-main{padding:16px 18px 100px!important;}
 .coda-workspace-chat-head{gap:8px;flex-wrap:wrap;min-height:60px;padding-bottom:12px;}
 .coda-workspace-chat-head .coda-local-chat-actions{gap:6px;}
 .coda-workspace-chat-head :is(.ai-new-conversation,.coda-workspace-chat-close){padding:9px 10px!important;font-size:12px!important;}
 .coda-workspace-chat-title strong{font-size:16px;}.coda-workspace-chat-title span{font-size:11px;}
 .coda-workspace-chat-empty{min-height:300px;padding:22px 0 18px;gap:12px;}
 .coda-workspace-welcome-avatar{height:112px;width:124px;}
 html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-welcome-avatar .coda-approved-tap{width:112px!important;height:112px!important;}
 .coda-workspace-chat-empty>p:last-of-type{font-size:14px;max-width:30ch;}
 .coda-workspace-starters{gap:8px;}.coda-workspace-starters button{font-size:12px;padding:9px 12px;}
 html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat #ai-composer{bottom:calc(76px + env(safe-area-inset-bottom));padding:14px 15px 8px!important;border-radius:20px!important;}
 .coda-workspace-chat [data-ai-composer-note]{max-width:16ch;font-size:10px!important;}
 .coda-workspace-chat :is(.ai-message--student,.coda-board-bubble--student){max-width:90%;}
}
@media(max-width:380px){.coda-workspace-chat-head .coda-local-chat-actions{order:3;width:100%;}.coda-workspace-chat-head>.coda-workspace-chat-close{margin-left:auto;}.coda-workspace-chat-empty{min-height:285px;}}
@media(max-width:760px) and (max-height:600px){.coda-workspace-chat-empty{min-height:180px;padding-block:10px;}.coda-workspace-welcome-avatar{height:72px;}html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-welcome-avatar .coda-approved-tap{width:72px!important;height:72px!important;}html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-preview-shell=true][data-active-view=ai] [data-coda-workspace] .coda-workspace-chat #ai-composer{bottom:calc(100px + var(--mobile-safe-bottom,env(safe-area-inset-bottom,0px)))!important;}}
@media(forced-colors:active){.coda-workspace-chat :is(button,#ai-composer){border:1px solid ButtonText!important;}.coda-workspace-chat [data-ai-send]{background:ButtonFace!important;color:ButtonText!important;}}

@media(max-width:999px){html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-keyboard-open=true] [data-coda-workspace] .coda-workspace-chat-empty{display:none!important;}html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-keyboard-open=true] [data-coda-workspace] .coda-workspace-chat #ai-composer{bottom:8px!important;}}

/* More room for the conversation, with one short invitation to start. */
.coda-workspace-chat-empty {min-height:280px;padding-block:24px;gap:12px;}
.coda-workspace-chat-empty>p:last-of-type {font-size:16px;max-width:34ch;}
.coda-workspace-starters button {font-size:14px;min-height:44px;}
.coda-workspace-chat-title span {font-size:14px;}
.coda-workspace-chat-head {flex-wrap:wrap;}
.coda-workspace-chat :is(.ai-message,.coda-board-bubble) {font-size:16px!important;line-height:1.65!important;}
html body.student-experience #app-shell#app-shell#app-shell#app-shell[data-active-view=ai] [data-coda-workspace] .coda-workspace-chat #ai-composer textarea {font-size:16px!important;line-height:1.6;}
.coda-workspace-chat :is(button,textarea):focus-visible {outline:3px solid var(--coda-accent);outline-offset:3px;}
@media(max-width:760px){.coda-workspace-chat-empty{min-height:230px;padding:18px 8px;}.coda-workspace-chat-empty h3{font-size:28px!important;}.coda-workspace-chat-head{gap:8px;}.coda-workspace-chat-title{flex:1 1 100px;}}
@media(max-height:600px){.coda-workspace-chat-empty{min-height:160px;padding-block:10px;}}
.coda-workspace-showcase .coda-workspace-slide-copy>p:not(.coda-workspace-eyebrow),.coda-workspace-intro>div>p:last-child {font-size:16px;line-height:1.6;}
.coda-workspace-showcase :is(.coda-workspace-talk,.coda-workspace-launch,.coda-workspace-guide) {font-size:14px;}

/* Real study actions stay within reach of the same conversation and draft. */
.coda-workspace-chat>.coda-workspace-starters {justify-content:flex-start;align-items:start;gap:8px;margin:8px 0 12px;}
.coda-workspace-tool-menu {flex:0 1 auto;min-width:0;}
.coda-workspace-tool-menu[open] {flex-basis:100%;}
.coda-workspace-tool-menu>summary {display:inline-flex;align-items:center;min-height:44px;box-sizing:border-box;padding:10px 15px;border:1px solid var(--coda-border);border-radius:14px;font-size:.875rem;line-height:1.5;cursor:pointer;color:var(--coda-text);}
.coda-workspace-tool-list {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:12px 0 0;}
.coda-workspace-tool-menu:not([open])>.coda-workspace-tool-list {display:none;}
.coda-workspace-tool-list :is(button,a) {display:flex;align-items:center;justify-content:center;min-width:0;min-height:44px;box-sizing:border-box;padding:10px;border:1px solid var(--coda-border);border-radius:14px;font:500 .875rem/1.5 Manrope,system-ui;color:var(--coda-text);background:var(--coda-surface);text-align:center;text-decoration:none;white-space:normal;cursor:pointer;}
.coda-workspace-action-status {margin:0;color:var(--coda-muted);font-size:.875rem;line-height:1.5;}
.coda-workspace-action-status:empty {display:none;}
.coda-workspace-tool-menu>summary:focus-visible {outline:3px solid var(--coda-accent);outline-offset:3px;}
@media(max-width:480px){.coda-workspace-tool-list{grid-template-columns:repeat(2,minmax(0,1fr));}}
