/* Campus AI — visual system v2. Existing application behavior is preserved. */
:root{--blue:#287bf1;--ink:#18325d;--muted:#7487a4;--line:#e1eaf5;--bg:#f5f8fd;--green:#299c80;--font:"Microsoft YaHei UI","Microsoft YaHei","PingFang SC",sans-serif;--shadow:0 4px 18px #34578b08;--radius:18px}
body{font-size:14px;background:#f5f8fd;color:var(--ink);-webkit-font-smoothing:antialiased}.icon{display:inline-block;width:21px;height:21px;background:currentColor;mask:var(--icon-url) center/contain no-repeat;-webkit-mask:var(--icon-url) center/contain no-repeat;vertical-align:middle;flex-shrink:0;stroke:none;fill:none}.shell{grid-template-columns:218px minmax(0,1fr)}.sidebar{padding:27px 14px 20px;background:#fff;border-color:#e2ebf7}.brand{padding:0 12px 25px;gap:10px}.brandmark{width:43px;height:45px;border-radius:14px;background:#3285f0;color:#fff;box-shadow:0 5px 12px #2b7ce22a}.brand strong{font-size:21px;letter-spacing:.5px;line-height:1.4}.brand small{font-size:10px;letter-spacing:1px;color:#8298b8;line-height:1.7}.school-label{color:#8092ae;font-size:10px;margin:9px 13px 15px;letter-spacing:.1px}.nav{gap:8px}.nav button{padding:13px 16px;color:#5f7394;border-radius:11px;font-size:13px;gap:13px}.nav button .icon{width:21px;height:21px}.nav button:hover{background:#f0f6ff;color:#2c76de}.nav button.active{background:#2b7df0;color:#fff;box-shadow:0 5px 12px #2b7ce22a;font-weight:600}.nav button.active:after{display:none}.side-bottom{padding:22px 8px 0}.side-tip{background:#f0f6ff;border:1px solid #e2edfb;padding:16px 13px;border-radius:13px;font-size:10px;line-height:1.9;color:#8194b3}.side-tip>.icon{width:22px;height:22px;color:#6e9adc;margin-bottom:7px}.side-tip strong{color:#587cae;font-size:11px}.version{font-size:9px;margin-top:18px;color:#8b9ab0}.topbar{height:72px;padding:0 30px;background:#fff;border-color:#e2ebf7}.breadcrumb{font-size:11px;color:#8da0bb}.breadcrumb b{color:#4b658b}.avatar{background:#e5f1ff;color:#4183d9;width:35px;height:35px;font-size:13px;border:2px solid #fff;box-shadow:0 0 0 1px #dfeaf9}.top-user{gap:10px;font-size:12px}.top-user small{font-size:10px}.top-user .quiet{border-color:#edf1f8;font-size:10px;color:#7b8fac;padding:5px 9px}.top-user>.badge{margin-right:4px;font-size:9px;background:#fff7e8;color:#af914c}.top-user .user-name{min-width:55px}.page-head{margin:0 0 22px;min-height:51px;align-items:center}.page-heading{display:flex;align-items:center;gap:13px}.page-symbol{width:47px;height:47px;border-radius:14px;background:#e7f0ff;color:#357fdf;display:grid;place-items:center}.page-symbol>.icon{width:26px;height:26px}h1{font-size:24px;letter-spacing:.3px;line-height:1.5}h2{font-size:17px}h3{font-size:14px}.page-head p{font-size:11px;line-height:1.9;margin-top:2px}.eyebrow{display:none}main{padding:26px 30px 24px;max-width:1470px}.caption{font-size:11px;line-height:1.9;color:#8091ac}.muted{color:#7d8faa}.primary{background:#2d80f2;color:#fff;box-shadow:0 3px 7px #327ce21a}.primary:hover{background:#1970e5}.secondary{background:#edf4ff;color:#3c7bcd;border:1px solid #dceafa}.quiet{border-color:#e0e9f6;color:#637c9f;background:#fff}.danger{background:#fff2f1;color:#c86e6b;border:1px solid #fae5e3}button{font-weight:500;padding:10px 17px;font-size:12px;border-radius:10px;min-height:36px}button.small{padding:7px 12px;font-size:11px;min-height:30px}button .icon{width:17px;height:17px;vertical-align:-4px}.text-button{padding:0;min-height:25px;background:transparent;color:#7091be;font-size:11px}.text-button .icon{width:15px;height:15px;margin-left:3px}.badge{padding:3px 9px;border-radius:6px;font-size:10px;color:#718db4;background:#eff4fb;white-space:nowrap}.badge.green{background:#e9f8f0;color:#3d9a73}.badge.orange{background:#fff5e3;color:#b58a42}.badge.purple{background:#f2edff;color:#9571c8}.grid{gap:18px}.card{border:1px solid #e0e9f5;border-radius:var(--radius);padding:22px;background:#fff;box-shadow:var(--shadow)}.card.soft{background:#f4f9ff}.card h2{font-weight:600}.section-head{margin:23px 0 13px;min-height:24px}.section-head h2{font-size:16px;display:flex;gap:8px;align-items:center}.section-head h2>.icon{width:19px;height:19px;color:#4e8cda}.section-head .caption{font-size:10px}.footer{margin-top:27px;color:#9caec7;font-size:10px;letter-spacing:.1px}.notice{border:1px solid #f5e7c9;background:#fffaee;color:#a18b59;border-radius:11px;font-size:11px;padding:12px 15px}.notice.blue{background:#f0f7ff;border-color:#e0edfc;color:#6f8db8}.notice>.icon{width:17px;height:17px;margin-right:4px}.progress{background:#eaf2f9}.progress span{background:#74c4ac}
/* Student landing */
.student-hero{min-height:222px;padding:26px 32px;margin-bottom:0;isolation:isolate;position:relative;background:#e5f3fc;border:1px solid #d4e6f6;border-radius:19px;box-shadow:var(--shadow)}.hero-art{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center;z-index:-1}.hero-content{max-width:66%;position:relative;z-index:1}.hero h1{font-size:27px;line-height:1.55;margin:12px 0 7px;letter-spacing:.3px;color:#163c70}.hero p{font-size:11px;color:#6584a3;margin:5px 0 14px}.pill{background:#ffffffd9;border:1px solid #ffffffcc;border-radius:20px;color:#6b8eac;font-size:10px;padding:3px 10px}.pill .icon{width:13px;height:13px;color:#5da8c0}.hero-tag{font-size:9px;letter-spacing:1px;color:#6f98b3}.home-features{gap:17px}.home-features .feature{display:flex;align-items:center;text-align:left;gap:16px;padding:23px 19px;min-height:126px;background:#edf5ff;border:1px solid #dae9fc;border-radius:16px;box-shadow:var(--shadow)}.home-features .feature.green{background:#ebf9f4;border-color:#d8eee7}.home-features .feature.purple{background:#f1edfc;border-color:#e6def8}.home-features h2{font-size:18px;margin-bottom:5px;color:#234677}.home-features p{font-size:10px;max-width:175px;margin:0;color:#7993b6}.home-features .green p{color:#78a296}.home-features .purple p{color:#998cb4}.feature-icon{width:48px;height:48px;border-radius:15px;background:#e2eeff;color:#3c83e2;box-shadow:none;display:grid;place-items:center;flex-shrink:0}.feature-icon .icon{width:27px;height:27px}.home-features .feature-icon{background:#d7e9ff;width:51px;height:51px;margin:0;border:2px solid #eef6ff;box-shadow:0 4px 7px #88b5e91f}.home-features .green .feature-icon{background:#cef0e5;color:#37a68e;border-color:#effaf5}.home-features .purple .feature-icon{background:#e5dbfa;color:#9474d1;border-color:#f5f0ff}.feature-arrow{position:absolute;right:13px;bottom:13px;color:#83a9d9}.feature-arrow .icon{width:16px;height:16px}.home-lower{display:grid;grid-template-columns:1.65fr 1fr;gap:20px}.class-home{padding:17px 18px;min-height:138px}.class-thumb{width:101px;height:100px;object-fit:cover;border-radius:12px;border:1px solid #dfecdb;flex-shrink:0}.class-banner{gap:16px}.class-banner h3{font-size:15px;line-height:1.65;margin:7px 0 1px}.class-banner p{font-size:10px;line-height:1.9;margin:0}.class-banner .primary{white-space:nowrap;padding:8px 12px}.class-banner .primary .icon{width:14px;height:14px}.usage-card{display:flex;padding:23px 20px;gap:22px;min-height:138px;align-items:center}.usage-card>div{display:grid;grid-template-columns:31px 1fr;column-gap:9px;align-items:center;flex:1}.usage-card>div+div{border-left:1px solid #e9eff8;padding-left:20px}.usage-icon{width:31px;height:31px;background:#e7f1ff;border-radius:10px;color:#5691df;grid-row:1/3;display:grid;place-items:center}.usage-icon>.icon{width:19px;height:19px}.usage-icon.mint{background:#e6f7f1;color:#50a58c}.usage-card strong{font-size:25px;font-weight:600;color:#3b5b85;line-height:1.3}.usage-card small{font-size:10px;font-weight:400;color:#9aa9bf}.usage-card .caption{font-size:10px;white-space:nowrap}.discovery-banner{display:flex;align-items:center;gap:15px;background:#ebf7f3;border:1px solid #daeee6;padding:17px 23px;border-radius:15px;margin-top:22px}.discovery-icon{background:#d8eee4;color:#65ad8e;border-radius:13px;width:43px;height:43px;display:grid;place-items:center;flex-shrink:0}.discovery-icon .icon{width:25px;height:25px}.discovery-banner h3{font-size:14px;color:#4a7e6b}.discovery-banner p{margin:0;font-size:10px;color:#81a393}.discovery-banner button{background:#fff9;border-color:#d3e9de;color:#5b927c;font-size:11px}.learning-path{display:flex;align-items:center;justify-content:center;gap:16px;margin:21px 0 0;font-size:10px;color:#90a2bd;flex-wrap:wrap}.learning-path span{color:#a2b0c5;margin-right:5px}.learning-path b{font-weight:400;color:#7b95b8}.learning-path .icon{width:13px;height:13px;color:#b3c3d9}
/* Conversations and creative studio */
.scene-bar{display:flex;align-items:center;gap:12px;margin:0 0 15px;padding:11px 16px;background:#fff;border:1px solid #e0eaf6;border-radius:12px;min-height:51px}.scene-label{display:flex;align-items:center;gap:6px;font-size:10px;color:#7791b2;white-space:nowrap}.scene-label .icon{width:17px;height:17px}.scene-bar select{border-color:#e4edf9!important;background:#f8fbff!important;max-width:270px}.scene-bar .caption{font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-layout{height:calc(100dvh - 250px);min-height:540px;max-height:920px;grid-template-columns:191px minmax(0,1fr);border:1px solid #dce7f5;border-radius:17px;box-shadow:var(--shadow)}.chat-history{padding:20px 13px;background:#f8fbff;border-color:#e1eaf7}.chat-history button:first-child{background:#fff;border:1px solid #bcd6fa;color:#4a86d9;text-align:center;border-radius:8px;font-size:11px;padding:9px}.chat-history button{font-size:10px;padding:10px 9px}.chat-history button .icon{width:14px;height:14px;margin-right:5px}.chat-history button.selected{background:#e8f2ff;border-radius:8px;color:#397fdc}.history-empty{padding:42px 12px;text-align:center;font-size:10px;line-height:1.9;color:#a2b3c9}.history-empty .icon{width:26px;height:26px;color:#b7cae3;margin-bottom:6px}.chat-top{padding:15px 21px;min-height:66px;background:#f4f9ff;border-bottom-color:#e5edf8}.chat-top b{font-size:14px}.chat-top .flex>.icon{width:25px;height:25px;color:#4b8ce3}.chat-top .badge{font-size:9px;padding:3px 7px}.chat-safe{display:flex;align-items:center;gap:4px;font-size:9px;color:#8fa4c0;margin-left:auto}.chat-safe .icon{width:13px;height:13px}.chat-messages{padding:23px;min-height:0;background:#fff}.chat-welcome{margin:25px auto 20px;max-width:560px}.welcome-emblem{width:66px;height:66px;border-radius:23px;background:#eaf3ff;color:#568fe0;display:grid;place-items:center;margin:0 auto 20px;border:1px solid #dceafa;box-shadow:0 7px 15px #7ba9df14}.welcome-emblem .icon{width:35px;height:35px}.chat-welcome h2{font-size:21px;font-weight:600;color:#294c7a;letter-spacing:.4px}.chat-welcome p.caption{font-size:11px;color:#8a9db7;margin-top:9px}.suggestion-label{font-size:10px;color:#a0b0c7;text-align:left;margin:27px 0 10px 4px}.chips{display:grid;gap:10px;grid-template-columns:1fr;margin:0;text-align:left}.chips button{display:flex;align-items:center;gap:11px;text-align:left;background:#fbfdff;border:1px solid #e4edf9;border-radius:10px;padding:11px 14px;font-size:11px;color:#6f89ad}.chips button:hover{background:#f0f6ff;border-color:#bfd6f5}.chips button>.icon{width:17px;height:17px;color:#8aacdc}.chips button>.icon:last-child{margin-left:auto;width:14px;height:14px;color:#a7bddb}.welcome-note{font-size:9px;color:#9badc6;margin-top:22px!important}.welcome-note .icon{width:13px;height:13px;margin-right:4px}.composer{padding:15px 20px 12px;background:#fff;border-color:#e7eef8}.compose-box{border:1px solid #cddff7;border-radius:12px;padding:8px 9px 8px 12px;box-shadow:0 2px 5px #5687bf08;background:#fff}.compose-box:focus-within{border-color:#8fbaf2;box-shadow:0 0 0 3px #edf5ff}.compose-box textarea{font-size:12px;min-height:40px;height:43px;padding:6px 5px;color:#5a7294}.compose-box .primary{padding:9px 15px;min-height:35px;font-size:11px;white-space:nowrap}.composer-foot{font-size:9px;margin-top:9px;color:#96a9c3}.composer-foot button{font-size:9px;color:#6d91bd}.message .bubble{background:#f4f8ff;border-color:#e7eefb;font-size:12px;line-height:1.95;color:#4d6b94;padding:13px 16px}.message.user .bubble{background:#e9f3ff;color:#4a7ab6;border-color:#d9e9ff}.ai-avatar{background:#dcecff;color:#4b8cdf;border:1px solid #bad5f6}.ai-avatar .icon{width:16px;height:16px}.chat-welcome.subject .welcome-emblem{background:#e8f7f1;color:#50aa8d;border-color:#d3ebe1}.inquiry-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:24px 0}.inquiry-steps>div{padding:16px 10px 13px;background:#f1f8ff;border:1px solid #e3edf9;border-radius:12px;text-align:left}.inquiry-steps>div:nth-child(2){background:#eff9f5;border-color:#deeee7}.inquiry-steps>div:nth-child(3){background:#faf6ec;border-color:#f2ead7}.inquiry-steps .icon{width:25px;height:25px;color:#76a6e0;margin-bottom:9px}.inquiry-steps>div:nth-child(2) .icon{color:#73b49c}.inquiry-steps>div:nth-child(3) .icon{color:#cfb573}.inquiry-steps b{display:block;font-size:12px;color:#6282ac}.inquiry-steps small{font-size:9px;display:block;color:#95a7bd;margin-top:4px}.chat-layout.subject .chat-top{background:#f0faf6}.chat-welcome.writing .welcome-emblem{background:#f1ecfc;color:#9a80ce;border-color:#e7dcf8}.chat-layout.writing .chat-top{background:#f7f3fd}.creation-tabs{display:flex;gap:8px;padding:8px;background:#fff;border:1px solid #e2eaf5;border-radius:12px;margin-bottom:15px}.creation-tabs button{flex:0 0 130px;background:#f7f9fd;color:#889ab5;font-size:11px;border:1px solid transparent}.creation-tabs button.active{background:#eef4ff;border-color:#c5dbfa;color:#518cdd}.creation-tabs span{font-size:10px;color:#9dacbf;align-self:center;margin-left:auto;margin-right:10px}.creation-tabs+.chat-layout{height:calc(100dvh - 310px);min-height:500px}
/* Personal learning collection and teacher review */
.tabs{padding:6px;background:#fff;border:1px solid #e2eaf6;border-radius:12px;width:fit-content;max-width:100%;gap:3px;margin-bottom:20px}.tabs button{font-size:11px;border-radius:8px;padding:7px 18px;min-height:31px;color:#8ba0bc}.tabs button.active{background:#2e80ed;color:#fff;box-shadow:0 2px 5px #2a76d822}.work-card{padding:23px 21px 17px;min-height:237px;box-shadow:var(--shadow);transition:transform .2s,box-shadow .2s;border-color:#dfe8f6;background:#fbfdff}.work-card:hover{transform:translateY(-3px);box-shadow:0 10px 22px #5f84b114;border-color:#c6dcf7}.work-card[data-kind="诗歌"]{background:#fffdf5;border-color:#f0e7cd}.work-card[data-kind="学习感想"]{background:#faf6ff;border-color:#e9e0f6}.work-card[data-kind="知识收获"]{background:#f7fcf9;border-color:#dceee3}.work-card[data-kind="问题探究"]{background:#f6fbff;border-color:#dceaf7}.work-card[data-kind="故事"]{background:#fffbf5;border-color:#f1e6d6}.work-card h3{margin-top:15px;font-size:16px;line-height:1.7;color:#36547e}.work-card .excerpt{font-size:11px;line-height:2;color:#8798b0;min-height:64px;margin:9px 0 20px}.work-card .bottom{border-top:1px solid #e6edf7;padding-top:13px}.work-card .badge{font-size:9px}.work-card .work-decor{right:20px;top:24px;color:#becfe4}.work-card .work-decor .icon{width:23px;height:23px}.work-card[data-kind="学习感想"] .work-decor{color:#d5c4e8}.work-card[data-kind="诗歌"] .work-decor{color:#e8dba9}.empty{background:#fff;border:1px dashed #d7e5f5;border-radius:17px;padding:54px 22px;color:#95a7c0;grid-column:1/-1;min-height:245px;display:flex;flex-direction:column;align-items:center;justify-content:center}.empty .empty-icon{display:grid;place-items:center;width:70px;height:70px;background:#f0f6ff;border:1px solid #e3edfa;border-radius:23px;margin-bottom:17px;color:#9ebde2}.empty .icon{margin:0;width:32px;height:32px;color:#9ab8df}.empty strong{font-size:13px;font-weight:500;color:#8299b9}.empty>span{font-size:10px;color:#afbdd1;margin-top:6px}.review-layout{grid-template-columns:285px minmax(0,1fr);gap:20px}.review-list{padding:12px;background:#fff;border:1px solid #e2eaf6;border-radius:16px;align-self:start}.review-list button{padding:15px;border:1px solid #e5edf8;border-radius:11px;margin-bottom:9px;box-shadow:none}.review-list button:last-child{margin-bottom:0}.review-list button.selected{background:#edf5ff;border-color:#bdd7f9}.review-list h3{font-size:13px;line-height:1.7;margin:7px 0 5px}.review-list small{font-size:10px;color:#8da2bf}.review-list .empty{border:0;padding:25px 10px;min-height:260px}.review-layout>.card{padding:27px}.review-layout>.card>h2{font-size:20px}.work-detail{font-size:14px;line-height:2.1;color:#5f7596}.detail-meta{background:#f8fbff;padding:15px 17px;border:1px solid #e7eef8;border-radius:11px;margin-top:13px}.detail-meta p{font-size:11px;color:#8095b2}.detail-meta b{color:#607da3}.review-layout form{margin-top:22px}.review-layout textarea{background:#fffcf3;border-color:#eee3c7}
/* Staff workspace */
body[data-role="teacher"] .sidebar,body[data-role="admin"] .sidebar,body[data-role="platform"] .sidebar{background:#1d416a;border-right:1px solid #234a78}.sidebar .brand{flex-shrink:0}body:not([data-role="student"]):not([data-role="login"]) .sidebar .brand{color:#fff}body:not([data-role="student"]):not([data-role="login"]) .sidebar .brand small{color:#94b2d5}body:not([data-role="student"]):not([data-role="login"]) .sidebar .brandmark{background:#315c8c;box-shadow:none}body:not([data-role="student"]):not([data-role="login"]) .school-label{color:#96b3d7}body:not([data-role="student"]):not([data-role="login"]) .nav button{color:#bdd0e8}body:not([data-role="student"]):not([data-role="login"]) .nav button.active{background:#3384f2;color:#fff;box-shadow:0 4px 10px #102e5733}body:not([data-role="student"]):not([data-role="login"]) .nav button:hover:not(.active){background:#29517d;color:#fff}body:not([data-role="student"]):not([data-role="login"]) .side-tip{background:#284e78;border-color:#345a83;color:#98b5d8}body:not([data-role="student"]):not([data-role="login"]) .side-tip strong{color:#c1d5ed}body:not([data-role="student"]):not([data-role="login"]) .version{color:#6f92bd}.stat{position:relative;padding:21px 20px;min-height:125px;border-color:#dfebf9}.stat>.stat-icon{position:absolute;right:17px;top:21px;width:40px;height:40px;border-radius:13px;background:#e9f3ff;color:#6d9ddd;display:grid;place-items:center}.stat:nth-child(2)>.stat-icon{background:#eaf8f2;color:#6db79e}.stat:nth-child(3)>.stat-icon{background:#f3edff;color:#ad92d7}.stat:nth-child(4)>.stat-icon{background:#fff6e5;color:#d4b16e}.stat>.stat-icon>.icon{width:23px;height:23px}.stat>span{font-size:10px;color:#8ca1bd}.stat strong{font-size:28px;color:#31577f;line-height:1.5;margin:3px 0 0}.stat>span:last-child{font-size:9px}.card:has(>.flex.between>.feature-icon){padding:23px}.card:has(>.flex.between>.feature-icon) h2{margin-top:8px;margin-bottom:8px;font-size:19px}.card:has(>.flex.between>.feature-icon) .feature-icon{background:#eaf3ff;color:#7b9fd4;width:48px;height:48px}.card:has(>.flex.between>.feature-icon) p{line-height:2.1}.card .feature-icon{margin-bottom:12px}.feature[data-page]:not(.home-features .feature){background:#fff;border:1px solid #e1eaf6;min-height:168px;padding:23px;border-radius:17px;box-shadow:var(--shadow)}.feature[data-page]:not(.home-features .feature):hover{border-color:#bfd6f5;box-shadow:0 8px 20px #5b84b313}.feature[data-page]:not(.home-features .feature) h3{font-size:16px;color:#365b87}.feature[data-page]:not(.home-features .feature) p{font-size:11px}.table-wrap{border-radius:12px;border:1px solid #e6edf8;background:#fff}table{font-size:11px;white-space:nowrap}th{padding:14px 17px;background:#f2f7ff;color:#7b94b6;font-size:10px;font-weight:500;border-bottom-color:#e4edf9}td{padding:17px;border-bottom:1px solid #edf2f9;color:#6a83a5}td b{color:#3c5c86;font-weight:500}tbody tr:hover{background:#fbfdff}table .badge{font-size:9px}td .quiet{padding:5px 10px;font-size:10px;min-height:27px}.card:has(>.table-wrap){padding:15px}.form-grid{gap:17px}label{font-size:11px;color:#6881a4;font-weight:500;margin-bottom:17px}input:not([type=checkbox]),select,textarea{border:1px solid #dce7f5;background:#fcfdff;border-radius:9px;padding:10px 12px;font-size:12px;color:#546e93;line-height:1.8;margin-top:7px}input::placeholder,textarea::placeholder{color:#a6b6cc;font-size:11px}input:focus,textarea:focus,select:focus{border-color:#96bff5;outline:3px solid #eef5ff;background:#fff}input[type=checkbox]{width:16px;height:16px;accent-color:#3385f2}.form-actions{gap:10px;margin-top:22px}.form-actions .primary{padding-left:23px;padding-right:23px}#settings-form .grid>.card{padding:25px}#settings-form .card>.flex{margin-bottom:17px;padding-bottom:13px;border-bottom:1px solid #edf2f9;gap:12px}#settings-form .card>.flex .feature-icon{margin-bottom:0;width:43px;height:43px;border-radius:13px}#settings-form .card h2{font-size:17px}#settings-form .card:nth-child(2) .feature-icon{background:#f1ebfc;color:#a48bd2}#settings-form .card:nth-child(3) .feature-icon{background:#e9f7f1;color:#78b19a}#settings-form .caption{font-size:10px;line-height:2;color:#91a3bb}
/* Dialogs, entry screens, and state treatments */
dialog{border:1px solid #d9e6f7;border-radius:19px;padding:28px;width:min(680px,94vw);box-shadow:0 25px 100px #16395e30;background:#fff}dialog::backdrop{background:#19365960;backdrop-filter:blur(4px)}dialog h2{font-size:20px;padding-bottom:19px;border-bottom:1px solid #edf2f8;color:#2a527e;line-height:1.5;margin-bottom:20px}dialog .close{background:#f1f6fd;color:#879fbd;border-radius:50%;font-size:19px;min-height:30px;width:30px;padding:0;line-height:30px;margin-top:-4px}.dialog-body{padding:0 2px 3px}.dialog-body>.flex:first-child{margin-bottom:8px}.dialog-body .caption{font-size:11px}.dialog-body .notice{font-size:11px}.invite-box{background:#f0f7ff;border:1px solid #dceafa;color:#6287b6;padding:17px}.error-inline{background:#fff5f4;border:1px solid #f5dfdc;color:#bc7872;font-size:11px;border-radius:10px;padding:11px 14px}.queue-row{background:#f8fbff;border-color:#e1ebf7;font-size:12px}.queue-row .between{align-items:flex-start}.queue-row b{font-size:11px;max-width:75%;font-weight:500}.login{background:#f7faff;grid-template-columns:1.08fr 1fr}.login-intro{background:#eaf5fb;isolation:isolate;padding:55px 10%;justify-content:flex-start;min-height:100dvh}.login-intro .hero-art{position:absolute;left:0;right:0;bottom:0;top:auto;width:100%;height:52%;object-fit:cover;object-position:75% center;margin:0;z-index:-1}.login-intro .brand{padding:0}.login-intro h1{margin:70px 0 17px;font-size:35px;line-height:1.7;letter-spacing:1px;color:#2b547f}.login-intro p{font-size:12px;line-height:2;color:#7b98b6}.login-intro>p:last-child{position:absolute;bottom:28px;color:#6d94ae;font-size:10px}.login-form{padding:40px;background:#fff}.login-box{width:355px}.login-box h2{font-size:26px;color:#274b78;margin-bottom:4px}.login-box>p{font-size:11px;color:#94a6bf}.login-box label{font-size:11px;margin-bottom:20px}.login-box input{padding:12px 14px;background:#fafcff}.login-box .primary{margin-top:5px;min-height:45px;font-size:13px;border-radius:10px}.demo-logins{border-top-color:#e8eff8;padding-top:19px;margin-top:29px}.demo-logins .caption{font-size:10px}.demo-logins button{font-size:10px;background:#eff5fe;color:#7d9abe;border:1px solid #e1ebf9;min-height:29px;padding:6px 10px;margin:8px 4px 5px 0}.demo-logins p{font-size:9px;line-height:2;color:#a1b2c9}.login-note{font-size:9px;color:#a8b8ce}.boot{color:#90a7c7}#toast{background:#234a76;border:1px solid #3a608a;font-size:12px;box-shadow:0 5px 25px #24486f20;padding:12px 22px;border-radius:11px}.image-result{max-height:430px;object-fit:contain;background:#f5f8fc;border:1px solid #e0eaf7;border-radius:13px}button:focus-visible,[role=button]:focus-visible{outline:3px solid #98bdf2;outline-offset:3px}.loading{opacity:.6}button[disabled]{opacity:.55;transform:none;box-shadow:none}
@media(min-width:1500px){main{padding-top:30px}.student-hero{min-height:249px}.hero-art{right:0;width:100%}.hero h1{font-size:31px}.home-features .feature{min-height:139px;padding:25px}.home-features h2{font-size:20px}.home-features .caption{font-size:11px}.chat-layout{max-height:940px}.chat-welcome{margin-top:45px}}
@media(max-width:1180px){.shell{grid-template-columns:202px minmax(0,1fr)}main{padding:24px}.topbar{padding:0 24px}.brand{padding-left:8px}.brand strong{font-size:19px}.home-features .feature{gap:12px;padding:20px 16px}.home-features .feature-icon{width:43px;height:43px;border-radius:13px}.home-features .feature-icon .icon{width:25px;height:25px}.home-features h2{font-size:17px}.home-features .caption{font-size:9px}.home-lower{grid-template-columns:1.5fr 1fr;gap:16px}.class-banner{gap:12px}.class-thumb{width:80px;height:92px}.class-banner h3{font-size:13px}.class-banner .primary{font-size:10px;padding:7px 9px}.usage-card{padding:20px 14px;gap:12px}.usage-card>div{column-gap:6px;grid-template-columns:25px 1fr}.usage-card>div+div{padding-left:12px}.usage-icon{width:25px;height:29px}.chat-history{padding-left:10px;padding-right:10px}.chat-layout{grid-template-columns:175px minmax(0,1fr)}.creation-tabs span{display:none}.chat-safe{font-size:8px}.scene-bar .caption{display:none}.home-lower .section-head{margin-top:20px}.page-head .caption{max-width:530px}.hero-content{max-width:70%}.hero h1{font-size:25px}.hero p{font-size:10px}}
@media(max-width:960px){.home-lower{grid-template-columns:1fr}.usage-card{min-height:100px;justify-content:space-around}.usage-card>div{max-width:200px}.home-lower>section+section .section-head{margin-top:5px}.discovery-banner{padding:17px}.discovery-banner .caption{max-width:340px}.home-features .feature{display:block;min-height:155px}.home-features .feature-icon{margin-bottom:12px}.chat-layout{grid-template-columns:155px minmax(0,1fr)}.chat-safe{display:none}.review-layout{grid-template-columns:220px minmax(0,1fr)}.chat-welcome h2{font-size:18px}.chips button{font-size:10px}.class-home{min-height:125px}.class-thumb{width:90px}.class-banner .primary{margin-left:auto}.page-head>.flex{flex-wrap:wrap;justify-content:flex-end}.stat{padding:18px}.page-head h1{font-size:22px}}
@media(max-width:760px){.shell{display:block}.sidebar{left:-240px;width:218px;z-index:25;padding-top:25px}.sidebar.open{left:0}.topbar{height:63px;padding:0 15px}.top-user{gap:8px}.top-user .avatar{width:31px;height:31px}.top-user>.badge{font-size:8px;padding:3px 6px}.top-user .quiet{padding:4px 8px}.mobile-menu{padding:5px;color:#5e84b3;min-height:30px}.mobile-menu .icon{width:24px;height:24px}main{padding:19px 15px}.page-head{margin-bottom:19px;align-items:flex-start;gap:10px;flex-wrap:wrap}.page-symbol{width:40px;height:40px;border-radius:12px}.page-symbol .icon{width:23px;height:23px}.page-heading{gap:10px}.page-head h1{font-size:21px}.page-head .caption{font-size:10px;max-width:calc(100vw - 100px)}.page-head>.flex{margin-left:auto}.student-hero{padding:23px;min-height:226px}.hero-content{max-width:79%}.hero h1{font-size:24px;line-height:1.65}.hero p{font-size:10px;max-width:235px}.hero-art{width:100%;height:100%;right:0;opacity:1;object-position:62% center}.hero-tag{font-size:8px;letter-spacing:.3px}.home-features{grid-template-columns:1fr;gap:10px}.home-features .feature{display:flex;min-height:103px;padding:18px 20px;gap:17px}.home-features .feature-icon{width:48px;height:48px;margin:0}.home-features h2{font-size:18px}.home-features .caption{font-size:10px}.feature-arrow{bottom:25px;right:19px}.section-head{margin-top:22px}.section-head h2{font-size:15px}.section-head>.caption{font-size:9px}.home-lower{gap:0}.class-home{padding:15px}.class-thumb{width:72px;height:88px}.class-banner{gap:11px;flex-wrap:nowrap}.class-banner h3{font-size:12px}.class-banner .caption{font-size:9px}.class-banner .primary{padding:7px 9px;min-height:31px;max-width:85px;white-space:normal;line-height:1.7}.class-banner .primary .icon{display:none}.usage-card{padding:18px;min-height:105px}.usage-card>div{max-width:none;grid-template-columns:32px 1fr}.usage-card>div+div{padding-left:25px}.usage-icon{width:32px;height:32px}.usage-card strong{font-size:27px}.discovery-banner{margin-top:18px;gap:12px;flex-wrap:wrap;padding:18px}.discovery-banner .grow{flex:1;min-width:190px}.discovery-banner h3{font-size:12px}.discovery-banner p{font-size:9px}.discovery-banner button{margin-left:54px;padding:7px 11px;min-height:31px;font-size:10px}.discovery-icon{width:38px;height:38px}.learning-path{gap:9px;font-size:9px;margin-top:20px}.learning-path>span{width:100%;text-align:center;margin:0}.learning-path .icon{width:10px;height:10px}.scene-bar{padding:9px 11px;gap:8px}.scene-bar select{max-width:calc(100% - 82px);font-size:10px!important}.scene-label{font-size:9px}.scene-label .icon{width:15px;height:15px}.chat-layout{grid-template-columns:1fr;height:calc(100dvh - 240px);min-height:520px;border-radius:14px}.chat-history{display:none}.chat-top{min-height:57px;padding:12px 15px}.chat-top b{font-size:13px}.chat-top .flex{gap:8px}.chat-top .flex>.icon{width:22px;height:22px}.chat-top .badge{font-size:8px}.chat-messages{padding:18px 14px}.chat-welcome{margin-top:22px}.welcome-emblem{width:58px;height:58px;border-radius:20px;margin-bottom:16px}.welcome-emblem .icon{width:30px;height:30px}.chat-welcome h2{font-size:17px}.chat-welcome p.caption{font-size:10px}.suggestion-label{margin-top:24px}.chips{gap:8px}.chips button{padding:10px 11px;font-size:10px;gap:8px}.chips button>.icon{width:15px;height:15px}.welcome-note{font-size:8px}.composer{padding:12px}.composer-foot{font-size:8px;gap:8px}.composer-foot button{font-size:8px}.compose-box{padding:7px}.compose-box textarea{font-size:11px}.compose-box .primary{padding:8px 11px;font-size:10px}.inquiry-steps{gap:7px;margin:18px 0}.inquiry-steps>div{padding:12px 8px}.inquiry-steps b{font-size:10px}.inquiry-steps small{font-size:8px;line-height:1.8}.creation-tabs{gap:5px;padding:6px}.creation-tabs button{flex:1;font-size:10px;padding:7px 10px}.creation-tabs+.chat-layout{height:calc(100dvh - 300px);min-height:520px}.creation-tabs span{display:none}.grid2,.grid3,.review-layout{grid-template-columns:1fr}.grid4{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.stat{min-height:115px;padding:17px}.stat>.stat-icon{width:30px;height:30px;right:13px;top:15px;border-radius:10px}.stat>.stat-icon .icon{width:18px;height:18px}.stat>span{font-size:9px}.stat strong{font-size:24px;padding-top:4px}.stat>span:last-child{font-size:8px}.card{padding:18px}.tabs{width:100%;gap:3px;padding:5px}.tabs button{font-size:10px;padding:6px 11px;min-height:29px}.work-card{min-height:225px;padding:22px}.work-card h3{font-size:16px}.work-card .excerpt{font-size:11px}.review-list{display:flex;overflow:auto;gap:10px;max-width:100%;padding:10px}.review-list button{min-width:210px;max-width:240px;flex-shrink:0;margin:0}.review-list .empty{width:100%;min-height:170px;padding:15px}.review-layout>.card{padding:21px}.form-grid{grid-template-columns:1fr;gap:0}.login{grid-template-columns:1fr}.login-intro{min-height:95px;padding:25px;background:#eaf4ff}.login-intro .brand{display:flex;padding:0}.login-intro h1,.login-intro p,.login-intro .hero-art{display:none}.login-form{padding:35px 25px}.login-box{max-width:390px;width:100%}.login-box h2{font-size:24px}.login-box label{font-size:12px}.login-box input{font-size:13px;padding:12px}.login-note{font-size:10px}.demo-logins button{font-size:10px}.empty{padding:38px 20px;min-height:235px}.empty strong{font-size:12px}.empty>span{font-size:9px}.footer{font-size:8px;line-height:2;padding:0 15px}.dialog-body{max-height:70dvh}dialog{padding:23px 19px}dialog h2{font-size:18px}.table-wrap{max-width:100%}td,th{padding:13px 12px}#settings-form .grid>.card{padding:21px}.form-actions{flex-wrap:wrap}.form-actions button{font-size:11px}.notice{font-size:10px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}button:hover,.feature:hover,.work-card:hover{transform:none}}
.chat-main{min-height:0}.chat-layout{height:calc(100dvh - 290px);min-height:480px}.creation-tabs+.chat-layout{height:calc(100dvh - 350px);min-height:480px}.chat-welcome{margin-top:18px}.chat-welcome.subject{margin-top:12px}.chat-layout.writing{grid-template-columns:226px minmax(0,1fr)}.studio-toolbox{padding:4px 5px 21px;border-bottom:1px solid #e0eaf8;margin-bottom:18px}.studio-toolbox h3{font-size:13px;display:flex;align-items:center;gap:6px;color:#6b82a8;margin-bottom:17px}.studio-toolbox h3>.icon{width:18px;height:18px;color:#c9ac6c}.studio-toolbox input,.studio-toolbox select{font-size:11px;background:#fff;min-height:38px;padding:8px 9px}.studio-toolbox label{font-size:10px;color:#869bbc;margin-bottom:16px}.studio-toolbox .primary{width:100%;font-size:10px;color:#fff!important;background:#528feb!important;border:1px solid #4186e7!important;padding:9px 6px!important;white-space:normal}.studio-toolbox p{font-size:9px;line-height:2;color:#9daec5;margin-top:14px}.studio-toolbox .icon{width:14px;height:14px}.chat-welcome h2{font-size:21px}.chips button{font-size:12px}.chat-welcome p.caption{font-size:12px}.compose-box textarea{font-size:13px}.message .bubble{font-size:14px}.inquiry-steps b{font-size:12px}.inquiry-steps small{font-size:10px}.caption,.home-features .caption{color:#7287a7}.welcome-note{color:#7f96b6}.composer-foot{color:#7f94b0}.hero p{color:#587a9e}.home-features .green p{color:#618d80}.home-features .purple p{color:#8573a5}.tabs button{color:#7289a9}.work-card .excerpt{color:#7489a8}.side-tip{color:#6f85a7}.work-card .date{color:#8499b5}dialog[data-kind=image]{width:min(760px,94vw)}dialog[data-kind=image] #image-form{background:#f7faff;border:1px solid #dfebfa;padding:20px;border-radius:13px}dialog[data-kind=image] #image-form textarea{background:#fff;min-height:130px}dialog[data-kind=image] .queue-row{padding:18px}.top-user .quiet:hover{color:#397cce}.nav button{font-size:14px}.hero-tag{color:#5c84a2}
@media(max-width:960px){.chat-layout.writing{grid-template-columns:190px minmax(0,1fr)}.chat-welcome h2{font-size:18px}.chat-welcome p.caption{font-size:11px}.chips button{font-size:11px}.home-features .caption{font-size:10px}}
@media(max-width:760px){.chat-layout,.chat-layout.writing{grid-template-columns:1fr;min-height:510px;height:calc(100dvh - 250px)}.creation-tabs+.chat-layout{min-height:510px;height:calc(100dvh - 310px)}.chat-welcome{margin-top:18px}.chat-welcome h2{font-size:18px}.message .bubble{font-size:13px}.composer-foot{font-size:9px}.chat-welcome p.caption{font-size:11px}.chips button{font-size:11px}.inquiry-steps b{font-size:11px}.inquiry-steps small{font-size:9px}.nav button{font-size:14px}.home-features .caption{font-size:11px}.caption{font-size:12px}.scene-bar .caption{display:none}}
.login-intro .hero-art{object-position:right center}.mobile-new-chat{display:none}
@media(max-width:760px){.mobile-new-chat{display:block;background:#fff;border:1px solid #dce7f8;color:#7496c2;padding:4px 8px;font-size:9px;min-height:27px;margin-left:auto}.sidebar{height:100dvh}.hero-content{max-width:76%}.hero-art{object-position:right center}}
@media(max-width:760px){.student-hero .hero-content{max-width:91%}.student-hero h1{font-size:22px;line-height:1.65}.student-hero .hero-art{opacity:.65}.student-hero p{font-size:10px;max-width:240px}.student-hero{min-height:235px}}
@media(max-width:760px){.student-hero{display:flex;flex-direction:column;padding:23px 23px 0;min-height:0;background:#e7f5fd}.student-hero .hero-content{order:0;max-width:100%}.student-hero .hero-art{order:1;position:relative;inset:auto;display:block;width:calc(100% + 46px);height:auto;aspect-ratio:3 / 1;object-fit:contain;object-position:center;opacity:1;margin:13px -23px 0;z-index:0}.student-hero .hero-tag{display:none}.student-hero p{max-width:100%;margin-bottom:0}}
.creation-tabs>span{font-size:10px;color:#9dacbf;align-self:center;margin-left:auto;margin-right:10px}.creation-tabs button>.icon{display:inline-block;margin:0 5px 0 0;width:17px;height:17px}.chat-layout.writing .history-empty{padding:17px 6px}.chat-layout.writing .history-empty .icon{width:23px;height:23px}dialog[data-kind=image]{width:min(980px,94vw)}dialog[data-kind=image] .dialog-body{display:grid;grid-template-columns:1.1fr 1fr;grid-template-rows:auto 1fr;gap:15px 22px}dialog[data-kind=image] #image-form{grid-column:1;grid-row:1/3;margin:0;padding:20px}dialog[data-kind=image] .section-head{grid-column:2;grid-row:1;margin:0;min-height:33px}dialog[data-kind=image] #image-jobs{grid-column:2;grid-row:2;align-self:start}dialog[data-kind=image] #image-jobs .empty{min-height:320px}dialog[data-kind=image] #image-form textarea{min-height:180px}
@media(max-width:1180px){.creation-tabs>span{display:none}.creation-tabs button>.icon{display:inline-block}}
@media(max-width:760px){dialog[data-kind=image] .dialog-body{display:block}dialog[data-kind=image] .section-head{margin-top:20px;margin-bottom:12px}dialog[data-kind=image] #image-jobs .empty{min-height:190px}dialog[data-kind=image] #image-form{padding:16px}dialog[data-kind=image] #image-form textarea{min-height:110px}.creation-tabs button>.icon{width:15px;height:15px;margin-right:4px}}
