:root {
  color-scheme: light;
  --ink:#1a1a1a; --muted:#5e6058; --paper:#fbfaf2; --mint:#e3f8ed;
  --green:#04bf61; --green-dark:#006b39; --purple:#7544b4; --line:#d9d8cb;
  font-family:"Nunito",system-ui,sans-serif; color:var(--ink); background:var(--paper);
}
* {box-sizing:border-box}
[hidden] {display:none!important}
body {margin:0;line-height:1.5}
h1,h2,h3,p,figure {margin:0}
h1,h2,h3 {font-family:"Baloo 2",system-ui,sans-serif;font-weight:800;line-height:1.12}
h1 {font-size:clamp(2rem,4vw,3.2rem)}
h2 {font-size:clamp(1.4rem,3vw,2.35rem)}
h3 {font-size:1.28rem}
a {color:var(--green-dark)}
button,input,select,textarea {font:inherit;color:inherit}
button {cursor:pointer}
button:disabled {opacity:.55;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible {outline:3px solid var(--purple);outline-offset:3px}
button:not(.desk-button) {border:1px solid var(--line);border-radius:.65rem;min-height:44px;background:var(--paper);padding:.45rem .75rem;font-weight:800}
button:not(.desk-button):hover {background:var(--mint)}
img,video {max-width:100%}
input:not([type=checkbox]),select,textarea {min-height:44px;border:1px solid #bdbfaf;border-radius:.65rem;background:var(--paper);padding:.55rem .7rem}
textarea {resize:vertical}
label {display:grid;gap:.3rem;font-weight:750;min-width:0}
label input:not([type=checkbox]),label select,label textarea {width:100%}
.skip-link,.screen-reader {position:absolute;clip-path:inset(50%);overflow:hidden;width:1px;height:1px;white-space:nowrap}
.skip-link:focus {clip-path:none;width:auto;height:auto;background:white;z-index:20;padding:.65rem}
.page-loading {margin:3rem}
.desk-logo {display:inline-flex;justify-content:center;align-items:center;text-decoration:none}
.desk-logo img {width:clamp(84px,11vw,144px);height:auto;display:block}
.desk-button {display:inline-flex;align-items:center;justify-content:center;gap:.35rem;min-height:44px;border-radius:999px;border:2px solid transparent;text-decoration:none;font-family:"Baloo 2",system-ui,sans-serif;font-weight:800;line-height:1.2;padding:.56rem 1rem;text-align:center}
.desk-button.primary {background:var(--green);border-color:#02a752;color:white;box-shadow:0 4px 0 #008a43}
.desk-button.primary:hover {background:#00aa55}
.desk-button.outline {background:transparent;border-color:#bcd0c3;color:var(--ink)}
.desk-button.outline:hover {background:#f5fff7}
.language {display:flex;align-items:center;gap:.25rem;min-width:max-content;border:2px solid #10c66c;border-radius:999px;padding:0 .55rem;background:#e6f8ef}
.language select {border:0;background:transparent;padding:0 .28rem;min-height:34px;min-width:3rem;width:auto;font-weight:850}
.marketing-header {position:sticky;top:0;background:#e3f7ed;z-index:10;border-bottom:2px solid #d3e7dc}
.marketing-nav {min-height:68px;max-width:1130px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:1.35rem;padding:0 .9rem}
.marketing-nav nav,.header-actions {display:flex;align-items:center;gap:clamp(.75rem,1.75vw,1.65rem)}
.marketing-nav nav a {text-decoration:none;color:var(--muted);font-weight:800;white-space:nowrap}
.marketing-nav nav a:hover {text-decoration:underline;color:var(--green-dark)}
.header-actions {gap:.6rem}
.header-actions .desk-button {min-height:35px;font-size:.85rem;padding:.36rem .8rem}
.hero {text-align:center;padding:clamp(3rem,5vw,4rem) 1rem 3.8rem}
.hero-note {display:inline-flex;align-items:center;gap:.35rem;border:2px solid #ebe3ce;border-radius:999px;padding:.12rem .7rem;color:var(--ink);background:#fdf8e7;font-size:.78rem;font-weight:900;text-decoration:none}
.hero-note svg {width:14px;height:14px;color:var(--purple)}
.hero h1 {margin:1rem 0 1.25rem;font-size:clamp(2.05rem,4vw,3.05rem);line-height:1.03}
.hero h1 span,.studio-intro span {color:#007d3f}
.hero h1 s {color:#77776e}
.hero > p {max-width:67ch;margin:0 auto 1.25rem;color:#66665b;font-size:1.02rem}
.hero-action {font-size:1.26rem;min-height:59px;padding:.75rem 1.7rem}
.hero-action svg {width:19px}
.monitor {width:min(100%,890px);margin:3.1rem auto 0;background:#191919;border-radius:1.55rem;padding:1.05rem 1.05rem .15rem;box-shadow:0 5px 0 #0e0e0e}
.monitor-screen {position:relative;overflow:hidden;border-radius:.7rem;aspect-ratio:16/9}
.monitor-screen img {display:block;width:100%;height:100%;object-fit:cover}
.monitor-screen button {position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);font-size:1.15rem;min-width:max-content}
.monitor-light {width:7px;height:7px;margin:.38rem auto .45rem;border-radius:50%;background:var(--green)}
.monitor-stand {width:min(18rem,48%);height:2rem;margin:auto;border-bottom:.48rem solid #161616;background:linear-gradient(90deg,transparent 17%,#161616 17% 83%,transparent 83%);border-radius:0 0 .4rem .4rem}
.marketing-section {padding:clamp(2rem,5vw,5rem) clamp(1rem,6vw,7rem);text-align:center;scroll-margin-top:74px}
.marketing-section h2 {margin-bottom:1rem;font-size:clamp(1.8rem,4vw,3rem)}
.marketing-section > p {color:var(--muted);margin:0 auto 1.15rem;max-width:63ch}
.softly {background:#eef8ed}
.studio-preview {width:min(100%,900px);border-radius:1rem;border:1px solid var(--line)}
.sample-panel {max-width:850px;text-align:start;margin:auto;border:2px solid var(--line);background:white;border-radius:1rem;padding:1rem}
#home-demo {padding-top:1rem}
#classroom-tools {justify-content:center}
.feature-grid,.price-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,185px),1fr));gap:1rem;max-width:1100px;margin:1.4rem auto 0}
.feature-grid a,.price-card,.desk-card {background:white;border:2px solid var(--line);border-radius:1.15rem;padding:1.15rem}
.feature-grid a {font-weight:850;text-decoration:none}
.price-card {display:grid;justify-items:center;align-content:start;gap:.4rem;text-align:center}
.price-card.featured {border-color:#1baf61;background:#e8f8ee}
.price-card strong {font-family:"Baloo 2",system-ui,sans-serif;font-size:2rem}
.price-card .desk-button {margin:.65rem 0 .25rem}
.questions {max-width:780px;margin:auto;text-align:start}
.questions details {margin:.65rem 0;padding:1rem;background:white;border:1px solid var(--line);border-radius:.8rem}
.questions summary {font-weight:900;cursor:pointer}
.questions p {margin-top:.6rem;color:var(--muted)}
.marketing-foot {display:flex;flex-wrap:wrap;align-items:center;gap:1.5rem;padding:2rem clamp(1rem,6vw,7rem);background:#e3f7ed}
.marketing-foot nav {display:flex;flex-wrap:wrap;gap:.55rem 1.1rem}
.teacher-shell {min-height:100vh;display:grid;grid-template-columns:202px minmax(0,1fr);gap:.15rem;padding:.75rem;background:radial-gradient(circle at 74% 4%,#fff2b1 0 2.6rem,#fff7d1 2.6rem 3.4rem,transparent 3.4rem),radial-gradient(ellipse at 38% 105%,#d2f1e4 0 16%,transparent 16.1%),linear-gradient(#edf7fe 0,var(--paper) 44%);}
.teacher-sidebar {display:flex;flex-direction:column;gap:.9rem;position:sticky;top:.75rem;height:calc(100dvh - 1.5rem);padding:.75rem .55rem;border-radius:1.15rem;border:2px solid #dddcd0;background:#ffffff87;z-index:3}
.teacher-sidebar .desk-logo {margin:.15rem 0 .45rem}
.teacher-sidebar nav {display:grid;gap:.18rem}
.teacher-sidebar nav a {display:flex;align-items:center;gap:.6rem;min-height:45px;padding:.55rem .75rem;border-radius:.65rem;text-decoration:none;font-weight:850;color:#373e48;font-size:.92rem}
.teacher-sidebar nav a svg {color:#2158b2;flex-shrink:0}
.teacher-sidebar nav a:nth-child(3n+1) svg {color:#007544}
.teacher-sidebar nav a:nth-child(3n) svg {color:#8b651a}
.teacher-sidebar nav a:hover,.teacher-sidebar nav a[aria-current] {background:#e2f8ed;color:#006f39}
.teacher-session {margin-top:auto;display:grid;gap:.3rem;padding:.1rem .15rem .35rem;overflow-wrap:anywhere}
.teacher-session .desk-button {min-height:45px}
.teacher-main {min-width:0}
.teacher-top {display:flex;align-items:center;justify-content:flex-end;min-height:53px;padding:0 .45rem .4rem}
.menu-toggle {display:none}
.teacher-main > main {padding:1rem clamp(.75rem,2vw,1.5rem) 3rem}
.page-heading {display:flex;align-items:center;gap:.8rem;margin:0 0 1.2rem}
.page-heading img {width:62px;height:62px;object-fit:contain}
.page-heading h1 {font-size:clamp(1.85rem,4vw,2.65rem)}
.page-heading p {margin:.15rem 0;color:var(--muted)}
.studio-shell .teacher-main > main {padding:.35rem .2rem 0}
.native-studio {display:grid;grid-template-columns:minmax(0,1fr);gap:.8rem;min-width:0}
.studio-chat {width:min(100%,770px);margin-inline:auto;padding:.6rem}
.studio-intro {display:flex;justify-content:center;align-items:center;gap:.65rem;margin:.4rem auto .85rem}
.studio-intro img {object-fit:contain}
.studio-intro h1 {font-size:clamp(1.5rem,3vw,2rem)}
.prompt-form {border-radius:1.8rem;border:1px solid var(--line);background:#fffffff0;padding:.6rem .8rem}
.prompt-form textarea {width:100%;padding:.6rem .7rem;border:0;resize:vertical;background:transparent;min-height:54px}
.prompt-actions {display:flex;justify-content:space-between;align-items:center;gap:.55rem;padding:.15rem .2rem .2rem;font-size:.86rem;color:var(--muted)}
.icon-button {min-width:49px;min-height:43px;padding:.4rem}
.status {color:var(--green-dark);font-weight:750;margin:.35rem 0}
.status:empty {display:none}
.message-list {display:grid;gap:.4rem;overscroll-behavior:contain}
.message-list:empty {display:none}
.chat-message {border:1px solid #c4e6d0;background:#def7e6;padding:.65rem .85rem;border-radius:1rem 1rem .2rem 1rem;margin-left:auto;max-width:92%;white-space:pre-wrap;overflow-wrap:anywhere}
.studio-welcome {margin-top:1rem}
.studio-welcome h2,.idea-header h2 {font-size:1.36rem;margin-bottom:.55rem}
.shortcuts {display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.5rem}
.shortcuts button {display:grid;gap:.32rem;justify-items:center;border:0;padding:.18rem;background:transparent;font-size:.8rem;line-height:1.18}
.shortcuts button:hover,.shortcuts button[aria-pressed=true] {background:#ffffff9c;color:var(--green-dark)}
.shortcut-plate {display:grid;place-items:center;width:100%;height:56px;border-radius:.85rem;box-shadow:0 3px 0 currentColor;border:1px solid #0002}
.plate-0 {background:#e0f4e9;color:#1c7850}
.plate-1 {background:#fff3d2;color:#8d6318}
.plate-2 {background:#eee9fb;color:#643aa5}
.idea-section {padding:.6rem 1rem 1.5rem}
.idea-header {display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-bottom:1px solid var(--line);margin-bottom:.65rem}
.idea-header a {font-weight:850;text-decoration:none}
.idea-grid,.community-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));gap:.85rem}
.idea-card,.community-card {overflow:hidden;border:2px solid var(--line);border-radius:.85rem;background:white;min-width:0}
.idea-art {min-height:142px;display:grid;place-items:center}
.idea-art img {width:100%;aspect-ratio:16/7;object-fit:cover}
.idea-mini {display:grid;justify-items:center;gap:.25rem;background:#fff9;border:1px solid #0002;border-radius:.7rem;padding:1rem}
.idea-copy,.community-card {display:grid;align-content:start;gap:.43rem}
.idea-copy,.community-card {padding:.75rem}
.has-draft {grid-template-columns:minmax(280px,1fr) minmax(0,2fr);min-height:calc(100dvh - 5rem);align-items:stretch;}
.has-draft .studio-chat {display:flex;flex-direction:column;padding:.5rem .65rem;min-height:0}
.has-draft .message-list {flex:1;align-content:start;min-height:3rem;overflow:auto}
.has-draft .studio-intro,.has-draft .studio-welcome,.has-draft .idea-section {display:none}
.studio-workspace {background:white;border:2px solid var(--line);border-radius:1.15rem;min-width:0;max-height:calc(100dvh - 5rem);overflow:auto}
.studio-workspace .ld-workspace {padding:clamp(.65rem,2vw,1.2rem)}
.studio-workspace .ld-card {border-width:1px}
.mobile-chat {display:none}
.publish-row {margin:.2rem 1.25rem 1rem;overflow-wrap:anywhere}
.community-controls {display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:.75rem;margin-bottom:1rem}
.community-card img {width:calc(100% + 1.5rem);max-width:none;margin:-.75rem -.75rem 0;aspect-ratio:16/9;object-fit:cover}
.pill {width:fit-content;padding:.15rem .5rem;background:var(--mint);border-radius:.3rem;color:var(--green-dark);font-size:.85rem;font-weight:800}
.community-card a {font-weight:850}
#community-more {margin-top:1rem}
.record-grid {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.9rem}
.desk-form {display:grid;gap:.8rem;margin-top:.8rem}
.desk-card h2 {font-size:1.5rem}
.desk-card p + .desk-button {margin-top:.65rem}
.admin-page {max-width:76rem;margin-inline:auto}
.admin-section {margin-top:1rem}
.admin-tabs,.admin-actions {display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}
.admin-tabs [aria-current="page"] {background:var(--mint);border-color:#3c8c61}
.admin-filters {display:flex;flex-wrap:wrap;gap:.7rem;align-items:end;margin:1rem 0}
.admin-filters label:first-of-type {flex:1 1 15rem}
.admin-filters label {display:grid;gap:.25rem}
.admin-list {display:grid;gap:.65rem;list-style:none;margin:1rem 0 0;padding:0}
.admin-row {display:grid;grid-template-columns:minmax(0,1.35fr) auto minmax(6rem,.65fr) minmax(10rem,1fr);gap:.75rem;
  align-items:start;padding:.85rem;border:1px solid var(--line);border-radius:.8rem}
.admin-identity {display:grid;gap:.18rem;overflow-wrap:anywhere;min-width:0}
.admin-identity span,.admin-identity time {color:#425750}
.admin-order details {margin-top:.3rem}
.admin-order summary {cursor:pointer}
.admin-order details p {margin:.35rem 0}
.admin-tag {align-self:start;justify-self:start;background:var(--mint);color:#174a31;border-radius:999px;padding:.25rem .65rem;font-weight:700}
.admin-tag-muted {background:#f0eeea;color:#564a30}
.admin-audit {grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)}
.admin-note {white-space:pre-wrap;overflow-wrap:anywhere}
.admin-pagination {margin-top:1rem}
.admin-dialog {width:min(32rem,calc(100% - 2rem));max-height:calc(100% - 2rem);overflow:auto;color:var(--ink)}
.admin-dialog::backdrop {background:rgb(13 37 27 / 50%)}
.admin-dialog form {margin:0}
.admin-dialog :is([data-dialog-error],[role="alert"]):empty,.admin-section [data-admin-status]:empty {display:none}
.admin-dialog [data-dialog-error] {color:#8e241e}
@media(max-width:960px) {
  .admin-row {grid-template-columns:minmax(0,1fr) auto}
  .admin-actions {justify-content:flex-start}
}
@media(max-width:475px) {
  .admin-row {grid-template-columns:minmax(0,1fr)}
  .admin-filters label {flex-basis:100%}
}
.record-item {margin-top:.75rem;border-top:1px solid var(--line);padding-top:.65rem;overflow-wrap:anywhere}
.record-item ul,.record-item ol,.orders ul,.timeline {padding-inline-start:1.25rem}
.action-row,.choice-row {display:flex;flex-wrap:wrap;gap:.45rem}
#class-tools {margin-top:1.25rem}
.learner-page,.policy-page {width:min(850px,calc(100% - 2rem));margin:2rem auto 4rem}
.learner-page h1,.policy-page h1 {margin-bottom:1rem}
.course-nav {display:flex;flex-wrap:wrap;gap:.5rem;padding:0;list-style:none}
.learner-page #learner-panel {margin-top:1rem}
.billing-note {padding:.75rem 1rem;border:1px solid #e9d18b;background:#fff6d8;border-radius:.7rem}
.orders {margin-top:1.05rem}
.auth-shell {min-height:100vh;display:grid;place-items:center;position:relative;padding:3.5rem 1rem 2rem;background:#dff1fb url("/assets/auth-background-SgQtoApP.webp") center/cover no-repeat}
.auth-back {position:absolute;top:.9rem;left:1rem;font-weight:900}
.auth-card {position:relative;width:min(100%,446px);padding:3.15rem 2.3rem 1.4rem;border:2px solid #e3e1d7;border-radius:.85rem;background:#fff}
.auth-lulu {position:absolute;top:-47px;left:50%;transform:translateX(-50%);object-fit:contain}
.auth-card h1 {font-size:1.85rem;text-align:center;color:#152d59;margin:.85rem 0 1.15rem}
.auth-tabs {display:flex;gap:.5rem;border-bottom:1px solid var(--line)}
.auth-tabs a {padding:.45rem .65rem;font-weight:900;text-decoration:none;color:var(--ink)}
.auth-tabs [aria-current] {border-bottom:2px solid var(--green)}
.check-row {display:flex;align-items:center;gap:.42rem;font-size:.88rem}
.check-row input {width:1rem;height:1rem;accent-color:#008945}
dialog {border:2px solid var(--line);border-radius:1rem;padding:1rem;width:min(760px,calc(100% - 1.5rem));max-height:90vh;overflow:auto}
dialog::backdrop {background:#172620a0}
dialog > form[method=dialog] {display:flex;justify-content:flex-end;margin-bottom:.55rem}
#demo-dialog video {display:block;width:100%;max-height:70vh}
#tool-dialog .dialog-top {justify-content:space-between;align-items:center}
#tool-dialog .stack {display:grid;gap:.6rem}
#tool-dialog .clock {font-size:2rem;font-weight:900}
@media(max-width:1050px) {.marketing-nav nav{display:none}.has-draft{grid-template-columns:minmax(245px,1fr) minmax(0,1.65fr)}}
@media(max-width:800px) {
  .teacher-shell{display:block;padding:.5rem}
  .teacher-top{justify-content:space-between}
  .menu-toggle{display:inline-flex}
  .teacher-sidebar{position:relative;top:auto;height:auto;display:none}
  .menu-open .teacher-sidebar{display:flex;margin-bottom:.4rem}
  .teacher-sidebar nav{display:flex;flex-wrap:wrap}
  .teacher-session{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem}
}
@media(max-width:639px) {
  .teacher-main > main{padding-inline:.45rem}
  .has-draft{display:block;min-height:0}
  .has-draft .studio-chat{min-height:calc(100dvh - 5rem)}
  .has-draft.show-draft .studio-chat,.has-draft:not(.show-draft) .studio-workspace{display:none}
  .studio-workspace{max-height:none}
  .studio-workspace .ld-workspace{padding-bottom:.75rem}
  .mobile-chat{display:inline-flex;margin:.65rem .65rem 0}
  .shortcuts{grid-template-columns:repeat(4,minmax(0,1fr))}
  .record-grid,.community-controls{grid-template-columns:1fr}
  .monitor{padding:.65rem .65rem .1rem;border-radius:.85rem;margin-top:2.3rem}
  .monitor-screen button{min-height:39px;font-size:.95rem}
  .marketing-nav{gap:.35rem;padding:.45rem .6rem}
  .header-actions{gap:.32rem}
  .header-actions .desk-button{font-size:.76rem;padding:.3rem .42rem}
  .language{padding:0 .25rem}
  .auth-card{padding-inline:1.05rem}
}
@media print {
  body:has(> #worksheet) > :not(#worksheet){display:none!important}
}
