@charset "UTF-8";
:root{--ink:#193331;--muted:#687b78;--line:#dce5df;--teal:#246d60;--teal-dark:#175246;--pale:#eaf3ed;--canvas:#f6f7f3;--white:#fff;--amber:#8a5b13;--danger:#aa3934;font-family:Inter,"Noto Sans TC",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--canvas);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.55}a{color:var(--teal)}button:focus-visible,a:focus-visible{outline:3px solid #91b7ab;outline-offset:3px}input:focus,select:focus,textarea:focus{outline:3px solid #c4dfd4;border-color:var(--teal)}[hidden]{display:none!important}.demo-strip{height:36px;display:flex;align-items:center;justify-content:center;gap:14px;background:#e5eee5;color:#3e6558;font-size:12px;font-weight:650;letter-spacing:.02em}.demo-strip span{font-weight:400}.boot{padding:100px 28px;text-align:center;color:var(--muted)}.brand{display:flex;gap:12px;align-items:center;font-size:25px;font-weight:750;letter-spacing:-1.1px}.brand-mark{display:grid;place-items:center;position:relative;width:36px;height:36px;border:2px solid currentColor;border-radius:12px;transform:rotate(-8deg);font-size:17px;letter-spacing:-3px;padding-right:3px}.brand small{font-size:11px;font-weight:450;letter-spacing:1px;display:block;margin-top:3px;opacity:.7}.auth{max-width:1120px;margin:auto;min-height:calc(100dvh - 36px);display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1fr);align-items:center;gap:clamp(32px,5vw,64px);padding:32px}.auth-story{background:#e6eee5;border-radius:24px;min-width:0;padding:32px;position:relative;overflow:hidden;display:flex;flex-direction:column;gap:24px}.auth-story h1{font-size:clamp(30px,3vw,38px);font-weight:650;letter-spacing:-1px;line-height:1.4;max-width:370px;margin:12px 0}.auth-story p{color:#526c60;line-height:1.9;font-size:15px;max-width:330px}.scene-art{height:190px;position:relative;margin:0 0 25px;isolation:isolate}.orbit{position:absolute;border:1px solid #a4bca9;border-radius:50%;width:260px;height:150px;left:50%;top:15px;transform:translateX(-50%) rotate(-20deg)}.orbit.second{transform:translateX(-50%) rotate(65deg);width:230px;height:150px}.art-window{position:absolute;left:50%;top:30px;transform:translateX(-50%) rotate(-5deg);width:180px;height:130px;border:6px solid #f7faf5;border-radius:17px;background:linear-gradient(165deg,#c8ddd2 0 52%,#719b7b 53% 70%,#426f5a 71%);box-shadow:0 12px 24px #324c411f}.art-dot{position:absolute;width:22px;height:22px;border:6px solid white;background:var(--teal);border-radius:50%;left:53%;top:94px}.story-foot{font-size:12px;color:#5d7667;border-top:1px solid #c9d8c9;padding-top:20px}.auth-main{max-width:440px;width:100%;min-width:0;margin:auto}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:var(--teal);margin-bottom:14px}.auth-main h2{font-size:29px;letter-spacing:-1px;margin:0 0 12px;font-weight:650}.sub{color:var(--muted);font-size:14px;line-height:1.8;margin:0 0 25px}.field{display:flex;flex-direction:column;gap:8px;font-size:13px;font-weight:550;margin:0 0 18px}.field input,.field select,.field textarea{width:100%;min-height:46px;border:1px solid #d0dcd5;border-radius:9px;padding:11px 12px;background:#fff;color:var(--ink);font-weight:400}.field textarea{min-height:86px;resize:vertical}.field small{color:var(--muted);font-size:11px;line-height:1.6;font-weight:400}.button{border:1px solid var(--teal);background:var(--teal);color:white;border-radius:9px;padding:11px 18px;font-size:13px;font-weight:600;min-height:43px;transition:background .15s}.button:hover{background:var(--teal-dark)}.button.secondary{background:var(--white);border-color:var(--line);color:var(--ink)}.button.secondary:hover{background:var(--pale)}.button.ghost{background:transparent;color:var(--teal);border:0;padding:7px 3px;min-height:34px}.button.small{padding:7px 13px;min-height:35px;font-size:12px}.full{width:100%}.links{display:flex;justify-content:space-between;gap:12px;margin-top:14px}.demo-help{margin-top:30px;border-top:1px solid var(--line);padding-top:18px;font-size:12px;color:var(--muted)}.demo-help summary{cursor:pointer;color:var(--ink);padding:6px 0}.demo-help p{line-height:1.8}.demo-help code{background:#eaf0e8;padding:4px;border-radius:4px;overflow-wrap:anywhere;font-size:11px}.switches{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.error{padding:12px;border-radius:8px;background:#fff0ee;color:var(--danger);font-size:13px;line-height:1.65;margin-bottom:16px}.success{padding:16px;border-radius:10px;background:#e6f2e9;color:#285a3c;font-size:14px;line-height:1.9}.shell{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 36px)}.sidebar{background:#edf1e9;border-right:1px solid var(--line);padding:35px 22px;display:flex;flex-direction:column;gap:40px}.sidebar .brand{padding-left:8px;font-size:25px}.nav{display:flex;flex-direction:column;gap:8px}.nav button{border:0;background:none;color:#61756a;text-align:left;padding:13px 15px;border-radius:9px;font-size:14px;display:flex;gap:12px;align-items:center}.nav button:hover{background:#e1e9de}.nav button.active{background:#dbe8dc;color:#285c45;font-weight:650}.nav-symbol{width:20px;font-size:16px;text-align:center}.sidebar-note{margin-top:auto;font-size:11px;color:#718372;line-height:1.9;padding:15px 8px;border-top:1px solid #d8e2d5}.workspace{min-width:0;padding:0 44px 40px}.topbar{min-height:90px;display:flex;align-items:center;justify-content:space-between;gap:15px;border-bottom:1px solid var(--line);margin-bottom:32px}.breadcrumb{color:var(--muted);font-size:12px}.account{display:flex;gap:12px;align-items:center}.avatar{background:#dbe9dd;color:var(--teal);border-radius:50%;width:35px;height:35px;display:grid;place-items:center;font-weight:650;font-size:13px}.account-info{font-size:12px;line-height:1.6}.account-info small{display:block;color:var(--muted);font-size:10px}.view-header{display:flex;justify-content:space-between;align-items:start;gap:18px;margin-bottom:24px}.view-header h1{font-size:29px;letter-spacing:-1px;font-weight:650;margin:4px 0 10px}.view-header p{color:var(--muted);font-size:13px;line-height:1.8;margin:0}.tag{display:inline-block;background:var(--pale);border:1px solid #d9e7dc;color:#4d775f;border-radius:20px;padding:5px 10px;font-size:10px;font-weight:600;white-space:nowrap}.tag.amber{color:var(--amber);background:#faf0dc;border-color:#ebdfbd}.tag.gray{color:#687b78;background:#eef1ee;border-color:#e0e6e1}.stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:25px}.stat{background:white;border:1px solid var(--line);padding:23px;border-radius:14px}.stat-title{font-size:12px;color:var(--muted)}.stat-value{font-size:31px;font-weight:600;letter-spacing:-1px;margin:13px 0 7px}.stat-caption{font-size:11px;color:#87968b}.panel{background:white;border:1px solid var(--line);border-radius:15px;padding:24px;margin-bottom:20px}.panel-title{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:20px}.panel h2{font-size:17px;font-weight:600;margin:0}.panel h3{font-size:15px;font-weight:600;margin:0 0 10px}.muted{color:var(--muted);font-size:12px;line-height:1.8}.split{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.class-card{padding:23px;background:#fff;border:1px solid var(--line);border-radius:13px}.class-card h2{font-size:18px;margin:17px 0 7px}.class-card .card-foot{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #eaf0ea;padding-top:17px;margin-top:22px}.class-symbol{width:40px;height:40px;border-radius:12px;background:#eaf1e7;color:#518069;display:grid;place-items:center;font-size:19px}.toolbar{display:flex;gap:13px;align-items:end;flex-wrap:wrap;margin-bottom:22px}.toolbar .field{margin:0;min-width:180px;flex:1}.toolbar .field.grow{flex:2}.record{border-top:1px solid #e8eee9;padding:19px 0}.record:first-child{border-top:0;padding-top:0}.record:last-child{padding-bottom:0}.record-head{display:flex;align-items:center;gap:10px;justify-content:space-between;margin-bottom:9px}.record-head h3{font-size:14px;margin:0;font-weight:600}.record p{font-size:13px;line-height:1.8;margin:6px 0;color:#506961;overflow-wrap:anywhere}.record-meta{font-size:11px;color:#86958c;line-height:1.8}.empty{padding:42px 18px;text-align:center;background:#f8faf6;border:1px dashed #dbe5da;border-radius:12px}.empty strong{display:block;font-size:14px;font-weight:550;margin:8px 0 12px}.empty p{font-size:12px;color:var(--muted);line-height:1.8;max-width:400px;margin:auto}.empty-icon{font-size:23px;color:#829e89}.more{display:flex;justify-content:center;margin:22px 0}.inline-form{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:end}.inline-form .field{margin:0}.notice-bar{padding:14px 17px;background:#eef4ea;border:1px solid #dde8d6;border-radius:10px;font-size:12px;color:#5a745a;line-height:1.8;margin-bottom:22px}.review-form{border-top:1px solid var(--line);margin-top:18px;padding-top:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 17px}.review-details{margin-top:12px}.review-details summary{font-size:12px;color:var(--teal);cursor:pointer}.review-details pre{background:#f4f7f2;white-space:pre-wrap;word-break:break-word;padding:16px;border-radius:8px;font-size:11px;max-height:240px;overflow:auto}.audit-note{font-size:11px;color:var(--muted);background:#eff3ec;padding:10px 14px;margin-bottom:22px;border-radius:8px;overflow-wrap:anywhere}.dialogue{border-left:3px solid #d9e6d8;padding:7px 15px;margin:18px 0}.dialogue strong{font-size:11px;color:var(--teal)}.dialogue p{white-space:pre-wrap;line-height:1.8;font-size:14px;overflow-wrap:anywhere}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:10;background:#204d40;color:white;box-shadow:0 6px 25px #193c4430;border-radius:10px;padding:13px 22px;font-size:13px;max-width:90vw}.loading{color:var(--muted);font-size:13px;padding:28px 0}.section-label{font-size:10px;color:#82917f;font-weight:600;letter-spacing:1.5px;margin:24px 0 12px}.welcome-note{background:#e6eee3;border:0}.welcome-note h2{font-size:19px;line-height:1.7;margin-bottom:10px}.welcome-note p{font-size:13px;color:#5c755f;line-height:1.9}.welcome-note .button{margin-top:12px}
@media(min-width:1500px){.workspace{padding-left:65px;padding-right:65px}}@media(max-width:1000px){.shell{grid-template-columns:190px minmax(0,1fr)}.sidebar{padding:30px 14px}.workspace{padding:0 25px 30px}.split{grid-template-columns:1fr}}@media(max-width:700px){.demo-strip{height:auto;min-height:36px;padding:9px 12px;gap:8px;flex-wrap:wrap;font-size:11px}.shell{display:block}.sidebar{padding:18px 18px 8px;gap:16px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{font-size:20px}.sidebar .brand-mark{width:29px;height:29px;font-size:14px;border-radius:9px}.sidebar .brand small{display:none}.nav{flex-direction:row;overflow:auto;gap:5px;padding-bottom:8px}.nav button{white-space:nowrap;padding:10px 13px;font-size:12px}.nav-symbol,.sidebar-note{display:none}.workspace{padding:0 18px 30px}.topbar{min-height:72px;margin-bottom:23px}.breadcrumb{font-size:11px}.view-header h1{font-size:25px}.view-header{gap:10px}.view-header p{font-size:12px}.view-header .button{padding:9px 12px;min-height:38px}.stats{gap:8px}.stat{padding:15px 12px;border-radius:11px}.stat-title{font-size:10px}.stat-value{font-size:26px}.stat-caption{font-size:9px}.class-grid{grid-template-columns:1fr}.panel{padding:19px}.panel-title{align-items:start}.toolbar{align-items:stretch}.toolbar .field{min-width:100%}.toolbar .button{width:100%}.account-info{font-size:11px}.account-info small{font-size:9px}.avatar{width:30px;height:30px}.account{gap:8px}.account>.button{padding:6px 7px;font-size:11px}.form-grid,.inline-form{grid-template-columns:1fr}.record-head{align-items:start}.tag{font-size:9px;padding:5px 8px}.toast{bottom:14px;min-width:200px;text-align:center}.demo-help{margin-top:24px}}

/* Authentication layout: scoped so classroom, editor and panorama controls keep their styles. */
.auth-main{color:var(--ink);line-height:1.6}
.auth-main h2{font-size:30px;line-height:1.3;margin-bottom:12px}
.auth-main .sub{font-size:16px;color:#526a63;line-height:1.6;margin-bottom:24px}
.auth .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;max-width:100%;font-size:16px;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;overflow-wrap:break-word;border-radius:10px}
.auth .full{width:100%}
.auth .button:focus-visible,.auth summary:focus-visible{outline:3px solid #176b59;outline-offset:3px}
.auth .button.ghost{padding:10px 4px}
.auth .button.auth-google{background:white;border:1px solid #747775;color:#1f1f1f}
.auth .button.auth-google:hover{background:#edf2ef}
.auth-methods{display:grid;gap:16px;margin-bottom:20px;min-width:0}
.auth-method-status{min-height:48px;display:grid;place-items:center;border-radius:10px;background:#e7eeea;font-size:14px;color:#526a63}
.auth-divider{display:flex;align-items:center;gap:16px;min-height:24px;color:#526a63;font-size:14px;line-height:1.6}
.auth-divider::before,.auth-divider::after{content:"";height:1px;flex:1;background:#cddad3}
.auth-form{display:grid;gap:16px;min-width:0}
.auth .field{font-size:16px;line-height:1.5;margin:0;gap:8px;min-width:0}
.auth .field small{font-size:14px;color:#526a63}
.auth input{width:100%;min-width:0;min-height:48px;border:1px solid #b9ccc1;border-radius:10px;padding:11px 12px;background:white;color:var(--ink);font:inherit;font-size:16px;font-weight:400}
.auth-password-group{display:grid;gap:4px;min-width:0}
.auth-password-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0}
.auth-password-heading label{font-size:16px;font-weight:550}
.auth .auth-forgot{flex-shrink:0;font-size:14px}
.auth-backup{display:grid;gap:0;margin-top:16px}
.auth-hint{font-size:14px;color:#526a63;line-height:1.6;margin:0}
.auth-backup>.button{justify-self:start;text-align:left}
.auth-help{margin-top:8px;font-size:14px;min-width:0}
.auth-help summary{cursor:pointer;min-height:48px;line-height:1.6;padding:12px 0;color:var(--teal)}
.auth-legacy{margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.auth-legacy .button{font-size:14px}
.auth-back{margin-top:16px}
.auth-method-error{display:grid;gap:8px}
.auth-method-error .button{justify-self:start;font-size:14px}
.auth .success,.auth .error{margin:0;font-size:16px;overflow-wrap:anywhere}
.auth .success p{font-size:14px;line-height:1.7;color:#285a3c}
.auth .empty{margin-bottom:16px}
.auth-story h1 span{display:block}
.auth .scene-art{height:190px;margin:0;overflow:hidden}
.auth .story-foot{padding-top:16px}
@media(max-width:1023px){
 .auth{grid-template-columns:minmax(0,1fr);gap:24px;max-width:504px;padding:24px 32px;align-content:start}
 .auth-story{padding:0;background:none;border-radius:0;overflow:visible;gap:0}
 .auth-story>div:not(.brand),.auth-story .story-foot{display:none}
 .auth-story .brand{font-size:24px}
 .auth-main{max-width:440px}
}
@media(max-width:480px){.auth{padding:20px 20px 32px;gap:20px}.auth-main h2{font-size:28px}.auth-main .eyebrow{margin-bottom:8px}.auth .auth-legacy .button{padding-left:10px;padding-right:10px}}
@media(min-width:1024px) and (max-height:760px){.auth{padding-top:24px;padding-bottom:24px}.auth .scene-art{display:none}.auth-story{gap:20px}}
